com.linecorp.centraldogma.internal.thrift.WatchFileResult.setRevisionIsSet()方法的使用及代码示例

x33g5p2x  于2022-02-03 转载在 其他  
字(2.0k)|赞(0)|评价(0)|浏览(95)

本文整理了Java中com.linecorp.centraldogma.internal.thrift.WatchFileResult.setRevisionIsSet()方法的一些代码示例,展示了WatchFileResult.setRevisionIsSet()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。WatchFileResult.setRevisionIsSet()方法的具体详情如下:
包路径:com.linecorp.centraldogma.internal.thrift.WatchFileResult
类名称:WatchFileResult
方法名:setRevisionIsSet

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);
  }
 }
}

相关文章