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 |
---|
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ImportedDataInfo.TableDefinition.CsvOptions.Builder newBuilder()
newBuilder(ImportedDataInfo.TableDefinition.CsvOptions prototype)
public static ImportedDataInfo.TableDefinition.CsvOptions.Builder newBuilder(ImportedDataInfo.TableDefinition.CsvOptions prototype)
public static ImportedDataInfo.TableDefinition.CsvOptions parseDelimitedFrom(InputStream input)
public static ImportedDataInfo.TableDefinition.CsvOptions parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ImportedDataInfo.TableDefinition.CsvOptions parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ImportedDataInfo.TableDefinition.CsvOptions parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ImportedDataInfo.TableDefinition.CsvOptions parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ImportedDataInfo.TableDefinition.CsvOptions parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ImportedDataInfo.TableDefinition.CsvOptions parseFrom(CodedInputStream input)
public static ImportedDataInfo.TableDefinition.CsvOptions parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ImportedDataInfo.TableDefinition.CsvOptions parseFrom(InputStream input)
public static ImportedDataInfo.TableDefinition.CsvOptions parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ImportedDataInfo.TableDefinition.CsvOptions parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ImportedDataInfo.TableDefinition.CsvOptions parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ImportedDataInfo.TableDefinition.CsvOptions> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getAllowJaggedRows()
public BoolValue getAllowJaggedRows()
Accept rows that are missing trailing optional columns.
.google.protobuf.BoolValue allow_jagged_rows = 5;
getAllowJaggedRowsOrBuilder()
public BoolValueOrBuilder getAllowJaggedRowsOrBuilder()
Accept rows that are missing trailing optional columns.
.google.protobuf.BoolValue allow_jagged_rows = 5;
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;
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;
getDefaultInstanceForType()
public ImportedDataInfo.TableDefinition.CsvOptions getDefaultInstanceForType()
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;
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;
getParserForType()
public Parser<ImportedDataInfo.TableDefinition.CsvOptions> getParserForType()
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;
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;
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;
getSkipLeadingRowsOrBuilder()
public Int64ValueOrBuilder getSkipLeadingRowsOrBuilder()
Number of leading rows to skip.
.google.protobuf.Int64Value skip_leading_rows = 4;
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
hasAllowJaggedRows()
public boolean hasAllowJaggedRows()
Accept rows that are missing trailing optional columns.
.google.protobuf.BoolValue allow_jagged_rows = 5;
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;
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;
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;
hasSkipLeadingRows()
public boolean hasSkipLeadingRows()
Number of leading rows to skip.
.google.protobuf.Int64Value skip_leading_rows = 4;
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ImportedDataInfo.TableDefinition.CsvOptions.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ImportedDataInfo.TableDefinition.CsvOptions.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
toBuilder()
public ImportedDataInfo.TableDefinition.CsvOptions.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides