Class AutoMlImageSegmentationMetadata.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<AutoMlImageSegmentationMetadata.Builder>
com.google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlImageSegmentationMetadata.Builder
All Implemented Interfaces:
AutoMlImageSegmentationMetadataOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
AutoMlImageSegmentationMetadata

public static final class AutoMlImageSegmentationMetadata.Builder extends com.google.protobuf.GeneratedMessage.Builder<AutoMlImageSegmentationMetadata.Builder> implements AutoMlImageSegmentationMetadataOrBuilder
Protobuf type google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlImageSegmentationMetadata
  • 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<AutoMlImageSegmentationMetadata.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<AutoMlImageSegmentationMetadata.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<AutoMlImageSegmentationMetadata.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

      public AutoMlImageSegmentationMetadata.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<AutoMlImageSegmentationMetadata.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<AutoMlImageSegmentationMetadata.Builder>
    • mergeFrom

      public AutoMlImageSegmentationMetadata.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<AutoMlImageSegmentationMetadata.Builder>
      Throws:
      IOException
    • 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 AutoMlImageSegmentationMetadataOrBuilder
      Returns:
      The costMilliNodeHours.
    • setCostMilliNodeHours

      public AutoMlImageSegmentationMetadata.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 AutoMlImageSegmentationMetadata.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.AutoMlImageSegmentationMetadata.SuccessfulStopReason successful_stop_reason = 2;
      Specified by:
      getSuccessfulStopReasonValue in interface AutoMlImageSegmentationMetadataOrBuilder
      Returns:
      The enum numeric value on the wire for successfulStopReason.
    • setSuccessfulStopReasonValue

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

      public AutoMlImageSegmentationMetadata.SuccessfulStopReason getSuccessfulStopReason()
       For successful job completions, this is the reason why the job has
       finished.
       
      .google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlImageSegmentationMetadata.SuccessfulStopReason successful_stop_reason = 2;
      Specified by:
      getSuccessfulStopReason in interface AutoMlImageSegmentationMetadataOrBuilder
      Returns:
      The successfulStopReason.
    • setSuccessfulStopReason

       For successful job completions, this is the reason why the job has
       finished.
       
      .google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlImageSegmentationMetadata.SuccessfulStopReason successful_stop_reason = 2;
      Parameters:
      value - The successfulStopReason to set.
      Returns:
      This builder for chaining.
    • clearSuccessfulStopReason

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