Class TranscriptNormalization.Entry (4.37.0)

public static final class TranscriptNormalization.Entry extends GeneratedMessageV3 implements TranscriptNormalization.EntryOrBuilder

A single replacement configuration.

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

Static Fields

CASE_SENSITIVE_FIELD_NUMBER

public static final int CASE_SENSITIVE_FIELD_NUMBER
Field Value
Type Description
int

REPLACE_FIELD_NUMBER

public static final int REPLACE_FIELD_NUMBER
Field Value
Type Description
int

SEARCH_FIELD_NUMBER

public static final int SEARCH_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static TranscriptNormalization.Entry getDefaultInstance()
Returns
Type Description
TranscriptNormalization.Entry

getDescriptor()

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

newBuilder()

public static TranscriptNormalization.Entry.Builder newBuilder()
Returns
Type Description
TranscriptNormalization.Entry.Builder

newBuilder(TranscriptNormalization.Entry prototype)

public static TranscriptNormalization.Entry.Builder newBuilder(TranscriptNormalization.Entry prototype)
Parameter
Name Description
prototype TranscriptNormalization.Entry
Returns
Type Description
TranscriptNormalization.Entry.Builder

parseDelimitedFrom(InputStream input)

public static TranscriptNormalization.Entry parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
TranscriptNormalization.Entry
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TranscriptNormalization.Entry parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TranscriptNormalization.Entry
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static TranscriptNormalization.Entry parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
TranscriptNormalization.Entry
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static TranscriptNormalization.Entry parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TranscriptNormalization.Entry
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static TranscriptNormalization.Entry parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
TranscriptNormalization.Entry
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static TranscriptNormalization.Entry parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TranscriptNormalization.Entry
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static TranscriptNormalization.Entry parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
TranscriptNormalization.Entry
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static TranscriptNormalization.Entry parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TranscriptNormalization.Entry
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static TranscriptNormalization.Entry parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
TranscriptNormalization.Entry
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TranscriptNormalization.Entry parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TranscriptNormalization.Entry
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static TranscriptNormalization.Entry parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
TranscriptNormalization.Entry
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static TranscriptNormalization.Entry parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TranscriptNormalization.Entry
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<TranscriptNormalization.Entry> parser()
Returns
Type Description
Parser<Entry>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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

getParserForType()

public Parser<TranscriptNormalization.Entry> getParserForType()
Returns
Type Description
Parser<Entry>
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.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public TranscriptNormalization.Entry.Builder newBuilderForType()
Returns
Type Description
TranscriptNormalization.Entry.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected TranscriptNormalization.Entry.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
TranscriptNormalization.Entry.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public TranscriptNormalization.Entry.Builder toBuilder()
Returns
Type Description
TranscriptNormalization.Entry.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException