Class DataAttributeBinding.Path.Builder (0.14.1)

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

Represents a subresource of a given resource, and associated bindings with it.

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
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;

Parameter
NameDescription
valuesIterable<String>

The attributes to add.

Returns
TypeDescription
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;

Parameter
NameDescription
valueString

The attributes to add.

Returns
TypeDescription
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;

Parameter
NameDescription
valueByteString

The bytes of the attributes to add.

Returns
TypeDescription
DataAttributeBinding.Path.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DataAttributeBinding.Path build()
Returns
TypeDescription
DataAttributeBinding.Path

buildPartial()

public DataAttributeBinding.Path buildPartial()
Returns
TypeDescription
DataAttributeBinding.Path

clear()

public DataAttributeBinding.Path.Builder clear()
Returns
TypeDescription
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;

Returns
TypeDescription
DataAttributeBinding.Path.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public DataAttributeBinding.Path.Builder clearName()

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

string name = 1;

Returns
TypeDescription
DataAttributeBinding.Path.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public DataAttributeBinding.Path.Builder clone()
Returns
TypeDescription
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;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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;

Returns
TypeDescription
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;

Returns
TypeDescription
ProtocolStringList

A list containing the attributes.

getDefaultInstanceForType()

public DataAttributeBinding.Path getDefaultInstanceForType()
Returns
TypeDescription
DataAttributeBinding.Path

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

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

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

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

string name = 1;

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(DataAttributeBinding.Path other)

public DataAttributeBinding.Path.Builder mergeFrom(DataAttributeBinding.Path other)
Parameter
NameDescription
otherDataAttributeBinding.Path
Returns
TypeDescription
DataAttributeBinding.Path.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DataAttributeBinding.Path.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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;

Parameters
NameDescription
indexint

The index to set the value at.

valueString

The attributes to set.

Returns
TypeDescription
DataAttributeBinding.Path.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public DataAttributeBinding.Path.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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: 'country.state.city'.

string name = 1;

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
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: 'country.state.city'.

string name = 1;

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
DataAttributeBinding.Path.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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