//
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: cfsnet.proto
//
#pragma warning disable 1591, 0612, 3021
#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 Ara.CFSNet.Protobuf {
/// Holder for reflection information generated from cfsnet.proto
public static partial class CfsnetReflection {
#region Descriptor
/// File descriptor for cfsnet.proto
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static CfsnetReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"CgxjZnNuZXQucHJvdG8SCmFyYS5jZnNuZXQiPgoKQWNjZXNzRmlsZRIMCgRw",
"YXRoGAEgASgJEiIKBG1vZGUYAiABKA4yFC5hcmEuY2ZzbmV0LkZpbGVNb2Rl",
"IhgKB0Jvb2xlYW4SDQoFdmFsdWUYASABKAgiJwoGQnVmZmVyEg0KBXZhbHVl",
"GAEgASgMEg4KBmxlbmd0aBgCIAEoBCIfCgVDbG9zZRIWCg5maWxlRGVzY3Jp",
"cHRvchgBIAEoDSIhChFEb3dubG9hZERpcmVjdG9yeRIMCgRwYXRoGAEgASgJ",
"IhwKDERvd25sb2FkRmlsZRIMCgRwYXRoGAEgASgJIjMKBURyaXZlEgoKAmlk",
"GAEgASgMEgsKA2tleRgCIAEoDBIRCglzZWNyZXRLZXkYAyABKAwiNAoJSGFu",
"ZHNoYWtlEg0KBW5vbmNlGAEgASgMEgsKA2tleRgCIAEoDBILCgNhY2sYAyAB",
"KAgiPQoHS2V5UGFpchIMCgRzZWVkGAEgASgMEhEKCXB1YmxpY0tleRgCIAEo",
"DBIRCglzZWNyZXRLZXkYAyABKAwiJgoETGlzdBIOCgZ2YWx1ZXMYASADKAwS",
"DgoGbGVuZ3RoGAIgASgEIh0KDUxpc3REaXJlY3RvcnkSDAoEcGF0aBgBIAEo",
"CSIdCg1NYWtlRGlyZWN0b3J5EgwKBHBhdGgYASABKAkiIQoRTWFrZURpcmVj",
"dG9yeVBhdGgSDAoEcGF0aBgBIAEoCSIXCgZOdW1iZXISDQoFdmFsdWUYASAB",
"KAEiIwoET3BlbhIMCgRwYXRoGAEgASgJEg0KBWZsYWdzGAIgASgJIjoKBFJl",
"YWQSFgoOZmlsZURlc2NyaXB0b3IYASABKA0SDQoFc3RhcnQYAiABKA0SCwoD",
"ZW5kGAMgASgNIjQKCFJlYWRGaWxlEgwKBHBhdGgYASABKAkSDQoFc3RhcnQY",
"AiABKA0SCwoDZW5kGAMgASgNIh8KD1JlbW92ZURpcmVjdG9yeRIMCgRwYXRo",
"GAEgASgJIiMKE1JlbW92ZURpcmVjdG9yeVBhdGgSDAoEcGF0aBgBIAEoCSJ0",
"CgdSZXF1ZXN0Eg0KBW5vbmNlGAEgASgMEiAKBWRyaXZlGAIgASgLMhEuYXJh",
"LmNmc25ldC5Ecml2ZRIoCglvcGVyYXRpb24YAyABKA4yFS5hcmEuY2ZzbmV0",
"Lk9wZXJhdGlvbhIOCgZidWZmZXIYBCABKAwiFwoHUmVzb2x2ZRIMCgRwYXRo",
"GAEgASgJIsUBCghSZXNwb25zZRINCgVub25jZRgBIAEoDBIgCgVkcml2ZRgC",
"IAEoCzIRLmFyYS5jZnNuZXQuRHJpdmUSKAoJb3BlcmF0aW9uGAMgASgOMhUu",
"YXJhLmNmc25ldC5PcGVyYXRpb24SJAoHcmVxdWVzdBgEIAEoCzITLmFyYS5j",
"ZnNuZXQuUmVxdWVzdBIoCgllcnJvckNvZGUYBSABKA4yFS5hcmEuY2ZzbmV0",
"LkVycm9yQ29kZRIOCgZidWZmZXIYBiABKAwieQoEU3RhdBILCgN1aWQYASAB",
"KA0SCwoDZ2lkGAIgASgNEgwKBG1vZGUYAyABKA0SDAoEc2l6ZRgEIAEoBBIN",
"CgVhdGltZRgFIAEoBBINCgVjdGltZRgGIAEoBBINCgVtdGltZRgHIAEoBBIO",
"CgZibG9ja3MYCCABKAQiGAoIU3RhdEZpbGUSDAoEcGF0aBgBIAEoCSIXCgZT",
"dHJpbmcSDQoFdmFsdWUYASABKAkiGQoJVG91Y2hGaWxlEgwKBHBhdGgYASAB",
"KAkiGgoKVW5saW5rRmlsZRIMCgRwYXRoGAEgASgJIkUKCVdyaXRlRmlsZRIM",
"CgRwYXRoGAEgASgJEg4KBmJ1ZmZlchgCIAEoDBINCgVzdGFydBgDIAEoDRIL",
"CgNlbmQYBCABKA0qMgoIRmlsZU1vZGUSCAoERl9PSxAAEggKBFhfT0sQARII",
"CgRXX09LEAISCAoEUl9PSxAEKrUBCglFcnJvckNvZGUSCwoHTm9FcnJvchAA",
"EhQKD0JhZFJlcXVlc3RFcnJvchCQAxIWChFBY2Nlc3NEZW5pZWRFcnJvchCT",
"AxISCg1Ob3RGb3VuZEVycm9yEJQDEhYKEU5vdFN1cHBvcnRlZEVycm9yEJUD",
"EhMKDk5vdE9wZW5lZEVycm9yEJoDEhIKDUludGVybmFsRXJyb3IQ9AMSGAoT",
"Tm90SW1wbGVtZW50ZWRFcnJvchD1Ayr5AwoJT3BlcmF0aW9uEg8KC05vT3Bl",
"cmF0aW9uEAASFAoQUmVzb2x2ZU9wZXJhdGlvbhABEhQKEEtleVBhaXJPcGVy",
"YXRpb24QAhIRCg1PcGVuT3BlcmF0aW9uEAoSEgoOQ2xvc2VPcGVyYXRpb24Q",
"CxIRCg1SZWFkT3BlcmF0aW9uEAwSEgoOV3JpdGVPcGVyYXRpb24QDRIVChFS",
"ZWFkRmlsZU9wZXJhdGlvbhAUEhYKEldyaXRlRmlsZU9wZXJhdGlvbhAVEhUK",
"EVN0YXRGaWxlT3BlcmF0aW9uEBYSFwoTVW5saW5rRmlsZU9wZXJhdGlvbhAX",
"EhcKE0FjY2Vzc0ZpbGVPcGVyYXRpb24QGBIWChJUb3VjaEZpbGVPcGVyYXRp",
"b24QGRIZChVEb3dubG9hZEZpbGVPcGVyYXRpb24QGhIeChpEb3dubG9hZERp",
"cmVjdG9yeU9wZXJhdGlvbhAeEhoKFk1ha2VEaXJlY3RvcnlPcGVyYXRpb24Q",
"HxIeChpNYWtlRGlyZWN0b3J5UGF0aE9wZXJhdGlvbhAgEhwKGFJlbW92ZURp",
"cmVjdG9yeU9wZXJhdGlvbhAhEiAKHFJlbW92ZURpcmVjdG9yeVBhdGhPcGVy",
"YXRpb24QIhIaChZMaXN0RGlyZWN0b3J5T3BlcmF0aW9uECNCQgoQY29tLmFy",
"YS5wcm90b2J1ZkIOQ0ZTTmV0UHJvdG9idWZQAaICBUNGU1BCqgITQXJhLkNG",
"U05ldC5Qcm90b2J1ZmIGcHJvdG8z"));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { },
new pbr::GeneratedClrTypeInfo(new[] {typeof(global::Ara.CFSNet.Protobuf.FileMode), typeof(global::Ara.CFSNet.Protobuf.ErrorCode), typeof(global::Ara.CFSNet.Protobuf.Operation), }, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::Ara.CFSNet.Protobuf.AccessFile), global::Ara.CFSNet.Protobuf.AccessFile.Parser, new[]{ "Path", "Mode" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Ara.CFSNet.Protobuf.Boolean), global::Ara.CFSNet.Protobuf.Boolean.Parser, new[]{ "Value" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Ara.CFSNet.Protobuf.Buffer), global::Ara.CFSNet.Protobuf.Buffer.Parser, new[]{ "Value", "Length" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Ara.CFSNet.Protobuf.Close), global::Ara.CFSNet.Protobuf.Close.Parser, new[]{ "FileDescriptor" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Ara.CFSNet.Protobuf.DownloadDirectory), global::Ara.CFSNet.Protobuf.DownloadDirectory.Parser, new[]{ "Path" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Ara.CFSNet.Protobuf.DownloadFile), global::Ara.CFSNet.Protobuf.DownloadFile.Parser, new[]{ "Path" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Ara.CFSNet.Protobuf.Drive), global::Ara.CFSNet.Protobuf.Drive.Parser, new[]{ "Id", "Key", "SecretKey" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Ara.CFSNet.Protobuf.Handshake), global::Ara.CFSNet.Protobuf.Handshake.Parser, new[]{ "Nonce", "Key", "Ack" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Ara.CFSNet.Protobuf.KeyPair), global::Ara.CFSNet.Protobuf.KeyPair.Parser, new[]{ "Seed", "PublicKey", "SecretKey" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Ara.CFSNet.Protobuf.List), global::Ara.CFSNet.Protobuf.List.Parser, new[]{ "Values", "Length" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Ara.CFSNet.Protobuf.ListDirectory), global::Ara.CFSNet.Protobuf.ListDirectory.Parser, new[]{ "Path" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Ara.CFSNet.Protobuf.MakeDirectory), global::Ara.CFSNet.Protobuf.MakeDirectory.Parser, new[]{ "Path" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Ara.CFSNet.Protobuf.MakeDirectoryPath), global::Ara.CFSNet.Protobuf.MakeDirectoryPath.Parser, new[]{ "Path" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Ara.CFSNet.Protobuf.Number), global::Ara.CFSNet.Protobuf.Number.Parser, new[]{ "Value" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Ara.CFSNet.Protobuf.Open), global::Ara.CFSNet.Protobuf.Open.Parser, new[]{ "Path", "Flags" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Ara.CFSNet.Protobuf.Read), global::Ara.CFSNet.Protobuf.Read.Parser, new[]{ "FileDescriptor", "Start", "End" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Ara.CFSNet.Protobuf.ReadFile), global::Ara.CFSNet.Protobuf.ReadFile.Parser, new[]{ "Path", "Start", "End" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Ara.CFSNet.Protobuf.RemoveDirectory), global::Ara.CFSNet.Protobuf.RemoveDirectory.Parser, new[]{ "Path" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Ara.CFSNet.Protobuf.RemoveDirectoryPath), global::Ara.CFSNet.Protobuf.RemoveDirectoryPath.Parser, new[]{ "Path" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Ara.CFSNet.Protobuf.Request), global::Ara.CFSNet.Protobuf.Request.Parser, new[]{ "Nonce", "Drive", "Operation", "Buffer" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Ara.CFSNet.Protobuf.Resolve), global::Ara.CFSNet.Protobuf.Resolve.Parser, new[]{ "Path" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Ara.CFSNet.Protobuf.Response), global::Ara.CFSNet.Protobuf.Response.Parser, new[]{ "Nonce", "Drive", "Operation", "Request", "ErrorCode", "Buffer" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Ara.CFSNet.Protobuf.Stat), global::Ara.CFSNet.Protobuf.Stat.Parser, new[]{ "Uid", "Gid", "Mode", "Size", "Atime", "Ctime", "Mtime", "Blocks" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Ara.CFSNet.Protobuf.StatFile), global::Ara.CFSNet.Protobuf.StatFile.Parser, new[]{ "Path" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Ara.CFSNet.Protobuf.String), global::Ara.CFSNet.Protobuf.String.Parser, new[]{ "Value" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Ara.CFSNet.Protobuf.TouchFile), global::Ara.CFSNet.Protobuf.TouchFile.Parser, new[]{ "Path" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Ara.CFSNet.Protobuf.UnlinkFile), global::Ara.CFSNet.Protobuf.UnlinkFile.Parser, new[]{ "Path" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Ara.CFSNet.Protobuf.WriteFile), global::Ara.CFSNet.Protobuf.WriteFile.Parser, new[]{ "Path", "Buffer", "Start", "End" }, null, null, null)
}));
}
#endregion
}
#region Enums
public enum FileMode {
[pbr::OriginalName("F_OK")] FOk = 0,
[pbr::OriginalName("X_OK")] XOk = 1,
[pbr::OriginalName("W_OK")] WOk = 2,
[pbr::OriginalName("R_OK")] ROk = 4,
}
public enum ErrorCode {
[pbr::OriginalName("NoError")] NoError = 0,
[pbr::OriginalName("BadRequestError")] BadRequestError = 400,
[pbr::OriginalName("AccessDeniedError")] AccessDeniedError = 403,
[pbr::OriginalName("NotFoundError")] NotFoundError = 404,
[pbr::OriginalName("NotSupportedError")] NotSupportedError = 405,
[pbr::OriginalName("NotOpenedError")] NotOpenedError = 410,
[pbr::OriginalName("InternalError")] InternalError = 500,
[pbr::OriginalName("NotImplementedError")] NotImplementedError = 501,
}
public enum Operation {
[pbr::OriginalName("NoOperation")] NoOperation = 0,
[pbr::OriginalName("ResolveOperation")] ResolveOperation = 1,
[pbr::OriginalName("KeyPairOperation")] KeyPairOperation = 2,
[pbr::OriginalName("OpenOperation")] OpenOperation = 10,
[pbr::OriginalName("CloseOperation")] CloseOperation = 11,
[pbr::OriginalName("ReadOperation")] ReadOperation = 12,
[pbr::OriginalName("WriteOperation")] WriteOperation = 13,
[pbr::OriginalName("ReadFileOperation")] ReadFileOperation = 20,
[pbr::OriginalName("WriteFileOperation")] WriteFileOperation = 21,
[pbr::OriginalName("StatFileOperation")] StatFileOperation = 22,
[pbr::OriginalName("UnlinkFileOperation")] UnlinkFileOperation = 23,
[pbr::OriginalName("AccessFileOperation")] AccessFileOperation = 24,
[pbr::OriginalName("TouchFileOperation")] TouchFileOperation = 25,
[pbr::OriginalName("DownloadFileOperation")] DownloadFileOperation = 26,
[pbr::OriginalName("DownloadDirectoryOperation")] DownloadDirectoryOperation = 30,
[pbr::OriginalName("MakeDirectoryOperation")] MakeDirectoryOperation = 31,
[pbr::OriginalName("MakeDirectoryPathOperation")] MakeDirectoryPathOperation = 32,
[pbr::OriginalName("RemoveDirectoryOperation")] RemoveDirectoryOperation = 33,
[pbr::OriginalName("RemoveDirectoryPathOperation")] RemoveDirectoryPathOperation = 34,
[pbr::OriginalName("ListDirectoryOperation")] ListDirectoryOperation = 35,
}
#endregion
#region Messages
public sealed partial class AccessFile : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AccessFile());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Ara.CFSNet.Protobuf.CfsnetReflection.Descriptor.MessageTypes[0]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public AccessFile() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public AccessFile(AccessFile other) : this() {
path_ = other.path_;
mode_ = other.mode_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public AccessFile Clone() {
return new AccessFile(this);
}
/// Field number for the "path" field.
public const int PathFieldNumber = 1;
private string path_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string Path {
get { return path_; }
set {
path_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "mode" field.
public const int ModeFieldNumber = 2;
private global::Ara.CFSNet.Protobuf.FileMode mode_ = 0;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Ara.CFSNet.Protobuf.FileMode Mode {
get { return mode_; }
set {
mode_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as AccessFile);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(AccessFile other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Path != other.Path) return false;
if (Mode != other.Mode) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (Path.Length != 0) hash ^= Path.GetHashCode();
if (Mode != 0) hash ^= Mode.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
if (Path.Length != 0) {
output.WriteRawTag(10);
output.WriteString(Path);
}
if (Mode != 0) {
output.WriteRawTag(16);
output.WriteEnum((int) Mode);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (Path.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Path);
}
if (Mode != 0) {
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Mode);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(AccessFile other) {
if (other == null) {
return;
}
if (other.Path.Length != 0) {
Path = other.Path;
}
if (other.Mode != 0) {
Mode = other.Mode;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 10: {
Path = input.ReadString();
break;
}
case 16: {
mode_ = (global::Ara.CFSNet.Protobuf.FileMode) input.ReadEnum();
break;
}
}
}
}
}
public sealed partial class Boolean : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Boolean());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Ara.CFSNet.Protobuf.CfsnetReflection.Descriptor.MessageTypes[1]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public Boolean() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public Boolean(Boolean other) : this() {
value_ = other.value_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public Boolean Clone() {
return new Boolean(this);
}
/// Field number for the "value" field.
public const int ValueFieldNumber = 1;
private bool value_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Value {
get { return value_; }
set {
value_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as Boolean);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(Boolean other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Value != other.Value) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (Value != false) hash ^= Value.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
if (Value != false) {
output.WriteRawTag(8);
output.WriteBool(Value);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (Value != false) {
size += 1 + 1;
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(Boolean other) {
if (other == null) {
return;
}
if (other.Value != false) {
Value = other.Value;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 8: {
Value = input.ReadBool();
break;
}
}
}
}
}
public sealed partial class Buffer : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Buffer());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Ara.CFSNet.Protobuf.CfsnetReflection.Descriptor.MessageTypes[2]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public Buffer() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public Buffer(Buffer other) : this() {
value_ = other.value_;
length_ = other.length_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public Buffer Clone() {
return new Buffer(this);
}
/// Field number for the "value" field.
public const int ValueFieldNumber = 1;
private pb::ByteString value_ = pb::ByteString.Empty;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public pb::ByteString Value {
get { return value_; }
set {
value_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "length" field.
public const int LengthFieldNumber = 2;
private ulong length_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ulong Length {
get { return length_; }
set {
length_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as Buffer);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(Buffer other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Value != other.Value) return false;
if (Length != other.Length) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (Value.Length != 0) hash ^= Value.GetHashCode();
if (Length != 0UL) hash ^= Length.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
if (Value.Length != 0) {
output.WriteRawTag(10);
output.WriteBytes(Value);
}
if (Length != 0UL) {
output.WriteRawTag(16);
output.WriteUInt64(Length);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (Value.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeBytesSize(Value);
}
if (Length != 0UL) {
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Length);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(Buffer other) {
if (other == null) {
return;
}
if (other.Value.Length != 0) {
Value = other.Value;
}
if (other.Length != 0UL) {
Length = other.Length;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 10: {
Value = input.ReadBytes();
break;
}
case 16: {
Length = input.ReadUInt64();
break;
}
}
}
}
}
public sealed partial class Close : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Close());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Ara.CFSNet.Protobuf.CfsnetReflection.Descriptor.MessageTypes[3]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public Close() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public Close(Close other) : this() {
fileDescriptor_ = other.fileDescriptor_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public Close Clone() {
return new Close(this);
}
/// Field number for the "fileDescriptor" field.
public const int FileDescriptorFieldNumber = 1;
private uint fileDescriptor_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public uint FileDescriptor {
get { return fileDescriptor_; }
set {
fileDescriptor_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as Close);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(Close other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (FileDescriptor != other.FileDescriptor) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (FileDescriptor != 0) hash ^= FileDescriptor.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
if (FileDescriptor != 0) {
output.WriteRawTag(8);
output.WriteUInt32(FileDescriptor);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (FileDescriptor != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(FileDescriptor);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(Close other) {
if (other == null) {
return;
}
if (other.FileDescriptor != 0) {
FileDescriptor = other.FileDescriptor;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 8: {
FileDescriptor = input.ReadUInt32();
break;
}
}
}
}
}
public sealed partial class DownloadDirectory : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DownloadDirectory());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Ara.CFSNet.Protobuf.CfsnetReflection.Descriptor.MessageTypes[4]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public DownloadDirectory() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public DownloadDirectory(DownloadDirectory other) : this() {
path_ = other.path_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public DownloadDirectory Clone() {
return new DownloadDirectory(this);
}
/// Field number for the "path" field.
public const int PathFieldNumber = 1;
private string path_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string Path {
get { return path_; }
set {
path_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as DownloadDirectory);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(DownloadDirectory other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Path != other.Path) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (Path.Length != 0) hash ^= Path.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
if (Path.Length != 0) {
output.WriteRawTag(10);
output.WriteString(Path);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (Path.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Path);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(DownloadDirectory other) {
if (other == null) {
return;
}
if (other.Path.Length != 0) {
Path = other.Path;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 10: {
Path = input.ReadString();
break;
}
}
}
}
}
public sealed partial class DownloadFile : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DownloadFile());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Ara.CFSNet.Protobuf.CfsnetReflection.Descriptor.MessageTypes[5]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public DownloadFile() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public DownloadFile(DownloadFile other) : this() {
path_ = other.path_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public DownloadFile Clone() {
return new DownloadFile(this);
}
/// Field number for the "path" field.
public const int PathFieldNumber = 1;
private string path_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string Path {
get { return path_; }
set {
path_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as DownloadFile);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(DownloadFile other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Path != other.Path) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (Path.Length != 0) hash ^= Path.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
if (Path.Length != 0) {
output.WriteRawTag(10);
output.WriteString(Path);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (Path.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Path);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(DownloadFile other) {
if (other == null) {
return;
}
if (other.Path.Length != 0) {
Path = other.Path;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 10: {
Path = input.ReadString();
break;
}
}
}
}
}
public sealed partial class Drive : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Drive());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Ara.CFSNet.Protobuf.CfsnetReflection.Descriptor.MessageTypes[6]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public Drive() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public Drive(Drive other) : this() {
id_ = other.id_;
key_ = other.key_;
secretKey_ = other.secretKey_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public Drive Clone() {
return new Drive(this);
}
/// Field number for the "id" field.
public const int IdFieldNumber = 1;
private pb::ByteString id_ = pb::ByteString.Empty;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public pb::ByteString Id {
get { return id_; }
set {
id_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "key" field.
public const int KeyFieldNumber = 2;
private pb::ByteString key_ = pb::ByteString.Empty;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public pb::ByteString Key {
get { return key_; }
set {
key_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "secretKey" field.
public const int SecretKeyFieldNumber = 3;
private pb::ByteString secretKey_ = pb::ByteString.Empty;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public pb::ByteString SecretKey {
get { return secretKey_; }
set {
secretKey_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as Drive);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(Drive other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Id != other.Id) return false;
if (Key != other.Key) return false;
if (SecretKey != other.SecretKey) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (Id.Length != 0) hash ^= Id.GetHashCode();
if (Key.Length != 0) hash ^= Key.GetHashCode();
if (SecretKey.Length != 0) hash ^= SecretKey.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
if (Id.Length != 0) {
output.WriteRawTag(10);
output.WriteBytes(Id);
}
if (Key.Length != 0) {
output.WriteRawTag(18);
output.WriteBytes(Key);
}
if (SecretKey.Length != 0) {
output.WriteRawTag(26);
output.WriteBytes(SecretKey);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (Id.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeBytesSize(Id);
}
if (Key.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeBytesSize(Key);
}
if (SecretKey.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeBytesSize(SecretKey);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(Drive other) {
if (other == null) {
return;
}
if (other.Id.Length != 0) {
Id = other.Id;
}
if (other.Key.Length != 0) {
Key = other.Key;
}
if (other.SecretKey.Length != 0) {
SecretKey = other.SecretKey;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 10: {
Id = input.ReadBytes();
break;
}
case 18: {
Key = input.ReadBytes();
break;
}
case 26: {
SecretKey = input.ReadBytes();
break;
}
}
}
}
}
public sealed partial class Handshake : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Handshake());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Ara.CFSNet.Protobuf.CfsnetReflection.Descriptor.MessageTypes[7]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public Handshake() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public Handshake(Handshake other) : this() {
nonce_ = other.nonce_;
key_ = other.key_;
ack_ = other.ack_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public Handshake Clone() {
return new Handshake(this);
}
/// Field number for the "nonce" field.
public const int NonceFieldNumber = 1;
private pb::ByteString nonce_ = pb::ByteString.Empty;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public pb::ByteString Nonce {
get { return nonce_; }
set {
nonce_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "key" field.
public const int KeyFieldNumber = 2;
private pb::ByteString key_ = pb::ByteString.Empty;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public pb::ByteString Key {
get { return key_; }
set {
key_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "ack" field.
public const int AckFieldNumber = 3;
private bool ack_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Ack {
get { return ack_; }
set {
ack_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as Handshake);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(Handshake other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Nonce != other.Nonce) return false;
if (Key != other.Key) return false;
if (Ack != other.Ack) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (Nonce.Length != 0) hash ^= Nonce.GetHashCode();
if (Key.Length != 0) hash ^= Key.GetHashCode();
if (Ack != false) hash ^= Ack.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
if (Nonce.Length != 0) {
output.WriteRawTag(10);
output.WriteBytes(Nonce);
}
if (Key.Length != 0) {
output.WriteRawTag(18);
output.WriteBytes(Key);
}
if (Ack != false) {
output.WriteRawTag(24);
output.WriteBool(Ack);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (Nonce.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeBytesSize(Nonce);
}
if (Key.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeBytesSize(Key);
}
if (Ack != false) {
size += 1 + 1;
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(Handshake other) {
if (other == null) {
return;
}
if (other.Nonce.Length != 0) {
Nonce = other.Nonce;
}
if (other.Key.Length != 0) {
Key = other.Key;
}
if (other.Ack != false) {
Ack = other.Ack;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 10: {
Nonce = input.ReadBytes();
break;
}
case 18: {
Key = input.ReadBytes();
break;
}
case 24: {
Ack = input.ReadBool();
break;
}
}
}
}
}
public sealed partial class KeyPair : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new KeyPair());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Ara.CFSNet.Protobuf.CfsnetReflection.Descriptor.MessageTypes[8]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public KeyPair() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public KeyPair(KeyPair other) : this() {
seed_ = other.seed_;
publicKey_ = other.publicKey_;
secretKey_ = other.secretKey_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public KeyPair Clone() {
return new KeyPair(this);
}
/// Field number for the "seed" field.
public const int SeedFieldNumber = 1;
private pb::ByteString seed_ = pb::ByteString.Empty;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public pb::ByteString Seed {
get { return seed_; }
set {
seed_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "publicKey" field.
public const int PublicKeyFieldNumber = 2;
private pb::ByteString publicKey_ = pb::ByteString.Empty;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public pb::ByteString PublicKey {
get { return publicKey_; }
set {
publicKey_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "secretKey" field.
public const int SecretKeyFieldNumber = 3;
private pb::ByteString secretKey_ = pb::ByteString.Empty;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public pb::ByteString SecretKey {
get { return secretKey_; }
set {
secretKey_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as KeyPair);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(KeyPair other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Seed != other.Seed) return false;
if (PublicKey != other.PublicKey) return false;
if (SecretKey != other.SecretKey) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (Seed.Length != 0) hash ^= Seed.GetHashCode();
if (PublicKey.Length != 0) hash ^= PublicKey.GetHashCode();
if (SecretKey.Length != 0) hash ^= SecretKey.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
if (Seed.Length != 0) {
output.WriteRawTag(10);
output.WriteBytes(Seed);
}
if (PublicKey.Length != 0) {
output.WriteRawTag(18);
output.WriteBytes(PublicKey);
}
if (SecretKey.Length != 0) {
output.WriteRawTag(26);
output.WriteBytes(SecretKey);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (Seed.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeBytesSize(Seed);
}
if (PublicKey.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeBytesSize(PublicKey);
}
if (SecretKey.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeBytesSize(SecretKey);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(KeyPair other) {
if (other == null) {
return;
}
if (other.Seed.Length != 0) {
Seed = other.Seed;
}
if (other.PublicKey.Length != 0) {
PublicKey = other.PublicKey;
}
if (other.SecretKey.Length != 0) {
SecretKey = other.SecretKey;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 10: {
Seed = input.ReadBytes();
break;
}
case 18: {
PublicKey = input.ReadBytes();
break;
}
case 26: {
SecretKey = input.ReadBytes();
break;
}
}
}
}
}
public sealed partial class List : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new List());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Ara.CFSNet.Protobuf.CfsnetReflection.Descriptor.MessageTypes[9]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public List() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public List(List other) : this() {
values_ = other.values_.Clone();
length_ = other.length_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public List Clone() {
return new List(this);
}
/// Field number for the "values" field.
public const int ValuesFieldNumber = 1;
private static readonly pb::FieldCodec _repeated_values_codec
= pb::FieldCodec.ForBytes(10);
private readonly pbc::RepeatedField values_ = new pbc::RepeatedField();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public pbc::RepeatedField Values {
get { return values_; }
}
/// Field number for the "length" field.
public const int LengthFieldNumber = 2;
private ulong length_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ulong Length {
get { return length_; }
set {
length_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as List);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(List other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if(!values_.Equals(other.values_)) return false;
if (Length != other.Length) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
hash ^= values_.GetHashCode();
if (Length != 0UL) hash ^= Length.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
values_.WriteTo(output, _repeated_values_codec);
if (Length != 0UL) {
output.WriteRawTag(16);
output.WriteUInt64(Length);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
size += values_.CalculateSize(_repeated_values_codec);
if (Length != 0UL) {
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Length);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(List other) {
if (other == null) {
return;
}
values_.Add(other.values_);
if (other.Length != 0UL) {
Length = other.Length;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 10: {
values_.AddEntriesFrom(input, _repeated_values_codec);
break;
}
case 16: {
Length = input.ReadUInt64();
break;
}
}
}
}
}
public sealed partial class ListDirectory : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ListDirectory());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Ara.CFSNet.Protobuf.CfsnetReflection.Descriptor.MessageTypes[10]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ListDirectory() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ListDirectory(ListDirectory other) : this() {
path_ = other.path_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ListDirectory Clone() {
return new ListDirectory(this);
}
/// Field number for the "path" field.
public const int PathFieldNumber = 1;
private string path_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string Path {
get { return path_; }
set {
path_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as ListDirectory);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(ListDirectory other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Path != other.Path) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (Path.Length != 0) hash ^= Path.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
if (Path.Length != 0) {
output.WriteRawTag(10);
output.WriteString(Path);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (Path.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Path);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(ListDirectory other) {
if (other == null) {
return;
}
if (other.Path.Length != 0) {
Path = other.Path;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 10: {
Path = input.ReadString();
break;
}
}
}
}
}
public sealed partial class MakeDirectory : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MakeDirectory());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Ara.CFSNet.Protobuf.CfsnetReflection.Descriptor.MessageTypes[11]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public MakeDirectory() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public MakeDirectory(MakeDirectory other) : this() {
path_ = other.path_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public MakeDirectory Clone() {
return new MakeDirectory(this);
}
/// Field number for the "path" field.
public const int PathFieldNumber = 1;
private string path_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string Path {
get { return path_; }
set {
path_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as MakeDirectory);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(MakeDirectory other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Path != other.Path) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (Path.Length != 0) hash ^= Path.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
if (Path.Length != 0) {
output.WriteRawTag(10);
output.WriteString(Path);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (Path.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Path);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(MakeDirectory other) {
if (other == null) {
return;
}
if (other.Path.Length != 0) {
Path = other.Path;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 10: {
Path = input.ReadString();
break;
}
}
}
}
}
public sealed partial class MakeDirectoryPath : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MakeDirectoryPath());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Ara.CFSNet.Protobuf.CfsnetReflection.Descriptor.MessageTypes[12]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public MakeDirectoryPath() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public MakeDirectoryPath(MakeDirectoryPath other) : this() {
path_ = other.path_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public MakeDirectoryPath Clone() {
return new MakeDirectoryPath(this);
}
/// Field number for the "path" field.
public const int PathFieldNumber = 1;
private string path_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string Path {
get { return path_; }
set {
path_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as MakeDirectoryPath);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(MakeDirectoryPath other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Path != other.Path) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (Path.Length != 0) hash ^= Path.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
if (Path.Length != 0) {
output.WriteRawTag(10);
output.WriteString(Path);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (Path.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Path);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(MakeDirectoryPath other) {
if (other == null) {
return;
}
if (other.Path.Length != 0) {
Path = other.Path;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 10: {
Path = input.ReadString();
break;
}
}
}
}
}
public sealed partial class Number : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Number());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Ara.CFSNet.Protobuf.CfsnetReflection.Descriptor.MessageTypes[13]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public Number() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public Number(Number other) : this() {
value_ = other.value_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public Number Clone() {
return new Number(this);
}
/// Field number for the "value" field.
public const int ValueFieldNumber = 1;
private double value_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public double Value {
get { return value_; }
set {
value_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as Number);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(Number other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(Value, other.Value)) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (Value != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(Value);
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
if (Value != 0D) {
output.WriteRawTag(9);
output.WriteDouble(Value);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (Value != 0D) {
size += 1 + 8;
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(Number other) {
if (other == null) {
return;
}
if (other.Value != 0D) {
Value = other.Value;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 9: {
Value = input.ReadDouble();
break;
}
}
}
}
}
public sealed partial class Open : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Open());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Ara.CFSNet.Protobuf.CfsnetReflection.Descriptor.MessageTypes[14]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public Open() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public Open(Open other) : this() {
path_ = other.path_;
flags_ = other.flags_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public Open Clone() {
return new Open(this);
}
/// Field number for the "path" field.
public const int PathFieldNumber = 1;
private string path_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string Path {
get { return path_; }
set {
path_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "flags" field.
public const int FlagsFieldNumber = 2;
private string flags_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string Flags {
get { return flags_; }
set {
flags_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as Open);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(Open other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Path != other.Path) return false;
if (Flags != other.Flags) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (Path.Length != 0) hash ^= Path.GetHashCode();
if (Flags.Length != 0) hash ^= Flags.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
if (Path.Length != 0) {
output.WriteRawTag(10);
output.WriteString(Path);
}
if (Flags.Length != 0) {
output.WriteRawTag(18);
output.WriteString(Flags);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (Path.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Path);
}
if (Flags.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Flags);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(Open other) {
if (other == null) {
return;
}
if (other.Path.Length != 0) {
Path = other.Path;
}
if (other.Flags.Length != 0) {
Flags = other.Flags;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 10: {
Path = input.ReadString();
break;
}
case 18: {
Flags = input.ReadString();
break;
}
}
}
}
}
public sealed partial class Read : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Read());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Ara.CFSNet.Protobuf.CfsnetReflection.Descriptor.MessageTypes[15]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public Read() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public Read(Read other) : this() {
fileDescriptor_ = other.fileDescriptor_;
start_ = other.start_;
end_ = other.end_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public Read Clone() {
return new Read(this);
}
/// Field number for the "fileDescriptor" field.
public const int FileDescriptorFieldNumber = 1;
private uint fileDescriptor_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public uint FileDescriptor {
get { return fileDescriptor_; }
set {
fileDescriptor_ = value;
}
}
/// Field number for the "start" field.
public const int StartFieldNumber = 2;
private uint start_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public uint Start {
get { return start_; }
set {
start_ = value;
}
}
/// Field number for the "end" field.
public const int EndFieldNumber = 3;
private uint end_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public uint End {
get { return end_; }
set {
end_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as Read);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(Read other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (FileDescriptor != other.FileDescriptor) return false;
if (Start != other.Start) return false;
if (End != other.End) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (FileDescriptor != 0) hash ^= FileDescriptor.GetHashCode();
if (Start != 0) hash ^= Start.GetHashCode();
if (End != 0) hash ^= End.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
if (FileDescriptor != 0) {
output.WriteRawTag(8);
output.WriteUInt32(FileDescriptor);
}
if (Start != 0) {
output.WriteRawTag(16);
output.WriteUInt32(Start);
}
if (End != 0) {
output.WriteRawTag(24);
output.WriteUInt32(End);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (FileDescriptor != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(FileDescriptor);
}
if (Start != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Start);
}
if (End != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(End);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(Read other) {
if (other == null) {
return;
}
if (other.FileDescriptor != 0) {
FileDescriptor = other.FileDescriptor;
}
if (other.Start != 0) {
Start = other.Start;
}
if (other.End != 0) {
End = other.End;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 8: {
FileDescriptor = input.ReadUInt32();
break;
}
case 16: {
Start = input.ReadUInt32();
break;
}
case 24: {
End = input.ReadUInt32();
break;
}
}
}
}
}
public sealed partial class ReadFile : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ReadFile());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Ara.CFSNet.Protobuf.CfsnetReflection.Descriptor.MessageTypes[16]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ReadFile() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ReadFile(ReadFile other) : this() {
path_ = other.path_;
start_ = other.start_;
end_ = other.end_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ReadFile Clone() {
return new ReadFile(this);
}
/// Field number for the "path" field.
public const int PathFieldNumber = 1;
private string path_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string Path {
get { return path_; }
set {
path_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "start" field.
public const int StartFieldNumber = 2;
private uint start_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public uint Start {
get { return start_; }
set {
start_ = value;
}
}
/// Field number for the "end" field.
public const int EndFieldNumber = 3;
private uint end_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public uint End {
get { return end_; }
set {
end_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as ReadFile);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(ReadFile other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Path != other.Path) return false;
if (Start != other.Start) return false;
if (End != other.End) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (Path.Length != 0) hash ^= Path.GetHashCode();
if (Start != 0) hash ^= Start.GetHashCode();
if (End != 0) hash ^= End.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
if (Path.Length != 0) {
output.WriteRawTag(10);
output.WriteString(Path);
}
if (Start != 0) {
output.WriteRawTag(16);
output.WriteUInt32(Start);
}
if (End != 0) {
output.WriteRawTag(24);
output.WriteUInt32(End);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (Path.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Path);
}
if (Start != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Start);
}
if (End != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(End);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(ReadFile other) {
if (other == null) {
return;
}
if (other.Path.Length != 0) {
Path = other.Path;
}
if (other.Start != 0) {
Start = other.Start;
}
if (other.End != 0) {
End = other.End;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 10: {
Path = input.ReadString();
break;
}
case 16: {
Start = input.ReadUInt32();
break;
}
case 24: {
End = input.ReadUInt32();
break;
}
}
}
}
}
public sealed partial class RemoveDirectory : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RemoveDirectory());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Ara.CFSNet.Protobuf.CfsnetReflection.Descriptor.MessageTypes[17]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public RemoveDirectory() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public RemoveDirectory(RemoveDirectory other) : this() {
path_ = other.path_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public RemoveDirectory Clone() {
return new RemoveDirectory(this);
}
/// Field number for the "path" field.
public const int PathFieldNumber = 1;
private string path_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string Path {
get { return path_; }
set {
path_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as RemoveDirectory);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(RemoveDirectory other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Path != other.Path) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (Path.Length != 0) hash ^= Path.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
if (Path.Length != 0) {
output.WriteRawTag(10);
output.WriteString(Path);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (Path.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Path);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(RemoveDirectory other) {
if (other == null) {
return;
}
if (other.Path.Length != 0) {
Path = other.Path;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 10: {
Path = input.ReadString();
break;
}
}
}
}
}
public sealed partial class RemoveDirectoryPath : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RemoveDirectoryPath());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Ara.CFSNet.Protobuf.CfsnetReflection.Descriptor.MessageTypes[18]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public RemoveDirectoryPath() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public RemoveDirectoryPath(RemoveDirectoryPath other) : this() {
path_ = other.path_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public RemoveDirectoryPath Clone() {
return new RemoveDirectoryPath(this);
}
/// Field number for the "path" field.
public const int PathFieldNumber = 1;
private string path_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string Path {
get { return path_; }
set {
path_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as RemoveDirectoryPath);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(RemoveDirectoryPath other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Path != other.Path) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (Path.Length != 0) hash ^= Path.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
if (Path.Length != 0) {
output.WriteRawTag(10);
output.WriteString(Path);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (Path.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Path);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(RemoveDirectoryPath other) {
if (other == null) {
return;
}
if (other.Path.Length != 0) {
Path = other.Path;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 10: {
Path = input.ReadString();
break;
}
}
}
}
}
public sealed partial class Request : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Request());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Ara.CFSNet.Protobuf.CfsnetReflection.Descriptor.MessageTypes[19]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public Request() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public Request(Request other) : this() {
nonce_ = other.nonce_;
Drive = other.drive_ != null ? other.Drive.Clone() : null;
operation_ = other.operation_;
buffer_ = other.buffer_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public Request Clone() {
return new Request(this);
}
/// Field number for the "nonce" field.
public const int NonceFieldNumber = 1;
private pb::ByteString nonce_ = pb::ByteString.Empty;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public pb::ByteString Nonce {
get { return nonce_; }
set {
nonce_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "drive" field.
public const int DriveFieldNumber = 2;
private global::Ara.CFSNet.Protobuf.Drive drive_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Ara.CFSNet.Protobuf.Drive Drive {
get { return drive_; }
set {
drive_ = value;
}
}
/// Field number for the "operation" field.
public const int OperationFieldNumber = 3;
private global::Ara.CFSNet.Protobuf.Operation operation_ = 0;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Ara.CFSNet.Protobuf.Operation Operation {
get { return operation_; }
set {
operation_ = value;
}
}
/// Field number for the "buffer" field.
public const int BufferFieldNumber = 4;
private pb::ByteString buffer_ = pb::ByteString.Empty;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public pb::ByteString Buffer {
get { return buffer_; }
set {
buffer_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as Request);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(Request other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Nonce != other.Nonce) return false;
if (!object.Equals(Drive, other.Drive)) return false;
if (Operation != other.Operation) return false;
if (Buffer != other.Buffer) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (Nonce.Length != 0) hash ^= Nonce.GetHashCode();
if (drive_ != null) hash ^= Drive.GetHashCode();
if (Operation != 0) hash ^= Operation.GetHashCode();
if (Buffer.Length != 0) hash ^= Buffer.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
if (Nonce.Length != 0) {
output.WriteRawTag(10);
output.WriteBytes(Nonce);
}
if (drive_ != null) {
output.WriteRawTag(18);
output.WriteMessage(Drive);
}
if (Operation != 0) {
output.WriteRawTag(24);
output.WriteEnum((int) Operation);
}
if (Buffer.Length != 0) {
output.WriteRawTag(34);
output.WriteBytes(Buffer);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (Nonce.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeBytesSize(Nonce);
}
if (drive_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Drive);
}
if (Operation != 0) {
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Operation);
}
if (Buffer.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeBytesSize(Buffer);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(Request other) {
if (other == null) {
return;
}
if (other.Nonce.Length != 0) {
Nonce = other.Nonce;
}
if (other.drive_ != null) {
if (drive_ == null) {
drive_ = new global::Ara.CFSNet.Protobuf.Drive();
}
Drive.MergeFrom(other.Drive);
}
if (other.Operation != 0) {
Operation = other.Operation;
}
if (other.Buffer.Length != 0) {
Buffer = other.Buffer;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 10: {
Nonce = input.ReadBytes();
break;
}
case 18: {
if (drive_ == null) {
drive_ = new global::Ara.CFSNet.Protobuf.Drive();
}
input.ReadMessage(drive_);
break;
}
case 24: {
operation_ = (global::Ara.CFSNet.Protobuf.Operation) input.ReadEnum();
break;
}
case 34: {
Buffer = input.ReadBytes();
break;
}
}
}
}
}
public sealed partial class Resolve : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Resolve());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Ara.CFSNet.Protobuf.CfsnetReflection.Descriptor.MessageTypes[20]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public Resolve() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public Resolve(Resolve other) : this() {
path_ = other.path_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public Resolve Clone() {
return new Resolve(this);
}
/// Field number for the "path" field.
public const int PathFieldNumber = 1;
private string path_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string Path {
get { return path_; }
set {
path_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as Resolve);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(Resolve other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Path != other.Path) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (Path.Length != 0) hash ^= Path.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
if (Path.Length != 0) {
output.WriteRawTag(10);
output.WriteString(Path);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (Path.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Path);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(Resolve other) {
if (other == null) {
return;
}
if (other.Path.Length != 0) {
Path = other.Path;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 10: {
Path = input.ReadString();
break;
}
}
}
}
}
public sealed partial class Response : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Response());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Ara.CFSNet.Protobuf.CfsnetReflection.Descriptor.MessageTypes[21]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public Response() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public Response(Response other) : this() {
nonce_ = other.nonce_;
Drive = other.drive_ != null ? other.Drive.Clone() : null;
operation_ = other.operation_;
Request = other.request_ != null ? other.Request.Clone() : null;
errorCode_ = other.errorCode_;
buffer_ = other.buffer_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public Response Clone() {
return new Response(this);
}
/// Field number for the "nonce" field.
public const int NonceFieldNumber = 1;
private pb::ByteString nonce_ = pb::ByteString.Empty;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public pb::ByteString Nonce {
get { return nonce_; }
set {
nonce_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "drive" field.
public const int DriveFieldNumber = 2;
private global::Ara.CFSNet.Protobuf.Drive drive_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Ara.CFSNet.Protobuf.Drive Drive {
get { return drive_; }
set {
drive_ = value;
}
}
/// Field number for the "operation" field.
public const int OperationFieldNumber = 3;
private global::Ara.CFSNet.Protobuf.Operation operation_ = 0;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Ara.CFSNet.Protobuf.Operation Operation {
get { return operation_; }
set {
operation_ = value;
}
}
/// Field number for the "request" field.
public const int RequestFieldNumber = 4;
private global::Ara.CFSNet.Protobuf.Request request_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Ara.CFSNet.Protobuf.Request Request {
get { return request_; }
set {
request_ = value;
}
}
/// Field number for the "errorCode" field.
public const int ErrorCodeFieldNumber = 5;
private global::Ara.CFSNet.Protobuf.ErrorCode errorCode_ = 0;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Ara.CFSNet.Protobuf.ErrorCode ErrorCode {
get { return errorCode_; }
set {
errorCode_ = value;
}
}
/// Field number for the "buffer" field.
public const int BufferFieldNumber = 6;
private pb::ByteString buffer_ = pb::ByteString.Empty;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public pb::ByteString Buffer {
get { return buffer_; }
set {
buffer_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as Response);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(Response other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Nonce != other.Nonce) return false;
if (!object.Equals(Drive, other.Drive)) return false;
if (Operation != other.Operation) return false;
if (!object.Equals(Request, other.Request)) return false;
if (ErrorCode != other.ErrorCode) return false;
if (Buffer != other.Buffer) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (Nonce.Length != 0) hash ^= Nonce.GetHashCode();
if (drive_ != null) hash ^= Drive.GetHashCode();
if (Operation != 0) hash ^= Operation.GetHashCode();
if (request_ != null) hash ^= Request.GetHashCode();
if (ErrorCode != 0) hash ^= ErrorCode.GetHashCode();
if (Buffer.Length != 0) hash ^= Buffer.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
if (Nonce.Length != 0) {
output.WriteRawTag(10);
output.WriteBytes(Nonce);
}
if (drive_ != null) {
output.WriteRawTag(18);
output.WriteMessage(Drive);
}
if (Operation != 0) {
output.WriteRawTag(24);
output.WriteEnum((int) Operation);
}
if (request_ != null) {
output.WriteRawTag(34);
output.WriteMessage(Request);
}
if (ErrorCode != 0) {
output.WriteRawTag(40);
output.WriteEnum((int) ErrorCode);
}
if (Buffer.Length != 0) {
output.WriteRawTag(50);
output.WriteBytes(Buffer);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (Nonce.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeBytesSize(Nonce);
}
if (drive_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Drive);
}
if (Operation != 0) {
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Operation);
}
if (request_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Request);
}
if (ErrorCode != 0) {
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) ErrorCode);
}
if (Buffer.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeBytesSize(Buffer);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(Response other) {
if (other == null) {
return;
}
if (other.Nonce.Length != 0) {
Nonce = other.Nonce;
}
if (other.drive_ != null) {
if (drive_ == null) {
drive_ = new global::Ara.CFSNet.Protobuf.Drive();
}
Drive.MergeFrom(other.Drive);
}
if (other.Operation != 0) {
Operation = other.Operation;
}
if (other.request_ != null) {
if (request_ == null) {
request_ = new global::Ara.CFSNet.Protobuf.Request();
}
Request.MergeFrom(other.Request);
}
if (other.ErrorCode != 0) {
ErrorCode = other.ErrorCode;
}
if (other.Buffer.Length != 0) {
Buffer = other.Buffer;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 10: {
Nonce = input.ReadBytes();
break;
}
case 18: {
if (drive_ == null) {
drive_ = new global::Ara.CFSNet.Protobuf.Drive();
}
input.ReadMessage(drive_);
break;
}
case 24: {
operation_ = (global::Ara.CFSNet.Protobuf.Operation) input.ReadEnum();
break;
}
case 34: {
if (request_ == null) {
request_ = new global::Ara.CFSNet.Protobuf.Request();
}
input.ReadMessage(request_);
break;
}
case 40: {
errorCode_ = (global::Ara.CFSNet.Protobuf.ErrorCode) input.ReadEnum();
break;
}
case 50: {
Buffer = input.ReadBytes();
break;
}
}
}
}
}
public sealed partial class Stat : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Stat());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Ara.CFSNet.Protobuf.CfsnetReflection.Descriptor.MessageTypes[22]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public Stat() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public Stat(Stat other) : this() {
uid_ = other.uid_;
gid_ = other.gid_;
mode_ = other.mode_;
size_ = other.size_;
atime_ = other.atime_;
ctime_ = other.ctime_;
mtime_ = other.mtime_;
blocks_ = other.blocks_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public Stat Clone() {
return new Stat(this);
}
/// Field number for the "uid" field.
public const int UidFieldNumber = 1;
private uint uid_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public uint Uid {
get { return uid_; }
set {
uid_ = value;
}
}
/// Field number for the "gid" field.
public const int GidFieldNumber = 2;
private uint gid_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public uint Gid {
get { return gid_; }
set {
gid_ = value;
}
}
/// Field number for the "mode" field.
public const int ModeFieldNumber = 3;
private uint mode_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public uint Mode {
get { return mode_; }
set {
mode_ = value;
}
}
/// Field number for the "size" field.
public const int SizeFieldNumber = 4;
private ulong size_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ulong Size {
get { return size_; }
set {
size_ = value;
}
}
/// Field number for the "atime" field.
public const int AtimeFieldNumber = 5;
private ulong atime_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ulong Atime {
get { return atime_; }
set {
atime_ = value;
}
}
/// Field number for the "ctime" field.
public const int CtimeFieldNumber = 6;
private ulong ctime_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ulong Ctime {
get { return ctime_; }
set {
ctime_ = value;
}
}
/// Field number for the "mtime" field.
public const int MtimeFieldNumber = 7;
private ulong mtime_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ulong Mtime {
get { return mtime_; }
set {
mtime_ = value;
}
}
/// Field number for the "blocks" field.
public const int BlocksFieldNumber = 8;
private ulong blocks_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ulong Blocks {
get { return blocks_; }
set {
blocks_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as Stat);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(Stat other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Uid != other.Uid) return false;
if (Gid != other.Gid) return false;
if (Mode != other.Mode) return false;
if (Size != other.Size) return false;
if (Atime != other.Atime) return false;
if (Ctime != other.Ctime) return false;
if (Mtime != other.Mtime) return false;
if (Blocks != other.Blocks) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (Uid != 0) hash ^= Uid.GetHashCode();
if (Gid != 0) hash ^= Gid.GetHashCode();
if (Mode != 0) hash ^= Mode.GetHashCode();
if (Size != 0UL) hash ^= Size.GetHashCode();
if (Atime != 0UL) hash ^= Atime.GetHashCode();
if (Ctime != 0UL) hash ^= Ctime.GetHashCode();
if (Mtime != 0UL) hash ^= Mtime.GetHashCode();
if (Blocks != 0UL) hash ^= Blocks.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
if (Uid != 0) {
output.WriteRawTag(8);
output.WriteUInt32(Uid);
}
if (Gid != 0) {
output.WriteRawTag(16);
output.WriteUInt32(Gid);
}
if (Mode != 0) {
output.WriteRawTag(24);
output.WriteUInt32(Mode);
}
if (Size != 0UL) {
output.WriteRawTag(32);
output.WriteUInt64(Size);
}
if (Atime != 0UL) {
output.WriteRawTag(40);
output.WriteUInt64(Atime);
}
if (Ctime != 0UL) {
output.WriteRawTag(48);
output.WriteUInt64(Ctime);
}
if (Mtime != 0UL) {
output.WriteRawTag(56);
output.WriteUInt64(Mtime);
}
if (Blocks != 0UL) {
output.WriteRawTag(64);
output.WriteUInt64(Blocks);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (Uid != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Uid);
}
if (Gid != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Gid);
}
if (Mode != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Mode);
}
if (Size != 0UL) {
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Size);
}
if (Atime != 0UL) {
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Atime);
}
if (Ctime != 0UL) {
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Ctime);
}
if (Mtime != 0UL) {
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Mtime);
}
if (Blocks != 0UL) {
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Blocks);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(Stat other) {
if (other == null) {
return;
}
if (other.Uid != 0) {
Uid = other.Uid;
}
if (other.Gid != 0) {
Gid = other.Gid;
}
if (other.Mode != 0) {
Mode = other.Mode;
}
if (other.Size != 0UL) {
Size = other.Size;
}
if (other.Atime != 0UL) {
Atime = other.Atime;
}
if (other.Ctime != 0UL) {
Ctime = other.Ctime;
}
if (other.Mtime != 0UL) {
Mtime = other.Mtime;
}
if (other.Blocks != 0UL) {
Blocks = other.Blocks;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 8: {
Uid = input.ReadUInt32();
break;
}
case 16: {
Gid = input.ReadUInt32();
break;
}
case 24: {
Mode = input.ReadUInt32();
break;
}
case 32: {
Size = input.ReadUInt64();
break;
}
case 40: {
Atime = input.ReadUInt64();
break;
}
case 48: {
Ctime = input.ReadUInt64();
break;
}
case 56: {
Mtime = input.ReadUInt64();
break;
}
case 64: {
Blocks = input.ReadUInt64();
break;
}
}
}
}
}
public sealed partial class StatFile : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new StatFile());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Ara.CFSNet.Protobuf.CfsnetReflection.Descriptor.MessageTypes[23]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public StatFile() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public StatFile(StatFile other) : this() {
path_ = other.path_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public StatFile Clone() {
return new StatFile(this);
}
/// Field number for the "path" field.
public const int PathFieldNumber = 1;
private string path_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string Path {
get { return path_; }
set {
path_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as StatFile);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(StatFile other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Path != other.Path) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (Path.Length != 0) hash ^= Path.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
if (Path.Length != 0) {
output.WriteRawTag(10);
output.WriteString(Path);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (Path.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Path);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(StatFile other) {
if (other == null) {
return;
}
if (other.Path.Length != 0) {
Path = other.Path;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 10: {
Path = input.ReadString();
break;
}
}
}
}
}
public sealed partial class String : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new String());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Ara.CFSNet.Protobuf.CfsnetReflection.Descriptor.MessageTypes[24]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public String() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public String(String other) : this() {
value_ = other.value_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public String Clone() {
return new String(this);
}
/// Field number for the "value" field.
public const int ValueFieldNumber = 1;
private string value_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string Value {
get { return value_; }
set {
value_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as String);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(String other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Value != other.Value) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (Value.Length != 0) hash ^= Value.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
if (Value.Length != 0) {
output.WriteRawTag(10);
output.WriteString(Value);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (Value.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Value);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(String other) {
if (other == null) {
return;
}
if (other.Value.Length != 0) {
Value = other.Value;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 10: {
Value = input.ReadString();
break;
}
}
}
}
}
public sealed partial class TouchFile : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new TouchFile());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Ara.CFSNet.Protobuf.CfsnetReflection.Descriptor.MessageTypes[25]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public TouchFile() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public TouchFile(TouchFile other) : this() {
path_ = other.path_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public TouchFile Clone() {
return new TouchFile(this);
}
/// Field number for the "path" field.
public const int PathFieldNumber = 1;
private string path_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string Path {
get { return path_; }
set {
path_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as TouchFile);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(TouchFile other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Path != other.Path) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (Path.Length != 0) hash ^= Path.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
if (Path.Length != 0) {
output.WriteRawTag(10);
output.WriteString(Path);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (Path.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Path);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(TouchFile other) {
if (other == null) {
return;
}
if (other.Path.Length != 0) {
Path = other.Path;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 10: {
Path = input.ReadString();
break;
}
}
}
}
}
public sealed partial class UnlinkFile : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UnlinkFile());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Ara.CFSNet.Protobuf.CfsnetReflection.Descriptor.MessageTypes[26]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public UnlinkFile() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public UnlinkFile(UnlinkFile other) : this() {
path_ = other.path_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public UnlinkFile Clone() {
return new UnlinkFile(this);
}
/// Field number for the "path" field.
public const int PathFieldNumber = 1;
private string path_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string Path {
get { return path_; }
set {
path_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as UnlinkFile);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(UnlinkFile other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Path != other.Path) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (Path.Length != 0) hash ^= Path.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
if (Path.Length != 0) {
output.WriteRawTag(10);
output.WriteString(Path);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (Path.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Path);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(UnlinkFile other) {
if (other == null) {
return;
}
if (other.Path.Length != 0) {
Path = other.Path;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 10: {
Path = input.ReadString();
break;
}
}
}
}
}
public sealed partial class WriteFile : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new WriteFile());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Ara.CFSNet.Protobuf.CfsnetReflection.Descriptor.MessageTypes[27]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public WriteFile() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public WriteFile(WriteFile other) : this() {
path_ = other.path_;
buffer_ = other.buffer_;
start_ = other.start_;
end_ = other.end_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public WriteFile Clone() {
return new WriteFile(this);
}
/// Field number for the "path" field.
public const int PathFieldNumber = 1;
private string path_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string Path {
get { return path_; }
set {
path_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "buffer" field.
public const int BufferFieldNumber = 2;
private pb::ByteString buffer_ = pb::ByteString.Empty;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public pb::ByteString Buffer {
get { return buffer_; }
set {
buffer_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "start" field.
public const int StartFieldNumber = 3;
private uint start_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public uint Start {
get { return start_; }
set {
start_ = value;
}
}
/// Field number for the "end" field.
public const int EndFieldNumber = 4;
private uint end_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public uint End {
get { return end_; }
set {
end_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as WriteFile);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(WriteFile other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Path != other.Path) return false;
if (Buffer != other.Buffer) return false;
if (Start != other.Start) return false;
if (End != other.End) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (Path.Length != 0) hash ^= Path.GetHashCode();
if (Buffer.Length != 0) hash ^= Buffer.GetHashCode();
if (Start != 0) hash ^= Start.GetHashCode();
if (End != 0) hash ^= End.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
if (Path.Length != 0) {
output.WriteRawTag(10);
output.WriteString(Path);
}
if (Buffer.Length != 0) {
output.WriteRawTag(18);
output.WriteBytes(Buffer);
}
if (Start != 0) {
output.WriteRawTag(24);
output.WriteUInt32(Start);
}
if (End != 0) {
output.WriteRawTag(32);
output.WriteUInt32(End);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (Path.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Path);
}
if (Buffer.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeBytesSize(Buffer);
}
if (Start != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Start);
}
if (End != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(End);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(WriteFile other) {
if (other == null) {
return;
}
if (other.Path.Length != 0) {
Path = other.Path;
}
if (other.Buffer.Length != 0) {
Buffer = other.Buffer;
}
if (other.Start != 0) {
Start = other.Start;
}
if (other.End != 0) {
End = other.End;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 10: {
Path = input.ReadString();
break;
}
case 18: {
Buffer = input.ReadBytes();
break;
}
case 24: {
Start = input.ReadUInt32();
break;
}
case 32: {
End = input.ReadUInt32();
break;
}
}
}
}
}
#endregion
}
#endregion Designer generated code