public final class CreateSampleQuerySetRequest extends com.google.protobuf.GeneratedMessageV3 implements CreateSampleQuerySetRequestOrBuilder
Request message for [SampleQuerySetService.CreateSampleQuerySet][google.cloud.discoveryengine.v1alpha.SampleQuerySetService.CreateSampleQuerySet] method.Protobuf type
google.cloud.discoveryengine.v1alpha.CreateSampleQuerySetRequest| Modifier and Type | Class and Description |
|---|---|
static class |
CreateSampleQuerySetRequest.Builder
Request message for
[SampleQuerySetService.CreateSampleQuerySet][google.cloud.discoveryengine.v1alpha.SampleQuerySetService.CreateSampleQuerySet]
method.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
PARENT_FIELD_NUMBER |
static int |
SAMPLE_QUERY_SET_FIELD_NUMBER |
static int |
SAMPLE_QUERY_SET_ID_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static CreateSampleQuerySetRequest |
getDefaultInstance() |
CreateSampleQuerySetRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getParent()
Required.
|
com.google.protobuf.ByteString |
getParentBytes()
Required.
|
com.google.protobuf.Parser<CreateSampleQuerySetRequest> |
getParserForType() |
SampleQuerySet |
getSampleQuerySet()
Required.
|
String |
getSampleQuerySetId()
Required.
|
com.google.protobuf.ByteString |
getSampleQuerySetIdBytes()
Required.
|
SampleQuerySetOrBuilder |
getSampleQuerySetOrBuilder()
Required.
|
int |
getSerializedSize() |
int |
hashCode() |
boolean |
hasSampleQuerySet()
Required.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static CreateSampleQuerySetRequest.Builder |
newBuilder() |
static CreateSampleQuerySetRequest.Builder |
newBuilder(CreateSampleQuerySetRequest prototype) |
CreateSampleQuerySetRequest.Builder |
newBuilderForType() |
protected CreateSampleQuerySetRequest.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static CreateSampleQuerySetRequest |
parseDelimitedFrom(InputStream input) |
static CreateSampleQuerySetRequest |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CreateSampleQuerySetRequest |
parseFrom(byte[] data) |
static CreateSampleQuerySetRequest |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CreateSampleQuerySetRequest |
parseFrom(ByteBuffer data) |
static CreateSampleQuerySetRequest |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CreateSampleQuerySetRequest |
parseFrom(com.google.protobuf.ByteString data) |
static CreateSampleQuerySetRequest |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CreateSampleQuerySetRequest |
parseFrom(com.google.protobuf.CodedInputStream input) |
static CreateSampleQuerySetRequest |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CreateSampleQuerySetRequest |
parseFrom(InputStream input) |
static CreateSampleQuerySetRequest |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<CreateSampleQuerySetRequest> |
parser() |
CreateSampleQuerySetRequest.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int PARENT_FIELD_NUMBER
public static final int SAMPLE_QUERY_SET_FIELD_NUMBER
public static final int SAMPLE_QUERY_SET_ID_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getParent()
Required. The parent resource name, such as
`projects/{project}/locations/{location}`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getParent in interface CreateSampleQuerySetRequestOrBuilderpublic com.google.protobuf.ByteString getParentBytes()
Required. The parent resource name, such as
`projects/{project}/locations/{location}`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getParentBytes in interface CreateSampleQuerySetRequestOrBuilderpublic boolean hasSampleQuerySet()
Required. The [SampleQuerySet][google.cloud.discoveryengine.v1alpha.SampleQuerySet] to create.
.google.cloud.discoveryengine.v1alpha.SampleQuerySet sample_query_set = 2 [(.google.api.field_behavior) = REQUIRED];
hasSampleQuerySet in interface CreateSampleQuerySetRequestOrBuilderpublic SampleQuerySet getSampleQuerySet()
Required. The [SampleQuerySet][google.cloud.discoveryengine.v1alpha.SampleQuerySet] to create.
.google.cloud.discoveryengine.v1alpha.SampleQuerySet sample_query_set = 2 [(.google.api.field_behavior) = REQUIRED];
getSampleQuerySet in interface CreateSampleQuerySetRequestOrBuilderpublic SampleQuerySetOrBuilder getSampleQuerySetOrBuilder()
Required. The [SampleQuerySet][google.cloud.discoveryengine.v1alpha.SampleQuerySet] to create.
.google.cloud.discoveryengine.v1alpha.SampleQuerySet sample_query_set = 2 [(.google.api.field_behavior) = REQUIRED];
getSampleQuerySetOrBuilder in interface CreateSampleQuerySetRequestOrBuilderpublic String getSampleQuerySetId()
Required. The ID to use for the [SampleQuerySet][google.cloud.discoveryengine.v1alpha.SampleQuerySet], which will become the final component of the [SampleQuerySet.name][google.cloud.discoveryengine.v1alpha.SampleQuerySet.name]. If the caller does not have permission to create the [SampleQuerySet][google.cloud.discoveryengine.v1alpha.SampleQuerySet], regardless of whether or not it exists, a `PERMISSION_DENIED` error is returned. This field must be unique among all [SampleQuerySet][google.cloud.discoveryengine.v1alpha.SampleQuerySet]s with the same [parent][google.cloud.discoveryengine.v1alpha.CreateSampleQuerySetRequest.parent]. Otherwise, an `ALREADY_EXISTS` error is returned. This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters. Otherwise, an `INVALID_ARGUMENT` error is returned.
string sample_query_set_id = 3 [(.google.api.field_behavior) = REQUIRED];getSampleQuerySetId in interface CreateSampleQuerySetRequestOrBuilderpublic com.google.protobuf.ByteString getSampleQuerySetIdBytes()
Required. The ID to use for the [SampleQuerySet][google.cloud.discoveryengine.v1alpha.SampleQuerySet], which will become the final component of the [SampleQuerySet.name][google.cloud.discoveryengine.v1alpha.SampleQuerySet.name]. If the caller does not have permission to create the [SampleQuerySet][google.cloud.discoveryengine.v1alpha.SampleQuerySet], regardless of whether or not it exists, a `PERMISSION_DENIED` error is returned. This field must be unique among all [SampleQuerySet][google.cloud.discoveryengine.v1alpha.SampleQuerySet]s with the same [parent][google.cloud.discoveryengine.v1alpha.CreateSampleQuerySetRequest.parent]. Otherwise, an `ALREADY_EXISTS` error is returned. This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters. Otherwise, an `INVALID_ARGUMENT` error is returned.
string sample_query_set_id = 3 [(.google.api.field_behavior) = REQUIRED];getSampleQuerySetIdBytes in interface CreateSampleQuerySetRequestOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static CreateSampleQuerySetRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CreateSampleQuerySetRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CreateSampleQuerySetRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CreateSampleQuerySetRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CreateSampleQuerySetRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CreateSampleQuerySetRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CreateSampleQuerySetRequest parseFrom(InputStream input) throws IOException
IOExceptionpublic static CreateSampleQuerySetRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static CreateSampleQuerySetRequest parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static CreateSampleQuerySetRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static CreateSampleQuerySetRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static CreateSampleQuerySetRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic CreateSampleQuerySetRequest.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static CreateSampleQuerySetRequest.Builder newBuilder()
public static CreateSampleQuerySetRequest.Builder newBuilder(CreateSampleQuerySetRequest prototype)
public CreateSampleQuerySetRequest.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected CreateSampleQuerySetRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static CreateSampleQuerySetRequest getDefaultInstance()
public static com.google.protobuf.Parser<CreateSampleQuerySetRequest> parser()
public com.google.protobuf.Parser<CreateSampleQuerySetRequest> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public CreateSampleQuerySetRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.