@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasDeprecated()) { hash = (37 * hash) + DEPRECATED_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getDeprecated()); } if (getUninterpretedOptionCount() > 0) { hash = (37 * hash) + UNINTERPRETED_OPTION_FIELD_NUMBER; hash = (53 * hash) + getUninterpretedOptionList().hashCode(); } hash = hashFields(hash, getExtensionFields()); 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 com.google.protobuf.DescriptorProtos.ServiceOptions)) { return super.equals(obj); } com.google.protobuf.DescriptorProtos.ServiceOptions other = (com.google.protobuf.DescriptorProtos.ServiceOptions) obj; boolean result = true; result = result && (hasDeprecated() == other.hasDeprecated()); if (hasDeprecated()) { result = result && (getDeprecated() == other.getDeprecated()); } result = result && getUninterpretedOptionList() .equals(other.getUninterpretedOptionList()); result = result && unknownFields.equals(other.unknownFields); result = result && getExtensionFields().equals(other.getExtensionFields()); return result; }
/** * <pre> * The parser stores options it doesn't recognize here. See above. * </pre> * * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> */ public java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption> getUninterpretedOptionList() { return java.util.Collections.unmodifiableList( instance.getUninterpretedOptionList()); } /**