|
@@ -0,0 +1,147 @@
|
|
|
+// This file contains quick hacks to represent code that will be autogenerated.
|
|
|
+
|
|
|
+namespace Google.ProtocolBuffers.DescriptorProtos {
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// This only exists until we've got the real code...
|
|
|
+ /// </summary>
|
|
|
+ public abstract class TemporaryMessage<T> : IMessage<T> where T : IMessage<T> {
|
|
|
+ #region IMessage<T> Members
|
|
|
+
|
|
|
+ public IMessage<T> DefaultInstanceForType {
|
|
|
+ get { throw new System.NotImplementedException(); }
|
|
|
+ }
|
|
|
+
|
|
|
+ public IBuilder<T> CreateBuilderForType() {
|
|
|
+ throw new System.NotImplementedException();
|
|
|
+ }
|
|
|
+
|
|
|
+ #endregion
|
|
|
+
|
|
|
+ #region IMessage Members
|
|
|
+
|
|
|
+ public Google.ProtocolBuffers.Descriptors.MessageDescriptor DescriptorForType {
|
|
|
+ get { throw new System.NotImplementedException(); }
|
|
|
+ }
|
|
|
+
|
|
|
+ public System.Collections.Generic.IDictionary<Google.ProtocolBuffers.Descriptors.FieldDescriptor, object> AllFields {
|
|
|
+ get { throw new System.NotImplementedException(); }
|
|
|
+ }
|
|
|
+
|
|
|
+ public bool HasField(Google.ProtocolBuffers.Descriptors.FieldDescriptor field) {
|
|
|
+ throw new System.NotImplementedException();
|
|
|
+ }
|
|
|
+
|
|
|
+ public object this[Google.ProtocolBuffers.Descriptors.FieldDescriptor field] {
|
|
|
+ get { throw new System.NotImplementedException(); }
|
|
|
+ }
|
|
|
+
|
|
|
+ public int GetRepeatedFieldCount(Google.ProtocolBuffers.Descriptors.FieldDescriptor field) {
|
|
|
+ throw new System.NotImplementedException();
|
|
|
+ }
|
|
|
+
|
|
|
+ public object this[Google.ProtocolBuffers.Descriptors.FieldDescriptor field, int index] {
|
|
|
+ get { throw new System.NotImplementedException(); }
|
|
|
+ }
|
|
|
+
|
|
|
+ public UnknownFieldSet UnknownFields {
|
|
|
+ get { throw new System.NotImplementedException(); }
|
|
|
+ }
|
|
|
+
|
|
|
+ public bool IsInitialized {
|
|
|
+ get { throw new System.NotImplementedException(); }
|
|
|
+ }
|
|
|
+
|
|
|
+ public void WriteTo(CodedOutputStream output) {
|
|
|
+ throw new System.NotImplementedException();
|
|
|
+ }
|
|
|
+
|
|
|
+ public int SerializedSize {
|
|
|
+ get { throw new System.NotImplementedException(); }
|
|
|
+ }
|
|
|
+
|
|
|
+ public ByteString ToByteString() {
|
|
|
+ throw new System.NotImplementedException();
|
|
|
+ }
|
|
|
+
|
|
|
+ public byte[] ToByteArray() {
|
|
|
+ throw new System.NotImplementedException();
|
|
|
+ }
|
|
|
+
|
|
|
+ public void WriteTo(System.IO.Stream output) {
|
|
|
+ throw new System.NotImplementedException();
|
|
|
+ }
|
|
|
+
|
|
|
+ IMessage IMessage.DefaultInstanceForType {
|
|
|
+ get { throw new System.NotImplementedException(); }
|
|
|
+ }
|
|
|
+
|
|
|
+ IBuilder IMessage.CreateBuilderForType() {
|
|
|
+ throw new System.NotImplementedException();
|
|
|
+ }
|
|
|
+
|
|
|
+ #endregion
|
|
|
+ }
|
|
|
+
|
|
|
+ public partial class MessageOptions : TemporaryMessage<MessageOptions> {
|
|
|
+ public bool IsMessageSetWireFormat;
|
|
|
+ }
|
|
|
+
|
|
|
+ public partial class DescriptorProto : TemporaryMessage<DescriptorProto> {
|
|
|
+ public string Name { get; set; }
|
|
|
+ public string FullName { get; set; }
|
|
|
+ public MessageOptions Options { get; set; }
|
|
|
+ }
|
|
|
+
|
|
|
+ public partial class EnumDescriptorProto : TemporaryMessage<EnumDescriptorProto> {
|
|
|
+ public string Name { get; set; }
|
|
|
+ public string FullName { get; set; }
|
|
|
+ public EnumOptions Options { get; set; }
|
|
|
+ }
|
|
|
+
|
|
|
+ public partial class EnumOptions : TemporaryMessage<EnumOptions> { }
|
|
|
+
|
|
|
+ public partial class EnumValueDescriptorProto : TemporaryMessage<EnumValueDescriptorProto> {
|
|
|
+ public string Name { get; set; }
|
|
|
+ public string FullName { get; set; }
|
|
|
+ public EnumValueOptions Options { get; set; }
|
|
|
+ }
|
|
|
+
|
|
|
+ public partial class EnumValueOptions : TemporaryMessage <EnumValueOptions> { }
|
|
|
+
|
|
|
+ public partial class FieldDescriptorProto : TemporaryMessage<FieldDescriptorProto> {
|
|
|
+ public string Name { get; set; }
|
|
|
+ public string FullName { get; set; }
|
|
|
+ public FieldOptions Options { get; set; }
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
+ public partial class FieldOptions : TemporaryMessage<FieldOptions> { }
|
|
|
+
|
|
|
+ public partial class FileDescriptorProto : TemporaryMessage<FileDescriptorProto> {
|
|
|
+ public string Name { get; set; }
|
|
|
+ public string FullName { get; set; }
|
|
|
+ public FileOptions Options { get; set; }
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
+ public partial class FileOptions : TemporaryMessage<FileOptions> { }
|
|
|
+
|
|
|
+ public partial class MethodDescriptorProto : TemporaryMessage<MethodDescriptorProto> {
|
|
|
+ public string Name { get; set; }
|
|
|
+ public string FullName { get; set; }
|
|
|
+ public MethodOptions Options { get; set; }
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
+ public partial class MethodOptions : TemporaryMessage<MethodOptions> { }
|
|
|
+
|
|
|
+ public partial class ServiceDescriptorProto : TemporaryMessage<ServiceDescriptorProto> {
|
|
|
+ public string Name { get; set; }
|
|
|
+ public string FullName { get; set; }
|
|
|
+ public ServiceOptions Options { get; set; }
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
+ public partial class ServiceOptions : TemporaryMessage<ServiceOptions> { }
|
|
|
+}
|