Class DeleteDataAttributeRequest.Builder (1.28.0)

public static final class DeleteDataAttributeRequest.Builder extends GeneratedMessageV3.Builder<DeleteDataAttributeRequest.Builder> implements DeleteDataAttributeRequestOrBuilder

Delete DataAttribute request.

Protobuf type google.cloud.dataplex.v1.DeleteDataAttributeRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DeleteDataAttributeRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DeleteDataAttributeRequest.Builder
Overrides

build()

public DeleteDataAttributeRequest build()
Returns
TypeDescription
DeleteDataAttributeRequest

buildPartial()

public DeleteDataAttributeRequest buildPartial()
Returns
TypeDescription
DeleteDataAttributeRequest

clear()

public DeleteDataAttributeRequest.Builder clear()
Returns
TypeDescription
DeleteDataAttributeRequest.Builder
Overrides

clearEtag()

public DeleteDataAttributeRequest.Builder clearEtag()

Optional. If the client provided etag value does not match the current etag value, the DeleteDataAttribute method returns an ABORTED error response.

string etag = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
DeleteDataAttributeRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public DeleteDataAttributeRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
DeleteDataAttributeRequest.Builder
Overrides

clearName()

public DeleteDataAttributeRequest.Builder clearName()

Required. The resource name of the DataAttribute: projects/{project_number}/locations/{location_id}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
DeleteDataAttributeRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public DeleteDataAttributeRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
DeleteDataAttributeRequest.Builder
Overrides

clone()

public DeleteDataAttributeRequest.Builder clone()
Returns
TypeDescription
DeleteDataAttributeRequest.Builder
Overrides

getDefaultInstanceForType()

public DeleteDataAttributeRequest getDefaultInstanceForType()
Returns
TypeDescription
DeleteDataAttributeRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEtag()

public String getEtag()

Optional. If the client provided etag value does not match the current etag value, the DeleteDataAttribute method returns an ABORTED error response.

string etag = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The etag.

getEtagBytes()

public ByteString getEtagBytes()

Optional. If the client provided etag value does not match the current etag value, the DeleteDataAttribute method returns an ABORTED error response.

string etag = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for etag.

getName()

public String getName()

Required. The resource name of the DataAttribute: projects/{project_number}/locations/{location_id}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The resource name of the DataAttribute: projects/{project_number}/locations/{location_id}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(DeleteDataAttributeRequest other)

public DeleteDataAttributeRequest.Builder mergeFrom(DeleteDataAttributeRequest other)
Parameter
NameDescription
otherDeleteDataAttributeRequest
Returns
TypeDescription
DeleteDataAttributeRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DeleteDataAttributeRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DeleteDataAttributeRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public DeleteDataAttributeRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
DeleteDataAttributeRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DeleteDataAttributeRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DeleteDataAttributeRequest.Builder
Overrides

setEtag(String value)

public DeleteDataAttributeRequest.Builder setEtag(String value)

Optional. If the client provided etag value does not match the current etag value, the DeleteDataAttribute method returns an ABORTED error response.

string etag = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueString

The etag to set.

Returns
TypeDescription
DeleteDataAttributeRequest.Builder

This builder for chaining.

setEtagBytes(ByteString value)

public DeleteDataAttributeRequest.Builder setEtagBytes(ByteString value)

Optional. If the client provided etag value does not match the current etag value, the DeleteDataAttribute method returns an ABORTED error response.

string etag = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueByteString

The bytes for etag to set.

Returns
TypeDescription
DeleteDataAttributeRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public DeleteDataAttributeRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DeleteDataAttributeRequest.Builder
Overrides

setName(String value)

public DeleteDataAttributeRequest.Builder setName(String value)

Required. The resource name of the DataAttribute: projects/{project_number}/locations/{location_id}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
DeleteDataAttributeRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public DeleteDataAttributeRequest.Builder setNameBytes(ByteString value)

Required. The resource name of the DataAttribute: projects/{project_number}/locations/{location_id}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
DeleteDataAttributeRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public DeleteDataAttributeRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
DeleteDataAttributeRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DeleteDataAttributeRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DeleteDataAttributeRequest.Builder
Overrides