Class DataAnalyticsAgent.Builder (0.1.0)

public static final class DataAnalyticsAgent.Builder extends GeneratedMessageV3.Builder<DataAnalyticsAgent.Builder> implements DataAnalyticsAgentOrBuilder

Message describing a DataAnalyticsAgent object.

Protobuf type google.cloud.geminidataanalytics.v1beta.DataAnalyticsAgent

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DataAnalyticsAgent.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DataAnalyticsAgent.Builder
Overrides

build()

public DataAnalyticsAgent build()
Returns
Type Description
DataAnalyticsAgent

buildPartial()

public DataAnalyticsAgent buildPartial()
Returns
Type Description
DataAnalyticsAgent

clear()

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

clearField(Descriptors.FieldDescriptor field)

public DataAnalyticsAgent.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
DataAnalyticsAgent.Builder
Overrides

clearLastPublishedContext()

public DataAnalyticsAgent.Builder clearLastPublishedContext()

Output only. The last published context for the agent. This is an output-only field populated by the system when the published context is updated. It is used to restore the agent to a previous state.

.google.cloud.geminidataanalytics.v1beta.Context last_published_context = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DataAnalyticsAgent.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public DataAnalyticsAgent.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
DataAnalyticsAgent.Builder
Overrides

clearPublishedContext()

public DataAnalyticsAgent.Builder clearPublishedContext()

Optional. The published context for the agent. This context is used by the Chat API in production.

.google.cloud.geminidataanalytics.v1beta.Context published_context = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DataAnalyticsAgent.Builder

clearStagingContext()

public DataAnalyticsAgent.Builder clearStagingContext()

Optional. The staging context for the agent. This context is used to test and validate changes before publishing.

.google.cloud.geminidataanalytics.v1beta.Context staging_context = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DataAnalyticsAgent.Builder

clone()

public DataAnalyticsAgent.Builder clone()
Returns
Type Description
DataAnalyticsAgent.Builder
Overrides

getDefaultInstanceForType()

public DataAnalyticsAgent getDefaultInstanceForType()
Returns
Type Description
DataAnalyticsAgent

getDescriptorForType()

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

getLastPublishedContext()

public Context getLastPublishedContext()

Output only. The last published context for the agent. This is an output-only field populated by the system when the published context is updated. It is used to restore the agent to a previous state.

.google.cloud.geminidataanalytics.v1beta.Context last_published_context = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Context

The lastPublishedContext.

getLastPublishedContextBuilder()

public Context.Builder getLastPublishedContextBuilder()

Output only. The last published context for the agent. This is an output-only field populated by the system when the published context is updated. It is used to restore the agent to a previous state.

.google.cloud.geminidataanalytics.v1beta.Context last_published_context = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Context.Builder

getLastPublishedContextOrBuilder()

public ContextOrBuilder getLastPublishedContextOrBuilder()

Output only. The last published context for the agent. This is an output-only field populated by the system when the published context is updated. It is used to restore the agent to a previous state.

.google.cloud.geminidataanalytics.v1beta.Context last_published_context = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ContextOrBuilder

getPublishedContext()

public Context getPublishedContext()

Optional. The published context for the agent. This context is used by the Chat API in production.

.google.cloud.geminidataanalytics.v1beta.Context published_context = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Context

The publishedContext.

getPublishedContextBuilder()

public Context.Builder getPublishedContextBuilder()

Optional. The published context for the agent. This context is used by the Chat API in production.

.google.cloud.geminidataanalytics.v1beta.Context published_context = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Context.Builder

getPublishedContextOrBuilder()

public ContextOrBuilder getPublishedContextOrBuilder()

Optional. The published context for the agent. This context is used by the Chat API in production.

.google.cloud.geminidataanalytics.v1beta.Context published_context = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ContextOrBuilder

getStagingContext()

public Context getStagingContext()

Optional. The staging context for the agent. This context is used to test and validate changes before publishing.

.google.cloud.geminidataanalytics.v1beta.Context staging_context = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Context

The stagingContext.

getStagingContextBuilder()

public Context.Builder getStagingContextBuilder()

Optional. The staging context for the agent. This context is used to test and validate changes before publishing.

.google.cloud.geminidataanalytics.v1beta.Context staging_context = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Context.Builder

getStagingContextOrBuilder()

public ContextOrBuilder getStagingContextOrBuilder()

Optional. The staging context for the agent. This context is used to test and validate changes before publishing.

.google.cloud.geminidataanalytics.v1beta.Context staging_context = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ContextOrBuilder

hasLastPublishedContext()

public boolean hasLastPublishedContext()

Output only. The last published context for the agent. This is an output-only field populated by the system when the published context is updated. It is used to restore the agent to a previous state.

.google.cloud.geminidataanalytics.v1beta.Context last_published_context = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the lastPublishedContext field is set.

hasPublishedContext()

public boolean hasPublishedContext()

Optional. The published context for the agent. This context is used by the Chat API in production.

.google.cloud.geminidataanalytics.v1beta.Context published_context = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the publishedContext field is set.

hasStagingContext()

public boolean hasStagingContext()

Optional. The staging context for the agent. This context is used to test and validate changes before publishing.

.google.cloud.geminidataanalytics.v1beta.Context staging_context = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the stagingContext field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DataAnalyticsAgent other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeLastPublishedContext(Context value)

public DataAnalyticsAgent.Builder mergeLastPublishedContext(Context value)

Output only. The last published context for the agent. This is an output-only field populated by the system when the published context is updated. It is used to restore the agent to a previous state.

.google.cloud.geminidataanalytics.v1beta.Context last_published_context = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Context
Returns
Type Description
DataAnalyticsAgent.Builder

mergePublishedContext(Context value)

public DataAnalyticsAgent.Builder mergePublishedContext(Context value)

Optional. The published context for the agent. This context is used by the Chat API in production.

.google.cloud.geminidataanalytics.v1beta.Context published_context = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Context
Returns
Type Description
DataAnalyticsAgent.Builder

mergeStagingContext(Context value)

public DataAnalyticsAgent.Builder mergeStagingContext(Context value)

Optional. The staging context for the agent. This context is used to test and validate changes before publishing.

.google.cloud.geminidataanalytics.v1beta.Context staging_context = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Context
Returns
Type Description
DataAnalyticsAgent.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DataAnalyticsAgent.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DataAnalyticsAgent.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public DataAnalyticsAgent.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DataAnalyticsAgent.Builder
Overrides

setLastPublishedContext(Context value)

public DataAnalyticsAgent.Builder setLastPublishedContext(Context value)

Output only. The last published context for the agent. This is an output-only field populated by the system when the published context is updated. It is used to restore the agent to a previous state.

.google.cloud.geminidataanalytics.v1beta.Context last_published_context = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Context
Returns
Type Description
DataAnalyticsAgent.Builder

setLastPublishedContext(Context.Builder builderForValue)

public DataAnalyticsAgent.Builder setLastPublishedContext(Context.Builder builderForValue)

Output only. The last published context for the agent. This is an output-only field populated by the system when the published context is updated. It is used to restore the agent to a previous state.

.google.cloud.geminidataanalytics.v1beta.Context last_published_context = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Context.Builder
Returns
Type Description
DataAnalyticsAgent.Builder

setPublishedContext(Context value)

public DataAnalyticsAgent.Builder setPublishedContext(Context value)

Optional. The published context for the agent. This context is used by the Chat API in production.

.google.cloud.geminidataanalytics.v1beta.Context published_context = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Context
Returns
Type Description
DataAnalyticsAgent.Builder

setPublishedContext(Context.Builder builderForValue)

public DataAnalyticsAgent.Builder setPublishedContext(Context.Builder builderForValue)

Optional. The published context for the agent. This context is used by the Chat API in production.

.google.cloud.geminidataanalytics.v1beta.Context published_context = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue Context.Builder
Returns
Type Description
DataAnalyticsAgent.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public DataAnalyticsAgent.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
DataAnalyticsAgent.Builder
Overrides

setStagingContext(Context value)

public DataAnalyticsAgent.Builder setStagingContext(Context value)

Optional. The staging context for the agent. This context is used to test and validate changes before publishing.

.google.cloud.geminidataanalytics.v1beta.Context staging_context = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Context
Returns
Type Description
DataAnalyticsAgent.Builder

setStagingContext(Context.Builder builderForValue)

public DataAnalyticsAgent.Builder setStagingContext(Context.Builder builderForValue)

Optional. The staging context for the agent. This context is used to test and validate changes before publishing.

.google.cloud.geminidataanalytics.v1beta.Context staging_context = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue Context.Builder
Returns
Type Description
DataAnalyticsAgent.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final DataAnalyticsAgent.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DataAnalyticsAgent.Builder
Overrides