@Override public String extractNextToken(ListGroupsResponse payload) { return payload.getNextPageToken(); }
@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; }
/** * * * <pre> * If there are more results than have been returned, then this field is set * to a non-empty value. To see the additional results, * use that value as `pageToken` in the next call to this method. * </pre> * * <code>string next_page_token = 2;</code> */ public Builder clearNextPageToken() { nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /**
if (!other.getNextPageToken().isEmpty()) { nextPageToken_ = other.nextPageToken_; onChanged();
@Override public String extractNextToken(ListGroupsResponse payload) { return payload.getNextPageToken(); }
@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; }
/** * <pre> * If there are more results than have been returned, then this field is set * to a non-empty value. To see the additional results, * use that value as `pageToken` in the next call to this method. * </pre> * * <code>optional string next_page_token = 2;</code> */ public Builder clearNextPageToken() { nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /**
if (!other.getNextPageToken().isEmpty()) { nextPageToken_ = other.nextPageToken_; onChanged();