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)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
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