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

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

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

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

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

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

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

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

        public BatchDeleteEntitiesRequest.Builder setParent​(String value)
         Required. The name of the entity type to delete entries for. Format:
         `projects/<Project ID>/agent/entityTypes/<Entity Type ID>`.
         
        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 BatchDeleteEntitiesRequest.Builder clearParent()
         Required. The name of the entity type to delete entries for. Format:
         `projects/<Project ID>/agent/entityTypes/<Entity Type ID>`.
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setParentBytes

        public BatchDeleteEntitiesRequest.Builder setParentBytes​(com.google.protobuf.ByteString value)
         Required. The name of the entity type to delete entries for. Format:
         `projects/<Project ID>/agent/entityTypes/<Entity Type ID>`.
         
        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.
      • getEntityValuesList

        public com.google.protobuf.ProtocolStringList getEntityValuesList()
         Required. The reference `values` of the entities to delete. Note that
         these are not fully-qualified names, i.e. they don't start with
         `projects/<Project ID>`.
         
        repeated string entity_values = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getEntityValuesList in interface BatchDeleteEntitiesRequestOrBuilder
        Returns:
        A list containing the entityValues.
      • getEntityValuesCount

        public int getEntityValuesCount()
         Required. The reference `values` of the entities to delete. Note that
         these are not fully-qualified names, i.e. they don't start with
         `projects/<Project ID>`.
         
        repeated string entity_values = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getEntityValuesCount in interface BatchDeleteEntitiesRequestOrBuilder
        Returns:
        The count of entityValues.
      • getEntityValues

        public String getEntityValues​(int index)
         Required. The reference `values` of the entities to delete. Note that
         these are not fully-qualified names, i.e. they don't start with
         `projects/<Project ID>`.
         
        repeated string entity_values = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getEntityValues in interface BatchDeleteEntitiesRequestOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The entityValues at the given index.
      • getEntityValuesBytes

        public com.google.protobuf.ByteString getEntityValuesBytes​(int index)
         Required. The reference `values` of the entities to delete. Note that
         these are not fully-qualified names, i.e. they don't start with
         `projects/<Project ID>`.
         
        repeated string entity_values = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getEntityValuesBytes in interface BatchDeleteEntitiesRequestOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the entityValues at the given index.
      • setEntityValues

        public BatchDeleteEntitiesRequest.Builder setEntityValues​(int index,
                                                                  String value)
         Required. The reference `values` of the entities to delete. Note that
         these are not fully-qualified names, i.e. they don't start with
         `projects/<Project ID>`.
         
        repeated string entity_values = 2 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        index - The index to set the value at.
        value - The entityValues to set.
        Returns:
        This builder for chaining.
      • addEntityValues

        public BatchDeleteEntitiesRequest.Builder addEntityValues​(String value)
         Required. The reference `values` of the entities to delete. Note that
         these are not fully-qualified names, i.e. they don't start with
         `projects/<Project ID>`.
         
        repeated string entity_values = 2 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The entityValues to add.
        Returns:
        This builder for chaining.
      • addAllEntityValues

        public BatchDeleteEntitiesRequest.Builder addAllEntityValues​(Iterable<String> values)
         Required. The reference `values` of the entities to delete. Note that
         these are not fully-qualified names, i.e. they don't start with
         `projects/<Project ID>`.
         
        repeated string entity_values = 2 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        values - The entityValues to add.
        Returns:
        This builder for chaining.
      • clearEntityValues

        public BatchDeleteEntitiesRequest.Builder clearEntityValues()
         Required. The reference `values` of the entities to delete. Note that
         these are not fully-qualified names, i.e. they don't start with
         `projects/<Project ID>`.
         
        repeated string entity_values = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • addEntityValuesBytes

        public BatchDeleteEntitiesRequest.Builder addEntityValuesBytes​(com.google.protobuf.ByteString value)
         Required. The reference `values` of the entities to delete. Note that
         these are not fully-qualified names, i.e. they don't start with
         `projects/<Project ID>`.
         
        repeated string entity_values = 2 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes of the entityValues to add.
        Returns:
        This builder for chaining.
      • getLanguageCode

        public String getLanguageCode()
         Optional. The language used to access language-specific data.
         If not specified, the agent's default language is used.
         For more information, see
         [Multilingual intent and entity
         data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
         
        string language_code = 3 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getLanguageCode in interface BatchDeleteEntitiesRequestOrBuilder
        Returns:
        The languageCode.
      • getLanguageCodeBytes

        public com.google.protobuf.ByteString getLanguageCodeBytes()
         Optional. The language used to access language-specific data.
         If not specified, the agent's default language is used.
         For more information, see
         [Multilingual intent and entity
         data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
         
        string language_code = 3 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getLanguageCodeBytes in interface BatchDeleteEntitiesRequestOrBuilder
        Returns:
        The bytes for languageCode.
      • setLanguageCode

        public BatchDeleteEntitiesRequest.Builder setLanguageCode​(String value)
         Optional. The language used to access language-specific data.
         If not specified, the agent's default language is used.
         For more information, see
         [Multilingual intent and entity
         data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
         
        string language_code = 3 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The languageCode to set.
        Returns:
        This builder for chaining.
      • clearLanguageCode

        public BatchDeleteEntitiesRequest.Builder clearLanguageCode()
         Optional. The language used to access language-specific data.
         If not specified, the agent's default language is used.
         For more information, see
         [Multilingual intent and entity
         data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
         
        string language_code = 3 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        This builder for chaining.
      • setLanguageCodeBytes

        public BatchDeleteEntitiesRequest.Builder setLanguageCodeBytes​(com.google.protobuf.ByteString value)
         Optional. The language used to access language-specific data.
         If not specified, the agent's default language is used.
         For more information, see
         [Multilingual intent and entity
         data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
         
        string language_code = 3 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The bytes for languageCode to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

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

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