@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.pubsub.v1.PushConfig)) { return super.equals(obj); } com.google.pubsub.v1.PushConfig other = (com.google.pubsub.v1.PushConfig) obj; boolean result = true; result = result && getPushEndpoint().equals(other.getPushEndpoint()); result = result && internalGetAttributes().equals(other.internalGetAttributes()); result = result && unknownFields.equals(other.unknownFields); return result; }
/** * * * <pre> * A URL locating the endpoint to which messages should be pushed. * For example, a Webhook endpoint might use "https://example.com/push". * </pre> * * <code>string push_endpoint = 1;</code> */ public Builder clearPushEndpoint() { pushEndpoint_ = getDefaultInstance().getPushEndpoint(); 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) + PUSH_ENDPOINT_FIELD_NUMBER; hash = (53 * hash) + getPushEndpoint().hashCode(); if (!internalGetAttributes().getMap().isEmpty()) { hash = (37 * hash) + ATTRIBUTES_FIELD_NUMBER; hash = (53 * hash) + internalGetAttributes().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }
public Builder mergeFrom(com.google.pubsub.v1.PushConfig other) { if (other == com.google.pubsub.v1.PushConfig.getDefaultInstance()) return this; if (!other.getPushEndpoint().isEmpty()) { pushEndpoint_ = other.pushEndpoint_; onChanged(); } internalGetMutableAttributes().mergeFrom(other.internalGetAttributes()); this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.pubsub.v1.PushConfig)) { return super.equals(obj); } com.google.pubsub.v1.PushConfig other = (com.google.pubsub.v1.PushConfig) obj; boolean result = true; result = result && getPushEndpoint().equals(other.getPushEndpoint()); result = result && internalGetAttributes().equals(other.internalGetAttributes()); 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.PushConfig)) { return super.equals(obj); } com.google.pubsub.v1.PushConfig other = (com.google.pubsub.v1.PushConfig) obj; boolean result = true; result = result && getPushEndpoint() .equals(other.getPushEndpoint()); result = result && internalGetAttributes().equals( other.internalGetAttributes()); return result; }
/** * <code>optional string push_endpoint = 1;</code> * * <pre> * A URL locating the endpoint to which messages should be pushed. * For example, a Webhook endpoint might use "https://example.com/push". * </pre> */ public Builder clearPushEndpoint() { pushEndpoint_ = getDefaultInstance().getPushEndpoint(); onChanged(); return this; } /**
/** * <pre> * A URL locating the endpoint to which messages should be pushed. * For example, a Webhook endpoint might use "https://example.com/push". * </pre> * * <code>optional string push_endpoint = 1;</code> */ public Builder clearPushEndpoint() { pushEndpoint_ = getDefaultInstance().getPushEndpoint(); onChanged(); return this; } /**
/** * * * <pre> * A URL locating the endpoint to which messages should be pushed. * For example, a Webhook endpoint might use "https://example.com/push". * </pre> * * <code>string push_endpoint = 1;</code> */ public Builder clearPushEndpoint() { pushEndpoint_ = getDefaultInstance().getPushEndpoint(); 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) + PUSH_ENDPOINT_FIELD_NUMBER; hash = (53 * hash) + getPushEndpoint().hashCode(); if (!internalGetAttributes().getMap().isEmpty()) { hash = (37 * hash) + ATTRIBUTES_FIELD_NUMBER; hash = (53 * hash) + internalGetAttributes().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) + PUSH_ENDPOINT_FIELD_NUMBER; hash = (53 * hash) + getPushEndpoint().hashCode(); if (!internalGetAttributes().getMap().isEmpty()) { hash = (37 * hash) + ATTRIBUTES_FIELD_NUMBER; hash = (53 * hash) + internalGetAttributes().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }
public Builder mergeFrom(com.google.pubsub.v1.PushConfig other) { if (other == com.google.pubsub.v1.PushConfig.getDefaultInstance()) return this; if (!other.getPushEndpoint().isEmpty()) { pushEndpoint_ = other.pushEndpoint_; onChanged(); } internalGetMutableAttributes().mergeFrom( other.internalGetAttributes()); onChanged(); return this; }
public Builder mergeFrom(com.google.pubsub.v1.PushConfig other) { if (other == com.google.pubsub.v1.PushConfig.getDefaultInstance()) return this; if (!other.getPushEndpoint().isEmpty()) { pushEndpoint_ = other.pushEndpoint_; onChanged(); } internalGetMutableAttributes().mergeFrom( other.internalGetAttributes()); onChanged(); return this; }
public Builder mergeFrom(com.google.pubsub.v1.PushConfig other) { if (other == com.google.pubsub.v1.PushConfig.getDefaultInstance()) return this; if (!other.getPushEndpoint().isEmpty()) { pushEndpoint_ = other.pushEndpoint_; onChanged(); } internalGetMutableAttributes().mergeFrom(other.internalGetAttributes()); this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }