Package com.google.cloud.aiplatform.v1
Class StreamingReadFeatureValuesRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<StreamingReadFeatureValuesRequest.Builder>
com.google.cloud.aiplatform.v1.StreamingReadFeatureValuesRequest.Builder
- All Implemented Interfaces:
StreamingReadFeatureValuesRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- StreamingReadFeatureValuesRequest
public static final class StreamingReadFeatureValuesRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<StreamingReadFeatureValuesRequest.Builder>
implements StreamingReadFeatureValuesRequestOrBuilder
Request message for [FeaturestoreOnlineServingService.StreamingReadFeatureValues][google.cloud.aiplatform.v1.FeaturestoreOnlineServingService.StreamingReadFeatureValues].Protobuf type
google.cloud.aiplatform.v1.StreamingReadFeatureValuesRequest-
Method Summary
Modifier and TypeMethodDescriptionaddAllEntityIds(Iterable<String> values) Required.addEntityIds(String value) Required.addEntityIdsBytes(com.google.protobuf.ByteString value) Required.build()clear()Required.Required.Required.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetEntityIds(int index) Required.com.google.protobuf.ByteStringgetEntityIdsBytes(int index) Required.intRequired.com.google.protobuf.ProtocolStringListRequired.Required.com.google.protobuf.ByteStringRequired.Required.Required.Required.booleanRequired.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanRequired.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setEntityIds(int index, String value) Required.setEntityType(String value) Required.setEntityTypeBytes(com.google.protobuf.ByteString value) Required.Required.setFeatureSelector(FeatureSelector.Builder builderForValue) Required.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<StreamingReadFeatureValuesRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<StreamingReadFeatureValuesRequest.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.GeneratedMessage.Builder<StreamingReadFeatureValuesRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<StreamingReadFeatureValuesRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<StreamingReadFeatureValuesRequest.Builder>
-
mergeFrom
public StreamingReadFeatureValuesRequest.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<StreamingReadFeatureValuesRequest.Builder>- Throws:
IOException
-
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.
-
setEntityType
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) = { ... }- Parameters:
value- The entityType to set.- Returns:
- This builder for chaining.
-
clearEntityType
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) = { ... }- Returns:
- This builder for chaining.
-
setEntityTypeBytes
public StreamingReadFeatureValuesRequest.Builder setEntityTypeBytes(com.google.protobuf.ByteString value) 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) = { ... }- Parameters:
value- The bytes for entityType to set.- Returns:
- This builder for chaining.
-
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
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.
-
setEntityIds
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];- Parameters:
index- The index to set the value at.value- The entityIds to set.- Returns:
- This builder for chaining.
-
addEntityIds
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];- Parameters:
value- The entityIds to add.- Returns:
- This builder for chaining.
-
addAllEntityIds
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];- Parameters:
values- The entityIds to add.- Returns:
- This builder for chaining.
-
clearEntityIds
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];- Returns:
- This builder for chaining.
-
addEntityIdsBytes
public StreamingReadFeatureValuesRequest.Builder addEntityIdsBytes(com.google.protobuf.ByteString value) 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];- Parameters:
value- The bytes of the entityIds to add.- Returns:
- This builder for chaining.
-
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
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.
-
setFeatureSelector
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]; -
setFeatureSelector
public StreamingReadFeatureValuesRequest.Builder setFeatureSelector(FeatureSelector.Builder builderForValue) 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]; -
mergeFeatureSelector
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]; -
clearFeatureSelector
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]; -
getFeatureSelectorBuilder
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]; -
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
-