Class ImportedDataInfo.TableDefinition.CsvOptions (2.3.13)

public static final class ImportedDataInfo.TableDefinition.CsvOptions extends GeneratedMessageV3 implements ImportedDataInfo.TableDefinition.CsvOptionsOrBuilder

CSV specific options.

Protobuf type google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.TableDefinition.CsvOptions

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ImportedDataInfo.TableDefinition.CsvOptions

Static Fields

ALLOW_JAGGED_ROWS_FIELD_NUMBER

public static final int ALLOW_JAGGED_ROWS_FIELD_NUMBER
Field Value
TypeDescription
int

ALLOW_QUOTED_NEWLINES_FIELD_NUMBER

public static final int ALLOW_QUOTED_NEWLINES_FIELD_NUMBER
Field Value
TypeDescription
int

FIELD_DELIMITER_FIELD_NUMBER

public static final int FIELD_DELIMITER_FIELD_NUMBER
Field Value
TypeDescription
int

QUOTE_CHAR_FIELD_NUMBER

public static final int QUOTE_CHAR_FIELD_NUMBER
Field Value
TypeDescription
int

SKIP_LEADING_ROWS_FIELD_NUMBER

public static final int SKIP_LEADING_ROWS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ImportedDataInfo.TableDefinition.CsvOptions getDefaultInstance()
Returns
TypeDescription
ImportedDataInfo.TableDefinition.CsvOptions

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ImportedDataInfo.TableDefinition.CsvOptions.Builder newBuilder()
Returns
TypeDescription
ImportedDataInfo.TableDefinition.CsvOptions.Builder

newBuilder(ImportedDataInfo.TableDefinition.CsvOptions prototype)

public static ImportedDataInfo.TableDefinition.CsvOptions.Builder newBuilder(ImportedDataInfo.TableDefinition.CsvOptions prototype)
Parameter
NameDescription
prototypeImportedDataInfo.TableDefinition.CsvOptions
Returns
TypeDescription
ImportedDataInfo.TableDefinition.CsvOptions.Builder

parseDelimitedFrom(InputStream input)

public static ImportedDataInfo.TableDefinition.CsvOptions parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ImportedDataInfo.TableDefinition.CsvOptions
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ImportedDataInfo.TableDefinition.CsvOptions parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImportedDataInfo.TableDefinition.CsvOptions
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ImportedDataInfo.TableDefinition.CsvOptions parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ImportedDataInfo.TableDefinition.CsvOptions
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ImportedDataInfo.TableDefinition.CsvOptions parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImportedDataInfo.TableDefinition.CsvOptions
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ImportedDataInfo.TableDefinition.CsvOptions parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ImportedDataInfo.TableDefinition.CsvOptions
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ImportedDataInfo.TableDefinition.CsvOptions parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImportedDataInfo.TableDefinition.CsvOptions
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ImportedDataInfo.TableDefinition.CsvOptions parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ImportedDataInfo.TableDefinition.CsvOptions
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ImportedDataInfo.TableDefinition.CsvOptions parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImportedDataInfo.TableDefinition.CsvOptions
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ImportedDataInfo.TableDefinition.CsvOptions parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ImportedDataInfo.TableDefinition.CsvOptions
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ImportedDataInfo.TableDefinition.CsvOptions parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImportedDataInfo.TableDefinition.CsvOptions
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ImportedDataInfo.TableDefinition.CsvOptions parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ImportedDataInfo.TableDefinition.CsvOptions
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ImportedDataInfo.TableDefinition.CsvOptions parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImportedDataInfo.TableDefinition.CsvOptions
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ImportedDataInfo.TableDefinition.CsvOptions> parser()
Returns
TypeDescription
Parser<CsvOptions>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getAllowJaggedRows()

public BoolValue getAllowJaggedRows()

Accept rows that are missing trailing optional columns.

.google.protobuf.BoolValue allow_jagged_rows = 5;

Returns
TypeDescription
BoolValue

getAllowJaggedRowsOrBuilder()

public BoolValueOrBuilder getAllowJaggedRowsOrBuilder()

Accept rows that are missing trailing optional columns.

.google.protobuf.BoolValue allow_jagged_rows = 5;

Returns
TypeDescription
BoolValueOrBuilder

getAllowQuotedNewlines()

public BoolValue getAllowQuotedNewlines()

Whether CSV files are allowed to have quoted newlines. If quoted newlines are allowed, we can't split CSV files.

.google.protobuf.BoolValue allow_quoted_newlines = 2;

Returns
TypeDescription
BoolValue

getAllowQuotedNewlinesOrBuilder()

public BoolValueOrBuilder getAllowQuotedNewlinesOrBuilder()

Whether CSV files are allowed to have quoted newlines. If quoted newlines are allowed, we can't split CSV files.

.google.protobuf.BoolValue allow_quoted_newlines = 2;

Returns
TypeDescription
BoolValueOrBuilder

getDefaultInstanceForType()

public ImportedDataInfo.TableDefinition.CsvOptions getDefaultInstanceForType()
Returns
TypeDescription
ImportedDataInfo.TableDefinition.CsvOptions

getFieldDelimiter()

public StringValue getFieldDelimiter()

The delimiter. We currently restrict this to U+0001 to U+00FF and apply additional constraints during validation.

.google.protobuf.StringValue field_delimiter = 1;

Returns
TypeDescription
StringValue

getFieldDelimiterOrBuilder()

public StringValueOrBuilder getFieldDelimiterOrBuilder()

The delimiter. We currently restrict this to U+0001 to U+00FF and apply additional constraints during validation.

.google.protobuf.StringValue field_delimiter = 1;

Returns
TypeDescription
StringValueOrBuilder

getParserForType()

public Parser<ImportedDataInfo.TableDefinition.CsvOptions> getParserForType()
Returns
TypeDescription
Parser<CsvOptions>
Overrides

getQuoteChar()

public StringValue getQuoteChar()

The quote character. We currently restrict this to U+0000 to U+00FF and apply additional constraints during validation. Set to '\0' to indicate no quote is used.

.google.protobuf.StringValue quote_char = 3;

Returns
TypeDescription
StringValue

getQuoteCharOrBuilder()

public StringValueOrBuilder getQuoteCharOrBuilder()

The quote character. We currently restrict this to U+0000 to U+00FF and apply additional constraints during validation. Set to '\0' to indicate no quote is used.

.google.protobuf.StringValue quote_char = 3;

Returns
TypeDescription
StringValueOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSkipLeadingRows()

public Int64Value getSkipLeadingRows()

Number of leading rows to skip.

.google.protobuf.Int64Value skip_leading_rows = 4;

Returns
TypeDescription
Int64Value

getSkipLeadingRowsOrBuilder()

public Int64ValueOrBuilder getSkipLeadingRowsOrBuilder()

Number of leading rows to skip.

.google.protobuf.Int64Value skip_leading_rows = 4;

Returns
TypeDescription
Int64ValueOrBuilder

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasAllowJaggedRows()

public boolean hasAllowJaggedRows()

Accept rows that are missing trailing optional columns.

.google.protobuf.BoolValue allow_jagged_rows = 5;

Returns
TypeDescription
boolean

hasAllowQuotedNewlines()

public boolean hasAllowQuotedNewlines()

Whether CSV files are allowed to have quoted newlines. If quoted newlines are allowed, we can't split CSV files.

.google.protobuf.BoolValue allow_quoted_newlines = 2;

Returns
TypeDescription
boolean

hasFieldDelimiter()

public boolean hasFieldDelimiter()

The delimiter. We currently restrict this to U+0001 to U+00FF and apply additional constraints during validation.

.google.protobuf.StringValue field_delimiter = 1;

Returns
TypeDescription
boolean

hasQuoteChar()

public boolean hasQuoteChar()

The quote character. We currently restrict this to U+0000 to U+00FF and apply additional constraints during validation. Set to '\0' to indicate no quote is used.

.google.protobuf.StringValue quote_char = 3;

Returns
TypeDescription
boolean

hasSkipLeadingRows()

public boolean hasSkipLeadingRows()

Number of leading rows to skip.

.google.protobuf.Int64Value skip_leading_rows = 4;

Returns
TypeDescription
boolean

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ImportedDataInfo.TableDefinition.CsvOptions.Builder newBuilderForType()
Returns
TypeDescription
ImportedDataInfo.TableDefinition.CsvOptions.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ImportedDataInfo.TableDefinition.CsvOptions.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ImportedDataInfo.TableDefinition.CsvOptions.Builder
Overrides

toBuilder()

public ImportedDataInfo.TableDefinition.CsvOptions.Builder toBuilder()
Returns
TypeDescription
ImportedDataInfo.TableDefinition.CsvOptions.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException