@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.devtools.clouderrorreporting.v1beta1.ErrorGroup)) { return super.equals(obj); } com.google.devtools.clouderrorreporting.v1beta1.ErrorGroup other = (com.google.devtools.clouderrorreporting.v1beta1.ErrorGroup) obj; boolean result = true; result = result && getName().equals(other.getName()); result = result && getGroupId().equals(other.getGroupId()); result = result && getTrackingIssuesList().equals(other.getTrackingIssuesList()); result = result && unknownFields.equals(other.unknownFields); return result; }
/** * * * <pre> * Group IDs are unique for a given project. If the same kind of error * occurs in different service contexts, it will receive the same group ID. * </pre> * * <code>string group_id = 2;</code> */ public Builder clearGroupId() { groupId_ = getDefaultInstance().getGroupId(); onChanged(); return this; } /**
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + GROUP_ID_FIELD_NUMBER; hash = (53 * hash) + getGroupId().hashCode(); if (getTrackingIssuesCount() > 0) { hash = (37 * hash) + TRACKING_ISSUES_FIELD_NUMBER; hash = (53 * hash) + getTrackingIssuesList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }
onChanged(); if (!other.getGroupId().isEmpty()) { groupId_ = other.groupId_; onChanged();
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.devtools.clouderrorreporting.v1beta1.ErrorGroup)) { return super.equals(obj); } com.google.devtools.clouderrorreporting.v1beta1.ErrorGroup other = (com.google.devtools.clouderrorreporting.v1beta1.ErrorGroup) obj; boolean result = true; result = result && getName().equals(other.getName()); result = result && getGroupId().equals(other.getGroupId()); result = result && getTrackingIssuesList().equals(other.getTrackingIssuesList()); result = result && unknownFields.equals(other.unknownFields); return result; }
/** * * * <pre> * Group IDs are unique for a given project. If the same kind of error * occurs in different service contexts, it will receive the same group ID. * </pre> * * <code>string group_id = 2;</code> */ public Builder clearGroupId() { groupId_ = getDefaultInstance().getGroupId(); onChanged(); return this; } /**
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + GROUP_ID_FIELD_NUMBER; hash = (53 * hash) + getGroupId().hashCode(); if (getTrackingIssuesCount() > 0) { hash = (37 * hash) + TRACKING_ISSUES_FIELD_NUMBER; hash = (53 * hash) + getTrackingIssuesList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }
onChanged(); if (!other.getGroupId().isEmpty()) { groupId_ = other.groupId_; onChanged();