@Generated public final class PreTunedModel extends com.google.protobuf.GeneratedMessage implements PreTunedModelOrBuilder
A pre-tuned model for continuous tuning.Protobuf type
google.cloud.aiplatform.v1.PreTunedModel| Modifier and Type | Class and Description |
|---|---|
static class |
PreTunedModel.Builder
A pre-tuned model for continuous tuning.
|
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message,T>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
BASE_MODEL_FIELD_NUMBER |
static int |
CHECKPOINT_ID_FIELD_NUMBER |
static int |
TUNED_MODEL_NAME_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getBaseModel()
Output only.
|
com.google.protobuf.ByteString |
getBaseModelBytes()
Output only.
|
String |
getCheckpointId()
Optional.
|
com.google.protobuf.ByteString |
getCheckpointIdBytes()
Optional.
|
static PreTunedModel |
getDefaultInstance() |
PreTunedModel |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Parser<PreTunedModel> |
getParserForType() |
int |
getSerializedSize() |
String |
getTunedModelName()
The resource name of the Model.
|
com.google.protobuf.ByteString |
getTunedModelNameBytes()
The resource name of the Model.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static PreTunedModel.Builder |
newBuilder() |
static PreTunedModel.Builder |
newBuilder(PreTunedModel prototype) |
PreTunedModel.Builder |
newBuilderForType() |
protected PreTunedModel.Builder |
newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) |
static PreTunedModel |
parseDelimitedFrom(InputStream input) |
static PreTunedModel |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PreTunedModel |
parseFrom(byte[] data) |
static PreTunedModel |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PreTunedModel |
parseFrom(ByteBuffer data) |
static PreTunedModel |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PreTunedModel |
parseFrom(com.google.protobuf.ByteString data) |
static PreTunedModel |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PreTunedModel |
parseFrom(com.google.protobuf.CodedInputStream input) |
static PreTunedModel |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PreTunedModel |
parseFrom(InputStream input) |
static PreTunedModel |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<PreTunedModel> |
parser() |
PreTunedModel.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashFields, toStringaddAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int TUNED_MODEL_NAME_FIELD_NUMBER
public static final int CHECKPOINT_ID_FIELD_NUMBER
public static final int BASE_MODEL_FIELD_NUMBER
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessagepublic 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) = { ... }getTunedModelName in interface PreTunedModelOrBuilderpublic com.google.protobuf.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) = { ... }getTunedModelNameBytes in interface PreTunedModelOrBuilderpublic 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];getCheckpointId in interface PreTunedModelOrBuilderpublic com.google.protobuf.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];getCheckpointIdBytes in interface PreTunedModelOrBuilderpublic String getBaseModel()
Output only. The name of the base model this [PreTunedModel][google.cloud.aiplatform.v1.PreTunedModel] was tuned from.
string base_model = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];getBaseModel in interface PreTunedModelOrBuilderpublic com.google.protobuf.ByteString getBaseModelBytes()
Output only. The name of the base model this [PreTunedModel][google.cloud.aiplatform.v1.PreTunedModel] was tuned from.
string base_model = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];getBaseModelBytes in interface PreTunedModelOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessagepublic void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageIOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessagepublic boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static PreTunedModel parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PreTunedModel parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PreTunedModel parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PreTunedModel parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PreTunedModel parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PreTunedModel parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PreTunedModel parseFrom(InputStream input) throws IOException
IOExceptionpublic static PreTunedModel parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static PreTunedModel parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static PreTunedModel parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static PreTunedModel parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static PreTunedModel parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic PreTunedModel.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static PreTunedModel.Builder newBuilder()
public static PreTunedModel.Builder newBuilder(PreTunedModel prototype)
public PreTunedModel.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected PreTunedModel.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.AbstractMessagepublic static PreTunedModel getDefaultInstance()
public static com.google.protobuf.Parser<PreTunedModel> parser()
public com.google.protobuf.Parser<PreTunedModel> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic PreTunedModel getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2026 Google LLC. All rights reserved.