Interface StreamSqlDataRequestOrBuilder (0.1.0)

public interface StreamSqlDataRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAck()

public abstract Ack getAck()

Optional. Acknowledges data received by the client.

.google.cloud.sql.v1beta4.Ack ack = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Ack

The ack.

getAckOrBuilder()

public abstract AckOrBuilder getAckOrBuilder()

Optional. Acknowledges data received by the client.

.google.cloud.sql.v1beta4.Ack ack = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AckOrBuilder

getContinueSession()

public abstract ContinueSession getContinueSession()

Continues an existing session. When continuing an existing session, this is the first message the client sends.

.google.cloud.sql.v1beta4.ContinueSession continue_session = 6;

Returns
Type Description
ContinueSession

The continueSession.

getContinueSessionOrBuilder()

public abstract ContinueSessionOrBuilder getContinueSessionOrBuilder()

Continues an existing session. When continuing an existing session, this is the first message the client sends.

.google.cloud.sql.v1beta4.ContinueSession continue_session = 6;

Returns
Type Description
ContinueSessionOrBuilder

getData()

public abstract DataPacket getData()

Database data.

.google.cloud.sql.v1beta4.DataPacket data = 7;

Returns
Type Description
DataPacket

The data.

getDataOrBuilder()

public abstract DataPacketOrBuilder getDataOrBuilder()

Database data.

.google.cloud.sql.v1beta4.DataPacket data = 7;

Returns
Type Description
DataPacketOrBuilder

getInstanceId()

public abstract String getInstanceId()

Optional. Deprecated: Use StartSession.instance_id or ContinueSession.instance_id instead. The Cloud SQL instance resource name, for example: projects/example-project/instances/example-instance

string instance_id = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The instanceId.

getInstanceIdBytes()

public abstract ByteString getInstanceIdBytes()

Optional. Deprecated: Use StartSession.instance_id or ContinueSession.instance_id instead. The Cloud SQL instance resource name, for example: projects/example-project/instances/example-instance

string instance_id = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for instanceId.

getMessageCase()

public abstract StreamSqlDataRequest.MessageCase getMessageCase()
Returns
Type Description
StreamSqlDataRequest.MessageCase

getStartSession()

public abstract StartSession getStartSession()

Starts a new session. When starting a new session, this is the first message the client sends.

.google.cloud.sql.v1beta4.StartSession start_session = 5;

Returns
Type Description
StartSession

The startSession.

getStartSessionOrBuilder()

public abstract StartSessionOrBuilder getStartSessionOrBuilder()

Starts a new session. When starting a new session, this is the first message the client sends.

.google.cloud.sql.v1beta4.StartSession start_session = 5;

Returns
Type Description
StartSessionOrBuilder

getTerminateSession()

public abstract TerminateSession getTerminateSession()

Terminates the session. This closes the connection to the database.

.google.cloud.sql.v1beta4.TerminateSession terminate_session = 8;

Returns
Type Description
TerminateSession

The terminateSession.

getTerminateSessionOrBuilder()

public abstract TerminateSessionOrBuilder getTerminateSessionOrBuilder()

Terminates the session. This closes the connection to the database.

.google.cloud.sql.v1beta4.TerminateSession terminate_session = 8;

Returns
Type Description
TerminateSessionOrBuilder

hasAck()

public abstract boolean hasAck()

Optional. Acknowledges data received by the client.

.google.cloud.sql.v1beta4.Ack ack = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the ack field is set.

hasContinueSession()

public abstract boolean hasContinueSession()

Continues an existing session. When continuing an existing session, this is the first message the client sends.

.google.cloud.sql.v1beta4.ContinueSession continue_session = 6;

Returns
Type Description
boolean

Whether the continueSession field is set.

hasData()

public abstract boolean hasData()

Database data.

.google.cloud.sql.v1beta4.DataPacket data = 7;

Returns
Type Description
boolean

Whether the data field is set.

hasStartSession()

public abstract boolean hasStartSession()

Starts a new session. When starting a new session, this is the first message the client sends.

.google.cloud.sql.v1beta4.StartSession start_session = 5;

Returns
Type Description
boolean

Whether the startSession field is set.

hasTerminateSession()

public abstract boolean hasTerminateSession()

Terminates the session. This closes the connection to the database.

.google.cloud.sql.v1beta4.TerminateSession terminate_session = 8;

Returns
Type Description
boolean

Whether the terminateSession field is set.