Class ManualBatchTuningParameters.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<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.GeneratedMessageV3.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

        public ManualBatchTuningParameters 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
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.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.
      • mergeUnknownFields

        public final ManualBatchTuningParameters.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ManualBatchTuningParameters.Builder>