Interface CreateSampleQuerySetRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CreateSampleQuerySetRequest,CreateSampleQuerySetRequest.Builder
@Generated
public interface CreateSampleQuerySetRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionRequired.com.google.protobuf.ByteStringRequired.Required.Required.com.google.protobuf.ByteStringRequired.Required.booleanRequired.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getParent
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) = { ... }- Returns:
- The parent.
-
getParentBytes
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) = { ... }- Returns:
- The bytes for parent.
-
hasSampleQuerySet
boolean hasSampleQuerySet()Required. The [SampleQuerySet][google.cloud.discoveryengine.v1beta.SampleQuerySet] to create.
.google.cloud.discoveryengine.v1beta.SampleQuerySet sample_query_set = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the sampleQuerySet field is set.
-
getSampleQuerySet
SampleQuerySet getSampleQuerySet()Required. The [SampleQuerySet][google.cloud.discoveryengine.v1beta.SampleQuerySet] to create.
.google.cloud.discoveryengine.v1beta.SampleQuerySet sample_query_set = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The sampleQuerySet.
-
getSampleQuerySetOrBuilder
SampleQuerySetOrBuilder getSampleQuerySetOrBuilder()Required. The [SampleQuerySet][google.cloud.discoveryengine.v1beta.SampleQuerySet] to create.
.google.cloud.discoveryengine.v1beta.SampleQuerySet sample_query_set = 2 [(.google.api.field_behavior) = REQUIRED]; -
getSampleQuerySetId
String getSampleQuerySetId()Required. The ID to use for the [SampleQuerySet][google.cloud.discoveryengine.v1beta.SampleQuerySet], which will become the final component of the [SampleQuerySet.name][google.cloud.discoveryengine.v1beta.SampleQuerySet.name]. If the caller does not have permission to create the [SampleQuerySet][google.cloud.discoveryengine.v1beta.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.v1beta.SampleQuerySet]s with the same [parent][google.cloud.discoveryengine.v1beta.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];- Returns:
- The sampleQuerySetId.
-
getSampleQuerySetIdBytes
com.google.protobuf.ByteString getSampleQuerySetIdBytes()Required. The ID to use for the [SampleQuerySet][google.cloud.discoveryengine.v1beta.SampleQuerySet], which will become the final component of the [SampleQuerySet.name][google.cloud.discoveryengine.v1beta.SampleQuerySet.name]. If the caller does not have permission to create the [SampleQuerySet][google.cloud.discoveryengine.v1beta.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.v1beta.SampleQuerySet]s with the same [parent][google.cloud.discoveryengine.v1beta.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];- Returns:
- The bytes for sampleQuerySetId.
-