ClusterStatusProtos.ReplicationLoadSink.newBuilder(); rLoadSinkBuild.setAgeOfLastAppliedOp(sinkMetrics.getAgeOfLastAppliedOp()); rLoadSinkBuild.setTimeStampsOfLastAppliedOp(sinkMetrics.getTimestampOfLastAppliedOp()); this.replicationLoadSink = rLoadSinkBuild.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 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(); }
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 ClusterStatusProtos.ReplicationLoadSink toReplicationLoadSink( ReplicationLoadSink rls) { return ClusterStatusProtos.ReplicationLoadSink.newBuilder() .setAgeOfLastAppliedOp(rls.getAgeOfLastAppliedOp()) .setTimeStampsOfLastAppliedOp(rls.getTimestampsOfLastAppliedOp()) .build(); }