Class FullFineTunedResources.Builder (3.84.0)

public static final class FullFineTunedResources.Builder extends GeneratedMessage.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

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.

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.

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

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.

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.