Package com.google.spanner.adapter.v1
Interface AdaptMessageRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AdaptMessageRequest,AdaptMessageRequest.Builder
@Generated
public interface AdaptMessageRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanOptional.Deprecated.intOptional.Optional.getAttachmentsOrDefault(String key, String defaultValue) Optional.Optional.getName()Required.com.google.protobuf.ByteStringRequired.com.google.protobuf.ByteStringOptional.Required.com.google.protobuf.ByteStringRequired.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
-
getName
String getName()Required. The database session in which the adapter request is processed.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()Required. The database session in which the adapter request is processed.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for name.
-
getProtocol
String getProtocol()Required. Identifier for the underlying wire protocol.
string protocol = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The protocol.
-
getProtocolBytes
com.google.protobuf.ByteString getProtocolBytes()Required. Identifier for the underlying wire protocol.
string protocol = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for protocol.
-
getPayload
com.google.protobuf.ByteString getPayload()Optional. Uninterpreted bytes from the underlying wire protocol.
bytes payload = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The payload.
-
getAttachmentsCount
int getAttachmentsCount()Optional. Opaque request state passed by the client to the server.
map<string, string> attachments = 4 [(.google.api.field_behavior) = OPTIONAL]; -
containsAttachments
Optional. Opaque request state passed by the client to the server.
map<string, string> attachments = 4 [(.google.api.field_behavior) = OPTIONAL]; -
getAttachments
Deprecated.UsegetAttachmentsMap()instead. -
getAttachmentsMap
Optional. Opaque request state passed by the client to the server.
map<string, string> attachments = 4 [(.google.api.field_behavior) = OPTIONAL]; -
getAttachmentsOrDefault
Optional. Opaque request state passed by the client to the server.
map<string, string> attachments = 4 [(.google.api.field_behavior) = OPTIONAL]; -
getAttachmentsOrThrow
Optional. Opaque request state passed by the client to the server.
map<string, string> attachments = 4 [(.google.api.field_behavior) = OPTIONAL];
-