Class ManualBatchTuningParameters (2.7.4)

public final class ManualBatchTuningParameters extends GeneratedMessageV3 implements ManualBatchTuningParametersOrBuilder

Manual batch tuning parameters.

Protobuf type google.cloud.aiplatform.v1beta1.ManualBatchTuningParameters

Static Fields

BATCH_SIZE_FIELD_NUMBER

public static final int BATCH_SIZE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ManualBatchTuningParameters getDefaultInstance()
Returns
TypeDescription
ManualBatchTuningParameters

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ManualBatchTuningParameters.Builder newBuilder()
Returns
TypeDescription
ManualBatchTuningParameters.Builder

newBuilder(ManualBatchTuningParameters prototype)

public static ManualBatchTuningParameters.Builder newBuilder(ManualBatchTuningParameters prototype)
Parameter
NameDescription
prototypeManualBatchTuningParameters
Returns
TypeDescription
ManualBatchTuningParameters.Builder

parseDelimitedFrom(InputStream input)

public static ManualBatchTuningParameters parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ManualBatchTuningParameters
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ManualBatchTuningParameters parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ManualBatchTuningParameters
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ManualBatchTuningParameters parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ManualBatchTuningParameters
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ManualBatchTuningParameters parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ManualBatchTuningParameters
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ManualBatchTuningParameters parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ManualBatchTuningParameters
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ManualBatchTuningParameters parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ManualBatchTuningParameters
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ManualBatchTuningParameters parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ManualBatchTuningParameters
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ManualBatchTuningParameters parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ManualBatchTuningParameters
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ManualBatchTuningParameters parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ManualBatchTuningParameters
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ManualBatchTuningParameters parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ManualBatchTuningParameters
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ManualBatchTuningParameters parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ManualBatchTuningParameters
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ManualBatchTuningParameters parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ManualBatchTuningParameters
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ManualBatchTuningParameters> parser()
Returns
TypeDescription
Parser<ManualBatchTuningParameters>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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 4.

int32 batch_size = 1 [(.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
int

The batchSize.

getDefaultInstanceForType()

public ManualBatchTuningParameters getDefaultInstanceForType()
Returns
TypeDescription
ManualBatchTuningParameters

getParserForType()

public Parser<ManualBatchTuningParameters> getParserForType()
Returns
TypeDescription
Parser<ManualBatchTuningParameters>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ManualBatchTuningParameters.Builder newBuilderForType()
Returns
TypeDescription
ManualBatchTuningParameters.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ManualBatchTuningParameters.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ManualBatchTuningParameters.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ManualBatchTuningParameters.Builder toBuilder()
Returns
TypeDescription
ManualBatchTuningParameters.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException