Class SchemaQuery.Builder (0.11.0)

public static final class SchemaQuery.Builder extends GeneratedMessage.Builder<SchemaQuery.Builder> implements SchemaQueryOrBuilder

A query for resolving the schema relevant to the posed question.

Protobuf type google.cloud.geminidataanalytics.v1beta.SchemaQuery

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public SchemaQuery build()
Returns
Type Description
SchemaQuery

buildPartial()

public SchemaQuery buildPartial()
Returns
Type Description
SchemaQuery

clear()

public SchemaQuery.Builder clear()
Returns
Type Description
SchemaQuery.Builder
Overrides

clearQuestion()

public SchemaQuery.Builder clearQuestion()

Optional. The question to send to the system for schema resolution.

string question = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SchemaQuery.Builder

This builder for chaining.

getDefaultInstanceForType()

public SchemaQuery getDefaultInstanceForType()
Returns
Type Description
SchemaQuery

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getQuestion()

public String getQuestion()

Optional. The question to send to the system for schema resolution.

string question = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The question.

getQuestionBytes()

public ByteString getQuestionBytes()

Optional. The question to send to the system for schema resolution.

string question = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for question.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SchemaQuery other)

public SchemaQuery.Builder mergeFrom(SchemaQuery other)
Parameter
Name Description
other SchemaQuery
Returns
Type Description
SchemaQuery.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SchemaQuery.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SchemaQuery.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public SchemaQuery.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
SchemaQuery.Builder
Overrides

setQuestion(String value)

public SchemaQuery.Builder setQuestion(String value)

Optional. The question to send to the system for schema resolution.

string question = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The question to set.

Returns
Type Description
SchemaQuery.Builder

This builder for chaining.

setQuestionBytes(ByteString value)

public SchemaQuery.Builder setQuestionBytes(ByteString value)

Optional. The question to send to the system for schema resolution.

string question = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for question to set.

Returns
Type Description
SchemaQuery.Builder

This builder for chaining.