Class ImportedDataInfo.TableDefinition.CsvOptions.Builder (2.36.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ImportedDataInfo.TableDefinition.CsvOptions.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ImportedDataInfo.TableDefinition.CsvOptions.Builder
Overrides

build()

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

buildPartial()

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

clear()

public ImportedDataInfo.TableDefinition.CsvOptions.Builder clear()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ImportedDataInfo.TableDefinition.CsvOptions.Builder

clearField(Descriptors.FieldDescriptor field)

public ImportedDataInfo.TableDefinition.CsvOptions.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ImportedDataInfo.TableDefinition.CsvOptions.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public ImportedDataInfo.TableDefinition.CsvOptions.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ImportedDataInfo.TableDefinition.CsvOptions.Builder

clone()

public ImportedDataInfo.TableDefinition.CsvOptions.Builder clone()
Returns
TypeDescription
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
TypeDescription
BoolValue

getAllowJaggedRowsBuilder()

public BoolValue.Builder getAllowJaggedRowsBuilder()

Accept rows that are missing trailing optional columns.

.google.protobuf.BoolValue allow_jagged_rows = 5;

Returns
TypeDescription
Builder

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

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
TypeDescription
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
TypeDescription
BoolValueOrBuilder

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
StringValueOrBuilder

getSkipLeadingRows()

public Int64Value getSkipLeadingRows()

Number of leading rows to skip.

.google.protobuf.Int64Value skip_leading_rows = 4;

Returns
TypeDescription
Int64Value

getSkipLeadingRowsBuilder()

public Int64Value.Builder getSkipLeadingRowsBuilder()

Number of leading rows to skip.

.google.protobuf.Int64Value skip_leading_rows = 4;

Returns
TypeDescription
Builder

getSkipLeadingRowsOrBuilder()

public Int64ValueOrBuilder getSkipLeadingRowsOrBuilder()

Number of leading rows to skip.

.google.protobuf.Int64Value skip_leading_rows = 4;

Returns
TypeDescription
Int64ValueOrBuilder

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueBoolValue
Returns
TypeDescription
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
NameDescription
valueBoolValue
Returns
TypeDescription
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
NameDescription
valueStringValue
Returns
TypeDescription
ImportedDataInfo.TableDefinition.CsvOptions.Builder

mergeFrom(ImportedDataInfo.TableDefinition.CsvOptions other)

public ImportedDataInfo.TableDefinition.CsvOptions.Builder mergeFrom(ImportedDataInfo.TableDefinition.CsvOptions other)
Parameter
NameDescription
otherImportedDataInfo.TableDefinition.CsvOptions
Returns
TypeDescription
ImportedDataInfo.TableDefinition.CsvOptions.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public ImportedDataInfo.TableDefinition.CsvOptions.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueStringValue
Returns
TypeDescription
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
NameDescription
valueInt64Value
Returns
TypeDescription
ImportedDataInfo.TableDefinition.CsvOptions.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ImportedDataInfo.TableDefinition.CsvOptions.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueBoolValue
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
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
NameDescription
valueBoolValue
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
ImportedDataInfo.TableDefinition.CsvOptions.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ImportedDataInfo.TableDefinition.CsvOptions.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueStringValue
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
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
NameDescription
valueStringValue
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueInt64Value
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
ImportedDataInfo.TableDefinition.CsvOptions.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final ImportedDataInfo.TableDefinition.CsvOptions.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ImportedDataInfo.TableDefinition.CsvOptions.Builder
Overrides