Exemple #1
0
 public org.apache.hadoop.hbase.protobuf.generated.TracingProtos.RPCTInfo build() {
   org.apache.hadoop.hbase.protobuf.generated.TracingProtos.RPCTInfo result = buildPartial();
   if (!result.isInitialized()) {
     throw newUninitializedMessageException(result);
   }
   return result;
 }
Exemple #2
0
 public org.apache.hadoop.hbase.protobuf.generated.TracingProtos.RPCTInfo buildPartial() {
   org.apache.hadoop.hbase.protobuf.generated.TracingProtos.RPCTInfo result =
       new org.apache.hadoop.hbase.protobuf.generated.TracingProtos.RPCTInfo(this);
   int from_bitField0_ = bitField0_;
   int to_bitField0_ = 0;
   if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
     to_bitField0_ |= 0x00000001;
   }
   result.traceId_ = traceId_;
   if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
     to_bitField0_ |= 0x00000002;
   }
   result.parentId_ = parentId_;
   result.bitField0_ = to_bitField0_;
   onBuilt();
   return result;
 }
Exemple #3
0
 public Builder mergeFrom(
     org.apache.hadoop.hbase.protobuf.generated.TracingProtos.RPCTInfo other) {
   if (other
       == org.apache.hadoop.hbase.protobuf.generated.TracingProtos.RPCTInfo
           .getDefaultInstance()) return this;
   if (other.hasTraceId()) {
     setTraceId(other.getTraceId());
   }
   if (other.hasParentId()) {
     setParentId(other.getParentId());
   }
   this.mergeUnknownFields(other.getUnknownFields());
   return this;
 }
Exemple #4
0
    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
        return true;
      }
      if (!(obj instanceof org.apache.hadoop.hbase.protobuf.generated.TracingProtos.RPCTInfo)) {
        return super.equals(obj);
      }
      org.apache.hadoop.hbase.protobuf.generated.TracingProtos.RPCTInfo other =
          (org.apache.hadoop.hbase.protobuf.generated.TracingProtos.RPCTInfo) obj;

      boolean result = true;
      result = result && (hasTraceId() == other.hasTraceId());
      if (hasTraceId()) {
        result = result && (getTraceId() == other.getTraceId());
      }
      result = result && (hasParentId() == other.hasParentId());
      if (hasParentId()) {
        result = result && (getParentId() == other.getParentId());
      }
      result = result && getUnknownFields().equals(other.getUnknownFields());
      return result;
    }
Exemple #5
0
 public org.apache.hadoop.hbase.protobuf.generated.TracingProtos.RPCTInfo
     getDefaultInstanceForType() {
   return org.apache.hadoop.hbase.protobuf.generated.TracingProtos.RPCTInfo
       .getDefaultInstance();
 }