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
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ImportedDataInfo.TableDefinition.CsvOptions.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ImportedDataInfo.TableDefinition.CsvOptions build()
Returns
buildPartial()
public ImportedDataInfo.TableDefinition.CsvOptions buildPartial()
Returns
clear()
public ImportedDataInfo.TableDefinition.CsvOptions.Builder clear()
Returns
Overrides
clearAllowJaggedRows()
public ImportedDataInfo.TableDefinition.CsvOptions.Builder clearAllowJaggedRows()
Accept rows that are missing trailing optional columns.
.google.protobuf.BoolValue allow_jagged_rows = 5;
Returns
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
clearField(Descriptors.FieldDescriptor field)
public ImportedDataInfo.TableDefinition.CsvOptions.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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
clearOneof(Descriptors.OneofDescriptor oneof)
public ImportedDataInfo.TableDefinition.CsvOptions.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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
clearSkipLeadingRows()
public ImportedDataInfo.TableDefinition.CsvOptions.Builder clearSkipLeadingRows()
Number of leading rows to skip.
.google.protobuf.Int64Value skip_leading_rows = 4;
Returns
clone()
public ImportedDataInfo.TableDefinition.CsvOptions.Builder clone()
Returns
Overrides
getAllowJaggedRows()
public BoolValue getAllowJaggedRows()
Accept rows that are missing trailing optional columns.
.google.protobuf.BoolValue allow_jagged_rows = 5;
Returns
getAllowJaggedRowsBuilder()
public BoolValue.Builder getAllowJaggedRowsBuilder()
Accept rows that are missing trailing optional columns.
.google.protobuf.BoolValue allow_jagged_rows = 5;
Returns
getAllowJaggedRowsOrBuilder()
public BoolValueOrBuilder getAllowJaggedRowsOrBuilder()
Accept rows that are missing trailing optional columns.
.google.protobuf.BoolValue allow_jagged_rows = 5;
Returns
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
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
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
getDefaultInstanceForType()
public ImportedDataInfo.TableDefinition.CsvOptions getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
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
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
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
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
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
getSkipLeadingRows()
public Int64Value getSkipLeadingRows()
Number of leading rows to skip.
.google.protobuf.Int64Value skip_leading_rows = 4;
Returns
getSkipLeadingRowsBuilder()
public Int64Value.Builder getSkipLeadingRowsBuilder()
Number of leading rows to skip.
.google.protobuf.Int64Value skip_leading_rows = 4;
Returns
getSkipLeadingRowsOrBuilder()
public Int64ValueOrBuilder getSkipLeadingRowsOrBuilder()
Number of leading rows to skip.
.google.protobuf.Int64Value skip_leading_rows = 4;
Returns
hasAllowJaggedRows()
public boolean hasAllowJaggedRows()
Accept rows that are missing trailing optional columns.
.google.protobuf.BoolValue allow_jagged_rows = 5;
Returns
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
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
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
hasSkipLeadingRows()
public boolean hasSkipLeadingRows()
Number of leading rows to skip.
.google.protobuf.Int64Value skip_leading_rows = 4;
Returns
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
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
Returns
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
Returns
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
Returns
mergeFrom(ImportedDataInfo.TableDefinition.CsvOptions other)
public ImportedDataInfo.TableDefinition.CsvOptions.Builder mergeFrom(ImportedDataInfo.TableDefinition.CsvOptions other)
Parameter
Returns
public ImportedDataInfo.TableDefinition.CsvOptions.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ImportedDataInfo.TableDefinition.CsvOptions.Builder mergeFrom(Message other)
Parameter
Returns
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
Returns
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
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ImportedDataInfo.TableDefinition.CsvOptions.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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
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
Returns
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
setField(Descriptors.FieldDescriptor field, Object value)
public ImportedDataInfo.TableDefinition.CsvOptions.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
Returns
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
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
Returns
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ImportedDataInfo.TableDefinition.CsvOptions.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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
Returns
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
setUnknownFields(UnknownFieldSet unknownFields)
public final ImportedDataInfo.TableDefinition.CsvOptions.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides