Class Agent.LlmAgent (0.1.0)

public static final class Agent.LlmAgent extends GeneratedMessage implements Agent.LlmAgentOrBuilder

Default agent type. The agent uses instructions and callbacks specified in the agent to perform the task using a large language model.

Protobuf type google.cloud.ces.v1.Agent.LlmAgent

Static Methods

getDefaultInstance()

public static Agent.LlmAgent getDefaultInstance()
Returns
Type Description
Agent.LlmAgent

getDescriptor()

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

newBuilder()

public static Agent.LlmAgent.Builder newBuilder()
Returns
Type Description
Agent.LlmAgent.Builder

newBuilder(Agent.LlmAgent prototype)

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

parseDelimitedFrom(InputStream input)

public static Agent.LlmAgent parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Agent.LlmAgent
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static Agent.LlmAgent parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Agent.LlmAgent
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static Agent.LlmAgent parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Agent.LlmAgent
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static Agent.LlmAgent parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Agent.LlmAgent
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static Agent.LlmAgent parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Agent.LlmAgent
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<Agent.LlmAgent> parser()
Returns
Type Description
Parser<LlmAgent>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public Agent.LlmAgent getDefaultInstanceForType()
Returns
Type Description
Agent.LlmAgent

getParserForType()

public Parser<Agent.LlmAgent> getParserForType()
Returns
Type Description
Parser<LlmAgent>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Agent.LlmAgent.Builder newBuilderForType()
Returns
Type Description
Agent.LlmAgent.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected Agent.LlmAgent.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Agent.LlmAgent.Builder
Overrides

toBuilder()

public Agent.LlmAgent.Builder toBuilder()
Returns
Type Description
Agent.LlmAgent.Builder

writeTo(CodedOutputStream output)

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