123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149 |
- // 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 MessageSetWireFormat;
- }
- 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 string Package { 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> { } */
- }
|