public static final class RelationDescriptor.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RelationDescriptor.Builder> implements RelationDescriptorOrBuilder
Describes a relation and its columns.Protobuf type
google.cloud.dataform.v1alpha2.RelationDescriptor| Modifier and Type | Method and Description |
|---|---|
RelationDescriptor.Builder |
addAllColumns(Iterable<? extends RelationDescriptor.ColumnDescriptor> values)
A list of descriptions of columns within the relation.
|
RelationDescriptor.Builder |
addColumns(int index,
RelationDescriptor.ColumnDescriptor.Builder builderForValue)
A list of descriptions of columns within the relation.
|
RelationDescriptor.Builder |
addColumns(int index,
RelationDescriptor.ColumnDescriptor value)
A list of descriptions of columns within the relation.
|
RelationDescriptor.Builder |
addColumns(RelationDescriptor.ColumnDescriptor.Builder builderForValue)
A list of descriptions of columns within the relation.
|
RelationDescriptor.Builder |
addColumns(RelationDescriptor.ColumnDescriptor value)
A list of descriptions of columns within the relation.
|
RelationDescriptor.ColumnDescriptor.Builder |
addColumnsBuilder()
A list of descriptions of columns within the relation.
|
RelationDescriptor.ColumnDescriptor.Builder |
addColumnsBuilder(int index)
A list of descriptions of columns within the relation.
|
RelationDescriptor.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RelationDescriptor |
build() |
RelationDescriptor |
buildPartial() |
RelationDescriptor.Builder |
clear() |
RelationDescriptor.Builder |
clearBigqueryLabels() |
RelationDescriptor.Builder |
clearColumns()
A list of descriptions of columns within the relation.
|
RelationDescriptor.Builder |
clearDescription()
A text description of the relation.
|
RelationDescriptor.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
RelationDescriptor.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
RelationDescriptor.Builder |
clone() |
boolean |
containsBigqueryLabels(String key)
A set of BigQuery labels that should be applied to the relation.
|
Map<String,String> |
getBigqueryLabels()
Deprecated.
|
int |
getBigqueryLabelsCount()
A set of BigQuery labels that should be applied to the relation.
|
Map<String,String> |
getBigqueryLabelsMap()
A set of BigQuery labels that should be applied to the relation.
|
String |
getBigqueryLabelsOrDefault(String key,
String defaultValue)
A set of BigQuery labels that should be applied to the relation.
|
String |
getBigqueryLabelsOrThrow(String key)
A set of BigQuery labels that should be applied to the relation.
|
RelationDescriptor.ColumnDescriptor |
getColumns(int index)
A list of descriptions of columns within the relation.
|
RelationDescriptor.ColumnDescriptor.Builder |
getColumnsBuilder(int index)
A list of descriptions of columns within the relation.
|
List<RelationDescriptor.ColumnDescriptor.Builder> |
getColumnsBuilderList()
A list of descriptions of columns within the relation.
|
int |
getColumnsCount()
A list of descriptions of columns within the relation.
|
List<RelationDescriptor.ColumnDescriptor> |
getColumnsList()
A list of descriptions of columns within the relation.
|
RelationDescriptor.ColumnDescriptorOrBuilder |
getColumnsOrBuilder(int index)
A list of descriptions of columns within the relation.
|
List<? extends RelationDescriptor.ColumnDescriptorOrBuilder> |
getColumnsOrBuilderList()
A list of descriptions of columns within the relation.
|
RelationDescriptor |
getDefaultInstanceForType() |
String |
getDescription()
A text description of the relation.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
A text description of the relation.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Map<String,String> |
getMutableBigqueryLabels()
Deprecated.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
protected com.google.protobuf.MapField |
internalGetMutableMapField(int number) |
boolean |
isInitialized() |
RelationDescriptor.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RelationDescriptor.Builder |
mergeFrom(com.google.protobuf.Message other) |
RelationDescriptor.Builder |
mergeFrom(RelationDescriptor other) |
RelationDescriptor.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
RelationDescriptor.Builder |
putAllBigqueryLabels(Map<String,String> values)
A set of BigQuery labels that should be applied to the relation.
|
RelationDescriptor.Builder |
putBigqueryLabels(String key,
String value)
A set of BigQuery labels that should be applied to the relation.
|
RelationDescriptor.Builder |
removeBigqueryLabels(String key)
A set of BigQuery labels that should be applied to the relation.
|
RelationDescriptor.Builder |
removeColumns(int index)
A list of descriptions of columns within the relation.
|
RelationDescriptor.Builder |
setColumns(int index,
RelationDescriptor.ColumnDescriptor.Builder builderForValue)
A list of descriptions of columns within the relation.
|
RelationDescriptor.Builder |
setColumns(int index,
RelationDescriptor.ColumnDescriptor value)
A list of descriptions of columns within the relation.
|
RelationDescriptor.Builder |
setDescription(String value)
A text description of the relation.
|
RelationDescriptor.Builder |
setDescriptionBytes(com.google.protobuf.ByteString value)
A text description of the relation.
|
RelationDescriptor.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RelationDescriptor.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
RelationDescriptor.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapFieldReflection, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<RelationDescriptor.Builder>protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<RelationDescriptor.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<RelationDescriptor.Builder>public RelationDescriptor.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<RelationDescriptor.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<RelationDescriptor.Builder>public RelationDescriptor getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic RelationDescriptor build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic RelationDescriptor buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic RelationDescriptor.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<RelationDescriptor.Builder>public RelationDescriptor.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<RelationDescriptor.Builder>public RelationDescriptor.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<RelationDescriptor.Builder>public RelationDescriptor.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<RelationDescriptor.Builder>public RelationDescriptor.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RelationDescriptor.Builder>public RelationDescriptor.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RelationDescriptor.Builder>public RelationDescriptor.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RelationDescriptor.Builder>public RelationDescriptor.Builder mergeFrom(RelationDescriptor other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<RelationDescriptor.Builder>public RelationDescriptor.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RelationDescriptor.Builder>IOExceptionpublic String getDescription()
A text description of the relation.
string description = 1;getDescription in interface RelationDescriptorOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
A text description of the relation.
string description = 1;getDescriptionBytes in interface RelationDescriptorOrBuilderpublic RelationDescriptor.Builder setDescription(String value)
A text description of the relation.
string description = 1;value - The description to set.public RelationDescriptor.Builder clearDescription()
A text description of the relation.
string description = 1;public RelationDescriptor.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
A text description of the relation.
string description = 1;value - The bytes for description to set.public List<RelationDescriptor.ColumnDescriptor> getColumnsList()
A list of descriptions of columns within the relation.
repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2;
getColumnsList in interface RelationDescriptorOrBuilderpublic int getColumnsCount()
A list of descriptions of columns within the relation.
repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2;
getColumnsCount in interface RelationDescriptorOrBuilderpublic RelationDescriptor.ColumnDescriptor getColumns(int index)
A list of descriptions of columns within the relation.
repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2;
getColumns in interface RelationDescriptorOrBuilderpublic 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;
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;
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;
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;
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;
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;
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;
public RelationDescriptor.Builder clearColumns()
A list of descriptions of columns within the relation.
repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2;
public RelationDescriptor.Builder removeColumns(int index)
A list of descriptions of columns within the relation.
repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2;
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;
public RelationDescriptor.ColumnDescriptorOrBuilder getColumnsOrBuilder(int index)
A list of descriptions of columns within the relation.
repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2;
getColumnsOrBuilder in interface RelationDescriptorOrBuilderpublic List<? extends RelationDescriptor.ColumnDescriptorOrBuilder> getColumnsOrBuilderList()
A list of descriptions of columns within the relation.
repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2;
getColumnsOrBuilderList in interface RelationDescriptorOrBuilderpublic RelationDescriptor.ColumnDescriptor.Builder addColumnsBuilder()
A list of descriptions of columns within the relation.
repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2;
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;
public List<RelationDescriptor.ColumnDescriptor.Builder> getColumnsBuilderList()
A list of descriptions of columns within the relation.
repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2;
public int getBigqueryLabelsCount()
RelationDescriptorOrBuilderA set of BigQuery labels that should be applied to the relation.
map<string, string> bigquery_labels = 3;getBigqueryLabelsCount in interface RelationDescriptorOrBuilderpublic boolean containsBigqueryLabels(String key)
A set of BigQuery labels that should be applied to the relation.
map<string, string> bigquery_labels = 3;containsBigqueryLabels in interface RelationDescriptorOrBuilder@Deprecated public Map<String,String> getBigqueryLabels()
getBigqueryLabelsMap() instead.getBigqueryLabels in interface RelationDescriptorOrBuilderpublic Map<String,String> getBigqueryLabelsMap()
A set of BigQuery labels that should be applied to the relation.
map<string, string> bigquery_labels = 3;getBigqueryLabelsMap in interface RelationDescriptorOrBuilderpublic String getBigqueryLabelsOrDefault(String key, String defaultValue)
A set of BigQuery labels that should be applied to the relation.
map<string, string> bigquery_labels = 3;getBigqueryLabelsOrDefault in interface RelationDescriptorOrBuilderpublic String getBigqueryLabelsOrThrow(String key)
A set of BigQuery labels that should be applied to the relation.
map<string, string> bigquery_labels = 3;getBigqueryLabelsOrThrow in interface RelationDescriptorOrBuilderpublic RelationDescriptor.Builder clearBigqueryLabels()
public RelationDescriptor.Builder removeBigqueryLabels(String key)
A set of BigQuery labels that should be applied to the relation.
map<string, string> bigquery_labels = 3;@Deprecated public Map<String,String> getMutableBigqueryLabels()
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;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;public final RelationDescriptor.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RelationDescriptor.Builder>public final RelationDescriptor.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RelationDescriptor.Builder>Copyright © 2024 Google LLC. All rights reserved.