forked from linkedin-inc/protobuf-objc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPerson.pb.h
131 lines (103 loc) · 4.45 KB
/
Person.pb.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
// Generated by the protocol buffer compiler. DO NOT EDIT!
#import "ProtocolBuffers.h"
// @@protoc_insertion_point(imports)
@class ExampleObject;
@class ExampleObjectBuilder;
@class Person;
@class PersonBuilder;
#ifndef __has_feature
#define __has_feature(x) 0 // Compatibility with non-clang compilers.
#endif // __has_feature
#ifndef NS_RETURNS_NOT_RETAINED
#if __has_feature(attribute_ns_returns_not_retained)
#define NS_RETURNS_NOT_RETAINED __attribute__((ns_returns_not_retained))
#else
#define NS_RETURNS_NOT_RETAINED
#endif
#endif
@interface PersonRoot : NSObject {
}
+ (PBExtensionRegistry*) extensionRegistry;
+ (void) registerAllExtensions:(PBMutableExtensionRegistry*) registry;
@end
@interface Person : PBGeneratedMessage {
@private
PBAppendableArray * myfieldArray;
}
@property (readonly, strong) PBArray * myfield;
- (unsigned long)myfieldAtIndex:(NSUInteger)index;
+ (Person*) defaultInstance;
- (Person*) defaultInstance;
- (BOOL) isInitialized;
- (void) writeToCodedOutputStream:(PBCodedOutputStream*) output;
- (PersonBuilder*) builder;
+ (PersonBuilder*) builder;
+ (PersonBuilder*) builderWithPrototype:(Person*) prototype;
- (PersonBuilder*) toBuilder;
+ (Person*) parseFromData:(NSData*) data;
+ (Person*) parseFromData:(NSData*) data extensionRegistry:(PBExtensionRegistry*) extensionRegistry;
+ (Person*) parseFromInputStream:(NSInputStream*) input;
+ (Person*) parseFromInputStream:(NSInputStream*) input extensionRegistry:(PBExtensionRegistry*) extensionRegistry;
+ (Person*) parseFromCodedInputStream:(PBCodedInputStream*) input;
+ (Person*) parseFromCodedInputStream:(PBCodedInputStream*) input extensionRegistry:(PBExtensionRegistry*) extensionRegistry;
@end
@interface PersonBuilder : PBGeneratedMessage_Builder {
@private
Person* result;
}
- (Person*) defaultInstance;
- (PersonBuilder*) clear;
- (PersonBuilder*) clone;
- (Person*) build;
- (Person*) buildPartial;
- (PersonBuilder*) mergeFrom:(Person*) other;
- (PersonBuilder*) mergeFromCodedInputStream:(PBCodedInputStream*) input;
- (PersonBuilder*) mergeFromCodedInputStream:(PBCodedInputStream*) input extensionRegistry:(PBExtensionRegistry*) extensionRegistry;
- (PBAppendableArray *)myfield;
- (unsigned long)myfieldAtIndex:(NSUInteger)index;
- (PersonBuilder *)addMyfield:(unsigned long)value;
- (PersonBuilder *)setMyfieldArray:(NSArray *)array;
- (PersonBuilder *)setMyfieldValues:(const unsigned long *)values count:(NSUInteger)count;
- (PersonBuilder *)clearMyfield;
@end
@interface ExampleObject : PBGeneratedMessage {
@private
PBAppendableArray * exampleFieldArray;
}
@property (readonly, strong) PBArray * exampleField;
- (Float64)exampleFieldAtIndex:(NSUInteger)index;
+ (ExampleObject*) defaultInstance;
- (ExampleObject*) defaultInstance;
- (BOOL) isInitialized;
- (void) writeToCodedOutputStream:(PBCodedOutputStream*) output;
- (ExampleObjectBuilder*) builder;
+ (ExampleObjectBuilder*) builder;
+ (ExampleObjectBuilder*) builderWithPrototype:(ExampleObject*) prototype;
- (ExampleObjectBuilder*) toBuilder;
+ (ExampleObject*) parseFromData:(NSData*) data;
+ (ExampleObject*) parseFromData:(NSData*) data extensionRegistry:(PBExtensionRegistry*) extensionRegistry;
+ (ExampleObject*) parseFromInputStream:(NSInputStream*) input;
+ (ExampleObject*) parseFromInputStream:(NSInputStream*) input extensionRegistry:(PBExtensionRegistry*) extensionRegistry;
+ (ExampleObject*) parseFromCodedInputStream:(PBCodedInputStream*) input;
+ (ExampleObject*) parseFromCodedInputStream:(PBCodedInputStream*) input extensionRegistry:(PBExtensionRegistry*) extensionRegistry;
@end
@interface ExampleObjectBuilder : PBGeneratedMessage_Builder {
@private
ExampleObject* result;
}
- (ExampleObject*) defaultInstance;
- (ExampleObjectBuilder*) clear;
- (ExampleObjectBuilder*) clone;
- (ExampleObject*) build;
- (ExampleObject*) buildPartial;
- (ExampleObjectBuilder*) mergeFrom:(ExampleObject*) other;
- (ExampleObjectBuilder*) mergeFromCodedInputStream:(PBCodedInputStream*) input;
- (ExampleObjectBuilder*) mergeFromCodedInputStream:(PBCodedInputStream*) input extensionRegistry:(PBExtensionRegistry*) extensionRegistry;
- (PBAppendableArray *)exampleField;
- (Float64)exampleFieldAtIndex:(NSUInteger)index;
- (ExampleObjectBuilder *)addExampleField:(Float64)value;
- (ExampleObjectBuilder *)setExampleFieldArray:(NSArray *)array;
- (ExampleObjectBuilder *)setExampleFieldValues:(const Float64 *)values count:(NSUInteger)count;
- (ExampleObjectBuilder *)clearExampleField;
@end
// @@protoc_insertion_point(global_scope)