- 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.v1.CopyModelRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CopyModelRequest.BuilderImplements
CopyModelRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CopyModelRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
CopyModelRequest.Builder |
build()
public CopyModelRequest build()
Returns | |
---|---|
Type | Description |
CopyModelRequest |
buildPartial()
public CopyModelRequest buildPartial()
Returns | |
---|---|
Type | Description |
CopyModelRequest |
clear()
public CopyModelRequest.Builder clear()
Returns | |
---|---|
Type | Description |
CopyModelRequest.Builder |
clearDestinationModel()
public CopyModelRequest.Builder clearDestinationModel()
Returns | |
---|---|
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.v1.EncryptionSpec encryption_spec = 3;
Returns | |
---|---|
Type | Description |
CopyModelRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public CopyModelRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
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];
Returns | |
---|---|
Type | Description |
CopyModelRequest.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public CopyModelRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
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) = { ... }
Returns | |
---|---|
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) = { ... }
Returns | |
---|---|
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) = { ... }
Returns | |
---|---|
Type | Description |
CopyModelRequest.Builder | This builder for chaining. |
clone()
public CopyModelRequest.Builder clone()
Returns | |
---|---|
Type | Description |
CopyModelRequest.Builder |
getDefaultInstanceForType()
public CopyModelRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
CopyModelRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDestinationModelCase()
public CopyModelRequest.DestinationModelCase getDestinationModelCase()
Returns | |
---|---|
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.v1.EncryptionSpec encryption_spec = 3;
Returns | |
---|---|
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.v1.EncryptionSpec encryption_spec = 3;
Returns | |
---|---|
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.v1.EncryptionSpec encryption_spec = 3;
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
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) = { ... }
Returns | |
---|---|
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) = { ... }
Returns | |
---|---|
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) = { ... }
Returns | |
---|---|
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) = { ... }
Returns | |
---|---|
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) = { ... }
Returns | |
---|---|
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) = { ... }
Returns | |
---|---|
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.v1.EncryptionSpec encryption_spec = 3;
Returns | |
---|---|
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];
Returns | |
---|---|
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) = { ... }
Returns | |
---|---|
Type | Description |
boolean | Whether the parentModel field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
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.v1.EncryptionSpec encryption_spec = 3;
Parameter | |
---|---|
Name | Description |
value | EncryptionSpec |
Returns | |
---|---|
Type | Description |
CopyModelRequest.Builder |
mergeFrom(CopyModelRequest other)
public CopyModelRequest.Builder mergeFrom(CopyModelRequest other)
Parameter | |
---|---|
Name | Description |
other | CopyModelRequest |
Returns | |
---|---|
Type | Description |
CopyModelRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CopyModelRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CopyModelRequest.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public CopyModelRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
CopyModelRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CopyModelRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
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.v1.EncryptionSpec encryption_spec = 3;
Parameter | |
---|---|
Name | Description |
value | EncryptionSpec |
Returns | |
---|---|
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.v1.EncryptionSpec encryption_spec = 3;
Parameter | |
---|---|
Name | Description |
builderForValue | EncryptionSpec.Builder |
Returns | |
---|---|
Type | Description |
CopyModelRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public CopyModelRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value | String The modelId to set. |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for modelId to set. |
Returns | |
---|---|
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) = { ... }
Parameter | |
---|---|
Name | Description |
value | String The parent to set. |
Returns | |
---|---|
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) = { ... }
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for parent to set. |
Returns | |
---|---|
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) = { ... }
Parameter | |
---|---|
Name | Description |
value | String The parentModel to set. |
Returns | |
---|---|
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) = { ... }
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for parentModel to set. |
Returns | |
---|---|
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)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
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) = { ... }
Parameter | |
---|---|
Name | Description |
value | String The sourceModel to set. |
Returns | |
---|---|
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) = { ... }
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for sourceModel to set. |
Returns | |
---|---|
Type | Description |
CopyModelRequest.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final CopyModelRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
CopyModelRequest.Builder |