Class Conversation.Transcript.TranscriptSegment.WordInfo.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.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.GeneratedMessage.Builder<Conversation.Transcript.TranscriptSegment.WordInfo.Builder>
implements Conversation.Transcript.TranscriptSegment.WordInfoOrBuilder
Word-level info for words in a transcript.Protobuf type
google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()A confidence estimate between 0.0 and 1.0 of the fidelity of this word.Time offset of the end of this word relative to the beginning of the total conversation.Time offset of the start of this word relative to the beginning of the total conversation.The word itself.floatA confidence estimate between 0.0 and 1.0 of the fidelity of this word.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.protobuf.DurationTime offset of the end of this word relative to the beginning of the total conversation.com.google.protobuf.Duration.BuilderTime offset of the end of this word relative to the beginning of the total conversation.com.google.protobuf.DurationOrBuilderTime offset of the end of this word relative to the beginning of the total conversation.com.google.protobuf.DurationTime offset of the start of this word relative to the beginning of the total conversation.com.google.protobuf.Duration.BuilderTime offset of the start of this word relative to the beginning of the total conversation.com.google.protobuf.DurationOrBuilderTime offset of the start of this word relative to the beginning of the total conversation.getWord()The word itself.com.google.protobuf.ByteStringThe word itself.booleanTime offset of the end of this word relative to the beginning of the total conversation.booleanTime offset of the start of this word relative to the beginning of the total conversation.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeEndOffset(com.google.protobuf.Duration value) Time offset of the end of this word relative to the beginning of the total conversation.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeStartOffset(com.google.protobuf.Duration value) Time offset of the start of this word relative to the beginning of the total conversation.setConfidence(float value) A confidence estimate between 0.0 and 1.0 of the fidelity of this word.setEndOffset(com.google.protobuf.Duration value) Time offset of the end of this word relative to the beginning of the total conversation.setEndOffset(com.google.protobuf.Duration.Builder builderForValue) Time offset of the end of this word relative to the beginning of the total conversation.setStartOffset(com.google.protobuf.Duration value) Time offset of the start of this word relative to the beginning of the total conversation.setStartOffset(com.google.protobuf.Duration.Builder builderForValue) Time offset of the start of this word relative to the beginning of the total conversation.The word itself.setWordBytes(com.google.protobuf.ByteString value) The word itself.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<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.GeneratedMessage.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.GeneratedMessage.Builder<Conversation.Transcript.TranscriptSegment.WordInfo.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.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
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.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
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
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
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
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
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
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
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.
-