public static final class Conversation.Transcript.TranscriptSegment.WordInfo extends GeneratedMessageV3 implements Conversation.Transcript.TranscriptSegment.WordInfoOrBuilder
Word-level info for words in a transcript.
Protobuf type
google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo
Static Fields
public static final int CONFIDENCE_FIELD_NUMBER
Field Value
public static final int END_OFFSET_FIELD_NUMBER
Field Value
public static final int START_OFFSET_FIELD_NUMBER
Field Value
public static final int WORD_FIELD_NUMBER
Field Value
Static Methods
public static Conversation.Transcript.TranscriptSegment.WordInfo getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static Conversation.Transcript.TranscriptSegment.WordInfo.Builder newBuilder()
Returns
public static Conversation.Transcript.TranscriptSegment.WordInfo.Builder newBuilder(Conversation.Transcript.TranscriptSegment.WordInfo prototype)
Parameter
Returns
public static Conversation.Transcript.TranscriptSegment.WordInfo parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Conversation.Transcript.TranscriptSegment.WordInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Conversation.Transcript.TranscriptSegment.WordInfo parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static Conversation.Transcript.TranscriptSegment.WordInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Conversation.Transcript.TranscriptSegment.WordInfo parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static Conversation.Transcript.TranscriptSegment.WordInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Conversation.Transcript.TranscriptSegment.WordInfo parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Conversation.Transcript.TranscriptSegment.WordInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Conversation.Transcript.TranscriptSegment.WordInfo parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Conversation.Transcript.TranscriptSegment.WordInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Conversation.Transcript.TranscriptSegment.WordInfo parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static Conversation.Transcript.TranscriptSegment.WordInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<Conversation.Transcript.TranscriptSegment.WordInfo> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public float getConfidence()
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.
|
public Conversation.Transcript.TranscriptSegment.WordInfo getDefaultInstanceForType()
Returns
public Duration getEndOffset()
Time offset of the end of this word relative to the beginning of the
total conversation.
.google.protobuf.Duration end_offset = 2;
Returns
public DurationOrBuilder getEndOffsetOrBuilder()
Time offset of the end of this word relative to the beginning of the
total conversation.
.google.protobuf.Duration end_offset = 2;
Returns
public Parser<Conversation.Transcript.TranscriptSegment.WordInfo> getParserForType()
Returns
Overrides
public int getSerializedSize()
Returns
Overrides
public Duration getStartOffset()
Time offset of the start of this word relative to the beginning of
the total conversation.
.google.protobuf.Duration start_offset = 1;
Returns
public DurationOrBuilder getStartOffsetOrBuilder()
Time offset of the start of this word relative to the beginning of
the total conversation.
.google.protobuf.Duration start_offset = 1;
Returns
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
The word itself. Includes punctuation marks that surround the word.
string word = 3;
Returns
Type | Description |
String | The word.
|
public ByteString getWordBytes()
The word itself. Includes punctuation marks that surround the word.
string word = 3;
Returns
public boolean hasEndOffset()
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.
|
public boolean hasStartOffset()
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.
|
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public Conversation.Transcript.TranscriptSegment.WordInfo.Builder newBuilderForType()
Returns
protected Conversation.Transcript.TranscriptSegment.WordInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public Conversation.Transcript.TranscriptSegment.WordInfo.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions