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.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()
Returns
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>
|
Returns
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
Returns
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
Returns
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
Returns
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
Returns
public RelationDescriptor.ColumnDescriptor.Builder addColumnsBuilder()
A list of descriptions of columns within the relation.
repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2;
Returns
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
public RelationDescriptor.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public RelationDescriptor build()
Returns
public RelationDescriptor buildPartial()
Returns
public RelationDescriptor.Builder clear()
Returns
Overrides
public RelationDescriptor.Builder clearBigqueryLabels()
Returns
public RelationDescriptor.Builder clearColumns()
A list of descriptions of columns within the relation.
repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2;
Returns
public RelationDescriptor.Builder clearDescription()
A text description of the relation.
string description = 1;
Returns
public RelationDescriptor.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public RelationDescriptor.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public RelationDescriptor.Builder clone()
Returns
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
Returns
public Map<String,String> getBigqueryLabels()
Returns
public int getBigqueryLabelsCount()
A set of BigQuery labels that should be applied to the relation.
map<string, string> bigquery_labels = 3;
Returns
public Map<String,String> getBigqueryLabelsMap()
A set of BigQuery labels that should be applied to the relation.
map<string, string> bigquery_labels = 3;
Returns
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
Returns
public String getBigqueryLabelsOrThrow(String key)
A set of BigQuery labels that should be applied to the relation.
map<string, string> bigquery_labels = 3;
Parameter
Returns
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
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
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
public int getColumnsCount()
A list of descriptions of columns within the relation.
repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2;
Returns
public List<RelationDescriptor.ColumnDescriptor> getColumnsList()
A list of descriptions of columns within the relation.
repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2;
Returns
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
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()
Returns
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()
Returns
Overrides
public Map<String,String> getMutableBigqueryLabels()
Use alternate mutation accessors instead.
Returns
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
protected MapField internalGetMapField(int number)
Parameter
Name |
Description |
number |
int
|
Returns
Overrides
protected MapField internalGetMutableMapField(int number)
Parameter
Name |
Description |
number |
int
|
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public RelationDescriptor.Builder mergeFrom(RelationDescriptor other)
Parameter
Returns
public RelationDescriptor.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public RelationDescriptor.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final RelationDescriptor.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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;
Parameter
Returns
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
Returns
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
Returns
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
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
Returns
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
Returns
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
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
public RelationDescriptor.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public RelationDescriptor.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final RelationDescriptor.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides