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.v1beta1.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.v1beta1.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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<StreamingReadFeatureValuesRequest.Builder>
-
clear
public StreamingReadFeatureValuesRequest.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<StreamingReadFeatureValuesRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<StreamingReadFeatureValuesRequest.Builder>
-
getDefaultInstanceForType
public StreamingReadFeatureValuesRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public StreamingReadFeatureValuesRequest build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public StreamingReadFeatureValuesRequest buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public StreamingReadFeatureValuesRequest.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<StreamingReadFeatureValuesRequest.Builder>
-
setField
public StreamingReadFeatureValuesRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<StreamingReadFeatureValuesRequest.Builder>
-
clearField
public StreamingReadFeatureValuesRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<StreamingReadFeatureValuesRequest.Builder>
-
clearOneof
public StreamingReadFeatureValuesRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<StreamingReadFeatureValuesRequest.Builder>
-
setRepeatedField
public StreamingReadFeatureValuesRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<StreamingReadFeatureValuesRequest.Builder>
-
addRepeatedField
public StreamingReadFeatureValuesRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<StreamingReadFeatureValuesRequest.Builder>
-
mergeFrom
public StreamingReadFeatureValuesRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<StreamingReadFeatureValuesRequest.Builder>
-
mergeFrom
public StreamingReadFeatureValuesRequest.Builder mergeFrom(StreamingReadFeatureValuesRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getEntityType
in 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:
getEntityTypeBytes
in 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:
getEntityIdsList
in 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:
getEntityIdsCount
in 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:
getEntityIds
in 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:
getEntityIdsBytes
in 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.v1beta1.FeatureSelector feature_selector = 3 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
hasFeatureSelector
in 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.v1beta1.FeatureSelector feature_selector = 3 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getFeatureSelector
in 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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.FeatureSelector feature_selector = 3 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getFeatureSelectorOrBuilder
in interfaceStreamingReadFeatureValuesRequestOrBuilder
-
setUnknownFields
public final StreamingReadFeatureValuesRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<StreamingReadFeatureValuesRequest.Builder>
-
mergeUnknownFields
public final StreamingReadFeatureValuesRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<StreamingReadFeatureValuesRequest.Builder>
-
-