11// <auto-generated>
22// Generated by the protocol buffer compiler. DO NOT EDIT!
3- // source: protos/project.proto
3+ // source: samples/Contracts/ protos/project.proto
44// </auto-generated>
55#pragma warning disable 1591 , 0612 , 3021
66#region Designer generated code
1111using scg = global ::System . Collections . Generic ;
1212namespace Project . Proto {
1313
14- /// <summary>Holder for reflection information generated from protos/project.proto</summary>
14+ /// <summary>Holder for reflection information generated from samples/Contracts/ protos/project.proto</summary>
1515 public static partial class ProjectReflection {
1616
1717 #region Descriptor
18- /// <summary>File descriptor for protos/project.proto</summary>
18+ /// <summary>File descriptor for samples/Contracts/ protos/project.proto</summary>
1919 public static pbr ::FileDescriptor Descriptor {
2020 get { return descriptor ; }
2121 }
@@ -24,12 +24,14 @@ public static partial class ProjectReflection {
2424 static ProjectReflection ( ) {
2525 byte [ ] descriptorData = global ::System . Convert . FromBase64String (
2626 string . Concat (
27- "ChRwcm90b3MvcHJvamVjdC5wcm90bxINcHJvamVjdC5wcm90byIhChFQcm9q" ,
28- "ZWN0Q3JlYXRlZE1zZxIMCgROYW1lGAEgASgJYgZwcm90bzM=" ) ) ;
27+ "CiZzYW1wbGVzL0NvbnRyYWN0cy9wcm90b3MvcHJvamVjdC5wcm90bxINcHJv" ,
28+ "amVjdC5wcm90bxofZ29vZ2xlL3Byb3RvYnVmL3RpbWVzdGFtcC5wcm90byJR" ,
29+ "ChFQcm9qZWN0Q3JlYXRlZE1zZxIMCgROYW1lGAEgASgJEi4KCk9jY3VycmVk" ,
30+ "T24YAiABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wYgZwcm90bzM=" ) ) ;
2931 descriptor = pbr ::FileDescriptor . FromGeneratedCode ( descriptorData ,
30- new pbr ::FileDescriptor [ ] { } ,
32+ new pbr ::FileDescriptor [ ] { global :: Google . Protobuf . WellKnownTypes . TimestampReflection . Descriptor , } ,
3133 new pbr ::GeneratedClrTypeInfo ( null , new pbr ::GeneratedClrTypeInfo [ ] {
32- new pbr ::GeneratedClrTypeInfo ( typeof ( global ::Project . Proto . ProjectCreatedMsg ) , global ::Project . Proto . ProjectCreatedMsg . Parser , new [ ] { "Name" } , null , null , null )
34+ new pbr ::GeneratedClrTypeInfo ( typeof ( global ::Project . Proto . ProjectCreatedMsg ) , global ::Project . Proto . ProjectCreatedMsg . Parser , new [ ] { "Name" , "OccurredOn" } , null , null , null )
3335 } ) ) ;
3436 }
3537 #endregion
@@ -62,6 +64,7 @@ public ProjectCreatedMsg() {
6264 [ global ::System . Diagnostics . DebuggerNonUserCodeAttribute ]
6365 public ProjectCreatedMsg ( ProjectCreatedMsg other ) : this ( ) {
6466 name_ = other . name_ ;
67+ occurredOn_ = other . occurredOn_ != null ? other . occurredOn_ . Clone ( ) : null ;
6568 _unknownFields = pb ::UnknownFieldSet . Clone ( other . _unknownFields ) ;
6669 }
6770
@@ -81,6 +84,17 @@ public string Name {
8184 }
8285 }
8386
87+ /// <summary>Field number for the "OccurredOn" field.</summary>
88+ public const int OccurredOnFieldNumber = 2 ;
89+ private global ::Google . Protobuf . WellKnownTypes . Timestamp occurredOn_ ;
90+ [ global ::System . Diagnostics . DebuggerNonUserCodeAttribute ]
91+ public global ::Google . Protobuf . WellKnownTypes . Timestamp OccurredOn {
92+ get { return occurredOn_ ; }
93+ set {
94+ occurredOn_ = value ;
95+ }
96+ }
97+
8498 [ global ::System . Diagnostics . DebuggerNonUserCodeAttribute ]
8599 public override bool Equals ( object other ) {
86100 return Equals ( other as ProjectCreatedMsg ) ;
@@ -95,13 +109,15 @@ public bool Equals(ProjectCreatedMsg other) {
95109 return true ;
96110 }
97111 if ( Name != other . Name ) return false ;
112+ if ( ! object . Equals ( OccurredOn , other . OccurredOn ) ) return false ;
98113 return Equals ( _unknownFields , other . _unknownFields ) ;
99114 }
100115
101116 [ global ::System . Diagnostics . DebuggerNonUserCodeAttribute ]
102117 public override int GetHashCode ( ) {
103118 int hash = 1 ;
104119 if ( Name . Length != 0 ) hash ^= Name . GetHashCode ( ) ;
120+ if ( occurredOn_ != null ) hash ^= OccurredOn . GetHashCode ( ) ;
105121 if ( _unknownFields != null ) {
106122 hash ^= _unknownFields . GetHashCode ( ) ;
107123 }
@@ -119,6 +135,10 @@ public void WriteTo(pb::CodedOutputStream output) {
119135 output . WriteRawTag ( 10 ) ;
120136 output . WriteString ( Name ) ;
121137 }
138+ if ( occurredOn_ != null ) {
139+ output . WriteRawTag ( 18 ) ;
140+ output . WriteMessage ( OccurredOn ) ;
141+ }
122142 if ( _unknownFields != null ) {
123143 _unknownFields . WriteTo ( output ) ;
124144 }
@@ -130,6 +150,9 @@ public int CalculateSize() {
130150 if ( Name . Length != 0 ) {
131151 size += 1 + pb ::CodedOutputStream . ComputeStringSize ( Name ) ;
132152 }
153+ if ( occurredOn_ != null ) {
154+ size += 1 + pb ::CodedOutputStream . ComputeMessageSize ( OccurredOn ) ;
155+ }
133156 if ( _unknownFields != null ) {
134157 size += _unknownFields . CalculateSize ( ) ;
135158 }
@@ -144,6 +167,12 @@ public void MergeFrom(ProjectCreatedMsg other) {
144167 if ( other . Name . Length != 0 ) {
145168 Name = other . Name ;
146169 }
170+ if ( other . occurredOn_ != null ) {
171+ if ( occurredOn_ == null ) {
172+ occurredOn_ = new global ::Google . Protobuf . WellKnownTypes . Timestamp ( ) ;
173+ }
174+ OccurredOn . MergeFrom ( other . OccurredOn ) ;
175+ }
147176 _unknownFields = pb ::UnknownFieldSet . MergeFrom ( _unknownFields , other . _unknownFields ) ;
148177 }
149178
@@ -159,6 +188,13 @@ public void MergeFrom(pb::CodedInputStream input) {
159188 Name = input . ReadString ( ) ;
160189 break ;
161190 }
191+ case 18 : {
192+ if ( occurredOn_ == null ) {
193+ occurredOn_ = new global ::Google . Protobuf . WellKnownTypes . Timestamp ( ) ;
194+ }
195+ input . ReadMessage ( occurredOn_ ) ;
196+ break ;
197+ }
162198 }
163199 }
164200 }
0 commit comments