@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasServerName()) { hash = (37 * hash) + SERVER_NAME_FIELD_NUMBER; hash = (53 * hash) + getServerName().hashCode(); } if (hasWebuiPort()) { hash = (37 * hash) + WEBUI_PORT_FIELD_NUMBER; hash = (53 * hash) + getWebuiPort(); } 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(); if (hasServerName()) { hash = (37 * hash) + SERVER_NAME_FIELD_NUMBER; hash = (53 * hash) + getServerName().hashCode(); } if (hasWebuiPort()) { hash = (37 * hash) + WEBUI_PORT_FIELD_NUMBER; hash = (53 * hash) + getWebuiPort(); } 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 org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.ServerInfo)) { return super.equals(obj); } org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.ServerInfo other = (org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.ServerInfo) obj; boolean result = true; result = result && (hasServerName() == other.hasServerName()); if (hasServerName()) { result = result && getServerName() .equals(other.getServerName()); } result = result && (hasWebuiPort() == other.hasWebuiPort()); if (hasWebuiPort()) { result = result && (getWebuiPort() == other.getWebuiPort()); } result = result && unknownFields.equals(other.unknownFields); return result; }
public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasServerName()) { memoizedIsInitialized = 0; return false; } if (!getServerName().isInitialized()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; }
public Builder mergeFrom(org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.ServerInfo other) { if (other == org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.ServerInfo.getDefaultInstance()) return this; if (other.hasServerName()) { mergeServerName(other.getServerName()); } if (other.hasWebuiPort()) { setWebuiPort(other.getWebuiPort()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.ServerInfo)) { return super.equals(obj); } org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.ServerInfo other = (org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.ServerInfo) obj; boolean result = true; result = result && (hasServerName() == other.hasServerName()); if (hasServerName()) { result = result && getServerName() .equals(other.getServerName()); } result = result && (hasWebuiPort() == other.hasWebuiPort()); if (hasWebuiPort()) { result = result && (getWebuiPort() == other.getWebuiPort()); } result = result && unknownFields.equals(other.unknownFields); return result; }
public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasServerName()) { memoizedIsInitialized = 0; return false; } if (!getServerName().isInitialized()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; }
public Builder mergeFrom(org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.ServerInfo other) { if (other == org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.ServerInfo.getDefaultInstance()) return this; if (other.hasServerName()) { mergeServerName(other.getServerName()); } if (other.hasWebuiPort()) { setWebuiPort(other.getWebuiPort()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }