Class RelationDescriptor.Builder (0.53.0)

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

Describes a relation and its columns.

Protobuf type google.cloud.dataform.v1alpha2.RelationDescriptor

Static Methods

getDescriptor()

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

Methods

addAllColumns(Iterable<? extends RelationDescriptor.ColumnDescriptor> values)

public RelationDescriptor.Builder addAllColumns(Iterable<? extends RelationDescriptor.ColumnDescriptor> values)

A list of descriptions of columns within the relation.

repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2;

Parameter
Name Description
values Iterable<? extends com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor>
Returns
Type Description
RelationDescriptor.Builder

addColumns(RelationDescriptor.ColumnDescriptor value)

public RelationDescriptor.Builder addColumns(RelationDescriptor.ColumnDescriptor value)

A list of descriptions of columns within the relation.

repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2;

Parameter
Name Description
value RelationDescriptor.ColumnDescriptor
Returns
Type Description
RelationDescriptor.Builder

addColumns(RelationDescriptor.ColumnDescriptor.Builder builderForValue)

public RelationDescriptor.Builder addColumns(RelationDescriptor.ColumnDescriptor.Builder builderForValue)

A list of descriptions of columns within the relation.

repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2;

Parameter
Name Description
builderForValue RelationDescriptor.ColumnDescriptor.Builder
Returns
Type Description
RelationDescriptor.Builder

addColumns(int index, RelationDescriptor.ColumnDescriptor value)

public RelationDescriptor.Builder addColumns(int index, RelationDescriptor.ColumnDescriptor value)

A list of descriptions of columns within the relation.

repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2;

Parameters
Name Description
index int
value RelationDescriptor.ColumnDescriptor
Returns
Type Description
RelationDescriptor.Builder

addColumns(int index, RelationDescriptor.ColumnDescriptor.Builder builderForValue)

public RelationDescriptor.Builder addColumns(int index, RelationDescriptor.ColumnDescriptor.Builder builderForValue)

A list of descriptions of columns within the relation.

repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2;

Parameters
Name Description
index int
builderForValue RelationDescriptor.ColumnDescriptor.Builder
Returns
Type Description
RelationDescriptor.Builder

addColumnsBuilder()

public RelationDescriptor.ColumnDescriptor.Builder addColumnsBuilder()

A list of descriptions of columns within the relation.

repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2;

Returns
Type Description
RelationDescriptor.ColumnDescriptor.Builder

addColumnsBuilder(int index)

public RelationDescriptor.ColumnDescriptor.Builder addColumnsBuilder(int index)

A list of descriptions of columns within the relation.

repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2;

Parameter
Name Description
index int
Returns
Type Description
RelationDescriptor.ColumnDescriptor.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public RelationDescriptor build()
Returns
Type Description
RelationDescriptor

buildPartial()

public RelationDescriptor buildPartial()
Returns
Type Description
RelationDescriptor

clear()

public RelationDescriptor.Builder clear()
Returns
Type Description
RelationDescriptor.Builder
Overrides

clearBigqueryLabels()

public RelationDescriptor.Builder clearBigqueryLabels()
Returns
Type Description
RelationDescriptor.Builder

clearColumns()

public RelationDescriptor.Builder clearColumns()

A list of descriptions of columns within the relation.

repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2;

Returns
Type Description
RelationDescriptor.Builder

clearDescription()

public RelationDescriptor.Builder clearDescription()

A text description of the relation.

string description = 1;

Returns
Type Description
RelationDescriptor.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public RelationDescriptor.Builder clone()
Returns
Type Description
RelationDescriptor.Builder
Overrides

containsBigqueryLabels(String key)

public boolean containsBigqueryLabels(String key)

A set of BigQuery labels that should be applied to the relation.

map<string, string> bigquery_labels = 3;

Parameter
Name Description
key String
Returns
Type Description
boolean

getBigqueryLabels() (deprecated)

public Map<String,String> getBigqueryLabels()
Returns
Type Description
Map<String,String>

getBigqueryLabelsCount()

public int getBigqueryLabelsCount()

A set of BigQuery labels that should be applied to the relation.

map<string, string> bigquery_labels = 3;

Returns
Type Description
int

getBigqueryLabelsMap()

public Map<String,String> getBigqueryLabelsMap()

A set of BigQuery labels that should be applied to the relation.

map<string, string> bigquery_labels = 3;

Returns
Type Description
Map<String,String>

getBigqueryLabelsOrDefault(String key, String defaultValue)

public String getBigqueryLabelsOrDefault(String key, String defaultValue)

A set of BigQuery labels that should be applied to the relation.

map<string, string> bigquery_labels = 3;

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getBigqueryLabelsOrThrow(String key)

public String getBigqueryLabelsOrThrow(String key)

A set of BigQuery labels that should be applied to the relation.

map<string, string> bigquery_labels = 3;

Parameter
Name Description
key String
Returns
Type Description
String

getColumns(int index)

public RelationDescriptor.ColumnDescriptor getColumns(int index)

A list of descriptions of columns within the relation.

repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2;

Parameter
Name Description
index int
Returns
Type Description
RelationDescriptor.ColumnDescriptor

getColumnsBuilder(int index)

public RelationDescriptor.ColumnDescriptor.Builder getColumnsBuilder(int index)

A list of descriptions of columns within the relation.

repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2;

Parameter
Name Description
index int
Returns
Type Description
RelationDescriptor.ColumnDescriptor.Builder

getColumnsBuilderList()

public List<RelationDescriptor.ColumnDescriptor.Builder> getColumnsBuilderList()

A list of descriptions of columns within the relation.

repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2;

Returns
Type Description
List<Builder>

getColumnsCount()

public int getColumnsCount()

A list of descriptions of columns within the relation.

repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2;

Returns
Type Description
int

getColumnsList()

public List<RelationDescriptor.ColumnDescriptor> getColumnsList()

A list of descriptions of columns within the relation.

repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2;

Returns
Type Description
List<ColumnDescriptor>

getColumnsOrBuilder(int index)

public RelationDescriptor.ColumnDescriptorOrBuilder getColumnsOrBuilder(int index)

A list of descriptions of columns within the relation.

repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2;

Parameter
Name Description
index int
Returns
Type Description
RelationDescriptor.ColumnDescriptorOrBuilder

getColumnsOrBuilderList()

public List<? extends RelationDescriptor.ColumnDescriptorOrBuilder> getColumnsOrBuilderList()

A list of descriptions of columns within the relation.

repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2;

Returns
Type Description
List<? extends com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptorOrBuilder>

getDefaultInstanceForType()

public RelationDescriptor getDefaultInstanceForType()
Returns
Type Description
RelationDescriptor

getDescription()

public String getDescription()

A text description of the relation.

string description = 1;

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

A text description of the relation.

string description = 1;

Returns
Type Description
ByteString

The bytes for description.

getDescriptorForType()

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

getMutableBigqueryLabels() (deprecated)

public Map<String,String> getMutableBigqueryLabels()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,String>

internalGetFieldAccessorTable()

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

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(RelationDescriptor other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

putAllBigqueryLabels(Map<String,String> values)

public RelationDescriptor.Builder putAllBigqueryLabels(Map<String,String> values)

A set of BigQuery labels that should be applied to the relation.

map<string, string> bigquery_labels = 3;

Parameter
Name Description
values Map<String,String>
Returns
Type Description
RelationDescriptor.Builder

putBigqueryLabels(String key, String value)

public RelationDescriptor.Builder putBigqueryLabels(String key, String value)

A set of BigQuery labels that should be applied to the relation.

map<string, string> bigquery_labels = 3;

Parameters
Name Description
key String
value String
Returns
Type Description
RelationDescriptor.Builder

removeBigqueryLabels(String key)

public RelationDescriptor.Builder removeBigqueryLabels(String key)

A set of BigQuery labels that should be applied to the relation.

map<string, string> bigquery_labels = 3;

Parameter
Name Description
key String
Returns
Type Description
RelationDescriptor.Builder

removeColumns(int index)

public RelationDescriptor.Builder removeColumns(int index)

A list of descriptions of columns within the relation.

repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2;

Parameter
Name Description
index int
Returns
Type Description
RelationDescriptor.Builder

setColumns(int index, RelationDescriptor.ColumnDescriptor value)

public RelationDescriptor.Builder setColumns(int index, RelationDescriptor.ColumnDescriptor value)

A list of descriptions of columns within the relation.

repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2;

Parameters
Name Description
index int
value RelationDescriptor.ColumnDescriptor
Returns
Type Description
RelationDescriptor.Builder

setColumns(int index, RelationDescriptor.ColumnDescriptor.Builder builderForValue)

public RelationDescriptor.Builder setColumns(int index, RelationDescriptor.ColumnDescriptor.Builder builderForValue)

A list of descriptions of columns within the relation.

repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2;

Parameters
Name Description
index int
builderForValue RelationDescriptor.ColumnDescriptor.Builder
Returns
Type Description
RelationDescriptor.Builder

setDescription(String value)

public RelationDescriptor.Builder setDescription(String value)

A text description of the relation.

string description = 1;

Parameter
Name Description
value String

The description to set.

Returns
Type Description
RelationDescriptor.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public RelationDescriptor.Builder setDescriptionBytes(ByteString value)

A text description of the relation.

string description = 1;

Parameter
Name Description
value ByteString

The bytes for description to set.

Returns
Type Description
RelationDescriptor.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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