@Override public String extractNextToken(ListKeyRingsResponse 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.cloud.kms.v1.ListKeyRingsResponse)) { return super.equals(obj); } com.google.cloud.kms.v1.ListKeyRingsResponse other = (com.google.cloud.kms.v1.ListKeyRingsResponse) obj; boolean result = true; result = result && getKeyRingsList().equals(other.getKeyRingsList()); result = result && getNextPageToken().equals(other.getNextPageToken()); result = result && (getTotalSize() == other.getTotalSize()); result = result && unknownFields.equals(other.unknownFields); return result; }
/** * * * <pre> * A token to retrieve next page of results. Pass this value in * [ListKeyRingsRequest.page_token][google.cloud.kms.v1.ListKeyRingsRequest.page_token] to retrieve the next page of results. * </pre> * * <code>string next_page_token = 2;</code> */ public Builder clearNextPageToken() { nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /**
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (getKeyRingsCount() > 0) { hash = (37 * hash) + KEY_RINGS_FIELD_NUMBER; hash = (53 * hash) + getKeyRingsList().hashCode(); } hash = (37 * hash) + NEXT_PAGE_TOKEN_FIELD_NUMBER; hash = (53 * hash) + getNextPageToken().hashCode(); hash = (37 * hash) + TOTAL_SIZE_FIELD_NUMBER; hash = (53 * hash) + getTotalSize(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }
if (!other.getNextPageToken().isEmpty()) { nextPageToken_ = other.nextPageToken_; onChanged();
@Override public String extractNextToken(ListKeyRingsResponse 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.cloud.kms.v1.ListKeyRingsResponse)) { return super.equals(obj); } com.google.cloud.kms.v1.ListKeyRingsResponse other = (com.google.cloud.kms.v1.ListKeyRingsResponse) obj; boolean result = true; result = result && getKeyRingsList().equals(other.getKeyRingsList()); result = result && getNextPageToken().equals(other.getNextPageToken()); result = result && (getTotalSize() == other.getTotalSize()); result = result && unknownFields.equals(other.unknownFields); return result; }
/** * * * <pre> * A token to retrieve next page of results. Pass this value in * [ListKeyRingsRequest.page_token][google.cloud.kms.v1.ListKeyRingsRequest.page_token] to retrieve the next page of results. * </pre> * * <code>string next_page_token = 2;</code> */ public Builder clearNextPageToken() { nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /**
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (getKeyRingsCount() > 0) { hash = (37 * hash) + KEY_RINGS_FIELD_NUMBER; hash = (53 * hash) + getKeyRingsList().hashCode(); } hash = (37 * hash) + NEXT_PAGE_TOKEN_FIELD_NUMBER; hash = (53 * hash) + getNextPageToken().hashCode(); hash = (37 * hash) + TOTAL_SIZE_FIELD_NUMBER; hash = (53 * hash) + getTotalSize(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }
if (!other.getNextPageToken().isEmpty()) { nextPageToken_ = other.nextPageToken_; onChanged();