@@ -175,16 +175,17 @@ static SignalServiceReflection() {
175
175
"DGxlbmd0aF9vbmVvZkIOCgxudW1iZXJfb25lb2ZCDAoKbmFtZV9vbmVvZkIO" ,
176
176
"CgxhdmF0YXJfb25lb2ZCDQoLY29sb3Jfb25lb2ZCEAoOdmVyaWZpZWRfb25l" ,
177
177
"b2ZCEgoQcHJvZmlsZUtleV9vbmVvZkIPCg1ibG9ja2VkX29uZW9mQhMKEWV4" ,
178
- "cGlyZVRpbWVyX29uZW9mIsACCgxHcm91cERldGFpbHMSDAoCaWQYASABKAxI " ,
178
+ "cGlyZVRpbWVyX29uZW9mIuACCgxHcm91cERldGFpbHMSDAoCaWQYASABKAxI " ,
179
179
"ABIOCgRuYW1lGAIgASgJSAESDwoHbWVtYmVycxgDIAMoCRIxCgZhdmF0YXIY" ,
180
180
"BCABKAsyHy50ZXh0c2VjdXJlLkdyb3VwRGV0YWlscy5BdmF0YXJIAhIQCgZh" ,
181
- "Y3RpdmUYBSABKAhIAxIVCgtleHBpcmVUaW1lchgGIAEoDUgEGlYKBkF2YXRh" ,
182
- "chIVCgtjb250ZW50VHlwZRgBIAEoCUgAEhAKBmxlbmd0aBgCIAEoDUgBQhMK" ,
183
- "EWNvbnRlbnRUeXBlX29uZW9mQg4KDGxlbmd0aF9vbmVvZkIKCghpZF9vbmVv" ,
184
- "ZkIMCgpuYW1lX29uZW9mQg4KDGF2YXRhcl9vbmVvZkIOCgxhY3RpdmVfb25l" ,
185
- "b2ZCEwoRZXhwaXJlVGltZXJfb25lb2ZCWgorb3JnLndoaXNwZXJzeXN0ZW1z" ,
186
- "LnRleHRzZWN1cmUuaW50ZXJuYWwucHVzaEITU2lnbmFsU2VydmljZVByb3Rv" ,
187
- "c6oCFWxpYnNpZ25hbHNlcnZpY2UucHVzaGIGcHJvdG8z" ) ) ;
181
+ "Y3RpdmUYBSABKAhIAxIVCgtleHBpcmVUaW1lchgGIAEoDUgEEg8KBWNvbG9y" ,
182
+ "GAcgASgJSAUaVgoGQXZhdGFyEhUKC2NvbnRlbnRUeXBlGAEgASgJSAASEAoG" ,
183
+ "bGVuZ3RoGAIgASgNSAFCEwoRY29udGVudFR5cGVfb25lb2ZCDgoMbGVuZ3Ro" ,
184
+ "X29uZW9mQgoKCGlkX29uZW9mQgwKCm5hbWVfb25lb2ZCDgoMYXZhdGFyX29u" ,
185
+ "ZW9mQg4KDGFjdGl2ZV9vbmVvZkITChFleHBpcmVUaW1lcl9vbmVvZkINCgtj" ,
186
+ "b2xvcl9vbmVvZkJaCitvcmcud2hpc3BlcnN5c3RlbXMudGV4dHNlY3VyZS5p" ,
187
+ "bnRlcm5hbC5wdXNoQhNTaWduYWxTZXJ2aWNlUHJvdG9zqgIVbGlic2lnbmFs" ,
188
+ "c2VydmljZS5wdXNoYgZwcm90bzM=" ) ) ;
188
189
descriptor = pbr ::FileDescriptor . FromGeneratedCode ( descriptorData ,
189
190
new pbr ::FileDescriptor [ ] { } ,
190
191
new pbr ::GeneratedClrTypeInfo ( null , new pbr ::GeneratedClrTypeInfo [ ] {
@@ -214,7 +215,7 @@ static SignalServiceReflection() {
214
215
new pbr ::GeneratedClrTypeInfo ( typeof ( global ::libsignalservice . push . AttachmentPointer ) , global ::libsignalservice . push . AttachmentPointer . Parser , new [ ] { "Id" , "ContentType" , "Key" , "Size" , "Thumbnail" , "Digest" , "FileName" , "Flags" , "Width" , "Height" } , new [ ] { "IdOneof" , "ContentTypeOneof" , "KeyOneof" , "SizeOneof" , "ThumbnailOneof" , "DigestOneof" , "FileNameOneof" , "FlagsOneof" , "WidthOneof" , "HeightOneof" } , new [ ] { typeof ( global ::libsignalservice . push . AttachmentPointer . Types . Flags ) } , null ) ,
215
216
new pbr ::GeneratedClrTypeInfo ( typeof ( global ::libsignalservice . push . GroupContext ) , global ::libsignalservice . push . GroupContext . Parser , new [ ] { "Id" , "Type" , "Name" , "Members" , "Avatar" } , new [ ] { "IdOneof" , "TypeOneof" , "NameOneof" , "AvatarOneof" } , new [ ] { typeof ( global ::libsignalservice . push . GroupContext . Types . Type ) } , null ) ,
216
217
new pbr ::GeneratedClrTypeInfo ( typeof ( global ::libsignalservice . push . ContactDetails ) , global ::libsignalservice . push . ContactDetails . Parser , new [ ] { "Number" , "Name" , "Avatar" , "Color" , "Verified" , "ProfileKey" , "Blocked" , "ExpireTimer" } , new [ ] { "NumberOneof" , "NameOneof" , "AvatarOneof" , "ColorOneof" , "VerifiedOneof" , "ProfileKeyOneof" , "BlockedOneof" , "ExpireTimerOneof" } , null , new pbr ::GeneratedClrTypeInfo [ ] { new pbr ::GeneratedClrTypeInfo ( typeof ( global ::libsignalservice . push . ContactDetails . Types . Avatar ) , global ::libsignalservice . push . ContactDetails . Types . Avatar . Parser , new [ ] { "ContentType" , "Length" } , new [ ] { "ContentTypeOneof" , "LengthOneof" } , null , null ) } ) ,
217
- new pbr ::GeneratedClrTypeInfo ( typeof ( global ::libsignalservice . push . GroupDetails ) , global ::libsignalservice . push . GroupDetails . Parser , new [ ] { "Id" , "Name" , "Members" , "Avatar" , "Active" , "ExpireTimer" } , new [ ] { "IdOneof" , "NameOneof" , "AvatarOneof" , "ActiveOneof" , "ExpireTimerOneof" } , null , new pbr ::GeneratedClrTypeInfo [ ] { new pbr ::GeneratedClrTypeInfo ( typeof ( global ::libsignalservice . push . GroupDetails . Types . Avatar ) , global ::libsignalservice . push . GroupDetails . Types . Avatar . Parser , new [ ] { "ContentType" , "Length" } , new [ ] { "ContentTypeOneof" , "LengthOneof" } , null , null ) } )
218
+ new pbr ::GeneratedClrTypeInfo ( typeof ( global ::libsignalservice . push . GroupDetails ) , global ::libsignalservice . push . GroupDetails . Parser , new [ ] { "Id" , "Name" , "Members" , "Avatar" , "Active" , "ExpireTimer" , "Color" } , new [ ] { "IdOneof" , "NameOneof" , "AvatarOneof" , "ActiveOneof" , "ExpireTimerOneof" , "ColorOneof " } , null , new pbr ::GeneratedClrTypeInfo [ ] { new pbr ::GeneratedClrTypeInfo ( typeof ( global ::libsignalservice . push . GroupDetails . Types . Avatar ) , global ::libsignalservice . push . GroupDetails . Types . Avatar . Parser , new [ ] { "ContentType" , "Length" } , new [ ] { "ContentTypeOneof" , "LengthOneof" } , null , null ) } )
218
219
} ) ) ;
219
220
}
220
221
#endregion
@@ -10052,6 +10053,12 @@ public GroupDetails(GroupDetails other) : this() {
10052
10053
break ;
10053
10054
}
10054
10055
10056
+ switch ( other . ColorOneofCase ) {
10057
+ case ColorOneofOneofCase . Color :
10058
+ Color = other . Color ;
10059
+ break ;
10060
+ }
10061
+
10055
10062
}
10056
10063
10057
10064
[ global ::System . Diagnostics . DebuggerNonUserCodeAttribute ]
@@ -10124,6 +10131,17 @@ public uint ExpireTimer {
10124
10131
}
10125
10132
}
10126
10133
10134
+ /// <summary>Field number for the "color" field.</summary>
10135
+ public const int ColorFieldNumber = 7 ;
10136
+ [ global ::System . Diagnostics . DebuggerNonUserCodeAttribute ]
10137
+ public string Color {
10138
+ get { return colorOneofCase_ == ColorOneofOneofCase . Color ? ( string ) colorOneof_ : "" ; }
10139
+ set {
10140
+ colorOneof_ = pb ::ProtoPreconditions . CheckNotNull ( value , "value" ) ;
10141
+ colorOneofCase_ = ColorOneofOneofCase . Color ;
10142
+ }
10143
+ }
10144
+
10127
10145
private object idOneof_ ;
10128
10146
/// <summary>Enum of possible cases for the "id_oneof" oneof.</summary>
10129
10147
public enum IdOneofOneofCase {
@@ -10214,6 +10232,24 @@ public void ClearExpireTimerOneof() {
10214
10232
expireTimerOneof_ = null ;
10215
10233
}
10216
10234
10235
+ private object colorOneof_ ;
10236
+ /// <summary>Enum of possible cases for the "color_oneof" oneof.</summary>
10237
+ public enum ColorOneofOneofCase {
10238
+ None = 0 ,
10239
+ Color = 7 ,
10240
+ }
10241
+ private ColorOneofOneofCase colorOneofCase_ = ColorOneofOneofCase . None ;
10242
+ [ global ::System . Diagnostics . DebuggerNonUserCodeAttribute ]
10243
+ public ColorOneofOneofCase ColorOneofCase {
10244
+ get { return colorOneofCase_ ; }
10245
+ }
10246
+
10247
+ [ global ::System . Diagnostics . DebuggerNonUserCodeAttribute ]
10248
+ public void ClearColorOneof ( ) {
10249
+ colorOneofCase_ = ColorOneofOneofCase . None ;
10250
+ colorOneof_ = null ;
10251
+ }
10252
+
10217
10253
[ global ::System . Diagnostics . DebuggerNonUserCodeAttribute ]
10218
10254
public override bool Equals ( object other ) {
10219
10255
return Equals ( other as GroupDetails ) ;
@@ -10233,11 +10269,13 @@ public bool Equals(GroupDetails other) {
10233
10269
if ( ! object . Equals ( Avatar , other . Avatar ) ) return false ;
10234
10270
if ( Active != other . Active ) return false ;
10235
10271
if ( ExpireTimer != other . ExpireTimer ) return false ;
10272
+ if ( Color != other . Color ) return false ;
10236
10273
if ( IdOneofCase != other . IdOneofCase ) return false ;
10237
10274
if ( NameOneofCase != other . NameOneofCase ) return false ;
10238
10275
if ( AvatarOneofCase != other . AvatarOneofCase ) return false ;
10239
10276
if ( ActiveOneofCase != other . ActiveOneofCase ) return false ;
10240
10277
if ( ExpireTimerOneofCase != other . ExpireTimerOneofCase ) return false ;
10278
+ if ( ColorOneofCase != other . ColorOneofCase ) return false ;
10241
10279
return true ;
10242
10280
}
10243
10281
@@ -10250,11 +10288,13 @@ public override int GetHashCode() {
10250
10288
if ( avatarOneofCase_ == AvatarOneofOneofCase . Avatar ) hash ^= Avatar . GetHashCode ( ) ;
10251
10289
if ( activeOneofCase_ == ActiveOneofOneofCase . Active ) hash ^= Active . GetHashCode ( ) ;
10252
10290
if ( expireTimerOneofCase_ == ExpireTimerOneofOneofCase . ExpireTimer ) hash ^= ExpireTimer . GetHashCode ( ) ;
10291
+ if ( colorOneofCase_ == ColorOneofOneofCase . Color ) hash ^= Color . GetHashCode ( ) ;
10253
10292
hash ^= ( int ) idOneofCase_ ;
10254
10293
hash ^= ( int ) nameOneofCase_ ;
10255
10294
hash ^= ( int ) avatarOneofCase_ ;
10256
10295
hash ^= ( int ) activeOneofCase_ ;
10257
10296
hash ^= ( int ) expireTimerOneofCase_ ;
10297
+ hash ^= ( int ) colorOneofCase_ ;
10258
10298
return hash ;
10259
10299
}
10260
10300
@@ -10286,6 +10326,10 @@ public void WriteTo(pb::CodedOutputStream output) {
10286
10326
output . WriteRawTag ( 48 ) ;
10287
10327
output . WriteUInt32 ( ExpireTimer ) ;
10288
10328
}
10329
+ if ( colorOneofCase_ == ColorOneofOneofCase . Color ) {
10330
+ output . WriteRawTag ( 58 ) ;
10331
+ output . WriteString ( Color ) ;
10332
+ }
10289
10333
}
10290
10334
10291
10335
[ global ::System . Diagnostics . DebuggerNonUserCodeAttribute ]
@@ -10307,6 +10351,9 @@ public int CalculateSize() {
10307
10351
if ( expireTimerOneofCase_ == ExpireTimerOneofOneofCase . ExpireTimer ) {
10308
10352
size += 1 + pb ::CodedOutputStream . ComputeUInt32Size ( ExpireTimer ) ;
10309
10353
}
10354
+ if ( colorOneofCase_ == ColorOneofOneofCase . Color ) {
10355
+ size += 1 + pb ::CodedOutputStream . ComputeStringSize ( Color ) ;
10356
+ }
10310
10357
return size ;
10311
10358
}
10312
10359
@@ -10346,6 +10393,12 @@ public void MergeFrom(GroupDetails other) {
10346
10393
break ;
10347
10394
}
10348
10395
10396
+ switch ( other . ColorOneofCase ) {
10397
+ case ColorOneofOneofCase . Color :
10398
+ Color = other . Color ;
10399
+ break ;
10400
+ }
10401
+
10349
10402
}
10350
10403
10351
10404
[ global ::System . Diagnostics . DebuggerNonUserCodeAttribute ]
@@ -10385,6 +10438,10 @@ public void MergeFrom(pb::CodedInputStream input) {
10385
10438
ExpireTimer = input . ReadUInt32 ( ) ;
10386
10439
break ;
10387
10440
}
10441
+ case 58 : {
10442
+ Color = input . ReadString ( ) ;
10443
+ break ;
10444
+ }
10388
10445
}
10389
10446
}
10390
10447
}
0 commit comments