Free cookie consent management tool by TermsFeed Policy Generator

source: misc/tools/ExternalEvaluation/MyExtension/Plugin/Protos/RepetitionsQualityMessage.cs

Last change on this file was 15014, checked in by pfleck, 8 years ago

Added code and tools for the ExternalEvaluationProblem. (e.g. Java-side evaluation)

File size: 14.6 KB
Line 
1// Generated by ProtoGen, Version=2.4.1.473, Culture=neutral, PublicKeyToken=17b3b1f090c3ea48.  DO NOT EDIT!
2#pragma warning disable 1591, 0612
3#region Designer generated code
4
5using pb = global::Google.ProtocolBuffers;
6using pbc = global::Google.ProtocolBuffers.Collections;
7using pbd = global::Google.ProtocolBuffers.Descriptors;
8using scg = global::System.Collections.Generic;
9namespace HeuristicLab.Problems.ExternalEvaluation.RepetitionsExtension {
10 
11  [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
12  [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
13  [global::System.CodeDom.Compiler.GeneratedCodeAttribute("ProtoGen", "2.4.1.473")]
14  public static partial class RepetitionsQualityMessage {
15 
16    #region Extension registration
17    public static void RegisterAllExtensions(pb::ExtensionRegistry registry) {
18      registry.Add(global::HeuristicLab.Problems.ExternalEvaluation.RepetitionsExtension.RepetitionsResponse.Repetitions);
19      registry.Add(global::HeuristicLab.Problems.ExternalEvaluation.RepetitionsExtension.RepetitionsResponse.Variance);
20      registry.Add(global::HeuristicLab.Problems.ExternalEvaluation.RepetitionsExtension.RepetitionsResponse.NumFailed);
21    }
22    #endregion
23    #region Static variables
24    internal static pbd::MessageDescriptor internal__static_HeuristicLab_Problems_ExternalEvaluation_RepetitionsExtension_RepetitionsResponse__Descriptor;
25    internal static pb::FieldAccess.FieldAccessorTable<global::HeuristicLab.Problems.ExternalEvaluation.RepetitionsExtension.RepetitionsResponse, global::HeuristicLab.Problems.ExternalEvaluation.RepetitionsExtension.RepetitionsResponse.Builder> internal__static_HeuristicLab_Problems_ExternalEvaluation_RepetitionsExtension_RepetitionsResponse__FieldAccessorTable;
26    #endregion
27    #region Descriptor
28    public static pbd::FileDescriptor Descriptor {
29      get { return descriptor; }
30    }
31    private static pbd::FileDescriptor descriptor;
32   
33    static RepetitionsQualityMessage() {
34      byte[] descriptorData = global::System.Convert.FromBase64String(
35          "Ci1QbHVnaW4vUHJvdG9zL1JlcGV0aXRpb25zUXVhbGl0eU1lc3NhZ2UucHJv" +
36          "dG8SPUhldXJpc3RpY0xhYi5Qcm9ibGVtcy5FeHRlcm5hbEV2YWx1YXRpb24u" +
37          "UmVwZXRpdGlvbnNFeHRlbnNpb24aIEV4dGVybmFsRXZhbHVhdGlvbk1lc3Nh" +
38          "Z2VzLnByb3RvIoACChNSZXBldGl0aW9uc1Jlc3BvbnNlMk4KC3JlcGV0aXRp" +
39          "b25zEjguSGV1cmlzdGljTGFiLlByb2JsZW1zLkV4dGVybmFsRXZhbHVhdGlv" +
40          "bi5RdWFsaXR5TWVzc2FnZRjyByACKAUySwoIdmFyaWFuY2USOC5IZXVyaXN0" +
41          "aWNMYWIuUHJvYmxlbXMuRXh0ZXJuYWxFdmFsdWF0aW9uLlF1YWxpdHlNZXNz" +
42          "YWdlGPwHIAEoATJMCgludW1GYWlsZWQSOC5IZXVyaXN0aWNMYWIuUHJvYmxl" +
43          "bXMuRXh0ZXJuYWxFdmFsdWF0aW9uLlF1YWxpdHlNZXNzYWdlGIYIIAEoBUJD" +
44          "CkFjb20uaGV1cmlzdGljbGFiLnByb2JsZW1zLmV4dGVybmFsZXZhbHVhdGlv" +
45          "bi5yZXBldGl0aW9uc2V4dGVuc2lvbg==");
46      pbd::FileDescriptor.InternalDescriptorAssigner assigner = delegate(pbd::FileDescriptor root) {
47        descriptor = root;
48        internal__static_HeuristicLab_Problems_ExternalEvaluation_RepetitionsExtension_RepetitionsResponse__Descriptor = Descriptor.MessageTypes[0];
49        internal__static_HeuristicLab_Problems_ExternalEvaluation_RepetitionsExtension_RepetitionsResponse__FieldAccessorTable =
50            new pb::FieldAccess.FieldAccessorTable<global::HeuristicLab.Problems.ExternalEvaluation.RepetitionsExtension.RepetitionsResponse, global::HeuristicLab.Problems.ExternalEvaluation.RepetitionsExtension.RepetitionsResponse.Builder>(internal__static_HeuristicLab_Problems_ExternalEvaluation_RepetitionsExtension_RepetitionsResponse__Descriptor,
51                new string[] { });
52        global::HeuristicLab.Problems.ExternalEvaluation.RepetitionsExtension.RepetitionsResponse.Repetitions = pb::GeneratedSingleExtension<int>.CreateInstance(global::HeuristicLab.Problems.ExternalEvaluation.RepetitionsExtension.RepetitionsResponse.Descriptor.Extensions[0]);
53        global::HeuristicLab.Problems.ExternalEvaluation.RepetitionsExtension.RepetitionsResponse.Variance = pb::GeneratedSingleExtension<double>.CreateInstance(global::HeuristicLab.Problems.ExternalEvaluation.RepetitionsExtension.RepetitionsResponse.Descriptor.Extensions[1]);
54        global::HeuristicLab.Problems.ExternalEvaluation.RepetitionsExtension.RepetitionsResponse.NumFailed = pb::GeneratedSingleExtension<int>.CreateInstance(global::HeuristicLab.Problems.ExternalEvaluation.RepetitionsExtension.RepetitionsResponse.Descriptor.Extensions[2]);
55        return null;
56      };
57      pbd::FileDescriptor.InternalBuildGeneratedFileFrom(descriptorData,
58          new pbd::FileDescriptor[] {
59          global::HeuristicLab.Problems.ExternalEvaluation.ExternalEvaluationMessages.Descriptor,
60          }, assigner);
61    }
62    #endregion
63   
64  }
65  #region Messages
66  [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
67  [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
68  [global::System.CodeDom.Compiler.GeneratedCodeAttribute("ProtoGen", "2.4.1.473")]
69  public sealed partial class RepetitionsResponse : pb::GeneratedMessage<RepetitionsResponse, RepetitionsResponse.Builder> {
70    private RepetitionsResponse() { }
71    private static readonly RepetitionsResponse defaultInstance = new RepetitionsResponse().MakeReadOnly();
72    private static readonly string[] _repetitionsResponseFieldNames = new string[] {  };
73    private static readonly uint[] _repetitionsResponseFieldTags = new uint[] {  };
74    public static RepetitionsResponse DefaultInstance {
75      get { return defaultInstance; }
76    }
77   
78    public override RepetitionsResponse DefaultInstanceForType {
79      get { return DefaultInstance; }
80    }
81   
82    protected override RepetitionsResponse ThisMessage {
83      get { return this; }
84    }
85   
86    public static pbd::MessageDescriptor Descriptor {
87      get { return global::HeuristicLab.Problems.ExternalEvaluation.RepetitionsExtension.RepetitionsQualityMessage.internal__static_HeuristicLab_Problems_ExternalEvaluation_RepetitionsExtension_RepetitionsResponse__Descriptor; }
88    }
89   
90    protected override pb::FieldAccess.FieldAccessorTable<RepetitionsResponse, RepetitionsResponse.Builder> InternalFieldAccessors {
91      get { return global::HeuristicLab.Problems.ExternalEvaluation.RepetitionsExtension.RepetitionsQualityMessage.internal__static_HeuristicLab_Problems_ExternalEvaluation_RepetitionsExtension_RepetitionsResponse__FieldAccessorTable; }
92    }
93   
94    public const int RepetitionsFieldNumber = 1010;
95    public static pb::GeneratedExtensionBase<int> Repetitions;
96    public const int VarianceFieldNumber = 1020;
97    public static pb::GeneratedExtensionBase<double> Variance;
98    public const int NumFailedFieldNumber = 1030;
99    public static pb::GeneratedExtensionBase<int> NumFailed;
100    public override bool IsInitialized {
101      get {
102        return true;
103      }
104    }
105   
106    public override void WriteTo(pb::ICodedOutputStream output) {
107      int size = SerializedSize;
108      string[] field_names = _repetitionsResponseFieldNames;
109      UnknownFields.WriteTo(output);
110    }
111   
112    private int memoizedSerializedSize = -1;
113    public override int SerializedSize {
114      get {
115        int size = memoizedSerializedSize;
116        if (size != -1) return size;
117       
118        size = 0;
119        size += UnknownFields.SerializedSize;
120        memoizedSerializedSize = size;
121        return size;
122      }
123    }
124   
125    public static RepetitionsResponse ParseFrom(pb::ByteString data) {
126      return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
127    }
128    public static RepetitionsResponse ParseFrom(pb::ByteString data, pb::ExtensionRegistry extensionRegistry) {
129      return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
130    }
131    public static RepetitionsResponse ParseFrom(byte[] data) {
132      return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
133    }
134    public static RepetitionsResponse ParseFrom(byte[] data, pb::ExtensionRegistry extensionRegistry) {
135      return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
136    }
137    public static RepetitionsResponse ParseFrom(global::System.IO.Stream input) {
138      return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
139    }
140    public static RepetitionsResponse ParseFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
141      return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
142    }
143    public static RepetitionsResponse ParseDelimitedFrom(global::System.IO.Stream input) {
144      return CreateBuilder().MergeDelimitedFrom(input).BuildParsed();
145    }
146    public static RepetitionsResponse ParseDelimitedFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
147      return CreateBuilder().MergeDelimitedFrom(input, extensionRegistry).BuildParsed();
148    }
149    public static RepetitionsResponse ParseFrom(pb::ICodedInputStream input) {
150      return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
151    }
152    public static RepetitionsResponse ParseFrom(pb::ICodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
153      return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
154    }
155    private RepetitionsResponse MakeReadOnly() {
156      return this;
157    }
158   
159    public static Builder CreateBuilder() { return new Builder(); }
160    public override Builder ToBuilder() { return CreateBuilder(this); }
161    public override Builder CreateBuilderForType() { return new Builder(); }
162    public static Builder CreateBuilder(RepetitionsResponse prototype) {
163      return new Builder(prototype);
164    }
165   
166    [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
167    [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
168    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("ProtoGen", "2.4.1.473")]
169    public sealed partial class Builder : pb::GeneratedBuilder<RepetitionsResponse, Builder> {
170      protected override Builder ThisBuilder {
171        get { return this; }
172      }
173      public Builder() {
174        result = DefaultInstance;
175        resultIsReadOnly = true;
176      }
177      internal Builder(RepetitionsResponse cloneFrom) {
178        result = cloneFrom;
179        resultIsReadOnly = true;
180      }
181     
182      private bool resultIsReadOnly;
183      private RepetitionsResponse result;
184     
185      private RepetitionsResponse PrepareBuilder() {
186        if (resultIsReadOnly) {
187          RepetitionsResponse original = result;
188          result = new RepetitionsResponse();
189          resultIsReadOnly = false;
190          MergeFrom(original);
191        }
192        return result;
193      }
194     
195      public override bool IsInitialized {
196        get { return result.IsInitialized; }
197      }
198     
199      protected override RepetitionsResponse MessageBeingBuilt {
200        get { return PrepareBuilder(); }
201      }
202     
203      public override Builder Clear() {
204        result = DefaultInstance;
205        resultIsReadOnly = true;
206        return this;
207      }
208     
209      public override Builder Clone() {
210        if (resultIsReadOnly) {
211          return new Builder(result);
212        } else {
213          return new Builder().MergeFrom(result);
214        }
215      }
216     
217      public override pbd::MessageDescriptor DescriptorForType {
218        get { return global::HeuristicLab.Problems.ExternalEvaluation.RepetitionsExtension.RepetitionsResponse.Descriptor; }
219      }
220     
221      public override RepetitionsResponse DefaultInstanceForType {
222        get { return global::HeuristicLab.Problems.ExternalEvaluation.RepetitionsExtension.RepetitionsResponse.DefaultInstance; }
223      }
224     
225      public override RepetitionsResponse BuildPartial() {
226        if (resultIsReadOnly) {
227          return result;
228        }
229        resultIsReadOnly = true;
230        return result.MakeReadOnly();
231      }
232     
233      public override Builder MergeFrom(pb::IMessage other) {
234        if (other is RepetitionsResponse) {
235          return MergeFrom((RepetitionsResponse) other);
236        } else {
237          base.MergeFrom(other);
238          return this;
239        }
240      }
241     
242      public override Builder MergeFrom(RepetitionsResponse other) {
243        if (other == global::HeuristicLab.Problems.ExternalEvaluation.RepetitionsExtension.RepetitionsResponse.DefaultInstance) return this;
244        PrepareBuilder();
245        this.MergeUnknownFields(other.UnknownFields);
246        return this;
247      }
248     
249      public override Builder MergeFrom(pb::ICodedInputStream input) {
250        return MergeFrom(input, pb::ExtensionRegistry.Empty);
251      }
252     
253      public override Builder MergeFrom(pb::ICodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
254        PrepareBuilder();
255        pb::UnknownFieldSet.Builder unknownFields = null;
256        uint tag;
257        string field_name;
258        while (input.ReadTag(out tag, out field_name)) {
259          if(tag == 0 && field_name != null) {
260            int field_ordinal = global::System.Array.BinarySearch(_repetitionsResponseFieldNames, field_name, global::System.StringComparer.Ordinal);
261            if(field_ordinal >= 0)
262              tag = _repetitionsResponseFieldTags[field_ordinal];
263            else {
264              if (unknownFields == null) {
265                unknownFields = pb::UnknownFieldSet.CreateBuilder(this.UnknownFields);
266              }
267              ParseUnknownField(input, unknownFields, extensionRegistry, tag, field_name);
268              continue;
269            }
270          }
271          switch (tag) {
272            case 0: {
273              throw pb::InvalidProtocolBufferException.InvalidTag();
274            }
275            default: {
276              if (pb::WireFormat.IsEndGroupTag(tag)) {
277                if (unknownFields != null) {
278                  this.UnknownFields = unknownFields.Build();
279                }
280                return this;
281              }
282              if (unknownFields == null) {
283                unknownFields = pb::UnknownFieldSet.CreateBuilder(this.UnknownFields);
284              }
285              ParseUnknownField(input, unknownFields, extensionRegistry, tag, field_name);
286              break;
287            }
288          }
289        }
290       
291        if (unknownFields != null) {
292          this.UnknownFields = unknownFields.Build();
293        }
294        return this;
295      }
296     
297    }
298    static RepetitionsResponse() {
299      object.ReferenceEquals(global::HeuristicLab.Problems.ExternalEvaluation.RepetitionsExtension.RepetitionsQualityMessage.Descriptor, null);
300    }
301  }
302 
303  #endregion
304 
305}
306
307#endregion Designer generated code
Note: See TracBrowser for help on using the repository browser.