public static final class FullFineTunedResources.Builder extends GeneratedMessage.Builder<FullFineTunedResources.Builder> implements FullFineTunedResourcesOrBuilderResources for an fft model.
Protobuf type google.cloud.aiplatform.v1beta1.FullFineTunedResources
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > FullFineTunedResources.BuilderImplements
FullFineTunedResourcesOrBuilderStatic 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 |
|
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 |
|
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 |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public FullFineTunedResources.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
FullFineTunedResources.Builder |
|
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.DeploymentTypeThe 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 |
intThe 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 |
intThe modelInferenceUnitCount to set. |
| Returns | |
|---|---|
| Type | Description |
FullFineTunedResources.Builder |
This builder for chaining. |