Interface AdaptMessageResponseOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
AdaptMessageResponse, AdaptMessageResponse.Builder

@Generated public interface AdaptMessageResponseOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getPayload

      com.google.protobuf.ByteString getPayload()
       Optional. Uninterpreted bytes from the underlying wire protocol.
       
      bytes payload = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The payload.
    • getStateUpdatesCount

      int getStateUpdatesCount()
       Optional. Opaque state updates to be applied by the client.
       
      map<string, string> state_updates = 2 [(.google.api.field_behavior) = OPTIONAL];
    • containsStateUpdates

      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];
    • getStateUpdates

      @Deprecated Map<String,String> getStateUpdates()
      Deprecated.
    • getStateUpdatesMap

      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];
    • getStateUpdatesOrDefault

      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];
    • getStateUpdatesOrThrow

      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];
    • getLast

      boolean getLast()
       Optional. Indicates whether this is the last
       [AdaptMessageResponse][google.spanner.adapter.v1.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:
      The last.