public static final class RelationDescriptor.Builder extends GeneratedMessage.Builder<RelationDescriptor.Builder> implements RelationDescriptorOrBuilderDescribes a relation and its columns.
Protobuf type google.cloud.dataform.v1.RelationDescriptor
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > RelationDescriptor.BuilderImplements
RelationDescriptorOrBuilderStatic 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.v1.RelationDescriptor.ColumnDescriptor columns = 2;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.dataform.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.RelationDescriptor.ColumnDescriptor columns = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
RelationDescriptor.ColumnDescriptor.Builder |
|
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 |
|
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.v1.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. |
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()Use #getBigqueryLabelsMap() instead.
| 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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.RelationDescriptor.ColumnDescriptor columns = 2;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.dataform.v1.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 |
|
getMutableBigqueryLabels() (deprecated)
public Map<String,String> getMutableBigqueryLabels()Use alternate mutation accessors instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public RelationDescriptor.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
RelationDescriptor.Builder |
|
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.v1.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.v1.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.v1.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 |
StringThe 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 |
ByteStringThe bytes for description to set. |
| Returns | |
|---|---|
| Type | Description |
RelationDescriptor.Builder |
This builder for chaining. |