コード例 #1
0
 public org.apache.hadoop.hbase.protobuf.generated.ClusterIdProtos.ClusterId build() {
   org.apache.hadoop.hbase.protobuf.generated.ClusterIdProtos.ClusterId result =
       buildPartial();
   if (!result.isInitialized()) {
     throw newUninitializedMessageException(result);
   }
   return result;
 }
コード例 #2
0
 public Builder mergeFrom(
     org.apache.hadoop.hbase.protobuf.generated.ClusterIdProtos.ClusterId other) {
   if (other
       == org.apache.hadoop.hbase.protobuf.generated.ClusterIdProtos.ClusterId
           .getDefaultInstance()) return this;
   if (other.hasClusterId()) {
     bitField0_ |= 0x00000001;
     clusterId_ = other.clusterId_;
     onChanged();
   }
   this.mergeUnknownFields(other.getUnknownFields());
   return this;
 }
コード例 #3
0
 public org.apache.hadoop.hbase.protobuf.generated.ClusterIdProtos.ClusterId buildPartial() {
   org.apache.hadoop.hbase.protobuf.generated.ClusterIdProtos.ClusterId result =
       new org.apache.hadoop.hbase.protobuf.generated.ClusterIdProtos.ClusterId(this);
   int from_bitField0_ = bitField0_;
   int to_bitField0_ = 0;
   if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
     to_bitField0_ |= 0x00000001;
   }
   result.clusterId_ = clusterId_;
   result.bitField0_ = to_bitField0_;
   onBuilt();
   return result;
 }
コード例 #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.ClusterIdProtos.ClusterId)) {
        return super.equals(obj);
      }
      org.apache.hadoop.hbase.protobuf.generated.ClusterIdProtos.ClusterId other =
          (org.apache.hadoop.hbase.protobuf.generated.ClusterIdProtos.ClusterId) obj;

      boolean result = true;
      result = result && (hasClusterId() == other.hasClusterId());
      if (hasClusterId()) {
        result = result && getClusterId().equals(other.getClusterId());
      }
      result = result && getUnknownFields().equals(other.getUnknownFields());
      return result;
    }
コード例 #5
0
 public org.apache.hadoop.hbase.protobuf.generated.ClusterIdProtos.ClusterId
     getDefaultInstanceForType() {
   return org.apache.hadoop.hbase.protobuf.generated.ClusterIdProtos.ClusterId
       .getDefaultInstance();
 }