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

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

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

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

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

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

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

        public String getParent()
         Required. The name of the agent to update or create intents 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 BatchUpdateIntentsRequestOrBuilder
        Returns:
        The parent.
      • getParentBytes

        public com.google.protobuf.ByteString getParentBytes()
         Required. The name of the agent to update or create intents 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 BatchUpdateIntentsRequestOrBuilder
        Returns:
        The bytes for parent.
      • setParent

        public BatchUpdateIntentsRequest.Builder setParent​(String value)
         Required. The name of the agent to update or create intents 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 BatchUpdateIntentsRequest.Builder clearParent()
         Required. The name of the agent to update or create intents 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 BatchUpdateIntentsRequest.Builder setParentBytes​(com.google.protobuf.ByteString value)
         Required. The name of the agent to update or create intents 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.
      • hasIntentBatchUri

        public boolean hasIntentBatchUri()
         The URI to a Google Cloud Storage file containing intents to update or
         create. The file format can either be a serialized proto (of IntentBatch
         type) or JSON object. Note: The URI must start with "gs://".
         
        string intent_batch_uri = 2;
        Specified by:
        hasIntentBatchUri in interface BatchUpdateIntentsRequestOrBuilder
        Returns:
        Whether the intentBatchUri field is set.
      • getIntentBatchUri

        public String getIntentBatchUri()
         The URI to a Google Cloud Storage file containing intents to update or
         create. The file format can either be a serialized proto (of IntentBatch
         type) or JSON object. Note: The URI must start with "gs://".
         
        string intent_batch_uri = 2;
        Specified by:
        getIntentBatchUri in interface BatchUpdateIntentsRequestOrBuilder
        Returns:
        The intentBatchUri.
      • getIntentBatchUriBytes

        public com.google.protobuf.ByteString getIntentBatchUriBytes()
         The URI to a Google Cloud Storage file containing intents to update or
         create. The file format can either be a serialized proto (of IntentBatch
         type) or JSON object. Note: The URI must start with "gs://".
         
        string intent_batch_uri = 2;
        Specified by:
        getIntentBatchUriBytes in interface BatchUpdateIntentsRequestOrBuilder
        Returns:
        The bytes for intentBatchUri.
      • setIntentBatchUri

        public BatchUpdateIntentsRequest.Builder setIntentBatchUri​(String value)
         The URI to a Google Cloud Storage file containing intents to update or
         create. The file format can either be a serialized proto (of IntentBatch
         type) or JSON object. Note: The URI must start with "gs://".
         
        string intent_batch_uri = 2;
        Parameters:
        value - The intentBatchUri to set.
        Returns:
        This builder for chaining.
      • clearIntentBatchUri

        public BatchUpdateIntentsRequest.Builder clearIntentBatchUri()
         The URI to a Google Cloud Storage file containing intents to update or
         create. The file format can either be a serialized proto (of IntentBatch
         type) or JSON object. Note: The URI must start with "gs://".
         
        string intent_batch_uri = 2;
        Returns:
        This builder for chaining.
      • setIntentBatchUriBytes

        public BatchUpdateIntentsRequest.Builder setIntentBatchUriBytes​(com.google.protobuf.ByteString value)
         The URI to a Google Cloud Storage file containing intents to update or
         create. The file format can either be a serialized proto (of IntentBatch
         type) or JSON object. Note: The URI must start with "gs://".
         
        string intent_batch_uri = 2;
        Parameters:
        value - The bytes for intentBatchUri to set.
        Returns:
        This builder for chaining.
      • hasIntentBatchInline

        public boolean hasIntentBatchInline()
         The collection of intents to update or create.
         
        .google.cloud.dialogflow.v2beta1.IntentBatch intent_batch_inline = 3;
        Specified by:
        hasIntentBatchInline in interface BatchUpdateIntentsRequestOrBuilder
        Returns:
        Whether the intentBatchInline field is set.
      • setIntentBatchInline

        public BatchUpdateIntentsRequest.Builder setIntentBatchInline​(IntentBatch value)
         The collection of intents to update or create.
         
        .google.cloud.dialogflow.v2beta1.IntentBatch intent_batch_inline = 3;
      • mergeIntentBatchInline

        public BatchUpdateIntentsRequest.Builder mergeIntentBatchInline​(IntentBatch value)
         The collection of intents to update or create.
         
        .google.cloud.dialogflow.v2beta1.IntentBatch intent_batch_inline = 3;
      • clearIntentBatchInline

        public BatchUpdateIntentsRequest.Builder clearIntentBatchInline()
         The collection of intents to update or create.
         
        .google.cloud.dialogflow.v2beta1.IntentBatch intent_batch_inline = 3;
      • getIntentBatchInlineBuilder

        public IntentBatch.Builder getIntentBatchInlineBuilder()
         The collection of intents to update or create.
         
        .google.cloud.dialogflow.v2beta1.IntentBatch intent_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 BatchUpdateIntentsRequestOrBuilder
        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 BatchUpdateIntentsRequestOrBuilder
        Returns:
        The bytes for languageCode.
      • setLanguageCode

        public BatchUpdateIntentsRequest.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 BatchUpdateIntentsRequest.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 BatchUpdateIntentsRequest.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;
        Specified by:
        hasUpdateMask in interface BatchUpdateIntentsRequestOrBuilder
        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;
        Specified by:
        getUpdateMask in interface BatchUpdateIntentsRequestOrBuilder
        Returns:
        The updateMask.
      • setUpdateMask

        public BatchUpdateIntentsRequest.Builder setUpdateMask​(com.google.protobuf.FieldMask value)
         Optional. The mask to control which fields get updated.
         
        .google.protobuf.FieldMask update_mask = 5;
      • setUpdateMask

        public BatchUpdateIntentsRequest.Builder setUpdateMask​(com.google.protobuf.FieldMask.Builder builderForValue)
         Optional. The mask to control which fields get updated.
         
        .google.protobuf.FieldMask update_mask = 5;
      • mergeUpdateMask

        public BatchUpdateIntentsRequest.Builder mergeUpdateMask​(com.google.protobuf.FieldMask value)
         Optional. The mask to control which fields get updated.
         
        .google.protobuf.FieldMask update_mask = 5;
      • clearUpdateMask

        public BatchUpdateIntentsRequest.Builder clearUpdateMask()
         Optional. The mask to control which fields get updated.
         
        .google.protobuf.FieldMask update_mask = 5;
      • getUpdateMaskBuilder

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

        public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()
         Optional. The mask to control which fields get updated.
         
        .google.protobuf.FieldMask update_mask = 5;
        Specified by:
        getUpdateMaskOrBuilder in interface BatchUpdateIntentsRequestOrBuilder
      • getIntentViewValue

        public int getIntentViewValue()
         Optional. The resource view to apply to the returned intent.
         
        .google.cloud.dialogflow.v2beta1.IntentView intent_view = 6;
        Specified by:
        getIntentViewValue in interface BatchUpdateIntentsRequestOrBuilder
        Returns:
        The enum numeric value on the wire for intentView.
      • setIntentViewValue

        public BatchUpdateIntentsRequest.Builder setIntentViewValue​(int value)
         Optional. The resource view to apply to the returned intent.
         
        .google.cloud.dialogflow.v2beta1.IntentView intent_view = 6;
        Parameters:
        value - The enum numeric value on the wire for intentView to set.
        Returns:
        This builder for chaining.
      • setIntentView

        public BatchUpdateIntentsRequest.Builder setIntentView​(IntentView value)
         Optional. The resource view to apply to the returned intent.
         
        .google.cloud.dialogflow.v2beta1.IntentView intent_view = 6;
        Parameters:
        value - The intentView to set.
        Returns:
        This builder for chaining.
      • clearIntentView

        public BatchUpdateIntentsRequest.Builder clearIntentView()
         Optional. The resource view to apply to the returned intent.
         
        .google.cloud.dialogflow.v2beta1.IntentView intent_view = 6;
        Returns:
        This builder for chaining.
      • setUnknownFields

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

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