Class AlloyDbReference.Builder (0.11.0)

public static final class AlloyDbReference.Builder extends GeneratedMessage.Builder<AlloyDbReference.Builder> implements AlloyDbReferenceOrBuilder

Message representing reference to an AlloyDB database and agent context. Only supported for the QueryData method.

Protobuf type google.cloud.geminidataanalytics.v1beta.AlloyDbReference

Static Methods

getDescriptor()

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

Methods

build()

public AlloyDbReference build()
Returns
Type Description
AlloyDbReference

buildPartial()

public AlloyDbReference buildPartial()
Returns
Type Description
AlloyDbReference

clear()

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

clearAgentContextReference()

public AlloyDbReference.Builder clearAgentContextReference()

Optional. Parameters for retrieving data from Agent Context.

.google.cloud.geminidataanalytics.v1beta.AgentContextReference agent_context_reference = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AlloyDbReference.Builder

clearDatabaseReference()

public AlloyDbReference.Builder clearDatabaseReference()

Required. Singular proto that supports specifying which database and tables to include.

.google.cloud.geminidataanalytics.v1beta.AlloyDbDatabaseReference database_reference = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AlloyDbReference.Builder

getAgentContextReference()

public AgentContextReference getAgentContextReference()

Optional. Parameters for retrieving data from Agent Context.

.google.cloud.geminidataanalytics.v1beta.AgentContextReference agent_context_reference = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AgentContextReference

The agentContextReference.

getAgentContextReferenceBuilder()

public AgentContextReference.Builder getAgentContextReferenceBuilder()

Optional. Parameters for retrieving data from Agent Context.

.google.cloud.geminidataanalytics.v1beta.AgentContextReference agent_context_reference = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AgentContextReference.Builder

getAgentContextReferenceOrBuilder()

public AgentContextReferenceOrBuilder getAgentContextReferenceOrBuilder()

Optional. Parameters for retrieving data from Agent Context.

.google.cloud.geminidataanalytics.v1beta.AgentContextReference agent_context_reference = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AgentContextReferenceOrBuilder

getDatabaseReference()

public AlloyDbDatabaseReference getDatabaseReference()

Required. Singular proto that supports specifying which database and tables to include.

.google.cloud.geminidataanalytics.v1beta.AlloyDbDatabaseReference database_reference = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AlloyDbDatabaseReference

The databaseReference.

getDatabaseReferenceBuilder()

public AlloyDbDatabaseReference.Builder getDatabaseReferenceBuilder()

Required. Singular proto that supports specifying which database and tables to include.

.google.cloud.geminidataanalytics.v1beta.AlloyDbDatabaseReference database_reference = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AlloyDbDatabaseReference.Builder

getDatabaseReferenceOrBuilder()

public AlloyDbDatabaseReferenceOrBuilder getDatabaseReferenceOrBuilder()

Required. Singular proto that supports specifying which database and tables to include.

.google.cloud.geminidataanalytics.v1beta.AlloyDbDatabaseReference database_reference = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AlloyDbDatabaseReferenceOrBuilder

getDefaultInstanceForType()

public AlloyDbReference getDefaultInstanceForType()
Returns
Type Description
AlloyDbReference

getDescriptorForType()

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

hasAgentContextReference()

public boolean hasAgentContextReference()

Optional. Parameters for retrieving data from Agent Context.

.google.cloud.geminidataanalytics.v1beta.AgentContextReference agent_context_reference = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the agentContextReference field is set.

hasDatabaseReference()

public boolean hasDatabaseReference()

Required. Singular proto that supports specifying which database and tables to include.

.google.cloud.geminidataanalytics.v1beta.AlloyDbDatabaseReference database_reference = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the databaseReference field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAgentContextReference(AgentContextReference value)

public AlloyDbReference.Builder mergeAgentContextReference(AgentContextReference value)

Optional. Parameters for retrieving data from Agent Context.

.google.cloud.geminidataanalytics.v1beta.AgentContextReference agent_context_reference = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value AgentContextReference
Returns
Type Description
AlloyDbReference.Builder

mergeDatabaseReference(AlloyDbDatabaseReference value)

public AlloyDbReference.Builder mergeDatabaseReference(AlloyDbDatabaseReference value)

Required. Singular proto that supports specifying which database and tables to include.

.google.cloud.geminidataanalytics.v1beta.AlloyDbDatabaseReference database_reference = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value AlloyDbDatabaseReference
Returns
Type Description
AlloyDbReference.Builder

mergeFrom(AlloyDbReference other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setAgentContextReference(AgentContextReference value)

public AlloyDbReference.Builder setAgentContextReference(AgentContextReference value)

Optional. Parameters for retrieving data from Agent Context.

.google.cloud.geminidataanalytics.v1beta.AgentContextReference agent_context_reference = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value AgentContextReference
Returns
Type Description
AlloyDbReference.Builder

setAgentContextReference(AgentContextReference.Builder builderForValue)

public AlloyDbReference.Builder setAgentContextReference(AgentContextReference.Builder builderForValue)

Optional. Parameters for retrieving data from Agent Context.

.google.cloud.geminidataanalytics.v1beta.AgentContextReference agent_context_reference = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue AgentContextReference.Builder
Returns
Type Description
AlloyDbReference.Builder

setDatabaseReference(AlloyDbDatabaseReference value)

public AlloyDbReference.Builder setDatabaseReference(AlloyDbDatabaseReference value)

Required. Singular proto that supports specifying which database and tables to include.

.google.cloud.geminidataanalytics.v1beta.AlloyDbDatabaseReference database_reference = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value AlloyDbDatabaseReference
Returns
Type Description
AlloyDbReference.Builder

setDatabaseReference(AlloyDbDatabaseReference.Builder builderForValue)

public AlloyDbReference.Builder setDatabaseReference(AlloyDbDatabaseReference.Builder builderForValue)

Required. Singular proto that supports specifying which database and tables to include.

.google.cloud.geminidataanalytics.v1beta.AlloyDbDatabaseReference database_reference = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue AlloyDbDatabaseReference.Builder
Returns
Type Description
AlloyDbReference.Builder