Class RelationDescriptor (0.48.0)
Stay organized with collections
Save and categorize content based on your preferences.
public final class RelationDescriptor extends GeneratedMessageV3 implements RelationDescriptorOrBuilder
Describes a relation and its columns.
Protobuf type google.cloud.dataform.v1beta1.RelationDescriptor
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int BIGQUERY_LABELS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int COLUMNS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int DESCRIPTION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
public static RelationDescriptor getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static RelationDescriptor.Builder newBuilder()
public static RelationDescriptor.Builder newBuilder(RelationDescriptor prototype)
public static RelationDescriptor parseDelimitedFrom(InputStream input)
public static RelationDescriptor parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static RelationDescriptor parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
public static RelationDescriptor parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static RelationDescriptor parseFrom(ByteString data)
public static RelationDescriptor parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static RelationDescriptor parseFrom(CodedInputStream input)
public static RelationDescriptor parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static RelationDescriptor parseFrom(InputStream input)
public static RelationDescriptor parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static RelationDescriptor parseFrom(ByteBuffer data)
public static RelationDescriptor parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<RelationDescriptor> parser()
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 |
Name |
Description |
key |
String
|
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
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.v1beta1.RelationDescriptor.ColumnDescriptor columns = 2;
Parameter |
Name |
Description |
index |
int
|
public int getColumnsCount()
A list of descriptions of columns within the relation.
repeated .google.cloud.dataform.v1beta1.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.v1beta1.RelationDescriptor.ColumnDescriptor columns = 2;
public RelationDescriptor.ColumnDescriptorOrBuilder getColumnsOrBuilder(int index)
A list of descriptions of columns within the relation.
repeated .google.cloud.dataform.v1beta1.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.v1beta1.RelationDescriptor.ColumnDescriptor columns = 2;
Returns |
Type |
Description |
List<? extends com.google.cloud.dataform.v1beta1.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 Parser<RelationDescriptor> getParserForType()
Overrides
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
Returns |
Type |
Description |
int |
|
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter |
Name |
Description |
number |
int
|
Returns |
Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
public final boolean isInitialized()
Overrides
public RelationDescriptor.Builder newBuilderForType()
protected RelationDescriptor.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
public RelationDescriptor.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-03 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
{"lastModified": "Last updated 2024-10-03 UTC."}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-03 UTC."]]