Class RebaseTunedModelRequest

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.aiplatform.v1.RebaseTunedModelRequest
All Implemented Interfaces:
RebaseTunedModelRequestOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class RebaseTunedModelRequest extends com.google.protobuf.GeneratedMessage implements RebaseTunedModelRequestOrBuilder
 Request message for
 [GenAiTuningService.RebaseTunedModel][google.cloud.aiplatform.v1.GenAiTuningService.RebaseTunedModel].
 
Protobuf type google.cloud.aiplatform.v1.RebaseTunedModelRequest
See Also:
  • Field Details

    • PARENT_FIELD_NUMBER

      public static final int PARENT_FIELD_NUMBER
      See Also:
    • TUNED_MODEL_REF_FIELD_NUMBER

      public static final int TUNED_MODEL_REF_FIELD_NUMBER
      See Also:
    • TUNING_JOB_FIELD_NUMBER

      public static final int TUNING_JOB_FIELD_NUMBER
      See Also:
    • ARTIFACT_DESTINATION_FIELD_NUMBER

      public static final int ARTIFACT_DESTINATION_FIELD_NUMBER
      See Also:
    • DEPLOY_TO_SAME_ENDPOINT_FIELD_NUMBER

      public static final int DEPLOY_TO_SAME_ENDPOINT_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • 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) = { ... }
      Specified by:
      getParent in interface RebaseTunedModelRequestOrBuilder
      Returns:
      The parent.
    • getParentBytes

      public com.google.protobuf.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) = { ... }
      Specified by:
      getParentBytes in interface RebaseTunedModelRequestOrBuilder
      Returns:
      The bytes for parent.
    • hasTunedModelRef

      public boolean hasTunedModelRef()
       Required. TunedModel reference to retrieve the legacy model information.
       
      .google.cloud.aiplatform.v1.TunedModelRef tuned_model_ref = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasTunedModelRef in interface RebaseTunedModelRequestOrBuilder
      Returns:
      Whether the tunedModelRef field is set.
    • getTunedModelRef

      public TunedModelRef getTunedModelRef()
       Required. TunedModel reference to retrieve the legacy model information.
       
      .google.cloud.aiplatform.v1.TunedModelRef tuned_model_ref = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getTunedModelRef in interface RebaseTunedModelRequestOrBuilder
      Returns:
      The tunedModelRef.
    • getTunedModelRefOrBuilder

      public TunedModelRefOrBuilder getTunedModelRefOrBuilder()
       Required. TunedModel reference to retrieve the legacy model information.
       
      .google.cloud.aiplatform.v1.TunedModelRef tuned_model_ref = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getTunedModelRefOrBuilder in interface RebaseTunedModelRequestOrBuilder
    • hasTuningJob

      public boolean hasTuningJob()
       Optional. The TuningJob to be updated. Users can use this TuningJob field
       to overwrite tuning configs.
       
      .google.cloud.aiplatform.v1.TuningJob tuning_job = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasTuningJob in interface RebaseTunedModelRequestOrBuilder
      Returns:
      Whether the tuningJob field is set.
    • getTuningJob

      public TuningJob getTuningJob()
       Optional. The TuningJob to be updated. Users can use this TuningJob field
       to overwrite tuning configs.
       
      .google.cloud.aiplatform.v1.TuningJob tuning_job = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTuningJob in interface RebaseTunedModelRequestOrBuilder
      Returns:
      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.v1.TuningJob tuning_job = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTuningJobOrBuilder in interface RebaseTunedModelRequestOrBuilder
    • hasArtifactDestination

      public boolean hasArtifactDestination()
       Optional. The Google Cloud Storage location to write the artifacts.
       
      .google.cloud.aiplatform.v1.GcsDestination artifact_destination = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasArtifactDestination in interface RebaseTunedModelRequestOrBuilder
      Returns:
      Whether the artifactDestination field is set.
    • getArtifactDestination

      public GcsDestination getArtifactDestination()
       Optional. The Google Cloud Storage location to write the artifacts.
       
      .google.cloud.aiplatform.v1.GcsDestination artifact_destination = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getArtifactDestination in interface RebaseTunedModelRequestOrBuilder
      Returns:
      The artifactDestination.
    • getArtifactDestinationOrBuilder

      public GcsDestinationOrBuilder getArtifactDestinationOrBuilder()
       Optional. The Google Cloud Storage location to write the artifacts.
       
      .google.cloud.aiplatform.v1.GcsDestination artifact_destination = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getArtifactDestinationOrBuilder in interface RebaseTunedModelRequestOrBuilder
    • 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];
      Specified by:
      getDeployToSameEndpoint in interface RebaseTunedModelRequestOrBuilder
      Returns:
      The deployToSameEndpoint.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static RebaseTunedModelRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static RebaseTunedModelRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static RebaseTunedModelRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static RebaseTunedModelRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static RebaseTunedModelRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static RebaseTunedModelRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static RebaseTunedModelRequest parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static RebaseTunedModelRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static RebaseTunedModelRequest parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static RebaseTunedModelRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static RebaseTunedModelRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static RebaseTunedModelRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public RebaseTunedModelRequest.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static RebaseTunedModelRequest.Builder newBuilder()
    • newBuilder

      public static RebaseTunedModelRequest.Builder newBuilder(RebaseTunedModelRequest prototype)
    • toBuilder

      public RebaseTunedModelRequest.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected RebaseTunedModelRequest.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static RebaseTunedModelRequest getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<RebaseTunedModelRequest> parser()
    • getParserForType

      public com.google.protobuf.Parser<RebaseTunedModelRequest> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public RebaseTunedModelRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder