ClusterStatusProtos.ReplicationLoadSink.newBuilder(); rLoadSinkBuild.setAgeOfLastAppliedOp(sinkMetrics.getAgeOfLastAppliedOp()); rLoadSinkBuild.setTimeStampsOfLastAppliedOp(sinkMetrics.getTimestampOfLastAppliedOp());
/** * <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; } /**
public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() {
public static ClusterStatusProtos.ReplicationLoadSink toReplicationLoadSink( ReplicationLoadSink rls) { return ClusterStatusProtos.ReplicationLoadSink.newBuilder() .setAgeOfLastAppliedOp(rls.getAgeOfLastAppliedOp()) .setTimeStampsOfLastAppliedOp(rls.getTimestampsOfLastAppliedOp()) .build(); }
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; } /**
public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() {
public static ClusterStatusProtos.ReplicationLoadSink toReplicationLoadSink( ReplicationLoadSink rls) { return ClusterStatusProtos.ReplicationLoadSink.newBuilder() .setAgeOfLastAppliedOp(rls.getAgeOfLastAppliedOp()) .setTimeStampsOfLastAppliedOp(rls.getTimestampsOfLastAppliedOp()) .build(); }