Class RelationDescriptor.Builder

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

    • getDescriptor

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

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<RelationDescriptor.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<RelationDescriptor.Builder>
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<RelationDescriptor.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.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.Builder>
    • getDefaultInstanceForType

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

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

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

      public RelationDescriptor.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.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.Builder>
    • mergeFrom

      public RelationDescriptor.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.Builder>
      Throws:
      IOException
    • getDescription

      public String getDescription()
       A text description of the relation.
       
      string description = 1;
      Specified by:
      getDescription in interface RelationDescriptorOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
       A text description of the relation.
       
      string description = 1;
      Specified by:
      getDescriptionBytes in interface RelationDescriptorOrBuilder
      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.v1.RelationDescriptor.ColumnDescriptor columns = 2;
      Specified by:
      getColumnsList in interface RelationDescriptorOrBuilder
    • getColumnsCount

      public int getColumnsCount()
       A list of descriptions of columns within the relation.
       
      repeated .google.cloud.dataform.v1.RelationDescriptor.ColumnDescriptor columns = 2;
      Specified by:
      getColumnsCount in interface RelationDescriptorOrBuilder
    • getColumns

      public RelationDescriptor.ColumnDescriptor getColumns(int index)
       A list of descriptions of columns within the relation.
       
      repeated .google.cloud.dataform.v1.RelationDescriptor.ColumnDescriptor columns = 2;
      Specified by:
      getColumns in interface RelationDescriptorOrBuilder
    • setColumns

      public RelationDescriptor.Builder setColumns(int index, RelationDescriptor.ColumnDescriptor value)
       A list of descriptions of columns within the relation.
       
      repeated .google.cloud.dataform.v1.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.v1.RelationDescriptor.ColumnDescriptor columns = 2;
    • addColumns

       A list of descriptions of columns within the relation.
       
      repeated .google.cloud.dataform.v1.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.v1.RelationDescriptor.ColumnDescriptor columns = 2;
    • addColumns

       A list of descriptions of columns within the relation.
       
      repeated .google.cloud.dataform.v1.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.v1.RelationDescriptor.ColumnDescriptor columns = 2;
    • addAllColumns

       A list of descriptions of columns within the relation.
       
      repeated .google.cloud.dataform.v1.RelationDescriptor.ColumnDescriptor columns = 2;
    • clearColumns

      public RelationDescriptor.Builder clearColumns()
       A list of descriptions of columns within the relation.
       
      repeated .google.cloud.dataform.v1.RelationDescriptor.ColumnDescriptor columns = 2;
    • removeColumns

      public RelationDescriptor.Builder removeColumns(int index)
       A list of descriptions of columns within the relation.
       
      repeated .google.cloud.dataform.v1.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.v1.RelationDescriptor.ColumnDescriptor columns = 2;
    • getColumnsOrBuilder

      public RelationDescriptor.ColumnDescriptorOrBuilder getColumnsOrBuilder(int index)
       A list of descriptions of columns within the relation.
       
      repeated .google.cloud.dataform.v1.RelationDescriptor.ColumnDescriptor columns = 2;
      Specified by:
      getColumnsOrBuilder in interface RelationDescriptorOrBuilder
    • getColumnsOrBuilderList

      public List<? extends RelationDescriptor.ColumnDescriptorOrBuilder> getColumnsOrBuilderList()
       A list of descriptions of columns within the relation.
       
      repeated .google.cloud.dataform.v1.RelationDescriptor.ColumnDescriptor columns = 2;
      Specified by:
      getColumnsOrBuilderList in interface RelationDescriptorOrBuilder
    • addColumnsBuilder

      public RelationDescriptor.ColumnDescriptor.Builder addColumnsBuilder()
       A list of descriptions of columns within the relation.
       
      repeated .google.cloud.dataform.v1.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.v1.RelationDescriptor.ColumnDescriptor columns = 2;
    • getColumnsBuilderList

      public List<RelationDescriptor.ColumnDescriptor.Builder> getColumnsBuilderList()
       A list of descriptions of columns within the relation.
       
      repeated .google.cloud.dataform.v1.RelationDescriptor.ColumnDescriptor columns = 2;
    • getBigqueryLabelsCount

      public int getBigqueryLabelsCount()
      Description copied from interface: RelationDescriptorOrBuilder
       A set of BigQuery labels that should be applied to the relation.
       
      map<string, string> bigquery_labels = 3;
      Specified by:
      getBigqueryLabelsCount in interface RelationDescriptorOrBuilder
    • 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:
      containsBigqueryLabels in interface RelationDescriptorOrBuilder
    • getBigqueryLabels

      @Deprecated public Map<String,String> getBigqueryLabels()
      Deprecated.
      Specified by:
      getBigqueryLabels in interface RelationDescriptorOrBuilder
    • 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:
      getBigqueryLabelsMap in interface RelationDescriptorOrBuilder
    • 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:
      getBigqueryLabelsOrDefault in interface RelationDescriptorOrBuilder
    • 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:
      getBigqueryLabelsOrThrow in interface RelationDescriptorOrBuilder
    • 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;