Package feast.proto.core
Class DataSourceProto.DataSource.FileOptions.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<DataSourceProto.DataSource.FileOptions.Builder>
-
- feast.proto.core.DataSourceProto.DataSource.FileOptions.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,DataSourceProto.DataSource.FileOptionsOrBuilder,Cloneable
- Enclosing class:
- DataSourceProto.DataSource.FileOptions
public static final class DataSourceProto.DataSource.FileOptions.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<DataSourceProto.DataSource.FileOptions.Builder> implements DataSourceProto.DataSource.FileOptionsOrBuilder
Defines options for DataSource that sources features from a file
Protobuf typefeast.core.DataSource.FileOptions
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DataSourceProto.DataSource.FileOptions.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)DataSourceProto.DataSource.FileOptionsbuild()DataSourceProto.DataSource.FileOptionsbuildPartial()DataSourceProto.DataSource.FileOptions.Builderclear()DataSourceProto.DataSource.FileOptions.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)DataSourceProto.DataSource.FileOptions.BuilderclearFileFormat().feast.core.FileFormat file_format = 1;DataSourceProto.DataSource.FileOptions.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)DataSourceProto.DataSource.FileOptions.BuilderclearS3EndpointOverride()override AWS S3 storage endpoint with custom S3 endpointDataSourceProto.DataSource.FileOptions.BuilderclearUri()Target URL of file to retrieve and source features from.DataSourceProto.DataSource.FileOptions.Builderclone()DataSourceProto.DataSource.FileOptionsgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()DataFormatProto.FileFormatgetFileFormat().feast.core.FileFormat file_format = 1;DataFormatProto.FileFormat.BuildergetFileFormatBuilder().feast.core.FileFormat file_format = 1;DataFormatProto.FileFormatOrBuildergetFileFormatOrBuilder().feast.core.FileFormat file_format = 1;StringgetS3EndpointOverride()override AWS S3 storage endpoint with custom S3 endpointcom.google.protobuf.ByteStringgetS3EndpointOverrideBytes()override AWS S3 storage endpoint with custom S3 endpointStringgetUri()Target URL of file to retrieve and source features from.com.google.protobuf.ByteStringgetUriBytes()Target URL of file to retrieve and source features from.booleanhasFileFormat().feast.core.FileFormat file_format = 1;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()DataSourceProto.DataSource.FileOptions.BuildermergeFileFormat(DataFormatProto.FileFormat value).feast.core.FileFormat file_format = 1;DataSourceProto.DataSource.FileOptions.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)DataSourceProto.DataSource.FileOptions.BuildermergeFrom(com.google.protobuf.Message other)DataSourceProto.DataSource.FileOptions.BuildermergeFrom(DataSourceProto.DataSource.FileOptions other)DataSourceProto.DataSource.FileOptions.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)DataSourceProto.DataSource.FileOptions.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)DataSourceProto.DataSource.FileOptions.BuildersetFileFormat(DataFormatProto.FileFormat value).feast.core.FileFormat file_format = 1;DataSourceProto.DataSource.FileOptions.BuildersetFileFormat(DataFormatProto.FileFormat.Builder builderForValue).feast.core.FileFormat file_format = 1;DataSourceProto.DataSource.FileOptions.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)DataSourceProto.DataSource.FileOptions.BuildersetS3EndpointOverride(String value)override AWS S3 storage endpoint with custom S3 endpointDataSourceProto.DataSource.FileOptions.BuildersetS3EndpointOverrideBytes(com.google.protobuf.ByteString value)override AWS S3 storage endpoint with custom S3 endpointDataSourceProto.DataSource.FileOptions.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)DataSourceProto.DataSource.FileOptions.BuildersetUri(String value)Target URL of file to retrieve and source features from.DataSourceProto.DataSource.FileOptions.BuildersetUriBytes(com.google.protobuf.ByteString value)Target URL of file to retrieve and source features from.-
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.FileOptions.Builder>
-
clear
public DataSourceProto.DataSource.FileOptions.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.FileOptions.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.FileOptions.Builder>
-
getDefaultInstanceForType
public DataSourceProto.DataSource.FileOptions getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public DataSourceProto.DataSource.FileOptions build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public DataSourceProto.DataSource.FileOptions buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public DataSourceProto.DataSource.FileOptions.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.FileOptions.Builder>
-
setField
public DataSourceProto.DataSource.FileOptions.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.FileOptions.Builder>
-
clearField
public DataSourceProto.DataSource.FileOptions.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.FileOptions.Builder>
-
clearOneof
public DataSourceProto.DataSource.FileOptions.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.FileOptions.Builder>
-
setRepeatedField
public DataSourceProto.DataSource.FileOptions.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.FileOptions.Builder>
-
addRepeatedField
public DataSourceProto.DataSource.FileOptions.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.FileOptions.Builder>
-
mergeFrom
public DataSourceProto.DataSource.FileOptions.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DataSourceProto.DataSource.FileOptions.Builder>
-
mergeFrom
public DataSourceProto.DataSource.FileOptions.Builder mergeFrom(DataSourceProto.DataSource.FileOptions other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<DataSourceProto.DataSource.FileOptions.Builder>
-
mergeFrom
public DataSourceProto.DataSource.FileOptions.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.FileOptions.Builder>- Throws:
IOException
-
hasFileFormat
public boolean hasFileFormat()
.feast.core.FileFormat file_format = 1;- Specified by:
hasFileFormatin interfaceDataSourceProto.DataSource.FileOptionsOrBuilder- Returns:
- Whether the fileFormat field is set.
-
getFileFormat
public DataFormatProto.FileFormat getFileFormat()
.feast.core.FileFormat file_format = 1;- Specified by:
getFileFormatin interfaceDataSourceProto.DataSource.FileOptionsOrBuilder- Returns:
- The fileFormat.
-
setFileFormat
public DataSourceProto.DataSource.FileOptions.Builder setFileFormat(DataFormatProto.FileFormat value)
.feast.core.FileFormat file_format = 1;
-
setFileFormat
public DataSourceProto.DataSource.FileOptions.Builder setFileFormat(DataFormatProto.FileFormat.Builder builderForValue)
.feast.core.FileFormat file_format = 1;
-
mergeFileFormat
public DataSourceProto.DataSource.FileOptions.Builder mergeFileFormat(DataFormatProto.FileFormat value)
.feast.core.FileFormat file_format = 1;
-
clearFileFormat
public DataSourceProto.DataSource.FileOptions.Builder clearFileFormat()
.feast.core.FileFormat file_format = 1;
-
getFileFormatBuilder
public DataFormatProto.FileFormat.Builder getFileFormatBuilder()
.feast.core.FileFormat file_format = 1;
-
getFileFormatOrBuilder
public DataFormatProto.FileFormatOrBuilder getFileFormatOrBuilder()
.feast.core.FileFormat file_format = 1;- Specified by:
getFileFormatOrBuilderin interfaceDataSourceProto.DataSource.FileOptionsOrBuilder
-
getUri
public String getUri()
Target URL of file to retrieve and source features from. s3://path/to/file for AWS S3 storage gs://path/to/file for GCP GCS storage file:///path/to/file for local storage
string uri = 2;- Specified by:
getUriin interfaceDataSourceProto.DataSource.FileOptionsOrBuilder- Returns:
- The uri.
-
getUriBytes
public com.google.protobuf.ByteString getUriBytes()
Target URL of file to retrieve and source features from. s3://path/to/file for AWS S3 storage gs://path/to/file for GCP GCS storage file:///path/to/file for local storage
string uri = 2;- Specified by:
getUriBytesin interfaceDataSourceProto.DataSource.FileOptionsOrBuilder- Returns:
- The bytes for uri.
-
setUri
public DataSourceProto.DataSource.FileOptions.Builder setUri(String value)
Target URL of file to retrieve and source features from. s3://path/to/file for AWS S3 storage gs://path/to/file for GCP GCS storage file:///path/to/file for local storage
string uri = 2;- Parameters:
value- The uri to set.- Returns:
- This builder for chaining.
-
clearUri
public DataSourceProto.DataSource.FileOptions.Builder clearUri()
Target URL of file to retrieve and source features from. s3://path/to/file for AWS S3 storage gs://path/to/file for GCP GCS storage file:///path/to/file for local storage
string uri = 2;- Returns:
- This builder for chaining.
-
setUriBytes
public DataSourceProto.DataSource.FileOptions.Builder setUriBytes(com.google.protobuf.ByteString value)
Target URL of file to retrieve and source features from. s3://path/to/file for AWS S3 storage gs://path/to/file for GCP GCS storage file:///path/to/file for local storage
string uri = 2;- Parameters:
value- The bytes for uri to set.- Returns:
- This builder for chaining.
-
getS3EndpointOverride
public String getS3EndpointOverride()
override AWS S3 storage endpoint with custom S3 endpoint
string s3_endpoint_override = 3;- Specified by:
getS3EndpointOverridein interfaceDataSourceProto.DataSource.FileOptionsOrBuilder- Returns:
- The s3EndpointOverride.
-
getS3EndpointOverrideBytes
public com.google.protobuf.ByteString getS3EndpointOverrideBytes()
override AWS S3 storage endpoint with custom S3 endpoint
string s3_endpoint_override = 3;- Specified by:
getS3EndpointOverrideBytesin interfaceDataSourceProto.DataSource.FileOptionsOrBuilder- Returns:
- The bytes for s3EndpointOverride.
-
setS3EndpointOverride
public DataSourceProto.DataSource.FileOptions.Builder setS3EndpointOverride(String value)
override AWS S3 storage endpoint with custom S3 endpoint
string s3_endpoint_override = 3;- Parameters:
value- The s3EndpointOverride to set.- Returns:
- This builder for chaining.
-
clearS3EndpointOverride
public DataSourceProto.DataSource.FileOptions.Builder clearS3EndpointOverride()
override AWS S3 storage endpoint with custom S3 endpoint
string s3_endpoint_override = 3;- Returns:
- This builder for chaining.
-
setS3EndpointOverrideBytes
public DataSourceProto.DataSource.FileOptions.Builder setS3EndpointOverrideBytes(com.google.protobuf.ByteString value)
override AWS S3 storage endpoint with custom S3 endpoint
string s3_endpoint_override = 3;- Parameters:
value- The bytes for s3EndpointOverride to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final DataSourceProto.DataSource.FileOptions.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<DataSourceProto.DataSource.FileOptions.Builder>
-
mergeUnknownFields
public final DataSourceProto.DataSource.FileOptions.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<DataSourceProto.DataSource.FileOptions.Builder>
-
-