Package io.substrait.proto
Class ReadRel.LocalFiles.FileOrFiles.DelimiterSeparatedTextReadOptions.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<ReadRel.LocalFiles.FileOrFiles.DelimiterSeparatedTextReadOptions.Builder>
io.substrait.proto.ReadRel.LocalFiles.FileOrFiles.DelimiterSeparatedTextReadOptions.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,ReadRel.LocalFiles.FileOrFiles.DelimiterSeparatedTextReadOptionsOrBuilder,Cloneable
- Enclosing class:
- ReadRel.LocalFiles.FileOrFiles.DelimiterSeparatedTextReadOptions
public static final class ReadRel.LocalFiles.FileOrFiles.DelimiterSeparatedTextReadOptions.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<ReadRel.LocalFiles.FileOrFiles.DelimiterSeparatedTextReadOptions.Builder>
implements ReadRel.LocalFiles.FileOrFiles.DelimiterSeparatedTextReadOptionsOrBuilder
Delimiter separated files may be compressed. The reader should autodetect this and decompress as needed.Protobuf type
substrait.ReadRel.LocalFiles.FileOrFiles.DelimiterSeparatedTextReadOptions-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()The character used to escape characters in strings.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) The character(s) used to separate fields.The number of lines to skip at the beginning of the file.The maximum number of bytes to read from a single line.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) The character(s) used to quote strings.If this value is encountered (including empty string), the resulting value is null instead.clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe character used to escape characters in strings.com.google.protobuf.ByteStringThe character used to escape characters in strings.The character(s) used to separate fields.com.google.protobuf.ByteStringThe character(s) used to separate fields.longThe number of lines to skip at the beginning of the file.longThe maximum number of bytes to read from a single line.getQuote()The character(s) used to quote strings.com.google.protobuf.ByteStringThe character(s) used to quote strings.If this value is encountered (including empty string), the resulting value is null instead.com.google.protobuf.ByteStringIf this value is encountered (including empty string), the resulting value is null instead.booleanIf this value is encountered (including empty string), the resulting value is null instead.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) The character used to escape characters in strings.setEscapeBytes(com.google.protobuf.ByteString value) The character used to escape characters in strings.setFieldDelimiter(String value) The character(s) used to separate fields.setFieldDelimiterBytes(com.google.protobuf.ByteString value) The character(s) used to separate fields.setHeaderLinesToSkip(long value) The number of lines to skip at the beginning of the file.setMaxLineSize(long value) The maximum number of bytes to read from a single line.The character(s) used to quote strings.setQuoteBytes(com.google.protobuf.ByteString value) The character(s) used to quote strings.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setValueTreatedAsNull(String value) If this value is encountered (including empty string), the resulting value is null instead.setValueTreatedAsNullBytes(com.google.protobuf.ByteString value) If this value is encountered (including empty string), the resulting value is null instead.Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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.Builder<ReadRel.LocalFiles.FileOrFiles.DelimiterSeparatedTextReadOptions.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<ReadRel.LocalFiles.FileOrFiles.DelimiterSeparatedTextReadOptions.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<ReadRel.LocalFiles.FileOrFiles.DelimiterSeparatedTextReadOptions.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<ReadRel.LocalFiles.FileOrFiles.DelimiterSeparatedTextReadOptions.Builder>
-
setField
public ReadRel.LocalFiles.FileOrFiles.DelimiterSeparatedTextReadOptions.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ReadRel.LocalFiles.FileOrFiles.DelimiterSeparatedTextReadOptions.Builder>
-
clearField
public ReadRel.LocalFiles.FileOrFiles.DelimiterSeparatedTextReadOptions.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ReadRel.LocalFiles.FileOrFiles.DelimiterSeparatedTextReadOptions.Builder>
-
clearOneof
public ReadRel.LocalFiles.FileOrFiles.DelimiterSeparatedTextReadOptions.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ReadRel.LocalFiles.FileOrFiles.DelimiterSeparatedTextReadOptions.Builder>
-
setRepeatedField
public ReadRel.LocalFiles.FileOrFiles.DelimiterSeparatedTextReadOptions.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ReadRel.LocalFiles.FileOrFiles.DelimiterSeparatedTextReadOptions.Builder>
-
addRepeatedField
public ReadRel.LocalFiles.FileOrFiles.DelimiterSeparatedTextReadOptions.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ReadRel.LocalFiles.FileOrFiles.DelimiterSeparatedTextReadOptions.Builder>
-
mergeFrom
public ReadRel.LocalFiles.FileOrFiles.DelimiterSeparatedTextReadOptions.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ReadRel.LocalFiles.FileOrFiles.DelimiterSeparatedTextReadOptions.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ReadRel.LocalFiles.FileOrFiles.DelimiterSeparatedTextReadOptions.Builder>
-
mergeFrom
public ReadRel.LocalFiles.FileOrFiles.DelimiterSeparatedTextReadOptions.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ReadRel.LocalFiles.FileOrFiles.DelimiterSeparatedTextReadOptions.Builder>- Throws:
IOException
-
getFieldDelimiter
The character(s) used to separate fields. Common values are comma, tab, and pipe. Multiple characters are allowed.
string field_delimiter = 1;- Specified by:
getFieldDelimiterin interfaceReadRel.LocalFiles.FileOrFiles.DelimiterSeparatedTextReadOptionsOrBuilder- Returns:
- The fieldDelimiter.
-
getFieldDelimiterBytes
public com.google.protobuf.ByteString getFieldDelimiterBytes()The character(s) used to separate fields. Common values are comma, tab, and pipe. Multiple characters are allowed.
string field_delimiter = 1;- Specified by:
getFieldDelimiterBytesin interfaceReadRel.LocalFiles.FileOrFiles.DelimiterSeparatedTextReadOptionsOrBuilder- Returns:
- The bytes for fieldDelimiter.
-
setFieldDelimiter
public ReadRel.LocalFiles.FileOrFiles.DelimiterSeparatedTextReadOptions.Builder setFieldDelimiter(String value) The character(s) used to separate fields. Common values are comma, tab, and pipe. Multiple characters are allowed.
string field_delimiter = 1;- Parameters:
value- The fieldDelimiter to set.- Returns:
- This builder for chaining.
-
clearFieldDelimiter
public ReadRel.LocalFiles.FileOrFiles.DelimiterSeparatedTextReadOptions.Builder clearFieldDelimiter()The character(s) used to separate fields. Common values are comma, tab, and pipe. Multiple characters are allowed.
string field_delimiter = 1;- Returns:
- This builder for chaining.
-
setFieldDelimiterBytes
public ReadRel.LocalFiles.FileOrFiles.DelimiterSeparatedTextReadOptions.Builder setFieldDelimiterBytes(com.google.protobuf.ByteString value) The character(s) used to separate fields. Common values are comma, tab, and pipe. Multiple characters are allowed.
string field_delimiter = 1;- Parameters:
value- The bytes for fieldDelimiter to set.- Returns:
- This builder for chaining.
-
getMaxLineSize
public long getMaxLineSize()The maximum number of bytes to read from a single line. If a line exceeds this limit the resulting behavior is undefined.
uint64 max_line_size = 2;- Specified by:
getMaxLineSizein interfaceReadRel.LocalFiles.FileOrFiles.DelimiterSeparatedTextReadOptionsOrBuilder- Returns:
- The maxLineSize.
-
setMaxLineSize
public ReadRel.LocalFiles.FileOrFiles.DelimiterSeparatedTextReadOptions.Builder setMaxLineSize(long value) The maximum number of bytes to read from a single line. If a line exceeds this limit the resulting behavior is undefined.
uint64 max_line_size = 2;- Parameters:
value- The maxLineSize to set.- Returns:
- This builder for chaining.
-
clearMaxLineSize
The maximum number of bytes to read from a single line. If a line exceeds this limit the resulting behavior is undefined.
uint64 max_line_size = 2;- Returns:
- This builder for chaining.
-
getQuote
The character(s) used to quote strings. Common values are single and double quotation marks.
string quote = 3;- Specified by:
getQuotein interfaceReadRel.LocalFiles.FileOrFiles.DelimiterSeparatedTextReadOptionsOrBuilder- Returns:
- The quote.
-
getQuoteBytes
public com.google.protobuf.ByteString getQuoteBytes()The character(s) used to quote strings. Common values are single and double quotation marks.
string quote = 3;- Specified by:
getQuoteBytesin interfaceReadRel.LocalFiles.FileOrFiles.DelimiterSeparatedTextReadOptionsOrBuilder- Returns:
- The bytes for quote.
-
setQuote
public ReadRel.LocalFiles.FileOrFiles.DelimiterSeparatedTextReadOptions.Builder setQuote(String value) The character(s) used to quote strings. Common values are single and double quotation marks.
string quote = 3;- Parameters:
value- The quote to set.- Returns:
- This builder for chaining.
-
clearQuote
The character(s) used to quote strings. Common values are single and double quotation marks.
string quote = 3;- Returns:
- This builder for chaining.
-
setQuoteBytes
public ReadRel.LocalFiles.FileOrFiles.DelimiterSeparatedTextReadOptions.Builder setQuoteBytes(com.google.protobuf.ByteString value) The character(s) used to quote strings. Common values are single and double quotation marks.
string quote = 3;- Parameters:
value- The bytes for quote to set.- Returns:
- This builder for chaining.
-
getHeaderLinesToSkip
public long getHeaderLinesToSkip()The number of lines to skip at the beginning of the file.
uint64 header_lines_to_skip = 4;- Specified by:
getHeaderLinesToSkipin interfaceReadRel.LocalFiles.FileOrFiles.DelimiterSeparatedTextReadOptionsOrBuilder- Returns:
- The headerLinesToSkip.
-
setHeaderLinesToSkip
public ReadRel.LocalFiles.FileOrFiles.DelimiterSeparatedTextReadOptions.Builder setHeaderLinesToSkip(long value) The number of lines to skip at the beginning of the file.
uint64 header_lines_to_skip = 4;- Parameters:
value- The headerLinesToSkip to set.- Returns:
- This builder for chaining.
-
clearHeaderLinesToSkip
public ReadRel.LocalFiles.FileOrFiles.DelimiterSeparatedTextReadOptions.Builder clearHeaderLinesToSkip()The number of lines to skip at the beginning of the file.
uint64 header_lines_to_skip = 4;- Returns:
- This builder for chaining.
-
getEscape
The character used to escape characters in strings. Backslash is a common value. Note that a double quote mark can also be used as an escape character but the external quotes should be removed first.
string escape = 5;- Specified by:
getEscapein interfaceReadRel.LocalFiles.FileOrFiles.DelimiterSeparatedTextReadOptionsOrBuilder- Returns:
- The escape.
-
getEscapeBytes
public com.google.protobuf.ByteString getEscapeBytes()The character used to escape characters in strings. Backslash is a common value. Note that a double quote mark can also be used as an escape character but the external quotes should be removed first.
string escape = 5;- Specified by:
getEscapeBytesin interfaceReadRel.LocalFiles.FileOrFiles.DelimiterSeparatedTextReadOptionsOrBuilder- Returns:
- The bytes for escape.
-
setEscape
public ReadRel.LocalFiles.FileOrFiles.DelimiterSeparatedTextReadOptions.Builder setEscape(String value) The character used to escape characters in strings. Backslash is a common value. Note that a double quote mark can also be used as an escape character but the external quotes should be removed first.
string escape = 5;- Parameters:
value- The escape to set.- Returns:
- This builder for chaining.
-
clearEscape
The character used to escape characters in strings. Backslash is a common value. Note that a double quote mark can also be used as an escape character but the external quotes should be removed first.
string escape = 5;- Returns:
- This builder for chaining.
-
setEscapeBytes
public ReadRel.LocalFiles.FileOrFiles.DelimiterSeparatedTextReadOptions.Builder setEscapeBytes(com.google.protobuf.ByteString value) The character used to escape characters in strings. Backslash is a common value. Note that a double quote mark can also be used as an escape character but the external quotes should be removed first.
string escape = 5;- Parameters:
value- The bytes for escape to set.- Returns:
- This builder for chaining.
-
hasValueTreatedAsNull
public boolean hasValueTreatedAsNull()If this value is encountered (including empty string), the resulting value is null instead. Leave unset to disable. If this value is provided, the effective schema of this file is comprised entirely of nullable strings. If not provided, the effective schema is instead made up of non-nullable strings.
optional string value_treated_as_null = 6;- Specified by:
hasValueTreatedAsNullin interfaceReadRel.LocalFiles.FileOrFiles.DelimiterSeparatedTextReadOptionsOrBuilder- Returns:
- Whether the valueTreatedAsNull field is set.
-
getValueTreatedAsNull
If this value is encountered (including empty string), the resulting value is null instead. Leave unset to disable. If this value is provided, the effective schema of this file is comprised entirely of nullable strings. If not provided, the effective schema is instead made up of non-nullable strings.
optional string value_treated_as_null = 6;- Specified by:
getValueTreatedAsNullin interfaceReadRel.LocalFiles.FileOrFiles.DelimiterSeparatedTextReadOptionsOrBuilder- Returns:
- The valueTreatedAsNull.
-
getValueTreatedAsNullBytes
public com.google.protobuf.ByteString getValueTreatedAsNullBytes()If this value is encountered (including empty string), the resulting value is null instead. Leave unset to disable. If this value is provided, the effective schema of this file is comprised entirely of nullable strings. If not provided, the effective schema is instead made up of non-nullable strings.
optional string value_treated_as_null = 6;- Specified by:
getValueTreatedAsNullBytesin interfaceReadRel.LocalFiles.FileOrFiles.DelimiterSeparatedTextReadOptionsOrBuilder- Returns:
- The bytes for valueTreatedAsNull.
-
setValueTreatedAsNull
public ReadRel.LocalFiles.FileOrFiles.DelimiterSeparatedTextReadOptions.Builder setValueTreatedAsNull(String value) If this value is encountered (including empty string), the resulting value is null instead. Leave unset to disable. If this value is provided, the effective schema of this file is comprised entirely of nullable strings. If not provided, the effective schema is instead made up of non-nullable strings.
optional string value_treated_as_null = 6;- Parameters:
value- The valueTreatedAsNull to set.- Returns:
- This builder for chaining.
-
clearValueTreatedAsNull
public ReadRel.LocalFiles.FileOrFiles.DelimiterSeparatedTextReadOptions.Builder clearValueTreatedAsNull()If this value is encountered (including empty string), the resulting value is null instead. Leave unset to disable. If this value is provided, the effective schema of this file is comprised entirely of nullable strings. If not provided, the effective schema is instead made up of non-nullable strings.
optional string value_treated_as_null = 6;- Returns:
- This builder for chaining.
-
setValueTreatedAsNullBytes
public ReadRel.LocalFiles.FileOrFiles.DelimiterSeparatedTextReadOptions.Builder setValueTreatedAsNullBytes(com.google.protobuf.ByteString value) If this value is encountered (including empty string), the resulting value is null instead. Leave unset to disable. If this value is provided, the effective schema of this file is comprised entirely of nullable strings. If not provided, the effective schema is instead made up of non-nullable strings.
optional string value_treated_as_null = 6;- Parameters:
value- The bytes for valueTreatedAsNull to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ReadRel.LocalFiles.FileOrFiles.DelimiterSeparatedTextReadOptions.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ReadRel.LocalFiles.FileOrFiles.DelimiterSeparatedTextReadOptions.Builder>
-
mergeUnknownFields
public final ReadRel.LocalFiles.FileOrFiles.DelimiterSeparatedTextReadOptions.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ReadRel.LocalFiles.FileOrFiles.DelimiterSeparatedTextReadOptions.Builder>
-