Class TranscriptNormalization.Entry.Builder (4.49.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.v1.TranscriptNormalization.Entry

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public TranscriptNormalization.Entry.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
TranscriptNormalization.Entry.Builder
Overrides

build()

public TranscriptNormalization.Entry build()
Returns
Type Description
TranscriptNormalization.Entry

buildPartial()

public TranscriptNormalization.Entry buildPartial()
Returns
Type Description
TranscriptNormalization.Entry

clear()

public TranscriptNormalization.Entry.Builder clear()
Returns
Type Description
TranscriptNormalization.Entry.Builder
Overrides

clearCaseSensitive()

public TranscriptNormalization.Entry.Builder clearCaseSensitive()

Whether the search is case sensitive.

bool case_sensitive = 3;

Returns
Type Description
TranscriptNormalization.Entry.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public TranscriptNormalization.Entry.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
TranscriptNormalization.Entry.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public TranscriptNormalization.Entry.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
TranscriptNormalization.Entry.Builder
Overrides

clearReplace()

public TranscriptNormalization.Entry.Builder clearReplace()

What to replace with. Max length is 100 characters.

string replace = 2;

Returns
Type Description
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
Type Description
TranscriptNormalization.Entry.Builder

This builder for chaining.

clone()

public TranscriptNormalization.Entry.Builder clone()
Returns
Type Description
TranscriptNormalization.Entry.Builder
Overrides

getCaseSensitive()

public boolean getCaseSensitive()

Whether the search is case sensitive.

bool case_sensitive = 3;

Returns
Type Description
boolean

The caseSensitive.

getDefaultInstanceForType()

public TranscriptNormalization.Entry getDefaultInstanceForType()
Returns
Type Description
TranscriptNormalization.Entry

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getReplace()

public String getReplace()

What to replace with. Max length is 100 characters.

string replace = 2;

Returns
Type Description
String

The replace.

getReplaceBytes()

public ByteString getReplaceBytes()

What to replace with. Max length is 100 characters.

string replace = 2;

Returns
Type Description
ByteString

The bytes for replace.

getSearch()

public String getSearch()

What to replace. Max length is 100 characters.

string search = 1;

Returns
Type Description
String

The search.

getSearchBytes()

public ByteString getSearchBytes()

What to replace. Max length is 100 characters.

string search = 1;

Returns
Type Description
ByteString

The bytes for search.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(TranscriptNormalization.Entry other)

public TranscriptNormalization.Entry.Builder mergeFrom(TranscriptNormalization.Entry other)
Parameter
Name Description
other TranscriptNormalization.Entry
Returns
Type Description
TranscriptNormalization.Entry.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public TranscriptNormalization.Entry.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TranscriptNormalization.Entry.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public TranscriptNormalization.Entry.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
TranscriptNormalization.Entry.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final TranscriptNormalization.Entry.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value boolean

The caseSensitive to set.

Returns
Type Description
TranscriptNormalization.Entry.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public TranscriptNormalization.Entry.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
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
Name Description
value String

The replace to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for replace to set.

Returns
Type Description
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
Name Description
value String

The search to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for search to set.

Returns
Type Description
TranscriptNormalization.Entry.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final TranscriptNormalization.Entry.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
TranscriptNormalization.Entry.Builder
Overrides