Class VeoTuningSpec (3.73.0)

public final class VeoTuningSpec extends GeneratedMessageV3 implements VeoTuningSpecOrBuilder

Tuning Spec for Veo Model Tuning.

Protobuf type google.cloud.aiplatform.v1beta1.VeoTuningSpec

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 VeoTuningSpec getDefaultInstance()
Returns
Type Description
VeoTuningSpec

getDescriptor()

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

newBuilder()

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

newBuilder(VeoTuningSpec prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public VeoTuningSpec getDefaultInstanceForType()
Returns
Type Description
VeoTuningSpec

getHyperParameters()

public VeoHyperParameters getHyperParameters()

Optional. Hyperparameters for Veo.

.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.

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

Returns
Type Description
VeoHyperParametersOrBuilder

getParserForType()

public Parser<VeoTuningSpec> getParserForType()
Returns
Type Description
Parser<VeoTuningSpec>
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.

.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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected VeoTuningSpec.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
VeoTuningSpec.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

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