Class ImportedDataInfo.TableDefinition.CsvOptions
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.TableDefinition.CsvOptions
-
- All Implemented Interfaces:
ImportedDataInfo.TableDefinition.CsvOptionsOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
- Enclosing class:
- ImportedDataInfo.TableDefinition
public static final class ImportedDataInfo.TableDefinition.CsvOptions extends com.google.protobuf.GeneratedMessageV3 implements ImportedDataInfo.TableDefinition.CsvOptionsOrBuilder
CSV specific options.
Protobuf typegoogle.cloud.bigquery.datatransfer.v1.ImportedDataInfo.TableDefinition.CsvOptions
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ImportedDataInfo.TableDefinition.CsvOptions.Builder
CSV specific options.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
ALLOW_JAGGED_ROWS_FIELD_NUMBER
static int
ALLOW_QUOTED_NEWLINES_FIELD_NUMBER
static int
FIELD_DELIMITER_FIELD_NUMBER
static int
QUOTE_CHAR_FIELD_NUMBER
static int
SKIP_LEADING_ROWS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
com.google.protobuf.BoolValue
getAllowJaggedRows()
Accept rows that are missing trailing optional columns.com.google.protobuf.BoolValueOrBuilder
getAllowJaggedRowsOrBuilder()
Accept rows that are missing trailing optional columns.com.google.protobuf.BoolValue
getAllowQuotedNewlines()
Whether CSV files are allowed to have quoted newlines.com.google.protobuf.BoolValueOrBuilder
getAllowQuotedNewlinesOrBuilder()
Whether CSV files are allowed to have quoted newlines.static ImportedDataInfo.TableDefinition.CsvOptions
getDefaultInstance()
ImportedDataInfo.TableDefinition.CsvOptions
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.StringValue
getFieldDelimiter()
The delimiter.com.google.protobuf.StringValueOrBuilder
getFieldDelimiterOrBuilder()
The delimiter.com.google.protobuf.Parser<ImportedDataInfo.TableDefinition.CsvOptions>
getParserForType()
com.google.protobuf.StringValue
getQuoteChar()
The quote character.com.google.protobuf.StringValueOrBuilder
getQuoteCharOrBuilder()
The quote character.int
getSerializedSize()
com.google.protobuf.Int64Value
getSkipLeadingRows()
Number of leading rows to skip.com.google.protobuf.Int64ValueOrBuilder
getSkipLeadingRowsOrBuilder()
Number of leading rows to skip.com.google.protobuf.UnknownFieldSet
getUnknownFields()
boolean
hasAllowJaggedRows()
Accept rows that are missing trailing optional columns.boolean
hasAllowQuotedNewlines()
Whether CSV files are allowed to have quoted newlines.boolean
hasFieldDelimiter()
The delimiter.int
hashCode()
boolean
hasQuoteChar()
The quote character.boolean
hasSkipLeadingRows()
Number of leading rows to skip.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static ImportedDataInfo.TableDefinition.CsvOptions.Builder
newBuilder()
static ImportedDataInfo.TableDefinition.CsvOptions.Builder
newBuilder(ImportedDataInfo.TableDefinition.CsvOptions prototype)
ImportedDataInfo.TableDefinition.CsvOptions.Builder
newBuilderForType()
protected ImportedDataInfo.TableDefinition.CsvOptions.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
static ImportedDataInfo.TableDefinition.CsvOptions
parseDelimitedFrom(InputStream input)
static ImportedDataInfo.TableDefinition.CsvOptions
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ImportedDataInfo.TableDefinition.CsvOptions
parseFrom(byte[] data)
static ImportedDataInfo.TableDefinition.CsvOptions
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ImportedDataInfo.TableDefinition.CsvOptions
parseFrom(com.google.protobuf.ByteString data)
static ImportedDataInfo.TableDefinition.CsvOptions
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ImportedDataInfo.TableDefinition.CsvOptions
parseFrom(com.google.protobuf.CodedInputStream input)
static ImportedDataInfo.TableDefinition.CsvOptions
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ImportedDataInfo.TableDefinition.CsvOptions
parseFrom(InputStream input)
static ImportedDataInfo.TableDefinition.CsvOptions
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ImportedDataInfo.TableDefinition.CsvOptions
parseFrom(ByteBuffer data)
static ImportedDataInfo.TableDefinition.CsvOptions
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<ImportedDataInfo.TableDefinition.CsvOptions>
parser()
ImportedDataInfo.TableDefinition.CsvOptions.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newInstance, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
FIELD_DELIMITER_FIELD_NUMBER
public static final int FIELD_DELIMITER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ALLOW_QUOTED_NEWLINES_FIELD_NUMBER
public static final int ALLOW_QUOTED_NEWLINES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
QUOTE_CHAR_FIELD_NUMBER
public static final int QUOTE_CHAR_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SKIP_LEADING_ROWS_FIELD_NUMBER
public static final int SKIP_LEADING_ROWS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ALLOW_JAGGED_ROWS_FIELD_NUMBER
public static final int ALLOW_JAGGED_ROWS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFields
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getUnknownFields
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
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;
- Specified by:
hasFieldDelimiter
in interfaceImportedDataInfo.TableDefinition.CsvOptionsOrBuilder
-
getFieldDelimiter
public com.google.protobuf.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;
- Specified by:
getFieldDelimiter
in interfaceImportedDataInfo.TableDefinition.CsvOptionsOrBuilder
-
getFieldDelimiterOrBuilder
public com.google.protobuf.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;
- Specified by:
getFieldDelimiterOrBuilder
in interfaceImportedDataInfo.TableDefinition.CsvOptionsOrBuilder
-
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;
- Specified by:
hasAllowQuotedNewlines
in interfaceImportedDataInfo.TableDefinition.CsvOptionsOrBuilder
-
getAllowQuotedNewlines
public com.google.protobuf.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;
- Specified by:
getAllowQuotedNewlines
in interfaceImportedDataInfo.TableDefinition.CsvOptionsOrBuilder
-
getAllowQuotedNewlinesOrBuilder
public com.google.protobuf.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;
- Specified by:
getAllowQuotedNewlinesOrBuilder
in interfaceImportedDataInfo.TableDefinition.CsvOptionsOrBuilder
-
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;
- Specified by:
hasQuoteChar
in interfaceImportedDataInfo.TableDefinition.CsvOptionsOrBuilder
-
getQuoteChar
public com.google.protobuf.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;
- Specified by:
getQuoteChar
in interfaceImportedDataInfo.TableDefinition.CsvOptionsOrBuilder
-
getQuoteCharOrBuilder
public com.google.protobuf.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;
- Specified by:
getQuoteCharOrBuilder
in interfaceImportedDataInfo.TableDefinition.CsvOptionsOrBuilder
-
hasSkipLeadingRows
public boolean hasSkipLeadingRows()
Number of leading rows to skip.
.google.protobuf.Int64Value skip_leading_rows = 4;
- Specified by:
hasSkipLeadingRows
in interfaceImportedDataInfo.TableDefinition.CsvOptionsOrBuilder
-
getSkipLeadingRows
public com.google.protobuf.Int64Value getSkipLeadingRows()
Number of leading rows to skip.
.google.protobuf.Int64Value skip_leading_rows = 4;
- Specified by:
getSkipLeadingRows
in interfaceImportedDataInfo.TableDefinition.CsvOptionsOrBuilder
-
getSkipLeadingRowsOrBuilder
public com.google.protobuf.Int64ValueOrBuilder getSkipLeadingRowsOrBuilder()
Number of leading rows to skip.
.google.protobuf.Int64Value skip_leading_rows = 4;
- Specified by:
getSkipLeadingRowsOrBuilder
in interfaceImportedDataInfo.TableDefinition.CsvOptionsOrBuilder
-
hasAllowJaggedRows
public boolean hasAllowJaggedRows()
Accept rows that are missing trailing optional columns.
.google.protobuf.BoolValue allow_jagged_rows = 5;
- Specified by:
hasAllowJaggedRows
in interfaceImportedDataInfo.TableDefinition.CsvOptionsOrBuilder
-
getAllowJaggedRows
public com.google.protobuf.BoolValue getAllowJaggedRows()
Accept rows that are missing trailing optional columns.
.google.protobuf.BoolValue allow_jagged_rows = 5;
- Specified by:
getAllowJaggedRows
in interfaceImportedDataInfo.TableDefinition.CsvOptionsOrBuilder
-
getAllowJaggedRowsOrBuilder
public com.google.protobuf.BoolValueOrBuilder getAllowJaggedRowsOrBuilder()
Accept rows that are missing trailing optional columns.
.google.protobuf.BoolValue allow_jagged_rows = 5;
- Specified by:
getAllowJaggedRowsOrBuilder
in interfaceImportedDataInfo.TableDefinition.CsvOptionsOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static ImportedDataInfo.TableDefinition.CsvOptions parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ImportedDataInfo.TableDefinition.CsvOptions parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ImportedDataInfo.TableDefinition.CsvOptions parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ImportedDataInfo.TableDefinition.CsvOptions parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ImportedDataInfo.TableDefinition.CsvOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ImportedDataInfo.TableDefinition.CsvOptions parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ImportedDataInfo.TableDefinition.CsvOptions parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static ImportedDataInfo.TableDefinition.CsvOptions parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static ImportedDataInfo.TableDefinition.CsvOptions parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static ImportedDataInfo.TableDefinition.CsvOptions parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static ImportedDataInfo.TableDefinition.CsvOptions parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static ImportedDataInfo.TableDefinition.CsvOptions parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public ImportedDataInfo.TableDefinition.CsvOptions.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static ImportedDataInfo.TableDefinition.CsvOptions.Builder newBuilder()
-
newBuilder
public static ImportedDataInfo.TableDefinition.CsvOptions.Builder newBuilder(ImportedDataInfo.TableDefinition.CsvOptions prototype)
-
toBuilder
public ImportedDataInfo.TableDefinition.CsvOptions.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ImportedDataInfo.TableDefinition.CsvOptions.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static ImportedDataInfo.TableDefinition.CsvOptions getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<ImportedDataInfo.TableDefinition.CsvOptions> parser()
-
getParserForType
public com.google.protobuf.Parser<ImportedDataInfo.TableDefinition.CsvOptions> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public ImportedDataInfo.TableDefinition.CsvOptions getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-