ImportedDataInfo

com.google.cloud.bigquery.datatransfer.v1.datasource.ImportedDataInfo
See theImportedDataInfo companion class
object ImportedDataInfo extends GeneratedMessageCompanion[ImportedDataInfo]

Attributes

Companion
class
Source
ImportedDataInfo.scala
Graph
Supertypes
trait Product
trait Mirror
trait GeneratedMessageCompanion[ImportedDataInfo]
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type

Members list

Type members

Classlikes

sealed abstract class Encoding(val value: Int) extends GeneratedEnum

Encoding of input data in CSV/JSON format.

Encoding of input data in CSV/JSON format.

Attributes

Companion
object
Source
ImportedDataInfo.scala
Supertypes
trait GeneratedEnum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Known subtypes
object ENCODING_UNSPECIFIED.type
object ISO_8859_1.type
trait Recognized
object UTF8.type
class Unrecognized
object Encoding extends GeneratedEnumCompanion[Encoding]

Attributes

Companion
class
Source
ImportedDataInfo.scala
Supertypes
trait Sum
trait Mirror
trait GeneratedEnumCompanion[Encoding]
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
Encoding.type
final case class FieldSchema(fieldName: String, `type`: Type, isRepeated: Boolean, description: String, schema: Option[RecordSchema], unknownFields: UnknownFieldSet) extends GeneratedMessage, Updatable[FieldSchema]

Defines schema of a field in the imported data.

Defines schema of a field in the imported data.

Value parameters

description

Description for this field.

fieldName

Field name. Matches: [A-Za-z_][A-Za-z_0-9]{0,127}

isRepeated

Is field repeated.

schema

Present iff type == RECORD.

type

Field type

Attributes

Companion
object
Source
ImportedDataInfo.scala
Supertypes
trait Updatable[FieldSchema]
trait GeneratedMessage
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object FieldSchema extends GeneratedMessageCompanion[FieldSchema]

Attributes

Companion
class
Source
ImportedDataInfo.scala
Supertypes
trait Product
trait Mirror
trait GeneratedMessageCompanion[FieldSchema]
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
sealed abstract class Format(val value: Int) extends GeneratedEnum

Data format.

Data format.

Attributes

Companion
object
Source
ImportedDataInfo.scala
Supertypes
trait GeneratedEnum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Known subtypes
object AVRO.type
object CAPACITOR.type
object COLUMNIO.type
object CSV.type
object FORMAT_UNSPECIFIED.type
object JSON.type
object ORC.type
object PARQUET.type
object RECORDIO.type
trait Recognized
class Unrecognized
Show all
object Format extends GeneratedEnumCompanion[Format]

Attributes

Companion
class
Source
ImportedDataInfo.scala
Supertypes
trait Sum
trait Mirror
trait GeneratedEnumCompanion[Format]
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
Format.type
implicit class ImportedDataInfoLens[UpperPB](_l: Lens[UpperPB, ImportedDataInfo]) extends ObjectLens[UpperPB, ImportedDataInfo]

Attributes

Source
ImportedDataInfo.scala
Supertypes
class ObjectLens[UpperPB, ImportedDataInfo]
trait Lens[UpperPB, ImportedDataInfo]
trait Serializable
class Object
trait Matchable
class Any
Show all
final case class RecordSchema(fields: Seq[FieldSchema], unknownFields: UnknownFieldSet) extends GeneratedMessage, Updatable[RecordSchema]

Describes schema of the data to be ingested.

Describes schema of the data to be ingested.

Value parameters

fields

One field per column in the record.

Attributes

Companion
object
Source
ImportedDataInfo.scala
Supertypes
trait Updatable[RecordSchema]
trait GeneratedMessage
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object RecordSchema extends GeneratedMessageCompanion[RecordSchema]

Attributes

Companion
class
Source
ImportedDataInfo.scala
Supertypes
trait Product
trait Mirror
trait GeneratedMessageCompanion[RecordSchema]
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
final case class TableDefinition(tableId: String, sourceUris: Seq[String], format: Format, maxBadRecords: Int, encoding: Encoding, csvOptions: Option[CsvOptions], schema: Option[RecordSchema], ignoreUnknownValues: Option[Boolean], unknownFields: UnknownFieldSet) extends GeneratedMessage, Updatable[TableDefinition]

External table definition.

External table definition. These tables can be referenced with 'name' in the query and can be read just like any other table.

Value parameters

csvOptions

CSV specific options.

encoding

Character encoding of the input when applicable (CSV, JSON). Defaults to UTF8.

format

Describes the format of the data in source_uri.

ignoreUnknownValues

Indicates if extra values that are not represented in the table schema is allowed.

maxBadRecords

Specify the maximum number of bad records that can be ignored. If bad records exceed this threshold the query is aborted.

schema

Optional schema for the data. When not specified for JSON and CSV formats we will try to detect it automatically.

sourceUris

URIs for the data to be imported. All URIs must be from the same storage system.

tableId

BigQuery table_id (required). This will be used to reference this table in the query.

Attributes

Companion
object
Source
ImportedDataInfo.scala
Supertypes
trait Updatable[TableDefinition]
trait GeneratedMessage
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object TableDefinition extends GeneratedMessageCompanion[TableDefinition]

Attributes

Companion
class
Source
ImportedDataInfo.scala
Supertypes
trait Product
trait Mirror
trait GeneratedMessageCompanion[TableDefinition]
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
Source
Mirror.scala

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
Source
Mirror.scala
type ValueType = A

Attributes

Inherited from:
GeneratedMessageCompanion
Source
GeneratedMessageCompanion.scala

Value members

Concrete methods

def enumCompanionForFieldNumber(`__fieldNumber`: Int): GeneratedEnumCompanion[_]

Attributes

Source
ImportedDataInfo.scala
def javaDescriptor: Descriptor

Returns the Java descriptors for this message.

Returns the Java descriptors for this message. It is recommended to use scalaDescriptors. The Java descriptors are available even when Java conversions is disabled, however they are not available in Scala.js or scala-native.

Attributes

Source
ImportedDataInfo.scala
def messageCompanionForFieldNumber(`__number`: Int): GeneratedMessageCompanion[_]

Attributes

Source
ImportedDataInfo.scala
def of(sql: String, destinationTableId: String, destinationTableDescription: String, tableDefs: Seq[TableDefinition], userDefinedFunctions: Seq[String], writeDisposition: WriteDisposition): ImportedDataInfo

Attributes

Source
ImportedDataInfo.scala
def parseFrom(`_input__`: CodedInputStream): ImportedDataInfo

Parses a message from a CodedInputStream.

Parses a message from a CodedInputStream.

Attributes

Source
ImportedDataInfo.scala
def scalaDescriptor: Descriptor

Attributes

Source
ImportedDataInfo.scala

Inherited methods

def enumCompanionForField(field: FieldDescriptor): GeneratedEnumCompanion[_]

Attributes

Inherited from:
GeneratedMessageCompanion
Source
GeneratedMessageCompanion.scala
def fromAscii(s: String): A

Attributes

Inherited from:
GeneratedMessageCompanion
Source
GeneratedMessageCompanion.scala
def merge(a: ImportedDataInfo, input: CodedInputStream): A

Merges the given message with the additional fields in the steam.

Merges the given message with the additional fields in the steam.

Attributes

Inherited from:
GeneratedMessageCompanion
Source
GeneratedMessageCompanion.scala
def messageCompanionForField(field: FieldDescriptor): GeneratedMessageCompanion[_]

Attributes

Inherited from:
GeneratedMessageCompanion
Source
GeneratedMessageCompanion.scala
def parseDelimitedFrom(input: InputStream): Option[A]

Attributes

Inherited from:
GeneratedMessageCompanion
Source
GeneratedMessageCompanion.scala
def parseDelimitedFrom(input: CodedInputStream): Option[A]

Attributes

Inherited from:
GeneratedMessageCompanion
Source
GeneratedMessageCompanion.scala
def parseFrom(s: Array[Byte]): A

Attributes

Inherited from:
GeneratedMessageCompanion
Source
GeneratedMessageCompanion.scala
def parseFrom(input: InputStream): A

Attributes

Inherited from:
GeneratedMessageCompanion
Source
GeneratedMessageCompanion.scala
def streamFromDelimitedInput(input: InputStream): Stream[A]

Attributes

Inherited from:
GeneratedMessageCompanion
Source
GeneratedMessageCompanion.scala

Attributes

Inherited from:
GeneratedMessageCompanion
Source
GeneratedMessageCompanion.scala
def validate(s: Array[Byte]): Try[A]

Attributes

Inherited from:
GeneratedMessageCompanion
Source
GeneratedMessageCompanion.scala
def validateAscii(s: String): Either[TextFormatError, A]

Attributes

Inherited from:
GeneratedMessageCompanion
Source
GeneratedMessageCompanion.scala

Concrete fields

final val SQL_FIELD_NUMBER: 1

Attributes

Source
ImportedDataInfo.scala

Attributes

Source
ImportedDataInfo.scala
lazy val nestedMessagesCompanions: Seq[GeneratedMessageCompanion[_ <: GeneratedMessage]]

Attributes

Source
ImportedDataInfo.scala

Implicits

Implicits

final implicit def ImportedDataInfoLens[UpperPB](_l: Lens[UpperPB, ImportedDataInfo]): ImportedDataInfoLens[UpperPB]

Attributes

Source
ImportedDataInfo.scala
implicit def messageCompanion: GeneratedMessageCompanion[ImportedDataInfo]

Attributes

Source
ImportedDataInfo.scala
implicit def messageReads: Reads[ImportedDataInfo]

Attributes

Source
ImportedDataInfo.scala