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.GeneratedMessageV3.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.GeneratedMessageV3.Builder<StreamingReadFeatureValuesRequest.Builder> implements StreamingReadFeatureValuesRequestOrBuilder
Request message for [FeaturestoreOnlineServingService.StreamingFeatureValuesRead][].
Protobuf typegoogle.cloud.aiplatform.v1.StreamingReadFeatureValuesRequest
-
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
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<StreamingReadFeatureValuesRequest.Builder>
-
clear
public StreamingReadFeatureValuesRequest.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<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.GeneratedMessageV3.Builder<StreamingReadFeatureValuesRequest.Builder>
-
getDefaultInstanceForType
public StreamingReadFeatureValuesRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public StreamingReadFeatureValuesRequest build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public StreamingReadFeatureValuesRequest buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public StreamingReadFeatureValuesRequest.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<StreamingReadFeatureValuesRequest.Builder>
-
setField
public StreamingReadFeatureValuesRequest.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<StreamingReadFeatureValuesRequest.Builder>
-
clearField
public StreamingReadFeatureValuesRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<StreamingReadFeatureValuesRequest.Builder>
-
clearOneof
public StreamingReadFeatureValuesRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<StreamingReadFeatureValuesRequest.Builder>
-
setRepeatedField
public StreamingReadFeatureValuesRequest.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<StreamingReadFeatureValuesRequest.Builder>
-
addRepeatedField
public StreamingReadFeatureValuesRequest.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<StreamingReadFeatureValuesRequest.Builder>
-
mergeFrom
public StreamingReadFeatureValuesRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<StreamingReadFeatureValuesRequest.Builder>
-
mergeFrom
public StreamingReadFeatureValuesRequest.Builder mergeFrom(StreamingReadFeatureValuesRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.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
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.
-
setEntityType
public StreamingReadFeatureValuesRequest.Builder setEntityType(String 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 entityType to set.- Returns:
- This builder for chaining.
-
clearEntityType
public StreamingReadFeatureValuesRequest.Builder 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
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.
-
setEntityIds
public StreamingReadFeatureValuesRequest.Builder setEntityIds(int index, String 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:
index- The index to set the value at.value- The entityIds to set.- Returns:
- This builder for chaining.
-
addEntityIds
public StreamingReadFeatureValuesRequest.Builder addEntityIds(String 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 entityIds to add.- Returns:
- This builder for chaining.
-
addAllEntityIds
public StreamingReadFeatureValuesRequest.Builder addAllEntityIds(Iterable<String> values)
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
public StreamingReadFeatureValuesRequest.Builder 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
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.
-
setFeatureSelector
public StreamingReadFeatureValuesRequest.Builder setFeatureSelector(FeatureSelector value)
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
public StreamingReadFeatureValuesRequest.Builder mergeFeatureSelector(FeatureSelector value)
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
public StreamingReadFeatureValuesRequest.Builder 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
public FeatureSelector.Builder 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
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
-
setUnknownFields
public final StreamingReadFeatureValuesRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<StreamingReadFeatureValuesRequest.Builder>
-
mergeUnknownFields
public final StreamingReadFeatureValuesRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<StreamingReadFeatureValuesRequest.Builder>
-
-