Package feast.proto.core
Class DataSourceProto.DataSource.SparkOptions.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<DataSourceProto.DataSource.SparkOptions.Builder>
-
- feast.proto.core.DataSourceProto.DataSource.SparkOptions.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,DataSourceProto.DataSource.SparkOptionsOrBuilder,Cloneable
- Enclosing class:
- DataSourceProto.DataSource.SparkOptions
public static final class DataSourceProto.DataSource.SparkOptions.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<DataSourceProto.DataSource.SparkOptions.Builder> implements DataSourceProto.DataSource.SparkOptionsOrBuilder
Defines options for DataSource that sources features from a spark table/query
Protobuf typefeast.core.DataSource.SparkOptions
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DataSourceProto.DataSource.SparkOptions.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)DataSourceProto.DataSource.SparkOptionsbuild()DataSourceProto.DataSource.SparkOptionsbuildPartial()DataSourceProto.DataSource.SparkOptions.Builderclear()DataSourceProto.DataSource.SparkOptions.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)DataSourceProto.DataSource.SparkOptions.BuilderclearFileFormat()Format of files at `path` (e.g.DataSourceProto.DataSource.SparkOptions.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)DataSourceProto.DataSource.SparkOptions.BuilderclearPath()Path from which spark can read the table, this is an alternative to `table`DataSourceProto.DataSource.SparkOptions.BuilderclearQuery()Spark SQl query that returns the table, this is an alternative to `table`DataSourceProto.DataSource.SparkOptions.BuilderclearTable()Table nameDataSourceProto.DataSource.SparkOptions.Builderclone()DataSourceProto.DataSource.SparkOptionsgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetFileFormat()Format of files at `path` (e.g.com.google.protobuf.ByteStringgetFileFormatBytes()Format of files at `path` (e.g.StringgetPath()Path from which spark can read the table, this is an alternative to `table`com.google.protobuf.ByteStringgetPathBytes()Path from which spark can read the table, this is an alternative to `table`StringgetQuery()Spark SQl query that returns the table, this is an alternative to `table`com.google.protobuf.ByteStringgetQueryBytes()Spark SQl query that returns the table, this is an alternative to `table`StringgetTable()Table namecom.google.protobuf.ByteStringgetTableBytes()Table nameprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()DataSourceProto.DataSource.SparkOptions.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)DataSourceProto.DataSource.SparkOptions.BuildermergeFrom(com.google.protobuf.Message other)DataSourceProto.DataSource.SparkOptions.BuildermergeFrom(DataSourceProto.DataSource.SparkOptions other)DataSourceProto.DataSource.SparkOptions.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)DataSourceProto.DataSource.SparkOptions.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)DataSourceProto.DataSource.SparkOptions.BuildersetFileFormat(String value)Format of files at `path` (e.g.DataSourceProto.DataSource.SparkOptions.BuildersetFileFormatBytes(com.google.protobuf.ByteString value)Format of files at `path` (e.g.DataSourceProto.DataSource.SparkOptions.BuildersetPath(String value)Path from which spark can read the table, this is an alternative to `table`DataSourceProto.DataSource.SparkOptions.BuildersetPathBytes(com.google.protobuf.ByteString value)Path from which spark can read the table, this is an alternative to `table`DataSourceProto.DataSource.SparkOptions.BuildersetQuery(String value)Spark SQl query that returns the table, this is an alternative to `table`DataSourceProto.DataSource.SparkOptions.BuildersetQueryBytes(com.google.protobuf.ByteString value)Spark SQl query that returns the table, this is an alternative to `table`DataSourceProto.DataSource.SparkOptions.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)DataSourceProto.DataSource.SparkOptions.BuildersetTable(String value)Table nameDataSourceProto.DataSource.SparkOptions.BuildersetTableBytes(com.google.protobuf.ByteString value)Table nameDataSourceProto.DataSource.SparkOptions.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
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<DataSourceProto.DataSource.SparkOptions.Builder>
-
clear
public DataSourceProto.DataSource.SparkOptions.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<DataSourceProto.DataSource.SparkOptions.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<DataSourceProto.DataSource.SparkOptions.Builder>
-
getDefaultInstanceForType
public DataSourceProto.DataSource.SparkOptions getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public DataSourceProto.DataSource.SparkOptions build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public DataSourceProto.DataSource.SparkOptions buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public DataSourceProto.DataSource.SparkOptions.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<DataSourceProto.DataSource.SparkOptions.Builder>
-
setField
public DataSourceProto.DataSource.SparkOptions.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<DataSourceProto.DataSource.SparkOptions.Builder>
-
clearField
public DataSourceProto.DataSource.SparkOptions.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DataSourceProto.DataSource.SparkOptions.Builder>
-
clearOneof
public DataSourceProto.DataSource.SparkOptions.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<DataSourceProto.DataSource.SparkOptions.Builder>
-
setRepeatedField
public DataSourceProto.DataSource.SparkOptions.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<DataSourceProto.DataSource.SparkOptions.Builder>
-
addRepeatedField
public DataSourceProto.DataSource.SparkOptions.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<DataSourceProto.DataSource.SparkOptions.Builder>
-
mergeFrom
public DataSourceProto.DataSource.SparkOptions.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DataSourceProto.DataSource.SparkOptions.Builder>
-
mergeFrom
public DataSourceProto.DataSource.SparkOptions.Builder mergeFrom(DataSourceProto.DataSource.SparkOptions other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<DataSourceProto.DataSource.SparkOptions.Builder>
-
mergeFrom
public DataSourceProto.DataSource.SparkOptions.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<DataSourceProto.DataSource.SparkOptions.Builder>- Throws:
IOException
-
getTable
public String getTable()
Table name
string table = 1;- Specified by:
getTablein interfaceDataSourceProto.DataSource.SparkOptionsOrBuilder- Returns:
- The table.
-
getTableBytes
public com.google.protobuf.ByteString getTableBytes()
Table name
string table = 1;- Specified by:
getTableBytesin interfaceDataSourceProto.DataSource.SparkOptionsOrBuilder- Returns:
- The bytes for table.
-
setTable
public DataSourceProto.DataSource.SparkOptions.Builder setTable(String value)
Table name
string table = 1;- Parameters:
value- The table to set.- Returns:
- This builder for chaining.
-
clearTable
public DataSourceProto.DataSource.SparkOptions.Builder clearTable()
Table name
string table = 1;- Returns:
- This builder for chaining.
-
setTableBytes
public DataSourceProto.DataSource.SparkOptions.Builder setTableBytes(com.google.protobuf.ByteString value)
Table name
string table = 1;- Parameters:
value- The bytes for table to set.- Returns:
- This builder for chaining.
-
getQuery
public String getQuery()
Spark SQl query that returns the table, this is an alternative to `table`
string query = 2;- Specified by:
getQueryin interfaceDataSourceProto.DataSource.SparkOptionsOrBuilder- Returns:
- The query.
-
getQueryBytes
public com.google.protobuf.ByteString getQueryBytes()
Spark SQl query that returns the table, this is an alternative to `table`
string query = 2;- Specified by:
getQueryBytesin interfaceDataSourceProto.DataSource.SparkOptionsOrBuilder- Returns:
- The bytes for query.
-
setQuery
public DataSourceProto.DataSource.SparkOptions.Builder setQuery(String value)
Spark SQl query that returns the table, this is an alternative to `table`
string query = 2;- Parameters:
value- The query to set.- Returns:
- This builder for chaining.
-
clearQuery
public DataSourceProto.DataSource.SparkOptions.Builder clearQuery()
Spark SQl query that returns the table, this is an alternative to `table`
string query = 2;- Returns:
- This builder for chaining.
-
setQueryBytes
public DataSourceProto.DataSource.SparkOptions.Builder setQueryBytes(com.google.protobuf.ByteString value)
Spark SQl query that returns the table, this is an alternative to `table`
string query = 2;- Parameters:
value- The bytes for query to set.- Returns:
- This builder for chaining.
-
getPath
public String getPath()
Path from which spark can read the table, this is an alternative to `table`
string path = 3;- Specified by:
getPathin interfaceDataSourceProto.DataSource.SparkOptionsOrBuilder- Returns:
- The path.
-
getPathBytes
public com.google.protobuf.ByteString getPathBytes()
Path from which spark can read the table, this is an alternative to `table`
string path = 3;- Specified by:
getPathBytesin interfaceDataSourceProto.DataSource.SparkOptionsOrBuilder- Returns:
- The bytes for path.
-
setPath
public DataSourceProto.DataSource.SparkOptions.Builder setPath(String value)
Path from which spark can read the table, this is an alternative to `table`
string path = 3;- Parameters:
value- The path to set.- Returns:
- This builder for chaining.
-
clearPath
public DataSourceProto.DataSource.SparkOptions.Builder clearPath()
Path from which spark can read the table, this is an alternative to `table`
string path = 3;- Returns:
- This builder for chaining.
-
setPathBytes
public DataSourceProto.DataSource.SparkOptions.Builder setPathBytes(com.google.protobuf.ByteString value)
Path from which spark can read the table, this is an alternative to `table`
string path = 3;- Parameters:
value- The bytes for path to set.- Returns:
- This builder for chaining.
-
getFileFormat
public String getFileFormat()
Format of files at `path` (e.g. parquet, avro, etc)
string file_format = 4;- Specified by:
getFileFormatin interfaceDataSourceProto.DataSource.SparkOptionsOrBuilder- Returns:
- The fileFormat.
-
getFileFormatBytes
public com.google.protobuf.ByteString getFileFormatBytes()
Format of files at `path` (e.g. parquet, avro, etc)
string file_format = 4;- Specified by:
getFileFormatBytesin interfaceDataSourceProto.DataSource.SparkOptionsOrBuilder- Returns:
- The bytes for fileFormat.
-
setFileFormat
public DataSourceProto.DataSource.SparkOptions.Builder setFileFormat(String value)
Format of files at `path` (e.g. parquet, avro, etc)
string file_format = 4;- Parameters:
value- The fileFormat to set.- Returns:
- This builder for chaining.
-
clearFileFormat
public DataSourceProto.DataSource.SparkOptions.Builder clearFileFormat()
Format of files at `path` (e.g. parquet, avro, etc)
string file_format = 4;- Returns:
- This builder for chaining.
-
setFileFormatBytes
public DataSourceProto.DataSource.SparkOptions.Builder setFileFormatBytes(com.google.protobuf.ByteString value)
Format of files at `path` (e.g. parquet, avro, etc)
string file_format = 4;- Parameters:
value- The bytes for fileFormat to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final DataSourceProto.DataSource.SparkOptions.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<DataSourceProto.DataSource.SparkOptions.Builder>
-
mergeUnknownFields
public final DataSourceProto.DataSource.SparkOptions.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<DataSourceProto.DataSource.SparkOptions.Builder>
-
-