Interface AdaptMessageActionOrBuilder (6.116.0)

public interface AdaptMessageActionOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsAttachments(String key)

public abstract boolean containsAttachments(String key)

Attachments to be sent with the request.

map<string, string> attachments = 4;

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()

Attachments to be sent with the request.

map<string, string> attachments = 4;

Returns
Type Description
int

getAttachmentsMap()

public abstract Map<String,String> getAttachmentsMap()

Attachments to be sent with the request.

map<string, string> attachments = 4;

Returns
Type Description
Map<String,String>

getAttachmentsOrDefault(String key, String defaultValue)

public abstract String getAttachmentsOrDefault(String key, String defaultValue)

Attachments to be sent with the request.

map<string, string> attachments = 4;

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getAttachmentsOrThrow(String key)

public abstract String getAttachmentsOrThrow(String key)

Attachments to be sent with the request.

map<string, string> attachments = 4;

Parameter
Name Description
key String
Returns
Type Description
String

getDatabaseUri()

public abstract String getDatabaseUri()

The fully qualified uri of the database to send AdaptMessage to.

string database_uri = 1;

Returns
Type Description
String

The databaseUri.

getDatabaseUriBytes()

public abstract ByteString getDatabaseUriBytes()

The fully qualified uri of the database to send AdaptMessage to.

string database_uri = 1;

Returns
Type Description
ByteString

The bytes for databaseUri.

getPayload()

public abstract ByteString getPayload()

The payload of the request.

bytes payload = 3;

Returns
Type Description
ByteString

The payload.

getPrepareThenExecute()

public abstract boolean getPrepareThenExecute()

If true, the action will send a Prepare request first and then an Execute request right after to execute the query. This is only supported for Cloud Client path.

bool prepare_then_execute = 6;

Returns
Type Description
boolean

The prepareThenExecute.

getProtocol()

public abstract String getProtocol()

The protocol to use for the request.

string protocol = 2;

Returns
Type Description
String

The protocol.

getProtocolBytes()

public abstract ByteString getProtocolBytes()

The protocol to use for the request.

string protocol = 2;

Returns
Type Description
ByteString

The bytes for protocol.

getQuery()

public abstract String getQuery()

The query to be sent with the request.

string query = 5;

Returns
Type Description
String

The query.

getQueryBytes()

public abstract ByteString getQueryBytes()

The query to be sent with the request.

string query = 5;

Returns
Type Description
ByteString

The bytes for query.