Interface AdaptMessageResponseOrBuilder (0.8.0)

public interface AdaptMessageResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsStateUpdates(String key)

public abstract boolean containsStateUpdates(String key)

Optional. Opaque state updates to be applied by the client.

map<string, string> state_updates = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
boolean

getLast()

public abstract boolean getLast()

Optional. Indicates whether this is the last AdaptMessageResponse in the stream. This field may be optionally set by the server. Clients should not rely on this field being set in all cases.

bool last = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The last.

getPayload()

public abstract ByteString getPayload()

Optional. Uninterpreted bytes from the underlying wire protocol.

bytes payload = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The payload.

getStateUpdates() (deprecated)

public abstract Map<String,String> getStateUpdates()

Use #getStateUpdatesMap() instead.

Returns
Type Description
Map<String,String>

getStateUpdatesCount()

public abstract int getStateUpdatesCount()

Optional. Opaque state updates to be applied by the client.

map<string, string> state_updates = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getStateUpdatesMap()

public abstract Map<String,String> getStateUpdatesMap()

Optional. Opaque state updates to be applied by the client.

map<string, string> state_updates = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Map<String,String>

getStateUpdatesOrDefault(String key, String defaultValue)

public abstract String getStateUpdatesOrDefault(String key, String defaultValue)

Optional. Opaque state updates to be applied by the client.

map<string, string> state_updates = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getStateUpdatesOrThrow(String key)

public abstract String getStateUpdatesOrThrow(String key)

Optional. Opaque state updates to be applied by the client.

map<string, string> state_updates = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
String