Class VeoTuningSpec.Builder (3.88.0)

public static final class VeoTuningSpec.Builder extends GeneratedMessage.Builder<VeoTuningSpec.Builder> implements VeoTuningSpecOrBuilder

Tuning Spec for Veo Model Tuning.

Protobuf type google.cloud.aiplatform.v1beta1.VeoTuningSpec

Static Methods

getDescriptor()

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

Methods

build()

public VeoTuningSpec build()
Returns
Type Description
VeoTuningSpec

buildPartial()

public VeoTuningSpec buildPartial()
Returns
Type Description
VeoTuningSpec

clear()

public VeoTuningSpec.Builder clear()
Returns
Type Description
VeoTuningSpec.Builder
Overrides

clearHyperParameters()

public VeoTuningSpec.Builder clearHyperParameters()

Optional. Hyperparameters for Veo.

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

Returns
Type Description
VeoTuningSpec.Builder

clearTrainingDatasetUri()

public VeoTuningSpec.Builder clearTrainingDatasetUri()

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

This builder for chaining.

clearValidationDatasetUri()

public VeoTuningSpec.Builder clearValidationDatasetUri()

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

This builder for chaining.

getDefaultInstanceForType()

public VeoTuningSpec getDefaultInstanceForType()
Returns
Type Description
VeoTuningSpec

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

getHyperParametersBuilder()

public VeoHyperParameters.Builder getHyperParametersBuilder()

Optional. Hyperparameters for Veo.

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

Returns
Type Description
VeoHyperParameters.Builder

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

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(VeoTuningSpec other)

public VeoTuningSpec.Builder mergeFrom(VeoTuningSpec other)
Parameter
Name Description
other VeoTuningSpec
Returns
Type Description
VeoTuningSpec.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public VeoTuningSpec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VeoTuningSpec.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public VeoTuningSpec.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
VeoTuningSpec.Builder
Overrides

mergeHyperParameters(VeoHyperParameters value)

public VeoTuningSpec.Builder mergeHyperParameters(VeoHyperParameters value)

Optional. Hyperparameters for Veo.

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

Parameter
Name Description
value VeoHyperParameters
Returns
Type Description
VeoTuningSpec.Builder

setHyperParameters(VeoHyperParameters value)

public VeoTuningSpec.Builder setHyperParameters(VeoHyperParameters value)

Optional. Hyperparameters for Veo.

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

Parameter
Name Description
value VeoHyperParameters
Returns
Type Description
VeoTuningSpec.Builder

setHyperParameters(VeoHyperParameters.Builder builderForValue)

public VeoTuningSpec.Builder setHyperParameters(VeoHyperParameters.Builder builderForValue)

Optional. Hyperparameters for Veo.

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

Parameter
Name Description
builderForValue VeoHyperParameters.Builder
Returns
Type Description
VeoTuningSpec.Builder

setTrainingDatasetUri(String value)

public VeoTuningSpec.Builder setTrainingDatasetUri(String value)

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];

Parameter
Name Description
value String

The trainingDatasetUri to set.

Returns
Type Description
VeoTuningSpec.Builder

This builder for chaining.

setTrainingDatasetUriBytes(ByteString value)

public VeoTuningSpec.Builder setTrainingDatasetUriBytes(ByteString value)

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];

Parameter
Name Description
value ByteString

The bytes for trainingDatasetUri to set.

Returns
Type Description
VeoTuningSpec.Builder

This builder for chaining.

setValidationDatasetUri(String value)

public VeoTuningSpec.Builder setValidationDatasetUri(String value)

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];

Parameter
Name Description
value String

The validationDatasetUri to set.

Returns
Type Description
VeoTuningSpec.Builder

This builder for chaining.

setValidationDatasetUriBytes(ByteString value)

public VeoTuningSpec.Builder setValidationDatasetUriBytes(ByteString value)

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];

Parameter
Name Description
value ByteString

The bytes for validationDatasetUri to set.

Returns
Type Description
VeoTuningSpec.Builder

This builder for chaining.