@java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (((bitField0_ & 0x00000001) != 0)) {
        output.writeMessage(1, getSessionId());
      }
      if (((bitField0_ & 0x00000002) != 0)) {
        output.writeEnum(2, messageType_);
      }
      if (((bitField0_ & 0x00000004) != 0)) {
        output.writeMessage(3, getRequest());
      }
      if (((bitField0_ & 0x00000008) != 0)) {
        output.writeMessage(4, getResponse());
      }
      if (((bitField0_ & 0x00000010) != 0)) {
        output.writeMessage(5, getFailure());
      }
      getUnknownFields().writeTo(output);
    }
@java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output)