Class RelationDescriptor.ColumnDescriptor.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<RelationDescriptor.ColumnDescriptor.Builder>
-
- com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor.Builder
-
- All Implemented Interfaces:
RelationDescriptor.ColumnDescriptorOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- RelationDescriptor.ColumnDescriptor
public static final class RelationDescriptor.ColumnDescriptor.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RelationDescriptor.ColumnDescriptor.Builder> implements RelationDescriptor.ColumnDescriptorOrBuilder
Describes a column.
Protobuf typegoogle.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RelationDescriptor.ColumnDescriptor.BuilderaddAllBigqueryPolicyTags(Iterable<String> values)A list of BigQuery policy tags that will be applied to the column.RelationDescriptor.ColumnDescriptor.BuilderaddAllPath(Iterable<String> values)The identifier for the column.RelationDescriptor.ColumnDescriptor.BuilderaddBigqueryPolicyTags(String value)A list of BigQuery policy tags that will be applied to the column.RelationDescriptor.ColumnDescriptor.BuilderaddBigqueryPolicyTagsBytes(com.google.protobuf.ByteString value)A list of BigQuery policy tags that will be applied to the column.RelationDescriptor.ColumnDescriptor.BuilderaddPath(String value)The identifier for the column.RelationDescriptor.ColumnDescriptor.BuilderaddPathBytes(com.google.protobuf.ByteString value)The identifier for the column.RelationDescriptor.ColumnDescriptor.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)RelationDescriptor.ColumnDescriptorbuild()RelationDescriptor.ColumnDescriptorbuildPartial()RelationDescriptor.ColumnDescriptor.Builderclear()RelationDescriptor.ColumnDescriptor.BuilderclearBigqueryPolicyTags()A list of BigQuery policy tags that will be applied to the column.RelationDescriptor.ColumnDescriptor.BuilderclearDescription()A textual description of the column.RelationDescriptor.ColumnDescriptor.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)RelationDescriptor.ColumnDescriptor.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)RelationDescriptor.ColumnDescriptor.BuilderclearPath()The identifier for the column.RelationDescriptor.ColumnDescriptor.Builderclone()StringgetBigqueryPolicyTags(int index)A list of BigQuery policy tags that will be applied to the column.com.google.protobuf.ByteStringgetBigqueryPolicyTagsBytes(int index)A list of BigQuery policy tags that will be applied to the column.intgetBigqueryPolicyTagsCount()A list of BigQuery policy tags that will be applied to the column.com.google.protobuf.ProtocolStringListgetBigqueryPolicyTagsList()A list of BigQuery policy tags that will be applied to the column.RelationDescriptor.ColumnDescriptorgetDefaultInstanceForType()StringgetDescription()A textual description of the column.com.google.protobuf.ByteStringgetDescriptionBytes()A textual description of the column.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetPath(int index)The identifier for the column.com.google.protobuf.ByteStringgetPathBytes(int index)The identifier for the column.intgetPathCount()The identifier for the column.com.google.protobuf.ProtocolStringListgetPathList()The identifier for the column.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()RelationDescriptor.ColumnDescriptor.BuildermergeFrom(RelationDescriptor.ColumnDescriptor other)RelationDescriptor.ColumnDescriptor.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)RelationDescriptor.ColumnDescriptor.BuildermergeFrom(com.google.protobuf.Message other)RelationDescriptor.ColumnDescriptor.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)RelationDescriptor.ColumnDescriptor.BuildersetBigqueryPolicyTags(int index, String value)A list of BigQuery policy tags that will be applied to the column.RelationDescriptor.ColumnDescriptor.BuildersetDescription(String value)A textual description of the column.RelationDescriptor.ColumnDescriptor.BuildersetDescriptionBytes(com.google.protobuf.ByteString value)A textual description of the column.RelationDescriptor.ColumnDescriptor.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)RelationDescriptor.ColumnDescriptor.BuildersetPath(int index, String value)The identifier for the column.RelationDescriptor.ColumnDescriptor.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)RelationDescriptor.ColumnDescriptor.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, internalGetMapField, internalGetMutableMapField, 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()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<RelationDescriptor.ColumnDescriptor.Builder>
-
clear
public RelationDescriptor.ColumnDescriptor.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.ColumnDescriptor.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.ColumnDescriptor.Builder>
-
getDefaultInstanceForType
public RelationDescriptor.ColumnDescriptor getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public RelationDescriptor.ColumnDescriptor build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public RelationDescriptor.ColumnDescriptor buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public RelationDescriptor.ColumnDescriptor.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.ColumnDescriptor.Builder>
-
setField
public RelationDescriptor.ColumnDescriptor.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.ColumnDescriptor.Builder>
-
clearField
public RelationDescriptor.ColumnDescriptor.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RelationDescriptor.ColumnDescriptor.Builder>
-
clearOneof
public RelationDescriptor.ColumnDescriptor.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<RelationDescriptor.ColumnDescriptor.Builder>
-
setRepeatedField
public RelationDescriptor.ColumnDescriptor.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.ColumnDescriptor.Builder>
-
addRepeatedField
public RelationDescriptor.ColumnDescriptor.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.ColumnDescriptor.Builder>
-
mergeFrom
public RelationDescriptor.ColumnDescriptor.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RelationDescriptor.ColumnDescriptor.Builder>
-
mergeFrom
public RelationDescriptor.ColumnDescriptor.Builder mergeFrom(RelationDescriptor.ColumnDescriptor other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<RelationDescriptor.ColumnDescriptor.Builder>
-
mergeFrom
public RelationDescriptor.ColumnDescriptor.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.ColumnDescriptor.Builder>- Throws:
IOException
-
getPathList
public com.google.protobuf.ProtocolStringList getPathList()
The identifier for the column. Each entry in `path` represents one level of nesting.
repeated string path = 1;- Specified by:
getPathListin interfaceRelationDescriptor.ColumnDescriptorOrBuilder- Returns:
- A list containing the path.
-
getPathCount
public int getPathCount()
The identifier for the column. Each entry in `path` represents one level of nesting.
repeated string path = 1;- Specified by:
getPathCountin interfaceRelationDescriptor.ColumnDescriptorOrBuilder- Returns:
- The count of path.
-
getPath
public String getPath(int index)
The identifier for the column. Each entry in `path` represents one level of nesting.
repeated string path = 1;- Specified by:
getPathin interfaceRelationDescriptor.ColumnDescriptorOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The path at the given index.
-
getPathBytes
public com.google.protobuf.ByteString getPathBytes(int index)
The identifier for the column. Each entry in `path` represents one level of nesting.
repeated string path = 1;- Specified by:
getPathBytesin interfaceRelationDescriptor.ColumnDescriptorOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the path at the given index.
-
setPath
public RelationDescriptor.ColumnDescriptor.Builder setPath(int index, String value)
The identifier for the column. Each entry in `path` represents one level of nesting.
repeated string path = 1;- Parameters:
index- The index to set the value at.value- The path to set.- Returns:
- This builder for chaining.
-
addPath
public RelationDescriptor.ColumnDescriptor.Builder addPath(String value)
The identifier for the column. Each entry in `path` represents one level of nesting.
repeated string path = 1;- Parameters:
value- The path to add.- Returns:
- This builder for chaining.
-
addAllPath
public RelationDescriptor.ColumnDescriptor.Builder addAllPath(Iterable<String> values)
The identifier for the column. Each entry in `path` represents one level of nesting.
repeated string path = 1;- Parameters:
values- The path to add.- Returns:
- This builder for chaining.
-
clearPath
public RelationDescriptor.ColumnDescriptor.Builder clearPath()
The identifier for the column. Each entry in `path` represents one level of nesting.
repeated string path = 1;- Returns:
- This builder for chaining.
-
addPathBytes
public RelationDescriptor.ColumnDescriptor.Builder addPathBytes(com.google.protobuf.ByteString value)
The identifier for the column. Each entry in `path` represents one level of nesting.
repeated string path = 1;- Parameters:
value- The bytes of the path to add.- Returns:
- This builder for chaining.
-
getDescription
public String getDescription()
A textual description of the column.
string description = 2;- Specified by:
getDescriptionin interfaceRelationDescriptor.ColumnDescriptorOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
A textual description of the column.
string description = 2;- Specified by:
getDescriptionBytesin interfaceRelationDescriptor.ColumnDescriptorOrBuilder- Returns:
- The bytes for description.
-
setDescription
public RelationDescriptor.ColumnDescriptor.Builder setDescription(String value)
A textual description of the column.
string description = 2;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
public RelationDescriptor.ColumnDescriptor.Builder clearDescription()
A textual description of the column.
string description = 2;- Returns:
- This builder for chaining.
-
setDescriptionBytes
public RelationDescriptor.ColumnDescriptor.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
A textual description of the column.
string description = 2;- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
getBigqueryPolicyTagsList
public com.google.protobuf.ProtocolStringList getBigqueryPolicyTagsList()
A list of BigQuery policy tags that will be applied to the column.
repeated string bigquery_policy_tags = 3;- Specified by:
getBigqueryPolicyTagsListin interfaceRelationDescriptor.ColumnDescriptorOrBuilder- Returns:
- A list containing the bigqueryPolicyTags.
-
getBigqueryPolicyTagsCount
public int getBigqueryPolicyTagsCount()
A list of BigQuery policy tags that will be applied to the column.
repeated string bigquery_policy_tags = 3;- Specified by:
getBigqueryPolicyTagsCountin interfaceRelationDescriptor.ColumnDescriptorOrBuilder- Returns:
- The count of bigqueryPolicyTags.
-
getBigqueryPolicyTags
public String getBigqueryPolicyTags(int index)
A list of BigQuery policy tags that will be applied to the column.
repeated string bigquery_policy_tags = 3;- Specified by:
getBigqueryPolicyTagsin interfaceRelationDescriptor.ColumnDescriptorOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The bigqueryPolicyTags at the given index.
-
getBigqueryPolicyTagsBytes
public com.google.protobuf.ByteString getBigqueryPolicyTagsBytes(int index)
A list of BigQuery policy tags that will be applied to the column.
repeated string bigquery_policy_tags = 3;- Specified by:
getBigqueryPolicyTagsBytesin interfaceRelationDescriptor.ColumnDescriptorOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the bigqueryPolicyTags at the given index.
-
setBigqueryPolicyTags
public RelationDescriptor.ColumnDescriptor.Builder setBigqueryPolicyTags(int index, String value)
A list of BigQuery policy tags that will be applied to the column.
repeated string bigquery_policy_tags = 3;- Parameters:
index- The index to set the value at.value- The bigqueryPolicyTags to set.- Returns:
- This builder for chaining.
-
addBigqueryPolicyTags
public RelationDescriptor.ColumnDescriptor.Builder addBigqueryPolicyTags(String value)
A list of BigQuery policy tags that will be applied to the column.
repeated string bigquery_policy_tags = 3;- Parameters:
value- The bigqueryPolicyTags to add.- Returns:
- This builder for chaining.
-
addAllBigqueryPolicyTags
public RelationDescriptor.ColumnDescriptor.Builder addAllBigqueryPolicyTags(Iterable<String> values)
A list of BigQuery policy tags that will be applied to the column.
repeated string bigquery_policy_tags = 3;- Parameters:
values- The bigqueryPolicyTags to add.- Returns:
- This builder for chaining.
-
clearBigqueryPolicyTags
public RelationDescriptor.ColumnDescriptor.Builder clearBigqueryPolicyTags()
A list of BigQuery policy tags that will be applied to the column.
repeated string bigquery_policy_tags = 3;- Returns:
- This builder for chaining.
-
addBigqueryPolicyTagsBytes
public RelationDescriptor.ColumnDescriptor.Builder addBigqueryPolicyTagsBytes(com.google.protobuf.ByteString value)
A list of BigQuery policy tags that will be applied to the column.
repeated string bigquery_policy_tags = 3;- Parameters:
value- The bytes of the bigqueryPolicyTags to add.- Returns:
- This builder for chaining.
-
setUnknownFields
public final RelationDescriptor.ColumnDescriptor.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<RelationDescriptor.ColumnDescriptor.Builder>
-
mergeUnknownFields
public final RelationDescriptor.ColumnDescriptor.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<RelationDescriptor.ColumnDescriptor.Builder>
-
-