Interface SampleQueryOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SampleQuery,SampleQuery.Builder
@Generated
public interface SampleQueryOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.getName()Identifier.com.google.protobuf.ByteStringIdentifier.The query entry.The query entry.booleanOutput only.booleanThe query entry.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
-
hasQueryEntry
boolean hasQueryEntry()The query entry.
.google.cloud.discoveryengine.v1beta.SampleQuery.QueryEntry query_entry = 2;- Returns:
- Whether the queryEntry field is set.
-
getQueryEntry
SampleQuery.QueryEntry getQueryEntry()The query entry.
.google.cloud.discoveryengine.v1beta.SampleQuery.QueryEntry query_entry = 2;- Returns:
- The queryEntry.
-
getQueryEntryOrBuilder
SampleQuery.QueryEntryOrBuilder getQueryEntryOrBuilder()The query entry.
.google.cloud.discoveryengine.v1beta.SampleQuery.QueryEntry query_entry = 2; -
getName
String getName()Identifier. The full resource name of the sample query, in the format of `projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set}/sampleQueries/{sample_query}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()Identifier. The full resource name of the sample query, in the format of `projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set}/sampleQueries/{sample_query}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Returns:
- The bytes for name.
-
hasCreateTime
boolean hasCreateTime()Output only. Timestamp the [SampleQuery][google.cloud.discoveryengine.v1beta.SampleQuery] was created at.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the createTime field is set.
-
getCreateTime
com.google.protobuf.Timestamp getCreateTime()Output only. Timestamp the [SampleQuery][google.cloud.discoveryengine.v1beta.SampleQuery] was created at.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The createTime.
-
getCreateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. Timestamp the [SampleQuery][google.cloud.discoveryengine.v1beta.SampleQuery] was created at.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getContentCase
SampleQuery.ContentCase getContentCase()
-