Interface PreTunedModelOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
PreTunedModel, PreTunedModel.Builder

@Generated public interface PreTunedModelOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Output only.
    com.google.protobuf.ByteString
    Output only.
    Optional.
    com.google.protobuf.ByteString
    Optional.
    The resource name of the Model.
    com.google.protobuf.ByteString
    The resource name of the Model.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getTunedModelName

      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:
      The tunedModelName.
    • getTunedModelNameBytes

      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) = { ... }
      Returns:
      The bytes for tunedModelName.
    • getCheckpointId

      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:
      The checkpointId.
    • getCheckpointIdBytes

      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];
      Returns:
      The bytes for checkpointId.
    • getBaseModel

      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];
      Returns:
      The baseModel.
    • getBaseModelBytes

      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];
      Returns:
      The bytes for baseModel.