Class FullFineTunedResources.Builder (3.82.0)

public static final class FullFineTunedResources.Builder extends GeneratedMessageV3.Builder<FullFineTunedResources.Builder> implements FullFineTunedResourcesOrBuilder

Resources for an fft model.

Protobuf type google.cloud.aiplatform.v1beta1.FullFineTunedResources

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public FullFineTunedResources build()
Returns
Type Description
FullFineTunedResources

buildPartial()

public FullFineTunedResources buildPartial()
Returns
Type Description
FullFineTunedResources

clear()

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

clearDeploymentType()

public FullFineTunedResources.Builder clearDeploymentType()

Required. The kind of deployment.

.google.cloud.aiplatform.v1beta1.FullFineTunedResources.DeploymentType deployment_type = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FullFineTunedResources.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearModelInferenceUnitCount()

public FullFineTunedResources.Builder clearModelInferenceUnitCount()

Optional. The number of model inference units to use for this deployment. This can only be specified for DEPLOYMENT_TYPE_PROD. The following table lists the number of model inference units for different model types:

  • Gemini 2.5 Flash
    • Foundation FMIU: 25
    • Expansion FMIU: 4
  • Gemini 2.5 Pro
    • Foundation FMIU: 32
    • Expansion FMIU: 16
  • Veo 3.0 (undistilled)
    • Foundation FMIU: 63
    • Expansion FMIU: 7
  • Veo 3.0 (distilled)
    • Foundation FMIU: 30
    • Expansion FMIU: 10

int32 model_inference_unit_count = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FullFineTunedResources.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public FullFineTunedResources getDefaultInstanceForType()
Returns
Type Description
FullFineTunedResources

getDeploymentType()

public FullFineTunedResources.DeploymentType getDeploymentType()

Required. The kind of deployment.

.google.cloud.aiplatform.v1beta1.FullFineTunedResources.DeploymentType deployment_type = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FullFineTunedResources.DeploymentType

The deploymentType.

getDeploymentTypeValue()

public int getDeploymentTypeValue()

Required. The kind of deployment.

.google.cloud.aiplatform.v1beta1.FullFineTunedResources.DeploymentType deployment_type = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The enum numeric value on the wire for deploymentType.

getDescriptorForType()

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

getModelInferenceUnitCount()

public int getModelInferenceUnitCount()

Optional. The number of model inference units to use for this deployment. This can only be specified for DEPLOYMENT_TYPE_PROD. The following table lists the number of model inference units for different model types:

  • Gemini 2.5 Flash
    • Foundation FMIU: 25
    • Expansion FMIU: 4
  • Gemini 2.5 Pro
    • Foundation FMIU: 32
    • Expansion FMIU: 16
  • Veo 3.0 (undistilled)
    • Foundation FMIU: 63
    • Expansion FMIU: 7
  • Veo 3.0 (distilled)
    • Foundation FMIU: 30
    • Expansion FMIU: 10

int32 model_inference_unit_count = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The modelInferenceUnitCount.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(FullFineTunedResources other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setDeploymentType(FullFineTunedResources.DeploymentType value)

public FullFineTunedResources.Builder setDeploymentType(FullFineTunedResources.DeploymentType value)

Required. The kind of deployment.

.google.cloud.aiplatform.v1beta1.FullFineTunedResources.DeploymentType deployment_type = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value FullFineTunedResources.DeploymentType

The deploymentType to set.

Returns
Type Description
FullFineTunedResources.Builder

This builder for chaining.

setDeploymentTypeValue(int value)

public FullFineTunedResources.Builder setDeploymentTypeValue(int value)

Required. The kind of deployment.

.google.cloud.aiplatform.v1beta1.FullFineTunedResources.DeploymentType deployment_type = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value int

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

Returns
Type Description
FullFineTunedResources.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setModelInferenceUnitCount(int value)

public FullFineTunedResources.Builder setModelInferenceUnitCount(int value)

Optional. The number of model inference units to use for this deployment. This can only be specified for DEPLOYMENT_TYPE_PROD. The following table lists the number of model inference units for different model types:

  • Gemini 2.5 Flash
    • Foundation FMIU: 25
    • Expansion FMIU: 4
  • Gemini 2.5 Pro
    • Foundation FMIU: 32
    • Expansion FMIU: 16
  • Veo 3.0 (undistilled)
    • Foundation FMIU: 63
    • Expansion FMIU: 7
  • Veo 3.0 (distilled)
    • Foundation FMIU: 30
    • Expansion FMIU: 10

int32 model_inference_unit_count = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

The modelInferenceUnitCount to set.

Returns
Type Description
FullFineTunedResources.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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