Class RelationDescriptor.ColumnDescriptor.Builder (0.41.0)

public static final class RelationDescriptor.ColumnDescriptor.Builder extends GeneratedMessageV3.Builder<RelationDescriptor.ColumnDescriptor.Builder> implements RelationDescriptor.ColumnDescriptorOrBuilder

Describes a column.

Protobuf type google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor

Static Methods

getDescriptor()

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

Methods

addAllBigqueryPolicyTags(Iterable<String> values)

public RelationDescriptor.ColumnDescriptor.Builder addAllBigqueryPolicyTags(Iterable<String> values)

A list of BigQuery policy tags that will be applied to the column.

repeated string bigquery_policy_tags = 3;

Parameter
NameDescription
valuesIterable<String>

The bigqueryPolicyTags to add.

Returns
TypeDescription
RelationDescriptor.ColumnDescriptor.Builder

This builder for chaining.

addAllPath(Iterable<String> values)

public RelationDescriptor.ColumnDescriptor.Builder addAllPath(Iterable<String> values)

The identifier for the column. Each entry in path represents one level of nesting.

repeated string path = 1;

Parameter
NameDescription
valuesIterable<String>

The path to add.

Returns
TypeDescription
RelationDescriptor.ColumnDescriptor.Builder

This builder for chaining.

addBigqueryPolicyTags(String value)

public RelationDescriptor.ColumnDescriptor.Builder addBigqueryPolicyTags(String value)

A list of BigQuery policy tags that will be applied to the column.

repeated string bigquery_policy_tags = 3;

Parameter
NameDescription
valueString

The bigqueryPolicyTags to add.

Returns
TypeDescription
RelationDescriptor.ColumnDescriptor.Builder

This builder for chaining.

addBigqueryPolicyTagsBytes(ByteString value)

public RelationDescriptor.ColumnDescriptor.Builder addBigqueryPolicyTagsBytes(ByteString value)

A list of BigQuery policy tags that will be applied to the column.

repeated string bigquery_policy_tags = 3;

Parameter
NameDescription
valueByteString

The bytes of the bigqueryPolicyTags to add.

Returns
TypeDescription
RelationDescriptor.ColumnDescriptor.Builder

This builder for chaining.

addPath(String value)

public RelationDescriptor.ColumnDescriptor.Builder addPath(String value)

The identifier for the column. Each entry in path represents one level of nesting.

repeated string path = 1;

Parameter
NameDescription
valueString

The path to add.

Returns
TypeDescription
RelationDescriptor.ColumnDescriptor.Builder

This builder for chaining.

addPathBytes(ByteString value)

public RelationDescriptor.ColumnDescriptor.Builder addPathBytes(ByteString value)

The identifier for the column. Each entry in path represents one level of nesting.

repeated string path = 1;

Parameter
NameDescription
valueByteString

The bytes of the path to add.

Returns
TypeDescription
RelationDescriptor.ColumnDescriptor.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public RelationDescriptor.ColumnDescriptor build()
Returns
TypeDescription
RelationDescriptor.ColumnDescriptor

buildPartial()

public RelationDescriptor.ColumnDescriptor buildPartial()
Returns
TypeDescription
RelationDescriptor.ColumnDescriptor

clear()

public RelationDescriptor.ColumnDescriptor.Builder clear()
Returns
TypeDescription
RelationDescriptor.ColumnDescriptor.Builder
Overrides

clearBigqueryPolicyTags()

public RelationDescriptor.ColumnDescriptor.Builder clearBigqueryPolicyTags()

A list of BigQuery policy tags that will be applied to the column.

repeated string bigquery_policy_tags = 3;

Returns
TypeDescription
RelationDescriptor.ColumnDescriptor.Builder

This builder for chaining.

clearDescription()

public RelationDescriptor.ColumnDescriptor.Builder clearDescription()

A textual description of the column.

string description = 2;

Returns
TypeDescription
RelationDescriptor.ColumnDescriptor.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPath()

public RelationDescriptor.ColumnDescriptor.Builder clearPath()

The identifier for the column. Each entry in path represents one level of nesting.

repeated string path = 1;

Returns
TypeDescription
RelationDescriptor.ColumnDescriptor.Builder

This builder for chaining.

clone()

public RelationDescriptor.ColumnDescriptor.Builder clone()
Returns
TypeDescription
RelationDescriptor.ColumnDescriptor.Builder
Overrides

getBigqueryPolicyTags(int index)

public String getBigqueryPolicyTags(int index)

A list of BigQuery policy tags that will be applied to the column.

repeated string bigquery_policy_tags = 3;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The bigqueryPolicyTags at the given index.

getBigqueryPolicyTagsBytes(int index)

public ByteString getBigqueryPolicyTagsBytes(int index)

A list of BigQuery policy tags that will be applied to the column.

repeated string bigquery_policy_tags = 3;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the bigqueryPolicyTags at the given index.

getBigqueryPolicyTagsCount()

public int getBigqueryPolicyTagsCount()

A list of BigQuery policy tags that will be applied to the column.

repeated string bigquery_policy_tags = 3;

Returns
TypeDescription
int

The count of bigqueryPolicyTags.

getBigqueryPolicyTagsList()

public ProtocolStringList getBigqueryPolicyTagsList()

A list of BigQuery policy tags that will be applied to the column.

repeated string bigquery_policy_tags = 3;

Returns
TypeDescription
ProtocolStringList

A list containing the bigqueryPolicyTags.

getDefaultInstanceForType()

public RelationDescriptor.ColumnDescriptor getDefaultInstanceForType()
Returns
TypeDescription
RelationDescriptor.ColumnDescriptor

getDescription()

public String getDescription()

A textual description of the column.

string description = 2;

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

A textual description of the column.

string description = 2;

Returns
TypeDescription
ByteString

The bytes for description.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getPath(int index)

public String getPath(int index)

The identifier for the column. Each entry in path represents one level of nesting.

repeated string path = 1;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The path at the given index.

getPathBytes(int index)

public ByteString getPathBytes(int index)

The identifier for the column. Each entry in path represents one level of nesting.

repeated string path = 1;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the path at the given index.

getPathCount()

public int getPathCount()

The identifier for the column. Each entry in path represents one level of nesting.

repeated string path = 1;

Returns
TypeDescription
int

The count of path.

getPathList()

public ProtocolStringList getPathList()

The identifier for the column. Each entry in path represents one level of nesting.

repeated string path = 1;

Returns
TypeDescription
ProtocolStringList

A list containing the path.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(RelationDescriptor.ColumnDescriptor other)

public RelationDescriptor.ColumnDescriptor.Builder mergeFrom(RelationDescriptor.ColumnDescriptor other)
Parameter
NameDescription
otherRelationDescriptor.ColumnDescriptor
Returns
TypeDescription
RelationDescriptor.ColumnDescriptor.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setBigqueryPolicyTags(int index, String value)

public RelationDescriptor.ColumnDescriptor.Builder setBigqueryPolicyTags(int index, String value)

A list of BigQuery policy tags that will be applied to the column.

repeated string bigquery_policy_tags = 3;

Parameters
NameDescription
indexint

The index to set the value at.

valueString

The bigqueryPolicyTags to set.

Returns
TypeDescription
RelationDescriptor.ColumnDescriptor.Builder

This builder for chaining.

setDescription(String value)

public RelationDescriptor.ColumnDescriptor.Builder setDescription(String value)

A textual description of the column.

string description = 2;

Parameter
NameDescription
valueString

The description to set.

Returns
TypeDescription
RelationDescriptor.ColumnDescriptor.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public RelationDescriptor.ColumnDescriptor.Builder setDescriptionBytes(ByteString value)

A textual description of the column.

string description = 2;

Parameter
NameDescription
valueByteString

The bytes for description to set.

Returns
TypeDescription
RelationDescriptor.ColumnDescriptor.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setPath(int index, String value)

public RelationDescriptor.ColumnDescriptor.Builder setPath(int index, String value)

The identifier for the column. Each entry in path represents one level of nesting.

repeated string path = 1;

Parameters
NameDescription
indexint

The index to set the value at.

valueString

The path to set.

Returns
TypeDescription
RelationDescriptor.ColumnDescriptor.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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