public static final class UpdateArtifactRequest.Builder extends GeneratedMessageV3.Builder<UpdateArtifactRequest.Builder> implements UpdateArtifactRequestOrBuilder
Request message for MetadataService.UpdateArtifact.
Protobuf type google.cloud.aiplatform.v1beta1.UpdateArtifactRequest
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public UpdateArtifactRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public UpdateArtifactRequest build()
Returns
public UpdateArtifactRequest buildPartial()
Returns
public UpdateArtifactRequest.Builder clear()
Returns
Overrides
public UpdateArtifactRequest.Builder clearAllowMissing()
If set to true, and the Artifact is not found, a new Artifact is
created.
bool allow_missing = 3;
Returns
public UpdateArtifactRequest.Builder clearArtifact()
Required. The Artifact containing updates.
The Artifact's Artifact.name field is used to identify the Artifact to
be updated.
Format:
projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}
.google.cloud.aiplatform.v1beta1.Artifact artifact = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
public UpdateArtifactRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public UpdateArtifactRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public UpdateArtifactRequest.Builder clearUpdateMask()
Optional. A FieldMask indicating which fields should be updated.
Functionality of this field is not yet supported.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
public UpdateArtifactRequest.Builder clone()
Returns
Overrides
public boolean getAllowMissing()
If set to true, and the Artifact is not found, a new Artifact is
created.
bool allow_missing = 3;
Returns
Type | Description |
boolean | The allowMissing.
|
public Artifact getArtifact()
Required. The Artifact containing updates.
The Artifact's Artifact.name field is used to identify the Artifact to
be updated.
Format:
projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}
.google.cloud.aiplatform.v1beta1.Artifact artifact = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
public Artifact.Builder getArtifactBuilder()
Required. The Artifact containing updates.
The Artifact's Artifact.name field is used to identify the Artifact to
be updated.
Format:
projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}
.google.cloud.aiplatform.v1beta1.Artifact artifact = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
public ArtifactOrBuilder getArtifactOrBuilder()
Required. The Artifact containing updates.
The Artifact's Artifact.name field is used to identify the Artifact to
be updated.
Format:
projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}
.google.cloud.aiplatform.v1beta1.Artifact artifact = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
public UpdateArtifactRequest getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public FieldMask getUpdateMask()
Optional. A FieldMask indicating which fields should be updated.
Functionality of this field is not yet supported.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
public FieldMask.Builder getUpdateMaskBuilder()
Optional. A FieldMask indicating which fields should be updated.
Functionality of this field is not yet supported.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
Optional. A FieldMask indicating which fields should be updated.
Functionality of this field is not yet supported.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
public boolean hasArtifact()
Required. The Artifact containing updates.
The Artifact's Artifact.name field is used to identify the Artifact to
be updated.
Format:
projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}
.google.cloud.aiplatform.v1beta1.Artifact artifact = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
boolean | Whether the artifact field is set.
|
public boolean hasUpdateMask()
Optional. A FieldMask indicating which fields should be updated.
Functionality of this field is not yet supported.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type | Description |
boolean | Whether the updateMask field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public UpdateArtifactRequest.Builder mergeArtifact(Artifact value)
Required. The Artifact containing updates.
The Artifact's Artifact.name field is used to identify the Artifact to
be updated.
Format:
projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}
.google.cloud.aiplatform.v1beta1.Artifact artifact = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
public UpdateArtifactRequest.Builder mergeFrom(UpdateArtifactRequest other)
Parameter
Returns
public UpdateArtifactRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public UpdateArtifactRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final UpdateArtifactRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public UpdateArtifactRequest.Builder mergeUpdateMask(FieldMask value)
Optional. A FieldMask indicating which fields should be updated.
Functionality of this field is not yet supported.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Returns
public UpdateArtifactRequest.Builder setAllowMissing(boolean value)
If set to true, and the Artifact is not found, a new Artifact is
created.
bool allow_missing = 3;
Parameter
Name | Description |
value | boolean
The allowMissing to set.
|
Returns
public UpdateArtifactRequest.Builder setArtifact(Artifact value)
Required. The Artifact containing updates.
The Artifact's Artifact.name field is used to identify the Artifact to
be updated.
Format:
projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}
.google.cloud.aiplatform.v1beta1.Artifact artifact = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
public UpdateArtifactRequest.Builder setArtifact(Artifact.Builder builderForValue)
Required. The Artifact containing updates.
The Artifact's Artifact.name field is used to identify the Artifact to
be updated.
Format:
projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}
.google.cloud.aiplatform.v1beta1.Artifact artifact = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
public UpdateArtifactRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public UpdateArtifactRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final UpdateArtifactRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public UpdateArtifactRequest.Builder setUpdateMask(FieldMask value)
Optional. A FieldMask indicating which fields should be updated.
Functionality of this field is not yet supported.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Returns
public UpdateArtifactRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)
Optional. A FieldMask indicating which fields should be updated.
Functionality of this field is not yet supported.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name | Description |
builderForValue | Builder
|
Returns