public final class RelationDescriptor extends GeneratedMessageV3 implements RelationDescriptorOrBuilder
Describes a relation and its columns.
Protobuf type google.cloud.dataform.v1alpha2.RelationDescriptor
Static Fields
public static final int BIGQUERY_LABELS_FIELD_NUMBER
Field Value
public static final int COLUMNS_FIELD_NUMBER
Field Value
public static final int DESCRIPTION_FIELD_NUMBER
Field Value
Static Methods
public static RelationDescriptor getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static RelationDescriptor.Builder newBuilder()
Returns
public static RelationDescriptor.Builder newBuilder(RelationDescriptor prototype)
Parameter
Returns
public static RelationDescriptor parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static RelationDescriptor parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static RelationDescriptor parseFrom(byte[] data)
Parameter
Name |
Description |
data |
byte[]
|
Returns
Exceptions
public static RelationDescriptor parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static RelationDescriptor parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static RelationDescriptor parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static RelationDescriptor parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static RelationDescriptor parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static RelationDescriptor parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static RelationDescriptor parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static RelationDescriptor parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static RelationDescriptor parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<RelationDescriptor> parser()
Returns
Methods
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 boolean equals(Object obj)
Parameter
Returns
Overrides
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 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 Parser<RelationDescriptor> getParserForType()
Returns
Overrides
public int getSerializedSize()
Returns
Overrides
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
protected MapField internalGetMapField(int number)
Parameter
Name |
Description |
number |
int
|
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public RelationDescriptor.Builder newBuilderForType()
Returns
protected RelationDescriptor.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public RelationDescriptor.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions