@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.pubsub.v1.ListTopicSubscriptionsRequest)) { return super.equals(obj); } com.google.pubsub.v1.ListTopicSubscriptionsRequest other = (com.google.pubsub.v1.ListTopicSubscriptionsRequest) obj; boolean result = true; result = result && getTopic().equals(other.getTopic()); result = result && (getPageSize() == other.getPageSize()); result = result && getPageToken().equals(other.getPageToken()); 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(); hash = (37 * hash) + TOPIC_FIELD_NUMBER; hash = (53 * hash) + getTopic().hashCode(); hash = (37 * hash) + PAGE_SIZE_FIELD_NUMBER; hash = (53 * hash) + getPageSize(); hash = (37 * hash) + PAGE_TOKEN_FIELD_NUMBER; hash = (53 * hash) + getPageToken().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }
/** * * * <pre> * The name of the topic that subscriptions are attached to. * Format is `projects/{project}/topics/{topic}`. * </pre> * * <code>string topic = 1;</code> */ public Builder clearTopic() { topic_ = getDefaultInstance().getTopic(); onChanged(); return this; } /**
public Builder mergeFrom(com.google.pubsub.v1.ListTopicSubscriptionsRequest other) { if (other == com.google.pubsub.v1.ListTopicSubscriptionsRequest.getDefaultInstance()) return this; if (!other.getTopic().isEmpty()) { topic_ = other.topic_; onChanged(); } if (other.getPageSize() != 0) { setPageSize(other.getPageSize()); } if (!other.getPageToken().isEmpty()) { pageToken_ = other.pageToken_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
(ListTopicSubscriptionsRequest) actualRequests.get(0); Assert.assertEquals(topic, ProjectTopicName.parse(actualRequest.getTopic())); Assert.assertTrue( channelProvider.isHeaderSent(
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.pubsub.v1.ListTopicSubscriptionsRequest)) { return super.equals(obj); } com.google.pubsub.v1.ListTopicSubscriptionsRequest other = (com.google.pubsub.v1.ListTopicSubscriptionsRequest) obj; boolean result = true; result = result && getTopic().equals(other.getTopic()); result = result && (getPageSize() == other.getPageSize()); result = result && getPageToken().equals(other.getPageToken()); result = result && unknownFields.equals(other.unknownFields); return result; }
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.pubsub.v1.ListTopicSubscriptionsRequest)) { return super.equals(obj); } com.google.pubsub.v1.ListTopicSubscriptionsRequest other = (com.google.pubsub.v1.ListTopicSubscriptionsRequest) obj; boolean result = true; result = result && getTopic() .equals(other.getTopic()); result = result && (getPageSize() == other.getPageSize()); result = result && getPageToken() .equals(other.getPageToken()); return result; }
/** * <code>optional string topic = 1;</code> * * <pre> * The name of the topic that subscriptions are attached to. * </pre> */ public Builder clearTopic() { topic_ = getDefaultInstance().getTopic(); onChanged(); return this; } /**
/** * <pre> * The name of the topic that subscriptions are attached to. * </pre> * * <code>optional string topic = 1;</code> */ public Builder clearTopic() { topic_ = getDefaultInstance().getTopic(); 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) + TOPIC_FIELD_NUMBER; hash = (53 * hash) + getTopic().hashCode(); hash = (37 * hash) + PAGE_SIZE_FIELD_NUMBER; hash = (53 * hash) + getPageSize(); hash = (37 * hash) + PAGE_TOKEN_FIELD_NUMBER; hash = (53 * hash) + getPageToken().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); hash = (37 * hash) + TOPIC_FIELD_NUMBER; hash = (53 * hash) + getTopic().hashCode(); hash = (37 * hash) + PAGE_SIZE_FIELD_NUMBER; hash = (53 * hash) + getPageSize(); hash = (37 * hash) + PAGE_TOKEN_FIELD_NUMBER; hash = (53 * hash) + getPageToken().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }
/** * * * <pre> * The name of the topic that subscriptions are attached to. * Format is `projects/{project}/topics/{topic}`. * </pre> * * <code>string topic = 1;</code> */ public Builder clearTopic() { topic_ = getDefaultInstance().getTopic(); onChanged(); return this; } /**
public Builder mergeFrom(com.google.pubsub.v1.ListTopicSubscriptionsRequest other) { if (other == com.google.pubsub.v1.ListTopicSubscriptionsRequest.getDefaultInstance()) return this; if (!other.getTopic().isEmpty()) { topic_ = other.topic_; onChanged(); } if (other.getPageSize() != 0) { setPageSize(other.getPageSize()); } if (!other.getPageToken().isEmpty()) { pageToken_ = other.pageToken_; onChanged(); } onChanged(); return this; }
public Builder mergeFrom(com.google.pubsub.v1.ListTopicSubscriptionsRequest other) { if (other == com.google.pubsub.v1.ListTopicSubscriptionsRequest.getDefaultInstance()) return this; if (!other.getTopic().isEmpty()) { topic_ = other.topic_; onChanged(); } if (other.getPageSize() != 0) { setPageSize(other.getPageSize()); } if (!other.getPageToken().isEmpty()) { pageToken_ = other.pageToken_; onChanged(); } onChanged(); return this; }
public Builder mergeFrom(com.google.pubsub.v1.ListTopicSubscriptionsRequest other) { if (other == com.google.pubsub.v1.ListTopicSubscriptionsRequest.getDefaultInstance()) return this; if (!other.getTopic().isEmpty()) { topic_ = other.topic_; onChanged(); } if (other.getPageSize() != 0) { setPageSize(other.getPageSize()); } if (!other.getPageToken().isEmpty()) { pageToken_ = other.pageToken_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }