Commit 5e0189ab authored by Jon Skeet's avatar Jon Skeet

Update C# solution and AddressBook project.

Move to a single solution file containing all of the C# projects, but no other solution folders - it's easier to edit those files outside VS than keep adding and removing them from the project.
The AddressBook protos have been regenerated (with a change to the example proto which I haven't included in this change - I'll wait for us to decide exactly what we're doing with namespaces before changing protos outside the csharp directory.

Note that now we've got Addressbook.cs which contains AddressBook and Addressbook classes. It's bad enough that we've got a class called AddressBook within a namespace of AddressBook (hard to get away from) but having things vary just by case is nasty.
This is more evidence that an option for renaming the file and descriptor class would be welcome. (A single option can probably handle both.)
parent f651f73a
...@@ -49,7 +49,7 @@ ...@@ -49,7 +49,7 @@
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Compile Include="AddPerson.cs" /> <Compile Include="AddPerson.cs" />
<Compile Include="AddressBookProtos.cs" /> <Compile Include="Addressbook.cs" />
<Compile Include="SampleUsage.cs" /> <Compile Include="SampleUsage.cs" />
<Compile Include="ListPeople.cs" /> <Compile Include="ListPeople.cs" />
<Compile Include="Program.cs" /> <Compile Include="Program.cs" />
......
// Generated by ProtoGen, Version=2.4.1.555, Culture=neutral, PublicKeyToken=55f7125234beb589. DO NOT EDIT! // Generated by the protocol buffer compiler. DO NOT EDIT!
#pragma warning disable 1591, 0612, 3021 // source: addressbook.proto
#region Designer generated code #pragma warning disable 1591, 0612, 3021
#region Designer generated code
using pb = global::Google.ProtocolBuffers;
using pbc = global::Google.ProtocolBuffers.Collections; using pb = global::Google.ProtocolBuffers;
using pbd = global::Google.ProtocolBuffers.Descriptors; using pbc = global::Google.ProtocolBuffers.Collections;
using scg = global::System.Collections.Generic; using pbd = global::Google.ProtocolBuffers.Descriptors;
namespace Google.ProtocolBuffers.Examples.AddressBook { using scg = global::System.Collections.Generic;
namespace Google.ProtocolBuffers.Examples.AddressBook {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public static partial class AddressBookProtos { [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public static partial class Addressbook {
#region Extension registration
public static void RegisterAllExtensions(pb::ExtensionRegistry registry) { #region Extension registration
} public static void RegisterAllExtensions(pb::ExtensionRegistry registry) {
#endregion }
#region Static variables #endregion
internal static pbd::MessageDescriptor internal__static_tutorial_Person__Descriptor; #region Static variables
internal static pb::FieldAccess.FieldAccessorTable<global::Google.ProtocolBuffers.Examples.AddressBook.Person, global::Google.ProtocolBuffers.Examples.AddressBook.Person.Builder> internal__static_tutorial_Person__FieldAccessorTable; internal static pbd::MessageDescriptor internal__static_tutorial_Person__Descriptor;
internal static pbd::MessageDescriptor internal__static_tutorial_Person_PhoneNumber__Descriptor; internal static pb::FieldAccess.FieldAccessorTable<global::Google.ProtocolBuffers.Examples.AddressBook.Person, global::Google.ProtocolBuffers.Examples.AddressBook.Person.Builder> internal__static_tutorial_Person__FieldAccessorTable;
internal static pb::FieldAccess.FieldAccessorTable<global::Google.ProtocolBuffers.Examples.AddressBook.Person.Types.PhoneNumber, global::Google.ProtocolBuffers.Examples.AddressBook.Person.Types.PhoneNumber.Builder> internal__static_tutorial_Person_PhoneNumber__FieldAccessorTable; internal static pbd::MessageDescriptor internal__static_tutorial_Person_PhoneNumber__Descriptor;
internal static pbd::MessageDescriptor internal__static_tutorial_AddressBook__Descriptor; internal static pb::FieldAccess.FieldAccessorTable<global::Google.ProtocolBuffers.Examples.AddressBook.Person.Types.PhoneNumber, global::Google.ProtocolBuffers.Examples.AddressBook.Person.Types.PhoneNumber.Builder> internal__static_tutorial_Person_PhoneNumber__FieldAccessorTable;
internal static pb::FieldAccess.FieldAccessorTable<global::Google.ProtocolBuffers.Examples.AddressBook.AddressBook, global::Google.ProtocolBuffers.Examples.AddressBook.AddressBook.Builder> internal__static_tutorial_AddressBook__FieldAccessorTable; internal static pbd::MessageDescriptor internal__static_tutorial_AddressBook__Descriptor;
#endregion internal static pb::FieldAccess.FieldAccessorTable<global::Google.ProtocolBuffers.Examples.AddressBook.AddressBook, global::Google.ProtocolBuffers.Examples.AddressBook.AddressBook.Builder> internal__static_tutorial_AddressBook__FieldAccessorTable;
#region Descriptor #endregion
public static pbd::FileDescriptor Descriptor { #region Descriptor
get { return descriptor; } public static pbd::FileDescriptor Descriptor {
} get { return descriptor; }
private static pbd::FileDescriptor descriptor; }
private static pbd::FileDescriptor descriptor;
static AddressBookProtos() {
byte[] descriptorData = global::System.Convert.FromBase64String( static Addressbook() {
string.Concat( byte[] descriptorData = global::System.Convert.FromBase64String(
"Chp0dXRvcmlhbC9hZGRyZXNzYm9vay5wcm90bxIIdHV0b3JpYWwaJGdvb2ds", string.Concat(
"ZS9wcm90b2J1Zi9jc2hhcnBfb3B0aW9ucy5wcm90byLaAQoGUGVyc29uEgwK", "ChFhZGRyZXNzYm9vay5wcm90bxIIdHV0b3JpYWwi2gEKBlBlcnNvbhIMCgRu",
"BG5hbWUYASACKAkSCgoCaWQYAiACKAUSDQoFZW1haWwYAyABKAkSKwoFcGhv", "YW1lGAEgAigJEgoKAmlkGAIgAigFEg0KBWVtYWlsGAMgASgJEisKBXBob25l",
"bmUYBCADKAsyHC50dXRvcmlhbC5QZXJzb24uUGhvbmVOdW1iZXIaTQoLUGhv", "GAQgAygLMhwudHV0b3JpYWwuUGVyc29uLlBob25lTnVtYmVyGk0KC1Bob25l",
"bmVOdW1iZXISDgoGbnVtYmVyGAEgAigJEi4KBHR5cGUYAiABKA4yGi50dXRv", "TnVtYmVyEg4KBm51bWJlchgBIAIoCRIuCgR0eXBlGAIgASgOMhoudHV0b3Jp",
"cmlhbC5QZXJzb24uUGhvbmVUeXBlOgRIT01FIisKCVBob25lVHlwZRIKCgZN", "YWwuUGVyc29uLlBob25lVHlwZToESE9NRSIrCglQaG9uZVR5cGUSCgoGTU9C",
"T0JJTEUQABIICgRIT01FEAESCAoEV09SSxACIi8KC0FkZHJlc3NCb29rEiAK", "SUxFEAASCAoESE9NRRABEggKBFdPUksQAiIvCgtBZGRyZXNzQm9vaxIgCgZw",
"BnBlcnNvbhgBIAMoCzIQLnR1dG9yaWFsLlBlcnNvbkJFSAHCPkAKK0dvb2ds", "ZXJzb24YASADKAsyEC50dXRvcmlhbC5QZXJzb25CVwoUY29tLmV4YW1wbGUu",
"ZS5Qcm90b2NvbEJ1ZmZlcnMuRXhhbXBsZXMuQWRkcmVzc0Jvb2sSEUFkZHJl", "dHV0b3JpYWxCEUFkZHJlc3NCb29rUHJvdG9zqgIrR29vZ2xlLlByb3RvY29s",
"c3NCb29rUHJvdG9z")); "QnVmZmVycy5FeGFtcGxlcy5BZGRyZXNzQm9vaw=="));
pbd::FileDescriptor.InternalDescriptorAssigner assigner = delegate(pbd::FileDescriptor root) { pbd::FileDescriptor.InternalDescriptorAssigner assigner = delegate(pbd::FileDescriptor root) {
descriptor = root; descriptor = root;
internal__static_tutorial_Person__Descriptor = Descriptor.MessageTypes[0]; internal__static_tutorial_Person__Descriptor = Descriptor.MessageTypes[0];
internal__static_tutorial_Person__FieldAccessorTable = internal__static_tutorial_Person__FieldAccessorTable =
new pb::FieldAccess.FieldAccessorTable<global::Google.ProtocolBuffers.Examples.AddressBook.Person, global::Google.ProtocolBuffers.Examples.AddressBook.Person.Builder>(internal__static_tutorial_Person__Descriptor, new pb::FieldAccess.FieldAccessorTable<global::Google.ProtocolBuffers.Examples.AddressBook.Person, global::Google.ProtocolBuffers.Examples.AddressBook.Person.Builder>(internal__static_tutorial_Person__Descriptor,
new string[] { "Name", "Id", "Email", "Phone", }); new string[] { "Name", "Id", "Email", "Phone", });
internal__static_tutorial_Person_PhoneNumber__Descriptor = internal__static_tutorial_Person__Descriptor.NestedTypes[0]; internal__static_tutorial_Person_PhoneNumber__Descriptor = internal__static_tutorial_Person__Descriptor.NestedTypes[0];
internal__static_tutorial_Person_PhoneNumber__FieldAccessorTable = internal__static_tutorial_Person_PhoneNumber__FieldAccessorTable =
new pb::FieldAccess.FieldAccessorTable<global::Google.ProtocolBuffers.Examples.AddressBook.Person.Types.PhoneNumber, global::Google.ProtocolBuffers.Examples.AddressBook.Person.Types.PhoneNumber.Builder>(internal__static_tutorial_Person_PhoneNumber__Descriptor, new pb::FieldAccess.FieldAccessorTable<global::Google.ProtocolBuffers.Examples.AddressBook.Person.Types.PhoneNumber, global::Google.ProtocolBuffers.Examples.AddressBook.Person.Types.PhoneNumber.Builder>(internal__static_tutorial_Person_PhoneNumber__Descriptor,
new string[] { "Number", "Type", }); new string[] { "Number", "Type", });
internal__static_tutorial_AddressBook__Descriptor = Descriptor.MessageTypes[1]; internal__static_tutorial_AddressBook__Descriptor = Descriptor.MessageTypes[1];
internal__static_tutorial_AddressBook__FieldAccessorTable = internal__static_tutorial_AddressBook__FieldAccessorTable =
new pb::FieldAccess.FieldAccessorTable<global::Google.ProtocolBuffers.Examples.AddressBook.AddressBook, global::Google.ProtocolBuffers.Examples.AddressBook.AddressBook.Builder>(internal__static_tutorial_AddressBook__Descriptor, new pb::FieldAccess.FieldAccessorTable<global::Google.ProtocolBuffers.Examples.AddressBook.AddressBook, global::Google.ProtocolBuffers.Examples.AddressBook.AddressBook.Builder>(internal__static_tutorial_AddressBook__Descriptor,
new string[] { "Person", }); new string[] { "Person", });
pb::ExtensionRegistry registry = pb::ExtensionRegistry.CreateInstance(); pb::ExtensionRegistry registry = pb::ExtensionRegistry.CreateInstance();
RegisterAllExtensions(registry); RegisterAllExtensions(registry);
global::Google.ProtocolBuffers.DescriptorProtos.CSharpOptions.RegisterAllExtensions(registry); return registry;
return registry; };
}; pbd::FileDescriptor.InternalBuildGeneratedFileFrom(descriptorData,
pbd::FileDescriptor.InternalBuildGeneratedFileFrom(descriptorData, new pbd::FileDescriptor[] {
new pbd::FileDescriptor[] { }, assigner);
global::Google.ProtocolBuffers.DescriptorProtos.CSharpOptions.Descriptor, }
}, assigner); #endregion
}
#endregion }
#region Messages
} [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
#region Messages public sealed partial class Person : pb::GeneratedMessage<Person, Person.Builder> {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private Person() { }
public sealed partial class Person : pb::GeneratedMessage<Person, Person.Builder> { private static readonly Person defaultInstance = new Person().MakeReadOnly();
private Person() { } private static readonly string[] _personFieldNames = new string[] { "email", "id", "name", "phone" };
private static readonly Person defaultInstance = new Person().MakeReadOnly(); private static readonly uint[] _personFieldTags = new uint[] { 26, 16, 10, 34 };
private static readonly string[] _personFieldNames = new string[] { "email", "id", "name", "phone" }; public static Person DefaultInstance {
private static readonly uint[] _personFieldTags = new uint[] { 26, 16, 10, 34 }; get { return defaultInstance; }
public static Person DefaultInstance { }
get { return defaultInstance; }
} public override Person DefaultInstanceForType {
get { return DefaultInstance; }
public override Person DefaultInstanceForType { }
get { return DefaultInstance; }
} protected override Person ThisMessage {
get { return this; }
protected override Person ThisMessage { }
get { return this; }
} public static pbd::MessageDescriptor Descriptor {
get { return global::Google.ProtocolBuffers.Examples.AddressBook.Addressbook.internal__static_tutorial_Person__Descriptor; }
public static pbd::MessageDescriptor Descriptor { }
get { return global::Google.ProtocolBuffers.Examples.AddressBook.AddressBookProtos.internal__static_tutorial_Person__Descriptor; }
} protected override pb::FieldAccess.FieldAccessorTable<Person, Person.Builder> InternalFieldAccessors {
get { return global::Google.ProtocolBuffers.Examples.AddressBook.Addressbook.internal__static_tutorial_Person__FieldAccessorTable; }
protected override pb::FieldAccess.FieldAccessorTable<Person, Person.Builder> InternalFieldAccessors { }
get { return global::Google.ProtocolBuffers.Examples.AddressBook.AddressBookProtos.internal__static_tutorial_Person__FieldAccessorTable; }
} #region Nested types
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
#region Nested types public static partial class Types {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public enum PhoneType {
public static partial class Types { MOBILE = 0,
public enum PhoneType { HOME = 1,
MOBILE = 0, WORK = 2,
HOME = 1, }
WORK = 2,
} [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public sealed partial class PhoneNumber : pb::GeneratedMessage<PhoneNumber, PhoneNumber.Builder> {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private PhoneNumber() { }
public sealed partial class PhoneNumber : pb::GeneratedMessage<PhoneNumber, PhoneNumber.Builder> { private static readonly PhoneNumber defaultInstance = new PhoneNumber().MakeReadOnly();
private PhoneNumber() { } private static readonly string[] _phoneNumberFieldNames = new string[] { "number", "type" };
private static readonly PhoneNumber defaultInstance = new PhoneNumber().MakeReadOnly(); private static readonly uint[] _phoneNumberFieldTags = new uint[] { 10, 16 };
private static readonly string[] _phoneNumberFieldNames = new string[] { "number", "type" }; public static PhoneNumber DefaultInstance {
private static readonly uint[] _phoneNumberFieldTags = new uint[] { 10, 16 }; get { return defaultInstance; }
public static PhoneNumber DefaultInstance { }
get { return defaultInstance; }
} public override PhoneNumber DefaultInstanceForType {
get { return DefaultInstance; }
public override PhoneNumber DefaultInstanceForType { }
get { return DefaultInstance; }
} protected override PhoneNumber ThisMessage {
get { return this; }
protected override PhoneNumber ThisMessage { }
get { return this; }
} public static pbd::MessageDescriptor Descriptor {
get { return global::Google.ProtocolBuffers.Examples.AddressBook.Addressbook.internal__static_tutorial_Person_PhoneNumber__Descriptor; }
public static pbd::MessageDescriptor Descriptor { }
get { return global::Google.ProtocolBuffers.Examples.AddressBook.AddressBookProtos.internal__static_tutorial_Person_PhoneNumber__Descriptor; }
} protected override pb::FieldAccess.FieldAccessorTable<PhoneNumber, PhoneNumber.Builder> InternalFieldAccessors {
get { return global::Google.ProtocolBuffers.Examples.AddressBook.Addressbook.internal__static_tutorial_Person_PhoneNumber__FieldAccessorTable; }
protected override pb::FieldAccess.FieldAccessorTable<PhoneNumber, PhoneNumber.Builder> InternalFieldAccessors { }
get { return global::Google.ProtocolBuffers.Examples.AddressBook.AddressBookProtos.internal__static_tutorial_Person_PhoneNumber__FieldAccessorTable; }
} public const int NumberFieldNumber = 1;
private bool hasNumber;
public const int NumberFieldNumber = 1; private string number_ = "";
private bool hasNumber; public bool HasNumber {
private string number_ = ""; get { return hasNumber; }
public bool HasNumber { }
get { return hasNumber; } public string Number {
} get { return number_; }
public string Number { }
get { return number_; }
} public const int TypeFieldNumber = 2;
private bool hasType;
public const int TypeFieldNumber = 2; private global::Google.ProtocolBuffers.Examples.AddressBook.Person.Types.PhoneType type_ = global::Google.ProtocolBuffers.Examples.AddressBook.Person.Types.PhoneType.HOME;
private bool hasType; public bool HasType {
private global::Google.ProtocolBuffers.Examples.AddressBook.Person.Types.PhoneType type_ = global::Google.ProtocolBuffers.Examples.AddressBook.Person.Types.PhoneType.HOME; get { return hasType; }
public bool HasType { }
get { return hasType; } public global::Google.ProtocolBuffers.Examples.AddressBook.Person.Types.PhoneType Type {
} get { return type_; }
public global::Google.ProtocolBuffers.Examples.AddressBook.Person.Types.PhoneType Type { }
get { return type_; }
} public override bool IsInitialized {
get {
public override bool IsInitialized { if (!hasNumber) return false;
get { return true;
if (!hasNumber) return false; }
return true; }
}
} public override void WriteTo(pb::ICodedOutputStream output) {
CalcSerializedSize();
public override void WriteTo(pb::ICodedOutputStream output) { string[] field_names = _phoneNumberFieldNames;
CalcSerializedSize(); if (hasNumber) {
string[] field_names = _phoneNumberFieldNames; output.WriteString(1, field_names[0], Number);
if (hasNumber) { }
output.WriteString(1, field_names[0], Number); if (hasType) {
} output.WriteEnum(2, field_names[1], (int) Type, Type);
if (hasType) { }
output.WriteEnum(2, field_names[1], (int) Type, Type); UnknownFields.WriteTo(output);
} }
UnknownFields.WriteTo(output);
} private int memoizedSerializedSize = -1;
public override int SerializedSize {
private int memoizedSerializedSize = -1; get {
public override int SerializedSize { int size = memoizedSerializedSize;
get { if (size != -1) return size;
int size = memoizedSerializedSize; return CalcSerializedSize();
if (size != -1) return size; }
return CalcSerializedSize(); }
}
} private int CalcSerializedSize() {
int size = memoizedSerializedSize;
private int CalcSerializedSize() { if (size != -1) return size;
int size = memoizedSerializedSize;
if (size != -1) return size; size = 0;
if (hasNumber) {
size = 0; size += pb::CodedOutputStream.ComputeStringSize(1, Number);
if (hasNumber) { }
size += pb::CodedOutputStream.ComputeStringSize(1, Number); if (hasType) {
} size += pb::CodedOutputStream.ComputeEnumSize(2, (int) Type);
if (hasType) { }
size += pb::CodedOutputStream.ComputeEnumSize(2, (int) Type); size += UnknownFields.SerializedSize;
} memoizedSerializedSize = size;
size += UnknownFields.SerializedSize; return size;
memoizedSerializedSize = size; }
return size; public static PhoneNumber ParseFrom(pb::ByteString data) {
} return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
public static PhoneNumber ParseFrom(pb::ByteString data) { }
return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed(); public static PhoneNumber ParseFrom(pb::ByteString data, pb::ExtensionRegistry extensionRegistry) {
} return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
public static PhoneNumber ParseFrom(pb::ByteString data, pb::ExtensionRegistry extensionRegistry) { }
return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed(); public static PhoneNumber ParseFrom(byte[] data) {
} return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
public static PhoneNumber ParseFrom(byte[] data) { }
return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed(); public static PhoneNumber ParseFrom(byte[] data, pb::ExtensionRegistry extensionRegistry) {
} return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
public static PhoneNumber ParseFrom(byte[] data, pb::ExtensionRegistry extensionRegistry) { }
return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed(); public static PhoneNumber ParseFrom(global::System.IO.Stream input) {
} return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
public static PhoneNumber ParseFrom(global::System.IO.Stream input) { }
return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed(); public static PhoneNumber ParseFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
} return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
public static PhoneNumber ParseFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) { }
return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed(); public static PhoneNumber ParseDelimitedFrom(global::System.IO.Stream input) {
} return CreateBuilder().MergeDelimitedFrom(input).BuildParsed();
public static PhoneNumber ParseDelimitedFrom(global::System.IO.Stream input) { }
return CreateBuilder().MergeDelimitedFrom(input).BuildParsed(); public static PhoneNumber ParseDelimitedFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
} return CreateBuilder().MergeDelimitedFrom(input, extensionRegistry).BuildParsed();
public static PhoneNumber ParseDelimitedFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) { }
return CreateBuilder().MergeDelimitedFrom(input, extensionRegistry).BuildParsed(); public static PhoneNumber ParseFrom(pb::ICodedInputStream input) {
} return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
public static PhoneNumber ParseFrom(pb::ICodedInputStream input) { }
return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed(); public static PhoneNumber ParseFrom(pb::ICodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
} return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
public static PhoneNumber ParseFrom(pb::ICodedInputStream input, pb::ExtensionRegistry extensionRegistry) { }
return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed(); private PhoneNumber MakeReadOnly() {
} return this;
private PhoneNumber MakeReadOnly() { }
return this;
} public static Builder CreateBuilder() { return new Builder(); }
public override Builder ToBuilder() { return CreateBuilder(this); }
public static Builder CreateBuilder() { return new Builder(); } public override Builder CreateBuilderForType() { return new Builder(); }
public override Builder ToBuilder() { return CreateBuilder(this); } public static Builder CreateBuilder(PhoneNumber prototype) {
public override Builder CreateBuilderForType() { return new Builder(); } return new Builder(prototype);
public static Builder CreateBuilder(PhoneNumber prototype) { }
return new Builder(prototype);
} [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public sealed partial class Builder : pb::GeneratedBuilder<PhoneNumber, Builder> {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override Builder ThisBuilder {
public sealed partial class Builder : pb::GeneratedBuilder<PhoneNumber, Builder> { get { return this; }
protected override Builder ThisBuilder { }
get { return this; } public Builder() {
} result = DefaultInstance;
public Builder() { resultIsReadOnly = true;
result = DefaultInstance; }
resultIsReadOnly = true; internal Builder(PhoneNumber cloneFrom) {
} result = cloneFrom;
internal Builder(PhoneNumber cloneFrom) { resultIsReadOnly = true;
result = cloneFrom; }
resultIsReadOnly = true;
} private bool resultIsReadOnly;
private PhoneNumber result;
private bool resultIsReadOnly;
private PhoneNumber result; private PhoneNumber PrepareBuilder() {
if (resultIsReadOnly) {
private PhoneNumber PrepareBuilder() { PhoneNumber original = result;
if (resultIsReadOnly) { result = new PhoneNumber();
PhoneNumber original = result; resultIsReadOnly = false;
result = new PhoneNumber(); MergeFrom(original);
resultIsReadOnly = false; }
MergeFrom(original); return result;
} }
return result;
} public override bool IsInitialized {
get { return result.IsInitialized; }
public override bool IsInitialized { }
get { return result.IsInitialized; }
} protected override PhoneNumber MessageBeingBuilt {
get { return PrepareBuilder(); }
protected override PhoneNumber MessageBeingBuilt { }
get { return PrepareBuilder(); }
} public override Builder Clear() {
result = DefaultInstance;
public override Builder Clear() { resultIsReadOnly = true;
result = DefaultInstance; return this;
resultIsReadOnly = true; }
return this;
} public override Builder Clone() {
if (resultIsReadOnly) {
public override Builder Clone() { return new Builder(result);
if (resultIsReadOnly) { } else {
return new Builder(result); return new Builder().MergeFrom(result);
} else { }
return new Builder().MergeFrom(result); }
}
} public override pbd::MessageDescriptor DescriptorForType {
get { return global::Google.ProtocolBuffers.Examples.AddressBook.Person.Types.PhoneNumber.Descriptor; }
public override pbd::MessageDescriptor DescriptorForType { }
get { return global::Google.ProtocolBuffers.Examples.AddressBook.Person.Types.PhoneNumber.Descriptor; }
} public override PhoneNumber DefaultInstanceForType {
get { return global::Google.ProtocolBuffers.Examples.AddressBook.Person.Types.PhoneNumber.DefaultInstance; }
public override PhoneNumber DefaultInstanceForType { }
get { return global::Google.ProtocolBuffers.Examples.AddressBook.Person.Types.PhoneNumber.DefaultInstance; }
} public override PhoneNumber BuildPartial() {
if (resultIsReadOnly) {
public override PhoneNumber BuildPartial() { return result;
if (resultIsReadOnly) { }
return result; resultIsReadOnly = true;
} return result.MakeReadOnly();
resultIsReadOnly = true; }
return result.MakeReadOnly();
} public override Builder MergeFrom(pb::IMessage other) {
if (other is PhoneNumber) {
public override Builder MergeFrom(pb::IMessage other) { return MergeFrom((PhoneNumber) other);
if (other is PhoneNumber) { } else {
return MergeFrom((PhoneNumber) other); base.MergeFrom(other);
} else { return this;
base.MergeFrom(other); }
return this; }
}
} public override Builder MergeFrom(PhoneNumber other) {
if (other == global::Google.ProtocolBuffers.Examples.AddressBook.Person.Types.PhoneNumber.DefaultInstance) return this;
public override Builder MergeFrom(PhoneNumber other) { PrepareBuilder();
if (other == global::Google.ProtocolBuffers.Examples.AddressBook.Person.Types.PhoneNumber.DefaultInstance) return this; if (other.HasNumber) {
PrepareBuilder(); Number = other.Number;
if (other.HasNumber) { }
Number = other.Number; if (other.HasType) {
} Type = other.Type;
if (other.HasType) { }
Type = other.Type; this.MergeUnknownFields(other.UnknownFields);
} return this;
this.MergeUnknownFields(other.UnknownFields); }
return this;
} public override Builder MergeFrom(pb::ICodedInputStream input) {
return MergeFrom(input, pb::ExtensionRegistry.Empty);
public override Builder MergeFrom(pb::ICodedInputStream input) { }
return MergeFrom(input, pb::ExtensionRegistry.Empty);
} public override Builder MergeFrom(pb::ICodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
PrepareBuilder();
public override Builder MergeFrom(pb::ICodedInputStream input, pb::ExtensionRegistry extensionRegistry) { pb::UnknownFieldSet.Builder unknownFields = null;
PrepareBuilder(); uint tag;
pb::UnknownFieldSet.Builder unknownFields = null; string field_name;
uint tag; while (input.ReadTag(out tag, out field_name)) {
string field_name; if(tag == 0 && field_name != null) {
while (input.ReadTag(out tag, out field_name)) { int field_ordinal = global::System.Array.BinarySearch(_phoneNumberFieldNames, field_name, global::System.StringComparer.Ordinal);
if(tag == 0 && field_name != null) { if(field_ordinal >= 0)
int field_ordinal = global::System.Array.BinarySearch(_phoneNumberFieldNames, field_name, global::System.StringComparer.Ordinal); tag = _phoneNumberFieldTags[field_ordinal];
if(field_ordinal >= 0) else {
tag = _phoneNumberFieldTags[field_ordinal]; if (unknownFields == null) {
else { unknownFields = pb::UnknownFieldSet.CreateBuilder(this.UnknownFields);
if (unknownFields == null) { }
unknownFields = pb::UnknownFieldSet.CreateBuilder(this.UnknownFields); ParseUnknownField(input, unknownFields, extensionRegistry, tag, field_name);
} continue;
ParseUnknownField(input, unknownFields, extensionRegistry, tag, field_name); }
continue; }
} switch (tag) {
} case 0: {
switch (tag) { throw pb::InvalidProtocolBufferException.InvalidTag();
case 0: { }
throw pb::InvalidProtocolBufferException.InvalidTag(); default: {
} if (pb::WireFormat.IsEndGroupTag(tag)) {
default: { if (unknownFields != null) {
if (pb::WireFormat.IsEndGroupTag(tag)) { this.UnknownFields = unknownFields.Build();
if (unknownFields != null) { }
this.UnknownFields = unknownFields.Build(); return this;
} }
return this; if (unknownFields == null) {
} unknownFields = pb::UnknownFieldSet.CreateBuilder(this.UnknownFields);
if (unknownFields == null) { }
unknownFields = pb::UnknownFieldSet.CreateBuilder(this.UnknownFields); ParseUnknownField(input, unknownFields, extensionRegistry, tag, field_name);
} break;
ParseUnknownField(input, unknownFields, extensionRegistry, tag, field_name); }
break; case 10: {
} result.hasNumber = input.ReadString(ref result.number_);
case 10: { break;
result.hasNumber = input.ReadString(ref result.number_); }
break; case 16: {
} object unknown;
case 16: { if(input.ReadEnum(ref result.type_, out unknown)) {
object unknown; result.hasType = true;
if(input.ReadEnum(ref result.type_, out unknown)) { } else if(unknown is int) {
result.hasType = true; if (unknownFields == null) {
} else if(unknown is int) { unknownFields = pb::UnknownFieldSet.CreateBuilder(this.UnknownFields);
if (unknownFields == null) { }
unknownFields = pb::UnknownFieldSet.CreateBuilder(this.UnknownFields); unknownFields.MergeVarintField(2, (ulong)(int)unknown);
} }
unknownFields.MergeVarintField(2, (ulong)(int)unknown); break;
} }
break; }
} }
}
} if (unknownFields != null) {
this.UnknownFields = unknownFields.Build();
if (unknownFields != null) { }
this.UnknownFields = unknownFields.Build(); return this;
} }
return this;
}
public bool HasNumber {
get { return result.hasNumber; }
public bool HasNumber { }
get { return result.hasNumber; } public string Number {
} get { return result.Number; }
public string Number { set { SetNumber(value); }
get { return result.Number; } }
set { SetNumber(value); } public Builder SetNumber(string value) {
} pb::ThrowHelper.ThrowIfNull(value, "value");
public Builder SetNumber(string value) { PrepareBuilder();
pb::ThrowHelper.ThrowIfNull(value, "value"); result.hasNumber = true;
PrepareBuilder(); result.number_ = value;
result.hasNumber = true; return this;
result.number_ = value; }
return this; public Builder ClearNumber() {
} PrepareBuilder();
public Builder ClearNumber() { result.hasNumber = false;
PrepareBuilder(); result.number_ = "";
result.hasNumber = false; return this;
result.number_ = ""; }
return this;
} public bool HasType {
get { return result.hasType; }
public bool HasType { }
get { return result.hasType; } public global::Google.ProtocolBuffers.Examples.AddressBook.Person.Types.PhoneType Type {
} get { return result.Type; }
public global::Google.ProtocolBuffers.Examples.AddressBook.Person.Types.PhoneType Type { set { SetType(value); }
get { return result.Type; } }
set { SetType(value); } public Builder SetType(global::Google.ProtocolBuffers.Examples.AddressBook.Person.Types.PhoneType value) {
} PrepareBuilder();
public Builder SetType(global::Google.ProtocolBuffers.Examples.AddressBook.Person.Types.PhoneType value) { result.hasType = true;
PrepareBuilder(); result.type_ = value;
result.hasType = true; return this;
result.type_ = value; }
return this; public Builder ClearType() {
} PrepareBuilder();
public Builder ClearType() { result.hasType = false;
PrepareBuilder(); result.type_ = global::Google.ProtocolBuffers.Examples.AddressBook.Person.Types.PhoneType.HOME;
result.hasType = false; return this;
result.type_ = global::Google.ProtocolBuffers.Examples.AddressBook.Person.Types.PhoneType.HOME; }
return this; }
} static PhoneNumber() {
} object.ReferenceEquals(global::Google.ProtocolBuffers.Examples.AddressBook.Addressbook.Descriptor, null);
static PhoneNumber() { }
object.ReferenceEquals(global::Google.ProtocolBuffers.Examples.AddressBook.AddressBookProtos.Descriptor, null); }
}
} }
#endregion
}
#endregion public const int NameFieldNumber = 1;
private bool hasName;
public const int NameFieldNumber = 1; private string name_ = "";
private bool hasName; public bool HasName {
private string name_ = ""; get { return hasName; }
public bool HasName { }
get { return hasName; } public string Name {
} get { return name_; }
public string Name { }
get { return name_; }
} public const int IdFieldNumber = 2;
private bool hasId;
public const int IdFieldNumber = 2; private int id_;
private bool hasId; public bool HasId {
private int id_; get { return hasId; }
public bool HasId { }
get { return hasId; } public int Id {
} get { return id_; }
public int Id { }
get { return id_; }
} public const int EmailFieldNumber = 3;
private bool hasEmail;
public const int EmailFieldNumber = 3; private string email_ = "";
private bool hasEmail; public bool HasEmail {
private string email_ = ""; get { return hasEmail; }
public bool HasEmail { }
get { return hasEmail; } public string Email {
} get { return email_; }
public string Email { }
get { return email_; }
} public const int PhoneFieldNumber = 4;
private pbc::PopsicleList<global::Google.ProtocolBuffers.Examples.AddressBook.Person.Types.PhoneNumber> phone_ = new pbc::PopsicleList<global::Google.ProtocolBuffers.Examples.AddressBook.Person.Types.PhoneNumber>();
public const int PhoneFieldNumber = 4; public scg::IList<global::Google.ProtocolBuffers.Examples.AddressBook.Person.Types.PhoneNumber> PhoneList {
private pbc::PopsicleList<global::Google.ProtocolBuffers.Examples.AddressBook.Person.Types.PhoneNumber> phone_ = new pbc::PopsicleList<global::Google.ProtocolBuffers.Examples.AddressBook.Person.Types.PhoneNumber>(); get { return phone_; }
public scg::IList<global::Google.ProtocolBuffers.Examples.AddressBook.Person.Types.PhoneNumber> PhoneList { }
get { return phone_; } public int PhoneCount {
} get { return phone_.Count; }
public int PhoneCount { }
get { return phone_.Count; } public global::Google.ProtocolBuffers.Examples.AddressBook.Person.Types.PhoneNumber GetPhone(int index) {
} return phone_[index];
public global::Google.ProtocolBuffers.Examples.AddressBook.Person.Types.PhoneNumber GetPhone(int index) { }
return phone_[index];
} public override bool IsInitialized {
get {
public override bool IsInitialized { if (!hasName) return false;
get { if (!hasId) return false;
if (!hasName) return false; foreach (global::Google.ProtocolBuffers.Examples.AddressBook.Person.Types.PhoneNumber element in PhoneList) {
if (!hasId) return false; if (!element.IsInitialized) return false;
foreach (global::Google.ProtocolBuffers.Examples.AddressBook.Person.Types.PhoneNumber element in PhoneList) { }
if (!element.IsInitialized) return false; return true;
} }
return true; }
}
} public override void WriteTo(pb::ICodedOutputStream output) {
CalcSerializedSize();
public override void WriteTo(pb::ICodedOutputStream output) { string[] field_names = _personFieldNames;
CalcSerializedSize(); if (hasName) {
string[] field_names = _personFieldNames; output.WriteString(1, field_names[2], Name);
if (hasName) { }
output.WriteString(1, field_names[2], Name); if (hasId) {
} output.WriteInt32(2, field_names[1], Id);
if (hasId) { }
output.WriteInt32(2, field_names[1], Id); if (hasEmail) {
} output.WriteString(3, field_names[0], Email);
if (hasEmail) { }
output.WriteString(3, field_names[0], Email); if (phone_.Count > 0) {
} output.WriteMessageArray(4, field_names[3], phone_);
if (phone_.Count > 0) { }
output.WriteMessageArray(4, field_names[3], phone_); UnknownFields.WriteTo(output);
} }
UnknownFields.WriteTo(output);
} private int memoizedSerializedSize = -1;
public override int SerializedSize {
private int memoizedSerializedSize = -1; get {
public override int SerializedSize { int size = memoizedSerializedSize;
get { if (size != -1) return size;
int size = memoizedSerializedSize; return CalcSerializedSize();
if (size != -1) return size; }
return CalcSerializedSize(); }
}
} private int CalcSerializedSize() {
int size = memoizedSerializedSize;
private int CalcSerializedSize() { if (size != -1) return size;
int size = memoizedSerializedSize;
if (size != -1) return size; size = 0;
if (hasName) {
size = 0; size += pb::CodedOutputStream.ComputeStringSize(1, Name);
if (hasName) { }
size += pb::CodedOutputStream.ComputeStringSize(1, Name); if (hasId) {
} size += pb::CodedOutputStream.ComputeInt32Size(2, Id);
if (hasId) { }
size += pb::CodedOutputStream.ComputeInt32Size(2, Id); if (hasEmail) {
} size += pb::CodedOutputStream.ComputeStringSize(3, Email);
if (hasEmail) { }
size += pb::CodedOutputStream.ComputeStringSize(3, Email); foreach (global::Google.ProtocolBuffers.Examples.AddressBook.Person.Types.PhoneNumber element in PhoneList) {
} size += pb::CodedOutputStream.ComputeMessageSize(4, element);
foreach (global::Google.ProtocolBuffers.Examples.AddressBook.Person.Types.PhoneNumber element in PhoneList) { }
size += pb::CodedOutputStream.ComputeMessageSize(4, element); size += UnknownFields.SerializedSize;
} memoizedSerializedSize = size;
size += UnknownFields.SerializedSize; return size;
memoizedSerializedSize = size; }
return size; public static Person ParseFrom(pb::ByteString data) {
} return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
public static Person ParseFrom(pb::ByteString data) { }
return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed(); public static Person ParseFrom(pb::ByteString data, pb::ExtensionRegistry extensionRegistry) {
} return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
public static Person ParseFrom(pb::ByteString data, pb::ExtensionRegistry extensionRegistry) { }
return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed(); public static Person ParseFrom(byte[] data) {
} return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
public static Person ParseFrom(byte[] data) { }
return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed(); public static Person ParseFrom(byte[] data, pb::ExtensionRegistry extensionRegistry) {
} return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
public static Person ParseFrom(byte[] data, pb::ExtensionRegistry extensionRegistry) { }
return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed(); public static Person ParseFrom(global::System.IO.Stream input) {
} return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
public static Person ParseFrom(global::System.IO.Stream input) { }
return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed(); public static Person ParseFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
} return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
public static Person ParseFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) { }
return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed(); public static Person ParseDelimitedFrom(global::System.IO.Stream input) {
} return CreateBuilder().MergeDelimitedFrom(input).BuildParsed();
public static Person ParseDelimitedFrom(global::System.IO.Stream input) { }
return CreateBuilder().MergeDelimitedFrom(input).BuildParsed(); public static Person ParseDelimitedFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
} return CreateBuilder().MergeDelimitedFrom(input, extensionRegistry).BuildParsed();
public static Person ParseDelimitedFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) { }
return CreateBuilder().MergeDelimitedFrom(input, extensionRegistry).BuildParsed(); public static Person ParseFrom(pb::ICodedInputStream input) {
} return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
public static Person ParseFrom(pb::ICodedInputStream input) { }
return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed(); public static Person ParseFrom(pb::ICodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
} return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
public static Person ParseFrom(pb::ICodedInputStream input, pb::ExtensionRegistry extensionRegistry) { }
return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed(); private Person MakeReadOnly() {
} phone_.MakeReadOnly();
private Person MakeReadOnly() { return this;
phone_.MakeReadOnly(); }
return this;
} public static Builder CreateBuilder() { return new Builder(); }
public override Builder ToBuilder() { return CreateBuilder(this); }
public static Builder CreateBuilder() { return new Builder(); } public override Builder CreateBuilderForType() { return new Builder(); }
public override Builder ToBuilder() { return CreateBuilder(this); } public static Builder CreateBuilder(Person prototype) {
public override Builder CreateBuilderForType() { return new Builder(); } return new Builder(prototype);
public static Builder CreateBuilder(Person prototype) { }
return new Builder(prototype);
} [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public sealed partial class Builder : pb::GeneratedBuilder<Person, Builder> {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override Builder ThisBuilder {
public sealed partial class Builder : pb::GeneratedBuilder<Person, Builder> { get { return this; }
protected override Builder ThisBuilder { }
get { return this; } public Builder() {
} result = DefaultInstance;
public Builder() { resultIsReadOnly = true;
result = DefaultInstance; }
resultIsReadOnly = true; internal Builder(Person cloneFrom) {
} result = cloneFrom;
internal Builder(Person cloneFrom) { resultIsReadOnly = true;
result = cloneFrom; }
resultIsReadOnly = true;
} private bool resultIsReadOnly;
private Person result;
private bool resultIsReadOnly;
private Person result; private Person PrepareBuilder() {
if (resultIsReadOnly) {
private Person PrepareBuilder() { Person original = result;
if (resultIsReadOnly) { result = new Person();
Person original = result; resultIsReadOnly = false;
result = new Person(); MergeFrom(original);
resultIsReadOnly = false; }
MergeFrom(original); return result;
} }
return result;
} public override bool IsInitialized {
get { return result.IsInitialized; }
public override bool IsInitialized { }
get { return result.IsInitialized; }
} protected override Person MessageBeingBuilt {
get { return PrepareBuilder(); }
protected override Person MessageBeingBuilt { }
get { return PrepareBuilder(); }
} public override Builder Clear() {
result = DefaultInstance;
public override Builder Clear() { resultIsReadOnly = true;
result = DefaultInstance; return this;
resultIsReadOnly = true; }
return this;
} public override Builder Clone() {
if (resultIsReadOnly) {
public override Builder Clone() { return new Builder(result);
if (resultIsReadOnly) { } else {
return new Builder(result); return new Builder().MergeFrom(result);
} else { }
return new Builder().MergeFrom(result); }
}
} public override pbd::MessageDescriptor DescriptorForType {
get { return global::Google.ProtocolBuffers.Examples.AddressBook.Person.Descriptor; }
public override pbd::MessageDescriptor DescriptorForType { }
get { return global::Google.ProtocolBuffers.Examples.AddressBook.Person.Descriptor; }
} public override Person DefaultInstanceForType {
get { return global::Google.ProtocolBuffers.Examples.AddressBook.Person.DefaultInstance; }
public override Person DefaultInstanceForType { }
get { return global::Google.ProtocolBuffers.Examples.AddressBook.Person.DefaultInstance; }
} public override Person BuildPartial() {
if (resultIsReadOnly) {
public override Person BuildPartial() { return result;
if (resultIsReadOnly) { }
return result; resultIsReadOnly = true;
} return result.MakeReadOnly();
resultIsReadOnly = true; }
return result.MakeReadOnly();
} public override Builder MergeFrom(pb::IMessage other) {
if (other is Person) {
public override Builder MergeFrom(pb::IMessage other) { return MergeFrom((Person) other);
if (other is Person) { } else {
return MergeFrom((Person) other); base.MergeFrom(other);
} else { return this;
base.MergeFrom(other); }
return this; }
}
} public override Builder MergeFrom(Person other) {
if (other == global::Google.ProtocolBuffers.Examples.AddressBook.Person.DefaultInstance) return this;
public override Builder MergeFrom(Person other) { PrepareBuilder();
if (other == global::Google.ProtocolBuffers.Examples.AddressBook.Person.DefaultInstance) return this; if (other.HasName) {
PrepareBuilder(); Name = other.Name;
if (other.HasName) { }
Name = other.Name; if (other.HasId) {
} Id = other.Id;
if (other.HasId) { }
Id = other.Id; if (other.HasEmail) {
} Email = other.Email;
if (other.HasEmail) { }
Email = other.Email; if (other.phone_.Count != 0) {
} result.phone_.Add(other.phone_);
if (other.phone_.Count != 0) { }
result.phone_.Add(other.phone_); this.MergeUnknownFields(other.UnknownFields);
} return this;
this.MergeUnknownFields(other.UnknownFields); }
return this;
} public override Builder MergeFrom(pb::ICodedInputStream input) {
return MergeFrom(input, pb::ExtensionRegistry.Empty);
public override Builder MergeFrom(pb::ICodedInputStream input) { }
return MergeFrom(input, pb::ExtensionRegistry.Empty);
} public override Builder MergeFrom(pb::ICodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
PrepareBuilder();
public override Builder MergeFrom(pb::ICodedInputStream input, pb::ExtensionRegistry extensionRegistry) { pb::UnknownFieldSet.Builder unknownFields = null;
PrepareBuilder(); uint tag;
pb::UnknownFieldSet.Builder unknownFields = null; string field_name;
uint tag; while (input.ReadTag(out tag, out field_name)) {
string field_name; if(tag == 0 && field_name != null) {
while (input.ReadTag(out tag, out field_name)) { int field_ordinal = global::System.Array.BinarySearch(_personFieldNames, field_name, global::System.StringComparer.Ordinal);
if(tag == 0 && field_name != null) { if(field_ordinal >= 0)
int field_ordinal = global::System.Array.BinarySearch(_personFieldNames, field_name, global::System.StringComparer.Ordinal); tag = _personFieldTags[field_ordinal];
if(field_ordinal >= 0) else {
tag = _personFieldTags[field_ordinal]; if (unknownFields == null) {
else { unknownFields = pb::UnknownFieldSet.CreateBuilder(this.UnknownFields);
if (unknownFields == null) { }
unknownFields = pb::UnknownFieldSet.CreateBuilder(this.UnknownFields); ParseUnknownField(input, unknownFields, extensionRegistry, tag, field_name);
} continue;
ParseUnknownField(input, unknownFields, extensionRegistry, tag, field_name); }
continue; }
} switch (tag) {
} case 0: {
switch (tag) { throw pb::InvalidProtocolBufferException.InvalidTag();
case 0: { }
throw pb::InvalidProtocolBufferException.InvalidTag(); default: {
} if (pb::WireFormat.IsEndGroupTag(tag)) {
default: { if (unknownFields != null) {
if (pb::WireFormat.IsEndGroupTag(tag)) { this.UnknownFields = unknownFields.Build();
if (unknownFields != null) { }
this.UnknownFields = unknownFields.Build(); return this;
} }
return this; if (unknownFields == null) {
} unknownFields = pb::UnknownFieldSet.CreateBuilder(this.UnknownFields);
if (unknownFields == null) { }
unknownFields = pb::UnknownFieldSet.CreateBuilder(this.UnknownFields); ParseUnknownField(input, unknownFields, extensionRegistry, tag, field_name);
} break;
ParseUnknownField(input, unknownFields, extensionRegistry, tag, field_name); }
break; case 10: {
} result.hasName = input.ReadString(ref result.name_);
case 10: { break;
result.hasName = input.ReadString(ref result.name_); }
break; case 16: {
} result.hasId = input.ReadInt32(ref result.id_);
case 16: { break;
result.hasId = input.ReadInt32(ref result.id_); }
break; case 26: {
} result.hasEmail = input.ReadString(ref result.email_);
case 26: { break;
result.hasEmail = input.ReadString(ref result.email_); }
break; case 34: {
} input.ReadMessageArray(tag, field_name, result.phone_, global::Google.ProtocolBuffers.Examples.AddressBook.Person.Types.PhoneNumber.DefaultInstance, extensionRegistry);
case 34: { break;
input.ReadMessageArray(tag, field_name, result.phone_, global::Google.ProtocolBuffers.Examples.AddressBook.Person.Types.PhoneNumber.DefaultInstance, extensionRegistry); }
break; }
} }
}
} if (unknownFields != null) {
this.UnknownFields = unknownFields.Build();
if (unknownFields != null) { }
this.UnknownFields = unknownFields.Build(); return this;
} }
return this;
}
public bool HasName {
get { return result.hasName; }
public bool HasName { }
get { return result.hasName; } public string Name {
} get { return result.Name; }
public string Name { set { SetName(value); }
get { return result.Name; } }
set { SetName(value); } public Builder SetName(string value) {
} pb::ThrowHelper.ThrowIfNull(value, "value");
public Builder SetName(string value) { PrepareBuilder();
pb::ThrowHelper.ThrowIfNull(value, "value"); result.hasName = true;
PrepareBuilder(); result.name_ = value;
result.hasName = true; return this;
result.name_ = value; }
return this; public Builder ClearName() {
} PrepareBuilder();
public Builder ClearName() { result.hasName = false;
PrepareBuilder(); result.name_ = "";
result.hasName = false; return this;
result.name_ = ""; }
return this;
} public bool HasId {
get { return result.hasId; }
public bool HasId { }
get { return result.hasId; } public int Id {
} get { return result.Id; }
public int Id { set { SetId(value); }
get { return result.Id; } }
set { SetId(value); } public Builder SetId(int value) {
} PrepareBuilder();
public Builder SetId(int value) { result.hasId = true;
PrepareBuilder(); result.id_ = value;
result.hasId = true; return this;
result.id_ = value; }
return this; public Builder ClearId() {
} PrepareBuilder();
public Builder ClearId() { result.hasId = false;
PrepareBuilder(); result.id_ = 0;
result.hasId = false; return this;
result.id_ = 0; }
return this;
} public bool HasEmail {
get { return result.hasEmail; }
public bool HasEmail { }
get { return result.hasEmail; } public string Email {
} get { return result.Email; }
public string Email { set { SetEmail(value); }
get { return result.Email; } }
set { SetEmail(value); } public Builder SetEmail(string value) {
} pb::ThrowHelper.ThrowIfNull(value, "value");
public Builder SetEmail(string value) { PrepareBuilder();
pb::ThrowHelper.ThrowIfNull(value, "value"); result.hasEmail = true;
PrepareBuilder(); result.email_ = value;
result.hasEmail = true; return this;
result.email_ = value; }
return this; public Builder ClearEmail() {
} PrepareBuilder();
public Builder ClearEmail() { result.hasEmail = false;
PrepareBuilder(); result.email_ = "";
result.hasEmail = false; return this;
result.email_ = ""; }
return this;
} public pbc::IPopsicleList<global::Google.ProtocolBuffers.Examples.AddressBook.Person.Types.PhoneNumber> PhoneList {
get { return PrepareBuilder().phone_; }
public pbc::IPopsicleList<global::Google.ProtocolBuffers.Examples.AddressBook.Person.Types.PhoneNumber> PhoneList { }
get { return PrepareBuilder().phone_; } public int PhoneCount {
} get { return result.PhoneCount; }
public int PhoneCount { }
get { return result.PhoneCount; } public global::Google.ProtocolBuffers.Examples.AddressBook.Person.Types.PhoneNumber GetPhone(int index) {
} return result.GetPhone(index);
public global::Google.ProtocolBuffers.Examples.AddressBook.Person.Types.PhoneNumber GetPhone(int index) { }
return result.GetPhone(index); public Builder SetPhone(int index, global::Google.ProtocolBuffers.Examples.AddressBook.Person.Types.PhoneNumber value) {
} pb::ThrowHelper.ThrowIfNull(value, "value");
public Builder SetPhone(int index, global::Google.ProtocolBuffers.Examples.AddressBook.Person.Types.PhoneNumber value) { PrepareBuilder();
pb::ThrowHelper.ThrowIfNull(value, "value"); result.phone_[index] = value;
PrepareBuilder(); return this;
result.phone_[index] = value; }
return this; public Builder SetPhone(int index, global::Google.ProtocolBuffers.Examples.AddressBook.Person.Types.PhoneNumber.Builder builderForValue) {
} pb::ThrowHelper.ThrowIfNull(builderForValue, "builderForValue");
public Builder SetPhone(int index, global::Google.ProtocolBuffers.Examples.AddressBook.Person.Types.PhoneNumber.Builder builderForValue) { PrepareBuilder();
pb::ThrowHelper.ThrowIfNull(builderForValue, "builderForValue"); result.phone_[index] = builderForValue.Build();
PrepareBuilder(); return this;
result.phone_[index] = builderForValue.Build(); }
return this; public Builder AddPhone(global::Google.ProtocolBuffers.Examples.AddressBook.Person.Types.PhoneNumber value) {
} pb::ThrowHelper.ThrowIfNull(value, "value");
public Builder AddPhone(global::Google.ProtocolBuffers.Examples.AddressBook.Person.Types.PhoneNumber value) { PrepareBuilder();
pb::ThrowHelper.ThrowIfNull(value, "value"); result.phone_.Add(value);
PrepareBuilder(); return this;
result.phone_.Add(value); }
return this; public Builder AddPhone(global::Google.ProtocolBuffers.Examples.AddressBook.Person.Types.PhoneNumber.Builder builderForValue) {
} pb::ThrowHelper.ThrowIfNull(builderForValue, "builderForValue");
public Builder AddPhone(global::Google.ProtocolBuffers.Examples.AddressBook.Person.Types.PhoneNumber.Builder builderForValue) { PrepareBuilder();
pb::ThrowHelper.ThrowIfNull(builderForValue, "builderForValue"); result.phone_.Add(builderForValue.Build());
PrepareBuilder(); return this;
result.phone_.Add(builderForValue.Build()); }
return this; public Builder AddRangePhone(scg::IEnumerable<global::Google.ProtocolBuffers.Examples.AddressBook.Person.Types.PhoneNumber> values) {
} PrepareBuilder();
public Builder AddRangePhone(scg::IEnumerable<global::Google.ProtocolBuffers.Examples.AddressBook.Person.Types.PhoneNumber> values) { result.phone_.Add(values);
PrepareBuilder(); return this;
result.phone_.Add(values); }
return this; public Builder ClearPhone() {
} PrepareBuilder();
public Builder ClearPhone() { result.phone_.Clear();
PrepareBuilder(); return this;
result.phone_.Clear(); }
return this; }
} static Person() {
} object.ReferenceEquals(global::Google.ProtocolBuffers.Examples.AddressBook.Addressbook.Descriptor, null);
static Person() { }
object.ReferenceEquals(global::Google.ProtocolBuffers.Examples.AddressBook.AddressBookProtos.Descriptor, null); }
}
} [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public sealed partial class AddressBook : pb::GeneratedMessage<AddressBook, AddressBook.Builder> {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private AddressBook() { }
public sealed partial class AddressBook : pb::GeneratedMessage<AddressBook, AddressBook.Builder> { private static readonly AddressBook defaultInstance = new AddressBook().MakeReadOnly();
private AddressBook() { } private static readonly string[] _addressBookFieldNames = new string[] { "person" };
private static readonly AddressBook defaultInstance = new AddressBook().MakeReadOnly(); private static readonly uint[] _addressBookFieldTags = new uint[] { 10 };
private static readonly string[] _addressBookFieldNames = new string[] { "person" }; public static AddressBook DefaultInstance {
private static readonly uint[] _addressBookFieldTags = new uint[] { 10 }; get { return defaultInstance; }
public static AddressBook DefaultInstance { }
get { return defaultInstance; }
} public override AddressBook DefaultInstanceForType {
get { return DefaultInstance; }
public override AddressBook DefaultInstanceForType { }
get { return DefaultInstance; }
} protected override AddressBook ThisMessage {
get { return this; }
protected override AddressBook ThisMessage { }
get { return this; }
} public static pbd::MessageDescriptor Descriptor {
get { return global::Google.ProtocolBuffers.Examples.AddressBook.Addressbook.internal__static_tutorial_AddressBook__Descriptor; }
public static pbd::MessageDescriptor Descriptor { }
get { return global::Google.ProtocolBuffers.Examples.AddressBook.AddressBookProtos.internal__static_tutorial_AddressBook__Descriptor; }
} protected override pb::FieldAccess.FieldAccessorTable<AddressBook, AddressBook.Builder> InternalFieldAccessors {
get { return global::Google.ProtocolBuffers.Examples.AddressBook.Addressbook.internal__static_tutorial_AddressBook__FieldAccessorTable; }
protected override pb::FieldAccess.FieldAccessorTable<AddressBook, AddressBook.Builder> InternalFieldAccessors { }
get { return global::Google.ProtocolBuffers.Examples.AddressBook.AddressBookProtos.internal__static_tutorial_AddressBook__FieldAccessorTable; }
} public const int PersonFieldNumber = 1;
private pbc::PopsicleList<global::Google.ProtocolBuffers.Examples.AddressBook.Person> person_ = new pbc::PopsicleList<global::Google.ProtocolBuffers.Examples.AddressBook.Person>();
public const int PersonFieldNumber = 1; public scg::IList<global::Google.ProtocolBuffers.Examples.AddressBook.Person> PersonList {
private pbc::PopsicleList<global::Google.ProtocolBuffers.Examples.AddressBook.Person> person_ = new pbc::PopsicleList<global::Google.ProtocolBuffers.Examples.AddressBook.Person>(); get { return person_; }
public scg::IList<global::Google.ProtocolBuffers.Examples.AddressBook.Person> PersonList { }
get { return person_; } public int PersonCount {
} get { return person_.Count; }
public int PersonCount { }
get { return person_.Count; } public global::Google.ProtocolBuffers.Examples.AddressBook.Person GetPerson(int index) {
} return person_[index];
public global::Google.ProtocolBuffers.Examples.AddressBook.Person GetPerson(int index) { }
return person_[index];
} public override bool IsInitialized {
get {
public override bool IsInitialized { foreach (global::Google.ProtocolBuffers.Examples.AddressBook.Person element in PersonList) {
get { if (!element.IsInitialized) return false;
foreach (global::Google.ProtocolBuffers.Examples.AddressBook.Person element in PersonList) { }
if (!element.IsInitialized) return false; return true;
} }
return true; }
}
} public override void WriteTo(pb::ICodedOutputStream output) {
CalcSerializedSize();
public override void WriteTo(pb::ICodedOutputStream output) { string[] field_names = _addressBookFieldNames;
CalcSerializedSize(); if (person_.Count > 0) {
string[] field_names = _addressBookFieldNames; output.WriteMessageArray(1, field_names[0], person_);
if (person_.Count > 0) { }
output.WriteMessageArray(1, field_names[0], person_); UnknownFields.WriteTo(output);
} }
UnknownFields.WriteTo(output);
} private int memoizedSerializedSize = -1;
public override int SerializedSize {
private int memoizedSerializedSize = -1; get {
public override int SerializedSize { int size = memoizedSerializedSize;
get { if (size != -1) return size;
int size = memoizedSerializedSize; return CalcSerializedSize();
if (size != -1) return size; }
return CalcSerializedSize(); }
}
} private int CalcSerializedSize() {
int size = memoizedSerializedSize;
private int CalcSerializedSize() { if (size != -1) return size;
int size = memoizedSerializedSize;
if (size != -1) return size; size = 0;
foreach (global::Google.ProtocolBuffers.Examples.AddressBook.Person element in PersonList) {
size = 0; size += pb::CodedOutputStream.ComputeMessageSize(1, element);
foreach (global::Google.ProtocolBuffers.Examples.AddressBook.Person element in PersonList) { }
size += pb::CodedOutputStream.ComputeMessageSize(1, element); size += UnknownFields.SerializedSize;
} memoizedSerializedSize = size;
size += UnknownFields.SerializedSize; return size;
memoizedSerializedSize = size; }
return size; public static AddressBook ParseFrom(pb::ByteString data) {
} return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
public static AddressBook ParseFrom(pb::ByteString data) { }
return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed(); public static AddressBook ParseFrom(pb::ByteString data, pb::ExtensionRegistry extensionRegistry) {
} return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
public static AddressBook ParseFrom(pb::ByteString data, pb::ExtensionRegistry extensionRegistry) { }
return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed(); public static AddressBook ParseFrom(byte[] data) {
} return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
public static AddressBook ParseFrom(byte[] data) { }
return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed(); public static AddressBook ParseFrom(byte[] data, pb::ExtensionRegistry extensionRegistry) {
} return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
public static AddressBook ParseFrom(byte[] data, pb::ExtensionRegistry extensionRegistry) { }
return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed(); public static AddressBook ParseFrom(global::System.IO.Stream input) {
} return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
public static AddressBook ParseFrom(global::System.IO.Stream input) { }
return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed(); public static AddressBook ParseFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
} return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
public static AddressBook ParseFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) { }
return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed(); public static AddressBook ParseDelimitedFrom(global::System.IO.Stream input) {
} return CreateBuilder().MergeDelimitedFrom(input).BuildParsed();
public static AddressBook ParseDelimitedFrom(global::System.IO.Stream input) { }
return CreateBuilder().MergeDelimitedFrom(input).BuildParsed(); public static AddressBook ParseDelimitedFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
} return CreateBuilder().MergeDelimitedFrom(input, extensionRegistry).BuildParsed();
public static AddressBook ParseDelimitedFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) { }
return CreateBuilder().MergeDelimitedFrom(input, extensionRegistry).BuildParsed(); public static AddressBook ParseFrom(pb::ICodedInputStream input) {
} return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
public static AddressBook ParseFrom(pb::ICodedInputStream input) { }
return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed(); public static AddressBook ParseFrom(pb::ICodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
} return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
public static AddressBook ParseFrom(pb::ICodedInputStream input, pb::ExtensionRegistry extensionRegistry) { }
return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed(); private AddressBook MakeReadOnly() {
} person_.MakeReadOnly();
private AddressBook MakeReadOnly() { return this;
person_.MakeReadOnly(); }
return this;
} public static Builder CreateBuilder() { return new Builder(); }
public override Builder ToBuilder() { return CreateBuilder(this); }
public static Builder CreateBuilder() { return new Builder(); } public override Builder CreateBuilderForType() { return new Builder(); }
public override Builder ToBuilder() { return CreateBuilder(this); } public static Builder CreateBuilder(AddressBook prototype) {
public override Builder CreateBuilderForType() { return new Builder(); } return new Builder(prototype);
public static Builder CreateBuilder(AddressBook prototype) { }
return new Builder(prototype);
} [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public sealed partial class Builder : pb::GeneratedBuilder<AddressBook, Builder> {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override Builder ThisBuilder {
public sealed partial class Builder : pb::GeneratedBuilder<AddressBook, Builder> { get { return this; }
protected override Builder ThisBuilder { }
get { return this; } public Builder() {
} result = DefaultInstance;
public Builder() { resultIsReadOnly = true;
result = DefaultInstance; }
resultIsReadOnly = true; internal Builder(AddressBook cloneFrom) {
} result = cloneFrom;
internal Builder(AddressBook cloneFrom) { resultIsReadOnly = true;
result = cloneFrom; }
resultIsReadOnly = true;
} private bool resultIsReadOnly;
private AddressBook result;
private bool resultIsReadOnly;
private AddressBook result; private AddressBook PrepareBuilder() {
if (resultIsReadOnly) {
private AddressBook PrepareBuilder() { AddressBook original = result;
if (resultIsReadOnly) { result = new AddressBook();
AddressBook original = result; resultIsReadOnly = false;
result = new AddressBook(); MergeFrom(original);
resultIsReadOnly = false; }
MergeFrom(original); return result;
} }
return result;
} public override bool IsInitialized {
get { return result.IsInitialized; }
public override bool IsInitialized { }
get { return result.IsInitialized; }
} protected override AddressBook MessageBeingBuilt {
get { return PrepareBuilder(); }
protected override AddressBook MessageBeingBuilt { }
get { return PrepareBuilder(); }
} public override Builder Clear() {
result = DefaultInstance;
public override Builder Clear() { resultIsReadOnly = true;
result = DefaultInstance; return this;
resultIsReadOnly = true; }
return this;
} public override Builder Clone() {
if (resultIsReadOnly) {
public override Builder Clone() { return new Builder(result);
if (resultIsReadOnly) { } else {
return new Builder(result); return new Builder().MergeFrom(result);
} else { }
return new Builder().MergeFrom(result); }
}
} public override pbd::MessageDescriptor DescriptorForType {
get { return global::Google.ProtocolBuffers.Examples.AddressBook.AddressBook.Descriptor; }
public override pbd::MessageDescriptor DescriptorForType { }
get { return global::Google.ProtocolBuffers.Examples.AddressBook.AddressBook.Descriptor; }
} public override AddressBook DefaultInstanceForType {
get { return global::Google.ProtocolBuffers.Examples.AddressBook.AddressBook.DefaultInstance; }
public override AddressBook DefaultInstanceForType { }
get { return global::Google.ProtocolBuffers.Examples.AddressBook.AddressBook.DefaultInstance; }
} public override AddressBook BuildPartial() {
if (resultIsReadOnly) {
public override AddressBook BuildPartial() { return result;
if (resultIsReadOnly) { }
return result; resultIsReadOnly = true;
} return result.MakeReadOnly();
resultIsReadOnly = true; }
return result.MakeReadOnly();
} public override Builder MergeFrom(pb::IMessage other) {
if (other is AddressBook) {
public override Builder MergeFrom(pb::IMessage other) { return MergeFrom((AddressBook) other);
if (other is AddressBook) { } else {
return MergeFrom((AddressBook) other); base.MergeFrom(other);
} else { return this;
base.MergeFrom(other); }
return this; }
}
} public override Builder MergeFrom(AddressBook other) {
if (other == global::Google.ProtocolBuffers.Examples.AddressBook.AddressBook.DefaultInstance) return this;
public override Builder MergeFrom(AddressBook other) { PrepareBuilder();
if (other == global::Google.ProtocolBuffers.Examples.AddressBook.AddressBook.DefaultInstance) return this; if (other.person_.Count != 0) {
PrepareBuilder(); result.person_.Add(other.person_);
if (other.person_.Count != 0) { }
result.person_.Add(other.person_); this.MergeUnknownFields(other.UnknownFields);
} return this;
this.MergeUnknownFields(other.UnknownFields); }
return this;
} public override Builder MergeFrom(pb::ICodedInputStream input) {
return MergeFrom(input, pb::ExtensionRegistry.Empty);
public override Builder MergeFrom(pb::ICodedInputStream input) { }
return MergeFrom(input, pb::ExtensionRegistry.Empty);
} public override Builder MergeFrom(pb::ICodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
PrepareBuilder();
public override Builder MergeFrom(pb::ICodedInputStream input, pb::ExtensionRegistry extensionRegistry) { pb::UnknownFieldSet.Builder unknownFields = null;
PrepareBuilder(); uint tag;
pb::UnknownFieldSet.Builder unknownFields = null; string field_name;
uint tag; while (input.ReadTag(out tag, out field_name)) {
string field_name; if(tag == 0 && field_name != null) {
while (input.ReadTag(out tag, out field_name)) { int field_ordinal = global::System.Array.BinarySearch(_addressBookFieldNames, field_name, global::System.StringComparer.Ordinal);
if(tag == 0 && field_name != null) { if(field_ordinal >= 0)
int field_ordinal = global::System.Array.BinarySearch(_addressBookFieldNames, field_name, global::System.StringComparer.Ordinal); tag = _addressBookFieldTags[field_ordinal];
if(field_ordinal >= 0) else {
tag = _addressBookFieldTags[field_ordinal]; if (unknownFields == null) {
else { unknownFields = pb::UnknownFieldSet.CreateBuilder(this.UnknownFields);
if (unknownFields == null) { }
unknownFields = pb::UnknownFieldSet.CreateBuilder(this.UnknownFields); ParseUnknownField(input, unknownFields, extensionRegistry, tag, field_name);
} continue;
ParseUnknownField(input, unknownFields, extensionRegistry, tag, field_name); }
continue; }
} switch (tag) {
} case 0: {
switch (tag) { throw pb::InvalidProtocolBufferException.InvalidTag();
case 0: { }
throw pb::InvalidProtocolBufferException.InvalidTag(); default: {
} if (pb::WireFormat.IsEndGroupTag(tag)) {
default: { if (unknownFields != null) {
if (pb::WireFormat.IsEndGroupTag(tag)) { this.UnknownFields = unknownFields.Build();
if (unknownFields != null) { }
this.UnknownFields = unknownFields.Build(); return this;
} }
return this; if (unknownFields == null) {
} unknownFields = pb::UnknownFieldSet.CreateBuilder(this.UnknownFields);
if (unknownFields == null) { }
unknownFields = pb::UnknownFieldSet.CreateBuilder(this.UnknownFields); ParseUnknownField(input, unknownFields, extensionRegistry, tag, field_name);
} break;
ParseUnknownField(input, unknownFields, extensionRegistry, tag, field_name); }
break; case 10: {
} input.ReadMessageArray(tag, field_name, result.person_, global::Google.ProtocolBuffers.Examples.AddressBook.Person.DefaultInstance, extensionRegistry);
case 10: { break;
input.ReadMessageArray(tag, field_name, result.person_, global::Google.ProtocolBuffers.Examples.AddressBook.Person.DefaultInstance, extensionRegistry); }
break; }
} }
}
} if (unknownFields != null) {
this.UnknownFields = unknownFields.Build();
if (unknownFields != null) { }
this.UnknownFields = unknownFields.Build(); return this;
} }
return this;
}
public pbc::IPopsicleList<global::Google.ProtocolBuffers.Examples.AddressBook.Person> PersonList {
get { return PrepareBuilder().person_; }
public pbc::IPopsicleList<global::Google.ProtocolBuffers.Examples.AddressBook.Person> PersonList { }
get { return PrepareBuilder().person_; } public int PersonCount {
} get { return result.PersonCount; }
public int PersonCount { }
get { return result.PersonCount; } public global::Google.ProtocolBuffers.Examples.AddressBook.Person GetPerson(int index) {
} return result.GetPerson(index);
public global::Google.ProtocolBuffers.Examples.AddressBook.Person GetPerson(int index) { }
return result.GetPerson(index); public Builder SetPerson(int index, global::Google.ProtocolBuffers.Examples.AddressBook.Person value) {
} pb::ThrowHelper.ThrowIfNull(value, "value");
public Builder SetPerson(int index, global::Google.ProtocolBuffers.Examples.AddressBook.Person value) { PrepareBuilder();
pb::ThrowHelper.ThrowIfNull(value, "value"); result.person_[index] = value;
PrepareBuilder(); return this;
result.person_[index] = value; }
return this; public Builder SetPerson(int index, global::Google.ProtocolBuffers.Examples.AddressBook.Person.Builder builderForValue) {
} pb::ThrowHelper.ThrowIfNull(builderForValue, "builderForValue");
public Builder SetPerson(int index, global::Google.ProtocolBuffers.Examples.AddressBook.Person.Builder builderForValue) { PrepareBuilder();
pb::ThrowHelper.ThrowIfNull(builderForValue, "builderForValue"); result.person_[index] = builderForValue.Build();
PrepareBuilder(); return this;
result.person_[index] = builderForValue.Build(); }
return this; public Builder AddPerson(global::Google.ProtocolBuffers.Examples.AddressBook.Person value) {
} pb::ThrowHelper.ThrowIfNull(value, "value");
public Builder AddPerson(global::Google.ProtocolBuffers.Examples.AddressBook.Person value) { PrepareBuilder();
pb::ThrowHelper.ThrowIfNull(value, "value"); result.person_.Add(value);
PrepareBuilder(); return this;
result.person_.Add(value); }
return this; public Builder AddPerson(global::Google.ProtocolBuffers.Examples.AddressBook.Person.Builder builderForValue) {
} pb::ThrowHelper.ThrowIfNull(builderForValue, "builderForValue");
public Builder AddPerson(global::Google.ProtocolBuffers.Examples.AddressBook.Person.Builder builderForValue) { PrepareBuilder();
pb::ThrowHelper.ThrowIfNull(builderForValue, "builderForValue"); result.person_.Add(builderForValue.Build());
PrepareBuilder(); return this;
result.person_.Add(builderForValue.Build()); }
return this; public Builder AddRangePerson(scg::IEnumerable<global::Google.ProtocolBuffers.Examples.AddressBook.Person> values) {
} PrepareBuilder();
public Builder AddRangePerson(scg::IEnumerable<global::Google.ProtocolBuffers.Examples.AddressBook.Person> values) { result.person_.Add(values);
PrepareBuilder(); return this;
result.person_.Add(values); }
return this; public Builder ClearPerson() {
} PrepareBuilder();
public Builder ClearPerson() { result.person_.Clear();
PrepareBuilder(); return this;
result.person_.Clear(); }
return this; }
} static AddressBook() {
} object.ReferenceEquals(global::Google.ProtocolBuffers.Examples.AddressBook.Addressbook.Descriptor, null);
static AddressBook() { }
object.ReferenceEquals(global::Google.ProtocolBuffers.Examples.AddressBook.AddressBookProtos.Descriptor, null); }
}
} #endregion
#endregion }
} #endregion Designer generated code
#endregion Designer generated code
Microsoft Visual Studio Solution File, Format Version 12.00 Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2012 # Visual Studio 14
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "proto", "proto", "{1F896D5C-5FC2-4671-9216-781CB8187EC7}" VisualStudioVersion = 14.0.22609.0
ProjectSection(SolutionItems) = preProject MinimumVisualStudioVersion = 10.0.40219.1
..\protos\tutorial\addressbook.proto = ..\protos\tutorial\addressbook.proto
..\protos\google\protobuf\csharp_options.proto = ..\protos\google\protobuf\csharp_options.proto
..\protos\google\protobuf\descriptor.proto = ..\protos\google\protobuf\descriptor.proto
..\protos\google\protobuf\compiler\plugin.proto = ..\protos\google\protobuf\compiler\plugin.proto
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "unittest", "unittest", "{C8D3015A-EA39-4F03-AEEC-3FF1F2087A12}"
ProjectSection(SolutionItems) = preProject
..\protos\google\test\google_size.proto = ..\protos\google\test\google_size.proto
..\protos\google\test\google_speed.proto = ..\protos\google\test\google_speed.proto
..\protos\google\protobuf\unittest.proto = ..\protos\google\protobuf\unittest.proto
..\protos\google\protobuf\unittest_csharp_options.proto = ..\protos\google\protobuf\unittest_csharp_options.proto
..\protos\google\protobuf\unittest_custom_options.proto = ..\protos\google\protobuf\unittest_custom_options.proto
..\protos\google\protobuf\unittest_embed_optimize_for.proto = ..\protos\google\protobuf\unittest_embed_optimize_for.proto
..\protos\google\protobuf\unittest_empty.proto = ..\protos\google\protobuf\unittest_empty.proto
..\protos\google\protobuf\unittest_enormous_descriptor.proto = ..\protos\google\protobuf\unittest_enormous_descriptor.proto
..\protos\extest\unittest_extras.proto = ..\protos\extest\unittest_extras.proto
..\protos\extest\unittest_extras_full.proto = ..\protos\extest\unittest_extras_full.proto
..\protos\extest\unittest_extras_lite.proto = ..\protos\extest\unittest_extras_lite.proto
..\protos\extest\unittest_extras_xmltest.proto = ..\protos\extest\unittest_extras_xmltest.proto
..\protos\extest\unittest_generic_services.proto = ..\protos\extest\unittest_generic_services.proto
..\protos\google\protobuf\unittest_import.proto = ..\protos\google\protobuf\unittest_import.proto
..\protos\google\protobuf\unittest_import_lite.proto = ..\protos\google\protobuf\unittest_import_lite.proto
..\protos\extest\unittest_issues.proto = ..\protos\extest\unittest_issues.proto
..\protos\google\protobuf\unittest_lite.proto = ..\protos\google\protobuf\unittest_lite.proto
..\protos\google\protobuf\unittest_lite_imports_nonlite.proto = ..\protos\google\protobuf\unittest_lite_imports_nonlite.proto
..\protos\google\protobuf\unittest_mset.proto = ..\protos\google\protobuf\unittest_mset.proto
..\protos\google\protobuf\unittest_no_generic_services.proto = ..\protos\google\protobuf\unittest_no_generic_services.proto
..\protos\google\protobuf\unittest_optimize_for.proto = ..\protos\google\protobuf\unittest_optimize_for.proto
..\protos\extest\unittest_rpc_interop.proto = ..\protos\extest\unittest_rpc_interop.proto
..\protos\extest\unittest_rpc_interop_lite.proto = ..\protos\extest\unittest_rpc_interop_lite.proto
EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ProtocolBuffers", "ProtocolBuffers\ProtocolBuffers.csproj", "{6908BDCE-D925-43F3-94AC-A531E6DF2591}" Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ProtocolBuffers", "ProtocolBuffers\ProtocolBuffers.csproj", "{6908BDCE-D925-43F3-94AC-A531E6DF2591}"
EndProject EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ProtocolBuffers.Test", "ProtocolBuffers.Test\ProtocolBuffers.Test.csproj", "{DD01ED24-3750-4567-9A23-1DB676A15610}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ProtoGen", "ProtoGen\ProtoGen.csproj", "{250ADE34-82FD-4BAE-86D5-985FBE589C4A}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ProtoGen.Test", "ProtoGen.Test\ProtoGen.Test.csproj", "{C268DA4C-4004-47DA-AF23-44C983281A68}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AddressBook", "AddressBook\AddressBook.csproj", "{A31F5FB2-4FF3-432A-B35B-5CD203606311}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ProtoMunge", "ProtoMunge\ProtoMunge.csproj", "{8F09AF72-3327-4FA7-BC09-070B80221AB9}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ProtoBench", "ProtoBench\ProtoBench.csproj", "{C7A4A435-2813-41C8-AA87-BD914BA5223D}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ProtoDump", "ProtoDump\ProtoDump.csproj", "{D7282E99-2DC3-405B-946F-177DB2FD2AE2}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ProtocolBuffersLite", "ProtocolBuffers\ProtocolBuffersLite.csproj", "{6969BDCE-D925-43F3-94AC-A531E6DF2591}" Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ProtocolBuffersLite", "ProtocolBuffers\ProtocolBuffersLite.csproj", "{6969BDCE-D925-43F3-94AC-A531E6DF2591}"
EndProject EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ProtocolBuffersLite.Test", "ProtocolBuffersLite.Test\ProtocolBuffersLite.Test.csproj", "{EE01ED24-3750-4567-9A23-1DB676A15610}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ProtocolBuffersLiteMixed.Test", "ProtocolBuffersLite.Test\ProtocolBuffersLiteMixed.Test.csproj", "{EEFFED24-3750-4567-9A23-1DB676A15610}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "build", "build", "{66ED1950-AD27-42D7-88F8-94355AEC8225}"
ProjectSection(SolutionItems) = preProject
..\build\build.bat = ..\build\build.bat
..\build\build.csproj = ..\build\build.csproj
..\build\BuildAll.bat = ..\build\BuildAll.bat
..\build\Common.targets = ..\build\Common.targets
..\build\GenerateProjects.bat = ..\build\GenerateProjects.bat
..\build\GenerateSource.bat = ..\build\GenerateSource.bat
..\build\Google.ProtocolBuffers.nuspec = ..\build\Google.ProtocolBuffers.nuspec
..\build\Google.ProtocolBuffersLite.nuspec = ..\build\Google.ProtocolBuffersLite.nuspec
..\build\publish.csproj = ..\build\publish.csproj
..\build\PublishTool.bat = ..\build\PublishTool.bat
..\build\RunBenchmarks.bat = ..\build\RunBenchmarks.bat
..\build\target.csproj = ..\build\target.csproj
EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ProtocolBuffers.Serialization", "ProtocolBuffers.Serialization\ProtocolBuffers.Serialization.csproj", "{231391AF-449C-4A39-986C-AD7F270F4750}" Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ProtocolBuffers.Serialization", "ProtocolBuffers.Serialization\ProtocolBuffers.Serialization.csproj", "{231391AF-449C-4A39-986C-AD7F270F4750}"
EndProject EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ProtocolBuffersLite.Serialization", "ProtocolBuffers.Serialization\ProtocolBuffersLite.Serialization.csproj", "{E067A59D-9D0A-4A1F-92B1-38E4457241D1}" Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ProtocolBuffersLite.Serialization", "ProtocolBuffers.Serialization\ProtocolBuffersLite.Serialization.csproj", "{E067A59D-9D0A-4A1F-92B1-38E4457241D1}"
EndProject EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Tools", "Tools", "{0D7CDA8F-1BBF-4E0F-8D35-31AEA21A96E6}" Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ProtocolBuffers.Test", "ProtocolBuffers.Test\ProtocolBuffers.Test.csproj", "{DD01ED24-3750-4567-9A23-1DB676A15610}"
EndProject EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Tests", "Tests", "{C7B69674-7A51-4AC6-8674-0330BA742CE4}" Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ProtocolBuffersLite.Test", "ProtocolBuffersLite.Test\ProtocolBuffersLite.Test.csproj", "{EE01ED24-3750-4567-9A23-1DB676A15610}"
EndProject EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Samples", "Samples", "{75D5D25A-01A6-4594-957F-5993FB83F450}" Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ProtocolBuffersLiteMixed.Test", "ProtocolBuffersLite.Test\ProtocolBuffersLiteMixed.Test.csproj", "{EEFFED24-3750-4567-9A23-1DB676A15610}"
EndProject EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "benchmarks", "benchmarks", "{FA9F5250-FDDC-48B8-832E-96E0464A02E6}" Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AddressBook", "AddressBook\AddressBook.csproj", "{A31F5FB2-4FF3-432A-B35B-5CD203606311}"
ProjectSection(SolutionItems) = preProject
..\protos\benchmarks\google_size.proto = ..\protos\benchmarks\google_size.proto
..\protos\benchmarks\google_speed.proto = ..\protos\benchmarks\google_speed.proto
EndProjectSection
EndProject EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "protoc-gen-cs", "ProtoGen\protoc-gen-cs.csproj", "{250ADE34-82FD-4BAE-86D5-985FBE589C4B}" Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ProtoDump", "ProtoDump\ProtoDump.csproj", "{D7282E99-2DC3-405B-946F-177DB2FD2AE2}"
EndProject EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "protoc-gen-cs.Test", "ProtoGen.Test\protoc-gen-cs.Test.csproj", "{C1024C9C-8176-48C3-B547-B9F6DF6B80A6}" Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ProtoMunge", "ProtoMunge\ProtoMunge.csproj", "{8F09AF72-3327-4FA7-BC09-070B80221AB9}"
EndProject EndProject
Global Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug_Silverlight|Any CPU = Debug_Silverlight|Any CPU
Debug|Any CPU = Debug|Any CPU Debug|Any CPU = Debug|Any CPU
Release_Silverlight|Any CPU = Release_Silverlight|Any CPU
Release|Any CPU = Release|Any CPU Release|Any CPU = Release|Any CPU
EndGlobalSection EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution GlobalSection(ProjectConfigurationPlatforms) = postSolution
{6908BDCE-D925-43F3-94AC-A531E6DF2591}.Debug_Silverlight|Any CPU.ActiveCfg = Debug|Any CPU
{6908BDCE-D925-43F3-94AC-A531E6DF2591}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {6908BDCE-D925-43F3-94AC-A531E6DF2591}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{6908BDCE-D925-43F3-94AC-A531E6DF2591}.Debug|Any CPU.Build.0 = Debug|Any CPU {6908BDCE-D925-43F3-94AC-A531E6DF2591}.Debug|Any CPU.Build.0 = Debug|Any CPU
{6908BDCE-D925-43F3-94AC-A531E6DF2591}.Release_Silverlight|Any CPU.ActiveCfg = Release|Any CPU
{6908BDCE-D925-43F3-94AC-A531E6DF2591}.Release|Any CPU.ActiveCfg = Release|Any CPU {6908BDCE-D925-43F3-94AC-A531E6DF2591}.Release|Any CPU.ActiveCfg = Release|Any CPU
{6908BDCE-D925-43F3-94AC-A531E6DF2591}.Release|Any CPU.Build.0 = Release|Any CPU {6908BDCE-D925-43F3-94AC-A531E6DF2591}.Release|Any CPU.Build.0 = Release|Any CPU
{DD01ED24-3750-4567-9A23-1DB676A15610}.Debug_Silverlight|Any CPU.ActiveCfg = Debug|Any CPU
{DD01ED24-3750-4567-9A23-1DB676A15610}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{DD01ED24-3750-4567-9A23-1DB676A15610}.Debug|Any CPU.Build.0 = Debug|Any CPU
{DD01ED24-3750-4567-9A23-1DB676A15610}.Release_Silverlight|Any CPU.ActiveCfg = Release|Any CPU
{DD01ED24-3750-4567-9A23-1DB676A15610}.Release|Any CPU.ActiveCfg = Release|Any CPU
{DD01ED24-3750-4567-9A23-1DB676A15610}.Release|Any CPU.Build.0 = Release|Any CPU
{250ADE34-82FD-4BAE-86D5-985FBE589C4A}.Debug_Silverlight|Any CPU.ActiveCfg = Debug|Any CPU
{250ADE34-82FD-4BAE-86D5-985FBE589C4A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{250ADE34-82FD-4BAE-86D5-985FBE589C4A}.Debug|Any CPU.Build.0 = Debug|Any CPU
{250ADE34-82FD-4BAE-86D5-985FBE589C4A}.Release_Silverlight|Any CPU.ActiveCfg = Release|Any CPU
{250ADE34-82FD-4BAE-86D5-985FBE589C4A}.Release|Any CPU.ActiveCfg = Release|Any CPU
{250ADE34-82FD-4BAE-86D5-985FBE589C4A}.Release|Any CPU.Build.0 = Release|Any CPU
{C268DA4C-4004-47DA-AF23-44C983281A68}.Debug_Silverlight|Any CPU.ActiveCfg = Debug|Any CPU
{C268DA4C-4004-47DA-AF23-44C983281A68}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{C268DA4C-4004-47DA-AF23-44C983281A68}.Debug|Any CPU.Build.0 = Debug|Any CPU
{C268DA4C-4004-47DA-AF23-44C983281A68}.Release_Silverlight|Any CPU.ActiveCfg = Release|Any CPU
{C268DA4C-4004-47DA-AF23-44C983281A68}.Release|Any CPU.ActiveCfg = Release|Any CPU
{C268DA4C-4004-47DA-AF23-44C983281A68}.Release|Any CPU.Build.0 = Release|Any CPU
{A31F5FB2-4FF3-432A-B35B-5CD203606311}.Debug_Silverlight|Any CPU.ActiveCfg = Debug|Any CPU
{A31F5FB2-4FF3-432A-B35B-5CD203606311}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{A31F5FB2-4FF3-432A-B35B-5CD203606311}.Debug|Any CPU.Build.0 = Debug|Any CPU
{A31F5FB2-4FF3-432A-B35B-5CD203606311}.Release_Silverlight|Any CPU.ActiveCfg = Release|Any CPU
{A31F5FB2-4FF3-432A-B35B-5CD203606311}.Release|Any CPU.ActiveCfg = Release|Any CPU
{A31F5FB2-4FF3-432A-B35B-5CD203606311}.Release|Any CPU.Build.0 = Release|Any CPU
{8F09AF72-3327-4FA7-BC09-070B80221AB9}.Debug_Silverlight|Any CPU.ActiveCfg = Debug|Any CPU
{8F09AF72-3327-4FA7-BC09-070B80221AB9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{8F09AF72-3327-4FA7-BC09-070B80221AB9}.Debug|Any CPU.Build.0 = Debug|Any CPU
{8F09AF72-3327-4FA7-BC09-070B80221AB9}.Release_Silverlight|Any CPU.ActiveCfg = Release|Any CPU
{8F09AF72-3327-4FA7-BC09-070B80221AB9}.Release|Any CPU.ActiveCfg = Release|Any CPU
{8F09AF72-3327-4FA7-BC09-070B80221AB9}.Release|Any CPU.Build.0 = Release|Any CPU
{C7A4A435-2813-41C8-AA87-BD914BA5223D}.Debug_Silverlight|Any CPU.ActiveCfg = Debug|Any CPU
{C7A4A435-2813-41C8-AA87-BD914BA5223D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{C7A4A435-2813-41C8-AA87-BD914BA5223D}.Debug|Any CPU.Build.0 = Debug|Any CPU
{C7A4A435-2813-41C8-AA87-BD914BA5223D}.Release_Silverlight|Any CPU.ActiveCfg = Release|Any CPU
{C7A4A435-2813-41C8-AA87-BD914BA5223D}.Release|Any CPU.ActiveCfg = Release|Any CPU
{C7A4A435-2813-41C8-AA87-BD914BA5223D}.Release|Any CPU.Build.0 = Release|Any CPU
{D7282E99-2DC3-405B-946F-177DB2FD2AE2}.Debug_Silverlight|Any CPU.ActiveCfg = Debug|Any CPU
{D7282E99-2DC3-405B-946F-177DB2FD2AE2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{D7282E99-2DC3-405B-946F-177DB2FD2AE2}.Debug|Any CPU.Build.0 = Debug|Any CPU
{D7282E99-2DC3-405B-946F-177DB2FD2AE2}.Release_Silverlight|Any CPU.ActiveCfg = Release|Any CPU
{D7282E99-2DC3-405B-946F-177DB2FD2AE2}.Release|Any CPU.ActiveCfg = Release|Any CPU
{D7282E99-2DC3-405B-946F-177DB2FD2AE2}.Release|Any CPU.Build.0 = Release|Any CPU
{6969BDCE-D925-43F3-94AC-A531E6DF2591}.Debug_Silverlight|Any CPU.ActiveCfg = Debug|Any CPU
{6969BDCE-D925-43F3-94AC-A531E6DF2591}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {6969BDCE-D925-43F3-94AC-A531E6DF2591}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{6969BDCE-D925-43F3-94AC-A531E6DF2591}.Debug|Any CPU.Build.0 = Debug|Any CPU {6969BDCE-D925-43F3-94AC-A531E6DF2591}.Debug|Any CPU.Build.0 = Debug|Any CPU
{6969BDCE-D925-43F3-94AC-A531E6DF2591}.Release_Silverlight|Any CPU.ActiveCfg = Release|Any CPU
{6969BDCE-D925-43F3-94AC-A531E6DF2591}.Release|Any CPU.ActiveCfg = Release|Any CPU {6969BDCE-D925-43F3-94AC-A531E6DF2591}.Release|Any CPU.ActiveCfg = Release|Any CPU
{6969BDCE-D925-43F3-94AC-A531E6DF2591}.Release|Any CPU.Build.0 = Release|Any CPU {6969BDCE-D925-43F3-94AC-A531E6DF2591}.Release|Any CPU.Build.0 = Release|Any CPU
{EE01ED24-3750-4567-9A23-1DB676A15610}.Debug_Silverlight|Any CPU.ActiveCfg = Debug|Any CPU
{EE01ED24-3750-4567-9A23-1DB676A15610}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{EE01ED24-3750-4567-9A23-1DB676A15610}.Debug|Any CPU.Build.0 = Debug|Any CPU
{EE01ED24-3750-4567-9A23-1DB676A15610}.Release_Silverlight|Any CPU.ActiveCfg = Release|Any CPU
{EE01ED24-3750-4567-9A23-1DB676A15610}.Release|Any CPU.ActiveCfg = Release|Any CPU
{EE01ED24-3750-4567-9A23-1DB676A15610}.Release|Any CPU.Build.0 = Release|Any CPU
{EEFFED24-3750-4567-9A23-1DB676A15610}.Debug_Silverlight|Any CPU.ActiveCfg = Debug|Any CPU
{EEFFED24-3750-4567-9A23-1DB676A15610}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{EEFFED24-3750-4567-9A23-1DB676A15610}.Debug|Any CPU.Build.0 = Debug|Any CPU
{EEFFED24-3750-4567-9A23-1DB676A15610}.Release_Silverlight|Any CPU.ActiveCfg = Release|Any CPU
{EEFFED24-3750-4567-9A23-1DB676A15610}.Release|Any CPU.ActiveCfg = Release|Any CPU
{EEFFED24-3750-4567-9A23-1DB676A15610}.Release|Any CPU.Build.0 = Release|Any CPU
{231391AF-449C-4A39-986C-AD7F270F4750}.Debug_Silverlight|Any CPU.ActiveCfg = Debug|Any CPU
{231391AF-449C-4A39-986C-AD7F270F4750}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {231391AF-449C-4A39-986C-AD7F270F4750}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{231391AF-449C-4A39-986C-AD7F270F4750}.Debug|Any CPU.Build.0 = Debug|Any CPU {231391AF-449C-4A39-986C-AD7F270F4750}.Debug|Any CPU.Build.0 = Debug|Any CPU
{231391AF-449C-4A39-986C-AD7F270F4750}.Release_Silverlight|Any CPU.ActiveCfg = Release|Any CPU
{231391AF-449C-4A39-986C-AD7F270F4750}.Release|Any CPU.ActiveCfg = Release|Any CPU {231391AF-449C-4A39-986C-AD7F270F4750}.Release|Any CPU.ActiveCfg = Release|Any CPU
{231391AF-449C-4A39-986C-AD7F270F4750}.Release|Any CPU.Build.0 = Release|Any CPU {231391AF-449C-4A39-986C-AD7F270F4750}.Release|Any CPU.Build.0 = Release|Any CPU
{E067A59D-9D0A-4A1F-92B1-38E4457241D1}.Debug_Silverlight|Any CPU.ActiveCfg = Debug|Any CPU
{E067A59D-9D0A-4A1F-92B1-38E4457241D1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {E067A59D-9D0A-4A1F-92B1-38E4457241D1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{E067A59D-9D0A-4A1F-92B1-38E4457241D1}.Debug|Any CPU.Build.0 = Debug|Any CPU {E067A59D-9D0A-4A1F-92B1-38E4457241D1}.Debug|Any CPU.Build.0 = Debug|Any CPU
{E067A59D-9D0A-4A1F-92B1-38E4457241D1}.Release_Silverlight|Any CPU.ActiveCfg = Release|Any CPU
{E067A59D-9D0A-4A1F-92B1-38E4457241D1}.Release|Any CPU.ActiveCfg = Release|Any CPU {E067A59D-9D0A-4A1F-92B1-38E4457241D1}.Release|Any CPU.ActiveCfg = Release|Any CPU
{E067A59D-9D0A-4A1F-92B1-38E4457241D1}.Release|Any CPU.Build.0 = Release|Any CPU {E067A59D-9D0A-4A1F-92B1-38E4457241D1}.Release|Any CPU.Build.0 = Release|Any CPU
{250ADE34-82FD-4BAE-86D5-985FBE589C4B}.Debug_Silverlight|Any CPU.ActiveCfg = Debug|Any CPU {DD01ED24-3750-4567-9A23-1DB676A15610}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{250ADE34-82FD-4BAE-86D5-985FBE589C4B}.Debug_Silverlight|Any CPU.Build.0 = Debug|Any CPU {DD01ED24-3750-4567-9A23-1DB676A15610}.Debug|Any CPU.Build.0 = Debug|Any CPU
{250ADE34-82FD-4BAE-86D5-985FBE589C4B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {DD01ED24-3750-4567-9A23-1DB676A15610}.Release|Any CPU.ActiveCfg = Release|Any CPU
{250ADE34-82FD-4BAE-86D5-985FBE589C4B}.Debug|Any CPU.Build.0 = Debug|Any CPU {DD01ED24-3750-4567-9A23-1DB676A15610}.Release|Any CPU.Build.0 = Release|Any CPU
{250ADE34-82FD-4BAE-86D5-985FBE589C4B}.Release_Silverlight|Any CPU.ActiveCfg = Release|Any CPU {EE01ED24-3750-4567-9A23-1DB676A15610}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{250ADE34-82FD-4BAE-86D5-985FBE589C4B}.Release_Silverlight|Any CPU.Build.0 = Release|Any CPU {EE01ED24-3750-4567-9A23-1DB676A15610}.Debug|Any CPU.Build.0 = Debug|Any CPU
{250ADE34-82FD-4BAE-86D5-985FBE589C4B}.Release|Any CPU.ActiveCfg = Release|Any CPU {EE01ED24-3750-4567-9A23-1DB676A15610}.Release|Any CPU.ActiveCfg = Release|Any CPU
{250ADE34-82FD-4BAE-86D5-985FBE589C4B}.Release|Any CPU.Build.0 = Release|Any CPU {EE01ED24-3750-4567-9A23-1DB676A15610}.Release|Any CPU.Build.0 = Release|Any CPU
{C1024C9C-8176-48C3-B547-B9F6DF6B80A6}.Debug_Silverlight|Any CPU.ActiveCfg = Debug|Any CPU {EEFFED24-3750-4567-9A23-1DB676A15610}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{C1024C9C-8176-48C3-B547-B9F6DF6B80A6}.Debug_Silverlight|Any CPU.Build.0 = Debug|Any CPU {EEFFED24-3750-4567-9A23-1DB676A15610}.Debug|Any CPU.Build.0 = Debug|Any CPU
{C1024C9C-8176-48C3-B547-B9F6DF6B80A6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {EEFFED24-3750-4567-9A23-1DB676A15610}.Release|Any CPU.ActiveCfg = Release|Any CPU
{C1024C9C-8176-48C3-B547-B9F6DF6B80A6}.Debug|Any CPU.Build.0 = Debug|Any CPU {EEFFED24-3750-4567-9A23-1DB676A15610}.Release|Any CPU.Build.0 = Release|Any CPU
{C1024C9C-8176-48C3-B547-B9F6DF6B80A6}.Release_Silverlight|Any CPU.ActiveCfg = Release|Any CPU {A31F5FB2-4FF3-432A-B35B-5CD203606311}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{C1024C9C-8176-48C3-B547-B9F6DF6B80A6}.Release_Silverlight|Any CPU.Build.0 = Release|Any CPU {A31F5FB2-4FF3-432A-B35B-5CD203606311}.Debug|Any CPU.Build.0 = Debug|Any CPU
{C1024C9C-8176-48C3-B547-B9F6DF6B80A6}.Release|Any CPU.ActiveCfg = Release|Any CPU {A31F5FB2-4FF3-432A-B35B-5CD203606311}.Release|Any CPU.ActiveCfg = Release|Any CPU
{C1024C9C-8176-48C3-B547-B9F6DF6B80A6}.Release|Any CPU.Build.0 = Release|Any CPU {A31F5FB2-4FF3-432A-B35B-5CD203606311}.Release|Any CPU.Build.0 = Release|Any CPU
{D7282E99-2DC3-405B-946F-177DB2FD2AE2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{D7282E99-2DC3-405B-946F-177DB2FD2AE2}.Debug|Any CPU.Build.0 = Debug|Any CPU
{D7282E99-2DC3-405B-946F-177DB2FD2AE2}.Release|Any CPU.ActiveCfg = Release|Any CPU
{D7282E99-2DC3-405B-946F-177DB2FD2AE2}.Release|Any CPU.Build.0 = Release|Any CPU
{8F09AF72-3327-4FA7-BC09-070B80221AB9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{8F09AF72-3327-4FA7-BC09-070B80221AB9}.Debug|Any CPU.Build.0 = Debug|Any CPU
{8F09AF72-3327-4FA7-BC09-070B80221AB9}.Release|Any CPU.ActiveCfg = Release|Any CPU
{8F09AF72-3327-4FA7-BC09-070B80221AB9}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection EndGlobalSection
GlobalSection(SolutionProperties) = preSolution GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE HideSolutionNode = FALSE
EndGlobalSection EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{C8D3015A-EA39-4F03-AEEC-3FF1F2087A12} = {1F896D5C-5FC2-4671-9216-781CB8187EC7}
{FA9F5250-FDDC-48B8-832E-96E0464A02E6} = {1F896D5C-5FC2-4671-9216-781CB8187EC7}
{C268DA4C-4004-47DA-AF23-44C983281A68} = {C7B69674-7A51-4AC6-8674-0330BA742CE4}
{EE01ED24-3750-4567-9A23-1DB676A15610} = {C7B69674-7A51-4AC6-8674-0330BA742CE4}
{EEFFED24-3750-4567-9A23-1DB676A15610} = {C7B69674-7A51-4AC6-8674-0330BA742CE4}
{DD01ED24-3750-4567-9A23-1DB676A15610} = {C7B69674-7A51-4AC6-8674-0330BA742CE4}
{C1024C9C-8176-48C3-B547-B9F6DF6B80A6} = {C7B69674-7A51-4AC6-8674-0330BA742CE4}
{A31F5FB2-4FF3-432A-B35B-5CD203606311} = {75D5D25A-01A6-4594-957F-5993FB83F450}
{C7A4A435-2813-41C8-AA87-BD914BA5223D} = {0D7CDA8F-1BBF-4E0F-8D35-31AEA21A96E6}
{D7282E99-2DC3-405B-946F-177DB2FD2AE2} = {0D7CDA8F-1BBF-4E0F-8D35-31AEA21A96E6}
{8F09AF72-3327-4FA7-BC09-070B80221AB9} = {0D7CDA8F-1BBF-4E0F-8D35-31AEA21A96E6}
EndGlobalSection
EndGlobal EndGlobal
Microsoft Visual Studio Solution File, Format Version 10.00
# Visual Studio 2008
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ProtocolBuffers", "ProtocolBuffers\ProtocolBuffers.csproj", "{6908BDCE-D925-43F3-94AC-A531E6DF2591}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ProtocolBuffersLite", "ProtocolBuffers\ProtocolBuffersLite.csproj", "{6969BDCE-D925-43F3-94AC-A531E6DF2591}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ProtocolBuffers.Serialization", "ProtocolBuffers.Serialization\ProtocolBuffers.Serialization.csproj", "{231391AF-449C-4A39-986C-AD7F270F4750}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ProtocolBuffersLite.Serialization", "ProtocolBuffers.Serialization\ProtocolBuffersLite.Serialization.csproj", "{E067A59D-9D0A-4A1F-92B1-38E4457241D1}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ProtocolBuffers.Test", "ProtocolBuffers.Test\ProtocolBuffers.Test.csproj", "{DD01ED24-3750-4567-9A23-1DB676A15610}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ProtocolBuffersLite.Test", "ProtocolBuffersLite.Test\ProtocolBuffersLite.Test.csproj", "{EE01ED24-3750-4567-9A23-1DB676A15610}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ProtocolBuffersLiteMixed.Test", "ProtocolBuffersLite.Test\ProtocolBuffersLiteMixed.Test.csproj", "{EEFFED24-3750-4567-9A23-1DB676A15610}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{6908BDCE-D925-43F3-94AC-A531E6DF2591}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{6908BDCE-D925-43F3-94AC-A531E6DF2591}.Debug|Any CPU.Build.0 = Debug|Any CPU
{6908BDCE-D925-43F3-94AC-A531E6DF2591}.Release|Any CPU.ActiveCfg = Release|Any CPU
{6908BDCE-D925-43F3-94AC-A531E6DF2591}.Release|Any CPU.Build.0 = Release|Any CPU
{6969BDCE-D925-43F3-94AC-A531E6DF2591}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{6969BDCE-D925-43F3-94AC-A531E6DF2591}.Debug|Any CPU.Build.0 = Debug|Any CPU
{6969BDCE-D925-43F3-94AC-A531E6DF2591}.Release|Any CPU.ActiveCfg = Release|Any CPU
{6969BDCE-D925-43F3-94AC-A531E6DF2591}.Release|Any CPU.Build.0 = Release|Any CPU
{231391AF-449C-4A39-986C-AD7F270F4750}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{231391AF-449C-4A39-986C-AD7F270F4750}.Debug|Any CPU.Build.0 = Debug|Any CPU
{231391AF-449C-4A39-986C-AD7F270F4750}.Release|Any CPU.ActiveCfg = Release|Any CPU
{231391AF-449C-4A39-986C-AD7F270F4750}.Release|Any CPU.Build.0 = Release|Any CPU
{E067A59D-9D0A-4A1F-92B1-38E4457241D1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{E067A59D-9D0A-4A1F-92B1-38E4457241D1}.Debug|Any CPU.Build.0 = Debug|Any CPU
{E067A59D-9D0A-4A1F-92B1-38E4457241D1}.Release|Any CPU.ActiveCfg = Release|Any CPU
{E067A59D-9D0A-4A1F-92B1-38E4457241D1}.Release|Any CPU.Build.0 = Release|Any CPU
{DD01ED24-3750-4567-9A23-1DB676A15610}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{DD01ED24-3750-4567-9A23-1DB676A15610}.Debug|Any CPU.Build.0 = Debug|Any CPU
{DD01ED24-3750-4567-9A23-1DB676A15610}.Release|Any CPU.ActiveCfg = Release|Any CPU
{DD01ED24-3750-4567-9A23-1DB676A15610}.Release|Any CPU.Build.0 = Release|Any CPU
{EE01ED24-3750-4567-9A23-1DB676A15610}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{EE01ED24-3750-4567-9A23-1DB676A15610}.Debug|Any CPU.Build.0 = Debug|Any CPU
{EE01ED24-3750-4567-9A23-1DB676A15610}.Release|Any CPU.ActiveCfg = Release|Any CPU
{EE01ED24-3750-4567-9A23-1DB676A15610}.Release|Any CPU.Build.0 = Release|Any CPU
{EEFFED24-3750-4567-9A23-1DB676A15610}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{EEFFED24-3750-4567-9A23-1DB676A15610}.Debug|Any CPU.Build.0 = Debug|Any CPU
{EEFFED24-3750-4567-9A23-1DB676A15610}.Release|Any CPU.ActiveCfg = Release|Any CPU
{EEFFED24-3750-4567-9A23-1DB676A15610}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment