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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
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>
|
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;
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;
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;
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;
public RelationDescriptor.ColumnDescriptor.Builder addColumnsBuilder()
A list of descriptions of columns within the relation.
repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2;
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
|
public RelationDescriptor.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public RelationDescriptor build()
public RelationDescriptor buildPartial()
public RelationDescriptor.Builder clear()
Overrides
public RelationDescriptor.Builder clearBigqueryLabels()
public RelationDescriptor.Builder clearColumns()
A list of descriptions of columns within the relation.
repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2;
public RelationDescriptor.Builder clearDescription()
A text description of the relation.
string description = 1;
public RelationDescriptor.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public RelationDescriptor.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public RelationDescriptor.Builder clone()
Overrides
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
|
public Map<String,String> getBigqueryLabels()
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 |
|
public Map<String,String> getBigqueryLabelsMap()
A set of BigQuery labels that should be applied to the relation.
map<string, string> bigquery_labels = 3;
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;
Returns |
Type |
Description |
String |
|
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 |
|
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
|
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
|
public List<RelationDescriptor.ColumnDescriptor.Builder> getColumnsBuilderList()
A list of descriptions of columns within the relation.
repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2;
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 |
|
public List<RelationDescriptor.ColumnDescriptor> getColumnsList()
A list of descriptions of columns within the relation.
repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2;
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
|
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> |
|
public RelationDescriptor getDefaultInstanceForType()
public String getDescription()
A text description of the relation.
string description = 1;
Returns |
Type |
Description |
String |
The description.
|
public ByteString getDescriptionBytes()
A text description of the relation.
string description = 1;
Returns |
Type |
Description |
ByteString |
The bytes for description.
|
public Descriptors.Descriptor getDescriptorForType()
Overrides
public Map<String,String> getMutableBigqueryLabels()
Use alternate mutation accessors instead.
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
protected MapField internalGetMapField(int number)
Parameter |
Name |
Description |
number |
int
|
Overrides
protected MapField internalGetMutableMapField(int number)
Parameter |
Name |
Description |
number |
int
|
Overrides
public final boolean isInitialized()
Overrides
public RelationDescriptor.Builder mergeFrom(RelationDescriptor other)
public RelationDescriptor.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public RelationDescriptor.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public final RelationDescriptor.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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;
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;
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
|
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
|
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;
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;
public RelationDescriptor.Builder setDescription(String value)
A text description of the relation.
string description = 1;
Parameter |
Name |
Description |
value |
String
The description to set.
|
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.
|
public RelationDescriptor.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public RelationDescriptor.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final RelationDescriptor.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides