Lines Matching refs:other

225     public FileDescriptorSet(FileDescriptorSet other) : this() {
226 file_ = other.file_.Clone();
227 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
246 public override bool Equals(object other) {
247 return Equals(other as FileDescriptorSet);
251 public bool Equals(FileDescriptorSet other) {
252 if (ReferenceEquals(other, null)) {
255 if (ReferenceEquals(other, this)) {
258 if(!file_.Equals(other.file_)) return false;
259 return Equals(_unknownFields, other._unknownFields);
310 public void MergeFrom(FileDescriptorSet other) {
311 if (other == null) {
314 file_.Add(other.file_);
315 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
389 public FileDescriptorProto(FileDescriptorProto other) : this() {
390 name_ = other.name_;
391 package_ = other.package_;
392 dependency_ = other.dependency_.Clone();
393 publicDependency_ = other.publicDependency_.Clone();
394 weakDependency_ = other.weakDependency_.Clone();
395 messageType_ = other.messageType_.Clone();
396 enumType_ = other.enumType_.Clone();
397 service_ = other.service_.Clone();
398 extension_ = other.extension_.Clone();
399 options_ = other.options_ != null ? other.options_.Clone() : null;
400 sourceCodeInfo_ = other.sourceCodeInfo_ != null ? other.sourceCodeInfo_.Clone() : null;
401 syntax_ = other.syntax_;
402 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
601 public override bool Equals(object other) {
602 return Equals(other as FileDescriptorProto);
606 public bool Equals(FileDescriptorProto other) {
607 if (ReferenceEquals(other, null)) {
610 if (ReferenceEquals(other, this)) {
613 if (Name != other.Name) return false;
614 if (Package != other.Package) return false;
615 if(!dependency_.Equals(other.dependency_)) return false;
616 if(!publicDependency_.Equals(other.publicDependency_)) return false;
617 if(!weakDependency_.Equals(other.weakDependency_)) return false;
618 if(!messageType_.Equals(other.messageType_)) return false;
619 if(!enumType_.Equals(other.enumType_)) return false;
620 if(!service_.Equals(other.service_)) return false;
621 if(!extension_.Equals(other.extension_)) return false;
622 if (!object.Equals(Options, other.Options)) return false;
623 if (!object.Equals(SourceCodeInfo, other.SourceCodeInfo)) return false;
624 if (Syntax != other.Syntax) return false;
625 return Equals(_unknownFields, other._unknownFields);
760 public void MergeFrom(FileDescriptorProto other) {
761 if (other == null) {
764 if (other.HasName) {
765 Name = other.Name;
767 if (other.HasPackage) {
768 Package = other.Package;
770 dependency_.Add(other.dependency_);
771 publicDependency_.Add(other.publicDependency_);
772 weakDependency_.Add(other.weakDependency_);
773 messageType_.Add(other.messageType_);
774 enumType_.Add(other.enumType_);
775 service_.Add(other.service_);
776 extension_.Add(other.extension_);
777 if (other.options_ != null) {
781 Options.MergeFrom(other.Options);
783 if (other.sourceCodeInfo_ != null) {
787 SourceCodeInfo.MergeFrom(other.SourceCodeInfo);
789 if (other.HasSyntax) {
790 Syntax = other.Syntax;
792 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
970 public DescriptorProto(DescriptorProto other) : this() {
971 name_ = other.name_;
972 field_ = other.field_.Clone();
973 extension_ = other.extension_.Clone();
974 nestedType_ = other.nestedType_.Clone();
975 enumType_ = other.enumType_.Clone();
976 extensionRange_ = other.extensionRange_.Clone();
977 oneofDecl_ = other.oneofDecl_.Clone();
978 options_ = other.options_ != null ? other.options_.Clone() : null;
979 reservedRange_ = other.reservedRange_.Clone();
980 reservedName_ = other.reservedName_.Clone();
981 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
1108 public override bool Equals(object other) {
1109 return Equals(other as DescriptorProto);
1113 public bool Equals(DescriptorProto other) {
1114 if (ReferenceEquals(other, null)) {
1117 if (ReferenceEquals(other, this)) {
1120 if (Name != other.Name) return false;
1121 if(!field_.Equals(other.field_)) return false;
1122 if(!extension_.Equals(other.extension_)) return false;
1123 if(!nestedType_.Equals(other.nestedType_)) return false;
1124 if(!enumType_.Equals(other.enumType_)) return false;
1125 if(!extensionRange_.Equals(other.extensionRange_)) return false;
1126 if(!oneofDecl_.Equals(other.oneofDecl_)) return false;
1127 if (!object.Equals(Options, other.Options)) return false;
1128 if(!reservedRange_.Equals(other.reservedRange_)) return false;
1129 if(!reservedName_.Equals(other.reservedName_)) return false;
1130 return Equals(_unknownFields, other._unknownFields);
1233 public void MergeFrom(DescriptorProto other) {
1234 if (other == null) {
1237 if (other.HasName) {
1238 Name = other.Name;
1240 field_.Add(other.field_);
1241 extension_.Add(other.extension_);
1242 nestedType_.Add(other.nestedType_);
1243 enumType_.Add(other.enumType_);
1244 extensionRange_.Add(other.extensionRange_);
1245 oneofDecl_.Add(other.oneofDecl_);
1246 if (other.options_ != null) {
1250 Options.MergeFrom(other.Options);
1252 reservedRange_.Add(other.reservedRange_);
1253 reservedName_.Add(other.reservedName_);
1254 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
1406 public ExtensionRange(ExtensionRange other) : this() {
1407 _hasBits0 = other._hasBits0;
1408 start_ = other.start_;
1409 end_ = other.end_;
1410 options_ = other.options_ != null ? other.options_.Clone() : null;
1411 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
1485 public override bool Equals(object other) {
1486 return Equals(other as ExtensionRange);
1490 public bool Equals(ExtensionRange other) {
1491 if (ReferenceEquals(other, null)) {
1494 if (ReferenceEquals(other, this)) {
1497 if (Start != other.Start) return false;
1498 if (End != other.End) return false;
1499 if (!object.Equals(Options, other.Options)) return false;
1500 return Equals(_unknownFields, other._unknownFields);
1583 public void MergeFrom(ExtensionRange other) {
1584 if (other == null) {
1587 if (other.HasStart) {
1588 Start = other.Start;
1590 if (other.HasEnd) {
1591 End = other.End;
1593 if (other.options_ != null) {
1597 Options.MergeFrom(other.Options);
1599 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
1698 public ReservedRange(ReservedRange other) : this() {
1699 _hasBits0 = other._hasBits0;
1700 start_ = other.start_;
1701 end_ = other.end_;
1702 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
1765 public override bool Equals(object other) {
1766 return Equals(other as ReservedRange);
1770 public bool Equals(ReservedRange other) {
1771 if (ReferenceEquals(other, null)) {
1774 if (ReferenceEquals(other, this)) {
1777 if (Start != other.Start) return false;
1778 if (End != other.End) return false;
1779 return Equals(_unknownFields, other._unknownFields);
1850 public void MergeFrom(ReservedRange other) {
1851 if (other == null) {
1854 if (other.HasStart) {
1855 Start = other.Start;
1857 if (other.HasEnd) {
1858 End = other.End;
1860 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
1946 public ExtensionRangeOptions(ExtensionRangeOptions other) : this() {
1947 uninterpretedOption_ = other.uninterpretedOption_.Clone();
1948 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
1949 _extensions = pb::ExtensionSet.Clone(other._extensions);
1971 public override bool Equals(object other) {
1972 return Equals(other as ExtensionRangeOptions);
1976 public bool Equals(ExtensionRangeOptions other) {
1977 if (ReferenceEquals(other, null)) {
1980 if (ReferenceEquals(other, this)) {
1983 if(!uninterpretedOption_.Equals(other.uninterpretedOption_)) return false;
1984 if (!Equals(_extensions, other._extensions)) {
1987 return Equals(_unknownFields, other._unknownFields);
2050 public void MergeFrom(ExtensionRangeOptions other) {
2051 if (other == null) {
2054 uninterpretedOption_.Add(other.uninterpretedOption_);
2055 pb::ExtensionSet.MergeFrom(ref _extensions, other._extensions);
2056 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
2157 public FieldDescriptorProto(FieldDescriptorProto other) : this() {
2158 _hasBits0 = other._hasBits0;
2159 name_ = other.name_;
2160 number_ = other.number_;
2161 label_ = other.label_;
2162 type_ = other.type_;
2163 typeName_ = other.typeName_;
2164 extendee_ = other.extendee_;
2165 defaultValue_ = other.defaultValue_;
2166 oneofIndex_ = other.oneofIndex_;
2167 jsonName_ = other.jsonName_;
2168 options_ = other.options_ != null ? other.options_.Clone() : null;
2169 proto3Optional_ = other.proto3Optional_;
2170 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
2480 public override bool Equals(object other) {
2481 return Equals(other as FieldDescriptorProto);
2485 public bool Equals(FieldDescriptorProto other) {
2486 if (ReferenceEquals(other, null)) {
2489 if (ReferenceEquals(other, this)) {
2492 if (Name != other.Name) return false;
2493 if (Number != other.Number) return false;
2494 if (Label != other.Label) return false;
2495 if (Type != other.Type) return false;
2496 if (TypeName != other.TypeName) return false;
2497 if (Extendee != other.Extendee) return false;
2498 if (DefaultValue != other.DefaultValue) return false;
2499 if (OneofIndex != other.OneofIndex) return false;
2500 if (JsonName != other.JsonName) return false;
2501 if (!object.Equals(Options, other.Options)) return false;
2502 if (Proto3Optional != other.Proto3Optional) return false;
2503 return Equals(_unknownFields, other._unknownFields);
2682 public void MergeFrom(FieldDescriptorProto other) {
2683 if (other == null) {
2686 if (other.HasName) {
2687 Name = other.Name;
2689 if (other.HasNumber) {
2690 Number = other.Number;
2692 if (other.HasLabel) {
2693 Label = other.Label;
2695 if (other.HasType) {
2696 Type = other.Type;
2698 if (other.HasTypeName) {
2699 TypeName = other.TypeName;
2701 if (other.HasExtendee) {
2702 Extendee = other.Extendee;
2704 if (other.HasDefaultValue) {
2705 DefaultValue = other.DefaultValue;
2707 if (other.HasOneofIndex) {
2708 OneofIndex = other.OneofIndex;
2710 if (other.HasJsonName) {
2711 JsonName = other.JsonName;
2713 if (other.options_ != null) {
2717 Options.MergeFrom(other.Options);
2719 if (other.HasProto3Optional) {
2720 Proto3Optional = other.Proto3Optional;
2722 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
2949 public OneofDescriptorProto(OneofDescriptorProto other) : this() {
2950 name_ = other.name_;
2951 options_ = other.options_ != null ? other.options_.Clone() : null;
2952 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
2995 public override bool Equals(object other) {
2996 return Equals(other as OneofDescriptorProto);
3000 public bool Equals(OneofDescriptorProto other) {
3001 if (ReferenceEquals(other, null)) {
3004 if (ReferenceEquals(other, this)) {
3007 if (Name != other.Name) return false;
3008 if (!object.Equals(Options, other.Options)) return false;
3009 return Equals(_unknownFields, other._unknownFields);
3080 public void MergeFrom(OneofDescriptorProto other) {
3081 if (other == null) {
3084 if (other.HasName) {
3085 Name = other.Name;
3087 if (other.options_ != null) {
3091 Options.MergeFrom(other.Options);
3093 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
3181 public EnumDescriptorProto(EnumDescriptorProto other) : this() {
3182 name_ = other.name_;
3183 value_ = other.value_.Clone();
3184 options_ = other.options_ != null ? other.options_.Clone() : null;
3185 reservedRange_ = other.reservedRange_.Clone();
3186 reservedName_ = other.reservedName_.Clone();
3187 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
3269 public override bool Equals(object other) {
3270 return Equals(other as EnumDescriptorProto);
3274 public bool Equals(EnumDescriptorProto other) {
3275 if (ReferenceEquals(other, null)) {
3278 if (ReferenceEquals(other, this)) {
3281 if (Name != other.Name) return false;
3282 if(!value_.Equals(other.value_)) return false;
3283 if (!object.Equals(Options, other.Options)) return false;
3284 if(!reservedRange_.Equals(other.reservedRange_)) return false;
3285 if(!reservedName_.Equals(other.reservedName_)) return false;
3286 return Equals(_unknownFields, other._unknownFields);
3369 public void MergeFrom(EnumDescriptorProto other) {
3370 if (other == null) {
3373 if (other.HasName) {
3374 Name = other.Name;
3376 value_.Add(other.value_);
3377 if (other.options_ != null) {
3381 Options.MergeFrom(other.Options);
3383 reservedRange_.Add(other.reservedRange_);
3384 reservedName_.Add(other.reservedName_);
3385 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
3505 public EnumReservedRange(EnumReservedRange other) : this() {
3506 _hasBits0 = other._hasBits0;
3507 start_ = other.start_;
3508 end_ = other.end_;
3509 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
3572 public override bool Equals(object other) {
3573 return Equals(other as EnumReservedRange);
3577 public bool Equals(EnumReservedRange other) {
3578 if (ReferenceEquals(other, null)) {
3581 if (ReferenceEquals(other, this)) {
3584 if (Start != other.Start) return false;
3585 if (End != other.End) return false;
3586 return Equals(_unknownFields, other._unknownFields);
3657 public void MergeFrom(EnumReservedRange other) {
3658 if (other == null) {
3661 if (other.HasStart) {
3662 Start = other.Start;
3664 if (other.HasEnd) {
3665 End = other.End;
3667 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
3755 public EnumValueDescriptorProto(EnumValueDescriptorProto other) : this() {
3756 _hasBits0 = other._hasBits0;
3757 name_ = other.name_;
3758 number_ = other.number_;
3759 options_ = other.options_ != null ? other.options_.Clone() : null;
3760 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
3827 public override bool Equals(object other) {
3828 return Equals(other as EnumValueDescriptorProto);
3832 public bool Equals(EnumValueDescriptorProto other) {
3833 if (ReferenceEquals(other, null)) {
3836 if (ReferenceEquals(other, this)) {
3839 if (Name != other.Name) return false;
3840 if (Number != other.Number) return false;
3841 if (!object.Equals(Options, other.Options)) return false;
3842 return Equals(_unknownFields, other._unknownFields);
3925 public void MergeFrom(EnumValueDescriptorProto other) {
3926 if (other == null) {
3929 if (other.HasName) {
3930 Name = other.Name;
3932 if (other.HasNumber) {
3933 Number = other.Number;
3935 if (other.options_ != null) {
3939 Options.MergeFrom(other.Options);
3941 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
4037 public ServiceDescriptorProto(ServiceDescriptorProto other) : this() {
4038 name_ = other.name_;
4039 method_ = other.method_.Clone();
4040 options_ = other.options_ != null ? other.options_.Clone() : null;
4041 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
4094 public override bool Equals(object other) {
4095 return Equals(other as ServiceDescriptorProto);
4099 public bool Equals(ServiceDescriptorProto other) {
4100 if (ReferenceEquals(other, null)) {
4103 if (ReferenceEquals(other, this)) {
4106 if (Name != other.Name) return false;
4107 if(!method_.Equals(other.method_)) return false;
4108 if (!object.Equals(Options, other.Options)) return false;
4109 return Equals(_unknownFields, other._unknownFields);
4184 public void MergeFrom(ServiceDescriptorProto other) {
4185 if (other == null) {
4188 if (other.HasName) {
4189 Name = other.Name;
4191 method_.Add(other.method_);
4192 if (other.options_ != null) {
4196 Options.MergeFrom(other.Options);
4198 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
4295 public MethodDescriptorProto(MethodDescriptorProto other) : this() {
4296 _hasBits0 = other._hasBits0;
4297 name_ = other.name_;
4298 inputType_ = other.inputType_;
4299 outputType_ = other.outputType_;
4300 options_ = other.options_ != null ? other.options_.Clone() : null;
4301 clientStreaming_ = other.clientStreaming_;
4302 serverStreaming_ = other.serverStreaming_;
4303 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
4450 public override bool Equals(object other) {
4451 return Equals(other as MethodDescriptorProto);
4455 public bool Equals(MethodDescriptorProto other) {
4456 if (ReferenceEquals(other, null)) {
4459 if (ReferenceEquals(other, this)) {
4462 if (Name != other.Name) return false;
4463 if (InputType != other.InputType) return false;
4464 if (OutputType != other.OutputType) return false;
4465 if (!object.Equals(Options, other.Options)) return false;
4466 if (ClientStreaming != other.ClientStreaming) return false;
4467 if (ServerStreaming != other.ServerStreaming) return false;
4468 return Equals(_unknownFields, other._unknownFields);
4587 public void MergeFrom(MethodDescriptorProto other) {
4588 if (other == null) {
4591 if (other.HasName) {
4592 Name = other.Name;
4594 if (other.HasInputType) {
4595 InputType = other.InputType;
4597 if (other.HasOutputType) {
4598 OutputType = other.OutputType;
4600 if (other.options_ != null) {
4604 Options.MergeFrom(other.Options);
4606 if (other.HasClientStreaming) {
4607 ClientStreaming = other.ClientStreaming;
4609 if (other.HasServerStreaming) {
4610 ServerStreaming = other.ServerStreaming;
4612 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
4732 public FileOptions(FileOptions other) : this() {
4733 _hasBits0 = other._hasBits0;
4734 javaPackage_ = other.javaPackage_;
4735 javaOuterClassname_ = other.javaOuterClassname_;
4736 javaMultipleFiles_ = other.javaMultipleFiles_;
4737 javaGenerateEqualsAndHash_ = other.javaGenerateEqualsAndHash_;
4738 javaStringCheckUtf8_ = other.javaStringCheckUtf8_;
4739 optimizeFor_ = other.optimizeFor_;
4740 goPackage_ = other.goPackage_;
4741 ccGenericServices_ = other.ccGenericServices_;
4742 javaGenericServices_ = other.javaGenericServices_;
4743 pyGenericServices_ = other.pyGenericServices_;
4744 phpGenericServices_ = other.phpGenericServices_;
4745 deprecated_ = other.deprecated_;
4746 ccEnableArenas_ = other.ccEnableArenas_;
4747 objcClassPrefix_ = other.objcClassPrefix_;
4748 csharpNamespace_ = other.csharpNamespace_;
4749 swiftPrefix_ = other.swiftPrefix_;
4750 phpClassPrefix_ = other.phpClassPrefix_;
4751 phpNamespace_ = other.phpNamespace_;
4752 phpMetadataNamespace_ = other.phpMetadataNamespace_;
4753 rubyPackage_ = other.rubyPackage_;
4754 uninterpretedOption_ = other.uninterpretedOption_.Clone();
4755 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
4756 _extensions = pb::ExtensionSet.Clone(other._extensions);
5345 public override bool Equals(object other) {
5346 return Equals(other as FileOptions);
5350 public bool Equals(FileOptions other) {
5351 if (ReferenceEquals(other, null)) {
5354 if (ReferenceEquals(other, this)) {
5357 if (JavaPackage != other.JavaPackage) return false;
5358 if (JavaOuterClassname != other.JavaOuterClassname) return false;
5359 if (JavaMultipleFiles != other.JavaMultipleFiles) return false;
5360 if (JavaGenerateEqualsAndHash != other.JavaGenerateEqualsAndHash) return false;
5361 if (JavaStringCheckUtf8 != other.JavaStringCheckUtf8) return false;
5362 if (OptimizeFor != other.OptimizeFor) return false;
5363 if (GoPackage != other.GoPackage) return false;
5364 if (CcGenericServices != other.CcGenericServices) return false;
5365 if (JavaGenericServices != other.JavaGenericServices) return false;
5366 if (PyGenericServices != other.PyGenericServices) return false;
5367 if (PhpGenericServices != other.PhpGenericServices) return false;
5368 if (Deprecated != other.Deprecated) return false;
5369 if (CcEnableArenas != other.CcEnableArenas) return false;
5370 if (ObjcClassPrefix != other.ObjcClassPrefix) return false;
5371 if (CsharpNamespace != other.CsharpNamespace) return false;
5372 if (SwiftPrefix != other.SwiftPrefix) return false;
5373 if (PhpClassPrefix != other.PhpClassPrefix) return false;
5374 if (PhpNamespace != other.PhpNamespace) return false;
5375 if (PhpMetadataNamespace != other.PhpMetadataNamespace) return false;
5376 if (RubyPackage != other.RubyPackage) return false;
5377 if(!uninterpretedOption_.Equals(other.uninterpretedOption_)) return false;
5378 if (!Equals(_extensions, other._extensions)) {
5381 return Equals(_unknownFields, other._unknownFields);
5684 public void MergeFrom(FileOptions other) {
5685 if (other == null) {
5688 if (other.HasJavaPackage) {
5689 JavaPackage = other.JavaPackage;
5691 if (other.HasJavaOuterClassname) {
5692 JavaOuterClassname = other.JavaOuterClassname;
5694 if (other.HasJavaMultipleFiles) {
5695 JavaMultipleFiles = other.JavaMultipleFiles;
5697 if (other.HasJavaGenerateEqualsAndHash) {
5698 JavaGenerateEqualsAndHash = other.JavaGenerateEqualsAndHash;
5700 if (other.HasJavaStringCheckUtf8) {
5701 JavaStringCheckUtf8 = other.JavaStringCheckUtf8;
5703 if (other.HasOptimizeFor) {
5704 OptimizeFor = other.OptimizeFor;
5706 if (other.HasGoPackage) {
5707 GoPackage = other.GoPackage;
5709 if (other.HasCcGenericServices) {
5710 CcGenericServices = other.CcGenericServices;
5712 if (other.HasJavaGenericServices) {
5713 JavaGenericServices = other.JavaGenericServices;
5715 if (other.HasPyGenericServices) {
5716 PyGenericServices = other.PyGenericServices;
5718 if (other.HasPhpGenericServices) {
5719 PhpGenericServices = other.PhpGenericServices;
5721 if (other.HasDeprecated) {
5722 Deprecated = other.Deprecated;
5724 if (other.HasCcEnableArenas) {
5725 CcEnableArenas = other.CcEnableArenas;
5727 if (other.HasObjcClassPrefix) {
5728 ObjcClassPrefix = other.ObjcClassPrefix;
5730 if (other.HasCsharpNamespace) {
5731 CsharpNamespace = other.CsharpNamespace;
5733 if (other.HasSwiftPrefix) {
5734 SwiftPrefix = other.SwiftPrefix;
5736 if (other.HasPhpClassPrefix) {
5737 PhpClassPrefix = other.PhpClassPrefix;
5739 if (other.HasPhpNamespace) {
5740 PhpNamespace = other.PhpNamespace;
5742 if (other.HasPhpMetadataNamespace) {
5743 PhpMetadataNamespace = other.PhpMetadataNamespace;
5745 if (other.HasRubyPackage) {
5746 RubyPackage = other.RubyPackage;
5748 uninterpretedOption_.Add(other.uninterpretedOption_);
5749 pb::ExtensionSet.MergeFrom(ref _extensions, other._extensions);
5750 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
6035 public MessageOptions(MessageOptions other) : this() {
6036 _hasBits0 = other._hasBits0;
6037 messageSetWireFormat_ = other.messageSetWireFormat_;
6038 noStandardDescriptorAccessor_ = other.noStandardDescriptorAccessor_;
6039 deprecated_ = other.deprecated_;
6040 mapEntry_ = other.mapEntry_;
6041 uninterpretedOption_ = other.uninterpretedOption_.Clone();
6042 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
6043 _extensions = pb::ExtensionSet.Clone(other._extensions);
6059 /// format. You should not use this for any other reason: It's less
6215 public override bool Equals(object other) {
6216 return Equals(other as MessageOptions);
6220 public bool Equals(MessageOptions other) {
6221 if (ReferenceEquals(other, null)) {
6224 if (ReferenceEquals(other, this)) {
6227 if (MessageSetWireFormat != other.MessageSetWireFormat) return false;
6228 if (NoStandardDescriptorAccessor != other.NoStandardDescriptorAccessor) return false;
6229 if (Deprecated != other.Deprecated) return false;
6230 if (MapEntry != other.MapEntry) return false;
6231 if(!uninterpretedOption_.Equals(other.uninterpretedOption_)) return false;
6232 if (!Equals(_extensions, other._extensions)) {
6235 return Equals(_unknownFields, other._unknownFields);
6346 public void MergeFrom(MessageOptions other) {
6347 if (other == null) {
6350 if (other.HasMessageSetWireFormat) {
6351 MessageSetWireFormat = other.MessageSetWireFormat;
6353 if (other.HasNoStandardDescriptorAccessor) {
6354 NoStandardDescriptorAccessor = other.NoStandardDescriptorAccessor;
6356 if (other.HasDeprecated) {
6357 Deprecated = other.Deprecated;
6359 if (other.HasMapEntry) {
6360 MapEntry = other.MapEntry;
6362 uninterpretedOption_.Add(other.uninterpretedOption_);
6363 pb::ExtensionSet.MergeFrom(ref _extensions, other._extensions);
6364 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
6496 public FieldOptions(FieldOptions other) : this() {
6497 _hasBits0 = other._hasBits0;
6498 ctype_ = other.ctype_;
6499 packed_ = other.packed_;
6500 jstype_ = other.jstype_;
6501 lazy_ = other.lazy_;
6502 deprecated_ = other.deprecated_;
6503 weak_ = other.weak_;
6504 uninterpretedOption_ = other.uninterpretedOption_.Clone();
6505 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
6506 _extensions = pb::ExtensionSet.Clone(other._extensions);
6736 public override bool Equals(object other) {
6737 return Equals(other as FieldOptions);
6741 public bool Equals(FieldOptions other) {
6742 if (ReferenceEquals(other, null)) {
6745 if (ReferenceEquals(other, this)) {
6748 if (Ctype != other.Ctype) return false;
6749 if (Packed != other.Packed) return false;
6750 if (Jstype != other.Jstype) return false;
6751 if (Lazy != other.Lazy) return false;
6752 if (Deprecated != other.Deprecated) return false;
6753 if (Weak != other.Weak) return false;
6754 if(!uninterpretedOption_.Equals(other.uninterpretedOption_)) return false;
6755 if (!Equals(_extensions, other._extensions)) {
6758 return Equals(_unknownFields, other._unknownFields);
6893 public void MergeFrom(FieldOptions other) {
6894 if (other == null) {
6897 if (other.HasCtype) {
6898 Ctype = other.Ctype;
6900 if (other.HasPacked) {
6901 Packed = other.Packed;
6903 if (other.HasJstype) {
6904 Jstype = other.Jstype;
6906 if (other.HasLazy) {
6907 Lazy = other.Lazy;
6909 if (other.HasDeprecated) {
6910 Deprecated = other.Deprecated;
6912 if (other.HasWeak) {
6913 Weak = other.Weak;
6915 uninterpretedOption_.Add(other.uninterpretedOption_);
6916 pb::ExtensionSet.MergeFrom(ref _extensions, other._extensions);
6917 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
7095 public OneofOptions(OneofOptions other) : this() {
7096 uninterpretedOption_ = other.uninterpretedOption_.Clone();
7097 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
7098 _extensions = pb::ExtensionSet.Clone(other._extensions);
7120 public override bool Equals(object other) {
7121 return Equals(other as OneofOptions);
7125 public bool Equals(OneofOptions other) {
7126 if (ReferenceEquals(other, null)) {
7129 if (ReferenceEquals(other, this)) {
7132 if(!uninterpretedOption_.Equals(other.uninterpretedOption_)) return false;
7133 if (!Equals(_extensions, other._extensions)) {
7136 return Equals(_unknownFields, other._unknownFields);
7199 public void MergeFrom(OneofOptions other) {
7200 if (other == null) {
7203 uninterpretedOption_.Add(other.uninterpretedOption_);
7204 pb::ExtensionSet.MergeFrom(ref _extensions, other._extensions);
7205 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
7305 public EnumOptions(EnumOptions other) : this() {
7306 _hasBits0 = other._hasBits0;
7307 allowAlias_ = other.allowAlias_;
7308 deprecated_ = other.deprecated_;
7309 uninterpretedOption_ = other.uninterpretedOption_.Clone();
7310 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
7311 _extensions = pb::ExtensionSet.Clone(other._extensions);
7391 public override bool Equals(object other) {
7392 return Equals(other as EnumOptions);
7396 public bool Equals(EnumOptions other) {
7397 if (ReferenceEquals(other, null)) {
7400 if (ReferenceEquals(other, this)) {
7403 if (AllowAlias != other.AllowAlias) return false;
7404 if (Deprecated != other.Deprecated) return false;
7405 if(!uninterpretedOption_.Equals(other.uninterpretedOption_)) return false;
7406 if (!Equals(_extensions, other._extensions)) {
7409 return Equals(_unknownFields, other._unknownFields);
7496 public void MergeFrom(EnumOptions other) {
7497 if (other == null) {
7500 if (other.HasAllowAlias) {
7501 AllowAlias = other.AllowAlias;
7503 if (other.HasDeprecated) {
7504 Deprecated = other.Deprecated;
7506 uninterpretedOption_.Add(other.uninterpretedOption_);
7507 pb::ExtensionSet.MergeFrom(ref _extensions, other._extensions);
7508 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
7624 public EnumValueOptions(EnumValueOptions other) : this() {
7625 _hasBits0 = other._hasBits0;
7626 deprecated_ = other.deprecated_;
7627 uninterpretedOption_ = other.uninterpretedOption_.Clone();
7628 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
7629 _extensions = pb::ExtensionSet.Clone(other._extensions);
7681 public override bool Equals(object other) {
7682 return Equals(other as EnumValueOptions);
7686 public bool Equals(EnumValueOptions other) {
7687 if (ReferenceEquals(other, null)) {
7690 if (ReferenceEquals(other, this)) {
7693 if (Deprecated != other.Deprecated) return false;
7694 if(!uninterpretedOption_.Equals(other.uninterpretedOption_)) return false;
7695 if (!Equals(_extensions, other._extensions)) {
7698 return Equals(_unknownFields, other._unknownFields);
7773 public void MergeFrom(EnumValueOptions other) {
7774 if (other == null) {
7777 if (other.HasDeprecated) {
7778 Deprecated = other.Deprecated;
7780 uninterpretedOption_.Add(other.uninterpretedOption_);
7781 pb::ExtensionSet.MergeFrom(ref _extensions, other._extensions);
7782 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
7890 public ServiceOptions(ServiceOptions other) : this() {
7891 _hasBits0 = other._hasBits0;
7892 deprecated_ = other.deprecated_;
7893 uninterpretedOption_ = other.uninterpretedOption_.Clone();
7894 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
7895 _extensions = pb::ExtensionSet.Clone(other._extensions);
7947 public override bool Equals(object other) {
7948 return Equals(other as ServiceOptions);
7952 public bool Equals(ServiceOptions other) {
7953 if (ReferenceEquals(other, null)) {
7956 if (ReferenceEquals(other, this)) {
7959 if (Deprecated != other.Deprecated) return false;
7960 if(!uninterpretedOption_.Equals(other.uninterpretedOption_)) return false;
7961 if (!Equals(_extensions, other._extensions)) {
7964 return Equals(_unknownFields, other._unknownFields);
8039 public void MergeFrom(ServiceOptions other) {
8040 if (other == null) {
8043 if (other.HasDeprecated) {
8044 Deprecated = other.Deprecated;
8046 uninterpretedOption_.Add(other.uninterpretedOption_);
8047 pb::ExtensionSet.MergeFrom(ref _extensions, other._extensions);
8048 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
8156 public MethodOptions(MethodOptions other) : this() {
8157 _hasBits0 = other._hasBits0;
8158 deprecated_ = other.deprecated_;
8159 idempotencyLevel_ = other.idempotencyLevel_;
8160 uninterpretedOption_ = other.uninterpretedOption_.Clone();
8161 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
8162 _extensions = pb::ExtensionSet.Clone(other._extensions);
8238 public override bool Equals(object other) {
8239 return Equals(other as MethodOptions);
8243 public bool Equals(MethodOptions other) {
8244 if (ReferenceEquals(other, null)) {
8247 if (ReferenceEquals(other, this)) {
8250 if (Deprecated != other.Deprecated) return false;
8251 if (IdempotencyLevel != other.IdempotencyLevel) return false;
8252 if(!uninterpretedOption_.Equals(other.uninterpretedOption_)) return false;
8253 if (!Equals(_extensions, other._extensions)) {
8256 return Equals(_unknownFields, other._unknownFields);
8343 public void MergeFrom(MethodOptions other) {
8344 if (other == null) {
8347 if (other.HasDeprecated) {
8348 Deprecated = other.Deprecated;
8350 if (other.HasIdempotencyLevel) {
8351 IdempotencyLevel = other.IdempotencyLevel;
8353 uninterpretedOption_.Add(other.uninterpretedOption_);
8354 pb::ExtensionSet.MergeFrom(ref _extensions, other._extensions);
8355 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
8501 public UninterpretedOption(UninterpretedOption other) : this() {
8502 _hasBits0 = other._hasBits0;
8503 name_ = other.name_.Clone();
8504 identifierValue_ = other.identifierValue_;
8505 positiveIntValue_ = other.positiveIntValue_;
8506 negativeIntValue_ = other.negativeIntValue_;
8507 doubleValue_ = other.doubleValue_;
8508 stringValue_ = other.stringValue_;
8509 aggregateValue_ = other.aggregateValue_;
8510 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
8674 public override bool Equals(object other) {
8675 return Equals(other as UninterpretedOption);
8679 public bool Equals(UninterpretedOption other) {
8680 if (ReferenceEquals(other, null)) {
8683 if (ReferenceEquals(other, this)) {
8686 if(!name_.Equals(other.name_)) return false;
8687 if (IdentifierValue != other.IdentifierValue) return false;
8688 if (PositiveIntValue != other.PositiveIntValue) return false;
8689 if (NegativeIntValue != other.NegativeIntValue) return false;
8690 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(DoubleValue, other.DoubleValue)) return false;
8691 if (StringValue != other.StringValue) return false;
8692 if (AggregateValue != other.AggregateValue) return false;
8693 return Equals(_unknownFields, other._unknownFields);
8816 public void MergeFrom(UninterpretedOption other) {
8817 if (other == null) {
8820 name_.Add(other.name_);
8821 if (other.HasIdentifierValue) {
8822 IdentifierValue = other.IdentifierValue;
8824 if (other.HasPositiveIntValue) {
8825 PositiveIntValue = other.PositiveIntValue;
8827 if (other.HasNegativeIntValue) {
8828 NegativeIntValue = other.NegativeIntValue;
8830 if (other.HasDoubleValue) {
8831 DoubleValue = other.DoubleValue;
8833 if (other.HasStringValue) {
8834 StringValue = other.StringValue;
8836 if (other.HasAggregateValue) {
8837 AggregateValue = other.AggregateValue;
8839 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
8968 public NamePart(NamePart other) : this() {
8969 _hasBits0 = other._hasBits0;
8970 namePart_ = other.namePart_;
8971 isExtension_ = other.isExtension_;
8972 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
9028 public override bool Equals(object other) {
9029 return Equals(other as NamePart);
9033 public bool Equals(NamePart other) {
9034 if (ReferenceEquals(other, null)) {
9037 if (ReferenceEquals(other, this)) {
9040 if (NamePart_ != other.NamePart_) return false;
9041 if (IsExtension != other.IsExtension) return false;
9042 return Equals(_unknownFields, other._unknownFields);
9113 public void MergeFrom(NamePart other) {
9114 if (other == null) {
9117 if (other.HasNamePart_) {
9118 NamePart_ = other.NamePart_;
9120 if (other.HasIsExtension) {
9121 IsExtension = other.IsExtension;
9123 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
9211 public SourceCodeInfo(SourceCodeInfo other) : this() {
9212 location_ = other.location_.Clone();
9213 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
9263 /// - Just because a location's span is a subset of some other location's span
9277 public override bool Equals(object other) {
9278 return Equals(other as SourceCodeInfo);
9282 public bool Equals(SourceCodeInfo other) {
9283 if (ReferenceEquals(other, null)) {
9286 if (ReferenceEquals(other, this)) {
9289 if(!location_.Equals(other.location_)) return false;
9290 return Equals(_unknownFields, other._unknownFields);
9341 public void MergeFrom(SourceCodeInfo other) {
9342 if (other == null) {
9345 location_.Add(other.location_);
9346 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
9419 public Location(Location other) : this() {
9420 path_ = other.path_.Clone();
9421 span_ = other.span_.Clone();
9422 leadingComments_ = other.leadingComments_;
9423 trailingComments_ = other.trailingComments_;
9424 leadingDetachedComments_ = other.leadingDetachedComments_.Clone();
9425 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
9495 /// A series of line comments appearing on consecutive lines, with no other
9505 /// will be stripped from the beginning of each line other than the first.
9591 public override bool Equals(object other) {
9592 return Equals(other as Location);
9596 public bool Equals(Location other) {
9597 if (ReferenceEquals(other, null)) {
9600 if (ReferenceEquals(other, this)) {
9603 if(!path_.Equals(other.path_)) return false;
9604 if(!span_.Equals(other.span_)) return false;
9605 if (LeadingComments != other.LeadingComments) return false;
9606 if (TrailingComments != other.TrailingComments) return false;
9607 if(!leadingDetachedComments_.Equals(other.leadingDetachedComments_)) return false;
9608 return Equals(_unknownFields, other._unknownFields);
9691 public void MergeFrom(Location other) {
9692 if (other == null) {
9695 path_.Add(other.path_);
9696 span_.Add(other.span_);
9697 if (other.HasLeadingComments) {
9698 LeadingComments = other.LeadingComments;
9700 if (other.HasTrailingComments) {
9701 TrailingComments = other.TrailingComments;
9703 leadingDetachedComments_.Add(other.leadingDetachedComments_);
9704 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
9821 public GeneratedCodeInfo(GeneratedCodeInfo other) : this() {
9822 annotation_ = other.annotation_.Clone();
9823 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
9846 public override bool Equals(object other) {
9847 return Equals(other as GeneratedCodeInfo);
9851 public bool Equals(GeneratedCodeInfo other) {
9852 if (ReferenceEquals(other, null)) {
9855 if (ReferenceEquals(other, this)) {
9858 if(!annotation_.Equals(other.annotation_)) return false;
9859 return Equals(_unknownFields, other._unknownFields);
9910 public void MergeFrom(GeneratedCodeInfo other) {
9911 if (other == null) {
9914 annotation_.Add(other.annotation_);
9915 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
9989 public Annotation(Annotation other) : this() {
9990 _hasBits0 = other._hasBits0;
9991 path_ = other.path_.Clone();
9992 sourceFile_ = other.sourceFile_;
9993 begin_ = other.begin_;
9994 end_ = other.end_;
9995 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
10101 public override bool Equals(object other) {
10102 return Equals(other as Annotation);
10106 public bool Equals(Annotation other) {
10107 if (ReferenceEquals(other, null)) {
10110 if (ReferenceEquals(other, this)) {
10113 if(!path_.Equals(other.path_)) return false;
10114 if (SourceFile != other.SourceFile) return false;
10115 if (Begin != other.Begin) return false;
10116 if (End != other.End) return false;
10117 return Equals(_unknownFields, other._unknownFields);
10204 public void MergeFrom(Annotation other) {
10205 if (other == null) {
10208 path_.Add(other.path_);
10209 if (other.HasSourceFile) {
10210 SourceFile = other.SourceFile;
10212 if (other.HasBegin) {
10213 Begin = other.Begin;
10215 if (other.HasEnd) {
10216 End = other.End;
10218 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);