Class TranscriptNormalization.Entry.Builder (3.0.0)

public static final class TranscriptNormalization.Entry.Builder extends GeneratedMessageV3.Builder<TranscriptNormalization.Entry.Builder> implements TranscriptNormalization.EntryOrBuilder

A single replacement configuration.

Protobuf type google.cloud.speech.v1p1beta1.TranscriptNormalization.Entry

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public TranscriptNormalization.Entry.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
TranscriptNormalization.Entry.Builder
Overrides

build()

public TranscriptNormalization.Entry build()
Returns
TypeDescription
TranscriptNormalization.Entry

buildPartial()

public TranscriptNormalization.Entry buildPartial()
Returns
TypeDescription
TranscriptNormalization.Entry

clear()

public TranscriptNormalization.Entry.Builder clear()
Returns
TypeDescription
TranscriptNormalization.Entry.Builder
Overrides

clearCaseSensitive()

public TranscriptNormalization.Entry.Builder clearCaseSensitive()

Whether the search is case sensitive.

bool case_sensitive = 3;

Returns
TypeDescription
TranscriptNormalization.Entry.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public TranscriptNormalization.Entry.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
TranscriptNormalization.Entry.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public TranscriptNormalization.Entry.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
TranscriptNormalization.Entry.Builder
Overrides

clearReplace()

public TranscriptNormalization.Entry.Builder clearReplace()

What to replace with. Max length is 100 characters.

string replace = 2;

Returns
TypeDescription
TranscriptNormalization.Entry.Builder

This builder for chaining.

clearSearch()

public TranscriptNormalization.Entry.Builder clearSearch()

What to replace. Max length is 100 characters.

string search = 1;

Returns
TypeDescription
TranscriptNormalization.Entry.Builder

This builder for chaining.

clone()

public TranscriptNormalization.Entry.Builder clone()
Returns
TypeDescription
TranscriptNormalization.Entry.Builder
Overrides

getCaseSensitive()

public boolean getCaseSensitive()

Whether the search is case sensitive.

bool case_sensitive = 3;

Returns
TypeDescription
boolean

The caseSensitive.

getDefaultInstanceForType()

public TranscriptNormalization.Entry getDefaultInstanceForType()
Returns
TypeDescription
TranscriptNormalization.Entry

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getReplace()

public String getReplace()

What to replace with. Max length is 100 characters.

string replace = 2;

Returns
TypeDescription
String

The replace.

getReplaceBytes()

public ByteString getReplaceBytes()

What to replace with. Max length is 100 characters.

string replace = 2;

Returns
TypeDescription
ByteString

The bytes for replace.

getSearch()

public String getSearch()

What to replace. Max length is 100 characters.

string search = 1;

Returns
TypeDescription
String

The search.

getSearchBytes()

public ByteString getSearchBytes()

What to replace. Max length is 100 characters.

string search = 1;

Returns
TypeDescription
ByteString

The bytes for search.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(TranscriptNormalization.Entry other)

public TranscriptNormalization.Entry.Builder mergeFrom(TranscriptNormalization.Entry other)
Parameter
NameDescription
otherTranscriptNormalization.Entry
Returns
TypeDescription
TranscriptNormalization.Entry.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public TranscriptNormalization.Entry.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TranscriptNormalization.Entry.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public TranscriptNormalization.Entry.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
TranscriptNormalization.Entry.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final TranscriptNormalization.Entry.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
TranscriptNormalization.Entry.Builder
Overrides

setCaseSensitive(boolean value)

public TranscriptNormalization.Entry.Builder setCaseSensitive(boolean value)

Whether the search is case sensitive.

bool case_sensitive = 3;

Parameter
NameDescription
valueboolean

The caseSensitive to set.

Returns
TypeDescription
TranscriptNormalization.Entry.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public TranscriptNormalization.Entry.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
TranscriptNormalization.Entry.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public TranscriptNormalization.Entry.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
TranscriptNormalization.Entry.Builder
Overrides

setReplace(String value)

public TranscriptNormalization.Entry.Builder setReplace(String value)

What to replace with. Max length is 100 characters.

string replace = 2;

Parameter
NameDescription
valueString

The replace to set.

Returns
TypeDescription
TranscriptNormalization.Entry.Builder

This builder for chaining.

setReplaceBytes(ByteString value)

public TranscriptNormalization.Entry.Builder setReplaceBytes(ByteString value)

What to replace with. Max length is 100 characters.

string replace = 2;

Parameter
NameDescription
valueByteString

The bytes for replace to set.

Returns
TypeDescription
TranscriptNormalization.Entry.Builder

This builder for chaining.

setSearch(String value)

public TranscriptNormalization.Entry.Builder setSearch(String value)

What to replace. Max length is 100 characters.

string search = 1;

Parameter
NameDescription
valueString

The search to set.

Returns
TypeDescription
TranscriptNormalization.Entry.Builder

This builder for chaining.

setSearchBytes(ByteString value)

public TranscriptNormalization.Entry.Builder setSearchBytes(ByteString value)

What to replace. Max length is 100 characters.

string search = 1;

Parameter
NameDescription
valueByteString

The bytes for search to set.

Returns
TypeDescription
TranscriptNormalization.Entry.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final TranscriptNormalization.Entry.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
TranscriptNormalization.Entry.Builder
Overrides