Class DistillationHyperParameters.Builder (3.56.0)

public static final class DistillationHyperParameters.Builder extends GeneratedMessageV3.Builder<DistillationHyperParameters.Builder> implements DistillationHyperParametersOrBuilder

Hyperparameters for Distillation.

Protobuf type google.cloud.aiplatform.v1beta1.DistillationHyperParameters

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DistillationHyperParameters.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DistillationHyperParameters.Builder
Overrides

build()

public DistillationHyperParameters build()
Returns
Type Description
DistillationHyperParameters

buildPartial()

public DistillationHyperParameters buildPartial()
Returns
Type Description
DistillationHyperParameters

clear()

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

clearAdapterSize()

public DistillationHyperParameters.Builder clearAdapterSize()

Optional. Adapter size for distillation.

.google.cloud.aiplatform.v1beta1.SupervisedHyperParameters.AdapterSize adapter_size = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DistillationHyperParameters.Builder

This builder for chaining.

clearEpochCount()

public DistillationHyperParameters.Builder clearEpochCount()

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

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

Returns
Type Description
DistillationHyperParameters.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public DistillationHyperParameters.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
DistillationHyperParameters.Builder
Overrides

clearLearningRateMultiplier()

public DistillationHyperParameters.Builder clearLearningRateMultiplier()

Optional. Multiplier for adjusting the default learning rate.

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

Returns
Type Description
DistillationHyperParameters.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public DistillationHyperParameters.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
DistillationHyperParameters.Builder
Overrides

clone()

public DistillationHyperParameters.Builder clone()
Returns
Type Description
DistillationHyperParameters.Builder
Overrides

getAdapterSize()

public SupervisedHyperParameters.AdapterSize getAdapterSize()

Optional. Adapter size for distillation.

.google.cloud.aiplatform.v1beta1.SupervisedHyperParameters.AdapterSize adapter_size = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SupervisedHyperParameters.AdapterSize

The adapterSize.

getAdapterSizeValue()

public int getAdapterSizeValue()

Optional. Adapter size for distillation.

.google.cloud.aiplatform.v1beta1.SupervisedHyperParameters.AdapterSize adapter_size = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for adapterSize.

getDefaultInstanceForType()

public DistillationHyperParameters getDefaultInstanceForType()
Returns
Type Description
DistillationHyperParameters

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.

optional 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.

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

Returns
Type Description
double

The learningRateMultiplier.

hasEpochCount()

public boolean hasEpochCount()

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

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

Returns
Type Description
boolean

Whether the epochCount field is set.

hasLearningRateMultiplier()

public boolean hasLearningRateMultiplier()

Optional. Multiplier for adjusting the default learning rate.

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

Returns
Type Description
boolean

Whether the learningRateMultiplier field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DistillationHyperParameters other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DistillationHyperParameters.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DistillationHyperParameters.Builder
Overrides

setAdapterSize(SupervisedHyperParameters.AdapterSize value)

public DistillationHyperParameters.Builder setAdapterSize(SupervisedHyperParameters.AdapterSize value)

Optional. Adapter size for distillation.

.google.cloud.aiplatform.v1beta1.SupervisedHyperParameters.AdapterSize adapter_size = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value SupervisedHyperParameters.AdapterSize

The adapterSize to set.

Returns
Type Description
DistillationHyperParameters.Builder

This builder for chaining.

setAdapterSizeValue(int value)

public DistillationHyperParameters.Builder setAdapterSizeValue(int value)

Optional. Adapter size for distillation.

.google.cloud.aiplatform.v1beta1.SupervisedHyperParameters.AdapterSize adapter_size = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

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

Returns
Type Description
DistillationHyperParameters.Builder

This builder for chaining.

setEpochCount(long value)

public DistillationHyperParameters.Builder setEpochCount(long value)

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

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

Parameter
Name Description
value long

The epochCount to set.

Returns
Type Description
DistillationHyperParameters.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public DistillationHyperParameters.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DistillationHyperParameters.Builder
Overrides

setLearningRateMultiplier(double value)

public DistillationHyperParameters.Builder setLearningRateMultiplier(double value)

Optional. Multiplier for adjusting the default learning rate.

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

Parameter
Name Description
value double

The learningRateMultiplier to set.

Returns
Type Description
DistillationHyperParameters.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public DistillationHyperParameters.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
DistillationHyperParameters.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DistillationHyperParameters.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DistillationHyperParameters.Builder
Overrides