public final class Chunk extends GeneratedMessage implements ChunkOrBuilder
A chunk of content within a message.
Protobuf type google.cloud.ces.v1.Chunk
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
AGENT_TRANSFER_FIELD_NUMBER
public static final int AGENT_TRANSFER_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
DEFAULT_VARIABLES_FIELD_NUMBER
public static final int DEFAULT_VARIABLES_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
IMAGE_FIELD_NUMBER
public static final int IMAGE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
PAYLOAD_FIELD_NUMBER
public static final int PAYLOAD_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
TEXT_FIELD_NUMBER
public static final int TEXT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int TOOL_CALL_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int TOOL_RESPONSE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
TRANSCRIPT_FIELD_NUMBER
public static final int TRANSCRIPT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
UPDATED_VARIABLES_FIELD_NUMBER
public static final int UPDATED_VARIABLES_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static Chunk getDefaultInstance()
| Returns |
| Type |
Description |
Chunk |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Chunk.Builder newBuilder()
newBuilder(Chunk prototype)
public static Chunk.Builder newBuilder(Chunk prototype)
| Parameter |
| Name |
Description |
prototype |
Chunk
|
public static Chunk parseDelimitedFrom(InputStream input)
| Returns |
| Type |
Description |
Chunk |
|
public static Chunk parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
| Returns |
| Type |
Description |
Chunk |
|
parseFrom(byte[] data)
public static Chunk parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
| Returns |
| Type |
Description |
Chunk |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Chunk parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
| Returns |
| Type |
Description |
Chunk |
|
parseFrom(ByteString data)
public static Chunk parseFrom(ByteString data)
| Returns |
| Type |
Description |
Chunk |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Chunk parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
| Returns |
| Type |
Description |
Chunk |
|
public static Chunk parseFrom(CodedInputStream input)
| Returns |
| Type |
Description |
Chunk |
|
public static Chunk parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
| Returns |
| Type |
Description |
Chunk |
|
public static Chunk parseFrom(InputStream input)
| Returns |
| Type |
Description |
Chunk |
|
public static Chunk parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
| Returns |
| Type |
Description |
Chunk |
|
parseFrom(ByteBuffer data)
public static Chunk parseFrom(ByteBuffer data)
| Returns |
| Type |
Description |
Chunk |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Chunk parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
| Returns |
| Type |
Description |
Chunk |
|
parser()
public static Parser<Chunk> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getAgentTransfer()
public AgentTransfer getAgentTransfer()
Optional. Agent transfer event.
.google.cloud.ces.v1.AgentTransfer agent_transfer = 4 [(.google.api.field_behavior) = OPTIONAL];
getAgentTransferOrBuilder()
public AgentTransferOrBuilder getAgentTransferOrBuilder()
Optional. Agent transfer event.
.google.cloud.ces.v1.AgentTransfer agent_transfer = 4 [(.google.api.field_behavior) = OPTIONAL];
getDataCase()
public Chunk.DataCase getDataCase()
getDefaultInstanceForType()
public Chunk getDefaultInstanceForType()
| Returns |
| Type |
Description |
Chunk |
|
getDefaultVariables()
public Struct getDefaultVariables()
A struct represents default variables at the start of the conversation,
keyed by variable names.
.google.protobuf.Struct default_variables = 10;
| Returns |
| Type |
Description |
Struct |
The defaultVariables.
|
getDefaultVariablesOrBuilder()
public StructOrBuilder getDefaultVariablesOrBuilder()
A struct represents default variables at the start of the conversation,
keyed by variable names.
.google.protobuf.Struct default_variables = 10;
getImage()
Optional. Image data.
.google.cloud.ces.v1.Image image = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
Image |
The image.
|
getImageOrBuilder()
public ImageOrBuilder getImageOrBuilder()
Optional. Image data.
.google.cloud.ces.v1.Image image = 5 [(.google.api.field_behavior) = OPTIONAL];
getParserForType()
public Parser<Chunk> getParserForType()
Overrides
getPayload()
public Struct getPayload()
Optional. Custom payload data.
.google.protobuf.Struct payload = 11 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
Struct |
The payload.
|
getPayloadOrBuilder()
public StructOrBuilder getPayloadOrBuilder()
Optional. Custom payload data.
.google.protobuf.Struct payload = 11 [(.google.api.field_behavior) = OPTIONAL];
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
getText()
Optional. Text data.
string text = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
String |
The text.
|
getTextBytes()
public ByteString getTextBytes()
Optional. Text data.
string text = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
ByteString |
The bytes for text.
|
public ToolCall getToolCall()
Optional. Tool execution request.
.google.cloud.ces.v1.ToolCall tool_call = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
ToolCall |
The toolCall.
|
public ToolCallOrBuilder getToolCallOrBuilder()
Optional. Tool execution request.
.google.cloud.ces.v1.ToolCall tool_call = 2 [(.google.api.field_behavior) = OPTIONAL];
public ToolResponse getToolResponse()
Optional. Tool execution response.
.google.cloud.ces.v1.ToolResponse tool_response = 3 [(.google.api.field_behavior) = OPTIONAL];
public ToolResponseOrBuilder getToolResponseOrBuilder()
Optional. Tool execution response.
.google.cloud.ces.v1.ToolResponse tool_response = 3 [(.google.api.field_behavior) = OPTIONAL];
getTranscript()
public String getTranscript()
Optional. Transcript associated with the audio.
string transcript = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
String |
The transcript.
|
getTranscriptBytes()
public ByteString getTranscriptBytes()
Optional. Transcript associated with the audio.
string transcript = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
ByteString |
The bytes for transcript.
|
getUpdatedVariables()
public Struct getUpdatedVariables()
A struct represents variables that were updated in the conversation,
keyed by variable names.
.google.protobuf.Struct updated_variables = 8;
| Returns |
| Type |
Description |
Struct |
The updatedVariables.
|
getUpdatedVariablesOrBuilder()
public StructOrBuilder getUpdatedVariablesOrBuilder()
A struct represents variables that were updated in the conversation,
keyed by variable names.
.google.protobuf.Struct updated_variables = 8;
hasAgentTransfer()
public boolean hasAgentTransfer()
Optional. Agent transfer event.
.google.cloud.ces.v1.AgentTransfer agent_transfer = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the agentTransfer field is set.
|
hasDefaultVariables()
public boolean hasDefaultVariables()
A struct represents default variables at the start of the conversation,
keyed by variable names.
.google.protobuf.Struct default_variables = 10;
| Returns |
| Type |
Description |
boolean |
Whether the defaultVariables field is set.
|
hasImage()
public boolean hasImage()
Optional. Image data.
.google.cloud.ces.v1.Image image = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the image field is set.
|
hasPayload()
public boolean hasPayload()
Optional. Custom payload data.
.google.protobuf.Struct payload = 11 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the payload field is set.
|
hasText()
Optional. Text data.
string text = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the text field is set.
|
public boolean hasToolCall()
Optional. Tool execution request.
.google.cloud.ces.v1.ToolCall tool_call = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the toolCall field is set.
|
public boolean hasToolResponse()
Optional. Tool execution response.
.google.cloud.ces.v1.ToolResponse tool_response = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the toolResponse field is set.
|
hasTranscript()
public boolean hasTranscript()
Optional. Transcript associated with the audio.
string transcript = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the transcript field is set.
|
hasUpdatedVariables()
public boolean hasUpdatedVariables()
A struct represents variables that were updated in the conversation,
keyed by variable names.
.google.protobuf.Struct updated_variables = 8;
| Returns |
| Type |
Description |
boolean |
Whether the updatedVariables field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Chunk.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected Chunk.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public Chunk.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides