Class ManualBatchTuningParameters.Builder

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

public static final class ManualBatchTuningParameters.Builder extends com.google.protobuf.GeneratedMessage.Builder<ManualBatchTuningParameters.Builder> implements ManualBatchTuningParametersOrBuilder
 Manual batch tuning parameters.
 
Protobuf type google.cloud.aiplatform.v1.ManualBatchTuningParameters
  • 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<ManualBatchTuningParameters.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<ManualBatchTuningParameters.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<ManualBatchTuningParameters.Builder>
    • getDefaultInstanceForType

      public ManualBatchTuningParameters 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 ManualBatchTuningParameters buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

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

      public ManualBatchTuningParameters.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<ManualBatchTuningParameters.Builder>
      Throws:
      IOException
    • getBatchSize

      public int getBatchSize()
       Immutable. The number of the records (e.g. instances) of the operation
       given in each batch to a machine replica. Machine type, and size of a
       single record should be considered when setting this parameter, higher
       value speeds up the batch operation's execution, but too high value will
       result in a whole batch not fitting in a machine's memory, and the whole
       operation will fail.
       The default value is 64.
       
      int32 batch_size = 1 [(.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getBatchSize in interface ManualBatchTuningParametersOrBuilder
      Returns:
      The batchSize.
    • setBatchSize

      public ManualBatchTuningParameters.Builder setBatchSize(int value)
       Immutable. The number of the records (e.g. instances) of the operation
       given in each batch to a machine replica. Machine type, and size of a
       single record should be considered when setting this parameter, higher
       value speeds up the batch operation's execution, but too high value will
       result in a whole batch not fitting in a machine's memory, and the whole
       operation will fail.
       The default value is 64.
       
      int32 batch_size = 1 [(.google.api.field_behavior) = IMMUTABLE];
      Parameters:
      value - The batchSize to set.
      Returns:
      This builder for chaining.
    • clearBatchSize

      public ManualBatchTuningParameters.Builder clearBatchSize()
       Immutable. The number of the records (e.g. instances) of the operation
       given in each batch to a machine replica. Machine type, and size of a
       single record should be considered when setting this parameter, higher
       value speeds up the batch operation's execution, but too high value will
       result in a whole batch not fitting in a machine's memory, and the whole
       operation will fail.
       The default value is 64.
       
      int32 batch_size = 1 [(.google.api.field_behavior) = IMMUTABLE];
      Returns:
      This builder for chaining.