Class VeoHyperParameters

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.aiplatform.v1beta1.VeoHyperParameters
All Implemented Interfaces:
VeoHyperParametersOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class VeoHyperParameters extends com.google.protobuf.GeneratedMessage implements VeoHyperParametersOrBuilder
 Hyperparameters for Veo.
 
Protobuf type google.cloud.aiplatform.v1beta1.VeoHyperParameters
See Also:
  • Field Details

    • EPOCH_COUNT_FIELD_NUMBER

      public static final int EPOCH_COUNT_FIELD_NUMBER
      See Also:
    • LEARNING_RATE_MULTIPLIER_FIELD_NUMBER

      public static final int LEARNING_RATE_MULTIPLIER_FIELD_NUMBER
      See Also:
    • TUNING_TASK_FIELD_NUMBER

      public static final int TUNING_TASK_FIELD_NUMBER
      See Also:
    • VEO_DATA_MIXTURE_RATIO_FIELD_NUMBER

      public static final int VEO_DATA_MIXTURE_RATIO_FIELD_NUMBER
      See Also:
    • TUNING_SPEED_FIELD_NUMBER

      public static final int TUNING_SPEED_FIELD_NUMBER
      See Also:
    • ADAPTER_SIZE_FIELD_NUMBER

      public static final int ADAPTER_SIZE_FIELD_NUMBER
      See Also:
  • 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
    • getEpochCount

      public long getEpochCount()
       Optional. Number of complete passes the model makes over the entire
       training dataset during training.
       
      int64 epoch_count = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getEpochCount in interface VeoHyperParametersOrBuilder
      Returns:
      The epochCount.
    • getLearningRateMultiplier

      public double getLearningRateMultiplier()
       Optional. Multiplier for adjusting the default learning rate.
       
      double learning_rate_multiplier = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLearningRateMultiplier in interface VeoHyperParametersOrBuilder
      Returns:
      The learningRateMultiplier.
    • getTuningTaskValue

      public int getTuningTaskValue()
       Optional. The tuning task. Either I2V or T2V.
       
      .google.cloud.aiplatform.v1beta1.VeoHyperParameters.TuningTask tuning_task = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTuningTaskValue in interface VeoHyperParametersOrBuilder
      Returns:
      The enum numeric value on the wire for tuningTask.
    • getTuningTask

      public VeoHyperParameters.TuningTask getTuningTask()
       Optional. The tuning task. Either I2V or T2V.
       
      .google.cloud.aiplatform.v1beta1.VeoHyperParameters.TuningTask tuning_task = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTuningTask in interface VeoHyperParametersOrBuilder
      Returns:
      The tuningTask.
    • hasVeoDataMixtureRatio

      public boolean hasVeoDataMixtureRatio()
       Optional. The ratio of Google internal dataset to use in the training
       mixture, in range of `[0, 1)`. If `0.2`, it means 20% of Google internal
       dataset and 80% of user dataset will be used for training. If not set, the
       default value is 0.1.
       
      optional double veo_data_mixture_ratio = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasVeoDataMixtureRatio in interface VeoHyperParametersOrBuilder
      Returns:
      Whether the veoDataMixtureRatio field is set.
    • getVeoDataMixtureRatio

      public double getVeoDataMixtureRatio()
       Optional. The ratio of Google internal dataset to use in the training
       mixture, in range of `[0, 1)`. If `0.2`, it means 20% of Google internal
       dataset and 80% of user dataset will be used for training. If not set, the
       default value is 0.1.
       
      optional double veo_data_mixture_ratio = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getVeoDataMixtureRatio in interface VeoHyperParametersOrBuilder
      Returns:
      The veoDataMixtureRatio.
    • hasTuningSpeed

      public boolean hasTuningSpeed()
       The speed of the tuning job. Only supported for Veo 3.0 models.
       
      optional .google.cloud.aiplatform.v1beta1.VeoHyperParameters.TuningSpeed tuning_speed = 5;
      Specified by:
      hasTuningSpeed in interface VeoHyperParametersOrBuilder
      Returns:
      Whether the tuningSpeed field is set.
    • getTuningSpeedValue

      public int getTuningSpeedValue()
       The speed of the tuning job. Only supported for Veo 3.0 models.
       
      optional .google.cloud.aiplatform.v1beta1.VeoHyperParameters.TuningSpeed tuning_speed = 5;
      Specified by:
      getTuningSpeedValue in interface VeoHyperParametersOrBuilder
      Returns:
      The enum numeric value on the wire for tuningSpeed.
    • getTuningSpeed

      public VeoHyperParameters.TuningSpeed getTuningSpeed()
       The speed of the tuning job. Only supported for Veo 3.0 models.
       
      optional .google.cloud.aiplatform.v1beta1.VeoHyperParameters.TuningSpeed tuning_speed = 5;
      Specified by:
      getTuningSpeed in interface VeoHyperParametersOrBuilder
      Returns:
      The tuningSpeed.
    • getAdapterSizeValue

      public int getAdapterSizeValue()
       Optional. The adapter size for LoRA tuning.
       
      .google.cloud.aiplatform.v1beta1.VeoHyperParameters.AdapterSize adapter_size = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAdapterSizeValue in interface VeoHyperParametersOrBuilder
      Returns:
      The enum numeric value on the wire for adapterSize.
    • getAdapterSize

      public VeoHyperParameters.AdapterSize getAdapterSize()
       Optional. The adapter size for LoRA tuning.
       
      .google.cloud.aiplatform.v1beta1.VeoHyperParameters.AdapterSize adapter_size = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAdapterSize in interface VeoHyperParametersOrBuilder
      Returns:
      The adapterSize.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static VeoHyperParameters parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static VeoHyperParameters parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static VeoHyperParameters parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static VeoHyperParameters parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static VeoHyperParameters parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static VeoHyperParameters parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static VeoHyperParameters parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static VeoHyperParameters parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static VeoHyperParameters parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static VeoHyperParameters parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static VeoHyperParameters parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static VeoHyperParameters parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public VeoHyperParameters.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static VeoHyperParameters.Builder newBuilder()
    • newBuilder

      public static VeoHyperParameters.Builder newBuilder(VeoHyperParameters prototype)
    • toBuilder

      public VeoHyperParameters.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected VeoHyperParameters.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static VeoHyperParameters getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<VeoHyperParameters> parser()
    • getParserForType

      public com.google.protobuf.Parser<VeoHyperParameters> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public VeoHyperParameters getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder