Class RelationDescriptor (0.39.0)

public final class RelationDescriptor extends GeneratedMessageV3 implements RelationDescriptorOrBuilder

Describes a relation and its columns.

Protobuf type google.cloud.dataform.v1alpha2.RelationDescriptor

Static Fields

BIGQUERY_LABELS_FIELD_NUMBER

public static final int BIGQUERY_LABELS_FIELD_NUMBER
Field Value
Type Description
int

COLUMNS_FIELD_NUMBER

public static final int COLUMNS_FIELD_NUMBER
Field Value
Type Description
int

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static RelationDescriptor getDefaultInstance()
Returns
Type Description
RelationDescriptor

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static RelationDescriptor.Builder newBuilder()
Returns
Type Description
RelationDescriptor.Builder

newBuilder(RelationDescriptor prototype)

public static RelationDescriptor.Builder newBuilder(RelationDescriptor prototype)
Parameter
Name Description
prototype RelationDescriptor
Returns
Type Description
RelationDescriptor.Builder

parseDelimitedFrom(InputStream input)

public static RelationDescriptor parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RelationDescriptor
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RelationDescriptor parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RelationDescriptor
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static RelationDescriptor parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
RelationDescriptor
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static RelationDescriptor parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RelationDescriptor
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static RelationDescriptor parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
RelationDescriptor
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static RelationDescriptor parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RelationDescriptor
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static RelationDescriptor parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
RelationDescriptor
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static RelationDescriptor parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RelationDescriptor
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static RelationDescriptor parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RelationDescriptor
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RelationDescriptor parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RelationDescriptor
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static RelationDescriptor parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
RelationDescriptor
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static RelationDescriptor parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RelationDescriptor
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<RelationDescriptor> parser()
Returns
Type Description
Parser<RelationDescriptor>

Methods

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

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getBigqueryLabels() (deprecated)

public Map<String,String> getBigqueryLabels()
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.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2;

Parameter
Name Description
index int
Returns
Type Description
RelationDescriptor.ColumnDescriptor

getColumnsCount()

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

getColumnsList()

public List<RelationDescriptor.ColumnDescriptor> getColumnsList()

A list of descriptions of columns within the relation.

repeated .google.cloud.dataform.v1alpha2.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.v1alpha2.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.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2;

Returns
Type Description
List<? extends com.google.cloud.dataform.v1alpha2.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.

getParserForType()

public Parser<RelationDescriptor> getParserForType()
Returns
Type Description
Parser<RelationDescriptor>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public RelationDescriptor.Builder newBuilderForType()
Returns
Type Description
RelationDescriptor.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected RelationDescriptor.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
RelationDescriptor.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public RelationDescriptor.Builder toBuilder()
Returns
Type Description
RelationDescriptor.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException