Class RelationDescriptor.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<RelationDescriptor.Builder>
-
- com.google.cloud.dataform.v1alpha2.RelationDescriptor.Builder
-
- All Implemented Interfaces:
RelationDescriptorOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- RelationDescriptor
public static final class RelationDescriptor.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RelationDescriptor.Builder> implements RelationDescriptorOrBuilder
Describes a relation and its columns.
Protobuf typegoogle.cloud.dataform.v1alpha2.RelationDescriptor
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description RelationDescriptor.BuilderaddAllColumns(Iterable<? extends RelationDescriptor.ColumnDescriptor> values)A list of descriptions of columns within the relation.RelationDescriptor.BuilderaddColumns(int index, RelationDescriptor.ColumnDescriptor value)A list of descriptions of columns within the relation.RelationDescriptor.BuilderaddColumns(int index, RelationDescriptor.ColumnDescriptor.Builder builderForValue)A list of descriptions of columns within the relation.RelationDescriptor.BuilderaddColumns(RelationDescriptor.ColumnDescriptor value)A list of descriptions of columns within the relation.RelationDescriptor.BuilderaddColumns(RelationDescriptor.ColumnDescriptor.Builder builderForValue)A list of descriptions of columns within the relation.RelationDescriptor.ColumnDescriptor.BuilderaddColumnsBuilder()A list of descriptions of columns within the relation.RelationDescriptor.ColumnDescriptor.BuilderaddColumnsBuilder(int index)A list of descriptions of columns within the relation.RelationDescriptor.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)RelationDescriptorbuild()RelationDescriptorbuildPartial()RelationDescriptor.Builderclear()RelationDescriptor.BuilderclearBigqueryLabels()RelationDescriptor.BuilderclearColumns()A list of descriptions of columns within the relation.RelationDescriptor.BuilderclearDescription()A text description of the relation.RelationDescriptor.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)RelationDescriptor.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)RelationDescriptor.Builderclone()booleancontainsBigqueryLabels(String key)A set of BigQuery labels that should be applied to the relation.Map<String,String>getBigqueryLabels()Deprecated.intgetBigqueryLabelsCount()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.StringgetBigqueryLabelsOrDefault(String key, String defaultValue)A set of BigQuery labels that should be applied to the relation.StringgetBigqueryLabelsOrThrow(String key)A set of BigQuery labels that should be applied to the relation.RelationDescriptor.ColumnDescriptorgetColumns(int index)A list of descriptions of columns within the relation.RelationDescriptor.ColumnDescriptor.BuildergetColumnsBuilder(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.intgetColumnsCount()A list of descriptions of columns within the relation.List<RelationDescriptor.ColumnDescriptor>getColumnsList()A list of descriptions of columns within the relation.RelationDescriptor.ColumnDescriptorOrBuildergetColumnsOrBuilder(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.RelationDescriptorgetDefaultInstanceForType()StringgetDescription()A text description of the relation.com.google.protobuf.ByteStringgetDescriptionBytes()A text description of the relation.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()Map<String,String>getMutableBigqueryLabels()Deprecated.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)protected com.google.protobuf.MapFieldinternalGetMutableMapField(int number)booleanisInitialized()RelationDescriptor.BuildermergeFrom(RelationDescriptor other)RelationDescriptor.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)RelationDescriptor.BuildermergeFrom(com.google.protobuf.Message other)RelationDescriptor.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)RelationDescriptor.BuilderputAllBigqueryLabels(Map<String,String> values)A set of BigQuery labels that should be applied to the relation.RelationDescriptor.BuilderputBigqueryLabels(String key, String value)A set of BigQuery labels that should be applied to the relation.RelationDescriptor.BuilderremoveBigqueryLabels(String key)A set of BigQuery labels that should be applied to the relation.RelationDescriptor.BuilderremoveColumns(int index)A list of descriptions of columns within the relation.RelationDescriptor.BuildersetColumns(int index, RelationDescriptor.ColumnDescriptor value)A list of descriptions of columns within the relation.RelationDescriptor.BuildersetColumns(int index, RelationDescriptor.ColumnDescriptor.Builder builderForValue)A list of descriptions of columns within the relation.RelationDescriptor.BuildersetDescription(String value)A text description of the relation.RelationDescriptor.BuildersetDescriptionBytes(com.google.protobuf.ByteString value)A text description of the relation.RelationDescriptor.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)RelationDescriptor.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)RelationDescriptor.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RelationDescriptor.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RelationDescriptor.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<RelationDescriptor.Builder>
-
clear
public RelationDescriptor.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<RelationDescriptor.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<RelationDescriptor.Builder>
-
getDefaultInstanceForType
public RelationDescriptor getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public RelationDescriptor build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public RelationDescriptor buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public RelationDescriptor.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<RelationDescriptor.Builder>
-
setField
public RelationDescriptor.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RelationDescriptor.Builder>
-
clearField
public RelationDescriptor.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RelationDescriptor.Builder>
-
clearOneof
public RelationDescriptor.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<RelationDescriptor.Builder>
-
setRepeatedField
public RelationDescriptor.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RelationDescriptor.Builder>
-
addRepeatedField
public RelationDescriptor.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RelationDescriptor.Builder>
-
mergeFrom
public RelationDescriptor.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RelationDescriptor.Builder>
-
mergeFrom
public RelationDescriptor.Builder mergeFrom(RelationDescriptor other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<RelationDescriptor.Builder>
-
mergeFrom
public RelationDescriptor.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RelationDescriptor.Builder>- Throws:
IOException
-
getDescription
public String getDescription()
A text description of the relation.
string description = 1;- Specified by:
getDescriptionin interfaceRelationDescriptorOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
A text description of the relation.
string description = 1;- Specified by:
getDescriptionBytesin interfaceRelationDescriptorOrBuilder- Returns:
- The bytes for description.
-
setDescription
public RelationDescriptor.Builder setDescription(String value)
A text description of the relation.
string description = 1;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
public RelationDescriptor.Builder clearDescription()
A text description of the relation.
string description = 1;- Returns:
- This builder for chaining.
-
setDescriptionBytes
public RelationDescriptor.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
A text description of the relation.
string description = 1;- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
getColumnsList
public List<RelationDescriptor.ColumnDescriptor> getColumnsList()
A list of descriptions of columns within the relation.
repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2;- Specified by:
getColumnsListin interfaceRelationDescriptorOrBuilder
-
getColumnsCount
public int getColumnsCount()
A list of descriptions of columns within the relation.
repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2;- Specified by:
getColumnsCountin interfaceRelationDescriptorOrBuilder
-
getColumns
public RelationDescriptor.ColumnDescriptor getColumns(int index)
A list of descriptions of columns within the relation.
repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2;- Specified by:
getColumnsin interfaceRelationDescriptorOrBuilder
-
setColumns
public 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;
-
setColumns
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;
-
addColumns
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;
-
addColumns
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;
-
addColumns
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;
-
addColumns
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;
-
addAllColumns
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;
-
clearColumns
public RelationDescriptor.Builder clearColumns()
A list of descriptions of columns within the relation.
repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2;
-
removeColumns
public RelationDescriptor.Builder removeColumns(int index)
A list of descriptions of columns within the relation.
repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2;
-
getColumnsBuilder
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;
-
getColumnsOrBuilder
public RelationDescriptor.ColumnDescriptorOrBuilder getColumnsOrBuilder(int index)
A list of descriptions of columns within the relation.
repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2;- Specified by:
getColumnsOrBuilderin interfaceRelationDescriptorOrBuilder
-
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;- Specified by:
getColumnsOrBuilderListin interfaceRelationDescriptorOrBuilder
-
addColumnsBuilder
public RelationDescriptor.ColumnDescriptor.Builder addColumnsBuilder()
A list of descriptions of columns within the relation.
repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2;
-
addColumnsBuilder
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;
-
getColumnsBuilderList
public List<RelationDescriptor.ColumnDescriptor.Builder> getColumnsBuilderList()
A list of descriptions of columns within the relation.
repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2;
-
getBigqueryLabelsCount
public int getBigqueryLabelsCount()
Description copied from interface:RelationDescriptorOrBuilderA set of BigQuery labels that should be applied to the relation.
map<string, string> bigquery_labels = 3;- Specified by:
getBigqueryLabelsCountin interfaceRelationDescriptorOrBuilder
-
containsBigqueryLabels
public boolean containsBigqueryLabels(String key)
A set of BigQuery labels that should be applied to the relation.
map<string, string> bigquery_labels = 3;- Specified by:
containsBigqueryLabelsin interfaceRelationDescriptorOrBuilder
-
getBigqueryLabels
@Deprecated public Map<String,String> getBigqueryLabels()
Deprecated.UsegetBigqueryLabelsMap()instead.- Specified by:
getBigqueryLabelsin interfaceRelationDescriptorOrBuilder
-
getBigqueryLabelsMap
public Map<String,String> getBigqueryLabelsMap()
A set of BigQuery labels that should be applied to the relation.
map<string, string> bigquery_labels = 3;- Specified by:
getBigqueryLabelsMapin interfaceRelationDescriptorOrBuilder
-
getBigqueryLabelsOrDefault
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;- Specified by:
getBigqueryLabelsOrDefaultin interfaceRelationDescriptorOrBuilder
-
getBigqueryLabelsOrThrow
public String getBigqueryLabelsOrThrow(String key)
A set of BigQuery labels that should be applied to the relation.
map<string, string> bigquery_labels = 3;- Specified by:
getBigqueryLabelsOrThrowin interfaceRelationDescriptorOrBuilder
-
clearBigqueryLabels
public RelationDescriptor.Builder clearBigqueryLabels()
-
removeBigqueryLabels
public RelationDescriptor.Builder removeBigqueryLabels(String key)
A set of BigQuery labels that should be applied to the relation.
map<string, string> bigquery_labels = 3;
-
getMutableBigqueryLabels
@Deprecated public Map<String,String> getMutableBigqueryLabels()
Deprecated.Use alternate mutation accessors instead.
-
putBigqueryLabels
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;
-
putAllBigqueryLabels
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;
-
setUnknownFields
public final RelationDescriptor.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<RelationDescriptor.Builder>
-
mergeUnknownFields
public final RelationDescriptor.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<RelationDescriptor.Builder>
-
-