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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DataAnalyticsAgent.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public DataAnalyticsAgent build()
buildPartial()
public DataAnalyticsAgent buildPartial()
clear()
public DataAnalyticsAgent.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public DataAnalyticsAgent.Builder clearField(Descriptors.FieldDescriptor field)
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];
clearOneof(Descriptors.OneofDescriptor oneof)
public DataAnalyticsAgent.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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];
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];
clone()
public DataAnalyticsAgent.Builder clone()
Overrides
getDefaultInstanceForType()
public DataAnalyticsAgent getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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];
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];
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];
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];
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];
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];
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(DataAnalyticsAgent other)
public DataAnalyticsAgent.Builder mergeFrom(DataAnalyticsAgent other)
public DataAnalyticsAgent.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public DataAnalyticsAgent.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
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
|
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
|
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
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DataAnalyticsAgent.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public DataAnalyticsAgent.Builder setField(Descriptors.FieldDescriptor field, Object value)
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
|
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];
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
|
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];
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DataAnalyticsAgent.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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
|
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];
setUnknownFields(UnknownFieldSet unknownFields)
public final DataAnalyticsAgent.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides