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

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

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

        public TextClassificationModelMetadata 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<TextClassificationModelMetadata.Builder>
      • getClassificationTypeValue

        public int getClassificationTypeValue()
         Output only. Classification type of the dataset used to train this model.
         
        .google.cloud.automl.v1.ClassificationType classification_type = 3;
        Specified by:
        getClassificationTypeValue in interface TextClassificationModelMetadataOrBuilder
        Returns:
        The enum numeric value on the wire for classificationType.
      • setClassificationTypeValue

        public TextClassificationModelMetadata.Builder setClassificationTypeValue​(int value)
         Output only. Classification type of the dataset used to train this model.
         
        .google.cloud.automl.v1.ClassificationType classification_type = 3;
        Parameters:
        value - The enum numeric value on the wire for classificationType to set.
        Returns:
        This builder for chaining.
      • setClassificationType

        public TextClassificationModelMetadata.Builder setClassificationType​(ClassificationType value)
         Output only. Classification type of the dataset used to train this model.
         
        .google.cloud.automl.v1.ClassificationType classification_type = 3;
        Parameters:
        value - The classificationType to set.
        Returns:
        This builder for chaining.
      • clearClassificationType

        public TextClassificationModelMetadata.Builder clearClassificationType()
         Output only. Classification type of the dataset used to train this model.
         
        .google.cloud.automl.v1.ClassificationType classification_type = 3;
        Returns:
        This builder for chaining.