public static final class SpannerReference.Builder extends GeneratedMessage.Builder<SpannerReference.Builder> implements SpannerReferenceOrBuilder Message representing reference to a Spanner database and agent context.
Only supported for the QueryData method.
Protobuf type google.cloud.geminidataanalytics.v1beta.SpannerReference
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > SpannerReference.BuilderImplements
SpannerReferenceOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public SpannerReference build()| Returns | |
|---|---|
| Type | Description |
SpannerReference |
|
buildPartial()
public SpannerReference buildPartial()| Returns | |
|---|---|
| Type | Description |
SpannerReference |
|
clear()
public SpannerReference.Builder clear()| Returns | |
|---|---|
| Type | Description |
SpannerReference.Builder |
|
clearAgentContextReference()
public SpannerReference.Builder clearAgentContextReference()Optional. Parameters for retrieving data from Agent Context.
.google.cloud.geminidataanalytics.v1beta.AgentContextReference agent_context_reference = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
SpannerReference.Builder |
|
clearDatabaseReference()
public SpannerReference.Builder clearDatabaseReference()Required. Singular proto that supports specifying which database and tables to include.
.google.cloud.geminidataanalytics.v1beta.SpannerDatabaseReference database_reference = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
SpannerReference.Builder |
|
getAgentContextReference()
public AgentContextReference getAgentContextReference()Optional. Parameters for retrieving data from Agent Context.
.google.cloud.geminidataanalytics.v1beta.AgentContextReference agent_context_reference = 2 [(.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 = 2 [(.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 = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AgentContextReferenceOrBuilder |
|
getDatabaseReference()
public SpannerDatabaseReference getDatabaseReference()Required. Singular proto that supports specifying which database and tables to include.
.google.cloud.geminidataanalytics.v1beta.SpannerDatabaseReference database_reference = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
SpannerDatabaseReference |
The databaseReference. |
getDatabaseReferenceBuilder()
public SpannerDatabaseReference.Builder getDatabaseReferenceBuilder()Required. Singular proto that supports specifying which database and tables to include.
.google.cloud.geminidataanalytics.v1beta.SpannerDatabaseReference database_reference = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
SpannerDatabaseReference.Builder |
|
getDatabaseReferenceOrBuilder()
public SpannerDatabaseReferenceOrBuilder getDatabaseReferenceOrBuilder()Required. Singular proto that supports specifying which database and tables to include.
.google.cloud.geminidataanalytics.v1beta.SpannerDatabaseReference database_reference = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
SpannerDatabaseReferenceOrBuilder |
|
getDefaultInstanceForType()
public SpannerReference getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
SpannerReference |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
hasAgentContextReference()
public boolean hasAgentContextReference()Optional. Parameters for retrieving data from Agent Context.
.google.cloud.geminidataanalytics.v1beta.AgentContextReference agent_context_reference = 2 [(.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.SpannerDatabaseReference 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 |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeAgentContextReference(AgentContextReference value)
public SpannerReference.Builder mergeAgentContextReference(AgentContextReference value)Optional. Parameters for retrieving data from Agent Context.
.google.cloud.geminidataanalytics.v1beta.AgentContextReference agent_context_reference = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
AgentContextReference |
| Returns | |
|---|---|
| Type | Description |
SpannerReference.Builder |
|
mergeDatabaseReference(SpannerDatabaseReference value)
public SpannerReference.Builder mergeDatabaseReference(SpannerDatabaseReference value)Required. Singular proto that supports specifying which database and tables to include.
.google.cloud.geminidataanalytics.v1beta.SpannerDatabaseReference database_reference = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
SpannerDatabaseReference |
| Returns | |
|---|---|
| Type | Description |
SpannerReference.Builder |
|
mergeFrom(SpannerReference other)
public SpannerReference.Builder mergeFrom(SpannerReference other)| Parameter | |
|---|---|
| Name | Description |
other |
SpannerReference |
| Returns | |
|---|---|
| Type | Description |
SpannerReference.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SpannerReference.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SpannerReference.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public SpannerReference.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
SpannerReference.Builder |
|
setAgentContextReference(AgentContextReference value)
public SpannerReference.Builder setAgentContextReference(AgentContextReference value)Optional. Parameters for retrieving data from Agent Context.
.google.cloud.geminidataanalytics.v1beta.AgentContextReference agent_context_reference = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
AgentContextReference |
| Returns | |
|---|---|
| Type | Description |
SpannerReference.Builder |
|
setAgentContextReference(AgentContextReference.Builder builderForValue)
public SpannerReference.Builder setAgentContextReference(AgentContextReference.Builder builderForValue)Optional. Parameters for retrieving data from Agent Context.
.google.cloud.geminidataanalytics.v1beta.AgentContextReference agent_context_reference = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
AgentContextReference.Builder |
| Returns | |
|---|---|
| Type | Description |
SpannerReference.Builder |
|
setDatabaseReference(SpannerDatabaseReference value)
public SpannerReference.Builder setDatabaseReference(SpannerDatabaseReference value)Required. Singular proto that supports specifying which database and tables to include.
.google.cloud.geminidataanalytics.v1beta.SpannerDatabaseReference database_reference = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
SpannerDatabaseReference |
| Returns | |
|---|---|
| Type | Description |
SpannerReference.Builder |
|
setDatabaseReference(SpannerDatabaseReference.Builder builderForValue)
public SpannerReference.Builder setDatabaseReference(SpannerDatabaseReference.Builder builderForValue)Required. Singular proto that supports specifying which database and tables to include.
.google.cloud.geminidataanalytics.v1beta.SpannerDatabaseReference database_reference = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
SpannerDatabaseReference.Builder |
| Returns | |
|---|---|
| Type | Description |
SpannerReference.Builder |
|