public static final class SpeechAdaptation.ABNFGrammar.Builder extends GeneratedMessage.Builder<SpeechAdaptation.ABNFGrammar.Builder> implements SpeechAdaptation.ABNFGrammarOrBuilderProtobuf type google.cloud.speech.v1p1beta1.SpeechAdaptation.ABNFGrammar
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > SpeechAdaptation.ABNFGrammar.BuilderImplements
SpeechAdaptation.ABNFGrammarOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAbnfStrings(String value)
public SpeechAdaptation.ABNFGrammar.Builder addAbnfStrings(String value)All declarations and rules of an ABNF grammar broken up into multiple strings that will end up concatenated.
repeated string abnf_strings = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe abnfStrings to add. |
| Returns | |
|---|---|
| Type | Description |
SpeechAdaptation.ABNFGrammar.Builder |
This builder for chaining. |
addAbnfStringsBytes(ByteString value)
public SpeechAdaptation.ABNFGrammar.Builder addAbnfStringsBytes(ByteString value)All declarations and rules of an ABNF grammar broken up into multiple strings that will end up concatenated.
repeated string abnf_strings = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the abnfStrings to add. |
| Returns | |
|---|---|
| Type | Description |
SpeechAdaptation.ABNFGrammar.Builder |
This builder for chaining. |
addAllAbnfStrings(Iterable<String> values)
public SpeechAdaptation.ABNFGrammar.Builder addAllAbnfStrings(Iterable<String> values)All declarations and rules of an ABNF grammar broken up into multiple strings that will end up concatenated.
repeated string abnf_strings = 1;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The abnfStrings to add. |
| Returns | |
|---|---|
| Type | Description |
SpeechAdaptation.ABNFGrammar.Builder |
This builder for chaining. |
build()
public SpeechAdaptation.ABNFGrammar build()| Returns | |
|---|---|
| Type | Description |
SpeechAdaptation.ABNFGrammar |
|
buildPartial()
public SpeechAdaptation.ABNFGrammar buildPartial()| Returns | |
|---|---|
| Type | Description |
SpeechAdaptation.ABNFGrammar |
|
clear()
public SpeechAdaptation.ABNFGrammar.Builder clear()| Returns | |
|---|---|
| Type | Description |
SpeechAdaptation.ABNFGrammar.Builder |
|
clearAbnfStrings()
public SpeechAdaptation.ABNFGrammar.Builder clearAbnfStrings()All declarations and rules of an ABNF grammar broken up into multiple strings that will end up concatenated.
repeated string abnf_strings = 1;
| Returns | |
|---|---|
| Type | Description |
SpeechAdaptation.ABNFGrammar.Builder |
This builder for chaining. |
getAbnfStrings(int index)
public String getAbnfStrings(int index)All declarations and rules of an ABNF grammar broken up into multiple strings that will end up concatenated.
repeated string abnf_strings = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The abnfStrings at the given index. |
getAbnfStringsBytes(int index)
public ByteString getAbnfStringsBytes(int index)All declarations and rules of an ABNF grammar broken up into multiple strings that will end up concatenated.
repeated string abnf_strings = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the abnfStrings at the given index. |
getAbnfStringsCount()
public int getAbnfStringsCount()All declarations and rules of an ABNF grammar broken up into multiple strings that will end up concatenated.
repeated string abnf_strings = 1;
| Returns | |
|---|---|
| Type | Description |
int |
The count of abnfStrings. |
getAbnfStringsList()
public ProtocolStringList getAbnfStringsList()All declarations and rules of an ABNF grammar broken up into multiple strings that will end up concatenated.
repeated string abnf_strings = 1;
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the abnfStrings. |
getDefaultInstanceForType()
public SpeechAdaptation.ABNFGrammar getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
SpeechAdaptation.ABNFGrammar |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(SpeechAdaptation.ABNFGrammar other)
public SpeechAdaptation.ABNFGrammar.Builder mergeFrom(SpeechAdaptation.ABNFGrammar other)| Parameter | |
|---|---|
| Name | Description |
other |
SpeechAdaptation.ABNFGrammar |
| Returns | |
|---|---|
| Type | Description |
SpeechAdaptation.ABNFGrammar.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SpeechAdaptation.ABNFGrammar.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SpeechAdaptation.ABNFGrammar.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public SpeechAdaptation.ABNFGrammar.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
SpeechAdaptation.ABNFGrammar.Builder |
|
setAbnfStrings(int index, String value)
public SpeechAdaptation.ABNFGrammar.Builder setAbnfStrings(int index, String value)All declarations and rules of an ABNF grammar broken up into multiple strings that will end up concatenated.
repeated string abnf_strings = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe abnfStrings to set. |
| Returns | |
|---|---|
| Type | Description |
SpeechAdaptation.ABNFGrammar.Builder |
This builder for chaining. |