Package com.google.cloud.aiplatform.v1
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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CopyModelRequest.DestinationModelCase
getDestinationModelCase()
EncryptionSpec
getEncryptionSpec()
Customer-managed encryption key options.EncryptionSpecOrBuilder
getEncryptionSpecOrBuilder()
Customer-managed encryption key options.String
getModelId()
Optional.com.google.protobuf.ByteString
getModelIdBytes()
Optional.String
getParent()
Required.com.google.protobuf.ByteString
getParentBytes()
Required.String
getParentModel()
Optional.com.google.protobuf.ByteString
getParentModelBytes()
Optional.String
getSourceModel()
Required.com.google.protobuf.ByteString
getSourceModelBytes()
Required.boolean
hasEncryptionSpec()
Customer-managed encryption key options.boolean
hasModelId()
Optional.boolean
hasParentModel()
Optional.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
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;
-
getDestinationModelCase
CopyModelRequest.DestinationModelCase getDestinationModelCase()
-
-