Class SmartReplyModelMetadata.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<SmartReplyModelMetadata.Builder>
com.google.cloud.dialogflow.v2.SmartReplyModelMetadata.Builder
All Implemented Interfaces:
SmartReplyModelMetadataOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
SmartReplyModelMetadata

public static final class SmartReplyModelMetadata.Builder extends com.google.protobuf.GeneratedMessage.Builder<SmartReplyModelMetadata.Builder> implements SmartReplyModelMetadataOrBuilder
 Metadata for smart reply models.
 
Protobuf type google.cloud.dialogflow.v2.SmartReplyModelMetadata
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<SmartReplyModelMetadata.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<SmartReplyModelMetadata.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.GeneratedMessage.Builder<SmartReplyModelMetadata.Builder>
    • getDefaultInstanceForType

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

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

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

      public SmartReplyModelMetadata.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<SmartReplyModelMetadata.Builder>
    • mergeFrom

    • isInitialized

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

      public SmartReplyModelMetadata.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<SmartReplyModelMetadata.Builder>
      Throws:
      IOException
    • getTrainingModelTypeValue

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

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

      public ConversationModel.ModelType getTrainingModelType()
       Optional. Type of the smart reply model. If not provided, model_type is
       used.
       
      .google.cloud.dialogflow.v2.ConversationModel.ModelType training_model_type = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTrainingModelType in interface SmartReplyModelMetadataOrBuilder
      Returns:
      The trainingModelType.
    • setTrainingModelType

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

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