Class DataAnalyticsAgent (0.1.0)

public final class DataAnalyticsAgent extends GeneratedMessageV3 implements DataAnalyticsAgentOrBuilder

Message describing a DataAnalyticsAgent object.

Protobuf type google.cloud.geminidataanalytics.v1beta.DataAnalyticsAgent

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()
Returns
Type Description
DataAnalyticsAgent

getDescriptor()

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

newBuilder()

public static DataAnalyticsAgent.Builder newBuilder()
Returns
Type Description
DataAnalyticsAgent.Builder

newBuilder(DataAnalyticsAgent prototype)

public static DataAnalyticsAgent.Builder newBuilder(DataAnalyticsAgent prototype)
Parameter
Name Description
prototype DataAnalyticsAgent
Returns
Type Description
DataAnalyticsAgent.Builder

parseDelimitedFrom(InputStream input)

public static DataAnalyticsAgent parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DataAnalyticsAgent
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DataAnalyticsAgent parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataAnalyticsAgent
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static DataAnalyticsAgent parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
DataAnalyticsAgent
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DataAnalyticsAgent parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataAnalyticsAgent
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DataAnalyticsAgent parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
DataAnalyticsAgent
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DataAnalyticsAgent parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataAnalyticsAgent
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DataAnalyticsAgent parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
DataAnalyticsAgent
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DataAnalyticsAgent parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataAnalyticsAgent
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static DataAnalyticsAgent parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DataAnalyticsAgent
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DataAnalyticsAgent parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataAnalyticsAgent
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static DataAnalyticsAgent parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
DataAnalyticsAgent
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DataAnalyticsAgent parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataAnalyticsAgent
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<DataAnalyticsAgent> parser()
Returns
Type Description
Parser<DataAnalyticsAgent>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public DataAnalyticsAgent getDefaultInstanceForType()
Returns
Type Description
DataAnalyticsAgent

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];

Returns
Type Description
ContextOrBuilder

getParserForType()

public Parser<DataAnalyticsAgent> getParserForType()
Returns
Type Description
Parser<DataAnalyticsAgent>
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];

Returns
Type Description
ContextOrBuilder

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];

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public DataAnalyticsAgent.Builder newBuilderForType()
Returns
Type Description
DataAnalyticsAgent.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected DataAnalyticsAgent.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
DataAnalyticsAgent.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public DataAnalyticsAgent.Builder toBuilder()
Returns
Type Description
DataAnalyticsAgent.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException