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 classImportedDataInfo.TableDefinition.CsvOptions.BuilderCSV 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 intALLOW_JAGGED_ROWS_FIELD_NUMBERstatic intALLOW_QUOTED_NEWLINES_FIELD_NUMBERstatic intFIELD_DELIMITER_FIELD_NUMBERstatic intQUOTE_CHAR_FIELD_NUMBERstatic intSKIP_LEADING_ROWS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)com.google.protobuf.BoolValuegetAllowJaggedRows()Accept rows that are missing trailing optional columns.com.google.protobuf.BoolValueOrBuildergetAllowJaggedRowsOrBuilder()Accept rows that are missing trailing optional columns.com.google.protobuf.BoolValuegetAllowQuotedNewlines()Whether CSV files are allowed to have quoted newlines.com.google.protobuf.BoolValueOrBuildergetAllowQuotedNewlinesOrBuilder()Whether CSV files are allowed to have quoted newlines.static ImportedDataInfo.TableDefinition.CsvOptionsgetDefaultInstance()ImportedDataInfo.TableDefinition.CsvOptionsgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.StringValuegetFieldDelimiter()The delimiter.com.google.protobuf.StringValueOrBuildergetFieldDelimiterOrBuilder()The delimiter.com.google.protobuf.Parser<ImportedDataInfo.TableDefinition.CsvOptions>getParserForType()com.google.protobuf.StringValuegetQuoteChar()The quote character.com.google.protobuf.StringValueOrBuildergetQuoteCharOrBuilder()The quote character.intgetSerializedSize()com.google.protobuf.Int64ValuegetSkipLeadingRows()Number of leading rows to skip.com.google.protobuf.Int64ValueOrBuildergetSkipLeadingRowsOrBuilder()Number of leading rows to skip.com.google.protobuf.UnknownFieldSetgetUnknownFields()booleanhasAllowJaggedRows()Accept rows that are missing trailing optional columns.booleanhasAllowQuotedNewlines()Whether CSV files are allowed to have quoted newlines.booleanhasFieldDelimiter()The delimiter.inthashCode()booleanhasQuoteChar()The quote character.booleanhasSkipLeadingRows()Number of leading rows to skip.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static ImportedDataInfo.TableDefinition.CsvOptions.BuildernewBuilder()static ImportedDataInfo.TableDefinition.CsvOptions.BuildernewBuilder(ImportedDataInfo.TableDefinition.CsvOptions prototype)ImportedDataInfo.TableDefinition.CsvOptions.BuildernewBuilderForType()protected ImportedDataInfo.TableDefinition.CsvOptions.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)static ImportedDataInfo.TableDefinition.CsvOptionsparseDelimitedFrom(InputStream input)static ImportedDataInfo.TableDefinition.CsvOptionsparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ImportedDataInfo.TableDefinition.CsvOptionsparseFrom(byte[] data)static ImportedDataInfo.TableDefinition.CsvOptionsparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ImportedDataInfo.TableDefinition.CsvOptionsparseFrom(com.google.protobuf.ByteString data)static ImportedDataInfo.TableDefinition.CsvOptionsparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ImportedDataInfo.TableDefinition.CsvOptionsparseFrom(com.google.protobuf.CodedInputStream input)static ImportedDataInfo.TableDefinition.CsvOptionsparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ImportedDataInfo.TableDefinition.CsvOptionsparseFrom(InputStream input)static ImportedDataInfo.TableDefinition.CsvOptionsparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ImportedDataInfo.TableDefinition.CsvOptionsparseFrom(ByteBuffer data)static ImportedDataInfo.TableDefinition.CsvOptionsparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<ImportedDataInfo.TableDefinition.CsvOptions>parser()ImportedDataInfo.TableDefinition.CsvOptions.BuildertoBuilder()voidwriteTo(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:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein 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:
hasFieldDelimiterin 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:
getFieldDelimiterin 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:
getFieldDelimiterOrBuilderin 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:
hasAllowQuotedNewlinesin 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:
getAllowQuotedNewlinesin 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:
getAllowQuotedNewlinesOrBuilderin 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:
hasQuoteCharin 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:
getQuoteCharin 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:
getQuoteCharOrBuilderin interfaceImportedDataInfo.TableDefinition.CsvOptionsOrBuilder
-
hasSkipLeadingRows
public boolean hasSkipLeadingRows()
Number of leading rows to skip.
.google.protobuf.Int64Value skip_leading_rows = 4;- Specified by:
hasSkipLeadingRowsin 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:
getSkipLeadingRowsin 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:
getSkipLeadingRowsOrBuilderin interfaceImportedDataInfo.TableDefinition.CsvOptionsOrBuilder
-
hasAllowJaggedRows
public boolean hasAllowJaggedRows()
Accept rows that are missing trailing optional columns.
.google.protobuf.BoolValue allow_jagged_rows = 5;- Specified by:
hasAllowJaggedRowsin 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:
getAllowJaggedRowsin 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:
getAllowJaggedRowsOrBuilderin interfaceImportedDataInfo.TableDefinition.CsvOptionsOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein 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:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein 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:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ImportedDataInfo.TableDefinition.CsvOptions.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein 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:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public ImportedDataInfo.TableDefinition.CsvOptions getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-