Send feedback
Class DataAnalyticsAgent (0.1.0)
Stay organized with collections
Save and categorize content based on your preferences.
public final class DataAnalyticsAgent extends GeneratedMessageV3 implements DataAnalyticsAgentOrBuilder
Message describing a DataAnalyticsAgent object.
Protobuf type google.cloud.geminidataanalytics.v1beta.DataAnalyticsAgent
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
LAST_PUBLISHED_CONTEXT_FIELD_NUMBER
public static final int LAST_PUBLISHED_CONTEXT_FIELD_NUMBER
Field Value
Type
Description
int
PUBLISHED_CONTEXT_FIELD_NUMBER
public static final int PUBLISHED_CONTEXT_FIELD_NUMBER
Field Value
Type
Description
int
STAGING_CONTEXT_FIELD_NUMBER
public static final int STAGING_CONTEXT_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
getDefaultInstance()
public static DataAnalyticsAgent getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static DataAnalyticsAgent . Builder newBuilder ()
newBuilder(DataAnalyticsAgent prototype)
public static DataAnalyticsAgent . Builder newBuilder ( DataAnalyticsAgent prototype )
public static DataAnalyticsAgent parseDelimitedFrom ( InputStream input )
public static DataAnalyticsAgent parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static DataAnalyticsAgent parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DataAnalyticsAgent parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static DataAnalyticsAgent parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DataAnalyticsAgent parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static DataAnalyticsAgent parseFrom ( CodedInputStream input )
public static DataAnalyticsAgent parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static DataAnalyticsAgent parseFrom ( InputStream input )
public static DataAnalyticsAgent parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static DataAnalyticsAgent parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DataAnalyticsAgent parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<DataAnalyticsAgent> parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
getDefaultInstanceForType()
public DataAnalyticsAgent getDefaultInstanceForType ()
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.
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];
getParserForType()
public Parser<DataAnalyticsAgent> getParserForType ()
Overrides
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.
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];
getSerializedSize()
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
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.
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.
hashCode()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public DataAnalyticsAgent . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected DataAnalyticsAgent . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public DataAnalyticsAgent . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-09-04 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,[]]