Package com.google.cloud.aiplatform.v1
Class StreamingReadFeatureValuesRequest
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.aiplatform.v1.StreamingReadFeatureValuesRequest
-
- All Implemented Interfaces:
StreamingReadFeatureValuesRequestOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class StreamingReadFeatureValuesRequest extends com.google.protobuf.GeneratedMessageV3 implements StreamingReadFeatureValuesRequestOrBuilder
Request message for [FeaturestoreOnlineServingService.StreamingFeatureValuesRead][].
Protobuf typegoogle.cloud.aiplatform.v1.StreamingReadFeatureValuesRequest- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStreamingReadFeatureValuesRequest.BuilderRequest message for [FeaturestoreOnlineServingService.StreamingFeatureValuesRead][].-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intENTITY_IDS_FIELD_NUMBERstatic intENTITY_TYPE_FIELD_NUMBERstatic intFEATURE_SELECTOR_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static StreamingReadFeatureValuesRequestgetDefaultInstance()StreamingReadFeatureValuesRequestgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetEntityIds(int index)Required.com.google.protobuf.ByteStringgetEntityIdsBytes(int index)Required.intgetEntityIdsCount()Required.com.google.protobuf.ProtocolStringListgetEntityIdsList()Required.StringgetEntityType()Required.com.google.protobuf.ByteStringgetEntityTypeBytes()Required.FeatureSelectorgetFeatureSelector()Required.FeatureSelectorOrBuildergetFeatureSelectorOrBuilder()Required.com.google.protobuf.Parser<StreamingReadFeatureValuesRequest>getParserForType()intgetSerializedSize()booleanhasFeatureSelector()Required.inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static StreamingReadFeatureValuesRequest.BuildernewBuilder()static StreamingReadFeatureValuesRequest.BuildernewBuilder(StreamingReadFeatureValuesRequest prototype)StreamingReadFeatureValuesRequest.BuildernewBuilderForType()protected StreamingReadFeatureValuesRequest.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static StreamingReadFeatureValuesRequestparseDelimitedFrom(InputStream input)static StreamingReadFeatureValuesRequestparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static StreamingReadFeatureValuesRequestparseFrom(byte[] data)static StreamingReadFeatureValuesRequestparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static StreamingReadFeatureValuesRequestparseFrom(com.google.protobuf.ByteString data)static StreamingReadFeatureValuesRequestparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static StreamingReadFeatureValuesRequestparseFrom(com.google.protobuf.CodedInputStream input)static StreamingReadFeatureValuesRequestparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static StreamingReadFeatureValuesRequestparseFrom(InputStream input)static StreamingReadFeatureValuesRequestparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static StreamingReadFeatureValuesRequestparseFrom(ByteBuffer data)static StreamingReadFeatureValuesRequestparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<StreamingReadFeatureValuesRequest>parser()StreamingReadFeatureValuesRequest.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, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, 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
-
ENTITY_TYPE_FIELD_NUMBER
public static final int ENTITY_TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ENTITY_IDS_FIELD_NUMBER
public static final int ENTITY_IDS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FEATURE_SELECTOR_FIELD_NUMBER
public static final int FEATURE_SELECTOR_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
-
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
-
getEntityType
public String getEntityType()
Required. The resource name of the entities' type. Value format: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}`. For example, for a machine learning model predicting user clicks on a website, an EntityType ID could be `user`.string entity_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getEntityTypein interfaceStreamingReadFeatureValuesRequestOrBuilder- Returns:
- The entityType.
-
getEntityTypeBytes
public com.google.protobuf.ByteString getEntityTypeBytes()
Required. The resource name of the entities' type. Value format: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}`. For example, for a machine learning model predicting user clicks on a website, an EntityType ID could be `user`.string entity_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getEntityTypeBytesin interfaceStreamingReadFeatureValuesRequestOrBuilder- Returns:
- The bytes for entityType.
-
getEntityIdsList
public com.google.protobuf.ProtocolStringList getEntityIdsList()
Required. IDs of entities to read Feature values of. The maximum number of IDs is 100. For example, for a machine learning model predicting user clicks on a website, an entity ID could be `user_123`.
repeated string entity_ids = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getEntityIdsListin interfaceStreamingReadFeatureValuesRequestOrBuilder- Returns:
- A list containing the entityIds.
-
getEntityIdsCount
public int getEntityIdsCount()
Required. IDs of entities to read Feature values of. The maximum number of IDs is 100. For example, for a machine learning model predicting user clicks on a website, an entity ID could be `user_123`.
repeated string entity_ids = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getEntityIdsCountin interfaceStreamingReadFeatureValuesRequestOrBuilder- Returns:
- The count of entityIds.
-
getEntityIds
public String getEntityIds(int index)
Required. IDs of entities to read Feature values of. The maximum number of IDs is 100. For example, for a machine learning model predicting user clicks on a website, an entity ID could be `user_123`.
repeated string entity_ids = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getEntityIdsin interfaceStreamingReadFeatureValuesRequestOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The entityIds at the given index.
-
getEntityIdsBytes
public com.google.protobuf.ByteString getEntityIdsBytes(int index)
Required. IDs of entities to read Feature values of. The maximum number of IDs is 100. For example, for a machine learning model predicting user clicks on a website, an entity ID could be `user_123`.
repeated string entity_ids = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getEntityIdsBytesin interfaceStreamingReadFeatureValuesRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the entityIds at the given index.
-
hasFeatureSelector
public boolean hasFeatureSelector()
Required. Selector choosing Features of the target EntityType. Feature IDs will be deduplicated.
.google.cloud.aiplatform.v1.FeatureSelector feature_selector = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
hasFeatureSelectorin interfaceStreamingReadFeatureValuesRequestOrBuilder- Returns:
- Whether the featureSelector field is set.
-
getFeatureSelector
public FeatureSelector getFeatureSelector()
Required. Selector choosing Features of the target EntityType. Feature IDs will be deduplicated.
.google.cloud.aiplatform.v1.FeatureSelector feature_selector = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getFeatureSelectorin interfaceStreamingReadFeatureValuesRequestOrBuilder- Returns:
- The featureSelector.
-
getFeatureSelectorOrBuilder
public FeatureSelectorOrBuilder getFeatureSelectorOrBuilder()
Required. Selector choosing Features of the target EntityType. Feature IDs will be deduplicated.
.google.cloud.aiplatform.v1.FeatureSelector feature_selector = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getFeatureSelectorOrBuilderin interfaceStreamingReadFeatureValuesRequestOrBuilder
-
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 StreamingReadFeatureValuesRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StreamingReadFeatureValuesRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StreamingReadFeatureValuesRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StreamingReadFeatureValuesRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StreamingReadFeatureValuesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StreamingReadFeatureValuesRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StreamingReadFeatureValuesRequest parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static StreamingReadFeatureValuesRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static StreamingReadFeatureValuesRequest parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static StreamingReadFeatureValuesRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static StreamingReadFeatureValuesRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static StreamingReadFeatureValuesRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public StreamingReadFeatureValuesRequest.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static StreamingReadFeatureValuesRequest.Builder newBuilder()
-
newBuilder
public static StreamingReadFeatureValuesRequest.Builder newBuilder(StreamingReadFeatureValuesRequest prototype)
-
toBuilder
public StreamingReadFeatureValuesRequest.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected StreamingReadFeatureValuesRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static StreamingReadFeatureValuesRequest getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<StreamingReadFeatureValuesRequest> parser()
-
getParserForType
public com.google.protobuf.Parser<StreamingReadFeatureValuesRequest> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public StreamingReadFeatureValuesRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-