Class FullFineTunedResources.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<FullFineTunedResources.Builder>
com.google.cloud.aiplatform.v1beta1.FullFineTunedResources.Builder
All Implemented Interfaces:
FullFineTunedResourcesOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
FullFineTunedResources

public static final class FullFineTunedResources.Builder extends com.google.protobuf.GeneratedMessage.Builder<FullFineTunedResources.Builder> implements FullFineTunedResourcesOrBuilder
 Resources for an fft model.
 
Protobuf type google.cloud.aiplatform.v1beta1.FullFineTunedResources
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<FullFineTunedResources.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<FullFineTunedResources.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<FullFineTunedResources.Builder>
    • getDefaultInstanceForType

      public FullFineTunedResources getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public FullFineTunedResources build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public FullFineTunedResources buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public FullFineTunedResources.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<FullFineTunedResources.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<FullFineTunedResources.Builder>
    • mergeFrom

      public FullFineTunedResources.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<FullFineTunedResources.Builder>
      Throws:
      IOException
    • getDeploymentTypeValue

      public int getDeploymentTypeValue()
       Required. The kind of deployment.
       
      .google.cloud.aiplatform.v1beta1.FullFineTunedResources.DeploymentType deployment_type = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDeploymentTypeValue in interface FullFineTunedResourcesOrBuilder
      Returns:
      The enum numeric value on the wire for deploymentType.
    • setDeploymentTypeValue

      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];
      Parameters:
      value - The enum numeric value on the wire for deploymentType to set.
      Returns:
      This builder for chaining.
    • getDeploymentType

      public FullFineTunedResources.DeploymentType getDeploymentType()
       Required. The kind of deployment.
       
      .google.cloud.aiplatform.v1beta1.FullFineTunedResources.DeploymentType deployment_type = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDeploymentType in interface FullFineTunedResourcesOrBuilder
      Returns:
      The deploymentType.
    • setDeploymentType

       Required. The kind of deployment.
       
      .google.cloud.aiplatform.v1beta1.FullFineTunedResources.DeploymentType deployment_type = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The deploymentType to set.
      Returns:
      This builder for chaining.
    • 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:
      This builder for chaining.
    • 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];
      Specified by:
      getModelInferenceUnitCount in interface FullFineTunedResourcesOrBuilder
      Returns:
      The modelInferenceUnitCount.
    • setModelInferenceUnitCount

      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];
      Parameters:
      value - The modelInferenceUnitCount to set.
      Returns:
      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:
      This builder for chaining.