Class ManualBatchTuningParameters (3.56.0)

public final class ManualBatchTuningParameters extends GeneratedMessageV3 implements ManualBatchTuningParametersOrBuilder

Manual batch tuning parameters.

Protobuf type google.cloud.aiplatform.v1.ManualBatchTuningParameters

Static Fields

BATCH_SIZE_FIELD_NUMBER

public static final int BATCH_SIZE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ManualBatchTuningParameters getDefaultInstance()
Returns
Type Description
ManualBatchTuningParameters

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static ManualBatchTuningParameters.Builder newBuilder()
Returns
Type Description
ManualBatchTuningParameters.Builder

newBuilder(ManualBatchTuningParameters prototype)

public static ManualBatchTuningParameters.Builder newBuilder(ManualBatchTuningParameters prototype)
Parameter
Name Description
prototype ManualBatchTuningParameters
Returns
Type Description
ManualBatchTuningParameters.Builder

parseDelimitedFrom(InputStream input)

public static ManualBatchTuningParameters parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ManualBatchTuningParameters
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ManualBatchTuningParameters parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ManualBatchTuningParameters
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ManualBatchTuningParameters parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ManualBatchTuningParameters
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ManualBatchTuningParameters parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ManualBatchTuningParameters
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ManualBatchTuningParameters parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ManualBatchTuningParameters
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ManualBatchTuningParameters parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ManualBatchTuningParameters
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ManualBatchTuningParameters parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ManualBatchTuningParameters
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ManualBatchTuningParameters parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ManualBatchTuningParameters
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ManualBatchTuningParameters parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ManualBatchTuningParameters
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ManualBatchTuningParameters parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ManualBatchTuningParameters
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ManualBatchTuningParameters parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ManualBatchTuningParameters
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ManualBatchTuningParameters parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ManualBatchTuningParameters
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ManualBatchTuningParameters> parser()
Returns
Type Description
Parser<ManualBatchTuningParameters>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

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];

Returns
Type Description
int

The batchSize.

getDefaultInstanceForType()

public ManualBatchTuningParameters getDefaultInstanceForType()
Returns
Type Description
ManualBatchTuningParameters

getParserForType()

public Parser<ManualBatchTuningParameters> getParserForType()
Returns
Type Description
Parser<ManualBatchTuningParameters>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ManualBatchTuningParameters.Builder newBuilderForType()
Returns
Type Description
ManualBatchTuningParameters.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ManualBatchTuningParameters.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ManualBatchTuningParameters.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ManualBatchTuningParameters.Builder toBuilder()
Returns
Type Description
ManualBatchTuningParameters.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException