Package feast.proto.core
Class CoreServiceProto.ListFeaturesRequest.Filter.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<CoreServiceProto.ListFeaturesRequest.Filter.Builder>
-
- feast.proto.core.CoreServiceProto.ListFeaturesRequest.Filter.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,CoreServiceProto.ListFeaturesRequest.FilterOrBuilder,Cloneable
- Enclosing class:
- CoreServiceProto.ListFeaturesRequest.Filter
public static final class CoreServiceProto.ListFeaturesRequest.Filter.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CoreServiceProto.ListFeaturesRequest.Filter.Builder> implements CoreServiceProto.ListFeaturesRequest.FilterOrBuilder
Protobuf typefeast.core.ListFeaturesRequest.Filter
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description CoreServiceProto.ListFeaturesRequest.Filter.BuilderaddAllEntities(Iterable<String> values)List of entities contained within the featureSet that the feature belongs to.CoreServiceProto.ListFeaturesRequest.Filter.BuilderaddEntities(String value)List of entities contained within the featureSet that the feature belongs to.CoreServiceProto.ListFeaturesRequest.Filter.BuilderaddEntitiesBytes(com.google.protobuf.ByteString value)List of entities contained within the featureSet that the feature belongs to.CoreServiceProto.ListFeaturesRequest.Filter.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)CoreServiceProto.ListFeaturesRequest.Filterbuild()CoreServiceProto.ListFeaturesRequest.FilterbuildPartial()CoreServiceProto.ListFeaturesRequest.Filter.Builderclear()CoreServiceProto.ListFeaturesRequest.Filter.BuilderclearEntities()List of entities contained within the featureSet that the feature belongs to.CoreServiceProto.ListFeaturesRequest.Filter.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)CoreServiceProto.ListFeaturesRequest.Filter.BuilderclearLabels()CoreServiceProto.ListFeaturesRequest.Filter.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)CoreServiceProto.ListFeaturesRequest.Filter.BuilderclearProject()Name of project that the feature sets belongs to.CoreServiceProto.ListFeaturesRequest.Filter.Builderclone()booleancontainsLabels(String key)User defined metadata for feature.CoreServiceProto.ListFeaturesRequest.FiltergetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetEntities(int index)List of entities contained within the featureSet that the feature belongs to.com.google.protobuf.ByteStringgetEntitiesBytes(int index)List of entities contained within the featureSet that the feature belongs to.intgetEntitiesCount()List of entities contained within the featureSet that the feature belongs to.com.google.protobuf.ProtocolStringListgetEntitiesList()List of entities contained within the featureSet that the feature belongs to.Map<String,String>getLabels()Deprecated.intgetLabelsCount()User defined metadata for feature.Map<String,String>getLabelsMap()User defined metadata for feature.StringgetLabelsOrDefault(String key, String defaultValue)User defined metadata for feature.StringgetLabelsOrThrow(String key)User defined metadata for feature.Map<String,String>getMutableLabels()Deprecated.StringgetProject()Name of project that the feature sets belongs to.com.google.protobuf.ByteStringgetProjectBytes()Name of project that the feature sets belongs to.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)protected com.google.protobuf.MapFieldinternalGetMutableMapField(int number)booleanisInitialized()CoreServiceProto.ListFeaturesRequest.Filter.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)CoreServiceProto.ListFeaturesRequest.Filter.BuildermergeFrom(com.google.protobuf.Message other)CoreServiceProto.ListFeaturesRequest.Filter.BuildermergeFrom(CoreServiceProto.ListFeaturesRequest.Filter other)CoreServiceProto.ListFeaturesRequest.Filter.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)CoreServiceProto.ListFeaturesRequest.Filter.BuilderputAllLabels(Map<String,String> values)User defined metadata for feature.CoreServiceProto.ListFeaturesRequest.Filter.BuilderputLabels(String key, String value)User defined metadata for feature.CoreServiceProto.ListFeaturesRequest.Filter.BuilderremoveLabels(String key)User defined metadata for feature.CoreServiceProto.ListFeaturesRequest.Filter.BuildersetEntities(int index, String value)List of entities contained within the featureSet that the feature belongs to.CoreServiceProto.ListFeaturesRequest.Filter.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)CoreServiceProto.ListFeaturesRequest.Filter.BuildersetProject(String value)Name of project that the feature sets belongs to.CoreServiceProto.ListFeaturesRequest.Filter.BuildersetProjectBytes(com.google.protobuf.ByteString value)Name of project that the feature sets belongs to.CoreServiceProto.ListFeaturesRequest.Filter.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)CoreServiceProto.ListFeaturesRequest.Filter.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, 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()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CoreServiceProto.ListFeaturesRequest.Filter.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CoreServiceProto.ListFeaturesRequest.Filter.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<CoreServiceProto.ListFeaturesRequest.Filter.Builder>
-
clear
public CoreServiceProto.ListFeaturesRequest.Filter.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<CoreServiceProto.ListFeaturesRequest.Filter.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<CoreServiceProto.ListFeaturesRequest.Filter.Builder>
-
getDefaultInstanceForType
public CoreServiceProto.ListFeaturesRequest.Filter getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public CoreServiceProto.ListFeaturesRequest.Filter build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public CoreServiceProto.ListFeaturesRequest.Filter buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public CoreServiceProto.ListFeaturesRequest.Filter.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<CoreServiceProto.ListFeaturesRequest.Filter.Builder>
-
setField
public CoreServiceProto.ListFeaturesRequest.Filter.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<CoreServiceProto.ListFeaturesRequest.Filter.Builder>
-
clearField
public CoreServiceProto.ListFeaturesRequest.Filter.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CoreServiceProto.ListFeaturesRequest.Filter.Builder>
-
clearOneof
public CoreServiceProto.ListFeaturesRequest.Filter.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<CoreServiceProto.ListFeaturesRequest.Filter.Builder>
-
setRepeatedField
public CoreServiceProto.ListFeaturesRequest.Filter.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<CoreServiceProto.ListFeaturesRequest.Filter.Builder>
-
addRepeatedField
public CoreServiceProto.ListFeaturesRequest.Filter.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<CoreServiceProto.ListFeaturesRequest.Filter.Builder>
-
mergeFrom
public CoreServiceProto.ListFeaturesRequest.Filter.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CoreServiceProto.ListFeaturesRequest.Filter.Builder>
-
mergeFrom
public CoreServiceProto.ListFeaturesRequest.Filter.Builder mergeFrom(CoreServiceProto.ListFeaturesRequest.Filter other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<CoreServiceProto.ListFeaturesRequest.Filter.Builder>
-
mergeFrom
public CoreServiceProto.ListFeaturesRequest.Filter.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<CoreServiceProto.ListFeaturesRequest.Filter.Builder>- Throws:
IOException
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:CoreServiceProto.ListFeaturesRequest.FilterOrBuilderUser defined metadata for feature. Features with all matching labels will be returned.
map<string, string> labels = 1;- Specified by:
getLabelsCountin interfaceCoreServiceProto.ListFeaturesRequest.FilterOrBuilder
-
containsLabels
public boolean containsLabels(String key)
User defined metadata for feature. Features with all matching labels will be returned.
map<string, string> labels = 1;- Specified by:
containsLabelsin interfaceCoreServiceProto.ListFeaturesRequest.FilterOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceCoreServiceProto.ListFeaturesRequest.FilterOrBuilder
-
getLabelsMap
public Map<String,String> getLabelsMap()
User defined metadata for feature. Features with all matching labels will be returned.
map<string, string> labels = 1;- Specified by:
getLabelsMapin interfaceCoreServiceProto.ListFeaturesRequest.FilterOrBuilder
-
getLabelsOrDefault
public String getLabelsOrDefault(String key, String defaultValue)
User defined metadata for feature. Features with all matching labels will be returned.
map<string, string> labels = 1;- Specified by:
getLabelsOrDefaultin interfaceCoreServiceProto.ListFeaturesRequest.FilterOrBuilder
-
getLabelsOrThrow
public String getLabelsOrThrow(String key)
User defined metadata for feature. Features with all matching labels will be returned.
map<string, string> labels = 1;- Specified by:
getLabelsOrThrowin interfaceCoreServiceProto.ListFeaturesRequest.FilterOrBuilder
-
clearLabels
public CoreServiceProto.ListFeaturesRequest.Filter.Builder clearLabels()
-
removeLabels
public CoreServiceProto.ListFeaturesRequest.Filter.Builder removeLabels(String key)
User defined metadata for feature. Features with all matching labels will be returned.
map<string, string> labels = 1;
-
getMutableLabels
@Deprecated public Map<String,String> getMutableLabels()
Deprecated.Use alternate mutation accessors instead.
-
putLabels
public CoreServiceProto.ListFeaturesRequest.Filter.Builder putLabels(String key, String value)
User defined metadata for feature. Features with all matching labels will be returned.
map<string, string> labels = 1;
-
putAllLabels
public CoreServiceProto.ListFeaturesRequest.Filter.Builder putAllLabels(Map<String,String> values)
User defined metadata for feature. Features with all matching labels will be returned.
map<string, string> labels = 1;
-
getEntitiesList
public com.google.protobuf.ProtocolStringList getEntitiesList()
List of entities contained within the featureSet that the feature belongs to. Only feature sets with these entities will be searched for features.
repeated string entities = 2;- Specified by:
getEntitiesListin interfaceCoreServiceProto.ListFeaturesRequest.FilterOrBuilder- Returns:
- A list containing the entities.
-
getEntitiesCount
public int getEntitiesCount()
List of entities contained within the featureSet that the feature belongs to. Only feature sets with these entities will be searched for features.
repeated string entities = 2;- Specified by:
getEntitiesCountin interfaceCoreServiceProto.ListFeaturesRequest.FilterOrBuilder- Returns:
- The count of entities.
-
getEntities
public String getEntities(int index)
List of entities contained within the featureSet that the feature belongs to. Only feature sets with these entities will be searched for features.
repeated string entities = 2;- Specified by:
getEntitiesin interfaceCoreServiceProto.ListFeaturesRequest.FilterOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The entities at the given index.
-
getEntitiesBytes
public com.google.protobuf.ByteString getEntitiesBytes(int index)
List of entities contained within the featureSet that the feature belongs to. Only feature sets with these entities will be searched for features.
repeated string entities = 2;- Specified by:
getEntitiesBytesin interfaceCoreServiceProto.ListFeaturesRequest.FilterOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the entities at the given index.
-
setEntities
public CoreServiceProto.ListFeaturesRequest.Filter.Builder setEntities(int index, String value)
List of entities contained within the featureSet that the feature belongs to. Only feature sets with these entities will be searched for features.
repeated string entities = 2;- Parameters:
index- The index to set the value at.value- The entities to set.- Returns:
- This builder for chaining.
-
addEntities
public CoreServiceProto.ListFeaturesRequest.Filter.Builder addEntities(String value)
List of entities contained within the featureSet that the feature belongs to. Only feature sets with these entities will be searched for features.
repeated string entities = 2;- Parameters:
value- The entities to add.- Returns:
- This builder for chaining.
-
addAllEntities
public CoreServiceProto.ListFeaturesRequest.Filter.Builder addAllEntities(Iterable<String> values)
List of entities contained within the featureSet that the feature belongs to. Only feature sets with these entities will be searched for features.
repeated string entities = 2;- Parameters:
values- The entities to add.- Returns:
- This builder for chaining.
-
clearEntities
public CoreServiceProto.ListFeaturesRequest.Filter.Builder clearEntities()
List of entities contained within the featureSet that the feature belongs to. Only feature sets with these entities will be searched for features.
repeated string entities = 2;- Returns:
- This builder for chaining.
-
addEntitiesBytes
public CoreServiceProto.ListFeaturesRequest.Filter.Builder addEntitiesBytes(com.google.protobuf.ByteString value)
List of entities contained within the featureSet that the feature belongs to. Only feature sets with these entities will be searched for features.
repeated string entities = 2;- Parameters:
value- The bytes of the entities to add.- Returns:
- This builder for chaining.
-
getProject
public String getProject()
Name of project that the feature sets belongs to. Filtering on projects is disabled. It is NOT possible to provide an asterisk with a string in order to do pattern matching. If unspecified this field will default to the default project 'default'.
string project = 3;- Specified by:
getProjectin interfaceCoreServiceProto.ListFeaturesRequest.FilterOrBuilder- Returns:
- The project.
-
getProjectBytes
public com.google.protobuf.ByteString getProjectBytes()
Name of project that the feature sets belongs to. Filtering on projects is disabled. It is NOT possible to provide an asterisk with a string in order to do pattern matching. If unspecified this field will default to the default project 'default'.
string project = 3;- Specified by:
getProjectBytesin interfaceCoreServiceProto.ListFeaturesRequest.FilterOrBuilder- Returns:
- The bytes for project.
-
setProject
public CoreServiceProto.ListFeaturesRequest.Filter.Builder setProject(String value)
Name of project that the feature sets belongs to. Filtering on projects is disabled. It is NOT possible to provide an asterisk with a string in order to do pattern matching. If unspecified this field will default to the default project 'default'.
string project = 3;- Parameters:
value- The project to set.- Returns:
- This builder for chaining.
-
clearProject
public CoreServiceProto.ListFeaturesRequest.Filter.Builder clearProject()
Name of project that the feature sets belongs to. Filtering on projects is disabled. It is NOT possible to provide an asterisk with a string in order to do pattern matching. If unspecified this field will default to the default project 'default'.
string project = 3;- Returns:
- This builder for chaining.
-
setProjectBytes
public CoreServiceProto.ListFeaturesRequest.Filter.Builder setProjectBytes(com.google.protobuf.ByteString value)
Name of project that the feature sets belongs to. Filtering on projects is disabled. It is NOT possible to provide an asterisk with a string in order to do pattern matching. If unspecified this field will default to the default project 'default'.
string project = 3;- Parameters:
value- The bytes for project to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final CoreServiceProto.ListFeaturesRequest.Filter.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<CoreServiceProto.ListFeaturesRequest.Filter.Builder>
-
mergeUnknownFields
public final CoreServiceProto.ListFeaturesRequest.Filter.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<CoreServiceProto.ListFeaturesRequest.Filter.Builder>
-
-