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.v1beta1.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.v1beta1.RelationDescriptor.ColumnDescriptor
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RelationDescriptor.ColumnDescriptor.Builder
addAllBigqueryPolicyTags(Iterable<String> values)
A list of BigQuery policy tags that will be applied to the column.RelationDescriptor.ColumnDescriptor.Builder
addAllPath(Iterable<String> values)
The identifier for the column.RelationDescriptor.ColumnDescriptor.Builder
addBigqueryPolicyTags(String value)
A list of BigQuery policy tags that will be applied to the column.RelationDescriptor.ColumnDescriptor.Builder
addBigqueryPolicyTagsBytes(com.google.protobuf.ByteString value)
A list of BigQuery policy tags that will be applied to the column.RelationDescriptor.ColumnDescriptor.Builder
addPath(String value)
The identifier for the column.RelationDescriptor.ColumnDescriptor.Builder
addPathBytes(com.google.protobuf.ByteString value)
The identifier for the column.RelationDescriptor.ColumnDescriptor.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
RelationDescriptor.ColumnDescriptor
build()
RelationDescriptor.ColumnDescriptor
buildPartial()
RelationDescriptor.ColumnDescriptor.Builder
clear()
RelationDescriptor.ColumnDescriptor.Builder
clearBigqueryPolicyTags()
A list of BigQuery policy tags that will be applied to the column.RelationDescriptor.ColumnDescriptor.Builder
clearDescription()
A textual description of the column.RelationDescriptor.ColumnDescriptor.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
RelationDescriptor.ColumnDescriptor.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
RelationDescriptor.ColumnDescriptor.Builder
clearPath()
The identifier for the column.RelationDescriptor.ColumnDescriptor.Builder
clone()
String
getBigqueryPolicyTags(int index)
A list of BigQuery policy tags that will be applied to the column.com.google.protobuf.ByteString
getBigqueryPolicyTagsBytes(int index)
A list of BigQuery policy tags that will be applied to the column.int
getBigqueryPolicyTagsCount()
A list of BigQuery policy tags that will be applied to the column.com.google.protobuf.ProtocolStringList
getBigqueryPolicyTagsList()
A list of BigQuery policy tags that will be applied to the column.RelationDescriptor.ColumnDescriptor
getDefaultInstanceForType()
String
getDescription()
A textual description of the column.com.google.protobuf.ByteString
getDescriptionBytes()
A textual description of the column.static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getPath(int index)
The identifier for the column.com.google.protobuf.ByteString
getPathBytes(int index)
The identifier for the column.int
getPathCount()
The identifier for the column.com.google.protobuf.ProtocolStringList
getPathList()
The identifier for the column.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
RelationDescriptor.ColumnDescriptor.Builder
mergeFrom(RelationDescriptor.ColumnDescriptor other)
RelationDescriptor.ColumnDescriptor.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
RelationDescriptor.ColumnDescriptor.Builder
mergeFrom(com.google.protobuf.Message other)
RelationDescriptor.ColumnDescriptor.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
RelationDescriptor.ColumnDescriptor.Builder
setBigqueryPolicyTags(int index, String value)
A list of BigQuery policy tags that will be applied to the column.RelationDescriptor.ColumnDescriptor.Builder
setDescription(String value)
A textual description of the column.RelationDescriptor.ColumnDescriptor.Builder
setDescriptionBytes(com.google.protobuf.ByteString value)
A textual description of the column.RelationDescriptor.ColumnDescriptor.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
RelationDescriptor.ColumnDescriptor.Builder
setPath(int index, String value)
The identifier for the column.RelationDescriptor.ColumnDescriptor.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
RelationDescriptor.ColumnDescriptor.Builder
setUnknownFields(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<RelationDescriptor.ColumnDescriptor.Builder>
-
clear
public RelationDescriptor.ColumnDescriptor.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<RelationDescriptor.ColumnDescriptor.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<RelationDescriptor.ColumnDescriptor.Builder>
-
getDefaultInstanceForType
public RelationDescriptor.ColumnDescriptor getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public RelationDescriptor.ColumnDescriptor build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public RelationDescriptor.ColumnDescriptor buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public RelationDescriptor.ColumnDescriptor.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<RelationDescriptor.ColumnDescriptor.Builder>
-
setField
public RelationDescriptor.ColumnDescriptor.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<RelationDescriptor.ColumnDescriptor.Builder>
-
clearField
public RelationDescriptor.ColumnDescriptor.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<RelationDescriptor.ColumnDescriptor.Builder>
-
clearOneof
public RelationDescriptor.ColumnDescriptor.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in 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:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<RelationDescriptor.ColumnDescriptor.Builder>
-
addRepeatedField
public RelationDescriptor.ColumnDescriptor.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<RelationDescriptor.ColumnDescriptor.Builder>
-
mergeFrom
public RelationDescriptor.ColumnDescriptor.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<RelationDescriptor.ColumnDescriptor.Builder>
-
mergeFrom
public RelationDescriptor.ColumnDescriptor.Builder mergeFrom(RelationDescriptor.ColumnDescriptor other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getPathList
in 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:
getPathCount
in 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:
getPath
in 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:
getPathBytes
in 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:
getDescription
in interfaceRelationDescriptor.ColumnDescriptorOrBuilder
- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
A textual description of the column.
string description = 2;
- Specified by:
getDescriptionBytes
in 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:
getBigqueryPolicyTagsList
in 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:
getBigqueryPolicyTagsCount
in 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:
getBigqueryPolicyTags
in 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:
getBigqueryPolicyTagsBytes
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<RelationDescriptor.ColumnDescriptor.Builder>
-
mergeUnknownFields
public final RelationDescriptor.ColumnDescriptor.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<RelationDescriptor.ColumnDescriptor.Builder>
-
-