public final class PreTunedModel extends GeneratedMessage implements PreTunedModelOrBuilder
A pre-tuned model for continuous tuning.
Protobuf type google.cloud.aiplatform.v1beta1.PreTunedModel
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
public static final int BASE_MODEL_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int CHECKPOINT_ID_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int TUNED_MODEL_NAME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
public static PreTunedModel getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static PreTunedModel.Builder newBuilder()
public static PreTunedModel.Builder newBuilder(PreTunedModel prototype)
public static PreTunedModel parseDelimitedFrom(InputStream input)
public static PreTunedModel parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static PreTunedModel parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
public static PreTunedModel parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static PreTunedModel parseFrom(ByteString data)
public static PreTunedModel parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PreTunedModel parseFrom(CodedInputStream input)
public static PreTunedModel parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static PreTunedModel parseFrom(InputStream input)
public static PreTunedModel parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static PreTunedModel parseFrom(ByteBuffer data)
public static PreTunedModel parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<PreTunedModel> parser()
Methods
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
public String getBaseModel()
Output only. The name of the base model this
PreTunedModel was tuned
from.
string base_model = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
String |
The baseModel.
|
public ByteString getBaseModelBytes()
Output only. The name of the base model this
PreTunedModel was tuned
from.
string base_model = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
ByteString |
The bytes for baseModel.
|
public String getCheckpointId()
Optional. The source checkpoint id. If not specified, the default
checkpoint will be used.
string checkpoint_id = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
String |
The checkpointId.
|
public ByteString getCheckpointIdBytes()
Optional. The source checkpoint id. If not specified, the default
checkpoint will be used.
string checkpoint_id = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
ByteString |
The bytes for checkpointId.
|
public PreTunedModel getDefaultInstanceForType()
public Parser<PreTunedModel> getParserForType()
Overrides
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
public String getTunedModelName()
The resource name of the Model.
E.g., a model resource name with a specified version id or alias:
projects/{project}/locations/{location}/models/{model}@{version_id}
projects/{project}/locations/{location}/models/{model}@{alias}
Or, omit the version id to use the default version:
projects/{project}/locations/{location}/models/{model}
string tuned_model_name = 1 [(.google.api.resource_reference) = { ... }
| Returns |
| Type |
Description |
String |
The tunedModelName.
|
public ByteString getTunedModelNameBytes()
The resource name of the Model.
E.g., a model resource name with a specified version id or alias:
projects/{project}/locations/{location}/models/{model}@{version_id}
projects/{project}/locations/{location}/models/{model}@{alias}
Or, omit the version id to use the default version:
projects/{project}/locations/{location}/models/{model}
string tuned_model_name = 1 [(.google.api.resource_reference) = { ... }
| Returns |
| Type |
Description |
ByteString |
The bytes for tunedModelName.
|
| Returns |
| Type |
Description |
int |
|
Overrides
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public PreTunedModel.Builder newBuilderForType()
protected PreTunedModel.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
public PreTunedModel.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides