Class ImportedDataInfo.TableDefinition.CsvOptions (2.43.0)

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
Type Description
int

ALLOW_QUOTED_NEWLINES_FIELD_NUMBER

public static final int ALLOW_QUOTED_NEWLINES_FIELD_NUMBER
Field Value
Type Description
int

FIELD_DELIMITER_FIELD_NUMBER

public static final int FIELD_DELIMITER_FIELD_NUMBER
Field Value
Type Description
int

QUOTE_CHAR_FIELD_NUMBER

public static final int QUOTE_CHAR_FIELD_NUMBER
Field Value
Type Description
int

SKIP_LEADING_ROWS_FIELD_NUMBER

public static final int SKIP_LEADING_ROWS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ImportedDataInfo.TableDefinition.CsvOptions getDefaultInstance()
Returns
Type Description
ImportedDataInfo.TableDefinition.CsvOptions

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static ImportedDataInfo.TableDefinition.CsvOptions.Builder newBuilder()
Returns
Type Description
ImportedDataInfo.TableDefinition.CsvOptions.Builder

newBuilder(ImportedDataInfo.TableDefinition.CsvOptions prototype)

public static ImportedDataInfo.TableDefinition.CsvOptions.Builder newBuilder(ImportedDataInfo.TableDefinition.CsvOptions prototype)
Parameter
Name Description
prototype ImportedDataInfo.TableDefinition.CsvOptions
Returns
Type Description
ImportedDataInfo.TableDefinition.CsvOptions.Builder

parseDelimitedFrom(InputStream input)

public static ImportedDataInfo.TableDefinition.CsvOptions parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ImportedDataInfo.TableDefinition.CsvOptions
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ImportedDataInfo.TableDefinition.CsvOptions parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportedDataInfo.TableDefinition.CsvOptions
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ImportedDataInfo.TableDefinition.CsvOptions parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ImportedDataInfo.TableDefinition.CsvOptions
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ImportedDataInfo.TableDefinition.CsvOptions parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportedDataInfo.TableDefinition.CsvOptions
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ImportedDataInfo.TableDefinition.CsvOptions parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ImportedDataInfo.TableDefinition.CsvOptions
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ImportedDataInfo.TableDefinition.CsvOptions parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportedDataInfo.TableDefinition.CsvOptions
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ImportedDataInfo.TableDefinition.CsvOptions parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ImportedDataInfo.TableDefinition.CsvOptions
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ImportedDataInfo.TableDefinition.CsvOptions parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportedDataInfo.TableDefinition.CsvOptions
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ImportedDataInfo.TableDefinition.CsvOptions parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ImportedDataInfo.TableDefinition.CsvOptions
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ImportedDataInfo.TableDefinition.CsvOptions parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportedDataInfo.TableDefinition.CsvOptions
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ImportedDataInfo.TableDefinition.CsvOptions parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ImportedDataInfo.TableDefinition.CsvOptions
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ImportedDataInfo.TableDefinition.CsvOptions parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportedDataInfo.TableDefinition.CsvOptions
Exceptions
Type Description
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAllowJaggedRows()

public BoolValue getAllowJaggedRows()

Accept rows that are missing trailing optional columns.

.google.protobuf.BoolValue allow_jagged_rows = 5;

Returns
Type Description
BoolValue

getAllowJaggedRowsOrBuilder()

public BoolValueOrBuilder getAllowJaggedRowsOrBuilder()

Accept rows that are missing trailing optional columns.

.google.protobuf.BoolValue allow_jagged_rows = 5;

Returns
Type Description
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
Type Description
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
Type Description
BoolValueOrBuilder

getDefaultInstanceForType()

public ImportedDataInfo.TableDefinition.CsvOptions getDefaultInstanceForType()
Returns
Type Description
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
Type Description
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
Type Description
StringValueOrBuilder

getParserForType()

public Parser<ImportedDataInfo.TableDefinition.CsvOptions> getParserForType()
Returns
Type Description
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
Type Description
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
Type Description
StringValueOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSkipLeadingRows()

public Int64Value getSkipLeadingRows()

Number of leading rows to skip.

.google.protobuf.Int64Value skip_leading_rows = 4;

Returns
Type Description
Int64Value

getSkipLeadingRowsOrBuilder()

public Int64ValueOrBuilder getSkipLeadingRowsOrBuilder()

Number of leading rows to skip.

.google.protobuf.Int64Value skip_leading_rows = 4;

Returns
Type Description
Int64ValueOrBuilder

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
Type Description
UnknownFieldSet
Overrides

hasAllowJaggedRows()

public boolean hasAllowJaggedRows()

Accept rows that are missing trailing optional columns.

.google.protobuf.BoolValue allow_jagged_rows = 5;

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

hasSkipLeadingRows()

public boolean hasSkipLeadingRows()

Number of leading rows to skip.

.google.protobuf.Int64Value skip_leading_rows = 4;

Returns
Type Description
boolean

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ImportedDataInfo.TableDefinition.CsvOptions.Builder newBuilderForType()
Returns
Type Description
ImportedDataInfo.TableDefinition.CsvOptions.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ImportedDataInfo.TableDefinition.CsvOptions.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ImportedDataInfo.TableDefinition.CsvOptions.Builder
Overrides

toBuilder()

public ImportedDataInfo.TableDefinition.CsvOptions.Builder toBuilder()
Returns
Type Description
ImportedDataInfo.TableDefinition.CsvOptions.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException