Class 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 type feast.storage.RedisKey
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<RedisProto.RedisKey.Builder>
      • clear

        public RedisProto.RedisKey.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<RedisProto.RedisKey.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<RedisProto.RedisKey.Builder>
      • getDefaultInstanceForType

        public RedisProto.RedisKey getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public RedisProto.RedisKey build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public RedisProto.RedisKey buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public RedisProto.RedisKey.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<RedisProto.RedisKey.Builder>
      • setField

        public RedisProto.RedisKey.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                    Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<RedisProto.RedisKey.Builder>
      • clearField

        public RedisProto.RedisKey.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<RedisProto.RedisKey.Builder>
      • clearOneof

        public RedisProto.RedisKey.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.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:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RedisProto.RedisKey.Builder>
      • addRepeatedField

        public RedisProto.RedisKey.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                            Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RedisProto.RedisKey.Builder>
      • mergeFrom

        public RedisProto.RedisKey.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<RedisProto.RedisKey.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.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:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.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:
        getFeatureSet in interface RedisProto.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:
        getFeatureSetBytes in interface RedisProto.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:
        getEntitiesList in interface RedisProto.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:
        getEntitiesCount in interface RedisProto.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:
        getEntities in interface RedisProto.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:
        getEntitiesOrBuilder in interface RedisProto.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:
        getEntitiesOrBuilderList in interface RedisProto.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:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RedisProto.RedisKey.Builder>
      • mergeUnknownFields

        public final RedisProto.RedisKey.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RedisProto.RedisKey.Builder>