Package feast.proto.core
Class DataSourceProto.DataSource.FileOptions
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- feast.proto.core.DataSourceProto.DataSource.FileOptions
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,DataSourceProto.DataSource.FileOptionsOrBuilder,Serializable
- Enclosing class:
- DataSourceProto.DataSource
public static final class DataSourceProto.DataSource.FileOptions extends com.google.protobuf.GeneratedMessageV3 implements DataSourceProto.DataSource.FileOptionsOrBuilder
Defines options for DataSource that sources features from a file
Protobuf typefeast.core.DataSource.FileOptions- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDataSourceProto.DataSource.FileOptions.BuilderDefines options for DataSource that sources features from a file-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intFILE_FORMAT_FIELD_NUMBERstatic intS3_ENDPOINT_OVERRIDE_FIELD_NUMBERstatic intURI_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static DataSourceProto.DataSource.FileOptionsgetDefaultInstance()DataSourceProto.DataSource.FileOptionsgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()DataFormatProto.FileFormatgetFileFormat().feast.core.FileFormat file_format = 1;DataFormatProto.FileFormatOrBuildergetFileFormatOrBuilder().feast.core.FileFormat file_format = 1;com.google.protobuf.Parser<DataSourceProto.DataSource.FileOptions>getParserForType()StringgetS3EndpointOverride()override AWS S3 storage endpoint with custom S3 endpointcom.google.protobuf.ByteStringgetS3EndpointOverrideBytes()override AWS S3 storage endpoint with custom S3 endpointintgetSerializedSize()com.google.protobuf.UnknownFieldSetgetUnknownFields()StringgetUri()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;inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static DataSourceProto.DataSource.FileOptions.BuildernewBuilder()static DataSourceProto.DataSource.FileOptions.BuildernewBuilder(DataSourceProto.DataSource.FileOptions prototype)DataSourceProto.DataSource.FileOptions.BuildernewBuilderForType()protected DataSourceProto.DataSource.FileOptions.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static DataSourceProto.DataSource.FileOptionsparseDelimitedFrom(InputStream input)static DataSourceProto.DataSource.FileOptionsparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DataSourceProto.DataSource.FileOptionsparseFrom(byte[] data)static DataSourceProto.DataSource.FileOptionsparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DataSourceProto.DataSource.FileOptionsparseFrom(com.google.protobuf.ByteString data)static DataSourceProto.DataSource.FileOptionsparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DataSourceProto.DataSource.FileOptionsparseFrom(com.google.protobuf.CodedInputStream input)static DataSourceProto.DataSource.FileOptionsparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DataSourceProto.DataSource.FileOptionsparseFrom(InputStream input)static DataSourceProto.DataSource.FileOptionsparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DataSourceProto.DataSource.FileOptionsparseFrom(ByteBuffer data)static DataSourceProto.DataSource.FileOptionsparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<DataSourceProto.DataSource.FileOptions>parser()DataSourceProto.DataSource.FileOptions.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, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, 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
-
FILE_FORMAT_FIELD_NUMBER
public static final int FILE_FORMAT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
URI_FIELD_NUMBER
public static final int URI_FIELD_NUMBER
- See Also:
- Constant Field Values
-
S3_ENDPOINT_OVERRIDE_FIELD_NUMBER
public static final int S3_ENDPOINT_OVERRIDE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
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
-
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.
-
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.
-
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.
-
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 DataSourceProto.DataSource.FileOptions parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DataSourceProto.DataSource.FileOptions parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DataSourceProto.DataSource.FileOptions parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DataSourceProto.DataSource.FileOptions parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DataSourceProto.DataSource.FileOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DataSourceProto.DataSource.FileOptions parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DataSourceProto.DataSource.FileOptions parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static DataSourceProto.DataSource.FileOptions parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static DataSourceProto.DataSource.FileOptions parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static DataSourceProto.DataSource.FileOptions parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static DataSourceProto.DataSource.FileOptions parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static DataSourceProto.DataSource.FileOptions parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public DataSourceProto.DataSource.FileOptions.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static DataSourceProto.DataSource.FileOptions.Builder newBuilder()
-
newBuilder
public static DataSourceProto.DataSource.FileOptions.Builder newBuilder(DataSourceProto.DataSource.FileOptions prototype)
-
toBuilder
public DataSourceProto.DataSource.FileOptions.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected DataSourceProto.DataSource.FileOptions.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static DataSourceProto.DataSource.FileOptions getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<DataSourceProto.DataSource.FileOptions> parser()
-
getParserForType
public com.google.protobuf.Parser<DataSourceProto.DataSource.FileOptions> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public DataSourceProto.DataSource.FileOptions getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-