public final class PubSubDataValue extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
PubSubDataValue.Builder
Builder for
PubSubDataValue. |
| Modifier and Type | Method and Description |
|---|---|
static PubSubDataValue.Builder |
builder()
Returns a new
PubSubDataValue.Builder that can be used to construct instances of this class |
boolean |
equals(Object obj) |
PubSubFieldEncodingType |
getEncodingType() |
Instant |
getServerTimestamp() |
Instant |
getSourceTimestamp() |
StatusCode |
getStatusCode() |
Variant |
getValue() |
int |
hashCode() |
PubSubDataValue.Builder |
toBuilder()
Returns a new
PubSubDataValue.Builder that is initialized with the state of this object. |
DataValue |
toDataValue()
Converts the data to a
DataValue. |
String |
toString() |
PubSubDataValue |
withEncodingType(PubSubFieldEncodingType encodingType) |
PubSubDataValue |
withServerTimestamp(Instant serverTimestamp) |
PubSubDataValue |
withSourceTimestamp(Instant sourceTimestamp) |
PubSubDataValue |
withStatusCode(StatusCode statusCode) |
PubSubDataValue |
withValue(Variant value) |
public PubSubFieldEncodingType getEncodingType()
public Instant getServerTimestamp()
public Instant getSourceTimestamp()
public StatusCode getStatusCode()
public Variant getValue()
public PubSubDataValue withEncodingType(PubSubFieldEncodingType encodingType)
public PubSubDataValue withServerTimestamp(Instant serverTimestamp)
public PubSubDataValue withSourceTimestamp(Instant sourceTimestamp)
public PubSubDataValue withStatusCode(StatusCode statusCode)
public PubSubDataValue withValue(Variant value)
public static PubSubDataValue.Builder builder()
PubSubDataValue.Builder that can be used to construct instances of this classpublic PubSubDataValue.Builder toBuilder()
PubSubDataValue.Builder that is initialized with the state of this object.Copyright © 2026. All rights reserved.