public interface StreamSqlDataResponseOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getAck()
public abstract Ack getAck()Acknowledges data received by the server.
.google.cloud.sql.v1beta4.Ack ack = 2;
| Returns | |
|---|---|
| Type | Description |
Ack |
The ack. |
getAckOrBuilder()
public abstract AckOrBuilder getAckOrBuilder()Acknowledges data received by the server.
.google.cloud.sql.v1beta4.Ack ack = 2;
| Returns | |
|---|---|
| Type | Description |
AckOrBuilder |
|
getData()
public abstract DataPacket getData()Data from the database.
.google.cloud.sql.v1beta4.DataPacket data = 4;
| Returns | |
|---|---|
| Type | Description |
DataPacket |
The data. |
getDataOrBuilder()
public abstract DataPacketOrBuilder getDataOrBuilder()Data from the database.
.google.cloud.sql.v1beta4.DataPacket data = 4;
| Returns | |
|---|---|
| Type | Description |
DataPacketOrBuilder |
|
getMessageCase()
public abstract StreamSqlDataResponse.MessageCase getMessageCase()| Returns | |
|---|---|
| Type | Description |
StreamSqlDataResponse.MessageCase |
|
getSessionMetadata()
public abstract SessionMetadata getSessionMetadata()The first message from the server to the client, containing metadata about this session.
.google.cloud.sql.v1beta4.SessionMetadata session_metadata = 3;
| Returns | |
|---|---|
| Type | Description |
SessionMetadata |
The sessionMetadata. |
getSessionMetadataOrBuilder()
public abstract SessionMetadataOrBuilder getSessionMetadataOrBuilder()The first message from the server to the client, containing metadata about this session.
.google.cloud.sql.v1beta4.SessionMetadata session_metadata = 3;
| Returns | |
|---|---|
| Type | Description |
SessionMetadataOrBuilder |
|
getTerminateSession()
public abstract TerminateSession getTerminateSession()Terminates the session. This indicates that the database connection is closed. When the client receives this message, it should not attempt to reconnect.
.google.cloud.sql.v1beta4.TerminateSession terminate_session = 5;
| Returns | |
|---|---|
| Type | Description |
TerminateSession |
The terminateSession. |
getTerminateSessionOrBuilder()
public abstract TerminateSessionOrBuilder getTerminateSessionOrBuilder()Terminates the session. This indicates that the database connection is closed. When the client receives this message, it should not attempt to reconnect.
.google.cloud.sql.v1beta4.TerminateSession terminate_session = 5;
| Returns | |
|---|---|
| Type | Description |
TerminateSessionOrBuilder |
|
hasAck()
public abstract boolean hasAck()Acknowledges data received by the server.
.google.cloud.sql.v1beta4.Ack ack = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the ack field is set. |
hasData()
public abstract boolean hasData()Data from the database.
.google.cloud.sql.v1beta4.DataPacket data = 4;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the data field is set. |
hasSessionMetadata()
public abstract boolean hasSessionMetadata()The first message from the server to the client, containing metadata about this session.
.google.cloud.sql.v1beta4.SessionMetadata session_metadata = 3;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the sessionMetadata field is set. |
hasTerminateSession()
public abstract boolean hasTerminateSession()Terminates the session. This indicates that the database connection is closed. When the client receives this message, it should not attempt to reconnect.
.google.cloud.sql.v1beta4.TerminateSession terminate_session = 5;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the terminateSession field is set. |