- 3.52.0 (latest)
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.42.0
- 3.41.0
- 3.40.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.30.0
- 3.29.0
- 3.28.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.0
- 3.6.0
- 3.5.0
- 3.4.2
- 3.3.0
- 3.2.0
- 3.0.0
- 2.9.8
- 2.8.9
- 2.7.4
- 2.5.3
- 2.4.0
public static final class CopyModelRequest.Builder extends GeneratedMessageV3.Builder<CopyModelRequest.Builder> implements CopyModelRequestOrBuilder
Request message for ModelService.CopyModel.
Protobuf type google.cloud.aiplatform.v1beta1.CopyModelRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CopyModelRequest.BuilderImplements
CopyModelRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CopyModelRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
CopyModelRequest.Builder |
build()
public CopyModelRequest build()
Type | Description |
CopyModelRequest |
buildPartial()
public CopyModelRequest buildPartial()
Type | Description |
CopyModelRequest |
clear()
public CopyModelRequest.Builder clear()
Type | Description |
CopyModelRequest.Builder |
clearDestinationModel()
public CopyModelRequest.Builder clearDestinationModel()
Type | Description |
CopyModelRequest.Builder |
clearEncryptionSpec()
public CopyModelRequest.Builder clearEncryptionSpec()
Customer-managed encryption key options. If this is set, then the Model copy will be encrypted with the provided encryption key.
.google.cloud.aiplatform.v1beta1.EncryptionSpec encryption_spec = 3;
Type | Description |
CopyModelRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public CopyModelRequest.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
CopyModelRequest.Builder |
clearModelId()
public CopyModelRequest.Builder clearModelId()
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];
Type | Description |
CopyModelRequest.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public CopyModelRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
CopyModelRequest.Builder |
clearParent()
public CopyModelRequest.Builder clearParent()
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) = { ... }
Type | Description |
CopyModelRequest.Builder | This builder for chaining. |
clearParentModel()
public CopyModelRequest.Builder clearParentModel()
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) = { ... }
Type | Description |
CopyModelRequest.Builder | This builder for chaining. |
clearSourceModel()
public CopyModelRequest.Builder clearSourceModel()
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) = { ... }
Type | Description |
CopyModelRequest.Builder | This builder for chaining. |
clone()
public CopyModelRequest.Builder clone()
Type | Description |
CopyModelRequest.Builder |
getDefaultInstanceForType()
public CopyModelRequest getDefaultInstanceForType()
Type | Description |
CopyModelRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getDestinationModelCase()
public CopyModelRequest.DestinationModelCase getDestinationModelCase()
Type | Description |
CopyModelRequest.DestinationModelCase |
getEncryptionSpec()
public 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.v1beta1.EncryptionSpec encryption_spec = 3;
Type | Description |
EncryptionSpec | The encryptionSpec. |
getEncryptionSpecBuilder()
public EncryptionSpec.Builder getEncryptionSpecBuilder()
Customer-managed encryption key options. If this is set, then the Model copy will be encrypted with the provided encryption key.
.google.cloud.aiplatform.v1beta1.EncryptionSpec encryption_spec = 3;
Type | Description |
EncryptionSpec.Builder |
getEncryptionSpecOrBuilder()
public 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.v1beta1.EncryptionSpec encryption_spec = 3;
Type | Description |
EncryptionSpecOrBuilder |
getModelId()
public 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];
Type | Description |
String | The modelId. |
getModelIdBytes()
public 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];
Type | Description |
ByteString | The bytes for modelId. |
getParent()
public 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) = { ... }
Type | Description |
String | The parent. |
getParentBytes()
public 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) = { ... }
Type | Description |
ByteString | The bytes for parent. |
getParentModel()
public 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) = { ... }
Type | Description |
String | The parentModel. |
getParentModelBytes()
public 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) = { ... }
Type | Description |
ByteString | The bytes for parentModel. |
getSourceModel()
public 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) = { ... }
Type | Description |
String | The sourceModel. |
getSourceModelBytes()
public 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) = { ... }
Type | Description |
ByteString | The bytes for sourceModel. |
hasEncryptionSpec()
public 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.v1beta1.EncryptionSpec encryption_spec = 3;
Type | Description |
boolean | Whether the encryptionSpec field is set. |
hasModelId()
public 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];
Type | Description |
boolean | Whether the modelId field is set. |
hasParentModel()
public 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) = { ... }
Type | Description |
boolean | Whether the parentModel field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeEncryptionSpec(EncryptionSpec value)
public CopyModelRequest.Builder mergeEncryptionSpec(EncryptionSpec value)
Customer-managed encryption key options. If this is set, then the Model copy will be encrypted with the provided encryption key.
.google.cloud.aiplatform.v1beta1.EncryptionSpec encryption_spec = 3;
Name | Description |
value | EncryptionSpec |
Type | Description |
CopyModelRequest.Builder |
mergeFrom(CopyModelRequest other)
public CopyModelRequest.Builder mergeFrom(CopyModelRequest other)
Name | Description |
other | CopyModelRequest |
Type | Description |
CopyModelRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CopyModelRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
CopyModelRequest.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public CopyModelRequest.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
CopyModelRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CopyModelRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
CopyModelRequest.Builder |
setEncryptionSpec(EncryptionSpec value)
public CopyModelRequest.Builder setEncryptionSpec(EncryptionSpec value)
Customer-managed encryption key options. If this is set, then the Model copy will be encrypted with the provided encryption key.
.google.cloud.aiplatform.v1beta1.EncryptionSpec encryption_spec = 3;
Name | Description |
value | EncryptionSpec |
Type | Description |
CopyModelRequest.Builder |
setEncryptionSpec(EncryptionSpec.Builder builderForValue)
public CopyModelRequest.Builder setEncryptionSpec(EncryptionSpec.Builder builderForValue)
Customer-managed encryption key options. If this is set, then the Model copy will be encrypted with the provided encryption key.
.google.cloud.aiplatform.v1beta1.EncryptionSpec encryption_spec = 3;
Name | Description |
builderForValue | EncryptionSpec.Builder |
Type | Description |
CopyModelRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public CopyModelRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
CopyModelRequest.Builder |
setModelId(String value)
public CopyModelRequest.Builder setModelId(String value)
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];
Name | Description |
value | String The modelId to set. |
Type | Description |
CopyModelRequest.Builder | This builder for chaining. |
setModelIdBytes(ByteString value)
public CopyModelRequest.Builder setModelIdBytes(ByteString value)
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];
Name | Description |
value | ByteString The bytes for modelId to set. |
Type | Description |
CopyModelRequest.Builder | This builder for chaining. |
setParent(String value)
public CopyModelRequest.Builder setParent(String value)
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) = { ... }
Name | Description |
value | String The parent to set. |
Type | Description |
CopyModelRequest.Builder | This builder for chaining. |
setParentBytes(ByteString value)
public CopyModelRequest.Builder setParentBytes(ByteString value)
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) = { ... }
Name | Description |
value | ByteString The bytes for parent to set. |
Type | Description |
CopyModelRequest.Builder | This builder for chaining. |
setParentModel(String value)
public CopyModelRequest.Builder setParentModel(String value)
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) = { ... }
Name | Description |
value | String The parentModel to set. |
Type | Description |
CopyModelRequest.Builder | This builder for chaining. |
setParentModelBytes(ByteString value)
public CopyModelRequest.Builder setParentModelBytes(ByteString value)
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) = { ... }
Name | Description |
value | ByteString The bytes for parentModel to set. |
Type | Description |
CopyModelRequest.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CopyModelRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
CopyModelRequest.Builder |
setSourceModel(String value)
public CopyModelRequest.Builder setSourceModel(String value)
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) = { ... }
Name | Description |
value | String The sourceModel to set. |
Type | Description |
CopyModelRequest.Builder | This builder for chaining. |
setSourceModelBytes(ByteString value)
public CopyModelRequest.Builder setSourceModelBytes(ByteString value)
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) = { ... }
Name | Description |
value | ByteString The bytes for sourceModel to set. |
Type | Description |
CopyModelRequest.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final CopyModelRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
CopyModelRequest.Builder |