public T mergeUnframed(InputStream input) throws IOException { CodedInputStream codedInput = new CodedInputStream(input); mergeUnframed(codedInput); return getThis(); }
public T mergeUnframed(InputStream input) throws IOException { CodedInputStream codedInput = new CodedInputStream(input); mergeUnframed(codedInput); return getThis(); }
public T mergeUnframed(InputStream input) throws IOException { CodedInputStream codedInput = new CodedInputStream(input); mergeUnframed(codedInput); return getThis(); }
public T mergeFramed(Buffer data) throws InvalidProtocolBufferException { try { CodedInputStream input = new CodedInputStream(data); mergeFramed(input); input.checkLastTagWas(0); return getThis(); } catch (InvalidProtocolBufferException e) { throw e; } catch (IOException e) { throw new RuntimeException("An IOException was thrown (should never happen in this method).", e); } }
public T mergeFramed(Buffer data) throws InvalidProtocolBufferException { try { CodedInputStream input = new CodedInputStream(data); mergeFramed(input); input.checkLastTagWas(0); return getThis(); } catch (InvalidProtocolBufferException e) { throw e; } catch (IOException e) { throw new RuntimeException("An IOException was thrown (should never happen in this method).", e); } }
public T mergeUnframed(Buffer data) throws InvalidProtocolBufferException { try { CodedInputStream input = new CodedInputStream(data); mergeUnframed(input); input.checkLastTagWas(0); return getThis(); } catch (InvalidProtocolBufferException e) { throw e; } catch (IOException e) { throw new RuntimeException("An IOException was thrown (should never happen in this method).", e); } }
public T mergeUnframed(Buffer data) throws InvalidProtocolBufferException { try { CodedInputStream input = new CodedInputStream(data); mergeUnframed(input); input.checkLastTagWas(0); return getThis(); } catch (InvalidProtocolBufferException e) { throw e; } catch (IOException e) { throw new RuntimeException("An IOException was thrown (should never happen in this method).", e); } }
public T mergeFramed(Buffer data) throws InvalidProtocolBufferException { try { CodedInputStream input = new CodedInputStream(data); mergeFramed(input); input.checkLastTagWas(0); return getThis(); } catch (InvalidProtocolBufferException e) { throw e; } catch (IOException e) { throw new RuntimeException("An IOException was thrown (should never happen in this method).", e); } }
public T mergeUnframed(Buffer data) throws InvalidProtocolBufferException { try { CodedInputStream input = new CodedInputStream(data); mergeUnframed(input); input.checkLastTagWas(0); return getThis(); } catch (InvalidProtocolBufferException e) { throw e; } catch (IOException e) { throw new RuntimeException("An IOException was thrown (should never happen in this method).", e); } }
protected void load() { if (!decoded) { decoded = true; try { Buffer originalForm = encodedForm; encodedForm=null; CodedInputStream input = new CodedInputStream(originalForm); mergeUnframed(input); input.checkLastTagWas(0); // We need to reset the encoded form because the mergeUnframed // from a stream clears it out. encodedForm = originalForm; checktInitialized(); } catch (Throwable e) { throw new RuntimeException("Deferred message decoding failed: " + e.getMessage(), e); } } }
protected void load() { if (!decoded) { decoded = true; try { Buffer originalForm = encodedForm; encodedForm=null; CodedInputStream input = new CodedInputStream(originalForm); mergeUnframed(input); input.checkLastTagWas(0); // We need to reset the encoded form because the mergeUnframed // from a stream clears it out. encodedForm = originalForm; checktInitialized(); } catch (Throwable e) { throw new RuntimeException("Deferred message decoding failed: " + e.getMessage(), e); } } }
protected void load() { if (!decoded) { decoded = true; try { Buffer originalForm = encodedForm; encodedForm=null; CodedInputStream input = new CodedInputStream(originalForm); mergeUnframed(input); input.checkLastTagWas(0); // We need to reset the encoded form because the mergeUnframed // from a stream clears it out. encodedForm = originalForm; checktInitialized(); } catch (Throwable e) { throw new RuntimeException("Deferred message decoding failed: " + e.getMessage(), e); } } }