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.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()
Returns
Methods
public WriteFeatureValuesPayload.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public WriteFeatureValuesPayload build()
Returns
public WriteFeatureValuesPayload buildPartial()
Returns
public WriteFeatureValuesPayload.Builder clear()
Returns
Overrides
public WriteFeatureValuesPayload.Builder clearEntityId()
Required. The ID of the entity.
string entity_id = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
public WriteFeatureValuesPayload.Builder clearFeatureValues()
Returns
public WriteFeatureValuesPayload.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public WriteFeatureValuesPayload.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public WriteFeatureValuesPayload.Builder clone()
Returns
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
Returns
public WriteFeatureValuesPayload getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
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
public Map<String,FeatureValue> getFeatureValues()
Returns
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
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
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
Returns
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
Returns
public Map<String,FeatureValue> getMutableFeatureValues()
Use alternate mutation accessors instead.
Returns
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
protected MapField internalGetMapField(int number)
Parameter
Returns
Overrides
protected MapField internalGetMutableMapField(int number)
Parameter
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public WriteFeatureValuesPayload.Builder mergeFrom(WriteFeatureValuesPayload other)
Parameter
Returns
public WriteFeatureValuesPayload.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public WriteFeatureValuesPayload.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final WriteFeatureValuesPayload.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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];
Parameter
Returns
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
Returns
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
Returns
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
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
public WriteFeatureValuesPayload.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public WriteFeatureValuesPayload.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final WriteFeatureValuesPayload.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides