Interface SampleQueryOrBuilder (0.50.0)

public interface SampleQueryOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getContentCase()

public abstract SampleQuery.ContentCase getContentCase()
Returns
Type Description
SampleQuery.ContentCase

getCreateTime()

public abstract Timestamp getCreateTime()

Output only. Timestamp the SampleQuery was created at.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The createTime.

getCreateTimeOrBuilder()

public abstract TimestampOrBuilder getCreateTimeOrBuilder()

Output only. Timestamp the SampleQuery was created at.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getName()

public abstract 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
Type Description
String

The name.

getNameBytes()

public abstract 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
Type Description
ByteString

The bytes for name.

getQueryEntry()

public abstract SampleQuery.QueryEntry getQueryEntry()

The query entry.

.google.cloud.discoveryengine.v1alpha.SampleQuery.QueryEntry query_entry = 2;

Returns
Type Description
SampleQuery.QueryEntry

The queryEntry.

getQueryEntryOrBuilder()

public abstract SampleQuery.QueryEntryOrBuilder getQueryEntryOrBuilder()

The query entry.

.google.cloud.discoveryengine.v1alpha.SampleQuery.QueryEntry query_entry = 2;

Returns
Type Description
SampleQuery.QueryEntryOrBuilder

hasCreateTime()

public abstract boolean hasCreateTime()

Output only. Timestamp the SampleQuery was created at.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the createTime field is set.

hasQueryEntry()

public abstract boolean hasQueryEntry()

The query entry.

.google.cloud.discoveryengine.v1alpha.SampleQuery.QueryEntry query_entry = 2;

Returns
Type Description
boolean

Whether the queryEntry field is set.