Autogenerated.cs 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  1. // This file contains quick hacks to represent code that will be autogenerated.
  2. namespace Google.ProtocolBuffers.DescriptorProtos {
  3. /// <summary>
  4. /// This only exists until we've got the real code...
  5. /// </summary>
  6. /*
  7. public abstract class TemporaryMessage<T> : IMessage<T> where T : IMessage<T> {
  8. #region IMessage<T> Members
  9. public IMessage<T> DefaultInstanceForType {
  10. get { throw new System.NotImplementedException(); }
  11. }
  12. public IBuilder<T> CreateBuilderForType() {
  13. throw new System.NotImplementedException();
  14. }
  15. #endregion
  16. #region IMessage Members
  17. public Google.ProtocolBuffers.Descriptors.MessageDescriptor DescriptorForType {
  18. get { throw new System.NotImplementedException(); }
  19. }
  20. public System.Collections.Generic.IDictionary<Google.ProtocolBuffers.Descriptors.FieldDescriptor, object> AllFields {
  21. get { throw new System.NotImplementedException(); }
  22. }
  23. public bool HasField(Google.ProtocolBuffers.Descriptors.FieldDescriptor field) {
  24. throw new System.NotImplementedException();
  25. }
  26. public object this[Google.ProtocolBuffers.Descriptors.FieldDescriptor field] {
  27. get { throw new System.NotImplementedException(); }
  28. }
  29. public int GetRepeatedFieldCount(Google.ProtocolBuffers.Descriptors.FieldDescriptor field) {
  30. throw new System.NotImplementedException();
  31. }
  32. public object this[Google.ProtocolBuffers.Descriptors.FieldDescriptor field, int index] {
  33. get { throw new System.NotImplementedException(); }
  34. }
  35. public UnknownFieldSet UnknownFields {
  36. get { throw new System.NotImplementedException(); }
  37. }
  38. public bool IsInitialized {
  39. get { throw new System.NotImplementedException(); }
  40. }
  41. public void WriteTo(CodedOutputStream output) {
  42. throw new System.NotImplementedException();
  43. }
  44. public int SerializedSize {
  45. get { throw new System.NotImplementedException(); }
  46. }
  47. public ByteString ToByteString() {
  48. throw new System.NotImplementedException();
  49. }
  50. public byte[] ToByteArray() {
  51. throw new System.NotImplementedException();
  52. }
  53. public void WriteTo(System.IO.Stream output) {
  54. throw new System.NotImplementedException();
  55. }
  56. IMessage IMessage.DefaultInstanceForType {
  57. get { throw new System.NotImplementedException(); }
  58. }
  59. IBuilder IMessage.CreateBuilderForType() {
  60. throw new System.NotImplementedException();
  61. }
  62. #endregion
  63. }
  64. public partial class MessageOptions : TemporaryMessage<MessageOptions> {
  65. public bool MessageSetWireFormat;
  66. }
  67. public partial class DescriptorProto : TemporaryMessage<DescriptorProto> {
  68. public string Name { get; set; }
  69. public string FullName { get; set; }
  70. public MessageOptions Options { get; set; }
  71. }
  72. public partial class EnumDescriptorProto : TemporaryMessage<EnumDescriptorProto> {
  73. public string Name { get; set; }
  74. public string FullName { get; set; }
  75. public EnumOptions Options { get; set; }
  76. }
  77. public partial class EnumOptions : TemporaryMessage<EnumOptions> { }
  78. public partial class EnumValueDescriptorProto : TemporaryMessage<EnumValueDescriptorProto> {
  79. public string Name { get; set; }
  80. public string FullName { get; set; }
  81. public EnumValueOptions Options { get; set; }
  82. }
  83. public partial class EnumValueOptions : TemporaryMessage <EnumValueOptions> { }
  84. public partial class FieldDescriptorProto : TemporaryMessage<FieldDescriptorProto> {
  85. public string Name { get; set; }
  86. public string FullName { get; set; }
  87. public FieldOptions Options { get; set; }
  88. }
  89. public partial class FieldOptions : TemporaryMessage<FieldOptions> { }
  90. public partial class FileDescriptorProto : TemporaryMessage<FileDescriptorProto> {
  91. public string Name { get; set; }
  92. public string FullName { get; set; }
  93. public FileOptions Options { get; set; }
  94. public string Package { get; set; }
  95. }
  96. public partial class FileOptions : TemporaryMessage<FileOptions> { }
  97. public partial class MethodDescriptorProto : TemporaryMessage<MethodDescriptorProto> {
  98. public string Name { get; set; }
  99. public string FullName { get; set; }
  100. public MethodOptions Options { get; set; }
  101. }
  102. public partial class MethodOptions : TemporaryMessage<MethodOptions> { }
  103. public partial class ServiceDescriptorProto : TemporaryMessage<ServiceDescriptorProto> {
  104. public string Name { get; set; }
  105. public string FullName { get; set; }
  106. public ServiceOptions Options { get; set; }
  107. }
  108. public partial class ServiceOptions : TemporaryMessage<ServiceOptions> { } */
  109. }