public final class WriteFeatureValuesPayload extends GeneratedMessageV3 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.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int ENTITY_ID_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int FEATURE_VALUES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
public static WriteFeatureValuesPayload getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static WriteFeatureValuesPayload.Builder newBuilder()
public static WriteFeatureValuesPayload.Builder newBuilder(WriteFeatureValuesPayload prototype)
public static WriteFeatureValuesPayload parseDelimitedFrom(InputStream input)
public static WriteFeatureValuesPayload parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static WriteFeatureValuesPayload parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
public static WriteFeatureValuesPayload parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static WriteFeatureValuesPayload parseFrom(ByteString data)
public static WriteFeatureValuesPayload parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static WriteFeatureValuesPayload parseFrom(CodedInputStream input)
public static WriteFeatureValuesPayload parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static WriteFeatureValuesPayload parseFrom(InputStream input)
public static WriteFeatureValuesPayload parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static WriteFeatureValuesPayload parseFrom(ByteBuffer data)
public static WriteFeatureValuesPayload parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<WriteFeatureValuesPayload> parser()
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.v1beta1.FeatureValue> feature_values = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
key |
String
|
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
public WriteFeatureValuesPayload getDefaultInstanceForType()
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 Parser<WriteFeatureValuesPayload> getParserForType()
Overrides
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
Returns |
Type |
Description |
int |
|
Overrides
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.internalGetMapFieldReflection(int)
public final boolean isInitialized()
Overrides
public WriteFeatureValuesPayload.Builder newBuilderForType()
protected WriteFeatureValuesPayload.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
public WriteFeatureValuesPayload.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides