@Override public boolean equals(Object other) { if (other == this) return true; if (!(other instanceof C)) return false; C o = (C) other; return Internal.equals(unknownFields(), o.unknownFields()) && Internal.equals(i, o.i); }
@Override public boolean equals(Object other) { if (other == this) return true; if (!(other instanceof Phone)) return false; Phone o = (Phone) other; return Internal.equals(unknownFields(), o.unknownFields()) && Internal.equals(number, o.number); }
@Override public boolean equals(Object other) { if (other == this) return true; if (!(other instanceof RedactedExtension)) return false; RedactedExtension o = (RedactedExtension) other; return Internal.equals(unknownFields(), o.unknownFields()) && Internal.equals(d, o.d) && Internal.equals(e, o.e); }
@Override public boolean equals(Object other) { if (other == this) return true; if (!(other instanceof MethodOptions)) return false; MethodOptions o = (MethodOptions) other; return Internal.equals(unknownFields(), o.unknownFields()) && Internal.equals(deprecated, o.deprecated) && Internal.equals(uninterpreted_option, o.uninterpreted_option); }
@Override public MethodOptions redact(MethodOptions value) { Builder builder = value.newBuilder(); Internal.redactElements(builder.uninterpreted_option, UninterpretedOption.ADAPTER); builder.clearUnknownFields(); return builder.build(); }
@Override public Builder newBuilder() { Builder builder = new Builder(); builder.deprecated = deprecated; builder.uninterpreted_option = Internal.copyOf("uninterpreted_option", uninterpreted_option); builder.addUnknownFields(unknownFields()); return builder; }
public MethodOptions( Boolean deprecated, List<UninterpretedOption> uninterpreted_option, ByteString unknownFields) { super(ADAPTER, unknownFields); this.deprecated = deprecated; this.uninterpreted_option = Internal.immutableCopyOf("uninterpreted_option", uninterpreted_option); }
/** The parser stores options it doesn't recognize here. See above. */ public Builder uninterpreted_option(List<UninterpretedOption> uninterpreted_option) { Internal.checkElementsNotNull(uninterpreted_option); this.uninterpreted_option = uninterpreted_option; return this; }
public Builder() { uninterpreted_option = Internal.newMutableList(); }