Package feast.proto.storage
Class RedisProto.RedisKey.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<RedisProto.RedisKey.Builder>
-
- feast.proto.storage.RedisProto.RedisKey.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,RedisProto.RedisKeyOrBuilder,Cloneable
- Enclosing class:
- RedisProto.RedisKey
public static final class RedisProto.RedisKey.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RedisProto.RedisKey.Builder> implements RedisProto.RedisKeyOrBuilder
Field number 1 is reserved for a future distributing hash if needed (for when redis is clustered).
Protobuf typefeast.storage.RedisKey
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RedisProto.RedisKey.BuilderaddAllEntities(Iterable<? extends FieldProto.Field> values)List of fields containing entity names and their respective values contained within this feature row.RedisProto.RedisKey.BuilderaddEntities(int index, FieldProto.Field value)List of fields containing entity names and their respective values contained within this feature row.RedisProto.RedisKey.BuilderaddEntities(int index, FieldProto.Field.Builder builderForValue)List of fields containing entity names and their respective values contained within this feature row.RedisProto.RedisKey.BuilderaddEntities(FieldProto.Field value)List of fields containing entity names and their respective values contained within this feature row.RedisProto.RedisKey.BuilderaddEntities(FieldProto.Field.Builder builderForValue)List of fields containing entity names and their respective values contained within this feature row.FieldProto.Field.BuilderaddEntitiesBuilder()List of fields containing entity names and their respective values contained within this feature row.FieldProto.Field.BuilderaddEntitiesBuilder(int index)List of fields containing entity names and their respective values contained within this feature row.RedisProto.RedisKey.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)RedisProto.RedisKeybuild()RedisProto.RedisKeybuildPartial()RedisProto.RedisKey.Builderclear()RedisProto.RedisKey.BuilderclearEntities()List of fields containing entity names and their respective values contained within this feature row.RedisProto.RedisKey.BuilderclearFeatureSet()FeatureSet this row belongs to, this is defined as featureSetName.RedisProto.RedisKey.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)RedisProto.RedisKey.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)RedisProto.RedisKey.Builderclone()RedisProto.RedisKeygetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()FieldProto.FieldgetEntities(int index)List of fields containing entity names and their respective values contained within this feature row.FieldProto.Field.BuildergetEntitiesBuilder(int index)List of fields containing entity names and their respective values contained within this feature row.List<FieldProto.Field.Builder>getEntitiesBuilderList()List of fields containing entity names and their respective values contained within this feature row.intgetEntitiesCount()List of fields containing entity names and their respective values contained within this feature row.List<FieldProto.Field>getEntitiesList()List of fields containing entity names and their respective values contained within this feature row.FieldProto.FieldOrBuildergetEntitiesOrBuilder(int index)List of fields containing entity names and their respective values contained within this feature row.List<? extends FieldProto.FieldOrBuilder>getEntitiesOrBuilderList()List of fields containing entity names and their respective values contained within this feature row.StringgetFeatureSet()FeatureSet this row belongs to, this is defined as featureSetName.com.google.protobuf.ByteStringgetFeatureSetBytes()FeatureSet this row belongs to, this is defined as featureSetName.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()RedisProto.RedisKey.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)RedisProto.RedisKey.BuildermergeFrom(com.google.protobuf.Message other)RedisProto.RedisKey.BuildermergeFrom(RedisProto.RedisKey other)RedisProto.RedisKey.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)RedisProto.RedisKey.BuilderremoveEntities(int index)List of fields containing entity names and their respective values contained within this feature row.RedisProto.RedisKey.BuildersetEntities(int index, FieldProto.Field value)List of fields containing entity names and their respective values contained within this feature row.RedisProto.RedisKey.BuildersetEntities(int index, FieldProto.Field.Builder builderForValue)List of fields containing entity names and their respective values contained within this feature row.RedisProto.RedisKey.BuildersetFeatureSet(String value)FeatureSet this row belongs to, this is defined as featureSetName.RedisProto.RedisKey.BuildersetFeatureSetBytes(com.google.protobuf.ByteString value)FeatureSet this row belongs to, this is defined as featureSetName.RedisProto.RedisKey.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)RedisProto.RedisKey.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)RedisProto.RedisKey.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<RedisProto.RedisKey.Builder>
-
clear
public RedisProto.RedisKey.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<RedisProto.RedisKey.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<RedisProto.RedisKey.Builder>
-
getDefaultInstanceForType
public RedisProto.RedisKey getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public RedisProto.RedisKey build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public RedisProto.RedisKey buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public RedisProto.RedisKey.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<RedisProto.RedisKey.Builder>
-
setField
public RedisProto.RedisKey.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<RedisProto.RedisKey.Builder>
-
clearField
public RedisProto.RedisKey.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RedisProto.RedisKey.Builder>
-
clearOneof
public RedisProto.RedisKey.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<RedisProto.RedisKey.Builder>
-
setRepeatedField
public RedisProto.RedisKey.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<RedisProto.RedisKey.Builder>
-
addRepeatedField
public RedisProto.RedisKey.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<RedisProto.RedisKey.Builder>
-
mergeFrom
public RedisProto.RedisKey.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RedisProto.RedisKey.Builder>
-
mergeFrom
public RedisProto.RedisKey.Builder mergeFrom(RedisProto.RedisKey other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<RedisProto.RedisKey.Builder>
-
mergeFrom
public RedisProto.RedisKey.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<RedisProto.RedisKey.Builder>- Throws:
IOException
-
getFeatureSet
public String getFeatureSet()
FeatureSet this row belongs to, this is defined as featureSetName.
string feature_set = 2;- Specified by:
getFeatureSetin interfaceRedisProto.RedisKeyOrBuilder- Returns:
- The featureSet.
-
getFeatureSetBytes
public com.google.protobuf.ByteString getFeatureSetBytes()
FeatureSet this row belongs to, this is defined as featureSetName.
string feature_set = 2;- Specified by:
getFeatureSetBytesin interfaceRedisProto.RedisKeyOrBuilder- Returns:
- The bytes for featureSet.
-
setFeatureSet
public RedisProto.RedisKey.Builder setFeatureSet(String value)
FeatureSet this row belongs to, this is defined as featureSetName.
string feature_set = 2;- Parameters:
value- The featureSet to set.- Returns:
- This builder for chaining.
-
clearFeatureSet
public RedisProto.RedisKey.Builder clearFeatureSet()
FeatureSet this row belongs to, this is defined as featureSetName.
string feature_set = 2;- Returns:
- This builder for chaining.
-
setFeatureSetBytes
public RedisProto.RedisKey.Builder setFeatureSetBytes(com.google.protobuf.ByteString value)
FeatureSet this row belongs to, this is defined as featureSetName.
string feature_set = 2;- Parameters:
value- The bytes for featureSet to set.- Returns:
- This builder for chaining.
-
getEntitiesList
public List<FieldProto.Field> getEntitiesList()
List of fields containing entity names and their respective values contained within this feature row. The entities should be sorted by the entity name alphabetically in ascending order.
repeated .feast.types.Field entities = 3;- Specified by:
getEntitiesListin interfaceRedisProto.RedisKeyOrBuilder
-
getEntitiesCount
public int getEntitiesCount()
List of fields containing entity names and their respective values contained within this feature row. The entities should be sorted by the entity name alphabetically in ascending order.
repeated .feast.types.Field entities = 3;- Specified by:
getEntitiesCountin interfaceRedisProto.RedisKeyOrBuilder
-
getEntities
public FieldProto.Field getEntities(int index)
List of fields containing entity names and their respective values contained within this feature row. The entities should be sorted by the entity name alphabetically in ascending order.
repeated .feast.types.Field entities = 3;- Specified by:
getEntitiesin interfaceRedisProto.RedisKeyOrBuilder
-
setEntities
public RedisProto.RedisKey.Builder setEntities(int index, FieldProto.Field value)
List of fields containing entity names and their respective values contained within this feature row. The entities should be sorted by the entity name alphabetically in ascending order.
repeated .feast.types.Field entities = 3;
-
setEntities
public RedisProto.RedisKey.Builder setEntities(int index, FieldProto.Field.Builder builderForValue)
List of fields containing entity names and their respective values contained within this feature row. The entities should be sorted by the entity name alphabetically in ascending order.
repeated .feast.types.Field entities = 3;
-
addEntities
public RedisProto.RedisKey.Builder addEntities(FieldProto.Field value)
List of fields containing entity names and their respective values contained within this feature row. The entities should be sorted by the entity name alphabetically in ascending order.
repeated .feast.types.Field entities = 3;
-
addEntities
public RedisProto.RedisKey.Builder addEntities(int index, FieldProto.Field value)
List of fields containing entity names and their respective values contained within this feature row. The entities should be sorted by the entity name alphabetically in ascending order.
repeated .feast.types.Field entities = 3;
-
addEntities
public RedisProto.RedisKey.Builder addEntities(FieldProto.Field.Builder builderForValue)
List of fields containing entity names and their respective values contained within this feature row. The entities should be sorted by the entity name alphabetically in ascending order.
repeated .feast.types.Field entities = 3;
-
addEntities
public RedisProto.RedisKey.Builder addEntities(int index, FieldProto.Field.Builder builderForValue)
List of fields containing entity names and their respective values contained within this feature row. The entities should be sorted by the entity name alphabetically in ascending order.
repeated .feast.types.Field entities = 3;
-
addAllEntities
public RedisProto.RedisKey.Builder addAllEntities(Iterable<? extends FieldProto.Field> values)
List of fields containing entity names and their respective values contained within this feature row. The entities should be sorted by the entity name alphabetically in ascending order.
repeated .feast.types.Field entities = 3;
-
clearEntities
public RedisProto.RedisKey.Builder clearEntities()
List of fields containing entity names and their respective values contained within this feature row. The entities should be sorted by the entity name alphabetically in ascending order.
repeated .feast.types.Field entities = 3;
-
removeEntities
public RedisProto.RedisKey.Builder removeEntities(int index)
List of fields containing entity names and their respective values contained within this feature row. The entities should be sorted by the entity name alphabetically in ascending order.
repeated .feast.types.Field entities = 3;
-
getEntitiesBuilder
public FieldProto.Field.Builder getEntitiesBuilder(int index)
List of fields containing entity names and their respective values contained within this feature row. The entities should be sorted by the entity name alphabetically in ascending order.
repeated .feast.types.Field entities = 3;
-
getEntitiesOrBuilder
public FieldProto.FieldOrBuilder getEntitiesOrBuilder(int index)
List of fields containing entity names and their respective values contained within this feature row. The entities should be sorted by the entity name alphabetically in ascending order.
repeated .feast.types.Field entities = 3;- Specified by:
getEntitiesOrBuilderin interfaceRedisProto.RedisKeyOrBuilder
-
getEntitiesOrBuilderList
public List<? extends FieldProto.FieldOrBuilder> getEntitiesOrBuilderList()
List of fields containing entity names and their respective values contained within this feature row. The entities should be sorted by the entity name alphabetically in ascending order.
repeated .feast.types.Field entities = 3;- Specified by:
getEntitiesOrBuilderListin interfaceRedisProto.RedisKeyOrBuilder
-
addEntitiesBuilder
public FieldProto.Field.Builder addEntitiesBuilder()
List of fields containing entity names and their respective values contained within this feature row. The entities should be sorted by the entity name alphabetically in ascending order.
repeated .feast.types.Field entities = 3;
-
addEntitiesBuilder
public FieldProto.Field.Builder addEntitiesBuilder(int index)
List of fields containing entity names and their respective values contained within this feature row. The entities should be sorted by the entity name alphabetically in ascending order.
repeated .feast.types.Field entities = 3;
-
getEntitiesBuilderList
public List<FieldProto.Field.Builder> getEntitiesBuilderList()
List of fields containing entity names and their respective values contained within this feature row. The entities should be sorted by the entity name alphabetically in ascending order.
repeated .feast.types.Field entities = 3;
-
setUnknownFields
public final RedisProto.RedisKey.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<RedisProto.RedisKey.Builder>
-
mergeUnknownFields
public final RedisProto.RedisKey.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<RedisProto.RedisKey.Builder>
-
-