@Override public Iterable<Group> extractResources(ListGroupsResponse payload) { return payload.getGroupList() != null ? payload.getGroupList() : ImmutableList.<Group>of(); } };
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.monitoring.v3.ListGroupsResponse)) { return super.equals(obj); } com.google.monitoring.v3.ListGroupsResponse other = (com.google.monitoring.v3.ListGroupsResponse) obj; boolean result = true; result = result && getGroupList().equals(other.getGroupList()); result = result && getNextPageToken().equals(other.getNextPageToken()); 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(); if (getGroupCount() > 0) { hash = (37 * hash) + GROUP_FIELD_NUMBER; hash = (53 * hash) + getGroupList().hashCode(); } hash = (37 * hash) + NEXT_PAGE_TOKEN_FIELD_NUMBER; hash = (53 * hash) + getNextPageToken().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }
@Override public Iterable<Group> extractResources(ListGroupsResponse payload) { return payload.getGroupList() != null ? payload.getGroupList() : ImmutableList.<Group>of(); } };
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.monitoring.v3.ListGroupsResponse)) { return super.equals(obj); } com.google.monitoring.v3.ListGroupsResponse other = (com.google.monitoring.v3.ListGroupsResponse) obj; boolean result = true; result = result && getGroupList() .equals(other.getGroupList()); result = result && getNextPageToken() .equals(other.getNextPageToken()); return result; }
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (getGroupCount() > 0) { hash = (37 * hash) + GROUP_FIELD_NUMBER; hash = (53 * hash) + getGroupList().hashCode(); } hash = (37 * hash) + NEXT_PAGE_TOKEN_FIELD_NUMBER; hash = (53 * hash) + getNextPageToken().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }