Class IntentBatch.Builder

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

    public static final class IntentBatch.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<IntentBatch.Builder>
    implements IntentBatchOrBuilder
     This message is a wrapper around a collection of intents.
     
    Protobuf type google.cloud.dialogflow.v2beta1.IntentBatch
    • 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<IntentBatch.Builder>
      • clear

        public IntentBatch.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<IntentBatch.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<IntentBatch.Builder>
      • getDefaultInstanceForType

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

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

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

        public IntentBatch.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<IntentBatch.Builder>
      • setField

        public IntentBatch.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<IntentBatch.Builder>
      • clearField

        public IntentBatch.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<IntentBatch.Builder>
      • clearOneof

        public IntentBatch.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<IntentBatch.Builder>
      • setRepeatedField

        public IntentBatch.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<IntentBatch.Builder>
      • addRepeatedField

        public IntentBatch.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<IntentBatch.Builder>
      • mergeFrom

        public IntentBatch.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<IntentBatch.Builder>
      • isInitialized

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

        public IntentBatch.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<IntentBatch.Builder>
        Throws:
        IOException
      • getIntentsCount

        public int getIntentsCount()
         A collection of intents.
         
        repeated .google.cloud.dialogflow.v2beta1.Intent intents = 1;
        Specified by:
        getIntentsCount in interface IntentBatchOrBuilder
      • getIntents

        public Intent getIntents​(int index)
         A collection of intents.
         
        repeated .google.cloud.dialogflow.v2beta1.Intent intents = 1;
        Specified by:
        getIntents in interface IntentBatchOrBuilder
      • setIntents

        public IntentBatch.Builder setIntents​(int index,
                                              Intent value)
         A collection of intents.
         
        repeated .google.cloud.dialogflow.v2beta1.Intent intents = 1;
      • setIntents

        public IntentBatch.Builder setIntents​(int index,
                                              Intent.Builder builderForValue)
         A collection of intents.
         
        repeated .google.cloud.dialogflow.v2beta1.Intent intents = 1;
      • addIntents

        public IntentBatch.Builder addIntents​(Intent value)
         A collection of intents.
         
        repeated .google.cloud.dialogflow.v2beta1.Intent intents = 1;
      • addIntents

        public IntentBatch.Builder addIntents​(int index,
                                              Intent value)
         A collection of intents.
         
        repeated .google.cloud.dialogflow.v2beta1.Intent intents = 1;
      • addIntents

        public IntentBatch.Builder addIntents​(Intent.Builder builderForValue)
         A collection of intents.
         
        repeated .google.cloud.dialogflow.v2beta1.Intent intents = 1;
      • addIntents

        public IntentBatch.Builder addIntents​(int index,
                                              Intent.Builder builderForValue)
         A collection of intents.
         
        repeated .google.cloud.dialogflow.v2beta1.Intent intents = 1;
      • addAllIntents

        public IntentBatch.Builder addAllIntents​(Iterable<? extends Intent> values)
         A collection of intents.
         
        repeated .google.cloud.dialogflow.v2beta1.Intent intents = 1;
      • clearIntents

        public IntentBatch.Builder clearIntents()
         A collection of intents.
         
        repeated .google.cloud.dialogflow.v2beta1.Intent intents = 1;
      • removeIntents

        public IntentBatch.Builder removeIntents​(int index)
         A collection of intents.
         
        repeated .google.cloud.dialogflow.v2beta1.Intent intents = 1;
      • getIntentsBuilder

        public Intent.Builder getIntentsBuilder​(int index)
         A collection of intents.
         
        repeated .google.cloud.dialogflow.v2beta1.Intent intents = 1;
      • addIntentsBuilder

        public Intent.Builder addIntentsBuilder()
         A collection of intents.
         
        repeated .google.cloud.dialogflow.v2beta1.Intent intents = 1;
      • addIntentsBuilder

        public Intent.Builder addIntentsBuilder​(int index)
         A collection of intents.
         
        repeated .google.cloud.dialogflow.v2beta1.Intent intents = 1;
      • getIntentsBuilderList

        public List<Intent.Builder> getIntentsBuilderList()
         A collection of intents.
         
        repeated .google.cloud.dialogflow.v2beta1.Intent intents = 1;
      • setUnknownFields

        public final IntentBatch.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<IntentBatch.Builder>
      • mergeUnknownFields

        public final IntentBatch.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<IntentBatch.Builder>