public static final class TranscriptNormalization.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<TranscriptNormalization.Builder> implements TranscriptNormalizationOrBuilder
Transcription normalization configuration. Use transcription normalization to automatically replace parts of the transcript with phrases of your choosing. For StreamingRecognize, this normalization only applies to stable partial transcripts (stability > 0.8) and final transcripts.Protobuf type
google.cloud.speech.v1p1beta1.TranscriptNormalizationgetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<TranscriptNormalization.Builder>public TranscriptNormalization.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<TranscriptNormalization.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<TranscriptNormalization.Builder>public TranscriptNormalization getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic TranscriptNormalization build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic TranscriptNormalization buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic TranscriptNormalization.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<TranscriptNormalization.Builder>public TranscriptNormalization.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<TranscriptNormalization.Builder>public TranscriptNormalization.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<TranscriptNormalization.Builder>public TranscriptNormalization.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<TranscriptNormalization.Builder>public TranscriptNormalization.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<TranscriptNormalization.Builder>public TranscriptNormalization.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<TranscriptNormalization.Builder>public TranscriptNormalization.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<TranscriptNormalization.Builder>public TranscriptNormalization.Builder mergeFrom(TranscriptNormalization other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<TranscriptNormalization.Builder>public TranscriptNormalization.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<TranscriptNormalization.Builder>IOExceptionpublic List<TranscriptNormalization.Entry> getEntriesList()
A list of replacement entries. We will perform replacement with one entry at a time. For example, the second entry in ["cat" => "dog", "mountain cat" => "mountain dog"] will never be applied because we will always process the first entry before it. At most 100 entries.
repeated .google.cloud.speech.v1p1beta1.TranscriptNormalization.Entry entries = 1;
getEntriesList in interface TranscriptNormalizationOrBuilderpublic int getEntriesCount()
A list of replacement entries. We will perform replacement with one entry at a time. For example, the second entry in ["cat" => "dog", "mountain cat" => "mountain dog"] will never be applied because we will always process the first entry before it. At most 100 entries.
repeated .google.cloud.speech.v1p1beta1.TranscriptNormalization.Entry entries = 1;
getEntriesCount in interface TranscriptNormalizationOrBuilderpublic TranscriptNormalization.Entry getEntries(int index)
A list of replacement entries. We will perform replacement with one entry at a time. For example, the second entry in ["cat" => "dog", "mountain cat" => "mountain dog"] will never be applied because we will always process the first entry before it. At most 100 entries.
repeated .google.cloud.speech.v1p1beta1.TranscriptNormalization.Entry entries = 1;
getEntries in interface TranscriptNormalizationOrBuilderpublic TranscriptNormalization.Builder setEntries(int index, TranscriptNormalization.Entry value)
A list of replacement entries. We will perform replacement with one entry at a time. For example, the second entry in ["cat" => "dog", "mountain cat" => "mountain dog"] will never be applied because we will always process the first entry before it. At most 100 entries.
repeated .google.cloud.speech.v1p1beta1.TranscriptNormalization.Entry entries = 1;
public TranscriptNormalization.Builder setEntries(int index, TranscriptNormalization.Entry.Builder builderForValue)
A list of replacement entries. We will perform replacement with one entry at a time. For example, the second entry in ["cat" => "dog", "mountain cat" => "mountain dog"] will never be applied because we will always process the first entry before it. At most 100 entries.
repeated .google.cloud.speech.v1p1beta1.TranscriptNormalization.Entry entries = 1;
public TranscriptNormalization.Builder addEntries(TranscriptNormalization.Entry value)
A list of replacement entries. We will perform replacement with one entry at a time. For example, the second entry in ["cat" => "dog", "mountain cat" => "mountain dog"] will never be applied because we will always process the first entry before it. At most 100 entries.
repeated .google.cloud.speech.v1p1beta1.TranscriptNormalization.Entry entries = 1;
public TranscriptNormalization.Builder addEntries(int index, TranscriptNormalization.Entry value)
A list of replacement entries. We will perform replacement with one entry at a time. For example, the second entry in ["cat" => "dog", "mountain cat" => "mountain dog"] will never be applied because we will always process the first entry before it. At most 100 entries.
repeated .google.cloud.speech.v1p1beta1.TranscriptNormalization.Entry entries = 1;
public TranscriptNormalization.Builder addEntries(TranscriptNormalization.Entry.Builder builderForValue)
A list of replacement entries. We will perform replacement with one entry at a time. For example, the second entry in ["cat" => "dog", "mountain cat" => "mountain dog"] will never be applied because we will always process the first entry before it. At most 100 entries.
repeated .google.cloud.speech.v1p1beta1.TranscriptNormalization.Entry entries = 1;
public TranscriptNormalization.Builder addEntries(int index, TranscriptNormalization.Entry.Builder builderForValue)
A list of replacement entries. We will perform replacement with one entry at a time. For example, the second entry in ["cat" => "dog", "mountain cat" => "mountain dog"] will never be applied because we will always process the first entry before it. At most 100 entries.
repeated .google.cloud.speech.v1p1beta1.TranscriptNormalization.Entry entries = 1;
public TranscriptNormalization.Builder addAllEntries(Iterable<? extends TranscriptNormalization.Entry> values)
A list of replacement entries. We will perform replacement with one entry at a time. For example, the second entry in ["cat" => "dog", "mountain cat" => "mountain dog"] will never be applied because we will always process the first entry before it. At most 100 entries.
repeated .google.cloud.speech.v1p1beta1.TranscriptNormalization.Entry entries = 1;
public TranscriptNormalization.Builder clearEntries()
A list of replacement entries. We will perform replacement with one entry at a time. For example, the second entry in ["cat" => "dog", "mountain cat" => "mountain dog"] will never be applied because we will always process the first entry before it. At most 100 entries.
repeated .google.cloud.speech.v1p1beta1.TranscriptNormalization.Entry entries = 1;
public TranscriptNormalization.Builder removeEntries(int index)
A list of replacement entries. We will perform replacement with one entry at a time. For example, the second entry in ["cat" => "dog", "mountain cat" => "mountain dog"] will never be applied because we will always process the first entry before it. At most 100 entries.
repeated .google.cloud.speech.v1p1beta1.TranscriptNormalization.Entry entries = 1;
public TranscriptNormalization.Entry.Builder getEntriesBuilder(int index)
A list of replacement entries. We will perform replacement with one entry at a time. For example, the second entry in ["cat" => "dog", "mountain cat" => "mountain dog"] will never be applied because we will always process the first entry before it. At most 100 entries.
repeated .google.cloud.speech.v1p1beta1.TranscriptNormalization.Entry entries = 1;
public TranscriptNormalization.EntryOrBuilder getEntriesOrBuilder(int index)
A list of replacement entries. We will perform replacement with one entry at a time. For example, the second entry in ["cat" => "dog", "mountain cat" => "mountain dog"] will never be applied because we will always process the first entry before it. At most 100 entries.
repeated .google.cloud.speech.v1p1beta1.TranscriptNormalization.Entry entries = 1;
getEntriesOrBuilder in interface TranscriptNormalizationOrBuilderpublic List<? extends TranscriptNormalization.EntryOrBuilder> getEntriesOrBuilderList()
A list of replacement entries. We will perform replacement with one entry at a time. For example, the second entry in ["cat" => "dog", "mountain cat" => "mountain dog"] will never be applied because we will always process the first entry before it. At most 100 entries.
repeated .google.cloud.speech.v1p1beta1.TranscriptNormalization.Entry entries = 1;
getEntriesOrBuilderList in interface TranscriptNormalizationOrBuilderpublic TranscriptNormalization.Entry.Builder addEntriesBuilder()
A list of replacement entries. We will perform replacement with one entry at a time. For example, the second entry in ["cat" => "dog", "mountain cat" => "mountain dog"] will never be applied because we will always process the first entry before it. At most 100 entries.
repeated .google.cloud.speech.v1p1beta1.TranscriptNormalization.Entry entries = 1;
public TranscriptNormalization.Entry.Builder addEntriesBuilder(int index)
A list of replacement entries. We will perform replacement with one entry at a time. For example, the second entry in ["cat" => "dog", "mountain cat" => "mountain dog"] will never be applied because we will always process the first entry before it. At most 100 entries.
repeated .google.cloud.speech.v1p1beta1.TranscriptNormalization.Entry entries = 1;
public List<TranscriptNormalization.Entry.Builder> getEntriesBuilderList()
A list of replacement entries. We will perform replacement with one entry at a time. For example, the second entry in ["cat" => "dog", "mountain cat" => "mountain dog"] will never be applied because we will always process the first entry before it. At most 100 entries.
repeated .google.cloud.speech.v1p1beta1.TranscriptNormalization.Entry entries = 1;
public final TranscriptNormalization.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<TranscriptNormalization.Builder>public final TranscriptNormalization.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<TranscriptNormalization.Builder>Copyright © 2024 Google LLC. All rights reserved.