@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.pubsub.v1.ModifyPushConfigRequest)) { return super.equals(obj); } com.google.pubsub.v1.ModifyPushConfigRequest other = (com.google.pubsub.v1.ModifyPushConfigRequest) obj; boolean result = true; result = result && getSubscription().equals(other.getSubscription()); result = result && (hasPushConfig() == other.hasPushConfig()); if (hasPushConfig()) { result = result && getPushConfig().equals(other.getPushConfig()); } 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.Subscription)) { return super.equals(obj); } com.google.pubsub.v1.Subscription other = (com.google.pubsub.v1.Subscription) obj; boolean result = true; result = result && getName().equals(other.getName()); result = result && getTopic().equals(other.getTopic()); result = result && (hasPushConfig() == other.hasPushConfig()); if (hasPushConfig()) { result = result && getPushConfig().equals(other.getPushConfig()); } result = result && (getAckDeadlineSeconds() == other.getAckDeadlineSeconds()); result = result && (getRetainAckedMessages() == other.getRetainAckedMessages()); result = result && (hasMessageRetentionDuration() == other.hasMessageRetentionDuration()); if (hasMessageRetentionDuration()) { result = result && getMessageRetentionDuration().equals(other.getMessageRetentionDuration()); } result = result && internalGetLabels().equals(other.internalGetLabels()); result = result && (hasExpirationPolicy() == other.hasExpirationPolicy()); if (hasExpirationPolicy()) { result = result && getExpirationPolicy().equals(other.getExpirationPolicy()); } 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.ModifyPushConfigRequest)) { return super.equals(obj); } com.google.pubsub.v1.ModifyPushConfigRequest other = (com.google.pubsub.v1.ModifyPushConfigRequest) obj; boolean result = true; result = result && getSubscription().equals(other.getSubscription()); result = result && (hasPushConfig() == other.hasPushConfig()); if (hasPushConfig()) { result = result && getPushConfig().equals(other.getPushConfig()); } 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.ModifyPushConfigRequest)) { return super.equals(obj); } com.google.pubsub.v1.ModifyPushConfigRequest other = (com.google.pubsub.v1.ModifyPushConfigRequest) obj; boolean result = true; result = result && getSubscription() .equals(other.getSubscription()); result = result && (hasPushConfig() == other.hasPushConfig()); if (hasPushConfig()) { result = result && getPushConfig() .equals(other.getPushConfig()); } 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.Subscription)) { return super.equals(obj); } com.google.pubsub.v1.Subscription other = (com.google.pubsub.v1.Subscription) obj; boolean result = true; result = result && getName() .equals(other.getName()); result = result && getTopic() .equals(other.getTopic()); result = result && (hasPushConfig() == other.hasPushConfig()); if (hasPushConfig()) { result = result && getPushConfig() .equals(other.getPushConfig()); } result = result && (getAckDeadlineSeconds() == other.getAckDeadlineSeconds()); 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.Subscription)) { return super.equals(obj); } com.google.pubsub.v1.Subscription other = (com.google.pubsub.v1.Subscription) obj; boolean result = true; result = result && getName().equals(other.getName()); result = result && getTopic().equals(other.getTopic()); result = result && (hasPushConfig() == other.hasPushConfig()); if (hasPushConfig()) { result = result && getPushConfig().equals(other.getPushConfig()); } result = result && (getAckDeadlineSeconds() == other.getAckDeadlineSeconds()); result = result && (getRetainAckedMessages() == other.getRetainAckedMessages()); result = result && (hasMessageRetentionDuration() == other.hasMessageRetentionDuration()); if (hasMessageRetentionDuration()) { result = result && getMessageRetentionDuration().equals(other.getMessageRetentionDuration()); } result = result && internalGetLabels().equals(other.internalGetLabels()); result = result && (hasExpirationPolicy() == other.hasExpirationPolicy()); if (hasExpirationPolicy()) { result = result && getExpirationPolicy().equals(other.getExpirationPolicy()); } result = result && unknownFields.equals(other.unknownFields); return result; }