Class ImportedDataInfo.TableDefinition.CsvOptions.Builder (2.49.0)

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

CSV specific options.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ImportedDataInfo.TableDefinition.CsvOptions.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ImportedDataInfo.TableDefinition.CsvOptions.Builder
Overrides

build()

public ImportedDataInfo.TableDefinition.CsvOptions build()
Returns
Type Description
ImportedDataInfo.TableDefinition.CsvOptions

buildPartial()

public ImportedDataInfo.TableDefinition.CsvOptions buildPartial()
Returns
Type Description
ImportedDataInfo.TableDefinition.CsvOptions

clear()

public ImportedDataInfo.TableDefinition.CsvOptions.Builder clear()
Returns
Type Description
ImportedDataInfo.TableDefinition.CsvOptions.Builder
Overrides

clearAllowJaggedRows()

public ImportedDataInfo.TableDefinition.CsvOptions.Builder clearAllowJaggedRows()

Accept rows that are missing trailing optional columns.

.google.protobuf.BoolValue allow_jagged_rows = 5;

Returns
Type Description
ImportedDataInfo.TableDefinition.CsvOptions.Builder

clearAllowQuotedNewlines()

public ImportedDataInfo.TableDefinition.CsvOptions.Builder clearAllowQuotedNewlines()

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
ImportedDataInfo.TableDefinition.CsvOptions.Builder

clearField(Descriptors.FieldDescriptor field)

public ImportedDataInfo.TableDefinition.CsvOptions.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ImportedDataInfo.TableDefinition.CsvOptions.Builder
Overrides

clearFieldDelimiter()

public ImportedDataInfo.TableDefinition.CsvOptions.Builder clearFieldDelimiter()

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
ImportedDataInfo.TableDefinition.CsvOptions.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public ImportedDataInfo.TableDefinition.CsvOptions.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ImportedDataInfo.TableDefinition.CsvOptions.Builder
Overrides

clearQuoteChar()

public ImportedDataInfo.TableDefinition.CsvOptions.Builder clearQuoteChar()

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
ImportedDataInfo.TableDefinition.CsvOptions.Builder

clearSkipLeadingRows()

public ImportedDataInfo.TableDefinition.CsvOptions.Builder clearSkipLeadingRows()

Number of leading rows to skip.

.google.protobuf.Int64Value skip_leading_rows = 4;

Returns
Type Description
ImportedDataInfo.TableDefinition.CsvOptions.Builder

clone()

public ImportedDataInfo.TableDefinition.CsvOptions.Builder clone()
Returns
Type Description
ImportedDataInfo.TableDefinition.CsvOptions.Builder
Overrides

getAllowJaggedRows()

public BoolValue getAllowJaggedRows()

Accept rows that are missing trailing optional columns.

.google.protobuf.BoolValue allow_jagged_rows = 5;

Returns
Type Description
BoolValue

getAllowJaggedRowsBuilder()

public BoolValue.Builder getAllowJaggedRowsBuilder()

Accept rows that are missing trailing optional columns.

.google.protobuf.BoolValue allow_jagged_rows = 5;

Returns
Type Description
Builder

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

getAllowQuotedNewlinesBuilder()

public BoolValue.Builder getAllowQuotedNewlinesBuilder()

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
Builder

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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

getFieldDelimiterBuilder()

public StringValue.Builder getFieldDelimiterBuilder()

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
Builder

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

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

getQuoteCharBuilder()

public StringValue.Builder getQuoteCharBuilder()

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
Builder

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

getSkipLeadingRows()

public Int64Value getSkipLeadingRows()

Number of leading rows to skip.

.google.protobuf.Int64Value skip_leading_rows = 4;

Returns
Type Description
Int64Value

getSkipLeadingRowsBuilder()

public Int64Value.Builder getSkipLeadingRowsBuilder()

Number of leading rows to skip.

.google.protobuf.Int64Value skip_leading_rows = 4;

Returns
Type Description
Builder

getSkipLeadingRowsOrBuilder()

public Int64ValueOrBuilder getSkipLeadingRowsOrBuilder()

Number of leading rows to skip.

.google.protobuf.Int64Value skip_leading_rows = 4;

Returns
Type Description
Int64ValueOrBuilder

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAllowJaggedRows(BoolValue value)

public ImportedDataInfo.TableDefinition.CsvOptions.Builder mergeAllowJaggedRows(BoolValue value)

Accept rows that are missing trailing optional columns.

.google.protobuf.BoolValue allow_jagged_rows = 5;

Parameter
Name Description
value BoolValue
Returns
Type Description
ImportedDataInfo.TableDefinition.CsvOptions.Builder

mergeAllowQuotedNewlines(BoolValue value)

public ImportedDataInfo.TableDefinition.CsvOptions.Builder mergeAllowQuotedNewlines(BoolValue value)

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;

Parameter
Name Description
value BoolValue
Returns
Type Description
ImportedDataInfo.TableDefinition.CsvOptions.Builder

mergeFieldDelimiter(StringValue value)

public ImportedDataInfo.TableDefinition.CsvOptions.Builder mergeFieldDelimiter(StringValue value)

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

.google.protobuf.StringValue field_delimiter = 1;

Parameter
Name Description
value StringValue
Returns
Type Description
ImportedDataInfo.TableDefinition.CsvOptions.Builder

mergeFrom(ImportedDataInfo.TableDefinition.CsvOptions other)

public ImportedDataInfo.TableDefinition.CsvOptions.Builder mergeFrom(ImportedDataInfo.TableDefinition.CsvOptions other)
Parameter
Name Description
other ImportedDataInfo.TableDefinition.CsvOptions
Returns
Type Description
ImportedDataInfo.TableDefinition.CsvOptions.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ImportedDataInfo.TableDefinition.CsvOptions.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportedDataInfo.TableDefinition.CsvOptions.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ImportedDataInfo.TableDefinition.CsvOptions.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ImportedDataInfo.TableDefinition.CsvOptions.Builder
Overrides

mergeQuoteChar(StringValue value)

public ImportedDataInfo.TableDefinition.CsvOptions.Builder mergeQuoteChar(StringValue value)

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;

Parameter
Name Description
value StringValue
Returns
Type Description
ImportedDataInfo.TableDefinition.CsvOptions.Builder

mergeSkipLeadingRows(Int64Value value)

public ImportedDataInfo.TableDefinition.CsvOptions.Builder mergeSkipLeadingRows(Int64Value value)

Number of leading rows to skip.

.google.protobuf.Int64Value skip_leading_rows = 4;

Parameter
Name Description
value Int64Value
Returns
Type Description
ImportedDataInfo.TableDefinition.CsvOptions.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ImportedDataInfo.TableDefinition.CsvOptions.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ImportedDataInfo.TableDefinition.CsvOptions.Builder
Overrides

setAllowJaggedRows(BoolValue value)

public ImportedDataInfo.TableDefinition.CsvOptions.Builder setAllowJaggedRows(BoolValue value)

Accept rows that are missing trailing optional columns.

.google.protobuf.BoolValue allow_jagged_rows = 5;

Parameter
Name Description
value BoolValue
Returns
Type Description
ImportedDataInfo.TableDefinition.CsvOptions.Builder

setAllowJaggedRows(BoolValue.Builder builderForValue)

public ImportedDataInfo.TableDefinition.CsvOptions.Builder setAllowJaggedRows(BoolValue.Builder builderForValue)

Accept rows that are missing trailing optional columns.

.google.protobuf.BoolValue allow_jagged_rows = 5;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
ImportedDataInfo.TableDefinition.CsvOptions.Builder

setAllowQuotedNewlines(BoolValue value)

public ImportedDataInfo.TableDefinition.CsvOptions.Builder setAllowQuotedNewlines(BoolValue value)

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;

Parameter
Name Description
value BoolValue
Returns
Type Description
ImportedDataInfo.TableDefinition.CsvOptions.Builder

setAllowQuotedNewlines(BoolValue.Builder builderForValue)

public ImportedDataInfo.TableDefinition.CsvOptions.Builder setAllowQuotedNewlines(BoolValue.Builder builderForValue)

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;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
ImportedDataInfo.TableDefinition.CsvOptions.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ImportedDataInfo.TableDefinition.CsvOptions.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ImportedDataInfo.TableDefinition.CsvOptions.Builder
Overrides

setFieldDelimiter(StringValue value)

public ImportedDataInfo.TableDefinition.CsvOptions.Builder setFieldDelimiter(StringValue value)

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

.google.protobuf.StringValue field_delimiter = 1;

Parameter
Name Description
value StringValue
Returns
Type Description
ImportedDataInfo.TableDefinition.CsvOptions.Builder

setFieldDelimiter(StringValue.Builder builderForValue)

public ImportedDataInfo.TableDefinition.CsvOptions.Builder setFieldDelimiter(StringValue.Builder builderForValue)

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

.google.protobuf.StringValue field_delimiter = 1;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
ImportedDataInfo.TableDefinition.CsvOptions.Builder

setQuoteChar(StringValue value)

public ImportedDataInfo.TableDefinition.CsvOptions.Builder setQuoteChar(StringValue value)

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;

Parameter
Name Description
value StringValue
Returns
Type Description
ImportedDataInfo.TableDefinition.CsvOptions.Builder

setQuoteChar(StringValue.Builder builderForValue)

public ImportedDataInfo.TableDefinition.CsvOptions.Builder setQuoteChar(StringValue.Builder builderForValue)

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;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
ImportedDataInfo.TableDefinition.CsvOptions.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ImportedDataInfo.TableDefinition.CsvOptions.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ImportedDataInfo.TableDefinition.CsvOptions.Builder
Overrides

setSkipLeadingRows(Int64Value value)

public ImportedDataInfo.TableDefinition.CsvOptions.Builder setSkipLeadingRows(Int64Value value)

Number of leading rows to skip.

.google.protobuf.Int64Value skip_leading_rows = 4;

Parameter
Name Description
value Int64Value
Returns
Type Description
ImportedDataInfo.TableDefinition.CsvOptions.Builder

setSkipLeadingRows(Int64Value.Builder builderForValue)

public ImportedDataInfo.TableDefinition.CsvOptions.Builder setSkipLeadingRows(Int64Value.Builder builderForValue)

Number of leading rows to skip.

.google.protobuf.Int64Value skip_leading_rows = 4;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
ImportedDataInfo.TableDefinition.CsvOptions.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final ImportedDataInfo.TableDefinition.CsvOptions.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ImportedDataInfo.TableDefinition.CsvOptions.Builder
Overrides