public final class DeleteArtifactRequest extends GeneratedMessageV3 implements DeleteArtifactRequestOrBuilder
Request message for MetadataService.DeleteArtifact.
Protobuf type google.cloud.aiplatform.v1beta1.DeleteArtifactRequest
Fields
public static final int ETAG_FIELD_NUMBER
Field Value
public static final int NAME_FIELD_NUMBER
Field Value
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public static DeleteArtifactRequest getDefaultInstance()
Returns
public DeleteArtifactRequest getDefaultInstanceForType()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
Optional. The etag of the Artifact to delete.
If this is provided, it must match the server's etag. Otherwise, the
request will fail with a FAILED_PRECONDITION.
string etag = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type | Description |
String | The etag.
|
public ByteString getEtagBytes()
Optional. The etag of the Artifact to delete.
If this is provided, it must match the server's etag. Otherwise, the
request will fail with a FAILED_PRECONDITION.
string etag = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
Required. The resource name of the Artifact to delete.
Format:
projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
Type | Description |
String | The name.
|
public ByteString getNameBytes()
Required. The resource name of the Artifact to delete.
Format:
projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
public Parser<DeleteArtifactRequest> getParserForType()
Returns
Overrides
public int getSerializedSize()
Returns
Overrides
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public static DeleteArtifactRequest.Builder newBuilder()
Returns
public static DeleteArtifactRequest.Builder newBuilder(DeleteArtifactRequest prototype)
Parameter
Returns
public DeleteArtifactRequest.Builder newBuilderForType()
Returns
protected DeleteArtifactRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public static DeleteArtifactRequest parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static DeleteArtifactRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static DeleteArtifactRequest parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static DeleteArtifactRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static DeleteArtifactRequest parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static DeleteArtifactRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static DeleteArtifactRequest parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static DeleteArtifactRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static DeleteArtifactRequest parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static DeleteArtifactRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static DeleteArtifactRequest parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static DeleteArtifactRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<DeleteArtifactRequest> parser()
Returns
public DeleteArtifactRequest.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions