Class Conversation.Transcript.TranscriptSegment.WordInfo (2.23.0)
Stay organized with collections
Save and categorize content based on your preferences.
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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
public static final int CONFIDENCE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int END_OFFSET_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int START_OFFSET_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int WORD_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
public static Conversation.Transcript.TranscriptSegment.WordInfo getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static Conversation.Transcript.TranscriptSegment.WordInfo.Builder newBuilder()
public static Conversation.Transcript.TranscriptSegment.WordInfo.Builder newBuilder(Conversation.Transcript.TranscriptSegment.WordInfo prototype)
public static Conversation.Transcript.TranscriptSegment.WordInfo parseDelimitedFrom(InputStream input)
public static Conversation.Transcript.TranscriptSegment.WordInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Conversation.Transcript.TranscriptSegment.WordInfo parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
public static Conversation.Transcript.TranscriptSegment.WordInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Conversation.Transcript.TranscriptSegment.WordInfo parseFrom(ByteString data)
public static Conversation.Transcript.TranscriptSegment.WordInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Conversation.Transcript.TranscriptSegment.WordInfo parseFrom(CodedInputStream input)
public static Conversation.Transcript.TranscriptSegment.WordInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Conversation.Transcript.TranscriptSegment.WordInfo parseFrom(InputStream input)
public static Conversation.Transcript.TranscriptSegment.WordInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Conversation.Transcript.TranscriptSegment.WordInfo parseFrom(ByteBuffer data)
public static Conversation.Transcript.TranscriptSegment.WordInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<Conversation.Transcript.TranscriptSegment.WordInfo> parser()
Methods
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
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()
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 |
---|
Type | Description |
Duration | The endOffset.
|
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;
public Parser<Conversation.Transcript.TranscriptSegment.WordInfo> getParserForType()
Overrides
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
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 |
---|
Type | Description |
Duration | The startOffset.
|
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;
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 |
---|
Type | Description |
ByteString | The bytes for word.
|
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 |
---|
Type | Description |
int | |
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public Conversation.Transcript.TranscriptSegment.WordInfo.Builder newBuilderForType()
protected Conversation.Transcript.TranscriptSegment.WordInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
public Conversation.Transcript.TranscriptSegment.WordInfo.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides
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 2024-10-01 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
{"lastModified": "Last updated 2024-10-01 UTC."}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-01 UTC."]]