@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasGroup()) { hash = (37 * hash) + GROUP_FIELD_NUMBER; hash = (53 * hash) + getGroup().hashCode(); } hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); 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 com.google.monitoring.v3.UpdateGroupRequest)) { return super.equals(obj); } com.google.monitoring.v3.UpdateGroupRequest other = (com.google.monitoring.v3.UpdateGroupRequest) obj; boolean result = true; result = result && (hasGroup() == other.hasGroup()); if (hasGroup()) { result = result && getGroup().equals(other.getGroup()); } result = result && (getValidateOnly() == other.getValidateOnly()); result = result && unknownFields.equals(other.unknownFields); return result; }
public Builder mergeFrom(com.google.monitoring.v3.UpdateGroupRequest other) { if (other == com.google.monitoring.v3.UpdateGroupRequest.getDefaultInstance()) return this; if (other.hasGroup()) { mergeGroup(other.getGroup()); } if (other.getValidateOnly() != false) { setValidateOnly(other.getValidateOnly()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasGroup()) { hash = (37 * hash) + GROUP_FIELD_NUMBER; hash = (53 * hash) + getGroup().hashCode(); } hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getValidateOnly()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }
public Builder mergeFrom(com.google.monitoring.v3.UpdateGroupRequest other) { if (other == com.google.monitoring.v3.UpdateGroupRequest.getDefaultInstance()) return this; if (other.hasGroup()) { mergeGroup(other.getGroup()); } if (other.getValidateOnly() != false) { setValidateOnly(other.getValidateOnly()); } onChanged(); return this; }
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.monitoring.v3.UpdateGroupRequest)) { return super.equals(obj); } com.google.monitoring.v3.UpdateGroupRequest other = (com.google.monitoring.v3.UpdateGroupRequest) obj; boolean result = true; result = result && (hasGroup() == other.hasGroup()); if (hasGroup()) { result = result && getGroup() .equals(other.getGroup()); } result = result && (getValidateOnly() == other.getValidateOnly()); return result; }