rLoadSinkBuild.setAgeOfLastAppliedOp(sinkMetrics.getAgeOfLastAppliedOp()); rLoadSinkBuild.setTimeStampsOfLastAppliedOp(sinkMetrics.getTimestampOfLastAppliedOp()); this.replicationLoadSink = rLoadSinkBuild.build();
subBuilder.mergeFrom(replLoadSink_); replLoadSink_ = subBuilder.buildPartial();
subBuilder.mergeFrom(replLoadSink_); replLoadSink_ = subBuilder.buildPartial();
/** * <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; } /**
/** * <pre> ** * The replicationLoadSink for the replication Sink status of this region server. * </pre> * * <code>optional .hbase.pb.ReplicationLoadSink replLoadSink = 11;</code> */ public Builder setReplLoadSink( org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterStatusProtos.ReplicationLoadSink.Builder builderForValue) { if (replLoadSinkBuilder_ == null) { replLoadSink_ = builderForValue.build(); onChanged(); } else { replLoadSinkBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000400; return this; } /**
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(); }
@java.lang.Override protected Builder newBuilderForType( org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /**
public org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterStatusProtos.ReplicationLoadSink build() { org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterStatusProtos.ReplicationLoadSink result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; }
public final boolean isInitialized() { if (!hasAgeOfLastAppliedOp()) { return false; } if (!hasTimeStampsOfLastAppliedOp()) { return false; } return true; }
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; } /**
/** * <pre> ** * The replicationLoadSink for the replication Sink status of this region server. * </pre> * * <code>optional .hbase.pb.ReplicationLoadSink replLoadSink = 11;</code> */ public Builder setReplLoadSink( org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterStatusProtos.ReplicationLoadSink.Builder builderForValue) { if (replLoadSinkBuilder_ == null) { replLoadSink_ = builderForValue.build(); onChanged(); } else { replLoadSinkBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000400; return this; } /**
public org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterStatusProtos.ReplicationLoadSink build() { org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterStatusProtos.ReplicationLoadSink result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; }
@java.lang.Override protected Builder newBuilderForType( org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /**
public final boolean isInitialized() { if (!hasAgeOfLastAppliedOp()) { return false; } if (!hasTimeStampsOfLastAppliedOp()) { return false; } return true; }
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(); }