com.google.rpc.Status.<init>()方法的使用及代码示例

x33g5p2x  于2022-01-30 转载在 其他  
字(1.9k)|赞(0)|评价(0)|浏览(141)

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

Status.<init>介绍

暂无

代码示例

代码示例来源:origin: envoyproxy/java-control-plane

public com.google.rpc.Status buildPartial() {
 com.google.rpc.Status result = new com.google.rpc.Status(this);
 int from_bitField0_ = bitField0_;
 int to_bitField0_ = 0;
 result.code_ = code_;
 result.message_ = message_;
 if (detailsBuilder_ == null) {
  if (((bitField0_ & 0x00000004) == 0x00000004)) {
   details_ = java.util.Collections.unmodifiableList(details_);
   bitField0_ = (bitField0_ & ~0x00000004);
  }
  result.details_ = details_;
 } else {
  result.details_ = detailsBuilder_.build();
 }
 result.bitField0_ = to_bitField0_;
 onBuilt();
 return result;
}

代码示例来源:origin: com.xorlev.grpc-jersey/jersey-rpc-support

public com.google.rpc.Status buildPartial() {
 com.google.rpc.Status result = new com.google.rpc.Status(this);
 int from_bitField0_ = bitField0_;
 int to_bitField0_ = 0;
 result.code_ = code_;
 result.message_ = message_;
 if (detailsBuilder_ == null) {
  if (((bitField0_ & 0x00000004) == 0x00000004)) {
   details_ = java.util.Collections.unmodifiableList(details_);
   bitField0_ = (bitField0_ & ~0x00000004);
  }
  result.details_ = details_;
 } else {
  result.details_ = detailsBuilder_.build();
 }
 result.bitField0_ = to_bitField0_;
 onBuilt();
 return result;
}

代码示例来源:origin: com.impetus.fabric/fabric-jdbc-driver-shaded

public com.google.rpc.Status buildPartial() {
 com.google.rpc.Status result = new com.google.rpc.Status(this);
 int from_bitField0_ = bitField0_;
 int to_bitField0_ = 0;
 result.code_ = code_;
 result.message_ = message_;
 if (detailsBuilder_ == null) {
  if (((bitField0_ & 0x00000004) == 0x00000004)) {
   details_ = java.util.Collections.unmodifiableList(details_);
   bitField0_ = (bitField0_ & ~0x00000004);
  }
  result.details_ = details_;
 } else {
  result.details_ = detailsBuilder_.build();
 }
 result.bitField0_ = to_bitField0_;
 onBuilt();
 return result;
}

相关文章