Class VeoHyperParameters.Builder (3.88.0)

public static final class VeoHyperParameters.Builder extends GeneratedMessage.Builder<VeoHyperParameters.Builder> implements VeoHyperParametersOrBuilder

Hyperparameters for Veo.

Protobuf type google.cloud.aiplatform.v1beta1.VeoHyperParameters

Static Methods

getDescriptor()

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

Methods

build()

public VeoHyperParameters build()
Returns
Type Description
VeoHyperParameters

buildPartial()

public VeoHyperParameters buildPartial()
Returns
Type Description
VeoHyperParameters

clear()

public VeoHyperParameters.Builder clear()
Returns
Type Description
VeoHyperParameters.Builder
Overrides

clearEpochCount()

public VeoHyperParameters.Builder clearEpochCount()

Optional. Number of complete passes the model makes over the entire training dataset during training.

int64 epoch_count = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
VeoHyperParameters.Builder

This builder for chaining.

clearLearningRateMultiplier()

public VeoHyperParameters.Builder clearLearningRateMultiplier()

Optional. Multiplier for adjusting the default learning rate.

double learning_rate_multiplier = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
VeoHyperParameters.Builder

This builder for chaining.

clearTuningTask()

public VeoHyperParameters.Builder clearTuningTask()

Optional. The tuning task. Either I2V or T2V.

.google.cloud.aiplatform.v1beta1.VeoHyperParameters.TuningTask tuning_task = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
VeoHyperParameters.Builder

This builder for chaining.

getDefaultInstanceForType()

public VeoHyperParameters getDefaultInstanceForType()
Returns
Type Description
VeoHyperParameters

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEpochCount()

public long getEpochCount()

Optional. Number of complete passes the model makes over the entire training dataset during training.

int64 epoch_count = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
long

The epochCount.

getLearningRateMultiplier()

public double getLearningRateMultiplier()

Optional. Multiplier for adjusting the default learning rate.

double learning_rate_multiplier = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
double

The learningRateMultiplier.

getTuningTask()

public VeoHyperParameters.TuningTask getTuningTask()

Optional. The tuning task. Either I2V or T2V.

.google.cloud.aiplatform.v1beta1.VeoHyperParameters.TuningTask tuning_task = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
VeoHyperParameters.TuningTask

The tuningTask.

getTuningTaskValue()

public int getTuningTaskValue()

Optional. The tuning task. Either I2V or T2V.

.google.cloud.aiplatform.v1beta1.VeoHyperParameters.TuningTask tuning_task = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for tuningTask.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(VeoHyperParameters other)

public VeoHyperParameters.Builder mergeFrom(VeoHyperParameters other)
Parameter
Name Description
other VeoHyperParameters
Returns
Type Description
VeoHyperParameters.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public VeoHyperParameters.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VeoHyperParameters.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public VeoHyperParameters.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
VeoHyperParameters.Builder
Overrides

setEpochCount(long value)

public VeoHyperParameters.Builder setEpochCount(long value)

Optional. Number of complete passes the model makes over the entire training dataset during training.

int64 epoch_count = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value long

The epochCount to set.

Returns
Type Description
VeoHyperParameters.Builder

This builder for chaining.

setLearningRateMultiplier(double value)

public VeoHyperParameters.Builder setLearningRateMultiplier(double value)

Optional. Multiplier for adjusting the default learning rate.

double learning_rate_multiplier = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value double

The learningRateMultiplier to set.

Returns
Type Description
VeoHyperParameters.Builder

This builder for chaining.

setTuningTask(VeoHyperParameters.TuningTask value)

public VeoHyperParameters.Builder setTuningTask(VeoHyperParameters.TuningTask value)

Optional. The tuning task. Either I2V or T2V.

.google.cloud.aiplatform.v1beta1.VeoHyperParameters.TuningTask tuning_task = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value VeoHyperParameters.TuningTask

The tuningTask to set.

Returns
Type Description
VeoHyperParameters.Builder

This builder for chaining.

setTuningTaskValue(int value)

public VeoHyperParameters.Builder setTuningTaskValue(int value)

Optional. The tuning task. Either I2V or T2V.

.google.cloud.aiplatform.v1beta1.VeoHyperParameters.TuningTask tuning_task = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

The enum numeric value on the wire for tuningTask to set.

Returns
Type Description
VeoHyperParameters.Builder

This builder for chaining.