public
final
class
Message
extends
GeneratedMessage
implements
MessageOrBuilder
A message within a conversation.
Protobuf type google.cloud.ces.v1.Message
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > MessageImplements
MessageOrBuilderStatic Fields
CHUNKS_FIELD_NUMBER
public
static
final
int
CHUNKS_FIELD_NUMBER
EVENT_TIME_FIELD_NUMBER
public
static
final
int
EVENT_TIME_FIELD_NUMBER
ROLE_FIELD_NUMBER
public
static
final
int
ROLE_FIELD_NUMBER
Static Methods
getDefaultInstance()
public
static
Message
getDefaultInstance
()
getDescriptor()
public
static
final
Descriptors
.
Descriptor
getDescriptor
()
newBuilder()
public
static
Message
.
Builder
newBuilder
()
newBuilder(Message prototype)
public
static
Message
.
Builder
newBuilder
(
Message
prototype
)
parseDelimitedFrom(InputStream input)
public
static
Message
parseDelimitedFrom
(
InputStream
input
)
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public
static
Message
parseDelimitedFrom
(
InputStream
input
,
ExtensionRegistryLite
extensionRegistry
)
parseFrom(byte[] data)
public
static
Message
parseFrom
(
byte
[]
data
)
data
byte
[]
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public
static
Message
parseFrom
(
byte
[]
data
,
ExtensionRegistryLite
extensionRegistry
)
parseFrom(ByteString data)
public
static
Message
parseFrom
(
ByteString
data
)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public
static
Message
parseFrom
(
ByteString
data
,
ExtensionRegistryLite
extensionRegistry
)
parseFrom(CodedInputStream input)
public
static
Message
parseFrom
(
CodedInputStream
input
)
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public
static
Message
parseFrom
(
CodedInputStream
input
,
ExtensionRegistryLite
extensionRegistry
)
parseFrom(InputStream input)
public
static
Message
parseFrom
(
InputStream
input
)
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public
static
Message
parseFrom
(
InputStream
input
,
ExtensionRegistryLite
extensionRegistry
)
parseFrom(ByteBuffer data)
public
static
Message
parseFrom
(
ByteBuffer
data
)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public
static
Message
parseFrom
(
ByteBuffer
data
,
ExtensionRegistryLite
extensionRegistry
)
parser()
public
static
Parser<Message>
parser
()
Methods
equals(Object obj)
public
boolean
equals
(
Object
obj
)
getChunks(int index)
public
Chunk
getChunks
(
int
index
)
Optional. Content of the message as a series of chunks.
repeated .google.cloud.ces.v1.Chunk chunks = 2 [(.google.api.field_behavior) = OPTIONAL];
getChunksCount()
public
int
getChunksCount
()
Optional. Content of the message as a series of chunks.
repeated .google.cloud.ces.v1.Chunk chunks = 2 [(.google.api.field_behavior) = OPTIONAL];
getChunksList()
public
List<Chunk>
getChunksList
()
Optional. Content of the message as a series of chunks.
repeated .google.cloud.ces.v1.Chunk chunks = 2 [(.google.api.field_behavior) = OPTIONAL];
getChunksOrBuilder(int index)
public
ChunkOrBuilder
getChunksOrBuilder
(
int
index
)
Optional. Content of the message as a series of chunks.
repeated .google.cloud.ces.v1.Chunk chunks = 2 [(.google.api.field_behavior) = OPTIONAL];
getChunksOrBuilderList()
public
List
< ?
extends
ChunkOrBuilder
>
getChunksOrBuilderList
()
Optional. Content of the message as a series of chunks.
repeated .google.cloud.ces.v1.Chunk chunks = 2 [(.google.api.field_behavior) = OPTIONAL];
getDefaultInstanceForType()
public
Message
getDefaultInstanceForType
()
getEventTime()
public
Timestamp
getEventTime
()
Optional. Timestamp when the message was sent or received. Should not be used if the message is part of an example .
.google.protobuf.Timestamp event_time = 4 [(.google.api.field_behavior) = OPTIONAL];
getEventTimeOrBuilder()
public
TimestampOrBuilder
getEventTimeOrBuilder
()
Optional. Timestamp when the message was sent or received. Should not be used if the message is part of an example .
.google.protobuf.Timestamp event_time = 4 [(.google.api.field_behavior) = OPTIONAL];
getParserForType()
public
Parser<Message>
getParserForType
()
getRole()
public
String
getRole
()
Optional. The role within the conversation, e.g., user, agent.
string role = 1 [(.google.api.field_behavior) = OPTIONAL];
getRoleBytes()
public
ByteString
getRoleBytes
()
Optional. The role within the conversation, e.g., user, agent.
string role = 1 [(.google.api.field_behavior) = OPTIONAL];
getSerializedSize()
public
int
getSerializedSize
()
hasEventTime()
public
boolean
hasEventTime
()
Optional. Timestamp when the message was sent or received. Should not be used if the message is part of an example .
.google.protobuf.Timestamp event_time = 4 [(.google.api.field_behavior) = OPTIONAL];
hashCode()
public
int
hashCode
()
internalGetFieldAccessorTable()
protected
GeneratedMessage
.
FieldAccessorTable
internalGetFieldAccessorTable
()
isInitialized()
public
final
boolean
isInitialized
()
newBuilderForType()
public
Message
.
Builder
newBuilderForType
()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected
Message
.
Builder
newBuilderForType
(
AbstractMessage
.
BuilderParent
parent
)
toBuilder()
public
Message
.
Builder
toBuilder
()
writeTo(CodedOutputStream output)
public
void
writeTo
(
CodedOutputStream
output
)

