public interface AdaptMessageRequestOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
containsAttachments(String key)
public abstract boolean containsAttachments(String key)Optional. Opaque request state passed by the client to the server.
map<string, string> attachments = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getAttachments() (deprecated)
public abstract Map<String,String> getAttachments()Use #getAttachmentsMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getAttachmentsCount()
public abstract int getAttachmentsCount()Optional. Opaque request state passed by the client to the server.
map<string, string> attachments = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getAttachmentsMap()
public abstract Map<String,String> getAttachmentsMap()Optional. Opaque request state passed by the client to the server.
map<string, string> attachments = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getAttachmentsOrDefault(String key, String defaultValue)
public abstract String getAttachmentsOrDefault(String key, String defaultValue)Optional. Opaque request state passed by the client to the server.
map<string, string> attachments = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
key |
String |
defaultValue |
String |
| Returns | |
|---|---|
| Type | Description |
String |
|
getAttachmentsOrThrow(String key)
public abstract String getAttachmentsOrThrow(String key)Optional. Opaque request state passed by the client to the server.
map<string, string> attachments = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
String |
|
getName()
public abstract 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 | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public abstract 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 | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getPayload()
public abstract ByteString getPayload()Optional. Uninterpreted bytes from the underlying wire protocol.
bytes payload = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The payload. |
getProtocol()
public abstract String getProtocol()Required. Identifier for the underlying wire protocol.
string protocol = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The protocol. |
getProtocolBytes()
public abstract ByteString getProtocolBytes()Required. Identifier for the underlying wire protocol.
string protocol = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for protocol. |