@java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!getConnectionIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, connectionId_); } if (!getSqlBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, sql_); } if (maxRowCount_ != 0L) { output.writeUInt64(3, maxRowCount_); } if (statementId_ != 0) { output.writeUInt32(4, statementId_); } if (maxRowsTotal_ != 0L) { output.writeInt64(5, maxRowsTotal_); } if (firstFrameMaxSize_ != 0) { output.writeInt32(6, firstFrameMaxSize_); } unknownFields.writeTo(output); }
@java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!getConnectionIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, connectionId_); } if (!getSqlBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, sql_); } if (maxRowCount_ != 0L) { output.writeUInt64(3, maxRowCount_); } if (statementId_ != 0) { output.writeUInt32(4, statementId_); } if (maxRowsTotal_ != 0L) { output.writeInt64(5, maxRowsTotal_); } if (firstFrameMaxSize_ != 0) { output.writeInt32(6, firstFrameMaxSize_); } unknownFields.writeTo(output); }
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, connectionId_); if (!getSqlBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, sql_);
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, connectionId_); if (!getSqlBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, sql_);
public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getConnectionIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessage.computeStringSize(1, connectionId_); } if (!getSqlBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessage.computeStringSize(2, sql_); } if (maxRowCount_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(3, maxRowCount_); } if (statementId_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(4, statementId_); } memoizedSize = size; return size; }
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!getConnectionIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessage.writeString(output, 1, connectionId_); } if (!getSqlBytes().isEmpty()) { com.google.protobuf.GeneratedMessage.writeString(output, 2, sql_); } if (maxRowCount_ != 0L) { output.writeUInt64(3, maxRowCount_); } if (statementId_ != 0) { output.writeUInt32(4, statementId_); } }