Interface CopyModelRequestOrBuilder

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

    public interface CopyModelRequestOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • hasModelId

        boolean hasModelId()
         Optional. Copy source_model into a new Model with this ID. The ID will
         become the final component of the model resource name.
        
         This value may be up to 63 characters, and valid characters are
         `[a-z0-9_-]`. The first character cannot be a number or hyphen.
         
        string model_id = 4 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        Whether the modelId field is set.
      • getModelId

        String getModelId()
         Optional. Copy source_model into a new Model with this ID. The ID will
         become the final component of the model resource name.
        
         This value may be up to 63 characters, and valid characters are
         `[a-z0-9_-]`. The first character cannot be a number or hyphen.
         
        string model_id = 4 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        The modelId.
      • getModelIdBytes

        com.google.protobuf.ByteString getModelIdBytes()
         Optional. Copy source_model into a new Model with this ID. The ID will
         become the final component of the model resource name.
        
         This value may be up to 63 characters, and valid characters are
         `[a-z0-9_-]`. The first character cannot be a number or hyphen.
         
        string model_id = 4 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        The bytes for modelId.
      • hasParentModel

        boolean hasParentModel()
         Optional. Specify this field to copy source_model into this existing
         Model as a new version. Format:
         `projects/{project}/locations/{location}/models/{model}`
         
        string parent_model = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
        Returns:
        Whether the parentModel field is set.
      • getParentModel

        String getParentModel()
         Optional. Specify this field to copy source_model into this existing
         Model as a new version. Format:
         `projects/{project}/locations/{location}/models/{model}`
         
        string parent_model = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
        Returns:
        The parentModel.
      • getParentModelBytes

        com.google.protobuf.ByteString getParentModelBytes()
         Optional. Specify this field to copy source_model into this existing
         Model as a new version. Format:
         `projects/{project}/locations/{location}/models/{model}`
         
        string parent_model = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
        Returns:
        The bytes for parentModel.
      • getParent

        String getParent()
         Required. The resource name of the Location into which to copy the Model.
         Format: `projects/{project}/locations/{location}`
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        The parent.
      • getParentBytes

        com.google.protobuf.ByteString getParentBytes()
         Required. The resource name of the Location into which to copy the Model.
         Format: `projects/{project}/locations/{location}`
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        The bytes for parent.
      • getSourceModel

        String getSourceModel()
         Required. The resource name of the Model to copy. That Model must be in the
         same Project. Format:
         `projects/{project}/locations/{location}/models/{model}`
         
        string source_model = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        The sourceModel.
      • getSourceModelBytes

        com.google.protobuf.ByteString getSourceModelBytes()
         Required. The resource name of the Model to copy. That Model must be in the
         same Project. Format:
         `projects/{project}/locations/{location}/models/{model}`
         
        string source_model = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        The bytes for sourceModel.
      • hasEncryptionSpec

        boolean hasEncryptionSpec()
         Customer-managed encryption key options. If this is set,
         then the Model copy will be encrypted with the provided encryption key.
         
        .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 3;
        Returns:
        Whether the encryptionSpec field is set.
      • getEncryptionSpec

        EncryptionSpec getEncryptionSpec()
         Customer-managed encryption key options. If this is set,
         then the Model copy will be encrypted with the provided encryption key.
         
        .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 3;
        Returns:
        The encryptionSpec.
      • getEncryptionSpecOrBuilder

        EncryptionSpecOrBuilder getEncryptionSpecOrBuilder()
         Customer-managed encryption key options. If this is set,
         then the Model copy will be encrypted with the provided encryption key.
         
        .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 3;