Class Conversation.Transcript.TranscriptSegment.WordInfo (2.14.0)

publicstaticfinalclass Conversation.Transcript.TranscriptSegment.WordInfoextendsGeneratedMessageV3implementsConversation.Transcript.TranscriptSegment.WordInfoOrBuilder

Word-level info for words in a transcript.

Protobuf type google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > Conversation.Transcript.TranscriptSegment.WordInfo

Inherited Members

Static Fields

CONFIDENCE_FIELD_NUMBER

publicstaticfinalintCONFIDENCE_FIELD_NUMBER
Field Value
Type Description
int

END_OFFSET_FIELD_NUMBER

publicstaticfinalintEND_OFFSET_FIELD_NUMBER
Field Value
Type Description
int

START_OFFSET_FIELD_NUMBER

publicstaticfinalintSTART_OFFSET_FIELD_NUMBER
Field Value
Type Description
int

WORD_FIELD_NUMBER

publicstaticfinalintWORD_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

publicstaticConversation.Transcript.TranscriptSegment.WordInfogetDefaultInstance()
Returns
Type Description
Conversation.Transcript.TranscriptSegment.WordInfo

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

newBuilder()

publicstaticConversation.Transcript.TranscriptSegment.WordInfo.BuildernewBuilder()
Returns
Type Description
Conversation.Transcript.TranscriptSegment.WordInfo.Builder

newBuilder(Conversation.Transcript.TranscriptSegment.WordInfo prototype)

publicstaticConversation.Transcript.TranscriptSegment.WordInfo.BuildernewBuilder(Conversation.Transcript.TranscriptSegment.WordInfoprototype)
Parameter
Name Description
prototype Conversation.Transcript.TranscriptSegment.WordInfo
Returns
Type Description
Conversation.Transcript.TranscriptSegment.WordInfo.Builder

parseDelimitedFrom(InputStream input)

publicstaticConversation.Transcript.TranscriptSegment.WordInfoparseDelimitedFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
Conversation.Transcript.TranscriptSegment.WordInfo
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticConversation.Transcript.TranscriptSegment.WordInfoparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Conversation.Transcript.TranscriptSegment.WordInfo
Exceptions
Type Description
IOException

parseFrom(byte[] data)

publicstaticConversation.Transcript.TranscriptSegment.WordInfoparseFrom(byte[]data)
Parameter
Name Description
data byte[]
Returns
Type Description
Conversation.Transcript.TranscriptSegment.WordInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

publicstaticConversation.Transcript.TranscriptSegment.WordInfoparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Conversation.Transcript.TranscriptSegment.WordInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

publicstaticConversation.Transcript.TranscriptSegment.WordInfoparseFrom(ByteStringdata)
Parameter
Name Description
data ByteString
Returns
Type Description
Conversation.Transcript.TranscriptSegment.WordInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

publicstaticConversation.Transcript.TranscriptSegment.WordInfoparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Conversation.Transcript.TranscriptSegment.WordInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

publicstaticConversation.Transcript.TranscriptSegment.WordInfoparseFrom(CodedInputStreaminput)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Conversation.Transcript.TranscriptSegment.WordInfo
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticConversation.Transcript.TranscriptSegment.WordInfoparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Conversation.Transcript.TranscriptSegment.WordInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input)

publicstaticConversation.Transcript.TranscriptSegment.WordInfoparseFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
Conversation.Transcript.TranscriptSegment.WordInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticConversation.Transcript.TranscriptSegment.WordInfoparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Conversation.Transcript.TranscriptSegment.WordInfo
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

publicstaticConversation.Transcript.TranscriptSegment.WordInfoparseFrom(ByteBufferdata)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Conversation.Transcript.TranscriptSegment.WordInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

publicstaticConversation.Transcript.TranscriptSegment.WordInfoparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Conversation.Transcript.TranscriptSegment.WordInfo
Exceptions
Type Description
InvalidProtocolBufferException

parser()

publicstaticParser<Conversation.Transcript.TranscriptSegment.WordInfo>parser()
Returns
Type Description
Parser<WordInfo>

Methods

equals(Object obj)

publicbooleanequals(Objectobj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getConfidence()

publicfloatgetConfidence()

A confidence estimate between 0.0 and 1.0 of the fidelity of this word. A default value of 0.0 indicates that the value is unset.

float confidence = 4;

Returns
Type Description
float

The confidence.

getDefaultInstanceForType()

publicConversation.Transcript.TranscriptSegment.WordInfogetDefaultInstanceForType()
Returns
Type Description
Conversation.Transcript.TranscriptSegment.WordInfo

getEndOffset()

publicDurationgetEndOffset()

Time offset of the end of this word relative to the beginning of the total conversation.

.google.protobuf.Duration end_offset = 2;

Returns
Type Description
Duration

The endOffset.

getEndOffsetOrBuilder()

publicDurationOrBuildergetEndOffsetOrBuilder()

Time offset of the end of this word relative to the beginning of the total conversation.

.google.protobuf.Duration end_offset = 2;

Returns
Type Description
DurationOrBuilder

getParserForType()

publicParser<Conversation.Transcript.TranscriptSegment.WordInfo>getParserForType()
Returns
Type Description
Parser<WordInfo>
Overrides

getSerializedSize()

publicintgetSerializedSize()
Returns
Type Description
int
Overrides

getStartOffset()

publicDurationgetStartOffset()

Time offset of the start of this word relative to the beginning of the total conversation.

.google.protobuf.Duration start_offset = 1;

Returns
Type Description
Duration

The startOffset.

getStartOffsetOrBuilder()

publicDurationOrBuildergetStartOffsetOrBuilder()

Time offset of the start of this word relative to the beginning of the total conversation.

.google.protobuf.Duration start_offset = 1;

Returns
Type Description
DurationOrBuilder

getUnknownFields()

publicfinalUnknownFieldSetgetUnknownFields()
Returns
Type Description
UnknownFieldSet
Overrides

getWord()

publicStringgetWord()

The word itself. Includes punctuation marks that surround the word.

string word = 3;

Returns
Type Description
String

The word.

getWordBytes()

publicByteStringgetWordBytes()

The word itself. Includes punctuation marks that surround the word.

string word = 3;

Returns
Type Description
ByteString

The bytes for word.

hasEndOffset()

publicbooleanhasEndOffset()

Time offset of the end of this word relative to the beginning of the total conversation.

.google.protobuf.Duration end_offset = 2;

Returns
Type Description
boolean

Whether the endOffset field is set.

hasStartOffset()

publicbooleanhasStartOffset()

Time offset of the start of this word relative to the beginning of the total conversation.

.google.protobuf.Duration start_offset = 1;

Returns
Type Description
boolean

Whether the startOffset field is set.

hashCode()

publicinthashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

publicConversation.Transcript.TranscriptSegment.WordInfo.BuildernewBuilderForType()
Returns
Type Description
Conversation.Transcript.TranscriptSegment.WordInfo.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protectedConversation.Transcript.TranscriptSegment.WordInfo.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Conversation.Transcript.TranscriptSegment.WordInfo.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

publicConversation.Transcript.TranscriptSegment.WordInfo.BuildertoBuilder()
Returns
Type Description
Conversation.Transcript.TranscriptSegment.WordInfo.Builder

writeTo(CodedOutputStream output)

publicvoidwriteTo(CodedOutputStreamoutput)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException

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年11月19日 UTC.