Send feedback
Class SpeechAdaptation.ABNFGrammar.Builder (4.4.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 4.4.0 keyboard_arrow_down
public static final class SpeechAdaptation . ABNFGrammar . Builder extends GeneratedMessageV3 . Builder<SpeechAdaptation . ABNFGrammar . Builder > implements SpeechAdaptation . ABNFGrammarOrBuilder
Protobuf type google.cloud.speech.v1p1beta1.SpeechAdaptation.ABNFGrammar
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
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
String
The abnfStrings to add.
Returns
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
ByteString
The bytes of the abnfStrings to add.
Returns
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
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SpeechAdaptation . ABNFGrammar . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
public SpeechAdaptation . ABNFGrammar build ()
Returns
buildPartial()
public SpeechAdaptation . ABNFGrammar buildPartial ()
Returns
clear()
public SpeechAdaptation . ABNFGrammar . Builder clear ()
Returns
Overrides
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
clearField(Descriptors.FieldDescriptor field)
public SpeechAdaptation . ABNFGrammar . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public SpeechAdaptation . ABNFGrammar . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
clone()
public SpeechAdaptation . ABNFGrammar . Builder clone ()
Returns
Overrides
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
int
The 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
int
The 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
getDefaultInstanceForType()
public SpeechAdaptation . ABNFGrammar getDefaultInstanceForType ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
mergeFrom(SpeechAdaptation.ABNFGrammar other)
public SpeechAdaptation . ABNFGrammar . Builder mergeFrom ( SpeechAdaptation . ABNFGrammar other )
Parameter
Returns
public SpeechAdaptation . ABNFGrammar . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public SpeechAdaptation . ABNFGrammar . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SpeechAdaptation . ABNFGrammar . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
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
int
The index to set the value at.
value
String
The abnfStrings to set.
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public SpeechAdaptation . ABNFGrammar . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SpeechAdaptation . ABNFGrammar . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final SpeechAdaptation . ABNFGrammar . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]