Class GetDataAttributeRequest.Builder (1.33.0)

public static final class GetDataAttributeRequest.Builder extends GeneratedMessageV3.Builder<GetDataAttributeRequest.Builder> implements GetDataAttributeRequestOrBuilder

Get DataAttribute request.

Protobuf type google.cloud.dataplex.v1.GetDataAttributeRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetDataAttributeRequest build()
Returns
TypeDescription
GetDataAttributeRequest

buildPartial()

public GetDataAttributeRequest buildPartial()
Returns
TypeDescription
GetDataAttributeRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public GetDataAttributeRequest.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
GetDataAttributeRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public GetDataAttributeRequest getDefaultInstanceForType()
Returns
TypeDescription
GetDataAttributeRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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(GetDataAttributeRequest other)

public GetDataAttributeRequest.Builder mergeFrom(GetDataAttributeRequest other)
Parameter
NameDescription
otherGetDataAttributeRequest
Returns
TypeDescription
GetDataAttributeRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public GetDataAttributeRequest.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
GetDataAttributeRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetDataAttributeRequest.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
GetDataAttributeRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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