Send feedback
Class FullFineTunedResources.Builder (3.82.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version latestkeyboard_arrow_down
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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors . Descriptor getDescriptor ()
Methods
public FullFineTunedResources . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
public FullFineTunedResources build ()
public FullFineTunedResources buildPartial ()
public FullFineTunedResources . Builder clear ()
Overrides
public FullFineTunedResources . Builder clearDeploymentType ()
Required. The kind of deployment.
.google.cloud.aiplatform.v1beta1.FullFineTunedResources.DeploymentType deployment_type = 1 [(.google.api.field_behavior) = REQUIRED];
public FullFineTunedResources . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
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];
public FullFineTunedResources . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
public FullFineTunedResources . Builder clone ()
Overrides
public FullFineTunedResources getDefaultInstanceForType ()
public FullFineTunedResources . DeploymentType getDeploymentType ()
Required. The kind of deployment.
.google.cloud.aiplatform.v1beta1.FullFineTunedResources.DeploymentType deployment_type = 1 [(.google.api.field_behavior) = REQUIRED];
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.
public Descriptors . Descriptor getDescriptorForType ()
Overrides
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.
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public FullFineTunedResources . Builder mergeFrom ( FullFineTunedResources other )
public FullFineTunedResources . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
public FullFineTunedResources . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
public final FullFineTunedResources . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
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];
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.
public FullFineTunedResources . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
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.
public FullFineTunedResources . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
public final FullFineTunedResources . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-01-09 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-01-09 UTC."],[],[]]