Protobuf...
This commit is contained in:
430
HolotarRecordingData.cs
Normal file
430
HolotarRecordingData.cs
Normal file
@@ -0,0 +1,430 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: circuits_v2/holotar_recording_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/holotar_recording_data.proto</summary>
|
||||
public static partial class HolotarRecordingDataReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for circuits_v2/holotar_recording_data.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static HolotarRecordingDataReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"CihjaXJjdWl0c192Mi9ob2xvdGFyX3JlY29yZGluZ19kYXRhLnByb3RvEgtj",
|
||||
"aXJjdWl0c192MiKRAQoUSG9sb3RhclJlY29yZGluZ0RhdGESEAoIYmxvYk5h",
|
||||
"bWUYASABKAkSDwoHcHJlbG9hZBgEIAEoCBIYChByZWNvcmRpbmdfbGVuZ3Ro",
|
||||
"GAUgASgCEhQKDGhvbG90YXJfbmFtZRgGIAEoCRITCgtzdGFydE9mZnNldBgC",
|
||||
"IAEoAhIRCgllbmRPZmZzZXQYAyABKAJCFqoCE0NpcmN1aXRzVjIuUHJvdG9i",
|
||||
"dWZiBnByb3RvMw=="));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::CircuitsV2.Protobuf.HolotarRecordingData), global::CircuitsV2.Protobuf.HolotarRecordingData.Parser, new[]{ "BlobName", "Preload", "RecordingLength", "HolotarName", "StartOffset", "EndOffset" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class HolotarRecordingData : pb::IMessage<HolotarRecordingData>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<HolotarRecordingData> _parser = new pb::MessageParser<HolotarRecordingData>(() => new HolotarRecordingData());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<HolotarRecordingData> 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.HolotarRecordingDataReflection.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 HolotarRecordingData() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public HolotarRecordingData(HolotarRecordingData other) : this() {
|
||||
blobName_ = other.blobName_;
|
||||
preload_ = other.preload_;
|
||||
recordingLength_ = other.recordingLength_;
|
||||
holotarName_ = other.holotarName_;
|
||||
startOffset_ = other.startOffset_;
|
||||
endOffset_ = other.endOffset_;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public HolotarRecordingData Clone() {
|
||||
return new HolotarRecordingData(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "blobName" field.</summary>
|
||||
public const int BlobNameFieldNumber = 1;
|
||||
private string blobName_ = "";
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public string BlobName {
|
||||
get { return blobName_; }
|
||||
set {
|
||||
blobName_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "preload" field.</summary>
|
||||
public const int PreloadFieldNumber = 4;
|
||||
private bool preload_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Preload {
|
||||
get { return preload_; }
|
||||
set {
|
||||
preload_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "recording_length" field.</summary>
|
||||
public const int RecordingLengthFieldNumber = 5;
|
||||
private float recordingLength_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public float RecordingLength {
|
||||
get { return recordingLength_; }
|
||||
set {
|
||||
recordingLength_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "holotar_name" field.</summary>
|
||||
public const int HolotarNameFieldNumber = 6;
|
||||
private string holotarName_ = "";
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public string HolotarName {
|
||||
get { return holotarName_; }
|
||||
set {
|
||||
holotarName_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "startOffset" field.</summary>
|
||||
public const int StartOffsetFieldNumber = 2;
|
||||
private float startOffset_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public float StartOffset {
|
||||
get { return startOffset_; }
|
||||
set {
|
||||
startOffset_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "endOffset" field.</summary>
|
||||
public const int EndOffsetFieldNumber = 3;
|
||||
private float endOffset_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public float EndOffset {
|
||||
get { return endOffset_; }
|
||||
set {
|
||||
endOffset_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as HolotarRecordingData);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(HolotarRecordingData other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (BlobName != other.BlobName) return false;
|
||||
if (Preload != other.Preload) return false;
|
||||
if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(RecordingLength, other.RecordingLength)) return false;
|
||||
if (HolotarName != other.HolotarName) return false;
|
||||
if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(StartOffset, other.StartOffset)) return false;
|
||||
if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(EndOffset, other.EndOffset)) 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 (BlobName.Length != 0) hash ^= BlobName.GetHashCode();
|
||||
if (Preload != false) hash ^= Preload.GetHashCode();
|
||||
if (RecordingLength != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(RecordingLength);
|
||||
if (HolotarName.Length != 0) hash ^= HolotarName.GetHashCode();
|
||||
if (StartOffset != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(StartOffset);
|
||||
if (EndOffset != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(EndOffset);
|
||||
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 (BlobName.Length != 0) {
|
||||
output.WriteRawTag(10);
|
||||
output.WriteString(BlobName);
|
||||
}
|
||||
if (StartOffset != 0F) {
|
||||
output.WriteRawTag(21);
|
||||
output.WriteFloat(StartOffset);
|
||||
}
|
||||
if (EndOffset != 0F) {
|
||||
output.WriteRawTag(29);
|
||||
output.WriteFloat(EndOffset);
|
||||
}
|
||||
if (Preload != false) {
|
||||
output.WriteRawTag(32);
|
||||
output.WriteBool(Preload);
|
||||
}
|
||||
if (RecordingLength != 0F) {
|
||||
output.WriteRawTag(45);
|
||||
output.WriteFloat(RecordingLength);
|
||||
}
|
||||
if (HolotarName.Length != 0) {
|
||||
output.WriteRawTag(50);
|
||||
output.WriteString(HolotarName);
|
||||
}
|
||||
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 (BlobName.Length != 0) {
|
||||
output.WriteRawTag(10);
|
||||
output.WriteString(BlobName);
|
||||
}
|
||||
if (StartOffset != 0F) {
|
||||
output.WriteRawTag(21);
|
||||
output.WriteFloat(StartOffset);
|
||||
}
|
||||
if (EndOffset != 0F) {
|
||||
output.WriteRawTag(29);
|
||||
output.WriteFloat(EndOffset);
|
||||
}
|
||||
if (Preload != false) {
|
||||
output.WriteRawTag(32);
|
||||
output.WriteBool(Preload);
|
||||
}
|
||||
if (RecordingLength != 0F) {
|
||||
output.WriteRawTag(45);
|
||||
output.WriteFloat(RecordingLength);
|
||||
}
|
||||
if (HolotarName.Length != 0) {
|
||||
output.WriteRawTag(50);
|
||||
output.WriteString(HolotarName);
|
||||
}
|
||||
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 (BlobName.Length != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeStringSize(BlobName);
|
||||
}
|
||||
if (Preload != false) {
|
||||
size += 1 + 1;
|
||||
}
|
||||
if (RecordingLength != 0F) {
|
||||
size += 1 + 4;
|
||||
}
|
||||
if (HolotarName.Length != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeStringSize(HolotarName);
|
||||
}
|
||||
if (StartOffset != 0F) {
|
||||
size += 1 + 4;
|
||||
}
|
||||
if (EndOffset != 0F) {
|
||||
size += 1 + 4;
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(HolotarRecordingData other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.BlobName.Length != 0) {
|
||||
BlobName = other.BlobName;
|
||||
}
|
||||
if (other.Preload != false) {
|
||||
Preload = other.Preload;
|
||||
}
|
||||
if (other.RecordingLength != 0F) {
|
||||
RecordingLength = other.RecordingLength;
|
||||
}
|
||||
if (other.HolotarName.Length != 0) {
|
||||
HolotarName = other.HolotarName;
|
||||
}
|
||||
if (other.StartOffset != 0F) {
|
||||
StartOffset = other.StartOffset;
|
||||
}
|
||||
if (other.EndOffset != 0F) {
|
||||
EndOffset = other.EndOffset;
|
||||
}
|
||||
_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: {
|
||||
BlobName = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 21: {
|
||||
StartOffset = input.ReadFloat();
|
||||
break;
|
||||
}
|
||||
case 29: {
|
||||
EndOffset = input.ReadFloat();
|
||||
break;
|
||||
}
|
||||
case 32: {
|
||||
Preload = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
case 45: {
|
||||
RecordingLength = input.ReadFloat();
|
||||
break;
|
||||
}
|
||||
case 50: {
|
||||
HolotarName = input.ReadString();
|
||||
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: {
|
||||
BlobName = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 21: {
|
||||
StartOffset = input.ReadFloat();
|
||||
break;
|
||||
}
|
||||
case 29: {
|
||||
EndOffset = input.ReadFloat();
|
||||
break;
|
||||
}
|
||||
case 32: {
|
||||
Preload = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
case 45: {
|
||||
RecordingLength = input.ReadFloat();
|
||||
break;
|
||||
}
|
||||
case 50: {
|
||||
HolotarName = input.ReadString();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
Reference in New Issue
Block a user