@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + TABLET_TYPE_FIELD_NUMBER; hash = (53 * hash) + tabletType_; hash = (37 * hash) + KEYSPACE_FIELD_NUMBER; hash = (53 * hash) + getKeyspace().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + TABLET_TYPE_FIELD_NUMBER; hash = (53 * hash) + tabletType_; hash = (37 * hash) + KEYSPACE_FIELD_NUMBER; hash = (53 * hash) + getKeyspace().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.vitess.proto.Topodata.SrvKeyspace.ServedFrom)) { return super.equals(obj); } io.vitess.proto.Topodata.SrvKeyspace.ServedFrom other = (io.vitess.proto.Topodata.SrvKeyspace.ServedFrom) obj; boolean result = true; result = result && tabletType_ == other.tabletType_; result = result && getKeyspace() .equals(other.getKeyspace()); result = result && unknownFields.equals(other.unknownFields); return result; }
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.vitess.proto.Topodata.SrvKeyspace.ServedFrom)) { return super.equals(obj); } io.vitess.proto.Topodata.SrvKeyspace.ServedFrom other = (io.vitess.proto.Topodata.SrvKeyspace.ServedFrom) obj; boolean result = true; result = result && tabletType_ == other.tabletType_; result = result && getKeyspace() .equals(other.getKeyspace()); result = result && unknownFields.equals(other.unknownFields); return result; }
/** * <pre> * the keyspace name that's serving it * </pre> * * <code>string keyspace = 2;</code> */ public Builder clearKeyspace() { keyspace_ = getDefaultInstance().getKeyspace(); onChanged(); return this; } /**
public Builder mergeFrom(io.vitess.proto.Topodata.SrvKeyspace.ServedFrom other) { if (other == io.vitess.proto.Topodata.SrvKeyspace.ServedFrom.getDefaultInstance()) return this; if (other.tabletType_ != 0) { setTabletTypeValue(other.getTabletTypeValue()); } if (!other.getKeyspace().isEmpty()) { keyspace_ = other.keyspace_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
/** * <pre> * the keyspace name that's serving it * </pre> * * <code>string keyspace = 2;</code> */ public Builder clearKeyspace() { keyspace_ = getDefaultInstance().getKeyspace(); onChanged(); return this; } /**
public Builder mergeFrom(io.vitess.proto.Topodata.SrvKeyspace.ServedFrom other) { if (other == io.vitess.proto.Topodata.SrvKeyspace.ServedFrom.getDefaultInstance()) return this; if (other.tabletType_ != 0) { setTabletTypeValue(other.getTabletTypeValue()); } if (!other.getKeyspace().isEmpty()) { keyspace_ = other.keyspace_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }