Package org.waveprotocol.wave.federation.proto

Examples of org.waveprotocol.wave.federation.proto.ProtocolHashedVersionProtoImpl


  }

  @Override
  public ProtocolHashedVersionProtoImpl getHashedVersion() {
    switchToProto();
    return new ProtocolHashedVersionProtoImpl(proto.getHashedVersion());
  }
View Full Code Here


  /** Get or create a ProtocolHashedVersionProtoImpl from a ProtocolHashedVersion. */
  private ProtocolHashedVersionProtoImpl getOrCreateProtocolHashedVersionProtoImpl(ProtocolHashedVersion message) {
    if (message instanceof ProtocolHashedVersionProtoImpl) {
      return (ProtocolHashedVersionProtoImpl) message;
    } else {
      ProtocolHashedVersionProtoImpl messageImpl = new ProtocolHashedVersionProtoImpl();
      messageImpl.copyFrom(message);
      return messageImpl;
    }
  }
View Full Code Here

    // before accessing this object.
    invalidateAll();
    if (jsonObject.has("1")) {
      JsonElement elem = jsonObject.get("1");
      {
        ProtocolHashedVersionProtoImpl payload = new ProtocolHashedVersionProtoImpl();
        GsonUtil.extractJsonObject(payload, elem, gson, raw);
        setHashedVersion(payload);
      }
    }
    if (jsonObject.has("2")) {
View Full Code Here

TOP

Related Classes of org.waveprotocol.wave.federation.proto.ProtocolHashedVersionProtoImpl

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.