Class Conversation.Transcript.TranscriptSegment.WordInfo.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Conversation.Transcript.TranscriptSegment.WordInfo.Builder>
-
- com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo.Builder
-
- All Implemented Interfaces:
Conversation.Transcript.TranscriptSegment.WordInfoOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- Conversation.Transcript.TranscriptSegment.WordInfo
public static final class Conversation.Transcript.TranscriptSegment.WordInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Conversation.Transcript.TranscriptSegment.WordInfo.Builder> implements Conversation.Transcript.TranscriptSegment.WordInfoOrBuilder
Word-level info for words in a transcript.
Protobuf typegoogle.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Conversation.Transcript.TranscriptSegment.WordInfo.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Conversation.Transcript.TranscriptSegment.WordInfo
build()
Conversation.Transcript.TranscriptSegment.WordInfo
buildPartial()
Conversation.Transcript.TranscriptSegment.WordInfo.Builder
clear()
Conversation.Transcript.TranscriptSegment.WordInfo.Builder
clearConfidence()
A confidence estimate between 0.0 and 1.0 of the fidelity of this word.Conversation.Transcript.TranscriptSegment.WordInfo.Builder
clearEndOffset()
Time offset of the end of this word relative to the beginning of the total conversation.Conversation.Transcript.TranscriptSegment.WordInfo.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Conversation.Transcript.TranscriptSegment.WordInfo.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Conversation.Transcript.TranscriptSegment.WordInfo.Builder
clearStartOffset()
Time offset of the start of this word relative to the beginning of the total conversation.Conversation.Transcript.TranscriptSegment.WordInfo.Builder
clearWord()
The word itself.Conversation.Transcript.TranscriptSegment.WordInfo.Builder
clone()
float
getConfidence()
A confidence estimate between 0.0 and 1.0 of the fidelity of this word.Conversation.Transcript.TranscriptSegment.WordInfo
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
com.google.protobuf.Duration
getEndOffset()
Time offset of the end of this word relative to the beginning of the total conversation.com.google.protobuf.Duration.Builder
getEndOffsetBuilder()
Time offset of the end of this word relative to the beginning of the total conversation.com.google.protobuf.DurationOrBuilder
getEndOffsetOrBuilder()
Time offset of the end of this word relative to the beginning of the total conversation.com.google.protobuf.Duration
getStartOffset()
Time offset of the start of this word relative to the beginning of the total conversation.com.google.protobuf.Duration.Builder
getStartOffsetBuilder()
Time offset of the start of this word relative to the beginning of the total conversation.com.google.protobuf.DurationOrBuilder
getStartOffsetOrBuilder()
Time offset of the start of this word relative to the beginning of the total conversation.String
getWord()
The word itself.com.google.protobuf.ByteString
getWordBytes()
The word itself.boolean
hasEndOffset()
Time offset of the end of this word relative to the beginning of the total conversation.boolean
hasStartOffset()
Time offset of the start of this word relative to the beginning of the total conversation.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Conversation.Transcript.TranscriptSegment.WordInfo.Builder
mergeEndOffset(com.google.protobuf.Duration value)
Time offset of the end of this word relative to the beginning of the total conversation.Conversation.Transcript.TranscriptSegment.WordInfo.Builder
mergeFrom(Conversation.Transcript.TranscriptSegment.WordInfo other)
Conversation.Transcript.TranscriptSegment.WordInfo.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Conversation.Transcript.TranscriptSegment.WordInfo.Builder
mergeFrom(com.google.protobuf.Message other)
Conversation.Transcript.TranscriptSegment.WordInfo.Builder
mergeStartOffset(com.google.protobuf.Duration value)
Time offset of the start of this word relative to the beginning of the total conversation.Conversation.Transcript.TranscriptSegment.WordInfo.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Conversation.Transcript.TranscriptSegment.WordInfo.Builder
setConfidence(float value)
A confidence estimate between 0.0 and 1.0 of the fidelity of this word.Conversation.Transcript.TranscriptSegment.WordInfo.Builder
setEndOffset(com.google.protobuf.Duration value)
Time offset of the end of this word relative to the beginning of the total conversation.Conversation.Transcript.TranscriptSegment.WordInfo.Builder
setEndOffset(com.google.protobuf.Duration.Builder builderForValue)
Time offset of the end of this word relative to the beginning of the total conversation.Conversation.Transcript.TranscriptSegment.WordInfo.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Conversation.Transcript.TranscriptSegment.WordInfo.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
Conversation.Transcript.TranscriptSegment.WordInfo.Builder
setStartOffset(com.google.protobuf.Duration value)
Time offset of the start of this word relative to the beginning of the total conversation.Conversation.Transcript.TranscriptSegment.WordInfo.Builder
setStartOffset(com.google.protobuf.Duration.Builder builderForValue)
Time offset of the start of this word relative to the beginning of the total conversation.Conversation.Transcript.TranscriptSegment.WordInfo.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Conversation.Transcript.TranscriptSegment.WordInfo.Builder
setWord(String value)
The word itself.Conversation.Transcript.TranscriptSegment.WordInfo.Builder
setWordBytes(com.google.protobuf.ByteString value)
The word itself.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Conversation.Transcript.TranscriptSegment.WordInfo.Builder>
-
clear
public Conversation.Transcript.TranscriptSegment.WordInfo.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Conversation.Transcript.TranscriptSegment.WordInfo.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Conversation.Transcript.TranscriptSegment.WordInfo.Builder>
-
getDefaultInstanceForType
public Conversation.Transcript.TranscriptSegment.WordInfo getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Conversation.Transcript.TranscriptSegment.WordInfo build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Conversation.Transcript.TranscriptSegment.WordInfo buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Conversation.Transcript.TranscriptSegment.WordInfo.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Conversation.Transcript.TranscriptSegment.WordInfo.Builder>
-
setField
public Conversation.Transcript.TranscriptSegment.WordInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Conversation.Transcript.TranscriptSegment.WordInfo.Builder>
-
clearField
public Conversation.Transcript.TranscriptSegment.WordInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Conversation.Transcript.TranscriptSegment.WordInfo.Builder>
-
clearOneof
public Conversation.Transcript.TranscriptSegment.WordInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Conversation.Transcript.TranscriptSegment.WordInfo.Builder>
-
setRepeatedField
public Conversation.Transcript.TranscriptSegment.WordInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Conversation.Transcript.TranscriptSegment.WordInfo.Builder>
-
addRepeatedField
public Conversation.Transcript.TranscriptSegment.WordInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Conversation.Transcript.TranscriptSegment.WordInfo.Builder>
-
mergeFrom
public Conversation.Transcript.TranscriptSegment.WordInfo.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Conversation.Transcript.TranscriptSegment.WordInfo.Builder>
-
mergeFrom
public Conversation.Transcript.TranscriptSegment.WordInfo.Builder mergeFrom(Conversation.Transcript.TranscriptSegment.WordInfo other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Conversation.Transcript.TranscriptSegment.WordInfo.Builder>
-
mergeFrom
public Conversation.Transcript.TranscriptSegment.WordInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Conversation.Transcript.TranscriptSegment.WordInfo.Builder>
- Throws:
IOException
-
hasStartOffset
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;
- Specified by:
hasStartOffset
in interfaceConversation.Transcript.TranscriptSegment.WordInfoOrBuilder
- Returns:
- Whether the startOffset field is set.
-
getStartOffset
public com.google.protobuf.Duration getStartOffset()
Time offset of the start of this word relative to the beginning of the total conversation.
.google.protobuf.Duration start_offset = 1;
- Specified by:
getStartOffset
in interfaceConversation.Transcript.TranscriptSegment.WordInfoOrBuilder
- Returns:
- The startOffset.
-
setStartOffset
public Conversation.Transcript.TranscriptSegment.WordInfo.Builder setStartOffset(com.google.protobuf.Duration value)
Time offset of the start of this word relative to the beginning of the total conversation.
.google.protobuf.Duration start_offset = 1;
-
setStartOffset
public Conversation.Transcript.TranscriptSegment.WordInfo.Builder setStartOffset(com.google.protobuf.Duration.Builder builderForValue)
Time offset of the start of this word relative to the beginning of the total conversation.
.google.protobuf.Duration start_offset = 1;
-
mergeStartOffset
public Conversation.Transcript.TranscriptSegment.WordInfo.Builder mergeStartOffset(com.google.protobuf.Duration value)
Time offset of the start of this word relative to the beginning of the total conversation.
.google.protobuf.Duration start_offset = 1;
-
clearStartOffset
public Conversation.Transcript.TranscriptSegment.WordInfo.Builder clearStartOffset()
Time offset of the start of this word relative to the beginning of the total conversation.
.google.protobuf.Duration start_offset = 1;
-
getStartOffsetBuilder
public com.google.protobuf.Duration.Builder getStartOffsetBuilder()
Time offset of the start of this word relative to the beginning of the total conversation.
.google.protobuf.Duration start_offset = 1;
-
getStartOffsetOrBuilder
public com.google.protobuf.DurationOrBuilder getStartOffsetOrBuilder()
Time offset of the start of this word relative to the beginning of the total conversation.
.google.protobuf.Duration start_offset = 1;
- Specified by:
getStartOffsetOrBuilder
in interfaceConversation.Transcript.TranscriptSegment.WordInfoOrBuilder
-
hasEndOffset
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;
- Specified by:
hasEndOffset
in interfaceConversation.Transcript.TranscriptSegment.WordInfoOrBuilder
- Returns:
- Whether the endOffset field is set.
-
getEndOffset
public com.google.protobuf.Duration getEndOffset()
Time offset of the end of this word relative to the beginning of the total conversation.
.google.protobuf.Duration end_offset = 2;
- Specified by:
getEndOffset
in interfaceConversation.Transcript.TranscriptSegment.WordInfoOrBuilder
- Returns:
- The endOffset.
-
setEndOffset
public Conversation.Transcript.TranscriptSegment.WordInfo.Builder setEndOffset(com.google.protobuf.Duration value)
Time offset of the end of this word relative to the beginning of the total conversation.
.google.protobuf.Duration end_offset = 2;
-
setEndOffset
public Conversation.Transcript.TranscriptSegment.WordInfo.Builder setEndOffset(com.google.protobuf.Duration.Builder builderForValue)
Time offset of the end of this word relative to the beginning of the total conversation.
.google.protobuf.Duration end_offset = 2;
-
mergeEndOffset
public Conversation.Transcript.TranscriptSegment.WordInfo.Builder mergeEndOffset(com.google.protobuf.Duration value)
Time offset of the end of this word relative to the beginning of the total conversation.
.google.protobuf.Duration end_offset = 2;
-
clearEndOffset
public Conversation.Transcript.TranscriptSegment.WordInfo.Builder clearEndOffset()
Time offset of the end of this word relative to the beginning of the total conversation.
.google.protobuf.Duration end_offset = 2;
-
getEndOffsetBuilder
public com.google.protobuf.Duration.Builder getEndOffsetBuilder()
Time offset of the end of this word relative to the beginning of the total conversation.
.google.protobuf.Duration end_offset = 2;
-
getEndOffsetOrBuilder
public com.google.protobuf.DurationOrBuilder getEndOffsetOrBuilder()
Time offset of the end of this word relative to the beginning of the total conversation.
.google.protobuf.Duration end_offset = 2;
- Specified by:
getEndOffsetOrBuilder
in interfaceConversation.Transcript.TranscriptSegment.WordInfoOrBuilder
-
getWord
public String getWord()
The word itself. Includes punctuation marks that surround the word.
string word = 3;
- Specified by:
getWord
in interfaceConversation.Transcript.TranscriptSegment.WordInfoOrBuilder
- Returns:
- The word.
-
getWordBytes
public com.google.protobuf.ByteString getWordBytes()
The word itself. Includes punctuation marks that surround the word.
string word = 3;
- Specified by:
getWordBytes
in interfaceConversation.Transcript.TranscriptSegment.WordInfoOrBuilder
- Returns:
- The bytes for word.
-
setWord
public Conversation.Transcript.TranscriptSegment.WordInfo.Builder setWord(String value)
The word itself. Includes punctuation marks that surround the word.
string word = 3;
- Parameters:
value
- The word to set.- Returns:
- This builder for chaining.
-
clearWord
public Conversation.Transcript.TranscriptSegment.WordInfo.Builder clearWord()
The word itself. Includes punctuation marks that surround the word.
string word = 3;
- Returns:
- This builder for chaining.
-
setWordBytes
public Conversation.Transcript.TranscriptSegment.WordInfo.Builder setWordBytes(com.google.protobuf.ByteString value)
The word itself. Includes punctuation marks that surround the word.
string word = 3;
- Parameters:
value
- The bytes for word to set.- Returns:
- This builder for chaining.
-
getConfidence
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;
- Specified by:
getConfidence
in interfaceConversation.Transcript.TranscriptSegment.WordInfoOrBuilder
- Returns:
- The confidence.
-
setConfidence
public Conversation.Transcript.TranscriptSegment.WordInfo.Builder setConfidence(float value)
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;
- Parameters:
value
- The confidence to set.- Returns:
- This builder for chaining.
-
clearConfidence
public Conversation.Transcript.TranscriptSegment.WordInfo.Builder clearConfidence()
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:
- This builder for chaining.
-
setUnknownFields
public final Conversation.Transcript.TranscriptSegment.WordInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Conversation.Transcript.TranscriptSegment.WordInfo.Builder>
-
mergeUnknownFields
public final Conversation.Transcript.TranscriptSegment.WordInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Conversation.Transcript.TranscriptSegment.WordInfo.Builder>
-
-