public static final class SupervisedTuningSpec.Builder extends GeneratedMessageV3.Builder<SupervisedTuningSpec.Builder> implements SupervisedTuningSpecOrBuilder
Tuning Spec for Supervised Tuning.
Protobuf type google.cloud.aiplatform.v1.SupervisedTuningSpec
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public SupervisedTuningSpec.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public SupervisedTuningSpec build()
public SupervisedTuningSpec buildPartial()
public SupervisedTuningSpec.Builder clear()
Overrides
public SupervisedTuningSpec.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public SupervisedTuningSpec.Builder clearHyperParameters()
Optional. Hyperparameters for SFT.
.google.cloud.aiplatform.v1.SupervisedHyperParameters hyper_parameters = 3 [(.google.api.field_behavior) = OPTIONAL];
public SupervisedTuningSpec.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public SupervisedTuningSpec.Builder clearTrainingDatasetUri()
Required. Cloud Storage path to file containing training dataset for
tuning.
string training_dataset_uri = 1 [(.google.api.field_behavior) = REQUIRED];
public SupervisedTuningSpec.Builder clearValidationDatasetUri()
Optional. Cloud Storage path to file containing validation dataset for
tuning.
string validation_dataset_uri = 2 [(.google.api.field_behavior) = OPTIONAL];
public SupervisedTuningSpec.Builder clone()
Overrides
public SupervisedTuningSpec getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public SupervisedHyperParameters getHyperParameters()
Optional. Hyperparameters for SFT.
.google.cloud.aiplatform.v1.SupervisedHyperParameters hyper_parameters = 3 [(.google.api.field_behavior) = OPTIONAL];
public SupervisedHyperParameters.Builder getHyperParametersBuilder()
Optional. Hyperparameters for SFT.
.google.cloud.aiplatform.v1.SupervisedHyperParameters hyper_parameters = 3 [(.google.api.field_behavior) = OPTIONAL];
public SupervisedHyperParametersOrBuilder getHyperParametersOrBuilder()
Optional. Hyperparameters for SFT.
.google.cloud.aiplatform.v1.SupervisedHyperParameters hyper_parameters = 3 [(.google.api.field_behavior) = OPTIONAL];
public String getTrainingDatasetUri()
Required. Cloud Storage path to file containing training dataset for
tuning.
string training_dataset_uri = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
String |
The trainingDatasetUri.
|
public ByteString getTrainingDatasetUriBytes()
Required. Cloud Storage path to file containing training dataset for
tuning.
string training_dataset_uri = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
ByteString |
The bytes for trainingDatasetUri.
|
public String getValidationDatasetUri()
Optional. Cloud Storage path to file containing validation dataset for
tuning.
string validation_dataset_uri = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
String |
The validationDatasetUri.
|
public ByteString getValidationDatasetUriBytes()
Optional. Cloud Storage path to file containing validation dataset for
tuning.
string validation_dataset_uri = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
ByteString |
The bytes for validationDatasetUri.
|
public boolean hasHyperParameters()
Optional. Hyperparameters for SFT.
.google.cloud.aiplatform.v1.SupervisedHyperParameters hyper_parameters = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
Whether the hyperParameters field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public SupervisedTuningSpec.Builder mergeFrom(SupervisedTuningSpec other)
public SupervisedTuningSpec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public SupervisedTuningSpec.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public SupervisedTuningSpec.Builder mergeHyperParameters(SupervisedHyperParameters value)
Optional. Hyperparameters for SFT.
.google.cloud.aiplatform.v1.SupervisedHyperParameters hyper_parameters = 3 [(.google.api.field_behavior) = OPTIONAL];
public final SupervisedTuningSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public SupervisedTuningSpec.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public SupervisedTuningSpec.Builder setHyperParameters(SupervisedHyperParameters value)
Optional. Hyperparameters for SFT.
.google.cloud.aiplatform.v1.SupervisedHyperParameters hyper_parameters = 3 [(.google.api.field_behavior) = OPTIONAL];
public SupervisedTuningSpec.Builder setHyperParameters(SupervisedHyperParameters.Builder builderForValue)
Optional. Hyperparameters for SFT.
.google.cloud.aiplatform.v1.SupervisedHyperParameters hyper_parameters = 3 [(.google.api.field_behavior) = OPTIONAL];
public SupervisedTuningSpec.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public SupervisedTuningSpec.Builder setTrainingDatasetUri(String value)
Required. Cloud Storage path to file containing training dataset for
tuning.
string training_dataset_uri = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
String
The trainingDatasetUri to set.
|
public SupervisedTuningSpec.Builder setTrainingDatasetUriBytes(ByteString value)
Required. Cloud Storage path to file containing training dataset for
tuning.
string training_dataset_uri = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
ByteString
The bytes for trainingDatasetUri to set.
|
public final SupervisedTuningSpec.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
public SupervisedTuningSpec.Builder setValidationDatasetUri(String value)
Optional. Cloud Storage path to file containing validation dataset for
tuning.
string validation_dataset_uri = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
value |
String
The validationDatasetUri to set.
|
public SupervisedTuningSpec.Builder setValidationDatasetUriBytes(ByteString value)
Optional. Cloud Storage path to file containing validation dataset for
tuning.
string validation_dataset_uri = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
value |
ByteString
The bytes for validationDatasetUri to set.
|