Class RelationDescriptor.ColumnDescriptor.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<RelationDescriptor.ColumnDescriptor.Builder>
com.google.cloud.dataform.v1.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.GeneratedMessage.Builder<RelationDescriptor.ColumnDescriptor.Builder> implements RelationDescriptor.ColumnDescriptorOrBuilder
 Describes a column.
 
Protobuf type google.cloud.dataform.v1.RelationDescriptor.ColumnDescriptor
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<RelationDescriptor.ColumnDescriptor.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<RelationDescriptor.ColumnDescriptor.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<RelationDescriptor.ColumnDescriptor.Builder>
    • getDefaultInstanceForType

      public RelationDescriptor.ColumnDescriptor getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public RelationDescriptor.ColumnDescriptor buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public RelationDescriptor.ColumnDescriptor.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<RelationDescriptor.ColumnDescriptor.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.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 interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.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 interface RelationDescriptor.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 interface RelationDescriptor.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 interface RelationDescriptor.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 interface RelationDescriptor.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

       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

       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

       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 interface RelationDescriptor.ColumnDescriptorOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
       A textual description of the column.
       
      string description = 2;
      Specified by:
      getDescriptionBytes in interface RelationDescriptor.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

       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 interface RelationDescriptor.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 interface RelationDescriptor.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 interface RelationDescriptor.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 interface RelationDescriptor.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.