@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.bigtable.admin.v2.CreateAppProfileRequest)) { return super.equals(obj); } com.google.bigtable.admin.v2.CreateAppProfileRequest other = (com.google.bigtable.admin.v2.CreateAppProfileRequest) obj; boolean result = true; result = result && getParent().equals(other.getParent()); result = result && getAppProfileId().equals(other.getAppProfileId()); result = result && (hasAppProfile() == other.hasAppProfile()); if (hasAppProfile()) { result = result && getAppProfile().equals(other.getAppProfile()); } result = result && (getIgnoreWarnings() == other.getIgnoreWarnings()); result = result && unknownFields.equals(other.unknownFields); return result; }
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + PARENT_FIELD_NUMBER; hash = (53 * hash) + getParent().hashCode(); hash = (37 * hash) + APP_PROFILE_ID_FIELD_NUMBER; hash = (53 * hash) + getAppProfileId().hashCode(); if (hasAppProfile()) { hash = (37 * hash) + APP_PROFILE_FIELD_NUMBER; hash = (53 * hash) + getAppProfile().hashCode(); } hash = (37 * hash) + IGNORE_WARNINGS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIgnoreWarnings()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }
public Builder mergeFrom(com.google.bigtable.admin.v2.CreateAppProfileRequest other) { if (other == com.google.bigtable.admin.v2.CreateAppProfileRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); } if (!other.getAppProfileId().isEmpty()) { appProfileId_ = other.appProfileId_; onChanged(); } if (other.hasAppProfile()) { mergeAppProfile(other.getAppProfile()); } if (other.getIgnoreWarnings() != false) { setIgnoreWarnings(other.getIgnoreWarnings()); } 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 com.google.bigtable.admin.v2.CreateAppProfileRequest)) { return super.equals(obj); } com.google.bigtable.admin.v2.CreateAppProfileRequest other = (com.google.bigtable.admin.v2.CreateAppProfileRequest) obj; boolean result = true; result = result && getParent().equals(other.getParent()); result = result && getAppProfileId().equals(other.getAppProfileId()); result = result && (hasAppProfile() == other.hasAppProfile()); if (hasAppProfile()) { result = result && getAppProfile().equals(other.getAppProfile()); } result = result && (getIgnoreWarnings() == other.getIgnoreWarnings()); result = result && unknownFields.equals(other.unknownFields); return result; }
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + PARENT_FIELD_NUMBER; hash = (53 * hash) + getParent().hashCode(); hash = (37 * hash) + APP_PROFILE_ID_FIELD_NUMBER; hash = (53 * hash) + getAppProfileId().hashCode(); if (hasAppProfile()) { hash = (37 * hash) + APP_PROFILE_FIELD_NUMBER; hash = (53 * hash) + getAppProfile().hashCode(); } hash = (37 * hash) + IGNORE_WARNINGS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIgnoreWarnings()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }
public Builder mergeFrom(com.google.bigtable.admin.v2.CreateAppProfileRequest other) { if (other == com.google.bigtable.admin.v2.CreateAppProfileRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); } if (!other.getAppProfileId().isEmpty()) { appProfileId_ = other.appProfileId_; onChanged(); } if (other.hasAppProfile()) { mergeAppProfile(other.getAppProfile()); } if (other.getIgnoreWarnings() != false) { setIgnoreWarnings(other.getIgnoreWarnings()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }