Class RebaseTunedModelRequest (3.55.0)

public final class RebaseTunedModelRequest extends GeneratedMessageV3 implements RebaseTunedModelRequestOrBuilder

Request message for GenAiTuningService.RebaseTunedModel.

Protobuf type google.cloud.aiplatform.v1beta1.RebaseTunedModelRequest

Static Fields

ARTIFACT_DESTINATION_FIELD_NUMBER

public static final int ARTIFACT_DESTINATION_FIELD_NUMBER
Field Value
Type Description
int

DEPLOY_TO_SAME_ENDPOINT_FIELD_NUMBER

public static final int DEPLOY_TO_SAME_ENDPOINT_FIELD_NUMBER
Field Value
Type Description
int

PARENT_FIELD_NUMBER

public static final int PARENT_FIELD_NUMBER
Field Value
Type Description
int

TUNED_MODEL_REF_FIELD_NUMBER

public static final int TUNED_MODEL_REF_FIELD_NUMBER
Field Value
Type Description
int

TUNING_JOB_FIELD_NUMBER

public static final int TUNING_JOB_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static RebaseTunedModelRequest getDefaultInstance()
Returns
Type Description
RebaseTunedModelRequest

getDescriptor()

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

newBuilder()

public static RebaseTunedModelRequest.Builder newBuilder()
Returns
Type Description
RebaseTunedModelRequest.Builder

newBuilder(RebaseTunedModelRequest prototype)

public static RebaseTunedModelRequest.Builder newBuilder(RebaseTunedModelRequest prototype)
Parameter
Name Description
prototype RebaseTunedModelRequest
Returns
Type Description
RebaseTunedModelRequest.Builder

parseDelimitedFrom(InputStream input)

public static RebaseTunedModelRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RebaseTunedModelRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RebaseTunedModelRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RebaseTunedModelRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static RebaseTunedModelRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
RebaseTunedModelRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static RebaseTunedModelRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RebaseTunedModelRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static RebaseTunedModelRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
RebaseTunedModelRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static RebaseTunedModelRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RebaseTunedModelRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static RebaseTunedModelRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
RebaseTunedModelRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static RebaseTunedModelRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RebaseTunedModelRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static RebaseTunedModelRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RebaseTunedModelRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RebaseTunedModelRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RebaseTunedModelRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static RebaseTunedModelRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
RebaseTunedModelRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static RebaseTunedModelRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RebaseTunedModelRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<RebaseTunedModelRequest> parser()
Returns
Type Description
Parser<RebaseTunedModelRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getArtifactDestination()

public GcsDestination getArtifactDestination()

Optional. The Google Cloud Storage location to write the artifacts.

.google.cloud.aiplatform.v1beta1.GcsDestination artifact_destination = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GcsDestination

The artifactDestination.

getArtifactDestinationOrBuilder()

public GcsDestinationOrBuilder getArtifactDestinationOrBuilder()

Optional. The Google Cloud Storage location to write the artifacts.

.google.cloud.aiplatform.v1beta1.GcsDestination artifact_destination = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GcsDestinationOrBuilder

getDefaultInstanceForType()

public RebaseTunedModelRequest getDefaultInstanceForType()
Returns
Type Description
RebaseTunedModelRequest

getDeployToSameEndpoint()

public boolean getDeployToSameEndpoint()

Optional. By default, bison to gemini migration will always create new model/endpoint, but for gemini-1.0 to gemini-1.5 migration, we default deploy to the same endpoint. See details in this Section.

bool deploy_to_same_endpoint = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The deployToSameEndpoint.

getParent()

public String getParent()

Required. The resource name of the Location into which to rebase the Model. Format: projects/{project}/locations/{location}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The resource name of the Location into which to rebase the Model. Format: projects/{project}/locations/{location}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

getParserForType()

public Parser<RebaseTunedModelRequest> getParserForType()
Returns
Type Description
Parser<RebaseTunedModelRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTunedModelRef()

public TunedModelRef getTunedModelRef()

Required. TunedModel reference to retrieve the legacy model information.

.google.cloud.aiplatform.v1beta1.TunedModelRef tuned_model_ref = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
TunedModelRef

The tunedModelRef.

getTunedModelRefOrBuilder()

public TunedModelRefOrBuilder getTunedModelRefOrBuilder()

Required. TunedModel reference to retrieve the legacy model information.

.google.cloud.aiplatform.v1beta1.TunedModelRef tuned_model_ref = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
TunedModelRefOrBuilder

getTuningJob()

public TuningJob getTuningJob()

Optional. The TuningJob to be updated. Users can use this TuningJob field to overwrite tuning configs.

.google.cloud.aiplatform.v1beta1.TuningJob tuning_job = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
TuningJob

The tuningJob.

getTuningJobOrBuilder()

public TuningJobOrBuilder getTuningJobOrBuilder()

Optional. The TuningJob to be updated. Users can use this TuningJob field to overwrite tuning configs.

.google.cloud.aiplatform.v1beta1.TuningJob tuning_job = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
TuningJobOrBuilder

hasArtifactDestination()

public boolean hasArtifactDestination()

Optional. The Google Cloud Storage location to write the artifacts.

.google.cloud.aiplatform.v1beta1.GcsDestination artifact_destination = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the artifactDestination field is set.

hasTunedModelRef()

public boolean hasTunedModelRef()

Required. TunedModel reference to retrieve the legacy model information.

.google.cloud.aiplatform.v1beta1.TunedModelRef tuned_model_ref = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the tunedModelRef field is set.

hasTuningJob()

public boolean hasTuningJob()

Optional. The TuningJob to be updated. Users can use this TuningJob field to overwrite tuning configs.

.google.cloud.aiplatform.v1beta1.TuningJob tuning_job = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the tuningJob field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public RebaseTunedModelRequest.Builder newBuilderForType()
Returns
Type Description
RebaseTunedModelRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected RebaseTunedModelRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
RebaseTunedModelRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public RebaseTunedModelRequest.Builder toBuilder()
Returns
Type Description
RebaseTunedModelRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException