Send feedback
Class PartnerModelTuningSpec (3.56.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.56.0 keyboard_arrow_down
public final class PartnerModelTuningSpec extends GeneratedMessageV3 implements PartnerModelTuningSpecOrBuilder
Tuning spec for Partner models.
Protobuf type google.cloud.aiplatform.v1beta1.PartnerModelTuningSpec
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int HYPER_PARAMETERS_FIELD_NUMBER
Field Value
Type
Description
int
public static final int TRAINING_DATASET_URI_FIELD_NUMBER
Field Value
Type
Description
int
public static final int VALIDATION_DATASET_URI_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
public static PartnerModelTuningSpec getDefaultInstance ()
public static final Descriptors . Descriptor getDescriptor ()
public static PartnerModelTuningSpec . Builder newBuilder ()
public static PartnerModelTuningSpec . Builder newBuilder ( PartnerModelTuningSpec prototype )
public static PartnerModelTuningSpec parseDelimitedFrom ( InputStream input )
public static PartnerModelTuningSpec parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static PartnerModelTuningSpec parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
public static PartnerModelTuningSpec parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
public static PartnerModelTuningSpec parseFrom ( ByteString data )
public static PartnerModelTuningSpec parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static PartnerModelTuningSpec parseFrom ( CodedInputStream input )
public static PartnerModelTuningSpec parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static PartnerModelTuningSpec parseFrom ( InputStream input )
public static PartnerModelTuningSpec parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static PartnerModelTuningSpec parseFrom ( ByteBuffer data )
public static PartnerModelTuningSpec parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
public static Parser<PartnerModelTuningSpec> parser ()
Methods
public boolean containsHyperParameters ( String key )
Hyperparameters for tuning. The accepted hyper_parameters and their valid
range of values will differ depending on the base model.
map<string, .google.protobuf.Value> hyper_parameters = 3;
Parameter
Name
Description
key
String
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
public PartnerModelTuningSpec getDefaultInstanceForType ()
public Map<String , Value > getHyperParameters ()
public int getHyperParametersCount ()
Hyperparameters for tuning. The accepted hyper_parameters and their valid
range of values will differ depending on the base model.
map<string, .google.protobuf.Value> hyper_parameters = 3;
Returns
Type
Description
int
public Map<String , Value > getHyperParametersMap ()
Hyperparameters for tuning. The accepted hyper_parameters and their valid
range of values will differ depending on the base model.
map<string, .google.protobuf.Value> hyper_parameters = 3;
public Value getHyperParametersOrDefault ( String key , Value defaultValue )
Hyperparameters for tuning. The accepted hyper_parameters and their valid
range of values will differ depending on the base model.
map<string, .google.protobuf.Value> hyper_parameters = 3;
Parameters
Name
Description
key
String
defaultValue
Value
Returns
Type
Description
Value
public Value getHyperParametersOrThrow ( String key )
Hyperparameters for tuning. The accepted hyper_parameters and their valid
range of values will differ depending on the base model.
map<string, .google.protobuf.Value> hyper_parameters = 3;
Parameter
Name
Description
key
String
Returns
Type
Description
Value
public Parser<PartnerModelTuningSpec> getParserForType ()
Overrides
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
public String getTrainingDatasetUri ()
Required. Cloud Storage path to file containing training dataset for
tuning. The dataset must be formatted as a JSONL file.
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. The dataset must be formatted as a JSONL file.
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. The dataset must be formatted as a JSONL file.
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. The dataset must be formatted as a JSONL file.
string validation_dataset_uri = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
ByteString
The bytes for validationDatasetUri.
Returns
Type
Description
int
Overrides
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
protected MapFieldReflectionAccessor internalGetMapFieldReflection ( int number )
Parameter
Name
Description
number
int
Returns
Type
Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
public final boolean isInitialized ()
Overrides
public PartnerModelTuningSpec . Builder newBuilderForType ()
protected PartnerModelTuningSpec . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
public PartnerModelTuningSpec . Builder toBuilder ()
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]