• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Generated by the protocol buffer compiler.  DO NOT EDIT!
2 // source: google/protobuf/struct.proto
3 #pragma warning disable 1591, 0612, 3021
4 #region Designer generated code
5 
6 using pb = global::Google.Protobuf;
7 using pbc = global::Google.Protobuf.Collections;
8 using pbr = global::Google.Protobuf.Reflection;
9 using scg = global::System.Collections.Generic;
10 namespace Google.Protobuf.WellKnownTypes {
11 
12   /// <summary>Holder for reflection information generated from google/protobuf/struct.proto</summary>
13   public static partial class StructReflection {
14 
15     #region Descriptor
16     /// <summary>File descriptor for google/protobuf/struct.proto</summary>
17     public static pbr::FileDescriptor Descriptor {
18       get { return descriptor; }
19     }
20     private static pbr::FileDescriptor descriptor;
21 
StructReflection()22     static StructReflection() {
23       byte[] descriptorData = global::System.Convert.FromBase64String(
24           string.Concat(
25             "Chxnb29nbGUvcHJvdG9idWYvc3RydWN0LnByb3RvEg9nb29nbGUucHJvdG9i",
26             "dWYihAEKBlN0cnVjdBIzCgZmaWVsZHMYASADKAsyIy5nb29nbGUucHJvdG9i",
27             "dWYuU3RydWN0LkZpZWxkc0VudHJ5GkUKC0ZpZWxkc0VudHJ5EgsKA2tleRgB",
28             "IAEoCRIlCgV2YWx1ZRgCIAEoCzIWLmdvb2dsZS5wcm90b2J1Zi5WYWx1ZToC",
29             "OAEi6gEKBVZhbHVlEjAKCm51bGxfdmFsdWUYASABKA4yGi5nb29nbGUucHJv",
30             "dG9idWYuTnVsbFZhbHVlSAASFgoMbnVtYmVyX3ZhbHVlGAIgASgBSAASFgoM",
31             "c3RyaW5nX3ZhbHVlGAMgASgJSAASFAoKYm9vbF92YWx1ZRgEIAEoCEgAEi8K",
32             "DHN0cnVjdF92YWx1ZRgFIAEoCzIXLmdvb2dsZS5wcm90b2J1Zi5TdHJ1Y3RI",
33             "ABIwCgpsaXN0X3ZhbHVlGAYgASgLMhouZ29vZ2xlLnByb3RvYnVmLkxpc3RW",
34             "YWx1ZUgAQgYKBGtpbmQiMwoJTGlzdFZhbHVlEiYKBnZhbHVlcxgBIAMoCzIW",
35             "Lmdvb2dsZS5wcm90b2J1Zi5WYWx1ZSobCglOdWxsVmFsdWUSDgoKTlVMTF9W",
36             "QUxVRRAAQoEBChNjb20uZ29vZ2xlLnByb3RvYnVmQgtTdHJ1Y3RQcm90b1AB",
37             "WjFnaXRodWIuY29tL2dvbGFuZy9wcm90b2J1Zi9wdHlwZXMvc3RydWN0O3N0",
38             "cnVjdHBioAEBogIDR1BCqgIeR29vZ2xlLlByb3RvYnVmLldlbGxLbm93blR5",
39             "cGVzYgZwcm90bzM="));
40       descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
41           new pbr::FileDescriptor[] { },
42           new pbr::GeneratedClrTypeInfo(new[] {typeof(global::Google.Protobuf.WellKnownTypes.NullValue), }, new pbr::GeneratedClrTypeInfo[] {
43             new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.WellKnownTypes.Struct), global::Google.Protobuf.WellKnownTypes.Struct.Parser, new[]{ "Fields" }, null, null, new pbr::GeneratedClrTypeInfo[] { null, }),
44             new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.WellKnownTypes.Value), global::Google.Protobuf.WellKnownTypes.Value.Parser, new[]{ "NullValue", "NumberValue", "StringValue", "BoolValue", "StructValue", "ListValue" }, new[]{ "Kind" }, null, null),
45             new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.WellKnownTypes.ListValue), global::Google.Protobuf.WellKnownTypes.ListValue.Parser, new[]{ "Values" }, null, null, null)
46           }));
47     }
48     #endregion
49 
50   }
51   #region Enums
52   /// <summary>
53   ///  `NullValue` is a singleton enumeration to represent the null value for the
54   ///  `Value` type union.
55   ///
56   ///   The JSON representation for `NullValue` is JSON `null`.
57   /// </summary>
58   public enum NullValue {
59     /// <summary>
60     ///  Null value.
61     /// </summary>
62     [pbr::OriginalName("NULL_VALUE")] NullValue = 0,
63   }
64 
65   #endregion
66 
67   #region Messages
68   /// <summary>
69   ///  `Struct` represents a structured data value, consisting of fields
70   ///  which map to dynamically typed values. In some languages, `Struct`
71   ///  might be supported by a native representation. For example, in
72   ///  scripting languages like JS a struct is represented as an
73   ///  object. The details of that representation are described together
74   ///  with the proto support for the language.
75   ///
76   ///  The JSON representation for `Struct` is JSON object.
77   /// </summary>
78   public sealed partial class Struct : pb::IMessage<Struct> {
79     private static readonly pb::MessageParser<Struct> _parser = new pb::MessageParser<Struct>(() => new Struct());
80     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
81     public static pb::MessageParser<Struct> Parser { get { return _parser; } }
82 
83     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
84     public static pbr::MessageDescriptor Descriptor {
85       get { return global::Google.Protobuf.WellKnownTypes.StructReflection.Descriptor.MessageTypes[0]; }
86     }
87 
88     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
89     pbr::MessageDescriptor pb::IMessage.Descriptor {
90       get { return Descriptor; }
91     }
92 
93     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Struct()94     public Struct() {
95       OnConstruction();
96     }
97 
OnConstruction()98     partial void OnConstruction();
99 
100     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Struct(Struct other)101     public Struct(Struct other) : this() {
102       fields_ = other.fields_.Clone();
103     }
104 
105     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Clone()106     public Struct Clone() {
107       return new Struct(this);
108     }
109 
110     /// <summary>Field number for the "fields" field.</summary>
111     public const int FieldsFieldNumber = 1;
112     private static readonly pbc::MapField<string, global::Google.Protobuf.WellKnownTypes.Value>.Codec _map_fields_codec
113         = new pbc::MapField<string, global::Google.Protobuf.WellKnownTypes.Value>.Codec(pb::FieldCodec.ForString(10), pb::FieldCodec.ForMessage(18, global::Google.Protobuf.WellKnownTypes.Value.Parser), 10);
114     private readonly pbc::MapField<string, global::Google.Protobuf.WellKnownTypes.Value> fields_ = new pbc::MapField<string, global::Google.Protobuf.WellKnownTypes.Value>();
115     /// <summary>
116     ///  Unordered map of dynamically typed values.
117     /// </summary>
118     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
119     public pbc::MapField<string, global::Google.Protobuf.WellKnownTypes.Value> Fields {
120       get { return fields_; }
121     }
122 
123     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Equals(object other)124     public override bool Equals(object other) {
125       return Equals(other as Struct);
126     }
127 
128     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Equals(Struct other)129     public bool Equals(Struct other) {
130       if (ReferenceEquals(other, null)) {
131         return false;
132       }
133       if (ReferenceEquals(other, this)) {
134         return true;
135       }
136       if (!Fields.Equals(other.Fields)) return false;
137       return true;
138     }
139 
140     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
GetHashCode()141     public override int GetHashCode() {
142       int hash = 1;
143       hash ^= Fields.GetHashCode();
144       return hash;
145     }
146 
147     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
ToString()148     public override string ToString() {
149       return pb::JsonFormatter.ToDiagnosticString(this);
150     }
151 
152     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
WriteTo(pb::CodedOutputStream output)153     public void WriteTo(pb::CodedOutputStream output) {
154       fields_.WriteTo(output, _map_fields_codec);
155     }
156 
157     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
CalculateSize()158     public int CalculateSize() {
159       int size = 0;
160       size += fields_.CalculateSize(_map_fields_codec);
161       return size;
162     }
163 
164     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
MergeFrom(Struct other)165     public void MergeFrom(Struct other) {
166       if (other == null) {
167         return;
168       }
169       fields_.Add(other.fields_);
170     }
171 
172     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
MergeFrom(pb::CodedInputStream input)173     public void MergeFrom(pb::CodedInputStream input) {
174       uint tag;
175       while ((tag = input.ReadTag()) != 0) {
176         switch(tag) {
177           default:
178             input.SkipLastField();
179             break;
180           case 10: {
181             fields_.AddEntriesFrom(input, _map_fields_codec);
182             break;
183           }
184         }
185       }
186     }
187 
188   }
189 
190   /// <summary>
191   ///  `Value` represents a dynamically typed value which can be either
192   ///  null, a number, a string, a boolean, a recursive struct value, or a
193   ///  list of values. A producer of value is expected to set one of that
194   ///  variants, absence of any variant indicates an error.
195   ///
196   ///  The JSON representation for `Value` is JSON value.
197   /// </summary>
198   public sealed partial class Value : pb::IMessage<Value> {
199     private static readonly pb::MessageParser<Value> _parser = new pb::MessageParser<Value>(() => new Value());
200     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
201     public static pb::MessageParser<Value> Parser { get { return _parser; } }
202 
203     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
204     public static pbr::MessageDescriptor Descriptor {
205       get { return global::Google.Protobuf.WellKnownTypes.StructReflection.Descriptor.MessageTypes[1]; }
206     }
207 
208     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
209     pbr::MessageDescriptor pb::IMessage.Descriptor {
210       get { return Descriptor; }
211     }
212 
213     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Value()214     public Value() {
215       OnConstruction();
216     }
217 
OnConstruction()218     partial void OnConstruction();
219 
220     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Value(Value other)221     public Value(Value other) : this() {
222       switch (other.KindCase) {
223         case KindOneofCase.NullValue:
224           NullValue = other.NullValue;
225           break;
226         case KindOneofCase.NumberValue:
227           NumberValue = other.NumberValue;
228           break;
229         case KindOneofCase.StringValue:
230           StringValue = other.StringValue;
231           break;
232         case KindOneofCase.BoolValue:
233           BoolValue = other.BoolValue;
234           break;
235         case KindOneofCase.StructValue:
236           StructValue = other.StructValue.Clone();
237           break;
238         case KindOneofCase.ListValue:
239           ListValue = other.ListValue.Clone();
240           break;
241       }
242 
243     }
244 
245     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Clone()246     public Value Clone() {
247       return new Value(this);
248     }
249 
250     /// <summary>Field number for the "null_value" field.</summary>
251     public const int NullValueFieldNumber = 1;
252     /// <summary>
253     ///  Represents a null value.
254     /// </summary>
255     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
256     public global::Google.Protobuf.WellKnownTypes.NullValue NullValue {
257       get { return kindCase_ == KindOneofCase.NullValue ? (global::Google.Protobuf.WellKnownTypes.NullValue) kind_ : 0; }
258       set {
259         kind_ = value;
260         kindCase_ = KindOneofCase.NullValue;
261       }
262     }
263 
264     /// <summary>Field number for the "number_value" field.</summary>
265     public const int NumberValueFieldNumber = 2;
266     /// <summary>
267     ///  Represents a double value.
268     /// </summary>
269     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
270     public double NumberValue {
271       get { return kindCase_ == KindOneofCase.NumberValue ? (double) kind_ : 0D; }
272       set {
273         kind_ = value;
274         kindCase_ = KindOneofCase.NumberValue;
275       }
276     }
277 
278     /// <summary>Field number for the "string_value" field.</summary>
279     public const int StringValueFieldNumber = 3;
280     /// <summary>
281     ///  Represents a string value.
282     /// </summary>
283     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
284     public string StringValue {
285       get { return kindCase_ == KindOneofCase.StringValue ? (string) kind_ : ""; }
286       set {
287         kind_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
288         kindCase_ = KindOneofCase.StringValue;
289       }
290     }
291 
292     /// <summary>Field number for the "bool_value" field.</summary>
293     public const int BoolValueFieldNumber = 4;
294     /// <summary>
295     ///  Represents a boolean value.
296     /// </summary>
297     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
298     public bool BoolValue {
299       get { return kindCase_ == KindOneofCase.BoolValue ? (bool) kind_ : false; }
300       set {
301         kind_ = value;
302         kindCase_ = KindOneofCase.BoolValue;
303       }
304     }
305 
306     /// <summary>Field number for the "struct_value" field.</summary>
307     public const int StructValueFieldNumber = 5;
308     /// <summary>
309     ///  Represents a structured value.
310     /// </summary>
311     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
312     public global::Google.Protobuf.WellKnownTypes.Struct StructValue {
313       get { return kindCase_ == KindOneofCase.StructValue ? (global::Google.Protobuf.WellKnownTypes.Struct) kind_ : null; }
314       set {
315         kind_ = value;
316         kindCase_ = value == null ? KindOneofCase.None : KindOneofCase.StructValue;
317       }
318     }
319 
320     /// <summary>Field number for the "list_value" field.</summary>
321     public const int ListValueFieldNumber = 6;
322     /// <summary>
323     ///  Represents a repeated `Value`.
324     /// </summary>
325     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
326     public global::Google.Protobuf.WellKnownTypes.ListValue ListValue {
327       get { return kindCase_ == KindOneofCase.ListValue ? (global::Google.Protobuf.WellKnownTypes.ListValue) kind_ : null; }
328       set {
329         kind_ = value;
330         kindCase_ = value == null ? KindOneofCase.None : KindOneofCase.ListValue;
331       }
332     }
333 
334     private object kind_;
335     /// <summary>Enum of possible cases for the "kind" oneof.</summary>
336     public enum KindOneofCase {
337       None = 0,
338       NullValue = 1,
339       NumberValue = 2,
340       StringValue = 3,
341       BoolValue = 4,
342       StructValue = 5,
343       ListValue = 6,
344     }
345     private KindOneofCase kindCase_ = KindOneofCase.None;
346     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
347     public KindOneofCase KindCase {
348       get { return kindCase_; }
349     }
350 
351     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
ClearKind()352     public void ClearKind() {
353       kindCase_ = KindOneofCase.None;
354       kind_ = null;
355     }
356 
357     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Equals(object other)358     public override bool Equals(object other) {
359       return Equals(other as Value);
360     }
361 
362     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Equals(Value other)363     public bool Equals(Value other) {
364       if (ReferenceEquals(other, null)) {
365         return false;
366       }
367       if (ReferenceEquals(other, this)) {
368         return true;
369       }
370       if (NullValue != other.NullValue) return false;
371       if (NumberValue != other.NumberValue) return false;
372       if (StringValue != other.StringValue) return false;
373       if (BoolValue != other.BoolValue) return false;
374       if (!object.Equals(StructValue, other.StructValue)) return false;
375       if (!object.Equals(ListValue, other.ListValue)) return false;
376       if (KindCase != other.KindCase) return false;
377       return true;
378     }
379 
380     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
GetHashCode()381     public override int GetHashCode() {
382       int hash = 1;
383       if (kindCase_ == KindOneofCase.NullValue) hash ^= NullValue.GetHashCode();
384       if (kindCase_ == KindOneofCase.NumberValue) hash ^= NumberValue.GetHashCode();
385       if (kindCase_ == KindOneofCase.StringValue) hash ^= StringValue.GetHashCode();
386       if (kindCase_ == KindOneofCase.BoolValue) hash ^= BoolValue.GetHashCode();
387       if (kindCase_ == KindOneofCase.StructValue) hash ^= StructValue.GetHashCode();
388       if (kindCase_ == KindOneofCase.ListValue) hash ^= ListValue.GetHashCode();
389       hash ^= (int) kindCase_;
390       return hash;
391     }
392 
393     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
ToString()394     public override string ToString() {
395       return pb::JsonFormatter.ToDiagnosticString(this);
396     }
397 
398     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
WriteTo(pb::CodedOutputStream output)399     public void WriteTo(pb::CodedOutputStream output) {
400       if (kindCase_ == KindOneofCase.NullValue) {
401         output.WriteRawTag(8);
402         output.WriteEnum((int) NullValue);
403       }
404       if (kindCase_ == KindOneofCase.NumberValue) {
405         output.WriteRawTag(17);
406         output.WriteDouble(NumberValue);
407       }
408       if (kindCase_ == KindOneofCase.StringValue) {
409         output.WriteRawTag(26);
410         output.WriteString(StringValue);
411       }
412       if (kindCase_ == KindOneofCase.BoolValue) {
413         output.WriteRawTag(32);
414         output.WriteBool(BoolValue);
415       }
416       if (kindCase_ == KindOneofCase.StructValue) {
417         output.WriteRawTag(42);
418         output.WriteMessage(StructValue);
419       }
420       if (kindCase_ == KindOneofCase.ListValue) {
421         output.WriteRawTag(50);
422         output.WriteMessage(ListValue);
423       }
424     }
425 
426     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
CalculateSize()427     public int CalculateSize() {
428       int size = 0;
429       if (kindCase_ == KindOneofCase.NullValue) {
430         size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) NullValue);
431       }
432       if (kindCase_ == KindOneofCase.NumberValue) {
433         size += 1 + 8;
434       }
435       if (kindCase_ == KindOneofCase.StringValue) {
436         size += 1 + pb::CodedOutputStream.ComputeStringSize(StringValue);
437       }
438       if (kindCase_ == KindOneofCase.BoolValue) {
439         size += 1 + 1;
440       }
441       if (kindCase_ == KindOneofCase.StructValue) {
442         size += 1 + pb::CodedOutputStream.ComputeMessageSize(StructValue);
443       }
444       if (kindCase_ == KindOneofCase.ListValue) {
445         size += 1 + pb::CodedOutputStream.ComputeMessageSize(ListValue);
446       }
447       return size;
448     }
449 
450     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
MergeFrom(Value other)451     public void MergeFrom(Value other) {
452       if (other == null) {
453         return;
454       }
455       switch (other.KindCase) {
456         case KindOneofCase.NullValue:
457           NullValue = other.NullValue;
458           break;
459         case KindOneofCase.NumberValue:
460           NumberValue = other.NumberValue;
461           break;
462         case KindOneofCase.StringValue:
463           StringValue = other.StringValue;
464           break;
465         case KindOneofCase.BoolValue:
466           BoolValue = other.BoolValue;
467           break;
468         case KindOneofCase.StructValue:
469           StructValue = other.StructValue;
470           break;
471         case KindOneofCase.ListValue:
472           ListValue = other.ListValue;
473           break;
474       }
475 
476     }
477 
478     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
MergeFrom(pb::CodedInputStream input)479     public void MergeFrom(pb::CodedInputStream input) {
480       uint tag;
481       while ((tag = input.ReadTag()) != 0) {
482         switch(tag) {
483           default:
484             input.SkipLastField();
485             break;
486           case 8: {
487             kind_ = input.ReadEnum();
488             kindCase_ = KindOneofCase.NullValue;
489             break;
490           }
491           case 17: {
492             NumberValue = input.ReadDouble();
493             break;
494           }
495           case 26: {
496             StringValue = input.ReadString();
497             break;
498           }
499           case 32: {
500             BoolValue = input.ReadBool();
501             break;
502           }
503           case 42: {
504             global::Google.Protobuf.WellKnownTypes.Struct subBuilder = new global::Google.Protobuf.WellKnownTypes.Struct();
505             if (kindCase_ == KindOneofCase.StructValue) {
506               subBuilder.MergeFrom(StructValue);
507             }
508             input.ReadMessage(subBuilder);
509             StructValue = subBuilder;
510             break;
511           }
512           case 50: {
513             global::Google.Protobuf.WellKnownTypes.ListValue subBuilder = new global::Google.Protobuf.WellKnownTypes.ListValue();
514             if (kindCase_ == KindOneofCase.ListValue) {
515               subBuilder.MergeFrom(ListValue);
516             }
517             input.ReadMessage(subBuilder);
518             ListValue = subBuilder;
519             break;
520           }
521         }
522       }
523     }
524 
525   }
526 
527   /// <summary>
528   ///  `ListValue` is a wrapper around a repeated field of values.
529   ///
530   ///  The JSON representation for `ListValue` is JSON array.
531   /// </summary>
532   public sealed partial class ListValue : pb::IMessage<ListValue> {
533     private static readonly pb::MessageParser<ListValue> _parser = new pb::MessageParser<ListValue>(() => new ListValue());
534     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
535     public static pb::MessageParser<ListValue> Parser { get { return _parser; } }
536 
537     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
538     public static pbr::MessageDescriptor Descriptor {
539       get { return global::Google.Protobuf.WellKnownTypes.StructReflection.Descriptor.MessageTypes[2]; }
540     }
541 
542     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
543     pbr::MessageDescriptor pb::IMessage.Descriptor {
544       get { return Descriptor; }
545     }
546 
547     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
ListValue()548     public ListValue() {
549       OnConstruction();
550     }
551 
OnConstruction()552     partial void OnConstruction();
553 
554     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
ListValue(ListValue other)555     public ListValue(ListValue other) : this() {
556       values_ = other.values_.Clone();
557     }
558 
559     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Clone()560     public ListValue Clone() {
561       return new ListValue(this);
562     }
563 
564     /// <summary>Field number for the "values" field.</summary>
565     public const int ValuesFieldNumber = 1;
566     private static readonly pb::FieldCodec<global::Google.Protobuf.WellKnownTypes.Value> _repeated_values_codec
567         = pb::FieldCodec.ForMessage(10, global::Google.Protobuf.WellKnownTypes.Value.Parser);
568     private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Value> values_ = new pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Value>();
569     /// <summary>
570     ///  Repeated field of dynamically typed values.
571     /// </summary>
572     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
573     public pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Value> Values {
574       get { return values_; }
575     }
576 
577     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Equals(object other)578     public override bool Equals(object other) {
579       return Equals(other as ListValue);
580     }
581 
582     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Equals(ListValue other)583     public bool Equals(ListValue other) {
584       if (ReferenceEquals(other, null)) {
585         return false;
586       }
587       if (ReferenceEquals(other, this)) {
588         return true;
589       }
590       if(!values_.Equals(other.values_)) return false;
591       return true;
592     }
593 
594     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
GetHashCode()595     public override int GetHashCode() {
596       int hash = 1;
597       hash ^= values_.GetHashCode();
598       return hash;
599     }
600 
601     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
ToString()602     public override string ToString() {
603       return pb::JsonFormatter.ToDiagnosticString(this);
604     }
605 
606     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
WriteTo(pb::CodedOutputStream output)607     public void WriteTo(pb::CodedOutputStream output) {
608       values_.WriteTo(output, _repeated_values_codec);
609     }
610 
611     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
CalculateSize()612     public int CalculateSize() {
613       int size = 0;
614       size += values_.CalculateSize(_repeated_values_codec);
615       return size;
616     }
617 
618     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
MergeFrom(ListValue other)619     public void MergeFrom(ListValue other) {
620       if (other == null) {
621         return;
622       }
623       values_.Add(other.values_);
624     }
625 
626     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
MergeFrom(pb::CodedInputStream input)627     public void MergeFrom(pb::CodedInputStream input) {
628       uint tag;
629       while ((tag = input.ReadTag()) != 0) {
630         switch(tag) {
631           default:
632             input.SkipLastField();
633             break;
634           case 10: {
635             values_.AddEntriesFrom(input, _repeated_values_codec);
636             break;
637           }
638         }
639       }
640     }
641 
642   }
643 
644   #endregion
645 
646 }
647 
648 #endregion Designer generated code
649