Class BatchDeleteIntentsRequest.Builder

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

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

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

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

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

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

        public BatchDeleteIntentsRequest.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<BatchDeleteIntentsRequest.Builder>
        Throws:
        IOException
      • getParent

        public String getParent()
         Required. The name of the agent to delete all entities types for. Format:
         `projects/<Project ID>/agent`.
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getParent in interface BatchDeleteIntentsRequestOrBuilder
        Returns:
        The parent.
      • getParentBytes

        public com.google.protobuf.ByteString getParentBytes()
         Required. The name of the agent to delete all entities types for. Format:
         `projects/<Project ID>/agent`.
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getParentBytes in interface BatchDeleteIntentsRequestOrBuilder
        Returns:
        The bytes for parent.
      • setParent

        public BatchDeleteIntentsRequest.Builder setParent​(String value)
         Required. The name of the agent to delete all entities types for. Format:
         `projects/<Project ID>/agent`.
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The parent to set.
        Returns:
        This builder for chaining.
      • clearParent

        public BatchDeleteIntentsRequest.Builder clearParent()
         Required. The name of the agent to delete all entities types for. Format:
         `projects/<Project ID>/agent`.
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setParentBytes

        public BatchDeleteIntentsRequest.Builder setParentBytes​(com.google.protobuf.ByteString value)
         Required. The name of the agent to delete all entities types for. Format:
         `projects/<Project ID>/agent`.
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The bytes for parent to set.
        Returns:
        This builder for chaining.
      • getIntentsList

        public List<Intent> getIntentsList()
         Required. The collection of intents to delete. Only intent `name` must be
         filled in.
         
        repeated .google.cloud.dialogflow.v2.Intent intents = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getIntentsList in interface BatchDeleteIntentsRequestOrBuilder
      • getIntentsCount

        public int getIntentsCount()
         Required. The collection of intents to delete. Only intent `name` must be
         filled in.
         
        repeated .google.cloud.dialogflow.v2.Intent intents = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getIntentsCount in interface BatchDeleteIntentsRequestOrBuilder
      • getIntents

        public Intent getIntents​(int index)
         Required. The collection of intents to delete. Only intent `name` must be
         filled in.
         
        repeated .google.cloud.dialogflow.v2.Intent intents = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getIntents in interface BatchDeleteIntentsRequestOrBuilder
      • setIntents

        public BatchDeleteIntentsRequest.Builder setIntents​(int index,
                                                            Intent value)
         Required. The collection of intents to delete. Only intent `name` must be
         filled in.
         
        repeated .google.cloud.dialogflow.v2.Intent intents = 2 [(.google.api.field_behavior) = REQUIRED];
      • setIntents

        public BatchDeleteIntentsRequest.Builder setIntents​(int index,
                                                            Intent.Builder builderForValue)
         Required. The collection of intents to delete. Only intent `name` must be
         filled in.
         
        repeated .google.cloud.dialogflow.v2.Intent intents = 2 [(.google.api.field_behavior) = REQUIRED];
      • addIntents

        public BatchDeleteIntentsRequest.Builder addIntents​(Intent value)
         Required. The collection of intents to delete. Only intent `name` must be
         filled in.
         
        repeated .google.cloud.dialogflow.v2.Intent intents = 2 [(.google.api.field_behavior) = REQUIRED];
      • addIntents

        public BatchDeleteIntentsRequest.Builder addIntents​(int index,
                                                            Intent value)
         Required. The collection of intents to delete. Only intent `name` must be
         filled in.
         
        repeated .google.cloud.dialogflow.v2.Intent intents = 2 [(.google.api.field_behavior) = REQUIRED];
      • addIntents

        public BatchDeleteIntentsRequest.Builder addIntents​(Intent.Builder builderForValue)
         Required. The collection of intents to delete. Only intent `name` must be
         filled in.
         
        repeated .google.cloud.dialogflow.v2.Intent intents = 2 [(.google.api.field_behavior) = REQUIRED];
      • addIntents

        public BatchDeleteIntentsRequest.Builder addIntents​(int index,
                                                            Intent.Builder builderForValue)
         Required. The collection of intents to delete. Only intent `name` must be
         filled in.
         
        repeated .google.cloud.dialogflow.v2.Intent intents = 2 [(.google.api.field_behavior) = REQUIRED];
      • addAllIntents

        public BatchDeleteIntentsRequest.Builder addAllIntents​(Iterable<? extends Intent> values)
         Required. The collection of intents to delete. Only intent `name` must be
         filled in.
         
        repeated .google.cloud.dialogflow.v2.Intent intents = 2 [(.google.api.field_behavior) = REQUIRED];
      • clearIntents

        public BatchDeleteIntentsRequest.Builder clearIntents()
         Required. The collection of intents to delete. Only intent `name` must be
         filled in.
         
        repeated .google.cloud.dialogflow.v2.Intent intents = 2 [(.google.api.field_behavior) = REQUIRED];
      • removeIntents

        public BatchDeleteIntentsRequest.Builder removeIntents​(int index)
         Required. The collection of intents to delete. Only intent `name` must be
         filled in.
         
        repeated .google.cloud.dialogflow.v2.Intent intents = 2 [(.google.api.field_behavior) = REQUIRED];
      • getIntentsBuilder

        public Intent.Builder getIntentsBuilder​(int index)
         Required. The collection of intents to delete. Only intent `name` must be
         filled in.
         
        repeated .google.cloud.dialogflow.v2.Intent intents = 2 [(.google.api.field_behavior) = REQUIRED];
      • getIntentsOrBuilder

        public IntentOrBuilder getIntentsOrBuilder​(int index)
         Required. The collection of intents to delete. Only intent `name` must be
         filled in.
         
        repeated .google.cloud.dialogflow.v2.Intent intents = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getIntentsOrBuilder in interface BatchDeleteIntentsRequestOrBuilder
      • addIntentsBuilder

        public Intent.Builder addIntentsBuilder()
         Required. The collection of intents to delete. Only intent `name` must be
         filled in.
         
        repeated .google.cloud.dialogflow.v2.Intent intents = 2 [(.google.api.field_behavior) = REQUIRED];
      • addIntentsBuilder

        public Intent.Builder addIntentsBuilder​(int index)
         Required. The collection of intents to delete. Only intent `name` must be
         filled in.
         
        repeated .google.cloud.dialogflow.v2.Intent intents = 2 [(.google.api.field_behavior) = REQUIRED];
      • getIntentsBuilderList

        public List<Intent.Builder> getIntentsBuilderList()
         Required. The collection of intents to delete. Only intent `name` must be
         filled in.
         
        repeated .google.cloud.dialogflow.v2.Intent intents = 2 [(.google.api.field_behavior) = REQUIRED];
      • setUnknownFields

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

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