Classes inheriting WireOutput concern themselves with sending data back to the client using PG
wire protocol. These classes function similarly to com.google.cloud.spanner.pgadapter.wireprotocol.WireMessage in that they use the constructor to
instantiate items, but require send to be called to actually send data. Here, you must override
postSend with data you wish to send. Note that this subclass will handle sending the identifier
and length (provided you initialize them correctly through getIdentifier and he constructor
respectively) via send, so you just have to implement payload sending.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Package com.google.cloud.spanner.pgadapter.wireoutput (0.27.1)\n\nVersion latestkeyboard_arrow_down\n\n- [0.27.1 (latest)](/java/docs/reference/pgadapter/latest/com.google.cloud.spanner.pgadapter.wireoutput)\n- [0.27.0](/java/docs/reference/pgadapter/0.27.0/com.google.cloud.spanner.pgadapter.wireoutput)\n- [0.26.0](/java/docs/reference/pgadapter/0.26.0/com.google.cloud.spanner.pgadapter.wireoutput)\n- [0.25.0](/java/docs/reference/pgadapter/0.25.0/com.google.cloud.spanner.pgadapter.wireoutput)\n- [0.24.0](/java/docs/reference/pgadapter/0.24.0/com.google.cloud.spanner.pgadapter.wireoutput)\n- [0.23.1](/java/docs/reference/pgadapter/0.23.1/com.google.cloud.spanner.pgadapter.wireoutput)\n- [0.22.1](/java/docs/reference/pgadapter/0.22.1/com.google.cloud.spanner.pgadapter.wireoutput)\n- [0.21.0](/java/docs/reference/pgadapter/0.21.0/com.google.cloud.spanner.pgadapter.wireoutput)\n- [0.20.0](/java/docs/reference/pgadapter/0.20.0/com.google.cloud.spanner.pgadapter.wireoutput)\n- [0.19.1](/java/docs/reference/pgadapter/0.19.1/com.google.cloud.spanner.pgadapter.wireoutput)\n- [0.18.4](/java/docs/reference/pgadapter/0.18.4/com.google.cloud.spanner.pgadapter.wireoutput)\n- [0.17.0](/java/docs/reference/pgadapter/0.17.0/com.google.cloud.spanner.pgadapter.wireoutput)\n- [0.16.0](/java/docs/reference/pgadapter/0.16.0/com.google.cloud.spanner.pgadapter.wireoutput)\n- [0.15.0](/java/docs/reference/pgadapter/0.15.0/com.google.cloud.spanner.pgadapter.wireoutput)\n- [0.14.1](/java/docs/reference/pgadapter/0.14.1/com.google.cloud.spanner.pgadapter.wireoutput)\n- [0.9.0](/java/docs/reference/pgadapter/0.9.0/com.google.cloud.spanner.pgadapter.wireoutput)\n- [0.8.0](/java/docs/reference/pgadapter/0.8.0/com.google.cloud.spanner.pgadapter.wireoutput)\n- [0.7.0](/java/docs/reference/pgadapter/0.7.0/com.google.cloud.spanner.pgadapter.wireoutput)\n- [0.6.1](/java/docs/reference/pgadapter/0.6.1/com.google.cloud.spanner.pgadapter.wireoutput)\n- [0.5.1](/java/docs/reference/pgadapter/0.5.1/com.google.cloud.spanner.pgadapter.wireoutput) \n\nClasses\n-------\n\n### [AcceptSSLResponse](/java/docs/reference/pgadapter/latest/com.google.cloud.spanner.pgadapter.wireoutput.AcceptSSLResponse)\n\nSignals to client that we accept SSL.\n\n### [AuthenticationCleartextPasswordResponse](/java/docs/reference/pgadapter/latest/com.google.cloud.spanner.pgadapter.wireoutput.AuthenticationCleartextPasswordResponse)\n\n### [AuthenticationOkResponse](/java/docs/reference/pgadapter/latest/com.google.cloud.spanner.pgadapter.wireoutput.AuthenticationOkResponse)\n\nAssures the client that the authentication process (if any) was successful.\n\n### [BindCompleteResponse](/java/docs/reference/pgadapter/latest/com.google.cloud.spanner.pgadapter.wireoutput.BindCompleteResponse)\n\nAssures to the client that a statement got bound to a portal successfully.\n\n### [CloseCompleteResponse](/java/docs/reference/pgadapter/latest/com.google.cloud.spanner.pgadapter.wireoutput.CloseCompleteResponse)\n\nAssures to the client that a portal got closed successfully.\n\n### [CloseResponse](/java/docs/reference/pgadapter/latest/com.google.cloud.spanner.pgadapter.wireoutput.CloseResponse)\n\nAssures to the client that a portal got closed successfully.\n\n### [CommandCompleteResponse](/java/docs/reference/pgadapter/latest/com.google.cloud.spanner.pgadapter.wireoutput.CommandCompleteResponse)\n\nSignals to a client that an issued query is complete.\n\n### [CopyDataResponse](/java/docs/reference/pgadapter/latest/com.google.cloud.spanner.pgadapter.wireoutput.CopyDataResponse)\n\n### [CopyDoneResponse](/java/docs/reference/pgadapter/latest/com.google.cloud.spanner.pgadapter.wireoutput.CopyDoneResponse)\n\n### [CopyInResponse](/java/docs/reference/pgadapter/latest/com.google.cloud.spanner.pgadapter.wireoutput.CopyInResponse)\n\n### [CopyOutResponse](/java/docs/reference/pgadapter/latest/com.google.cloud.spanner.pgadapter.wireoutput.CopyOutResponse)\n\n### [DataRowResponse](/java/docs/reference/pgadapter/latest/com.google.cloud.spanner.pgadapter.wireoutput.DataRowResponse)\n\nSends to the client specific row contents.\n\n### [DeclineSSLResponse](/java/docs/reference/pgadapter/latest/com.google.cloud.spanner.pgadapter.wireoutput.DeclineSSLResponse)\n\nSignals to client that we do not accept SSL.\n\n### [EmptyQueryResponse](/java/docs/reference/pgadapter/latest/com.google.cloud.spanner.pgadapter.wireoutput.EmptyQueryResponse)\n\n### [ErrorResponse](/java/docs/reference/pgadapter/latest/com.google.cloud.spanner.pgadapter.wireoutput.ErrorResponse)\n\nSends error information back to client.\n\n### [KeyDataResponse](/java/docs/reference/pgadapter/latest/com.google.cloud.spanner.pgadapter.wireoutput.KeyDataResponse)\n\nSends back information regarding the current connection (identifier and secret) as part of\nstart-up. Used for cancel statements.\n\n### [MD5AuthenticationRequest](/java/docs/reference/pgadapter/latest/com.google.cloud.spanner.pgadapter.wireoutput.MD5AuthenticationRequest)\n\nUsed for password response.\n\n### [NoDataResponse](/java/docs/reference/pgadapter/latest/com.google.cloud.spanner.pgadapter.wireoutput.NoDataResponse)\n\nSignals the end of a describe statement.\n\n### [NoticeResponse](/java/docs/reference/pgadapter/latest/com.google.cloud.spanner.pgadapter.wireoutput.NoticeResponse)\n\nNotices can be sent as asynchronous messages and can include warnings, informational messages,\ndebug information, etc.\n\n### [ParameterDescriptionResponse](/java/docs/reference/pgadapter/latest/com.google.cloud.spanner.pgadapter.wireoutput.ParameterDescriptionResponse)\n\nResponse (with data) for describe statement.\n\n### [ParameterStatusResponse](/java/docs/reference/pgadapter/latest/com.google.cloud.spanner.pgadapter.wireoutput.ParameterStatusResponse)\n\nSends back start-up parameters (can be sent more than once)\n\n### [ParseCompleteResponse](/java/docs/reference/pgadapter/latest/com.google.cloud.spanner.pgadapter.wireoutput.ParseCompleteResponse)\n\nSignals the end of a parse transaction.\n\n### [PortalSuspendedResponse](/java/docs/reference/pgadapter/latest/com.google.cloud.spanner.pgadapter.wireoutput.PortalSuspendedResponse)\n\nSignals that there are more rows available.\n\n### [ReadyResponse](/java/docs/reference/pgadapter/latest/com.google.cloud.spanner.pgadapter.wireoutput.ReadyResponse)\n\nSignals readiness status to receieve messages (here we only tend to send Idle, which means ready)\n\n### [RowDescriptionResponse](/java/docs/reference/pgadapter/latest/com.google.cloud.spanner.pgadapter.wireoutput.RowDescriptionResponse)\n\nSends back qualifier for a row.\n\n### [StartUpMessageResponse](/java/docs/reference/pgadapter/latest/com.google.cloud.spanner.pgadapter.wireoutput.StartUpMessageResponse)\n\nSends back start-up parameters (can be sent more than once)\n\n### [TerminateResponse](/java/docs/reference/pgadapter/latest/com.google.cloud.spanner.pgadapter.wireoutput.TerminateResponse)\n\nSignals the end of a connection.\n\n### [WireOutput](/java/docs/reference/pgadapter/latest/com.google.cloud.spanner.pgadapter.wireoutput.WireOutput)\n\nClasses inheriting WireOutput concern themselves with sending data back to the client using PG\nwire protocol. These classes function similarly to [com.google.cloud.spanner.pgadapter.wireprotocol.WireMessage](/java/docs/reference/pgadapter/latest/com.google.cloud.spanner.pgadapter.wireprotocol.WireMessage) in that they use the constructor to\ninstantiate items, but require send to be called to actually send data. Here, you must override\npostSend with data you wish to send. Note that this subclass will handle sending the identifier\nand length (provided you initialize them correctly through getIdentifier and he constructor\nrespectively) via send, so you just have to implement payload sending.\n\nEnums\n-----\n\n### [CopyDataResponse.ResponseType](/java/docs/reference/pgadapter/latest/com.google.cloud.spanner.pgadapter.wireoutput.CopyDataResponse.ResponseType)\n\n### [NoticeResponse.NoticeSeverity](/java/docs/reference/pgadapter/latest/com.google.cloud.spanner.pgadapter.wireoutput.NoticeResponse.NoticeSeverity)\n\n### [ReadyResponse.Status](/java/docs/reference/pgadapter/latest/com.google.cloud.spanner.pgadapter.wireoutput.ReadyResponse.Status)\n\nStatus of the session."]]