public final class StreamSqlDataResponse extends GeneratedMessage implements StreamSqlDataResponseOrBuilder
Message sent from SqlDataService back to the client.
Protobuf type google.cloud.sql.v1beta4.StreamSqlDataResponse
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
ACK_FIELD_NUMBER
public static final int ACK_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
DATA_FIELD_NUMBER
public static final int DATA_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int SESSION_METADATA_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
TERMINATE_SESSION_FIELD_NUMBER
public static final int TERMINATE_SESSION_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static StreamSqlDataResponse getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static StreamSqlDataResponse.Builder newBuilder()
newBuilder(StreamSqlDataResponse prototype)
public static StreamSqlDataResponse.Builder newBuilder(StreamSqlDataResponse prototype)
public static StreamSqlDataResponse parseDelimitedFrom(InputStream input)
public static StreamSqlDataResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static StreamSqlDataResponse parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static StreamSqlDataResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static StreamSqlDataResponse parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static StreamSqlDataResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static StreamSqlDataResponse parseFrom(CodedInputStream input)
public static StreamSqlDataResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static StreamSqlDataResponse parseFrom(InputStream input)
public static StreamSqlDataResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static StreamSqlDataResponse parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static StreamSqlDataResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<StreamSqlDataResponse> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getAck()
Acknowledges data received by the server.
.google.cloud.sql.v1beta4.Ack ack = 2;
| Returns |
| Type |
Description |
Ack |
The ack.
|
getAckOrBuilder()
public AckOrBuilder getAckOrBuilder()
Acknowledges data received by the server.
.google.cloud.sql.v1beta4.Ack ack = 2;
getData()
public DataPacket getData()
Data from the database.
.google.cloud.sql.v1beta4.DataPacket data = 4;
getDataOrBuilder()
public DataPacketOrBuilder getDataOrBuilder()
Data from the database.
.google.cloud.sql.v1beta4.DataPacket data = 4;
getDefaultInstanceForType()
public StreamSqlDataResponse getDefaultInstanceForType()
getMessageCase()
public StreamSqlDataResponse.MessageCase getMessageCase()
getParserForType()
public Parser<StreamSqlDataResponse> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
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;
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;
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;
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;
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()
Data from the database.
.google.cloud.sql.v1beta4.DataPacket data = 4;
| Returns |
| Type |
Description |
boolean |
Whether the data field is set.
|
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.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public StreamSqlDataResponse.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected StreamSqlDataResponse.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public StreamSqlDataResponse.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides