Class DataAttributeBinding.Path (1.26.0)

public static final class DataAttributeBinding.Path extends GeneratedMessageV3 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 Fields

ATTRIBUTES_FIELD_NUMBER

public static final int ATTRIBUTES_FIELD_NUMBER
Field Value
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static DataAttributeBinding.Path getDefaultInstance()
Returns
TypeDescription
DataAttributeBinding.Path

getDescriptor()

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

newBuilder()

public static DataAttributeBinding.Path.Builder newBuilder()
Returns
TypeDescription
DataAttributeBinding.Path.Builder

newBuilder(DataAttributeBinding.Path prototype)

public static DataAttributeBinding.Path.Builder newBuilder(DataAttributeBinding.Path prototype)
Parameter
NameDescription
prototypeDataAttributeBinding.Path
Returns
TypeDescription
DataAttributeBinding.Path.Builder

parseDelimitedFrom(InputStream input)

public static DataAttributeBinding.Path parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DataAttributeBinding.Path
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DataAttributeBinding.Path parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DataAttributeBinding.Path
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static DataAttributeBinding.Path parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
DataAttributeBinding.Path
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DataAttributeBinding.Path parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DataAttributeBinding.Path
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DataAttributeBinding.Path parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
DataAttributeBinding.Path
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DataAttributeBinding.Path parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DataAttributeBinding.Path
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DataAttributeBinding.Path parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
DataAttributeBinding.Path
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DataAttributeBinding.Path parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DataAttributeBinding.Path
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static DataAttributeBinding.Path parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DataAttributeBinding.Path
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DataAttributeBinding.Path parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DataAttributeBinding.Path
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static DataAttributeBinding.Path parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
DataAttributeBinding.Path
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DataAttributeBinding.Path parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DataAttributeBinding.Path
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<DataAttributeBinding.Path> parser()
Returns
TypeDescription
Parser<Path>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
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
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 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

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 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

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 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ProtocolStringList

A list containing the attributes.

getDefaultInstanceForType()

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

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
TypeDescription
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
TypeDescription
ByteString

The bytes for name.

getParserForType()

public Parser<DataAttributeBinding.Path> getParserForType()
Returns
TypeDescription
Parser<Path>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public DataAttributeBinding.Path.Builder newBuilderForType()
Returns
TypeDescription
DataAttributeBinding.Path.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected DataAttributeBinding.Path.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
DataAttributeBinding.Path.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public DataAttributeBinding.Path.Builder toBuilder()
Returns
TypeDescription
DataAttributeBinding.Path.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException