public static final class WriteFeatureValuesPayload.Builder extends GeneratedMessageV3.Builder<WriteFeatureValuesPayload.Builder> implements WriteFeatureValuesPayloadOrBuilder
Contains Feature values to be written for a specific entity.
Protobuf type google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public WriteFeatureValuesPayload.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public WriteFeatureValuesPayload build()
public WriteFeatureValuesPayload buildPartial()
public WriteFeatureValuesPayload.Builder clear()
Overrides
public WriteFeatureValuesPayload.Builder clearEntityId()
Required. The ID of the entity.
string entity_id = 1 [(.google.api.field_behavior) = REQUIRED];
public WriteFeatureValuesPayload.Builder clearFeatureValues()
public WriteFeatureValuesPayload.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public WriteFeatureValuesPayload.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public WriteFeatureValuesPayload.Builder clone()
Overrides
public boolean containsFeatureValues(String key)
Required. Feature values to be written, mapping from Feature ID to value.
Up to 100,000 feature_values
entries may be written across all payloads.
The feature generation time, aligned by days, must be no older than five
years (1825 days) and no later than one year (366 days) in the future.
map<string, .google.cloud.aiplatform.v1beta1.FeatureValue> feature_values = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
key |
String
|
public WriteFeatureValuesPayload getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public String getEntityId()
Required. The ID of the entity.
string entity_id = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
String |
The entityId.
|
public ByteString getEntityIdBytes()
Required. The ID of the entity.
string entity_id = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
ByteString |
The bytes for entityId.
|
public Map<String,FeatureValue> getFeatureValues()
public int getFeatureValuesCount()
Required. Feature values to be written, mapping from Feature ID to value.
Up to 100,000 feature_values
entries may be written across all payloads.
The feature generation time, aligned by days, must be no older than five
years (1825 days) and no later than one year (366 days) in the future.
map<string, .google.cloud.aiplatform.v1beta1.FeatureValue> feature_values = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
int |
|
public Map<String,FeatureValue> getFeatureValuesMap()
Required. Feature values to be written, mapping from Feature ID to value.
Up to 100,000 feature_values
entries may be written across all payloads.
The feature generation time, aligned by days, must be no older than five
years (1825 days) and no later than one year (366 days) in the future.
map<string, .google.cloud.aiplatform.v1beta1.FeatureValue> feature_values = 2 [(.google.api.field_behavior) = REQUIRED];
public FeatureValue getFeatureValuesOrDefault(String key, FeatureValue defaultValue)
Required. Feature values to be written, mapping from Feature ID to value.
Up to 100,000 feature_values
entries may be written across all payloads.
The feature generation time, aligned by days, must be no older than five
years (1825 days) and no later than one year (366 days) in the future.
map<string, .google.cloud.aiplatform.v1beta1.FeatureValue> feature_values = 2 [(.google.api.field_behavior) = REQUIRED];
public FeatureValue getFeatureValuesOrThrow(String key)
Required. Feature values to be written, mapping from Feature ID to value.
Up to 100,000 feature_values
entries may be written across all payloads.
The feature generation time, aligned by days, must be no older than five
years (1825 days) and no later than one year (366 days) in the future.
map<string, .google.cloud.aiplatform.v1beta1.FeatureValue> feature_values = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
key |
String
|
public Map<String,FeatureValue> getMutableFeatureValues()
Use alternate mutation accessors instead.
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter |
Name |
Description |
number |
int
|
Returns |
Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter |
Name |
Description |
number |
int
|
Returns |
Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
public final boolean isInitialized()
Overrides
public WriteFeatureValuesPayload.Builder mergeFrom(WriteFeatureValuesPayload other)
public WriteFeatureValuesPayload.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public WriteFeatureValuesPayload.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public final WriteFeatureValuesPayload.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public WriteFeatureValuesPayload.Builder putAllFeatureValues(Map<String,FeatureValue> values)
Required. Feature values to be written, mapping from Feature ID to value.
Up to 100,000 feature_values
entries may be written across all payloads.
The feature generation time, aligned by days, must be no older than five
years (1825 days) and no later than one year (366 days) in the future.
map<string, .google.cloud.aiplatform.v1beta1.FeatureValue> feature_values = 2 [(.google.api.field_behavior) = REQUIRED];
public WriteFeatureValuesPayload.Builder putFeatureValues(String key, FeatureValue value)
Required. Feature values to be written, mapping from Feature ID to value.
Up to 100,000 feature_values
entries may be written across all payloads.
The feature generation time, aligned by days, must be no older than five
years (1825 days) and no later than one year (366 days) in the future.
map<string, .google.cloud.aiplatform.v1beta1.FeatureValue> feature_values = 2 [(.google.api.field_behavior) = REQUIRED];
public FeatureValue.Builder putFeatureValuesBuilderIfAbsent(String key)
Required. Feature values to be written, mapping from Feature ID to value.
Up to 100,000 feature_values
entries may be written across all payloads.
The feature generation time, aligned by days, must be no older than five
years (1825 days) and no later than one year (366 days) in the future.
map<string, .google.cloud.aiplatform.v1beta1.FeatureValue> feature_values = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
key |
String
|
public WriteFeatureValuesPayload.Builder removeFeatureValues(String key)
Required. Feature values to be written, mapping from Feature ID to value.
Up to 100,000 feature_values
entries may be written across all payloads.
The feature generation time, aligned by days, must be no older than five
years (1825 days) and no later than one year (366 days) in the future.
map<string, .google.cloud.aiplatform.v1beta1.FeatureValue> feature_values = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
key |
String
|
public WriteFeatureValuesPayload.Builder setEntityId(String value)
Required. The ID of the entity.
string entity_id = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
String
The entityId to set.
|
public WriteFeatureValuesPayload.Builder setEntityIdBytes(ByteString value)
Required. The ID of the entity.
string entity_id = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
ByteString
The bytes for entityId to set.
|
public WriteFeatureValuesPayload.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public WriteFeatureValuesPayload.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final WriteFeatureValuesPayload.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides