public final class UpdateArtifactRequest extends GeneratedMessageV3 implements UpdateArtifactRequestOrBuilder
Request message for MetadataService.UpdateArtifact.
Protobuf type google.cloud.aiplatform.v1.UpdateArtifactRequest
Fields
public static final int ALLOW_MISSING_FIELD_NUMBER
Field Value
public static final int ARTIFACT_FIELD_NUMBER
Field Value
public static final int UPDATE_MASK_FIELD_NUMBER
Field Value
Methods
public boolean equals(Object obj)
Parameter
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.v1.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.v1.Artifact artifact = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
public static UpdateArtifactRequest getDefaultInstance()
Returns
public UpdateArtifactRequest getDefaultInstanceForType()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public Parser<UpdateArtifactRequest> getParserForType()
Returns
Overrides
public int getSerializedSize()
Returns
Overrides
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
public FieldMask getUpdateMask()
Required. 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) = REQUIRED];
Returns
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
Required. 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) = REQUIRED];
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.v1.Artifact artifact = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
boolean | Whether the artifact field is set.
|
public boolean hasUpdateMask()
Required. 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) = REQUIRED];
Returns
Type | Description |
boolean | Whether the updateMask field is set.
|
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public static UpdateArtifactRequest.Builder newBuilder()
Returns
public static UpdateArtifactRequest.Builder newBuilder(UpdateArtifactRequest prototype)
Parameter
Returns
public UpdateArtifactRequest.Builder newBuilderForType()
Returns
protected UpdateArtifactRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public static UpdateArtifactRequest parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static UpdateArtifactRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static UpdateArtifactRequest parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static UpdateArtifactRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static UpdateArtifactRequest parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static UpdateArtifactRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static UpdateArtifactRequest parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static UpdateArtifactRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static UpdateArtifactRequest parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static UpdateArtifactRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static UpdateArtifactRequest parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static UpdateArtifactRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<UpdateArtifactRequest> parser()
Returns
public UpdateArtifactRequest.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions