public final class WriteFeatureValuesPayload extends GeneratedMessageV3 implements WriteFeatureValuesPayloadOrBuilder
Contains Feature values to be written for a specific entity.
Protobuf type google.cloud.aiplatform.v1.WriteFeatureValuesPayload
Static Fields
public static final int ENTITY_ID_FIELD_NUMBER
Field Value
public static final int FEATURE_VALUES_FIELD_NUMBER
Field Value
Static Methods
public static WriteFeatureValuesPayload getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static WriteFeatureValuesPayload.Builder newBuilder()
Returns
public static WriteFeatureValuesPayload.Builder newBuilder(WriteFeatureValuesPayload prototype)
Parameter
Returns
public static WriteFeatureValuesPayload parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static WriteFeatureValuesPayload parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static WriteFeatureValuesPayload parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static WriteFeatureValuesPayload parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static WriteFeatureValuesPayload parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static WriteFeatureValuesPayload parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static WriteFeatureValuesPayload parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static WriteFeatureValuesPayload parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static WriteFeatureValuesPayload parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static WriteFeatureValuesPayload parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static WriteFeatureValuesPayload parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static WriteFeatureValuesPayload parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<WriteFeatureValuesPayload> parser()
Returns
Methods
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.v1.FeatureValue> feature_values = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
public boolean equals(Object obj)
Parameter
Returns
Overrides
public WriteFeatureValuesPayload getDefaultInstanceForType()
Returns
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.v1.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.v1.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.v1.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.v1.FeatureValue> feature_values = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
public Parser<WriteFeatureValuesPayload> getParserForType()
Returns
Overrides
public int getSerializedSize()
Returns
Overrides
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
protected MapField internalGetMapField(int number)
Parameter
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public WriteFeatureValuesPayload.Builder newBuilderForType()
Returns
protected WriteFeatureValuesPayload.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public WriteFeatureValuesPayload.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions