Interface AdaptMessageResponseOrBuilder (0.3.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

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