Class SpeechAdaptation.Builder

  • All Implemented Interfaces:
    SpeechAdaptationOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    SpeechAdaptation

    public static final class SpeechAdaptation.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<SpeechAdaptation.Builder>
    implements SpeechAdaptationOrBuilder
     Speech adaptation configuration.
     
    Protobuf type google.cloud.speech.v1p1beta1.SpeechAdaptation
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<SpeechAdaptation.Builder>
      • clear

        public SpeechAdaptation.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<SpeechAdaptation.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<SpeechAdaptation.Builder>
      • getDefaultInstanceForType

        public SpeechAdaptation getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public SpeechAdaptation build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public SpeechAdaptation buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public SpeechAdaptation.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<SpeechAdaptation.Builder>
      • setField

        public SpeechAdaptation.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                 Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<SpeechAdaptation.Builder>
      • clearField

        public SpeechAdaptation.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<SpeechAdaptation.Builder>
      • clearOneof

        public SpeechAdaptation.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<SpeechAdaptation.Builder>
      • setRepeatedField

        public SpeechAdaptation.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                         int index,
                                                         Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<SpeechAdaptation.Builder>
      • addRepeatedField

        public SpeechAdaptation.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                         Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<SpeechAdaptation.Builder>
      • mergeFrom

        public SpeechAdaptation.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<SpeechAdaptation.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<SpeechAdaptation.Builder>
      • mergeFrom

        public SpeechAdaptation.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                  com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                           throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<SpeechAdaptation.Builder>
        Throws:
        IOException
      • getPhraseSetsList

        public List<PhraseSet> getPhraseSetsList()
         A collection of phrase sets. To specify the hints inline, leave the
         phrase set's `name` blank and fill in the rest of its fields. Any
         phrase set can use any custom class.
         
        repeated .google.cloud.speech.v1p1beta1.PhraseSet phrase_sets = 1;
        Specified by:
        getPhraseSetsList in interface SpeechAdaptationOrBuilder
      • getPhraseSetsCount

        public int getPhraseSetsCount()
         A collection of phrase sets. To specify the hints inline, leave the
         phrase set's `name` blank and fill in the rest of its fields. Any
         phrase set can use any custom class.
         
        repeated .google.cloud.speech.v1p1beta1.PhraseSet phrase_sets = 1;
        Specified by:
        getPhraseSetsCount in interface SpeechAdaptationOrBuilder
      • getPhraseSets

        public PhraseSet getPhraseSets​(int index)
         A collection of phrase sets. To specify the hints inline, leave the
         phrase set's `name` blank and fill in the rest of its fields. Any
         phrase set can use any custom class.
         
        repeated .google.cloud.speech.v1p1beta1.PhraseSet phrase_sets = 1;
        Specified by:
        getPhraseSets in interface SpeechAdaptationOrBuilder
      • setPhraseSets

        public SpeechAdaptation.Builder setPhraseSets​(int index,
                                                      PhraseSet value)
         A collection of phrase sets. To specify the hints inline, leave the
         phrase set's `name` blank and fill in the rest of its fields. Any
         phrase set can use any custom class.
         
        repeated .google.cloud.speech.v1p1beta1.PhraseSet phrase_sets = 1;
      • setPhraseSets

        public SpeechAdaptation.Builder setPhraseSets​(int index,
                                                      PhraseSet.Builder builderForValue)
         A collection of phrase sets. To specify the hints inline, leave the
         phrase set's `name` blank and fill in the rest of its fields. Any
         phrase set can use any custom class.
         
        repeated .google.cloud.speech.v1p1beta1.PhraseSet phrase_sets = 1;
      • addPhraseSets

        public SpeechAdaptation.Builder addPhraseSets​(PhraseSet value)
         A collection of phrase sets. To specify the hints inline, leave the
         phrase set's `name` blank and fill in the rest of its fields. Any
         phrase set can use any custom class.
         
        repeated .google.cloud.speech.v1p1beta1.PhraseSet phrase_sets = 1;
      • addPhraseSets

        public SpeechAdaptation.Builder addPhraseSets​(int index,
                                                      PhraseSet value)
         A collection of phrase sets. To specify the hints inline, leave the
         phrase set's `name` blank and fill in the rest of its fields. Any
         phrase set can use any custom class.
         
        repeated .google.cloud.speech.v1p1beta1.PhraseSet phrase_sets = 1;
      • addPhraseSets

        public SpeechAdaptation.Builder addPhraseSets​(PhraseSet.Builder builderForValue)
         A collection of phrase sets. To specify the hints inline, leave the
         phrase set's `name` blank and fill in the rest of its fields. Any
         phrase set can use any custom class.
         
        repeated .google.cloud.speech.v1p1beta1.PhraseSet phrase_sets = 1;
      • addPhraseSets

        public SpeechAdaptation.Builder addPhraseSets​(int index,
                                                      PhraseSet.Builder builderForValue)
         A collection of phrase sets. To specify the hints inline, leave the
         phrase set's `name` blank and fill in the rest of its fields. Any
         phrase set can use any custom class.
         
        repeated .google.cloud.speech.v1p1beta1.PhraseSet phrase_sets = 1;
      • addAllPhraseSets

        public SpeechAdaptation.Builder addAllPhraseSets​(Iterable<? extends PhraseSet> values)
         A collection of phrase sets. To specify the hints inline, leave the
         phrase set's `name` blank and fill in the rest of its fields. Any
         phrase set can use any custom class.
         
        repeated .google.cloud.speech.v1p1beta1.PhraseSet phrase_sets = 1;
      • clearPhraseSets

        public SpeechAdaptation.Builder clearPhraseSets()
         A collection of phrase sets. To specify the hints inline, leave the
         phrase set's `name` blank and fill in the rest of its fields. Any
         phrase set can use any custom class.
         
        repeated .google.cloud.speech.v1p1beta1.PhraseSet phrase_sets = 1;
      • removePhraseSets

        public SpeechAdaptation.Builder removePhraseSets​(int index)
         A collection of phrase sets. To specify the hints inline, leave the
         phrase set's `name` blank and fill in the rest of its fields. Any
         phrase set can use any custom class.
         
        repeated .google.cloud.speech.v1p1beta1.PhraseSet phrase_sets = 1;
      • getPhraseSetsBuilder

        public PhraseSet.Builder getPhraseSetsBuilder​(int index)
         A collection of phrase sets. To specify the hints inline, leave the
         phrase set's `name` blank and fill in the rest of its fields. Any
         phrase set can use any custom class.
         
        repeated .google.cloud.speech.v1p1beta1.PhraseSet phrase_sets = 1;
      • getPhraseSetsOrBuilder

        public PhraseSetOrBuilder getPhraseSetsOrBuilder​(int index)
         A collection of phrase sets. To specify the hints inline, leave the
         phrase set's `name` blank and fill in the rest of its fields. Any
         phrase set can use any custom class.
         
        repeated .google.cloud.speech.v1p1beta1.PhraseSet phrase_sets = 1;
        Specified by:
        getPhraseSetsOrBuilder in interface SpeechAdaptationOrBuilder
      • getPhraseSetsOrBuilderList

        public List<? extends PhraseSetOrBuilder> getPhraseSetsOrBuilderList()
         A collection of phrase sets. To specify the hints inline, leave the
         phrase set's `name` blank and fill in the rest of its fields. Any
         phrase set can use any custom class.
         
        repeated .google.cloud.speech.v1p1beta1.PhraseSet phrase_sets = 1;
        Specified by:
        getPhraseSetsOrBuilderList in interface SpeechAdaptationOrBuilder
      • addPhraseSetsBuilder

        public PhraseSet.Builder addPhraseSetsBuilder()
         A collection of phrase sets. To specify the hints inline, leave the
         phrase set's `name` blank and fill in the rest of its fields. Any
         phrase set can use any custom class.
         
        repeated .google.cloud.speech.v1p1beta1.PhraseSet phrase_sets = 1;
      • addPhraseSetsBuilder

        public PhraseSet.Builder addPhraseSetsBuilder​(int index)
         A collection of phrase sets. To specify the hints inline, leave the
         phrase set's `name` blank and fill in the rest of its fields. Any
         phrase set can use any custom class.
         
        repeated .google.cloud.speech.v1p1beta1.PhraseSet phrase_sets = 1;
      • getPhraseSetsBuilderList

        public List<PhraseSet.Builder> getPhraseSetsBuilderList()
         A collection of phrase sets. To specify the hints inline, leave the
         phrase set's `name` blank and fill in the rest of its fields. Any
         phrase set can use any custom class.
         
        repeated .google.cloud.speech.v1p1beta1.PhraseSet phrase_sets = 1;
      • getPhraseSetReferencesList

        public com.google.protobuf.ProtocolStringList getPhraseSetReferencesList()
         A collection of phrase set resource names to use.
         
        repeated string phrase_set_references = 2 [(.google.api.resource_reference) = { ... }
        Specified by:
        getPhraseSetReferencesList in interface SpeechAdaptationOrBuilder
        Returns:
        A list containing the phraseSetReferences.
      • getPhraseSetReferencesCount

        public int getPhraseSetReferencesCount()
         A collection of phrase set resource names to use.
         
        repeated string phrase_set_references = 2 [(.google.api.resource_reference) = { ... }
        Specified by:
        getPhraseSetReferencesCount in interface SpeechAdaptationOrBuilder
        Returns:
        The count of phraseSetReferences.
      • getPhraseSetReferences

        public String getPhraseSetReferences​(int index)
         A collection of phrase set resource names to use.
         
        repeated string phrase_set_references = 2 [(.google.api.resource_reference) = { ... }
        Specified by:
        getPhraseSetReferences in interface SpeechAdaptationOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The phraseSetReferences at the given index.
      • getPhraseSetReferencesBytes

        public com.google.protobuf.ByteString getPhraseSetReferencesBytes​(int index)
         A collection of phrase set resource names to use.
         
        repeated string phrase_set_references = 2 [(.google.api.resource_reference) = { ... }
        Specified by:
        getPhraseSetReferencesBytes in interface SpeechAdaptationOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the phraseSetReferences at the given index.
      • setPhraseSetReferences

        public SpeechAdaptation.Builder setPhraseSetReferences​(int index,
                                                               String value)
         A collection of phrase set resource names to use.
         
        repeated string phrase_set_references = 2 [(.google.api.resource_reference) = { ... }
        Parameters:
        index - The index to set the value at.
        value - The phraseSetReferences to set.
        Returns:
        This builder for chaining.
      • addPhraseSetReferences

        public SpeechAdaptation.Builder addPhraseSetReferences​(String value)
         A collection of phrase set resource names to use.
         
        repeated string phrase_set_references = 2 [(.google.api.resource_reference) = { ... }
        Parameters:
        value - The phraseSetReferences to add.
        Returns:
        This builder for chaining.
      • addAllPhraseSetReferences

        public SpeechAdaptation.Builder addAllPhraseSetReferences​(Iterable<String> values)
         A collection of phrase set resource names to use.
         
        repeated string phrase_set_references = 2 [(.google.api.resource_reference) = { ... }
        Parameters:
        values - The phraseSetReferences to add.
        Returns:
        This builder for chaining.
      • clearPhraseSetReferences

        public SpeechAdaptation.Builder clearPhraseSetReferences()
         A collection of phrase set resource names to use.
         
        repeated string phrase_set_references = 2 [(.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • addPhraseSetReferencesBytes

        public SpeechAdaptation.Builder addPhraseSetReferencesBytes​(com.google.protobuf.ByteString value)
         A collection of phrase set resource names to use.
         
        repeated string phrase_set_references = 2 [(.google.api.resource_reference) = { ... }
        Parameters:
        value - The bytes of the phraseSetReferences to add.
        Returns:
        This builder for chaining.
      • getCustomClassesList

        public List<CustomClass> getCustomClassesList()
         A collection of custom classes. To specify the classes inline, leave the
         class' `name` blank and fill in the rest of its fields, giving it a unique
         `custom_class_id`. Refer to the inline defined class in phrase hints by its
         `custom_class_id`.
         
        repeated .google.cloud.speech.v1p1beta1.CustomClass custom_classes = 3;
        Specified by:
        getCustomClassesList in interface SpeechAdaptationOrBuilder
      • getCustomClassesCount

        public int getCustomClassesCount()
         A collection of custom classes. To specify the classes inline, leave the
         class' `name` blank and fill in the rest of its fields, giving it a unique
         `custom_class_id`. Refer to the inline defined class in phrase hints by its
         `custom_class_id`.
         
        repeated .google.cloud.speech.v1p1beta1.CustomClass custom_classes = 3;
        Specified by:
        getCustomClassesCount in interface SpeechAdaptationOrBuilder
      • getCustomClasses

        public CustomClass getCustomClasses​(int index)
         A collection of custom classes. To specify the classes inline, leave the
         class' `name` blank and fill in the rest of its fields, giving it a unique
         `custom_class_id`. Refer to the inline defined class in phrase hints by its
         `custom_class_id`.
         
        repeated .google.cloud.speech.v1p1beta1.CustomClass custom_classes = 3;
        Specified by:
        getCustomClasses in interface SpeechAdaptationOrBuilder
      • setCustomClasses

        public SpeechAdaptation.Builder setCustomClasses​(int index,
                                                         CustomClass value)
         A collection of custom classes. To specify the classes inline, leave the
         class' `name` blank and fill in the rest of its fields, giving it a unique
         `custom_class_id`. Refer to the inline defined class in phrase hints by its
         `custom_class_id`.
         
        repeated .google.cloud.speech.v1p1beta1.CustomClass custom_classes = 3;
      • setCustomClasses

        public SpeechAdaptation.Builder setCustomClasses​(int index,
                                                         CustomClass.Builder builderForValue)
         A collection of custom classes. To specify the classes inline, leave the
         class' `name` blank and fill in the rest of its fields, giving it a unique
         `custom_class_id`. Refer to the inline defined class in phrase hints by its
         `custom_class_id`.
         
        repeated .google.cloud.speech.v1p1beta1.CustomClass custom_classes = 3;
      • addCustomClasses

        public SpeechAdaptation.Builder addCustomClasses​(CustomClass value)
         A collection of custom classes. To specify the classes inline, leave the
         class' `name` blank and fill in the rest of its fields, giving it a unique
         `custom_class_id`. Refer to the inline defined class in phrase hints by its
         `custom_class_id`.
         
        repeated .google.cloud.speech.v1p1beta1.CustomClass custom_classes = 3;
      • addCustomClasses

        public SpeechAdaptation.Builder addCustomClasses​(int index,
                                                         CustomClass value)
         A collection of custom classes. To specify the classes inline, leave the
         class' `name` blank and fill in the rest of its fields, giving it a unique
         `custom_class_id`. Refer to the inline defined class in phrase hints by its
         `custom_class_id`.
         
        repeated .google.cloud.speech.v1p1beta1.CustomClass custom_classes = 3;
      • addCustomClasses

        public SpeechAdaptation.Builder addCustomClasses​(CustomClass.Builder builderForValue)
         A collection of custom classes. To specify the classes inline, leave the
         class' `name` blank and fill in the rest of its fields, giving it a unique
         `custom_class_id`. Refer to the inline defined class in phrase hints by its
         `custom_class_id`.
         
        repeated .google.cloud.speech.v1p1beta1.CustomClass custom_classes = 3;
      • addCustomClasses

        public SpeechAdaptation.Builder addCustomClasses​(int index,
                                                         CustomClass.Builder builderForValue)
         A collection of custom classes. To specify the classes inline, leave the
         class' `name` blank and fill in the rest of its fields, giving it a unique
         `custom_class_id`. Refer to the inline defined class in phrase hints by its
         `custom_class_id`.
         
        repeated .google.cloud.speech.v1p1beta1.CustomClass custom_classes = 3;
      • addAllCustomClasses

        public SpeechAdaptation.Builder addAllCustomClasses​(Iterable<? extends CustomClass> values)
         A collection of custom classes. To specify the classes inline, leave the
         class' `name` blank and fill in the rest of its fields, giving it a unique
         `custom_class_id`. Refer to the inline defined class in phrase hints by its
         `custom_class_id`.
         
        repeated .google.cloud.speech.v1p1beta1.CustomClass custom_classes = 3;
      • clearCustomClasses

        public SpeechAdaptation.Builder clearCustomClasses()
         A collection of custom classes. To specify the classes inline, leave the
         class' `name` blank and fill in the rest of its fields, giving it a unique
         `custom_class_id`. Refer to the inline defined class in phrase hints by its
         `custom_class_id`.
         
        repeated .google.cloud.speech.v1p1beta1.CustomClass custom_classes = 3;
      • removeCustomClasses

        public SpeechAdaptation.Builder removeCustomClasses​(int index)
         A collection of custom classes. To specify the classes inline, leave the
         class' `name` blank and fill in the rest of its fields, giving it a unique
         `custom_class_id`. Refer to the inline defined class in phrase hints by its
         `custom_class_id`.
         
        repeated .google.cloud.speech.v1p1beta1.CustomClass custom_classes = 3;
      • getCustomClassesBuilder

        public CustomClass.Builder getCustomClassesBuilder​(int index)
         A collection of custom classes. To specify the classes inline, leave the
         class' `name` blank and fill in the rest of its fields, giving it a unique
         `custom_class_id`. Refer to the inline defined class in phrase hints by its
         `custom_class_id`.
         
        repeated .google.cloud.speech.v1p1beta1.CustomClass custom_classes = 3;
      • getCustomClassesOrBuilder

        public CustomClassOrBuilder getCustomClassesOrBuilder​(int index)
         A collection of custom classes. To specify the classes inline, leave the
         class' `name` blank and fill in the rest of its fields, giving it a unique
         `custom_class_id`. Refer to the inline defined class in phrase hints by its
         `custom_class_id`.
         
        repeated .google.cloud.speech.v1p1beta1.CustomClass custom_classes = 3;
        Specified by:
        getCustomClassesOrBuilder in interface SpeechAdaptationOrBuilder
      • getCustomClassesOrBuilderList

        public List<? extends CustomClassOrBuilder> getCustomClassesOrBuilderList()
         A collection of custom classes. To specify the classes inline, leave the
         class' `name` blank and fill in the rest of its fields, giving it a unique
         `custom_class_id`. Refer to the inline defined class in phrase hints by its
         `custom_class_id`.
         
        repeated .google.cloud.speech.v1p1beta1.CustomClass custom_classes = 3;
        Specified by:
        getCustomClassesOrBuilderList in interface SpeechAdaptationOrBuilder
      • addCustomClassesBuilder

        public CustomClass.Builder addCustomClassesBuilder()
         A collection of custom classes. To specify the classes inline, leave the
         class' `name` blank and fill in the rest of its fields, giving it a unique
         `custom_class_id`. Refer to the inline defined class in phrase hints by its
         `custom_class_id`.
         
        repeated .google.cloud.speech.v1p1beta1.CustomClass custom_classes = 3;
      • addCustomClassesBuilder

        public CustomClass.Builder addCustomClassesBuilder​(int index)
         A collection of custom classes. To specify the classes inline, leave the
         class' `name` blank and fill in the rest of its fields, giving it a unique
         `custom_class_id`. Refer to the inline defined class in phrase hints by its
         `custom_class_id`.
         
        repeated .google.cloud.speech.v1p1beta1.CustomClass custom_classes = 3;
      • getCustomClassesBuilderList

        public List<CustomClass.Builder> getCustomClassesBuilderList()
         A collection of custom classes. To specify the classes inline, leave the
         class' `name` blank and fill in the rest of its fields, giving it a unique
         `custom_class_id`. Refer to the inline defined class in phrase hints by its
         `custom_class_id`.
         
        repeated .google.cloud.speech.v1p1beta1.CustomClass custom_classes = 3;
      • hasAbnfGrammar

        public boolean hasAbnfGrammar()
         Augmented Backus-Naur form (ABNF) is a standardized grammar notation
         comprised by a set of derivation rules.
         See specifications: https://www.w3.org/TR/speech-grammar
         
        .google.cloud.speech.v1p1beta1.SpeechAdaptation.ABNFGrammar abnf_grammar = 4;
        Specified by:
        hasAbnfGrammar in interface SpeechAdaptationOrBuilder
        Returns:
        Whether the abnfGrammar field is set.
      • getAbnfGrammar

        public SpeechAdaptation.ABNFGrammar getAbnfGrammar()
         Augmented Backus-Naur form (ABNF) is a standardized grammar notation
         comprised by a set of derivation rules.
         See specifications: https://www.w3.org/TR/speech-grammar
         
        .google.cloud.speech.v1p1beta1.SpeechAdaptation.ABNFGrammar abnf_grammar = 4;
        Specified by:
        getAbnfGrammar in interface SpeechAdaptationOrBuilder
        Returns:
        The abnfGrammar.
      • setAbnfGrammar

        public SpeechAdaptation.Builder setAbnfGrammar​(SpeechAdaptation.ABNFGrammar value)
         Augmented Backus-Naur form (ABNF) is a standardized grammar notation
         comprised by a set of derivation rules.
         See specifications: https://www.w3.org/TR/speech-grammar
         
        .google.cloud.speech.v1p1beta1.SpeechAdaptation.ABNFGrammar abnf_grammar = 4;
      • setAbnfGrammar

        public SpeechAdaptation.Builder setAbnfGrammar​(SpeechAdaptation.ABNFGrammar.Builder builderForValue)
         Augmented Backus-Naur form (ABNF) is a standardized grammar notation
         comprised by a set of derivation rules.
         See specifications: https://www.w3.org/TR/speech-grammar
         
        .google.cloud.speech.v1p1beta1.SpeechAdaptation.ABNFGrammar abnf_grammar = 4;
      • mergeAbnfGrammar

        public SpeechAdaptation.Builder mergeAbnfGrammar​(SpeechAdaptation.ABNFGrammar value)
         Augmented Backus-Naur form (ABNF) is a standardized grammar notation
         comprised by a set of derivation rules.
         See specifications: https://www.w3.org/TR/speech-grammar
         
        .google.cloud.speech.v1p1beta1.SpeechAdaptation.ABNFGrammar abnf_grammar = 4;
      • clearAbnfGrammar

        public SpeechAdaptation.Builder clearAbnfGrammar()
         Augmented Backus-Naur form (ABNF) is a standardized grammar notation
         comprised by a set of derivation rules.
         See specifications: https://www.w3.org/TR/speech-grammar
         
        .google.cloud.speech.v1p1beta1.SpeechAdaptation.ABNFGrammar abnf_grammar = 4;
      • getAbnfGrammarBuilder

        public SpeechAdaptation.ABNFGrammar.Builder getAbnfGrammarBuilder()
         Augmented Backus-Naur form (ABNF) is a standardized grammar notation
         comprised by a set of derivation rules.
         See specifications: https://www.w3.org/TR/speech-grammar
         
        .google.cloud.speech.v1p1beta1.SpeechAdaptation.ABNFGrammar abnf_grammar = 4;
      • setUnknownFields

        public final SpeechAdaptation.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SpeechAdaptation.Builder>
      • mergeUnknownFields

        public final SpeechAdaptation.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SpeechAdaptation.Builder>