public void mergeFrom(Input input, FragmentRecordBatch message) throws IOException {
    for (int number = input.readFieldNumber(this); ; number = input.readFieldNumber(this)) {
      switch (number) {
        case 0:
          return;
        case 1:
          message.handle = input.mergeObject(message.handle, FragmentHandle.getSchema());
          break;

        case 2:
          message.sendingMajorFragmentId = input.readInt32();
          break;
        case 3:
          message.sendingMinorFragmentId = input.readInt32();
          break;
        case 4:
          message.def = input.mergeObject(message.def, RecordBatchDef.getSchema());
          break;

        case 5:
          message.isLastBatch = input.readBool();
          break;
        case 6:
          message.isOutOfMemory = input.readBool();
          break;
        default:
          input.handleUnknownField(number, this);
      }
    }
  }
Esempio n. 2
0
        public void mergeFrom(Input input, DVTEXT message) throws IOException {
          for (int number = input.readFieldNumber(this); ; number = input.readFieldNumber(this)) {
            switch (number) {
              case 0:
                return;
              case 1:
                message.value = input.readString();
                break;
              case 2:
                message.hyperlink = input.mergeObject(message.hyperlink, DVURI.getSchema());
                break;

              case 3:
                message.formatting = input.readString();
                break;
              case 4:
                if (message.mappings == null) message.mappings = new ArrayList<TERMMAPPING>();
                message.mappings.add(input.mergeObject(null, TERMMAPPING.getSchema()));
                break;

              case 5:
                message.language = input.mergeObject(message.language, CODEPHRASE.getSchema());
                break;

              case 6:
                message.encoding = input.mergeObject(message.encoding, CODEPHRASE.getSchema());
                break;

              default:
                input.handleUnknownField(number, this);
            }
          }
        }
Esempio n. 3
0
 public void mergeFrom(Input input, OBJECTVERSIONID message) throws IOException {
   for (int number = input.readFieldNumber(this); ; number = input.readFieldNumber(this)) {
     switch (number) {
       case 0:
         return;
       case 1:
         message.value = input.readString();
         break;
       default:
         input.handleUnknownField(number, this);
     }
   }
 }
Esempio n. 4
0
  public void mergeFrom(Input input, FragmentStatus message) throws IOException {
    for (int number = input.readFieldNumber(this); ; number = input.readFieldNumber(this)) {
      switch (number) {
        case 0:
          return;
        case 1:
          message.profile = input.mergeObject(message.profile, MinorFragmentProfile.getSchema());
          break;

        case 2:
          message.handle = input.mergeObject(message.handle, FragmentHandle.getSchema());
          break;

        default:
          input.handleUnknownField(number, this);
      }
    }
  }
 public void mergeFrom(Input input, BitToUserHandshake message) throws IOException {
   for (int number = input.readFieldNumber(this); ; number = input.readFieldNumber(this)) {
     switch (number) {
       case 0:
         return;
       case 2:
         message.rpcVersion = input.readInt32();
         break;
       case 3:
         message.status = HandshakeStatus.valueOf(input.readEnum());
         break;
       case 4:
         message.errorId = input.readString();
         break;
       case 5:
         message.errorMessage = input.readString();
         break;
       default:
         input.handleUnknownField(number, this);
     }
   }
 }
Esempio n. 6
0
 public void mergeFrom(Input input, Interval message) throws IOException {
   for (int number = input.readFieldNumber(this); ; number = input.readFieldNumber(this)) {
     switch (number) {
       case 0:
         return;
       case 1:
         message.lowerincluded = input.readBool();
         break;
       case 2:
         message.upperincluded = input.readBool();
         break;
       case 3:
         message.lowerunbounded = input.readBool();
         break;
       case 4:
         message.upperunbounded = input.readBool();
         break;
       default:
         input.handleUnknownField(number, this);
     }
   }
 }
Esempio n. 7
0
  public void mergeFrom(Input input, UserToBitHandshake message) throws IOException {
    for (int number = input.readFieldNumber(this); ; number = input.readFieldNumber(this)) {
      switch (number) {
        case 0:
          return;
        case 1:
          message.channel = RpcChannel.valueOf(input.readEnum());
          break;
        case 2:
          message.supportListening = input.readBool();
          break;
        case 3:
          message.rpcVersion = input.readInt32();
          break;
        case 4:
          message.credentials = input.mergeObject(message.credentials, UserCredentials.getSchema());
          break;

        case 5:
          message.properties = input.mergeObject(message.properties, UserProperties.getSchema());
          break;

        case 6:
          message.supportComplexTypes = input.readBool();
          break;
        case 7:
          message.supportTimeout = input.readBool();
          break;
        case 8:
          message.clientInfos =
              input.mergeObject(message.clientInfos, RpcEndpointInfos.getSchema());
          break;

        default:
          input.handleUnknownField(number, this);
      }
    }
  }