public static final class DeleteArtifactRequest.Builder extends GeneratedMessageV3.Builder<DeleteArtifactRequest.Builder> implements DeleteArtifactRequestOrBuilder
Request message for
MetadataService.DeleteArtifact.
Protobuf type google.cloud.aiplatform.v1beta1.DeleteArtifactRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public DeleteArtifactRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public DeleteArtifactRequest build()
public DeleteArtifactRequest buildPartial()
public DeleteArtifactRequest.Builder clear()
Overrides
public DeleteArtifactRequest.Builder clearEtag()
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];
public DeleteArtifactRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public DeleteArtifactRequest.Builder clearName()
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) = { ... }
public DeleteArtifactRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public DeleteArtifactRequest.Builder clone()
Overrides
public DeleteArtifactRequest getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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 |
---|
Type | Description |
ByteString | The bytes for etag.
|
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 |
---|
Type | Description |
ByteString | The bytes for name.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public DeleteArtifactRequest.Builder mergeFrom(DeleteArtifactRequest other)
public DeleteArtifactRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public DeleteArtifactRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
public final DeleteArtifactRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public DeleteArtifactRequest.Builder setEtag(String value)
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];
Parameter |
---|
Name | Description |
value | String
The etag to set.
|
public DeleteArtifactRequest.Builder setEtagBytes(ByteString value)
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];
Parameter |
---|
Name | Description |
value | ByteString
The bytes for etag to set.
|
public DeleteArtifactRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public DeleteArtifactRequest.Builder setName(String value)
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) = { ... }
Parameter |
---|
Name | Description |
value | String
The name to set.
|
public DeleteArtifactRequest.Builder setNameBytes(ByteString value)
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) = { ... }
Parameter |
---|
Name | Description |
value | ByteString
The bytes for name to set.
|
public DeleteArtifactRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final DeleteArtifactRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides