@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + PRINCIPAL_FIELD_NUMBER; hash = (53 * hash) + getPrincipal().hashCode(); hash = (37 * hash) + COMPONENT_FIELD_NUMBER; hash = (53 * hash) + getComponent().hashCode(); hash = (37 * hash) + SUBCOMPONENT_FIELD_NUMBER; hash = (53 * hash) + getSubcomponent().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) + getDescriptor().hashCode(); hash = (37 * hash) + PRINCIPAL_FIELD_NUMBER; hash = (53 * hash) + getPrincipal().hashCode(); hash = (37 * hash) + COMPONENT_FIELD_NUMBER; hash = (53 * hash) + getComponent().hashCode(); hash = (37 * hash) + SUBCOMPONENT_FIELD_NUMBER; hash = (53 * hash) + getSubcomponent().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.vitess.proto.Vtrpc.CallerID)) { return super.equals(obj); } io.vitess.proto.Vtrpc.CallerID other = (io.vitess.proto.Vtrpc.CallerID) obj; boolean result = true; result = result && getPrincipal() .equals(other.getPrincipal()); result = result && getComponent() .equals(other.getComponent()); result = result && getSubcomponent() .equals(other.getSubcomponent()); 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 io.vitess.proto.Vtrpc.CallerID)) { return super.equals(obj); } io.vitess.proto.Vtrpc.CallerID other = (io.vitess.proto.Vtrpc.CallerID) obj; boolean result = true; result = result && getPrincipal() .equals(other.getPrincipal()); result = result && getComponent() .equals(other.getComponent()); result = result && getSubcomponent() .equals(other.getSubcomponent()); result = result && unknownFields.equals(other.unknownFields); return result; }
public Builder mergeFrom(io.vitess.proto.Vtrpc.CallerID other) { if (other == io.vitess.proto.Vtrpc.CallerID.getDefaultInstance()) return this; if (!other.getPrincipal().isEmpty()) { principal_ = other.principal_; onChanged(); } if (!other.getComponent().isEmpty()) { component_ = other.component_; onChanged(); } if (!other.getSubcomponent().isEmpty()) { subcomponent_ = other.subcomponent_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
public Builder mergeFrom(io.vitess.proto.Vtrpc.CallerID other) { if (other == io.vitess.proto.Vtrpc.CallerID.getDefaultInstance()) return this; if (!other.getPrincipal().isEmpty()) { principal_ = other.principal_; onChanged(); } if (!other.getComponent().isEmpty()) { component_ = other.component_; onChanged(); } if (!other.getSubcomponent().isEmpty()) { subcomponent_ = other.subcomponent_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
/** * <pre> * subcomponent describes a component inisde the immediate caller which * is responsible for generating is request. Suggested values are a * servlet name or an API endpoint name. * </pre> * * <code>string subcomponent = 3;</code> */ public Builder clearSubcomponent() { subcomponent_ = getDefaultInstance().getSubcomponent(); onChanged(); return this; } /**
/** * <pre> * subcomponent describes a component inisde the immediate caller which * is responsible for generating is request. Suggested values are a * servlet name or an API endpoint name. * </pre> * * <code>string subcomponent = 3;</code> */ public Builder clearSubcomponent() { subcomponent_ = getDefaultInstance().getSubcomponent(); onChanged(); return this; } /**