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
Static Fields
ALLOW_JAGGED_ROWS_FIELD_NUMBER
public static final int ALLOW_JAGGED_ROWS_FIELD_NUMBER
Field Value
ALLOW_QUOTED_NEWLINES_FIELD_NUMBER
public static final int ALLOW_QUOTED_NEWLINES_FIELD_NUMBER
Field Value
FIELD_DELIMITER_FIELD_NUMBER
public static final int FIELD_DELIMITER_FIELD_NUMBER
Field Value
QUOTE_CHAR_FIELD_NUMBER
public static final int QUOTE_CHAR_FIELD_NUMBER
Field Value
SKIP_LEADING_ROWS_FIELD_NUMBER
public static final int SKIP_LEADING_ROWS_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static ImportedDataInfo.TableDefinition.CsvOptions getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static ImportedDataInfo.TableDefinition.CsvOptions.Builder newBuilder()
Returns
newBuilder(ImportedDataInfo.TableDefinition.CsvOptions prototype)
public static ImportedDataInfo.TableDefinition.CsvOptions.Builder newBuilder(ImportedDataInfo.TableDefinition.CsvOptions prototype)
Parameter
Returns
public static ImportedDataInfo.TableDefinition.CsvOptions parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ImportedDataInfo.TableDefinition.CsvOptions parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static ImportedDataInfo.TableDefinition.CsvOptions parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ImportedDataInfo.TableDefinition.CsvOptions parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static ImportedDataInfo.TableDefinition.CsvOptions parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ImportedDataInfo.TableDefinition.CsvOptions parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ImportedDataInfo.TableDefinition.CsvOptions parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ImportedDataInfo.TableDefinition.CsvOptions parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ImportedDataInfo.TableDefinition.CsvOptions parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ImportedDataInfo.TableDefinition.CsvOptions parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static ImportedDataInfo.TableDefinition.CsvOptions parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ImportedDataInfo.TableDefinition.CsvOptions parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<ImportedDataInfo.TableDefinition.CsvOptions> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getAllowJaggedRows()
public BoolValue getAllowJaggedRows()
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
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
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
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
getParserForType()
public Parser<ImportedDataInfo.TableDefinition.CsvOptions> getParserForType()
Returns
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
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
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getSkipLeadingRows()
public Int64Value getSkipLeadingRows()
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
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public ImportedDataInfo.TableDefinition.CsvOptions.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ImportedDataInfo.TableDefinition.CsvOptions.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
toBuilder()
public ImportedDataInfo.TableDefinition.CsvOptions.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions