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

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

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

        public ArticleSuggestionModelMetadata 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<ArticleSuggestionModelMetadata.Builder>
      • getTrainingModelTypeValue

        public int getTrainingModelTypeValue()
         Optional. Type of the article suggestion model. If not provided, model_type
         is used.
         
        .google.cloud.dialogflow.v2.ConversationModel.ModelType training_model_type = 3 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getTrainingModelTypeValue in interface ArticleSuggestionModelMetadataOrBuilder
        Returns:
        The enum numeric value on the wire for trainingModelType.
      • setTrainingModelTypeValue

        public ArticleSuggestionModelMetadata.Builder setTrainingModelTypeValue​(int value)
         Optional. Type of the article suggestion model. If not provided, model_type
         is used.
         
        .google.cloud.dialogflow.v2.ConversationModel.ModelType training_model_type = 3 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The enum numeric value on the wire for trainingModelType to set.
        Returns:
        This builder for chaining.
      • setTrainingModelType

        public ArticleSuggestionModelMetadata.Builder setTrainingModelType​(ConversationModel.ModelType value)
         Optional. Type of the article suggestion model. If not provided, model_type
         is used.
         
        .google.cloud.dialogflow.v2.ConversationModel.ModelType training_model_type = 3 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The trainingModelType to set.
        Returns:
        This builder for chaining.
      • clearTrainingModelType

        public ArticleSuggestionModelMetadata.Builder clearTrainingModelType()
         Optional. Type of the article suggestion model. If not provided, model_type
         is used.
         
        .google.cloud.dialogflow.v2.ConversationModel.ModelType training_model_type = 3 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        This builder for chaining.