Class VeoLoraTuningSpec (3.100.0)

public final class VeoLoraTuningSpec extends GeneratedMessage implements VeoLoraTuningSpecOrBuilder

Tuning Spec for Veo LoRA Model Tuning.

Protobuf type google.cloud.aiplatform.v1beta1.VeoLoraTuningSpec

Static Fields

HYPER_PARAMETERS_FIELD_NUMBER

public static final int HYPER_PARAMETERS_FIELD_NUMBER
Field Value
Type Description
int

TRAINING_DATASET_URI_FIELD_NUMBER

public static final int TRAINING_DATASET_URI_FIELD_NUMBER
Field Value
Type Description
int

VALIDATION_DATASET_URI_FIELD_NUMBER

public static final int VALIDATION_DATASET_URI_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static VeoLoraTuningSpec getDefaultInstance()
Returns
Type Description
VeoLoraTuningSpec

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static VeoLoraTuningSpec.Builder newBuilder()
Returns
Type Description
VeoLoraTuningSpec.Builder

newBuilder(VeoLoraTuningSpec prototype)

public static VeoLoraTuningSpec.Builder newBuilder(VeoLoraTuningSpec prototype)
Parameter
Name Description
prototype VeoLoraTuningSpec
Returns
Type Description
VeoLoraTuningSpec.Builder

parseDelimitedFrom(InputStream input)

public static VeoLoraTuningSpec parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
VeoLoraTuningSpec
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static VeoLoraTuningSpec parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VeoLoraTuningSpec
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static VeoLoraTuningSpec parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
VeoLoraTuningSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static VeoLoraTuningSpec parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VeoLoraTuningSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static VeoLoraTuningSpec parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
VeoLoraTuningSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static VeoLoraTuningSpec parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VeoLoraTuningSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static VeoLoraTuningSpec parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
VeoLoraTuningSpec
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static VeoLoraTuningSpec parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VeoLoraTuningSpec
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static VeoLoraTuningSpec parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
VeoLoraTuningSpec
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static VeoLoraTuningSpec parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VeoLoraTuningSpec
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static VeoLoraTuningSpec parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
VeoLoraTuningSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static VeoLoraTuningSpec parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VeoLoraTuningSpec
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<VeoLoraTuningSpec> parser()
Returns
Type Description
Parser<VeoLoraTuningSpec>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public VeoLoraTuningSpec getDefaultInstanceForType()
Returns
Type Description
VeoLoraTuningSpec

getHyperParameters()

public VeoHyperParameters getHyperParameters()

Optional. Hyperparameters for Veo LoRA.

.google.cloud.aiplatform.v1beta1.VeoHyperParameters hyper_parameters = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
VeoHyperParameters

The hyperParameters.

getHyperParametersOrBuilder()

public VeoHyperParametersOrBuilder getHyperParametersOrBuilder()

Optional. Hyperparameters for Veo LoRA.

.google.cloud.aiplatform.v1beta1.VeoHyperParameters hyper_parameters = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
VeoHyperParametersOrBuilder

getParserForType()

public Parser<VeoLoraTuningSpec> getParserForType()
Returns
Type Description
Parser<VeoLoraTuningSpec>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTrainingDatasetUri()

public String getTrainingDatasetUri()

Required. Training dataset used for tuning. The dataset can be specified as either a Cloud Storage path to a JSONL file or as the resource name of a Vertex Multimodal Dataset.

string training_dataset_uri = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The trainingDatasetUri.

getTrainingDatasetUriBytes()

public ByteString getTrainingDatasetUriBytes()

Required. Training dataset used for tuning. The dataset can be specified as either a Cloud Storage path to a JSONL file or as the resource name of a Vertex Multimodal Dataset.

string training_dataset_uri = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for trainingDatasetUri.

getValidationDatasetUri()

public String getValidationDatasetUri()

Optional. Validation dataset used for tuning. The dataset can be specified as either a Cloud Storage path to a JSONL file or as the resource name of a Vertex Multimodal Dataset.

string validation_dataset_uri = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The validationDatasetUri.

getValidationDatasetUriBytes()

public ByteString getValidationDatasetUriBytes()

Optional. Validation dataset used for tuning. The dataset can be specified as either a Cloud Storage path to a JSONL file or as the resource name of a Vertex Multimodal Dataset.

string validation_dataset_uri = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for validationDatasetUri.

hasHyperParameters()

public boolean hasHyperParameters()

Optional. Hyperparameters for Veo LoRA.

.google.cloud.aiplatform.v1beta1.VeoHyperParameters hyper_parameters = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the hyperParameters field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public VeoLoraTuningSpec.Builder newBuilderForType()
Returns
Type Description
VeoLoraTuningSpec.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected VeoLoraTuningSpec.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
VeoLoraTuningSpec.Builder
Overrides

toBuilder()

public VeoLoraTuningSpec.Builder toBuilder()
Returns
Type Description
VeoLoraTuningSpec.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException