Class NameMappingValue.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<NameMappingValue.Builder>
com.google.cloud.bigquery.migration.v2.NameMappingValue.Builder
All Implemented Interfaces:
NameMappingValueOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
NameMappingValue

public static final class NameMappingValue.Builder extends com.google.protobuf.GeneratedMessage.Builder<NameMappingValue.Builder> implements NameMappingValueOrBuilder
 The potential components of a full name mapping that will be mapped
 during translation in the target data warehouse.
 
Protobuf type google.cloud.bigquery.migration.v2.NameMappingValue
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
     
    The attribute name (BigQuery column equivalent in the target data warehouse).
    The database name (BigQuery project ID equivalent in the target data warehouse).
    The relation name (BigQuery table or view equivalent in the target data warehouse).
    The schema name (BigQuery dataset equivalent in the target data warehouse).
    The attribute name (BigQuery column equivalent in the target data warehouse).
    com.google.protobuf.ByteString
    The attribute name (BigQuery column equivalent in the target data warehouse).
    The database name (BigQuery project ID equivalent in the target data warehouse).
    com.google.protobuf.ByteString
    The database name (BigQuery project ID equivalent in the target data warehouse).
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    The relation name (BigQuery table or view equivalent in the target data warehouse).
    com.google.protobuf.ByteString
    The relation name (BigQuery table or view equivalent in the target data warehouse).
    The schema name (BigQuery dataset equivalent in the target data warehouse).
    com.google.protobuf.ByteString
    The schema name (BigQuery dataset equivalent in the target data warehouse).
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
     
    mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    mergeFrom(com.google.protobuf.Message other)
     
    The attribute name (BigQuery column equivalent in the target data warehouse).
    setAttributeBytes(com.google.protobuf.ByteString value)
    The attribute name (BigQuery column equivalent in the target data warehouse).
    The database name (BigQuery project ID equivalent in the target data warehouse).
    setDatabaseBytes(com.google.protobuf.ByteString value)
    The database name (BigQuery project ID equivalent in the target data warehouse).
    The relation name (BigQuery table or view equivalent in the target data warehouse).
    setRelationBytes(com.google.protobuf.ByteString value)
    The relation name (BigQuery table or view equivalent in the target data warehouse).
    The schema name (BigQuery dataset equivalent in the target data warehouse).
    setSchemaBytes(com.google.protobuf.ByteString value)
    The schema name (BigQuery dataset equivalent in the target data warehouse).

    Methods inherited from class com.google.protobuf.GeneratedMessage.Builder

    addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, 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

    Methods inherited from interface com.google.protobuf.Message.Builder

    mergeDelimitedFrom, mergeDelimitedFrom

    Methods inherited from interface com.google.protobuf.MessageLite.Builder

    mergeFrom

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • 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<NameMappingValue.Builder>
    • clear

      public NameMappingValue.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<NameMappingValue.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<NameMappingValue.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public NameMappingValue.Builder mergeFrom(NameMappingValue other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<NameMappingValue.Builder>
    • mergeFrom

      public NameMappingValue.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<NameMappingValue.Builder>
      Throws:
      IOException
    • getDatabase

      public String getDatabase()
       The database name (BigQuery project ID equivalent in the target data
       warehouse).
       
      string database = 1;
      Specified by:
      getDatabase in interface NameMappingValueOrBuilder
      Returns:
      The database.
    • getDatabaseBytes

      public com.google.protobuf.ByteString getDatabaseBytes()
       The database name (BigQuery project ID equivalent in the target data
       warehouse).
       
      string database = 1;
      Specified by:
      getDatabaseBytes in interface NameMappingValueOrBuilder
      Returns:
      The bytes for database.
    • setDatabase

      public NameMappingValue.Builder setDatabase(String value)
       The database name (BigQuery project ID equivalent in the target data
       warehouse).
       
      string database = 1;
      Parameters:
      value - The database to set.
      Returns:
      This builder for chaining.
    • clearDatabase

      public NameMappingValue.Builder clearDatabase()
       The database name (BigQuery project ID equivalent in the target data
       warehouse).
       
      string database = 1;
      Returns:
      This builder for chaining.
    • setDatabaseBytes

      public NameMappingValue.Builder setDatabaseBytes(com.google.protobuf.ByteString value)
       The database name (BigQuery project ID equivalent in the target data
       warehouse).
       
      string database = 1;
      Parameters:
      value - The bytes for database to set.
      Returns:
      This builder for chaining.
    • getSchema

      public String getSchema()
       The schema name (BigQuery dataset equivalent in the target data warehouse).
       
      string schema = 2;
      Specified by:
      getSchema in interface NameMappingValueOrBuilder
      Returns:
      The schema.
    • getSchemaBytes

      public com.google.protobuf.ByteString getSchemaBytes()
       The schema name (BigQuery dataset equivalent in the target data warehouse).
       
      string schema = 2;
      Specified by:
      getSchemaBytes in interface NameMappingValueOrBuilder
      Returns:
      The bytes for schema.
    • setSchema

      public NameMappingValue.Builder setSchema(String value)
       The schema name (BigQuery dataset equivalent in the target data warehouse).
       
      string schema = 2;
      Parameters:
      value - The schema to set.
      Returns:
      This builder for chaining.
    • clearSchema

      public NameMappingValue.Builder clearSchema()
       The schema name (BigQuery dataset equivalent in the target data warehouse).
       
      string schema = 2;
      Returns:
      This builder for chaining.
    • setSchemaBytes

      public NameMappingValue.Builder setSchemaBytes(com.google.protobuf.ByteString value)
       The schema name (BigQuery dataset equivalent in the target data warehouse).
       
      string schema = 2;
      Parameters:
      value - The bytes for schema to set.
      Returns:
      This builder for chaining.
    • getRelation

      public String getRelation()
       The relation name (BigQuery table or view equivalent in the target data
       warehouse).
       
      string relation = 3;
      Specified by:
      getRelation in interface NameMappingValueOrBuilder
      Returns:
      The relation.
    • getRelationBytes

      public com.google.protobuf.ByteString getRelationBytes()
       The relation name (BigQuery table or view equivalent in the target data
       warehouse).
       
      string relation = 3;
      Specified by:
      getRelationBytes in interface NameMappingValueOrBuilder
      Returns:
      The bytes for relation.
    • setRelation

      public NameMappingValue.Builder setRelation(String value)
       The relation name (BigQuery table or view equivalent in the target data
       warehouse).
       
      string relation = 3;
      Parameters:
      value - The relation to set.
      Returns:
      This builder for chaining.
    • clearRelation

      public NameMappingValue.Builder clearRelation()
       The relation name (BigQuery table or view equivalent in the target data
       warehouse).
       
      string relation = 3;
      Returns:
      This builder for chaining.
    • setRelationBytes

      public NameMappingValue.Builder setRelationBytes(com.google.protobuf.ByteString value)
       The relation name (BigQuery table or view equivalent in the target data
       warehouse).
       
      string relation = 3;
      Parameters:
      value - The bytes for relation to set.
      Returns:
      This builder for chaining.
    • getAttribute

      public String getAttribute()
       The attribute name (BigQuery column equivalent in the target data
       warehouse).
       
      string attribute = 4;
      Specified by:
      getAttribute in interface NameMappingValueOrBuilder
      Returns:
      The attribute.
    • getAttributeBytes

      public com.google.protobuf.ByteString getAttributeBytes()
       The attribute name (BigQuery column equivalent in the target data
       warehouse).
       
      string attribute = 4;
      Specified by:
      getAttributeBytes in interface NameMappingValueOrBuilder
      Returns:
      The bytes for attribute.
    • setAttribute

      public NameMappingValue.Builder setAttribute(String value)
       The attribute name (BigQuery column equivalent in the target data
       warehouse).
       
      string attribute = 4;
      Parameters:
      value - The attribute to set.
      Returns:
      This builder for chaining.
    • clearAttribute

      public NameMappingValue.Builder clearAttribute()
       The attribute name (BigQuery column equivalent in the target data
       warehouse).
       
      string attribute = 4;
      Returns:
      This builder for chaining.
    • setAttributeBytes

      public NameMappingValue.Builder setAttributeBytes(com.google.protobuf.ByteString value)
       The attribute name (BigQuery column equivalent in the target data
       warehouse).
       
      string attribute = 4;
      Parameters:
      value - The bytes for attribute to set.
      Returns:
      This builder for chaining.