Protobuf...
This commit is contained in:
871
GameAiSendUserPromptWithStructuredResponseNodeData.cs
Normal file
871
GameAiSendUserPromptWithStructuredResponseNodeData.cs
Normal file
@@ -0,0 +1,871 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: circuits_v2/game_ai_send_user_prompt_with_structured_response_node_data.proto
|
||||
// </auto-generated>
|
||||
#pragma warning disable 1591, 0612, 3021, 8981
|
||||
#region Designer generated code
|
||||
|
||||
using pb = global::Google.Protobuf;
|
||||
using pbc = global::Google.Protobuf.Collections;
|
||||
using pbr = global::Google.Protobuf.Reflection;
|
||||
using scg = global::System.Collections.Generic;
|
||||
namespace CircuitsV2.Protobuf {
|
||||
|
||||
/// <summary>Holder for reflection information generated from circuits_v2/game_ai_send_user_prompt_with_structured_response_node_data.proto</summary>
|
||||
public static partial class GameAiSendUserPromptWithStructuredResponseNodeDataReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for circuits_v2/game_ai_send_user_prompt_with_structured_response_node_data.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static GameAiSendUserPromptWithStructuredResponseNodeDataReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"Ck1jaXJjdWl0c192Mi9nYW1lX2FpX3NlbmRfdXNlcl9wcm9tcHRfd2l0aF9z",
|
||||
"dHJ1Y3R1cmVkX3Jlc3BvbnNlX25vZGVfZGF0YS5wcm90bxILY2lyY3VpdHNf",
|
||||
"djIaKmNpcmN1aXRzL3N0YXRpYy9ldi9jaXJjdWl0X3R5cGVfZGF0YS5wcm90",
|
||||
"byJrCjJHYW1lQUlTZW5kVXNlclByb21wdFdpdGhTdHJ1Y3R1cmVkUmVzcG9u",
|
||||
"c2VOb2RlRGF0YRI1CgdlbnRyaWVzGAEgAygLMiQuY2lyY3VpdHNfdjIuU3Ry",
|
||||
"dWN0dXJlZERhdGFFbnRyeURhdGEiugIKF1N0cnVjdHVyZWREYXRhRW50cnlE",
|
||||
"YXRhEgwKBG5hbWUYASABKAkSLwoMY2lyY3VpdF90eXBlGAIgASgLMhkuY2ly",
|
||||
"Y3VpdHMuQ2lyY3VpdFR5cGVEYXRhEhMKC2Rlc2NyaXB0aW9uGAMgASgJEikK",
|
||||
"BmZvcm1hdBgEIAEoDjIZLmNpcmN1aXRzX3YyLlN0cmluZ0Zvcm1hdBINCgVy",
|
||||
"ZWdleBgFIAEoCRITCgttdWx0aXBsZV9vZhgGIAEoARIPCgdtYXhpbXVtGAcg",
|
||||
"ASgBEhkKEWV4Y2x1c2l2ZV9tYXhpbXVtGAggASgIEg8KB21pbmltdW0YCSAB",
|
||||
"KAESGQoRZXhjbHVzaXZlX21pbmltdW0YCiABKAgSEQoJbWluX2l0ZW1zGAsg",
|
||||
"ASgFEhEKCW1heF9pdGVtcxgMIAEoBSpUCgxTdHJpbmdGb3JtYXQSCAoEbm9u",
|
||||
"ZRAAEgkKBXJlZ2V4EAESDQoJZGF0ZV90aW1lEAISCAoEdGltZRADEggKBGRh",
|
||||
"dGUQBBIMCghkdXJhdGlvbhAFQhaqAhNDaXJjdWl0c1YyLlByb3RvYnVmYgZw",
|
||||
"cm90bzM="));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { global::Circuits.Static.EV.Protobuf.CircuitTypeDataReflection.Descriptor, },
|
||||
new pbr::GeneratedClrTypeInfo(new[] {typeof(global::CircuitsV2.Protobuf.StringFormat), }, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::CircuitsV2.Protobuf.GameAISendUserPromptWithStructuredResponseNodeData), global::CircuitsV2.Protobuf.GameAISendUserPromptWithStructuredResponseNodeData.Parser, new[]{ "Entries" }, null, null, null, null),
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::CircuitsV2.Protobuf.StructuredDataEntryData), global::CircuitsV2.Protobuf.StructuredDataEntryData.Parser, new[]{ "Name", "CircuitType", "Description", "Format", "Regex", "MultipleOf", "Maximum", "ExclusiveMaximum", "Minimum", "ExclusiveMinimum", "MinItems", "MaxItems" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Enums
|
||||
public enum StringFormat {
|
||||
[pbr::OriginalName("none")] None = 0,
|
||||
[pbr::OriginalName("regex")] Regex = 1,
|
||||
[pbr::OriginalName("date_time")] DateTime = 2,
|
||||
[pbr::OriginalName("time")] Time = 3,
|
||||
[pbr::OriginalName("date")] Date = 4,
|
||||
[pbr::OriginalName("duration")] Duration = 5,
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class GameAISendUserPromptWithStructuredResponseNodeData : pb::IMessage<GameAISendUserPromptWithStructuredResponseNodeData>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<GameAISendUserPromptWithStructuredResponseNodeData> _parser = new pb::MessageParser<GameAISendUserPromptWithStructuredResponseNodeData>(() => new GameAISendUserPromptWithStructuredResponseNodeData());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<GameAISendUserPromptWithStructuredResponseNodeData> Parser { get { return _parser; } }
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pbr::MessageDescriptor Descriptor {
|
||||
get { return global::CircuitsV2.Protobuf.GameAiSendUserPromptWithStructuredResponseNodeDataReflection.Descriptor.MessageTypes[0]; }
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
||||
get { return Descriptor; }
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public GameAISendUserPromptWithStructuredResponseNodeData() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public GameAISendUserPromptWithStructuredResponseNodeData(GameAISendUserPromptWithStructuredResponseNodeData other) : this() {
|
||||
entries_ = other.entries_.Clone();
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public GameAISendUserPromptWithStructuredResponseNodeData Clone() {
|
||||
return new GameAISendUserPromptWithStructuredResponseNodeData(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "entries" field.</summary>
|
||||
public const int EntriesFieldNumber = 1;
|
||||
private static readonly pb::FieldCodec<global::CircuitsV2.Protobuf.StructuredDataEntryData> _repeated_entries_codec
|
||||
= pb::FieldCodec.ForMessage(10, global::CircuitsV2.Protobuf.StructuredDataEntryData.Parser);
|
||||
private readonly pbc::RepeatedField<global::CircuitsV2.Protobuf.StructuredDataEntryData> entries_ = new pbc::RepeatedField<global::CircuitsV2.Protobuf.StructuredDataEntryData>();
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pbc::RepeatedField<global::CircuitsV2.Protobuf.StructuredDataEntryData> Entries {
|
||||
get { return entries_; }
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as GameAISendUserPromptWithStructuredResponseNodeData);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(GameAISendUserPromptWithStructuredResponseNodeData other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if(!entries_.Equals(other.entries_)) return false;
|
||||
return Equals(_unknownFields, other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override int GetHashCode() {
|
||||
int hash = 1;
|
||||
hash ^= entries_.GetHashCode();
|
||||
if (_unknownFields != null) {
|
||||
hash ^= _unknownFields.GetHashCode();
|
||||
}
|
||||
return hash;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override string ToString() {
|
||||
return pb::JsonFormatter.ToDiagnosticString(this);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void WriteTo(pb::CodedOutputStream output) {
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
output.WriteRawMessage(this);
|
||||
#else
|
||||
entries_.WriteTo(output, _repeated_entries_codec);
|
||||
if (_unknownFields != null) {
|
||||
_unknownFields.WriteTo(output);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
||||
entries_.WriteTo(ref output, _repeated_entries_codec);
|
||||
if (_unknownFields != null) {
|
||||
_unknownFields.WriteTo(ref output);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int CalculateSize() {
|
||||
int size = 0;
|
||||
size += entries_.CalculateSize(_repeated_entries_codec);
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(GameAISendUserPromptWithStructuredResponseNodeData other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
entries_.Add(other.entries_);
|
||||
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(pb::CodedInputStream input) {
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
input.ReadRawMessage(this);
|
||||
#else
|
||||
uint tag;
|
||||
while ((tag = input.ReadTag()) != 0) {
|
||||
if ((tag & 7) == 4) {
|
||||
// Abort on any end group tag.
|
||||
return;
|
||||
}
|
||||
switch(tag) {
|
||||
default:
|
||||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
||||
break;
|
||||
case 10: {
|
||||
entries_.AddEntriesFrom(input, _repeated_entries_codec);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
|
||||
uint tag;
|
||||
while ((tag = input.ReadTag()) != 0) {
|
||||
if ((tag & 7) == 4) {
|
||||
// Abort on any end group tag.
|
||||
return;
|
||||
}
|
||||
switch(tag) {
|
||||
default:
|
||||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
||||
break;
|
||||
case 10: {
|
||||
entries_.AddEntriesFrom(ref input, _repeated_entries_codec);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class StructuredDataEntryData : pb::IMessage<StructuredDataEntryData>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<StructuredDataEntryData> _parser = new pb::MessageParser<StructuredDataEntryData>(() => new StructuredDataEntryData());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<StructuredDataEntryData> Parser { get { return _parser; } }
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pbr::MessageDescriptor Descriptor {
|
||||
get { return global::CircuitsV2.Protobuf.GameAiSendUserPromptWithStructuredResponseNodeDataReflection.Descriptor.MessageTypes[1]; }
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
||||
get { return Descriptor; }
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public StructuredDataEntryData() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public StructuredDataEntryData(StructuredDataEntryData other) : this() {
|
||||
name_ = other.name_;
|
||||
circuitType_ = other.circuitType_ != null ? other.circuitType_.Clone() : null;
|
||||
description_ = other.description_;
|
||||
format_ = other.format_;
|
||||
regex_ = other.regex_;
|
||||
multipleOf_ = other.multipleOf_;
|
||||
maximum_ = other.maximum_;
|
||||
exclusiveMaximum_ = other.exclusiveMaximum_;
|
||||
minimum_ = other.minimum_;
|
||||
exclusiveMinimum_ = other.exclusiveMinimum_;
|
||||
minItems_ = other.minItems_;
|
||||
maxItems_ = other.maxItems_;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public StructuredDataEntryData Clone() {
|
||||
return new StructuredDataEntryData(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "name" field.</summary>
|
||||
public const int NameFieldNumber = 1;
|
||||
private string name_ = "";
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public string Name {
|
||||
get { return name_; }
|
||||
set {
|
||||
name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "circuit_type" field.</summary>
|
||||
public const int CircuitTypeFieldNumber = 2;
|
||||
private global::Circuits.Static.EV.Protobuf.CircuitTypeData circuitType_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::Circuits.Static.EV.Protobuf.CircuitTypeData CircuitType {
|
||||
get { return circuitType_; }
|
||||
set {
|
||||
circuitType_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "description" field.</summary>
|
||||
public const int DescriptionFieldNumber = 3;
|
||||
private string description_ = "";
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public string Description {
|
||||
get { return description_; }
|
||||
set {
|
||||
description_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "format" field.</summary>
|
||||
public const int FormatFieldNumber = 4;
|
||||
private global::CircuitsV2.Protobuf.StringFormat format_ = global::CircuitsV2.Protobuf.StringFormat.None;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::CircuitsV2.Protobuf.StringFormat Format {
|
||||
get { return format_; }
|
||||
set {
|
||||
format_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "regex" field.</summary>
|
||||
public const int RegexFieldNumber = 5;
|
||||
private string regex_ = "";
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public string Regex {
|
||||
get { return regex_; }
|
||||
set {
|
||||
regex_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "multiple_of" field.</summary>
|
||||
public const int MultipleOfFieldNumber = 6;
|
||||
private double multipleOf_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public double MultipleOf {
|
||||
get { return multipleOf_; }
|
||||
set {
|
||||
multipleOf_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "maximum" field.</summary>
|
||||
public const int MaximumFieldNumber = 7;
|
||||
private double maximum_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public double Maximum {
|
||||
get { return maximum_; }
|
||||
set {
|
||||
maximum_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "exclusive_maximum" field.</summary>
|
||||
public const int ExclusiveMaximumFieldNumber = 8;
|
||||
private bool exclusiveMaximum_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool ExclusiveMaximum {
|
||||
get { return exclusiveMaximum_; }
|
||||
set {
|
||||
exclusiveMaximum_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "minimum" field.</summary>
|
||||
public const int MinimumFieldNumber = 9;
|
||||
private double minimum_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public double Minimum {
|
||||
get { return minimum_; }
|
||||
set {
|
||||
minimum_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "exclusive_minimum" field.</summary>
|
||||
public const int ExclusiveMinimumFieldNumber = 10;
|
||||
private bool exclusiveMinimum_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool ExclusiveMinimum {
|
||||
get { return exclusiveMinimum_; }
|
||||
set {
|
||||
exclusiveMinimum_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "min_items" field.</summary>
|
||||
public const int MinItemsFieldNumber = 11;
|
||||
private int minItems_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int MinItems {
|
||||
get { return minItems_; }
|
||||
set {
|
||||
minItems_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "max_items" field.</summary>
|
||||
public const int MaxItemsFieldNumber = 12;
|
||||
private int maxItems_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int MaxItems {
|
||||
get { return maxItems_; }
|
||||
set {
|
||||
maxItems_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as StructuredDataEntryData);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(StructuredDataEntryData other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (Name != other.Name) return false;
|
||||
if (!object.Equals(CircuitType, other.CircuitType)) return false;
|
||||
if (Description != other.Description) return false;
|
||||
if (Format != other.Format) return false;
|
||||
if (Regex != other.Regex) return false;
|
||||
if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(MultipleOf, other.MultipleOf)) return false;
|
||||
if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(Maximum, other.Maximum)) return false;
|
||||
if (ExclusiveMaximum != other.ExclusiveMaximum) return false;
|
||||
if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(Minimum, other.Minimum)) return false;
|
||||
if (ExclusiveMinimum != other.ExclusiveMinimum) return false;
|
||||
if (MinItems != other.MinItems) return false;
|
||||
if (MaxItems != other.MaxItems) return false;
|
||||
return Equals(_unknownFields, other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override int GetHashCode() {
|
||||
int hash = 1;
|
||||
if (Name.Length != 0) hash ^= Name.GetHashCode();
|
||||
if (circuitType_ != null) hash ^= CircuitType.GetHashCode();
|
||||
if (Description.Length != 0) hash ^= Description.GetHashCode();
|
||||
if (Format != global::CircuitsV2.Protobuf.StringFormat.None) hash ^= Format.GetHashCode();
|
||||
if (Regex.Length != 0) hash ^= Regex.GetHashCode();
|
||||
if (MultipleOf != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(MultipleOf);
|
||||
if (Maximum != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(Maximum);
|
||||
if (ExclusiveMaximum != false) hash ^= ExclusiveMaximum.GetHashCode();
|
||||
if (Minimum != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(Minimum);
|
||||
if (ExclusiveMinimum != false) hash ^= ExclusiveMinimum.GetHashCode();
|
||||
if (MinItems != 0) hash ^= MinItems.GetHashCode();
|
||||
if (MaxItems != 0) hash ^= MaxItems.GetHashCode();
|
||||
if (_unknownFields != null) {
|
||||
hash ^= _unknownFields.GetHashCode();
|
||||
}
|
||||
return hash;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override string ToString() {
|
||||
return pb::JsonFormatter.ToDiagnosticString(this);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void WriteTo(pb::CodedOutputStream output) {
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
output.WriteRawMessage(this);
|
||||
#else
|
||||
if (Name.Length != 0) {
|
||||
output.WriteRawTag(10);
|
||||
output.WriteString(Name);
|
||||
}
|
||||
if (circuitType_ != null) {
|
||||
output.WriteRawTag(18);
|
||||
output.WriteMessage(CircuitType);
|
||||
}
|
||||
if (Description.Length != 0) {
|
||||
output.WriteRawTag(26);
|
||||
output.WriteString(Description);
|
||||
}
|
||||
if (Format != global::CircuitsV2.Protobuf.StringFormat.None) {
|
||||
output.WriteRawTag(32);
|
||||
output.WriteEnum((int) Format);
|
||||
}
|
||||
if (Regex.Length != 0) {
|
||||
output.WriteRawTag(42);
|
||||
output.WriteString(Regex);
|
||||
}
|
||||
if (MultipleOf != 0D) {
|
||||
output.WriteRawTag(49);
|
||||
output.WriteDouble(MultipleOf);
|
||||
}
|
||||
if (Maximum != 0D) {
|
||||
output.WriteRawTag(57);
|
||||
output.WriteDouble(Maximum);
|
||||
}
|
||||
if (ExclusiveMaximum != false) {
|
||||
output.WriteRawTag(64);
|
||||
output.WriteBool(ExclusiveMaximum);
|
||||
}
|
||||
if (Minimum != 0D) {
|
||||
output.WriteRawTag(73);
|
||||
output.WriteDouble(Minimum);
|
||||
}
|
||||
if (ExclusiveMinimum != false) {
|
||||
output.WriteRawTag(80);
|
||||
output.WriteBool(ExclusiveMinimum);
|
||||
}
|
||||
if (MinItems != 0) {
|
||||
output.WriteRawTag(88);
|
||||
output.WriteInt32(MinItems);
|
||||
}
|
||||
if (MaxItems != 0) {
|
||||
output.WriteRawTag(96);
|
||||
output.WriteInt32(MaxItems);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
_unknownFields.WriteTo(output);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
||||
if (Name.Length != 0) {
|
||||
output.WriteRawTag(10);
|
||||
output.WriteString(Name);
|
||||
}
|
||||
if (circuitType_ != null) {
|
||||
output.WriteRawTag(18);
|
||||
output.WriteMessage(CircuitType);
|
||||
}
|
||||
if (Description.Length != 0) {
|
||||
output.WriteRawTag(26);
|
||||
output.WriteString(Description);
|
||||
}
|
||||
if (Format != global::CircuitsV2.Protobuf.StringFormat.None) {
|
||||
output.WriteRawTag(32);
|
||||
output.WriteEnum((int) Format);
|
||||
}
|
||||
if (Regex.Length != 0) {
|
||||
output.WriteRawTag(42);
|
||||
output.WriteString(Regex);
|
||||
}
|
||||
if (MultipleOf != 0D) {
|
||||
output.WriteRawTag(49);
|
||||
output.WriteDouble(MultipleOf);
|
||||
}
|
||||
if (Maximum != 0D) {
|
||||
output.WriteRawTag(57);
|
||||
output.WriteDouble(Maximum);
|
||||
}
|
||||
if (ExclusiveMaximum != false) {
|
||||
output.WriteRawTag(64);
|
||||
output.WriteBool(ExclusiveMaximum);
|
||||
}
|
||||
if (Minimum != 0D) {
|
||||
output.WriteRawTag(73);
|
||||
output.WriteDouble(Minimum);
|
||||
}
|
||||
if (ExclusiveMinimum != false) {
|
||||
output.WriteRawTag(80);
|
||||
output.WriteBool(ExclusiveMinimum);
|
||||
}
|
||||
if (MinItems != 0) {
|
||||
output.WriteRawTag(88);
|
||||
output.WriteInt32(MinItems);
|
||||
}
|
||||
if (MaxItems != 0) {
|
||||
output.WriteRawTag(96);
|
||||
output.WriteInt32(MaxItems);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
_unknownFields.WriteTo(ref output);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int CalculateSize() {
|
||||
int size = 0;
|
||||
if (Name.Length != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
|
||||
}
|
||||
if (circuitType_ != null) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeMessageSize(CircuitType);
|
||||
}
|
||||
if (Description.Length != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeStringSize(Description);
|
||||
}
|
||||
if (Format != global::CircuitsV2.Protobuf.StringFormat.None) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Format);
|
||||
}
|
||||
if (Regex.Length != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeStringSize(Regex);
|
||||
}
|
||||
if (MultipleOf != 0D) {
|
||||
size += 1 + 8;
|
||||
}
|
||||
if (Maximum != 0D) {
|
||||
size += 1 + 8;
|
||||
}
|
||||
if (ExclusiveMaximum != false) {
|
||||
size += 1 + 1;
|
||||
}
|
||||
if (Minimum != 0D) {
|
||||
size += 1 + 8;
|
||||
}
|
||||
if (ExclusiveMinimum != false) {
|
||||
size += 1 + 1;
|
||||
}
|
||||
if (MinItems != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(MinItems);
|
||||
}
|
||||
if (MaxItems != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(MaxItems);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(StructuredDataEntryData other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.Name.Length != 0) {
|
||||
Name = other.Name;
|
||||
}
|
||||
if (other.circuitType_ != null) {
|
||||
if (circuitType_ == null) {
|
||||
CircuitType = new global::Circuits.Static.EV.Protobuf.CircuitTypeData();
|
||||
}
|
||||
CircuitType.MergeFrom(other.CircuitType);
|
||||
}
|
||||
if (other.Description.Length != 0) {
|
||||
Description = other.Description;
|
||||
}
|
||||
if (other.Format != global::CircuitsV2.Protobuf.StringFormat.None) {
|
||||
Format = other.Format;
|
||||
}
|
||||
if (other.Regex.Length != 0) {
|
||||
Regex = other.Regex;
|
||||
}
|
||||
if (other.MultipleOf != 0D) {
|
||||
MultipleOf = other.MultipleOf;
|
||||
}
|
||||
if (other.Maximum != 0D) {
|
||||
Maximum = other.Maximum;
|
||||
}
|
||||
if (other.ExclusiveMaximum != false) {
|
||||
ExclusiveMaximum = other.ExclusiveMaximum;
|
||||
}
|
||||
if (other.Minimum != 0D) {
|
||||
Minimum = other.Minimum;
|
||||
}
|
||||
if (other.ExclusiveMinimum != false) {
|
||||
ExclusiveMinimum = other.ExclusiveMinimum;
|
||||
}
|
||||
if (other.MinItems != 0) {
|
||||
MinItems = other.MinItems;
|
||||
}
|
||||
if (other.MaxItems != 0) {
|
||||
MaxItems = other.MaxItems;
|
||||
}
|
||||
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(pb::CodedInputStream input) {
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
input.ReadRawMessage(this);
|
||||
#else
|
||||
uint tag;
|
||||
while ((tag = input.ReadTag()) != 0) {
|
||||
if ((tag & 7) == 4) {
|
||||
// Abort on any end group tag.
|
||||
return;
|
||||
}
|
||||
switch(tag) {
|
||||
default:
|
||||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
||||
break;
|
||||
case 10: {
|
||||
Name = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
if (circuitType_ == null) {
|
||||
CircuitType = new global::Circuits.Static.EV.Protobuf.CircuitTypeData();
|
||||
}
|
||||
input.ReadMessage(CircuitType);
|
||||
break;
|
||||
}
|
||||
case 26: {
|
||||
Description = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 32: {
|
||||
Format = (global::CircuitsV2.Protobuf.StringFormat) input.ReadEnum();
|
||||
break;
|
||||
}
|
||||
case 42: {
|
||||
Regex = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 49: {
|
||||
MultipleOf = input.ReadDouble();
|
||||
break;
|
||||
}
|
||||
case 57: {
|
||||
Maximum = input.ReadDouble();
|
||||
break;
|
||||
}
|
||||
case 64: {
|
||||
ExclusiveMaximum = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
case 73: {
|
||||
Minimum = input.ReadDouble();
|
||||
break;
|
||||
}
|
||||
case 80: {
|
||||
ExclusiveMinimum = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
case 88: {
|
||||
MinItems = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 96: {
|
||||
MaxItems = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
|
||||
uint tag;
|
||||
while ((tag = input.ReadTag()) != 0) {
|
||||
if ((tag & 7) == 4) {
|
||||
// Abort on any end group tag.
|
||||
return;
|
||||
}
|
||||
switch(tag) {
|
||||
default:
|
||||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
||||
break;
|
||||
case 10: {
|
||||
Name = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
if (circuitType_ == null) {
|
||||
CircuitType = new global::Circuits.Static.EV.Protobuf.CircuitTypeData();
|
||||
}
|
||||
input.ReadMessage(CircuitType);
|
||||
break;
|
||||
}
|
||||
case 26: {
|
||||
Description = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 32: {
|
||||
Format = (global::CircuitsV2.Protobuf.StringFormat) input.ReadEnum();
|
||||
break;
|
||||
}
|
||||
case 42: {
|
||||
Regex = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 49: {
|
||||
MultipleOf = input.ReadDouble();
|
||||
break;
|
||||
}
|
||||
case 57: {
|
||||
Maximum = input.ReadDouble();
|
||||
break;
|
||||
}
|
||||
case 64: {
|
||||
ExclusiveMaximum = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
case 73: {
|
||||
Minimum = input.ReadDouble();
|
||||
break;
|
||||
}
|
||||
case 80: {
|
||||
ExclusiveMinimum = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
case 88: {
|
||||
MinItems = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 96: {
|
||||
MaxItems = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
Reference in New Issue
Block a user