/** * <code>.topodata.KeyRange key_range = 2;</code> */ public io.vitess.proto.Topodata.KeyRangeOrBuilder getKeyRangeOrBuilder() { if (keyRangeBuilder_ != null) { return keyRangeBuilder_.getMessageOrBuilder(); } else { return keyRange_ == null ? io.vitess.proto.Topodata.KeyRange.getDefaultInstance() : keyRange_; } } /**
/** * <code>.topodata.KeyRange key_range = 2;</code> */ public io.vitess.proto.Topodata.KeyRangeOrBuilder getKeyRangeOrBuilder() { if (keyRangeBuilder_ != null) { return keyRangeBuilder_.getMessageOrBuilder(); } else { return keyRange_ == null ? io.vitess.proto.Topodata.KeyRange.getDefaultInstance() : keyRange_; } } /**
/** * <code>.topodata.KeyRange key_range = 2;</code> */ public io.vitess.proto.Topodata.KeyRange getKeyRange() { if (keyRangeBuilder_ == null) { return keyRange_ == null ? io.vitess.proto.Topodata.KeyRange.getDefaultInstance() : keyRange_; } else { return keyRangeBuilder_.getMessage(); } } /**
/** * <pre> * the source shard keyrange * </pre> * * <code>.topodata.KeyRange key_range = 4;</code> */ public io.vitess.proto.Topodata.KeyRange getKeyRange() { if (keyRangeBuilder_ == null) { return keyRange_ == null ? io.vitess.proto.Topodata.KeyRange.getDefaultInstance() : keyRange_; } else { return keyRangeBuilder_.getMessage(); } } /**
/** * <pre> * key_range is the KeyRange for this shard. It can be unset if: * - we are not using range-based sharding in this shard. * - the shard covers the entire keyrange. * This must match the shard name based on our other conventions, but * helpful to have it decomposed here. * Once set at creation time, it is never changed. * </pre> * * <code>.topodata.KeyRange key_range = 2;</code> */ public io.vitess.proto.Topodata.KeyRange getKeyRange() { return keyRange_ == null ? io.vitess.proto.Topodata.KeyRange.getDefaultInstance() : keyRange_; } /**
@java.lang.Override public io.vitess.proto.Topodata.KeyRange getDefaultInstanceForType() { return io.vitess.proto.Topodata.KeyRange.getDefaultInstance(); }
/** * <code>.topodata.KeyRange key_range = 2;</code> */ public io.vitess.proto.Topodata.KeyRange getKeyRange() { if (keyRangeBuilder_ == null) { return keyRange_ == null ? io.vitess.proto.Topodata.KeyRange.getDefaultInstance() : keyRange_; } else { return keyRangeBuilder_.getMessage(); } } /**
/** * <pre> * If range based sharding is used, range for the tablet's shard. * </pre> * * <code>.topodata.KeyRange key_range = 7;</code> */ public io.vitess.proto.Topodata.KeyRange getKeyRange() { return keyRange_ == null ? io.vitess.proto.Topodata.KeyRange.getDefaultInstance() : keyRange_; } /**
/** * <code>.topodata.KeyRange key_range = 2;</code> */ public io.vitess.proto.Topodata.KeyRange getKeyRange() { return keyRange_ == null ? io.vitess.proto.Topodata.KeyRange.getDefaultInstance() : keyRange_; } /**
/** * <pre> * the source shard keyrange * </pre> * * <code>.topodata.KeyRange key_range = 4;</code> */ public io.vitess.proto.Topodata.KeyRange getKeyRange() { return keyRange_ == null ? io.vitess.proto.Topodata.KeyRange.getDefaultInstance() : keyRange_; } /**
/** * <code>bytes end = 2;</code> */ public Builder clearEnd() { end_ = getDefaultInstance().getEnd(); onChanged(); return this; } @java.lang.Override
/** * <code>.topodata.KeyRange key_range = 2;</code> */ public io.vitess.proto.Topodata.KeyRange getKeyRange() { return keyRange_ == null ? io.vitess.proto.Topodata.KeyRange.getDefaultInstance() : keyRange_; } /**
/** * <pre> * the source shard keyrange * </pre> * * <code>.topodata.KeyRange key_range = 4;</code> */ public io.vitess.proto.Topodata.KeyRange getKeyRange() { return keyRange_ == null ? io.vitess.proto.Topodata.KeyRange.getDefaultInstance() : keyRange_; } /**
public Builder mergeFrom(io.vitess.proto.Topodata.KeyRange other) { if (other == io.vitess.proto.Topodata.KeyRange.getDefaultInstance()) return this; if (other.getStart() != com.google.protobuf.ByteString.EMPTY) { setStart(other.getStart()); } if (other.getEnd() != com.google.protobuf.ByteString.EMPTY) { setEnd(other.getEnd()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
/** * <code>bytes start = 1;</code> */ public Builder clearStart() { start_ = getDefaultInstance().getStart(); onChanged(); return this; }
@java.lang.Override public io.vitess.proto.Topodata.KeyRange getDefaultInstanceForType() { return io.vitess.proto.Topodata.KeyRange.getDefaultInstance(); }
/** * <pre> * If range based sharding is used, range for the tablet's shard. * </pre> * * <code>.topodata.KeyRange key_range = 7;</code> */ public io.vitess.proto.Topodata.KeyRange getKeyRange() { return keyRange_ == null ? io.vitess.proto.Topodata.KeyRange.getDefaultInstance() : keyRange_; } /**
public Builder mergeFrom(io.vitess.proto.Topodata.KeyRange other) { if (other == io.vitess.proto.Topodata.KeyRange.getDefaultInstance()) return this; if (other.getStart() != com.google.protobuf.ByteString.EMPTY) { setStart(other.getStart()); } if (other.getEnd() != com.google.protobuf.ByteString.EMPTY) { setEnd(other.getEnd()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
/** * <code>bytes end = 2;</code> */ public Builder clearEnd() { end_ = getDefaultInstance().getEnd(); onChanged(); return this; } @java.lang.Override
/** * <code>bytes start = 1;</code> */ public Builder clearStart() { start_ = getDefaultInstance().getStart(); onChanged(); return this; }