Package com.google.spanner.adapter.v1
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 Summary
Modifier and TypeMethodDescriptionbooleanOptional.booleangetLast()Optional.com.google.protobuf.ByteStringOptional.Deprecated.intOptional.Optional.getStateUpdatesOrDefault(String key, String defaultValue) Optional.Optional.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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
Optional. Opaque state updates to be applied by the client.
map<string, string> state_updates = 2 [(.google.api.field_behavior) = OPTIONAL]; -
getStateUpdates
Deprecated.UsegetStateUpdatesMap()instead. -
getStateUpdatesMap
Optional. Opaque state updates to be applied by the client.
map<string, string> state_updates = 2 [(.google.api.field_behavior) = OPTIONAL]; -
getStateUpdatesOrDefault
Optional. Opaque state updates to be applied by the client.
map<string, string> state_updates = 2 [(.google.api.field_behavior) = OPTIONAL]; -
getStateUpdatesOrThrow
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.
-