Class ImportedDataInfo.TableDefinition
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.TableDefinition
-
- All Implemented Interfaces:
ImportedDataInfo.TableDefinitionOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
- Enclosing class:
- ImportedDataInfo
public static final class ImportedDataInfo.TableDefinition extends com.google.protobuf.GeneratedMessageV3 implements ImportedDataInfo.TableDefinitionOrBuilder
External table definition. These tables can be referenced with 'name' in the query and can be read just like any other table.
Protobuf typegoogle.cloud.bigquery.datatransfer.v1.ImportedDataInfo.TableDefinition
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ImportedDataInfo.TableDefinition.Builder
External table definition.static class
ImportedDataInfo.TableDefinition.CsvOptions
CSV specific options.static interface
ImportedDataInfo.TableDefinition.CsvOptionsOrBuilder
-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
CSV_OPTIONS_FIELD_NUMBER
static int
ENCODING_FIELD_NUMBER
static int
FORMAT_FIELD_NUMBER
static int
IGNORE_UNKNOWN_VALUES_FIELD_NUMBER
static int
MAX_BAD_RECORDS_FIELD_NUMBER
static int
SCHEMA_FIELD_NUMBER
static int
SOURCE_URIS_FIELD_NUMBER
static int
TABLE_ID_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
ImportedDataInfo.TableDefinition.CsvOptions
getCsvOptions()
CSV specific options.ImportedDataInfo.TableDefinition.CsvOptionsOrBuilder
getCsvOptionsOrBuilder()
CSV specific options.static ImportedDataInfo.TableDefinition
getDefaultInstance()
ImportedDataInfo.TableDefinition
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
ImportedDataInfo.Encoding
getEncoding()
Character encoding of the input when applicable (CSV, JSON).int
getEncodingValue()
Character encoding of the input when applicable (CSV, JSON).ImportedDataInfo.Format
getFormat()
Describes the format of the data in source_uri.int
getFormatValue()
Describes the format of the data in source_uri.com.google.protobuf.BoolValue
getIgnoreUnknownValues()
Indicates if extra values that are not represented in the table schema is allowed.com.google.protobuf.BoolValueOrBuilder
getIgnoreUnknownValuesOrBuilder()
Indicates if extra values that are not represented in the table schema is allowed.int
getMaxBadRecords()
Specify the maximum number of bad records that can be ignored.com.google.protobuf.Parser<ImportedDataInfo.TableDefinition>
getParserForType()
ImportedDataInfo.RecordSchema
getSchema()
Optional schema for the data.ImportedDataInfo.RecordSchemaOrBuilder
getSchemaOrBuilder()
Optional schema for the data.int
getSerializedSize()
String
getSourceUris(int index)
URIs for the data to be imported.com.google.protobuf.ByteString
getSourceUrisBytes(int index)
URIs for the data to be imported.int
getSourceUrisCount()
URIs for the data to be imported.com.google.protobuf.ProtocolStringList
getSourceUrisList()
URIs for the data to be imported.String
getTableId()
BigQuery table_id (required).com.google.protobuf.ByteString
getTableIdBytes()
BigQuery table_id (required).com.google.protobuf.UnknownFieldSet
getUnknownFields()
boolean
hasCsvOptions()
CSV specific options.int
hashCode()
boolean
hasIgnoreUnknownValues()
Indicates if extra values that are not represented in the table schema is allowed.boolean
hasSchema()
Optional schema for the data.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static ImportedDataInfo.TableDefinition.Builder
newBuilder()
static ImportedDataInfo.TableDefinition.Builder
newBuilder(ImportedDataInfo.TableDefinition prototype)
ImportedDataInfo.TableDefinition.Builder
newBuilderForType()
protected ImportedDataInfo.TableDefinition.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
static ImportedDataInfo.TableDefinition
parseDelimitedFrom(InputStream input)
static ImportedDataInfo.TableDefinition
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ImportedDataInfo.TableDefinition
parseFrom(byte[] data)
static ImportedDataInfo.TableDefinition
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ImportedDataInfo.TableDefinition
parseFrom(com.google.protobuf.ByteString data)
static ImportedDataInfo.TableDefinition
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ImportedDataInfo.TableDefinition
parseFrom(com.google.protobuf.CodedInputStream input)
static ImportedDataInfo.TableDefinition
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ImportedDataInfo.TableDefinition
parseFrom(InputStream input)
static ImportedDataInfo.TableDefinition
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ImportedDataInfo.TableDefinition
parseFrom(ByteBuffer data)
static ImportedDataInfo.TableDefinition
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<ImportedDataInfo.TableDefinition>
parser()
ImportedDataInfo.TableDefinition.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newInstance, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
TABLE_ID_FIELD_NUMBER
public static final int TABLE_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SOURCE_URIS_FIELD_NUMBER
public static final int SOURCE_URIS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FORMAT_FIELD_NUMBER
public static final int FORMAT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MAX_BAD_RECORDS_FIELD_NUMBER
public static final int MAX_BAD_RECORDS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ENCODING_FIELD_NUMBER
public static final int ENCODING_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CSV_OPTIONS_FIELD_NUMBER
public static final int CSV_OPTIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SCHEMA_FIELD_NUMBER
public static final int SCHEMA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
IGNORE_UNKNOWN_VALUES_FIELD_NUMBER
public static final int IGNORE_UNKNOWN_VALUES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFields
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getUnknownFields
in classcom.google.protobuf.GeneratedMessageV3
-
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
-
getTableId
public String getTableId()
BigQuery table_id (required). This will be used to reference this table in the query.
string table_id = 1;
- Specified by:
getTableId
in interfaceImportedDataInfo.TableDefinitionOrBuilder
-
getTableIdBytes
public com.google.protobuf.ByteString getTableIdBytes()
BigQuery table_id (required). This will be used to reference this table in the query.
string table_id = 1;
- Specified by:
getTableIdBytes
in interfaceImportedDataInfo.TableDefinitionOrBuilder
-
getSourceUrisList
public com.google.protobuf.ProtocolStringList getSourceUrisList()
URIs for the data to be imported. All URIs must be from the same storage system.
repeated string source_uris = 2;
- Specified by:
getSourceUrisList
in interfaceImportedDataInfo.TableDefinitionOrBuilder
-
getSourceUrisCount
public int getSourceUrisCount()
URIs for the data to be imported. All URIs must be from the same storage system.
repeated string source_uris = 2;
- Specified by:
getSourceUrisCount
in interfaceImportedDataInfo.TableDefinitionOrBuilder
-
getSourceUris
public String getSourceUris(int index)
URIs for the data to be imported. All URIs must be from the same storage system.
repeated string source_uris = 2;
- Specified by:
getSourceUris
in interfaceImportedDataInfo.TableDefinitionOrBuilder
-
getSourceUrisBytes
public com.google.protobuf.ByteString getSourceUrisBytes(int index)
URIs for the data to be imported. All URIs must be from the same storage system.
repeated string source_uris = 2;
- Specified by:
getSourceUrisBytes
in interfaceImportedDataInfo.TableDefinitionOrBuilder
-
getFormatValue
public int getFormatValue()
Describes the format of the data in source_uri.
.google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.Format format = 3;
- Specified by:
getFormatValue
in interfaceImportedDataInfo.TableDefinitionOrBuilder
-
getFormat
public ImportedDataInfo.Format getFormat()
Describes the format of the data in source_uri.
.google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.Format format = 3;
- Specified by:
getFormat
in interfaceImportedDataInfo.TableDefinitionOrBuilder
-
getMaxBadRecords
public int getMaxBadRecords()
Specify the maximum number of bad records that can be ignored. If bad records exceed this threshold the query is aborted.
int32 max_bad_records = 4;
- Specified by:
getMaxBadRecords
in interfaceImportedDataInfo.TableDefinitionOrBuilder
-
getEncodingValue
public int getEncodingValue()
Character encoding of the input when applicable (CSV, JSON). Defaults to UTF8.
.google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.Encoding encoding = 5;
- Specified by:
getEncodingValue
in interfaceImportedDataInfo.TableDefinitionOrBuilder
-
getEncoding
public ImportedDataInfo.Encoding getEncoding()
Character encoding of the input when applicable (CSV, JSON). Defaults to UTF8.
.google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.Encoding encoding = 5;
- Specified by:
getEncoding
in interfaceImportedDataInfo.TableDefinitionOrBuilder
-
hasCsvOptions
public boolean hasCsvOptions()
CSV specific options.
.google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.TableDefinition.CsvOptions csv_options = 6;
- Specified by:
hasCsvOptions
in interfaceImportedDataInfo.TableDefinitionOrBuilder
-
getCsvOptions
public ImportedDataInfo.TableDefinition.CsvOptions getCsvOptions()
CSV specific options.
.google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.TableDefinition.CsvOptions csv_options = 6;
- Specified by:
getCsvOptions
in interfaceImportedDataInfo.TableDefinitionOrBuilder
-
getCsvOptionsOrBuilder
public ImportedDataInfo.TableDefinition.CsvOptionsOrBuilder getCsvOptionsOrBuilder()
CSV specific options.
.google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.TableDefinition.CsvOptions csv_options = 6;
- Specified by:
getCsvOptionsOrBuilder
in interfaceImportedDataInfo.TableDefinitionOrBuilder
-
hasSchema
public boolean hasSchema()
Optional schema for the data. When not specified for JSON and CSV formats we will try to detect it automatically.
.google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.RecordSchema schema = 7;
- Specified by:
hasSchema
in interfaceImportedDataInfo.TableDefinitionOrBuilder
-
getSchema
public ImportedDataInfo.RecordSchema getSchema()
Optional schema for the data. When not specified for JSON and CSV formats we will try to detect it automatically.
.google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.RecordSchema schema = 7;
- Specified by:
getSchema
in interfaceImportedDataInfo.TableDefinitionOrBuilder
-
getSchemaOrBuilder
public ImportedDataInfo.RecordSchemaOrBuilder getSchemaOrBuilder()
Optional schema for the data. When not specified for JSON and CSV formats we will try to detect it automatically.
.google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.RecordSchema schema = 7;
- Specified by:
getSchemaOrBuilder
in interfaceImportedDataInfo.TableDefinitionOrBuilder
-
hasIgnoreUnknownValues
public boolean hasIgnoreUnknownValues()
Indicates if extra values that are not represented in the table schema is allowed.
.google.protobuf.BoolValue ignore_unknown_values = 10;
- Specified by:
hasIgnoreUnknownValues
in interfaceImportedDataInfo.TableDefinitionOrBuilder
-
getIgnoreUnknownValues
public com.google.protobuf.BoolValue getIgnoreUnknownValues()
Indicates if extra values that are not represented in the table schema is allowed.
.google.protobuf.BoolValue ignore_unknown_values = 10;
- Specified by:
getIgnoreUnknownValues
in interfaceImportedDataInfo.TableDefinitionOrBuilder
-
getIgnoreUnknownValuesOrBuilder
public com.google.protobuf.BoolValueOrBuilder getIgnoreUnknownValuesOrBuilder()
Indicates if extra values that are not represented in the table schema is allowed.
.google.protobuf.BoolValue ignore_unknown_values = 10;
- Specified by:
getIgnoreUnknownValuesOrBuilder
in interfaceImportedDataInfo.TableDefinitionOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static ImportedDataInfo.TableDefinition parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ImportedDataInfo.TableDefinition parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ImportedDataInfo.TableDefinition parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ImportedDataInfo.TableDefinition parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ImportedDataInfo.TableDefinition parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ImportedDataInfo.TableDefinition parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ImportedDataInfo.TableDefinition parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static ImportedDataInfo.TableDefinition parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static ImportedDataInfo.TableDefinition parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static ImportedDataInfo.TableDefinition parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static ImportedDataInfo.TableDefinition parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static ImportedDataInfo.TableDefinition parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public ImportedDataInfo.TableDefinition.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static ImportedDataInfo.TableDefinition.Builder newBuilder()
-
newBuilder
public static ImportedDataInfo.TableDefinition.Builder newBuilder(ImportedDataInfo.TableDefinition prototype)
-
toBuilder
public ImportedDataInfo.TableDefinition.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ImportedDataInfo.TableDefinition.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static ImportedDataInfo.TableDefinition getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<ImportedDataInfo.TableDefinition> parser()
-
getParserForType
public com.google.protobuf.Parser<ImportedDataInfo.TableDefinition> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public ImportedDataInfo.TableDefinition getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-