public static final class StreamSqlDataResponse.Builder extends GeneratedMessage.Builder<StreamSqlDataResponse.Builder> implements StreamSqlDataResponseOrBuilderMessage sent from SqlDataService back to the client.
Protobuf type google.cloud.sql.v1beta4.StreamSqlDataResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > StreamSqlDataResponse.BuilderImplements
StreamSqlDataResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public StreamSqlDataResponse build()| Returns | |
|---|---|
| Type | Description |
StreamSqlDataResponse |
|
buildPartial()
public StreamSqlDataResponse buildPartial()| Returns | |
|---|---|
| Type | Description |
StreamSqlDataResponse |
|
clear()
public StreamSqlDataResponse.Builder clear()| Returns | |
|---|---|
| Type | Description |
StreamSqlDataResponse.Builder |
|
clearAck()
public StreamSqlDataResponse.Builder clearAck()Acknowledges data received by the server.
.google.cloud.sql.v1beta4.Ack ack = 2;
| Returns | |
|---|---|
| Type | Description |
StreamSqlDataResponse.Builder |
|
clearData()
public StreamSqlDataResponse.Builder clearData()Data from the database.
.google.cloud.sql.v1beta4.DataPacket data = 4;
| Returns | |
|---|---|
| Type | Description |
StreamSqlDataResponse.Builder |
|
clearMessage()
public StreamSqlDataResponse.Builder clearMessage()| Returns | |
|---|---|
| Type | Description |
StreamSqlDataResponse.Builder |
|
clearSessionMetadata()
public StreamSqlDataResponse.Builder clearSessionMetadata()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 |
StreamSqlDataResponse.Builder |
|
clearTerminateSession()
public StreamSqlDataResponse.Builder clearTerminateSession()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 |
StreamSqlDataResponse.Builder |
|
getAck()
public Ack getAck()Acknowledges data received by the server.
.google.cloud.sql.v1beta4.Ack ack = 2;
| Returns | |
|---|---|
| Type | Description |
Ack |
The ack. |
getAckBuilder()
public Ack.Builder getAckBuilder()Acknowledges data received by the server.
.google.cloud.sql.v1beta4.Ack ack = 2;
| Returns | |
|---|---|
| Type | Description |
Ack.Builder |
|
getAckOrBuilder()
public AckOrBuilder getAckOrBuilder()Acknowledges data received by the server.
.google.cloud.sql.v1beta4.Ack ack = 2;
| Returns | |
|---|---|
| Type | Description |
AckOrBuilder |
|
getData()
public DataPacket getData()Data from the database.
.google.cloud.sql.v1beta4.DataPacket data = 4;
| Returns | |
|---|---|
| Type | Description |
DataPacket |
The data. |
getDataBuilder()
public DataPacket.Builder getDataBuilder()Data from the database.
.google.cloud.sql.v1beta4.DataPacket data = 4;
| Returns | |
|---|---|
| Type | Description |
DataPacket.Builder |
|
getDataOrBuilder()
public DataPacketOrBuilder getDataOrBuilder()Data from the database.
.google.cloud.sql.v1beta4.DataPacket data = 4;
| Returns | |
|---|---|
| Type | Description |
DataPacketOrBuilder |
|
getDefaultInstanceForType()
public StreamSqlDataResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
StreamSqlDataResponse |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getMessageCase()
public StreamSqlDataResponse.MessageCase getMessageCase()| Returns | |
|---|---|
| Type | Description |
StreamSqlDataResponse.MessageCase |
|
getSessionMetadata()
public 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. |
getSessionMetadataBuilder()
public SessionMetadata.Builder getSessionMetadataBuilder()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.Builder |
|
getSessionMetadataOrBuilder()
public 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 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. |
getTerminateSessionBuilder()
public TerminateSession.Builder getTerminateSessionBuilder()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.Builder |
|
getTerminateSessionOrBuilder()
public 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 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 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 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 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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeAck(Ack value)
public StreamSqlDataResponse.Builder mergeAck(Ack value)Acknowledges data received by the server.
.google.cloud.sql.v1beta4.Ack ack = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
Ack |
| Returns | |
|---|---|
| Type | Description |
StreamSqlDataResponse.Builder |
|
mergeData(DataPacket value)
public StreamSqlDataResponse.Builder mergeData(DataPacket value)Data from the database.
.google.cloud.sql.v1beta4.DataPacket data = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
DataPacket |
| Returns | |
|---|---|
| Type | Description |
StreamSqlDataResponse.Builder |
|
mergeFrom(StreamSqlDataResponse other)
public StreamSqlDataResponse.Builder mergeFrom(StreamSqlDataResponse other)| Parameter | |
|---|---|
| Name | Description |
other |
StreamSqlDataResponse |
| Returns | |
|---|---|
| Type | Description |
StreamSqlDataResponse.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public StreamSqlDataResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
StreamSqlDataResponse.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public StreamSqlDataResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
StreamSqlDataResponse.Builder |
|
mergeSessionMetadata(SessionMetadata value)
public StreamSqlDataResponse.Builder mergeSessionMetadata(SessionMetadata value)The first message from the server to the client, containing metadata about this session.
.google.cloud.sql.v1beta4.SessionMetadata session_metadata = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
SessionMetadata |
| Returns | |
|---|---|
| Type | Description |
StreamSqlDataResponse.Builder |
|
mergeTerminateSession(TerminateSession value)
public StreamSqlDataResponse.Builder mergeTerminateSession(TerminateSession value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
TerminateSession |
| Returns | |
|---|---|
| Type | Description |
StreamSqlDataResponse.Builder |
|
setAck(Ack value)
public StreamSqlDataResponse.Builder setAck(Ack value)Acknowledges data received by the server.
.google.cloud.sql.v1beta4.Ack ack = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
Ack |
| Returns | |
|---|---|
| Type | Description |
StreamSqlDataResponse.Builder |
|
setAck(Ack.Builder builderForValue)
public StreamSqlDataResponse.Builder setAck(Ack.Builder builderForValue)Acknowledges data received by the server.
.google.cloud.sql.v1beta4.Ack ack = 2;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Ack.Builder |
| Returns | |
|---|---|
| Type | Description |
StreamSqlDataResponse.Builder |
|
setData(DataPacket value)
public StreamSqlDataResponse.Builder setData(DataPacket value)Data from the database.
.google.cloud.sql.v1beta4.DataPacket data = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
DataPacket |
| Returns | |
|---|---|
| Type | Description |
StreamSqlDataResponse.Builder |
|
setData(DataPacket.Builder builderForValue)
public StreamSqlDataResponse.Builder setData(DataPacket.Builder builderForValue)Data from the database.
.google.cloud.sql.v1beta4.DataPacket data = 4;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
DataPacket.Builder |
| Returns | |
|---|---|
| Type | Description |
StreamSqlDataResponse.Builder |
|
setSessionMetadata(SessionMetadata value)
public StreamSqlDataResponse.Builder setSessionMetadata(SessionMetadata value)The first message from the server to the client, containing metadata about this session.
.google.cloud.sql.v1beta4.SessionMetadata session_metadata = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
SessionMetadata |
| Returns | |
|---|---|
| Type | Description |
StreamSqlDataResponse.Builder |
|
setSessionMetadata(SessionMetadata.Builder builderForValue)
public StreamSqlDataResponse.Builder setSessionMetadata(SessionMetadata.Builder builderForValue)The first message from the server to the client, containing metadata about this session.
.google.cloud.sql.v1beta4.SessionMetadata session_metadata = 3;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
SessionMetadata.Builder |
| Returns | |
|---|---|
| Type | Description |
StreamSqlDataResponse.Builder |
|
setTerminateSession(TerminateSession value)
public StreamSqlDataResponse.Builder setTerminateSession(TerminateSession value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
TerminateSession |
| Returns | |
|---|---|
| Type | Description |
StreamSqlDataResponse.Builder |
|
setTerminateSession(TerminateSession.Builder builderForValue)
public StreamSqlDataResponse.Builder setTerminateSession(TerminateSession.Builder builderForValue)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;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
TerminateSession.Builder |
| Returns | |
|---|---|
| Type | Description |
StreamSqlDataResponse.Builder |
|