@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasAgeOfLastAppliedOp()) { hash = (37 * hash) + AGEOFLASTAPPLIEDOP_FIELD_NUMBER; hash = (53 * hash) + org.apache.hbase.thirdparty.com.google.protobuf.Internal.hashLong( getAgeOfLastAppliedOp()); } if (hasTimeStampsOfLastAppliedOp()) { hash = (37 * hash) + TIMESTAMPSOFLASTAPPLIEDOP_FIELD_NUMBER; hash = (53 * hash) + org.apache.hbase.thirdparty.com.google.protobuf.Internal.hashLong( getTimeStampsOfLastAppliedOp()); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }
ClusterStatusProtos.ReplicationLoadSink.newBuilder(); rLoadSinkBuild.setAgeOfLastAppliedOp(sinkMetrics.getAgeOfLastAppliedOp()); rLoadSinkBuild.setTimeStampsOfLastAppliedOp(sinkMetrics.getTimestampOfLastAppliedOp());
if (hasReplLoadSink()) { result = result && getReplLoadSink() .equals(other.getReplLoadSink());
if (hasReplLoadSink()) { result = result && getReplLoadSink() .equals(other.getReplLoadSink());
/** * <pre> ** * The replicationLoadSink for the replication Sink status of this region server. * </pre> * * <code>optional .hbase.pb.ReplicationLoadSink replLoadSink = 11;</code> */ public Builder mergeReplLoadSink(org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterStatusProtos.ReplicationLoadSink value) { if (replLoadSinkBuilder_ == null) { if (((bitField0_ & 0x00000400) == 0x00000400) && replLoadSink_ != null && replLoadSink_ != org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterStatusProtos.ReplicationLoadSink.getDefaultInstance()) { replLoadSink_ = org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterStatusProtos.ReplicationLoadSink.newBuilder(replLoadSink_).mergeFrom(value).buildPartial(); } else { replLoadSink_ = value; } onChanged(); } else { replLoadSinkBuilder_.mergeFrom(value); } bitField0_ |= 0x00000400; return this; } /**
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterStatusProtos.ReplicationLoadSink)) { return super.equals(obj); } org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterStatusProtos.ReplicationLoadSink other = (org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterStatusProtos.ReplicationLoadSink) obj; boolean result = true; result = result && (hasAgeOfLastAppliedOp() == other.hasAgeOfLastAppliedOp()); if (hasAgeOfLastAppliedOp()) { result = result && (getAgeOfLastAppliedOp() == other.getAgeOfLastAppliedOp()); } result = result && (hasTimeStampsOfLastAppliedOp() == other.hasTimeStampsOfLastAppliedOp()); if (hasTimeStampsOfLastAppliedOp()) { result = result && (getTimeStampsOfLastAppliedOp() == other.getTimeStampsOfLastAppliedOp()); } result = result && unknownFields.equals(other.unknownFields); return result; }
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasAgeOfLastAppliedOp()) { hash = (37 * hash) + AGEOFLASTAPPLIEDOP_FIELD_NUMBER; hash = (53 * hash) + org.apache.hbase.thirdparty.com.google.protobuf.Internal.hashLong( getAgeOfLastAppliedOp()); } if (hasTimeStampsOfLastAppliedOp()) { hash = (37 * hash) + TIMESTAMPSOFLASTAPPLIEDOP_FIELD_NUMBER; hash = (53 * hash) + org.apache.hbase.thirdparty.com.google.protobuf.Internal.hashLong( getTimeStampsOfLastAppliedOp()); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }
/** * <pre> ** * The replicationLoadSink for the replication Sink status of this region server. * </pre> * * <code>optional .hbase.pb.ReplicationLoadSink replLoadSink = 11;</code> */ public org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterStatusProtos.ReplicationLoadSinkOrBuilder getReplLoadSinkOrBuilder() { if (replLoadSinkBuilder_ != null) { return replLoadSinkBuilder_.getMessageOrBuilder(); } else { return replLoadSink_ == null ? org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterStatusProtos.ReplicationLoadSink.getDefaultInstance() : replLoadSink_; } } /**
/** * <pre> ** * The replicationLoadSink for the replication Sink status of this region server. * </pre> * * <code>optional .hbase.pb.ReplicationLoadSink replLoadSink = 11;</code> */ public org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterStatusProtos.ReplicationLoadSink getReplLoadSink() { if (replLoadSinkBuilder_ == null) { return replLoadSink_ == null ? org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterStatusProtos.ReplicationLoadSink.getDefaultInstance() : replLoadSink_; } else { return replLoadSinkBuilder_.getMessage(); } } /**
public org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterStatusProtos.ReplicationLoadSink buildPartial() { org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterStatusProtos.ReplicationLoadSink result = new org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterStatusProtos.ReplicationLoadSink(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.ageOfLastAppliedOp_ = ageOfLastAppliedOp_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.timeStampsOfLastAppliedOp_ = timeStampsOfLastAppliedOp_; result.bitField0_ = to_bitField0_; onBuilt(); return result; }
public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() {
public org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterStatusProtos.ReplicationLoadSink getDefaultInstanceForType() { return org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterStatusProtos.ReplicationLoadSink.getDefaultInstance(); }
public static ReplicationLoadSink toReplicationLoadSink( ClusterStatusProtos.ReplicationLoadSink rls) { return new ReplicationLoadSink(rls.getAgeOfLastAppliedOp(), rls.getTimeStampsOfLastAppliedOp()); }
/** * <pre> ** * The replicationLoadSink for the replication Sink status of this region server. * </pre> * * <code>optional .hbase.pb.ReplicationLoadSink replLoadSink = 11;</code> */ public org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterStatusProtos.ReplicationLoadSink getReplLoadSink() { return replLoadSink_ == null ? org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterStatusProtos.ReplicationLoadSink.getDefaultInstance() : replLoadSink_; } /**
/** * <pre> ** * The replicationLoadSink for the replication Sink status of this region server. * </pre> * * <code>optional .hbase.pb.ReplicationLoadSink replLoadSink = 11;</code> */ public org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterStatusProtos.ReplicationLoadSinkOrBuilder getReplLoadSinkOrBuilder() { return replLoadSink_ == null ? org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterStatusProtos.ReplicationLoadSink.getDefaultInstance() : replLoadSink_; }
public static ClusterStatusProtos.ReplicationLoadSink toReplicationLoadSink( ReplicationLoadSink rls) { return ClusterStatusProtos.ReplicationLoadSink.newBuilder() .setAgeOfLastAppliedOp(rls.getAgeOfLastAppliedOp()) .setTimeStampsOfLastAppliedOp(rls.getTimestampsOfLastAppliedOp()) .build(); }
public Builder mergeFrom(org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterStatusProtos.ReplicationLoadSink other) { if (other == org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterStatusProtos.ReplicationLoadSink.getDefaultInstance()) return this; if (other.hasAgeOfLastAppliedOp()) { setAgeOfLastAppliedOp(other.getAgeOfLastAppliedOp()); } if (other.hasTimeStampsOfLastAppliedOp()) { setTimeStampsOfLastAppliedOp(other.getTimeStampsOfLastAppliedOp()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
public static ReplicationLoadSink toReplicationLoadSink( ClusterStatusProtos.ReplicationLoadSink rls) { return new ReplicationLoadSink(rls.getAgeOfLastAppliedOp(), rls.getTimeStampsOfLastAppliedOp()); }
public static ClusterStatusProtos.ReplicationLoadSink toReplicationLoadSink( ReplicationLoadSink rls) { return ClusterStatusProtos.ReplicationLoadSink.newBuilder() .setAgeOfLastAppliedOp(rls.getAgeOfLastAppliedOp()) .setTimeStampsOfLastAppliedOp(rls.getTimestampsOfLastAppliedOp()) .build(); }
/** * <pre> ** * The replicationLoadSink for the replication Sink status of this region server. * </pre> * * <code>optional .hbase.pb.ReplicationLoadSink replLoadSink = 11;</code> */ public Builder mergeReplLoadSink(org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterStatusProtos.ReplicationLoadSink value) { if (replLoadSinkBuilder_ == null) { if (((bitField0_ & 0x00000400) == 0x00000400) && replLoadSink_ != null && replLoadSink_ != org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterStatusProtos.ReplicationLoadSink.getDefaultInstance()) { replLoadSink_ = org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterStatusProtos.ReplicationLoadSink.newBuilder(replLoadSink_).mergeFrom(value).buildPartial(); } else { replLoadSink_ = value; } onChanged(); } else { replLoadSinkBuilder_.mergeFrom(value); } bitField0_ |= 0x00000400; return this; } /**