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);
    }
Exemplo n.º 2
0
 public boolean skipField(int paramInt) throws IOException {
   switch (WireFormatNano.getTagWireType(paramInt)) {
     default:
       throw InvalidProtocolBufferNanoException.invalidWireType();
     case 0:
       readInt32();
       return true;
     case 1:
       readRawLittleEndian64();
       return true;
     case 2:
       skipRawBytes(readRawVarint32());
       return true;
     case 3:
       skipMessage();
       checkLastTagWas(WireFormatNano.makeTag(WireFormatNano.getTagFieldNumber(paramInt), 4));
       return true;
     case 4:
       return false;
     case 5:
   }
   readRawLittleEndian32();
   return true;
 }