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

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

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

        public AutoMlImageClassificationMetadata 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<AutoMlImageClassificationMetadata.Builder>
      • getCostMilliNodeHours

        public long getCostMilliNodeHours()
         The actual training cost of creating this model, expressed in
         milli node hours, i.e. 1,000 value in this field means 1 node hour.
         Guaranteed to not exceed inputs.budgetMilliNodeHours.
         
        int64 cost_milli_node_hours = 1;
        Specified by:
        getCostMilliNodeHours in interface AutoMlImageClassificationMetadataOrBuilder
        Returns:
        The costMilliNodeHours.
      • setCostMilliNodeHours

        public AutoMlImageClassificationMetadata.Builder setCostMilliNodeHours​(long value)
         The actual training cost of creating this model, expressed in
         milli node hours, i.e. 1,000 value in this field means 1 node hour.
         Guaranteed to not exceed inputs.budgetMilliNodeHours.
         
        int64 cost_milli_node_hours = 1;
        Parameters:
        value - The costMilliNodeHours to set.
        Returns:
        This builder for chaining.
      • clearCostMilliNodeHours

        public AutoMlImageClassificationMetadata.Builder clearCostMilliNodeHours()
         The actual training cost of creating this model, expressed in
         milli node hours, i.e. 1,000 value in this field means 1 node hour.
         Guaranteed to not exceed inputs.budgetMilliNodeHours.
         
        int64 cost_milli_node_hours = 1;
        Returns:
        This builder for chaining.
      • getSuccessfulStopReasonValue

        public int getSuccessfulStopReasonValue()
         For successful job completions, this is the reason why the job has
         finished.
         
        .google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlImageClassificationMetadata.SuccessfulStopReason successful_stop_reason = 2;
        Specified by:
        getSuccessfulStopReasonValue in interface AutoMlImageClassificationMetadataOrBuilder
        Returns:
        The enum numeric value on the wire for successfulStopReason.
      • setSuccessfulStopReasonValue

        public AutoMlImageClassificationMetadata.Builder setSuccessfulStopReasonValue​(int value)
         For successful job completions, this is the reason why the job has
         finished.
         
        .google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlImageClassificationMetadata.SuccessfulStopReason successful_stop_reason = 2;
        Parameters:
        value - The enum numeric value on the wire for successfulStopReason to set.
        Returns:
        This builder for chaining.
      • clearSuccessfulStopReason

        public AutoMlImageClassificationMetadata.Builder clearSuccessfulStopReason()
         For successful job completions, this is the reason why the job has
         finished.
         
        .google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlImageClassificationMetadata.SuccessfulStopReason successful_stop_reason = 2;
        Returns:
        This builder for chaining.