Ejemplo n.º 1
0
    private SetPinRequest mergeFrom(CodedInputByteBufferNano codedinputbytebuffernano)
        throws IOException {
      do {
        int i = codedinputbytebuffernano.readTag();
        switch (i) {
          default:
            if (storeUnknownField(codedinputbytebuffernano, i)) {
              continue;
            }
            // fall through

          case 0: // '\0'
            return this;

          case 26: // '\032'
            if (encryptedPin == null) {
              encryptedPin = new com.google.wallet.proto.NanoWalletShared.ClientEncryptedData();
            }
            codedinputbytebuffernano.readMessage(encryptedPin);
            break;

          case 32: // ' '
            currentClientTime = Long.valueOf(codedinputbytebuffernano.readInt64());
            break;

          case 40: // '('
            requirePinForWebP2P = Boolean.valueOf(codedinputbytebuffernano.readBool());
            break;
        }
      } while (true);
    }
    private cachedSize mergeFrom(CodedInputByteBufferNano codedinputbytebuffernano)
        throws IOException
    {
        do
        {
            int i = codedinputbytebuffernano.readTag();
            switch (i)
            {
            default:
                if (storeUnknownField(codedinputbytebuffernano, i))
                {
                    continue;
                }
                // fall through

            case 0: // '\0'
                return this;

            case 8: // '\b'
                totalNumberOfAttempts = Integer.valueOf(codedinputbytebuffernano.readInt32());
                break;

            case 16: // '\020'
                initialDelayMillis = Long.valueOf(codedinputbytebuffernano.readInt64());
                break;

            case 25: // '\031'
                backoffFactor = Double.valueOf(codedinputbytebuffernano.readDouble());
                break;
            }
        } while (true);
    }
  private cachedSize mergeFrom(CodedInputByteBufferNano codedinputbytebuffernano)
      throws IOException {
    do {
      int i = codedinputbytebuffernano.readTag();
      switch (i) {
        default:
          if (storeUnknownField(codedinputbytebuffernano, i)) {
            continue;
          }
          // fall through

        case 0: // '\0'
          return this;

        case 10: // '\n'
          descriptionPrefix = codedinputbytebuffernano.readString();
          break;

        case 18: // '\022'
          description = codedinputbytebuffernano.readString();
          break;

        case 26: // '\032'
          explanation = codedinputbytebuffernano.readString();
          break;

        case 34: // '"'
          if (helpLink == null) {
            helpLink = new nk();
          }
          codedinputbytebuffernano.readMessage(helpLink);
          break;
      }
    } while (true);
  }
Ejemplo n.º 4
0
    private SetPinResponse mergeFrom(CodedInputByteBufferNano codedinputbytebuffernano)
        throws IOException {
      do {
        int i = codedinputbytebuffernano.readTag();
        switch (i) {
          default:
            if (storeUnknownField(codedinputbytebuffernano, i)) {
              continue;
            }
            // fall through

          case 0: // '\0'
            return this;

          case 8: // '\b'
            pinGeneration = Long.valueOf(codedinputbytebuffernano.readInt64());
            break;

          case 18: // '\022'
            if (pinToken == null) {
              pinToken = new com.google.wallet.proto.NanoWalletEntities.PinToken();
            }
            codedinputbytebuffernano.readMessage(pinToken);
            break;

          case 802:
            if (callError == null) {
              callError = new com.google.wallet.proto.NanoWalletError.CallError();
            }
            codedinputbytebuffernano.readMessage(callError);
            break;
        }
      } while (true);
    }
    private cachedSize mergeFrom(CodedInputByteBufferNano codedinputbytebuffernano)
        throws IOException
    {
        do
        {
            int i = codedinputbytebuffernano.readTag();
            switch (i)
            {
            default:
                if (storeUnknownField(codedinputbytebuffernano, i))
                {
                    continue;
                }
                // fall through

            case 0: // '\0'
                return this;

            case 10: // '\n'
                if (woblRenderableItem == null)
                {
                    woblRenderableItem = new com.google.wallet.proto.m();
                }
                codedinputbytebuffernano.readMessage(woblRenderableItem);
                break;
            }
        } while (true);
    }
Ejemplo n.º 6
0
    private PinChangeRequest mergeFrom(CodedInputByteBufferNano codedinputbytebuffernano)
        throws IOException {
      do {
        int i = codedinputbytebuffernano.readTag();
        switch (i) {
          default:
            if (storeUnknownField(codedinputbytebuffernano, i)) {
              continue;
            }
            // fall through

          case 0: // '\0'
            return this;

          case 42: // '*'
            if (oldEncryptedPin == null) {
              oldEncryptedPin = new com.google.wallet.proto.NanoWalletShared.ClientEncryptedData();
            }
            codedinputbytebuffernano.readMessage(oldEncryptedPin);
            break;

          case 50: // '2'
            if (newEncryptedPin == null) {
              newEncryptedPin = new com.google.wallet.proto.NanoWalletShared.ClientEncryptedData();
            }
            codedinputbytebuffernano.readMessage(newEncryptedPin);
            break;

          case 56: // '8'
            currentClientTime = Long.valueOf(codedinputbytebuffernano.readInt64());
            break;
        }
      } while (true);
    }
Ejemplo n.º 7
0
 public DcbVerifyAssociationForm mergeFrom(CodedInputByteBufferNano input) throws IOException {
   while (true) {
     int tag = input.readTag();
     switch (tag) {
       case R.styleable.WalletImButtonBar_capitalizeButtonText /*0*/:
         break;
       case R.styleable.WalletFragmentStyle_maskedWalletDetailsLogoImageType /*10*/:
         this.smsPhoneNumber = input.readString();
         continue;
       case com.google.android.play.R.styleable.Toolbar_collapseIcon /*18*/:
         this.smsMessage = input.readString();
         continue;
       case com.google.android.play.R.styleable.Theme_actionModeBackground /*26*/:
         if (this.requiredMessage == null) {
           this.requiredMessage = new LegalMessage();
         }
         input.readMessage(this.requiredMessage);
         continue;
       default:
         if (!WireFormatNano.parseUnknownField(input, tag)) {
           break;
         }
         continue;
     }
     return this;
   }
 }
Ejemplo n.º 8
0
 /** Parse {@code data} as a message of this type and merge it with the message being built. */
 public static final MessageNano mergeFrom(
     MessageNano msg, final byte[] data, final int off, final int len)
     throws InvalidProtocolBufferNanoException {
   try {
     final CodedInputByteBufferNano input = CodedInputByteBufferNano.newInstance(data, off, len);
     msg.mergeFrom(input);
     input.checkLastTagWas(0);
     return msg;
   } catch (InvalidProtocolBufferNanoException e) {
     throw e;
   } catch (IOException e) {
     throw new RuntimeException(
         "Reading from a byte array threw an IOException (should " + "never happen).");
   }
 }
Ejemplo n.º 9
0
 public DcbVerifyAssociationFormValue mergeFrom(CodedInputByteBufferNano input)
     throws IOException {
   while (true) {
     int tag = input.readTag();
     switch (tag) {
       case R.styleable.WalletImButtonBar_capitalizeButtonText /*0*/:
         break;
       case R.styleable.WalletFragmentStyle_maskedWalletDetailsLogoImageType /*10*/:
         this.legalDocData = input.readString();
         continue;
       default:
         if (!WireFormatNano.parseUnknownField(input, tag)) {
           break;
         }
         continue;
     }
     return this;
   }
 }
Ejemplo n.º 10
0
    private PinExistsResponse mergeFrom(CodedInputByteBufferNano codedinputbytebuffernano)
        throws IOException {
      do {
        int i = codedinputbytebuffernano.readTag();
        switch (i) {
          default:
            if (storeUnknownField(codedinputbytebuffernano, i)) {
              continue;
            }
            // fall through

          case 0: // '\0'
            return this;

          case 8: // '\b'
            pinExists = Boolean.valueOf(codedinputbytebuffernano.readBool());
            break;
        }
      } while (true);
    }
    private cachedSize mergeFrom(CodedInputByteBufferNano codedinputbytebuffernano)
        throws IOException
    {
        do
        {
            int i = codedinputbytebuffernano.readTag();
            switch (i)
            {
            default:
                if (storeUnknownField(codedinputbytebuffernano, i))
                {
                    continue;
                }
                // fall through

            case 0: // '\0'
                return this;

            case 10: // '\n'
                if (callError == null)
                {
                    callError = new com.google.wallet.proto.nse.callError();
                }
                codedinputbytebuffernano.readMessage(callError);
                break;

            case 18: // '\022'
                encryptedPaymentBundle = codedinputbytebuffernano.readBytes();
                break;

            case 26: // '\032'
                if (metadata == null)
                {
                    metadata = new com.google.wallet.proto.features.ata();
                }
                codedinputbytebuffernano.readMessage(metadata);
                break;
            }
        } while (true);
    }
    private cachedSize mergeFrom(CodedInputByteBufferNano codedinputbytebuffernano)
        throws IOException
    {
        do
        {
            int i = codedinputbytebuffernano.readTag();
            switch (i)
            {
            default:
                if (storeUnknownField(codedinputbytebuffernano, i))
                {
                    continue;
                }
                // fall through

            case 0: // '\0'
                return this;

            case 10: // '\n'
                serverData = codedinputbytebuffernano.readBytes();
                break;

            case 18: // '\022'
                contextUri = codedinputbytebuffernano.readString();
                break;

            case 26: // '\032'
                if (renderInfo == null)
                {
                    renderInfo = new com.google.wallet.proto.init>();
                }
                codedinputbytebuffernano.readMessage(renderInfo);
                break;
            }
        } while (true);
    }
 public SingleFopPaymentsIntegratorContext mergeFrom(CodedInputByteBufferNano input)
     throws IOException {
   while (true) {
     int tag = input.readTag();
     switch (tag) {
       case R.styleable.WalletImButtonBar_capitalizeButtonText /*0*/:
         break;
       case R.styleable.WalletFragmentStyle_maskedWalletDetailsLogoImageType /*10*/:
         this.commonToken = input.readBytes();
         this.hasCommonToken = true;
         continue;
       case com.google.android.play.R.styleable.Toolbar_collapseIcon /*18*/:
         this.instrumentToken = input.readBytes();
         this.hasInstrumentToken = true;
         continue;
       default:
         if (!WireFormatNano.parseUnknownField(input, tag)) {
           break;
         }
         continue;
     }
     return this;
   }
 }