spaceBuilder.setRemove(true).clearSoftLimit().clearViolationPolicy(); } else {
public Builder mergeFrom(org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.SpaceQuota other) { if (other == org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.SpaceQuota.getDefaultInstance()) return this; if (other.hasSoftLimit()) { setSoftLimit(other.getSoftLimit()); } if (other.hasViolationPolicy()) { setViolationPolicy(other.getViolationPolicy()); } if (other.hasRemove()) { setRemove(other.getRemove()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
/** * Builds a {@link SpaceQuota} protobuf object to remove a quota. * * @return The protobuf SpaceQuota representation. */ private SpaceLimitRequest buildProtoRemoveQuota() { return SpaceLimitRequest.newBuilder().setQuota( SpaceQuota.newBuilder() .setRemove(true) .build()) .build(); }
/** * Builds a {@link SpaceQuota} protobuf object to remove a quota. * * @return The protobuf SpaceQuota representation. */ private SpaceLimitRequest buildProtoRemoveQuota() { return SpaceLimitRequest.newBuilder().setQuota( SpaceQuota.newBuilder() .setRemove(true) .build()) .build(); }
public Builder mergeFrom(org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.SpaceQuota other) { if (other == org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.SpaceQuota.getDefaultInstance()) return this; if (other.hasSoftLimit()) { setSoftLimit(other.getSoftLimit()); } if (other.hasViolationPolicy()) { setViolationPolicy(other.getViolationPolicy()); } if (other.hasRemove()) { setRemove(other.getRemove()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
/** * Builds a {@link SpaceQuota} protobuf object to remove a quota. * * @return The protobuf SpaceQuota representation. */ private SpaceLimitRequest buildProtoRemoveQuota() { return SpaceLimitRequest.newBuilder().setQuota( SpaceQuota.newBuilder() .setRemove(true) .build()) .build(); }