Class RelationDescriptor (0.41.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
TypeDescription
int

COLUMNS_FIELD_NUMBER

public static final int COLUMNS_FIELD_NUMBER
Field Value
TypeDescription
int

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static RelationDescriptor getDefaultInstance()
Returns
TypeDescription
RelationDescriptor

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static RelationDescriptor.Builder newBuilder()
Returns
TypeDescription
RelationDescriptor.Builder

newBuilder(RelationDescriptor prototype)

public static RelationDescriptor.Builder newBuilder(RelationDescriptor prototype)
Parameter
NameDescription
prototypeRelationDescriptor
Returns
TypeDescription
RelationDescriptor.Builder

parseDelimitedFrom(InputStream input)

public static RelationDescriptor parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
RelationDescriptor
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RelationDescriptor parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RelationDescriptor
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static RelationDescriptor parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
RelationDescriptor
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static RelationDescriptor parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RelationDescriptor
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static RelationDescriptor parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
RelationDescriptor
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static RelationDescriptor parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RelationDescriptor
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static RelationDescriptor parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
RelationDescriptor
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static RelationDescriptor parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RelationDescriptor
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static RelationDescriptor parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
RelationDescriptor
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RelationDescriptor parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RelationDescriptor
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static RelationDescriptor parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
RelationDescriptor
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static RelationDescriptor parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RelationDescriptor
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<RelationDescriptor> parser()
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
boolean

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getBigqueryLabels() (deprecated)

public Map<String,String> getBigqueryLabels()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
keyString
defaultValueString
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptorOrBuilder>

getDefaultInstanceForType()

public RelationDescriptor getDefaultInstanceForType()
Returns
TypeDescription
RelationDescriptor

getDescription()

public String getDescription()

A text description of the relation.

string description = 1;

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

A text description of the relation.

string description = 1;

Returns
TypeDescription
ByteString

The bytes for description.

getParserForType()

public Parser<RelationDescriptor> getParserForType()
Returns
TypeDescription
Parser<RelationDescriptor>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public RelationDescriptor.Builder newBuilderForType()
Returns
TypeDescription
RelationDescriptor.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected RelationDescriptor.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
RelationDescriptor.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public RelationDescriptor.Builder toBuilder()
Returns
TypeDescription
RelationDescriptor.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException