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.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Conversation.Transcript.TranscriptSegment.WordInfobuild()Conversation.Transcript.TranscriptSegment.WordInfobuildPartial()Conversation.Transcript.TranscriptSegment.WordInfo.Builderclear()Conversation.Transcript.TranscriptSegment.WordInfo.BuilderclearConfidence()A confidence estimate between 0.0 and 1.0 of the fidelity of this word.Conversation.Transcript.TranscriptSegment.WordInfo.BuilderclearEndOffset()Time offset of the end of this word relative to the beginning of the total conversation.Conversation.Transcript.TranscriptSegment.WordInfo.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Conversation.Transcript.TranscriptSegment.WordInfo.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Conversation.Transcript.TranscriptSegment.WordInfo.BuilderclearStartOffset()Time offset of the start of this word relative to the beginning of the total conversation.Conversation.Transcript.TranscriptSegment.WordInfo.BuilderclearWord()The word itself.Conversation.Transcript.TranscriptSegment.WordInfo.Builderclone()floatgetConfidence()A confidence estimate between 0.0 and 1.0 of the fidelity of this word.Conversation.Transcript.TranscriptSegment.WordInfogetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()com.google.protobuf.DurationgetEndOffset()Time offset of the end of this word relative to the beginning of the total conversation.com.google.protobuf.Duration.BuildergetEndOffsetBuilder()Time offset of the end of this word relative to the beginning of the total conversation.com.google.protobuf.DurationOrBuildergetEndOffsetOrBuilder()Time offset of the end of this word relative to the beginning of the total conversation.com.google.protobuf.DurationgetStartOffset()Time offset of the start of this word relative to the beginning of the total conversation.com.google.protobuf.Duration.BuildergetStartOffsetBuilder()Time offset of the start of this word relative to the beginning of the total conversation.com.google.protobuf.DurationOrBuildergetStartOffsetOrBuilder()Time offset of the start of this word relative to the beginning of the total conversation.StringgetWord()The word itself.com.google.protobuf.ByteStringgetWordBytes()The word itself.booleanhasEndOffset()Time offset of the end of this word relative to the beginning of the total conversation.booleanhasStartOffset()Time offset of the start of this word relative to the beginning of the total conversation.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Conversation.Transcript.TranscriptSegment.WordInfo.BuildermergeEndOffset(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.BuildermergeFrom(Conversation.Transcript.TranscriptSegment.WordInfo other)Conversation.Transcript.TranscriptSegment.WordInfo.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Conversation.Transcript.TranscriptSegment.WordInfo.BuildermergeFrom(com.google.protobuf.Message other)Conversation.Transcript.TranscriptSegment.WordInfo.BuildermergeStartOffset(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.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Conversation.Transcript.TranscriptSegment.WordInfo.BuildersetConfidence(float value)A confidence estimate between 0.0 and 1.0 of the fidelity of this word.Conversation.Transcript.TranscriptSegment.WordInfo.BuildersetEndOffset(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.BuildersetEndOffset(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.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Conversation.Transcript.TranscriptSegment.WordInfo.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Conversation.Transcript.TranscriptSegment.WordInfo.BuildersetStartOffset(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.BuildersetStartOffset(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.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Conversation.Transcript.TranscriptSegment.WordInfo.BuildersetWord(String value)The word itself.Conversation.Transcript.TranscriptSegment.WordInfo.BuildersetWordBytes(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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Conversation.Transcript.TranscriptSegment.WordInfo.Builder>
-
clear
public Conversation.Transcript.TranscriptSegment.WordInfo.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Conversation.Transcript.TranscriptSegment.WordInfo.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Conversation.Transcript.TranscriptSegment.WordInfo.Builder>
-
getDefaultInstanceForType
public Conversation.Transcript.TranscriptSegment.WordInfo getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Conversation.Transcript.TranscriptSegment.WordInfo build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Conversation.Transcript.TranscriptSegment.WordInfo buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Conversation.Transcript.TranscriptSegment.WordInfo.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein 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:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin 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:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin 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:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin 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:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin 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:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin 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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin 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:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin 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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin 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:
hasStartOffsetin 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:
getStartOffsetin 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:
getStartOffsetOrBuilderin 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:
hasEndOffsetin 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:
getEndOffsetin 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:
getEndOffsetOrBuilderin interfaceConversation.Transcript.TranscriptSegment.WordInfoOrBuilder
-
getWord
public String getWord()
The word itself. Includes punctuation marks that surround the word.
string word = 3;- Specified by:
getWordin 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:
getWordBytesin 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:
getConfidencein 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:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin 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:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Conversation.Transcript.TranscriptSegment.WordInfo.Builder>
-
-