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

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

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

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

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

        public String getParent()
         Required. The name of the agent to update or create entity types in.
         Supported formats:
         - `projects/<Project ID>/agent`
         - `projects/<Project ID>/locations/<Location ID>/agent`
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getParent in interface BatchUpdateEntityTypesRequestOrBuilder
        Returns:
        The parent.
      • getParentBytes

        public com.google.protobuf.ByteString getParentBytes()
         Required. The name of the agent to update or create entity types in.
         Supported formats:
         - `projects/<Project ID>/agent`
         - `projects/<Project ID>/locations/<Location ID>/agent`
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getParentBytes in interface BatchUpdateEntityTypesRequestOrBuilder
        Returns:
        The bytes for parent.
      • setParent

        public BatchUpdateEntityTypesRequest.Builder setParent​(String value)
         Required. The name of the agent to update or create entity types in.
         Supported formats:
         - `projects/<Project ID>/agent`
         - `projects/<Project ID>/locations/<Location 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 BatchUpdateEntityTypesRequest.Builder clearParent()
         Required. The name of the agent to update or create entity types in.
         Supported formats:
         - `projects/<Project ID>/agent`
         - `projects/<Project ID>/locations/<Location ID>/agent`
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setParentBytes

        public BatchUpdateEntityTypesRequest.Builder setParentBytes​(com.google.protobuf.ByteString value)
         Required. The name of the agent to update or create entity types in.
         Supported formats:
         - `projects/<Project ID>/agent`
         - `projects/<Project ID>/locations/<Location 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.
      • hasEntityTypeBatchUri

        public boolean hasEntityTypeBatchUri()
         The URI to a Google Cloud Storage file containing entity types to update
         or create. The file format can either be a serialized proto (of
         EntityBatch type) or a JSON object. Note: The URI must start with
         "gs://".
         
        string entity_type_batch_uri = 2;
        Specified by:
        hasEntityTypeBatchUri in interface BatchUpdateEntityTypesRequestOrBuilder
        Returns:
        Whether the entityTypeBatchUri field is set.
      • getEntityTypeBatchUri

        public String getEntityTypeBatchUri()
         The URI to a Google Cloud Storage file containing entity types to update
         or create. The file format can either be a serialized proto (of
         EntityBatch type) or a JSON object. Note: The URI must start with
         "gs://".
         
        string entity_type_batch_uri = 2;
        Specified by:
        getEntityTypeBatchUri in interface BatchUpdateEntityTypesRequestOrBuilder
        Returns:
        The entityTypeBatchUri.
      • getEntityTypeBatchUriBytes

        public com.google.protobuf.ByteString getEntityTypeBatchUriBytes()
         The URI to a Google Cloud Storage file containing entity types to update
         or create. The file format can either be a serialized proto (of
         EntityBatch type) or a JSON object. Note: The URI must start with
         "gs://".
         
        string entity_type_batch_uri = 2;
        Specified by:
        getEntityTypeBatchUriBytes in interface BatchUpdateEntityTypesRequestOrBuilder
        Returns:
        The bytes for entityTypeBatchUri.
      • setEntityTypeBatchUri

        public BatchUpdateEntityTypesRequest.Builder setEntityTypeBatchUri​(String value)
         The URI to a Google Cloud Storage file containing entity types to update
         or create. The file format can either be a serialized proto (of
         EntityBatch type) or a JSON object. Note: The URI must start with
         "gs://".
         
        string entity_type_batch_uri = 2;
        Parameters:
        value - The entityTypeBatchUri to set.
        Returns:
        This builder for chaining.
      • clearEntityTypeBatchUri

        public BatchUpdateEntityTypesRequest.Builder clearEntityTypeBatchUri()
         The URI to a Google Cloud Storage file containing entity types to update
         or create. The file format can either be a serialized proto (of
         EntityBatch type) or a JSON object. Note: The URI must start with
         "gs://".
         
        string entity_type_batch_uri = 2;
        Returns:
        This builder for chaining.
      • setEntityTypeBatchUriBytes

        public BatchUpdateEntityTypesRequest.Builder setEntityTypeBatchUriBytes​(com.google.protobuf.ByteString value)
         The URI to a Google Cloud Storage file containing entity types to update
         or create. The file format can either be a serialized proto (of
         EntityBatch type) or a JSON object. Note: The URI must start with
         "gs://".
         
        string entity_type_batch_uri = 2;
        Parameters:
        value - The bytes for entityTypeBatchUri to set.
        Returns:
        This builder for chaining.
      • hasEntityTypeBatchInline

        public boolean hasEntityTypeBatchInline()
         The collection of entity types to update or create.
         
        .google.cloud.dialogflow.v2beta1.EntityTypeBatch entity_type_batch_inline = 3;
        Specified by:
        hasEntityTypeBatchInline in interface BatchUpdateEntityTypesRequestOrBuilder
        Returns:
        Whether the entityTypeBatchInline field is set.
      • mergeEntityTypeBatchInline

        public BatchUpdateEntityTypesRequest.Builder mergeEntityTypeBatchInline​(EntityTypeBatch value)
         The collection of entity types to update or create.
         
        .google.cloud.dialogflow.v2beta1.EntityTypeBatch entity_type_batch_inline = 3;
      • clearEntityTypeBatchInline

        public BatchUpdateEntityTypesRequest.Builder clearEntityTypeBatchInline()
         The collection of entity types to update or create.
         
        .google.cloud.dialogflow.v2beta1.EntityTypeBatch entity_type_batch_inline = 3;
      • getEntityTypeBatchInlineBuilder

        public EntityTypeBatch.Builder getEntityTypeBatchInlineBuilder()
         The collection of entity types to update or create.
         
        .google.cloud.dialogflow.v2beta1.EntityTypeBatch entity_type_batch_inline = 3;
      • 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 = 4 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getLanguageCode in interface BatchUpdateEntityTypesRequestOrBuilder
        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 = 4 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getLanguageCodeBytes in interface BatchUpdateEntityTypesRequestOrBuilder
        Returns:
        The bytes for languageCode.
      • setLanguageCode

        public BatchUpdateEntityTypesRequest.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 = 4 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The languageCode to set.
        Returns:
        This builder for chaining.
      • clearLanguageCode

        public BatchUpdateEntityTypesRequest.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 = 4 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        This builder for chaining.
      • setLanguageCodeBytes

        public BatchUpdateEntityTypesRequest.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 = 4 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The bytes for languageCode to set.
        Returns:
        This builder for chaining.
      • hasUpdateMask

        public boolean hasUpdateMask()
         Optional. The mask to control which fields get updated.
         
        .google.protobuf.FieldMask update_mask = 5 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        hasUpdateMask in interface BatchUpdateEntityTypesRequestOrBuilder
        Returns:
        Whether the updateMask field is set.
      • getUpdateMask

        public com.google.protobuf.FieldMask getUpdateMask()
         Optional. The mask to control which fields get updated.
         
        .google.protobuf.FieldMask update_mask = 5 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getUpdateMask in interface BatchUpdateEntityTypesRequestOrBuilder
        Returns:
        The updateMask.
      • setUpdateMask

        public BatchUpdateEntityTypesRequest.Builder setUpdateMask​(com.google.protobuf.FieldMask value)
         Optional. The mask to control which fields get updated.
         
        .google.protobuf.FieldMask update_mask = 5 [(.google.api.field_behavior) = OPTIONAL];
      • setUpdateMask

        public BatchUpdateEntityTypesRequest.Builder setUpdateMask​(com.google.protobuf.FieldMask.Builder builderForValue)
         Optional. The mask to control which fields get updated.
         
        .google.protobuf.FieldMask update_mask = 5 [(.google.api.field_behavior) = OPTIONAL];
      • mergeUpdateMask

        public BatchUpdateEntityTypesRequest.Builder mergeUpdateMask​(com.google.protobuf.FieldMask value)
         Optional. The mask to control which fields get updated.
         
        .google.protobuf.FieldMask update_mask = 5 [(.google.api.field_behavior) = OPTIONAL];
      • clearUpdateMask

        public BatchUpdateEntityTypesRequest.Builder clearUpdateMask()
         Optional. The mask to control which fields get updated.
         
        .google.protobuf.FieldMask update_mask = 5 [(.google.api.field_behavior) = OPTIONAL];
      • getUpdateMaskBuilder

        public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder()
         Optional. The mask to control which fields get updated.
         
        .google.protobuf.FieldMask update_mask = 5 [(.google.api.field_behavior) = OPTIONAL];
      • getUpdateMaskOrBuilder

        public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()
         Optional. The mask to control which fields get updated.
         
        .google.protobuf.FieldMask update_mask = 5 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getUpdateMaskOrBuilder in interface BatchUpdateEntityTypesRequestOrBuilder