Class WriteFeatureValuesPayload.Builder (3.49.0)

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public WriteFeatureValuesPayload.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
WriteFeatureValuesPayload.Builder
Overrides

build()

public WriteFeatureValuesPayload build()
Returns
Type Description
WriteFeatureValuesPayload

buildPartial()

public WriteFeatureValuesPayload buildPartial()
Returns
Type Description
WriteFeatureValuesPayload

clear()

public WriteFeatureValuesPayload.Builder clear()
Returns
Type Description
WriteFeatureValuesPayload.Builder
Overrides

clearEntityId()

public WriteFeatureValuesPayload.Builder clearEntityId()

Required. The ID of the entity.

string entity_id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
WriteFeatureValuesPayload.Builder

This builder for chaining.

clearFeatureValues()

public WriteFeatureValuesPayload.Builder clearFeatureValues()
Returns
Type Description
WriteFeatureValuesPayload.Builder

clearField(Descriptors.FieldDescriptor field)

public WriteFeatureValuesPayload.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
WriteFeatureValuesPayload.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public WriteFeatureValuesPayload.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
WriteFeatureValuesPayload.Builder
Overrides

clone()

public WriteFeatureValuesPayload.Builder clone()
Returns
Type Description
WriteFeatureValuesPayload.Builder
Overrides

containsFeatureValues(String key)

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
Returns
Type Description
boolean

getDefaultInstanceForType()

public WriteFeatureValuesPayload getDefaultInstanceForType()
Returns
Type Description
WriteFeatureValuesPayload

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEntityId()

public String getEntityId()

Required. The ID of the entity.

string entity_id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The entityId.

getEntityIdBytes()

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.

getFeatureValues() (deprecated)

public Map<String,FeatureValue> getFeatureValues()
Returns
Type Description
Map<String,FeatureValue>

getFeatureValuesCount()

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

getFeatureValuesMap()

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];

Returns
Type Description
Map<String,FeatureValue>

getFeatureValuesOrDefault(String key, FeatureValue defaultValue)

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];

Parameters
Name Description
key String
defaultValue FeatureValue
Returns
Type Description
FeatureValue

getFeatureValuesOrThrow(String key)

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
Returns
Type Description
FeatureValue

getMutableFeatureValues() (deprecated)

public Map<String,FeatureValue> getMutableFeatureValues()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,FeatureValue>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

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)

internalGetMutableMapFieldReflection(int number)

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)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(WriteFeatureValuesPayload other)

public WriteFeatureValuesPayload.Builder mergeFrom(WriteFeatureValuesPayload other)
Parameter
Name Description
other WriteFeatureValuesPayload
Returns
Type Description
WriteFeatureValuesPayload.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public WriteFeatureValuesPayload.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WriteFeatureValuesPayload.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public WriteFeatureValuesPayload.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
WriteFeatureValuesPayload.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final WriteFeatureValuesPayload.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
WriteFeatureValuesPayload.Builder
Overrides

putAllFeatureValues(Map<String,FeatureValue> values)

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];

Parameter
Name Description
values Map<String,FeatureValue>
Returns
Type Description
WriteFeatureValuesPayload.Builder

putFeatureValues(String key, FeatureValue value)

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];

Parameters
Name Description
key String
value FeatureValue
Returns
Type Description
WriteFeatureValuesPayload.Builder

putFeatureValuesBuilderIfAbsent(String key)

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
Returns
Type Description
FeatureValue.Builder

removeFeatureValues(String key)

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
Returns
Type Description
WriteFeatureValuesPayload.Builder

setEntityId(String value)

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.

Returns
Type Description
WriteFeatureValuesPayload.Builder

This builder for chaining.

setEntityIdBytes(ByteString value)

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.

Returns
Type Description
WriteFeatureValuesPayload.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public WriteFeatureValuesPayload.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
WriteFeatureValuesPayload.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public WriteFeatureValuesPayload.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
WriteFeatureValuesPayload.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final WriteFeatureValuesPayload.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
WriteFeatureValuesPayload.Builder
Overrides