Class DataAttributeBinding.Path.Builder (1.40.0)

public static final class DataAttributeBinding.Path.Builder extends GeneratedMessageV3.Builder<DataAttributeBinding.Path.Builder> implements DataAttributeBinding.PathOrBuilder

Represents a subresource of the given resource, and associated bindings with it. Currently supported subresources are column and partition schema fields within a table.

Protobuf type google.cloud.dataplex.v1.DataAttributeBinding.Path

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllAttributes(Iterable<String> values)

public DataAttributeBinding.Path.Builder addAllAttributes(Iterable<String> values)

Optional. List of attributes to be associated with the path of the resource, provided in the form: projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}

repeated string attributes = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Parameter
Name Description
values Iterable<String>

The attributes to add.

Returns
Type Description
DataAttributeBinding.Path.Builder

This builder for chaining.

addAttributes(String value)

public DataAttributeBinding.Path.Builder addAttributes(String value)

Optional. List of attributes to be associated with the path of the resource, provided in the form: projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}

repeated string attributes = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The attributes to add.

Returns
Type Description
DataAttributeBinding.Path.Builder

This builder for chaining.

addAttributesBytes(ByteString value)

public DataAttributeBinding.Path.Builder addAttributesBytes(ByteString value)

Optional. List of attributes to be associated with the path of the resource, provided in the form: projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}

repeated string attributes = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes of the attributes to add.

Returns
Type Description
DataAttributeBinding.Path.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DataAttributeBinding.Path.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DataAttributeBinding.Path.Builder
Overrides

build()

public DataAttributeBinding.Path build()
Returns
Type Description
DataAttributeBinding.Path

buildPartial()

public DataAttributeBinding.Path buildPartial()
Returns
Type Description
DataAttributeBinding.Path

clear()

public DataAttributeBinding.Path.Builder clear()
Returns
Type Description
DataAttributeBinding.Path.Builder
Overrides

clearAttributes()

public DataAttributeBinding.Path.Builder clearAttributes()

Optional. List of attributes to be associated with the path of the resource, provided in the form: projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}

repeated string attributes = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
DataAttributeBinding.Path.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public DataAttributeBinding.Path.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
DataAttributeBinding.Path.Builder
Overrides

clearName()

public DataAttributeBinding.Path.Builder clearName()

Required. The name identifier of the path. Nested columns should be of the form: 'address.city'.

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DataAttributeBinding.Path.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public DataAttributeBinding.Path.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
DataAttributeBinding.Path.Builder
Overrides

clone()

public DataAttributeBinding.Path.Builder clone()
Returns
Type Description
DataAttributeBinding.Path.Builder
Overrides

getAttributes(int index)

public String getAttributes(int index)

Optional. List of attributes to be associated with the path of the resource, provided in the form: projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}

repeated string attributes = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The attributes at the given index.

getAttributesBytes(int index)

public ByteString getAttributesBytes(int index)

Optional. List of attributes to be associated with the path of the resource, provided in the form: projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}

repeated string attributes = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the attributes at the given index.

getAttributesCount()

public int getAttributesCount()

Optional. List of attributes to be associated with the path of the resource, provided in the form: projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}

repeated string attributes = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
int

The count of attributes.

getAttributesList()

public ProtocolStringList getAttributesList()

Optional. List of attributes to be associated with the path of the resource, provided in the form: projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}

repeated string attributes = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
ProtocolStringList

A list containing the attributes.

getDefaultInstanceForType()

public DataAttributeBinding.Path getDefaultInstanceForType()
Returns
Type Description
DataAttributeBinding.Path

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getName()

public String getName()

Required. The name identifier of the path. Nested columns should be of the form: 'address.city'.

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The name identifier of the path. Nested columns should be of the form: 'address.city'.

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DataAttributeBinding.Path other)

public DataAttributeBinding.Path.Builder mergeFrom(DataAttributeBinding.Path other)
Parameter
Name Description
other DataAttributeBinding.Path
Returns
Type Description
DataAttributeBinding.Path.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DataAttributeBinding.Path.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataAttributeBinding.Path.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public DataAttributeBinding.Path.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
DataAttributeBinding.Path.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DataAttributeBinding.Path.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DataAttributeBinding.Path.Builder
Overrides

setAttributes(int index, String value)

public DataAttributeBinding.Path.Builder setAttributes(int index, String value)

Optional. List of attributes to be associated with the path of the resource, provided in the form: projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}

repeated string attributes = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Parameters
Name Description
index int

The index to set the value at.

value String

The attributes to set.

Returns
Type Description
DataAttributeBinding.Path.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public DataAttributeBinding.Path.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DataAttributeBinding.Path.Builder
Overrides

setName(String value)

public DataAttributeBinding.Path.Builder setName(String value)

Required. The name identifier of the path. Nested columns should be of the form: 'address.city'.

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The name to set.

Returns
Type Description
DataAttributeBinding.Path.Builder

This builder for chaining.

setNameBytes(ByteString value)

public DataAttributeBinding.Path.Builder setNameBytes(ByteString value)

Required. The name identifier of the path. Nested columns should be of the form: 'address.city'.

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
DataAttributeBinding.Path.Builder

This builder for chaining.

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

public DataAttributeBinding.Path.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
DataAttributeBinding.Path.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DataAttributeBinding.Path.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DataAttributeBinding.Path.Builder
Overrides