本文整理了Java中com.linecorp.centraldogma.internal.thrift.WatchFileResult.setRevisionIsSet()
方法的一些代码示例,展示了WatchFileResult.setRevisionIsSet()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。WatchFileResult.setRevisionIsSet()
方法的具体详情如下:
包路径:com.linecorp.centraldogma.internal.thrift.WatchFileResult
类名称:WatchFileResult
方法名:setRevisionIsSet
暂无
代码示例来源:origin: line/centraldogma
struct.revision = new Revision();
struct.revision.read(iprot);
struct.setRevisionIsSet(true);
} else {
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
代码示例来源:origin: com.linecorp.centraldogma/centraldogma-common-legacy-shaded
struct.revision = new Revision();
struct.revision.read(iprot);
struct.setRevisionIsSet(true);
} else {
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
代码示例来源:origin: line/centraldogma
@Override
public void read(org.apache.thrift.protocol.TProtocol prot, WatchFileResult struct) throws org.apache.thrift.TException {
TTupleProtocol iprot = (TTupleProtocol) prot;
BitSet incoming = iprot.readBitSet(3);
if (incoming.get(0)) {
struct.revision = new Revision();
struct.revision.read(iprot);
struct.setRevisionIsSet(true);
}
if (incoming.get(1)) {
struct.type = com.linecorp.centraldogma.internal.thrift.EntryType.findByValue(iprot.readI32());
struct.setTypeIsSet(true);
}
if (incoming.get(2)) {
struct.content = iprot.readString();
struct.setContentIsSet(true);
}
}
}
代码示例来源:origin: com.linecorp.centraldogma/centraldogma-common-legacy-shaded
@Override
public void read(org.apache.thrift.protocol.TProtocol prot, WatchFileResult struct) throws org.apache.thrift.TException {
TTupleProtocol iprot = (TTupleProtocol) prot;
BitSet incoming = iprot.readBitSet(3);
if (incoming.get(0)) {
struct.revision = new Revision();
struct.revision.read(iprot);
struct.setRevisionIsSet(true);
}
if (incoming.get(1)) {
struct.type = com.linecorp.centraldogma.internal.thrift.EntryType.findByValue(iprot.readI32());
struct.setTypeIsSet(true);
}
if (incoming.get(2)) {
struct.content = iprot.readString();
struct.setContentIsSet(true);
}
}
}
内容来源于网络,如有侵权,请联系作者删除!