Class TranscriptNormalization.Entry (4.34.0)

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

A single replacement configuration.

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

Static Fields

CASE_SENSITIVE_FIELD_NUMBER

public static final int CASE_SENSITIVE_FIELD_NUMBER
Field Value
TypeDescription
int

REPLACE_FIELD_NUMBER

public static final int REPLACE_FIELD_NUMBER
Field Value
TypeDescription
int

SEARCH_FIELD_NUMBER

public static final int SEARCH_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static TranscriptNormalization.Entry getDefaultInstance()
Returns
TypeDescription
TranscriptNormalization.Entry

getDescriptor()

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

newBuilder()

public static TranscriptNormalization.Entry.Builder newBuilder()
Returns
TypeDescription
TranscriptNormalization.Entry.Builder

newBuilder(TranscriptNormalization.Entry prototype)

public static TranscriptNormalization.Entry.Builder newBuilder(TranscriptNormalization.Entry prototype)
Parameter
NameDescription
prototypeTranscriptNormalization.Entry
Returns
TypeDescription
TranscriptNormalization.Entry.Builder

parseDelimitedFrom(InputStream input)

public static TranscriptNormalization.Entry parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
TranscriptNormalization.Entry
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TranscriptNormalization.Entry parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TranscriptNormalization.Entry
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static TranscriptNormalization.Entry parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
TranscriptNormalization.Entry
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static TranscriptNormalization.Entry parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TranscriptNormalization.Entry
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static TranscriptNormalization.Entry parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
TranscriptNormalization.Entry
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static TranscriptNormalization.Entry parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TranscriptNormalization.Entry
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static TranscriptNormalization.Entry parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
TranscriptNormalization.Entry
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static TranscriptNormalization.Entry parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TranscriptNormalization.Entry
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static TranscriptNormalization.Entry parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
TranscriptNormalization.Entry
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TranscriptNormalization.Entry parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TranscriptNormalization.Entry
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static TranscriptNormalization.Entry parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
TranscriptNormalization.Entry
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static TranscriptNormalization.Entry parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TranscriptNormalization.Entry
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
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

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public TranscriptNormalization.Entry.Builder newBuilderForType()
Returns
TypeDescription
TranscriptNormalization.Entry.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected TranscriptNormalization.Entry.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
TranscriptNormalization.Entry.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public TranscriptNormalization.Entry.Builder toBuilder()
Returns
TypeDescription
TranscriptNormalization.Entry.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException