Generated files :)

pull/1331/head
Jorge Canizales 10 years ago
parent 1f1d2c36e5
commit f4ddfab3f7
  1. 343
      src/objective-c/examples/Sample/protos/Route_guide.pb.h
  2. 1434
      src/objective-c/examples/Sample/protos/Route_guide.pb.m

@ -0,0 +1,343 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
#import <ProtocolBuffers/ProtocolBuffers.h>
// @@protoc_insertion_point(imports)
@class Feature;
@class FeatureBuilder;
@class Point;
@class PointBuilder;
@class Rectangle;
@class RectangleBuilder;
@class RouteNote;
@class RouteNoteBuilder;
@class RouteSummary;
@class RouteSummaryBuilder;
@interface RouteGuideRoot : NSObject {
}
+ (PBExtensionRegistry*) extensionRegistry;
+ (void) registerAllExtensions:(PBMutableExtensionRegistry*) registry;
@end
@interface Point : PBGeneratedMessage<GeneratedMessageProtocol> {
@private
BOOL hasLatitude_:1;
BOOL hasLongitude_:1;
SInt32 latitude;
SInt32 longitude;
}
- (BOOL) hasLatitude;
- (BOOL) hasLongitude;
@property (readonly) SInt32 latitude;
@property (readonly) SInt32 longitude;
+ (instancetype) defaultInstance;
- (instancetype) defaultInstance;
- (BOOL) isInitialized;
- (void) writeToCodedOutputStream:(PBCodedOutputStream*) output;
- (PointBuilder*) builder;
+ (PointBuilder*) builder;
+ (PointBuilder*) builderWithPrototype:(Point*) prototype;
- (PointBuilder*) toBuilder;
+ (Point*) parseFromData:(NSData*) data;
+ (Point*) parseFromData:(NSData*) data extensionRegistry:(PBExtensionRegistry*) extensionRegistry;
+ (Point*) parseFromInputStream:(NSInputStream*) input;
+ (Point*) parseFromInputStream:(NSInputStream*) input extensionRegistry:(PBExtensionRegistry*) extensionRegistry;
+ (Point*) parseFromCodedInputStream:(PBCodedInputStream*) input;
+ (Point*) parseFromCodedInputStream:(PBCodedInputStream*) input extensionRegistry:(PBExtensionRegistry*) extensionRegistry;
@end
@interface PointBuilder : PBGeneratedMessageBuilder {
@private
Point* resultPoint;
}
- (Point*) defaultInstance;
- (PointBuilder*) clear;
- (PointBuilder*) clone;
- (Point*) build;
- (Point*) buildPartial;
- (PointBuilder*) mergeFrom:(Point*) other;
- (PointBuilder*) mergeFromCodedInputStream:(PBCodedInputStream*) input;
- (PointBuilder*) mergeFromCodedInputStream:(PBCodedInputStream*) input extensionRegistry:(PBExtensionRegistry*) extensionRegistry;
- (BOOL) hasLatitude;
- (SInt32) latitude;
- (PointBuilder*) setLatitude:(SInt32) value;
- (PointBuilder*) clearLatitude;
- (BOOL) hasLongitude;
- (SInt32) longitude;
- (PointBuilder*) setLongitude:(SInt32) value;
- (PointBuilder*) clearLongitude;
@end
@interface Rectangle : PBGeneratedMessage<GeneratedMessageProtocol> {
@private
BOOL hasLo_:1;
BOOL hasHi_:1;
Point* lo;
Point* hi;
}
- (BOOL) hasLo;
- (BOOL) hasHi;
@property (readonly, strong) Point* lo;
@property (readonly, strong) Point* hi;
+ (instancetype) defaultInstance;
- (instancetype) defaultInstance;
- (BOOL) isInitialized;
- (void) writeToCodedOutputStream:(PBCodedOutputStream*) output;
- (RectangleBuilder*) builder;
+ (RectangleBuilder*) builder;
+ (RectangleBuilder*) builderWithPrototype:(Rectangle*) prototype;
- (RectangleBuilder*) toBuilder;
+ (Rectangle*) parseFromData:(NSData*) data;
+ (Rectangle*) parseFromData:(NSData*) data extensionRegistry:(PBExtensionRegistry*) extensionRegistry;
+ (Rectangle*) parseFromInputStream:(NSInputStream*) input;
+ (Rectangle*) parseFromInputStream:(NSInputStream*) input extensionRegistry:(PBExtensionRegistry*) extensionRegistry;
+ (Rectangle*) parseFromCodedInputStream:(PBCodedInputStream*) input;
+ (Rectangle*) parseFromCodedInputStream:(PBCodedInputStream*) input extensionRegistry:(PBExtensionRegistry*) extensionRegistry;
@end
@interface RectangleBuilder : PBGeneratedMessageBuilder {
@private
Rectangle* resultRectangle;
}
- (Rectangle*) defaultInstance;
- (RectangleBuilder*) clear;
- (RectangleBuilder*) clone;
- (Rectangle*) build;
- (Rectangle*) buildPartial;
- (RectangleBuilder*) mergeFrom:(Rectangle*) other;
- (RectangleBuilder*) mergeFromCodedInputStream:(PBCodedInputStream*) input;
- (RectangleBuilder*) mergeFromCodedInputStream:(PBCodedInputStream*) input extensionRegistry:(PBExtensionRegistry*) extensionRegistry;
- (BOOL) hasLo;
- (Point*) lo;
- (RectangleBuilder*) setLo:(Point*) value;
- (RectangleBuilder*) setLoBuilder:(PointBuilder*) builderForValue;
- (RectangleBuilder*) mergeLo:(Point*) value;
- (RectangleBuilder*) clearLo;
- (BOOL) hasHi;
- (Point*) hi;
- (RectangleBuilder*) setHi:(Point*) value;
- (RectangleBuilder*) setHiBuilder:(PointBuilder*) builderForValue;
- (RectangleBuilder*) mergeHi:(Point*) value;
- (RectangleBuilder*) clearHi;
@end
@interface Feature : PBGeneratedMessage<GeneratedMessageProtocol> {
@private
BOOL hasName_:1;
BOOL hasLocation_:1;
NSString* name;
Point* location;
}
- (BOOL) hasName;
- (BOOL) hasLocation;
@property (readonly, strong) NSString* name;
@property (readonly, strong) Point* location;
+ (instancetype) defaultInstance;
- (instancetype) defaultInstance;
- (BOOL) isInitialized;
- (void) writeToCodedOutputStream:(PBCodedOutputStream*) output;
- (FeatureBuilder*) builder;
+ (FeatureBuilder*) builder;
+ (FeatureBuilder*) builderWithPrototype:(Feature*) prototype;
- (FeatureBuilder*) toBuilder;
+ (Feature*) parseFromData:(NSData*) data;
+ (Feature*) parseFromData:(NSData*) data extensionRegistry:(PBExtensionRegistry*) extensionRegistry;
+ (Feature*) parseFromInputStream:(NSInputStream*) input;
+ (Feature*) parseFromInputStream:(NSInputStream*) input extensionRegistry:(PBExtensionRegistry*) extensionRegistry;
+ (Feature*) parseFromCodedInputStream:(PBCodedInputStream*) input;
+ (Feature*) parseFromCodedInputStream:(PBCodedInputStream*) input extensionRegistry:(PBExtensionRegistry*) extensionRegistry;
@end
@interface FeatureBuilder : PBGeneratedMessageBuilder {
@private
Feature* resultFeature;
}
- (Feature*) defaultInstance;
- (FeatureBuilder*) clear;
- (FeatureBuilder*) clone;
- (Feature*) build;
- (Feature*) buildPartial;
- (FeatureBuilder*) mergeFrom:(Feature*) other;
- (FeatureBuilder*) mergeFromCodedInputStream:(PBCodedInputStream*) input;
- (FeatureBuilder*) mergeFromCodedInputStream:(PBCodedInputStream*) input extensionRegistry:(PBExtensionRegistry*) extensionRegistry;
- (BOOL) hasName;
- (NSString*) name;
- (FeatureBuilder*) setName:(NSString*) value;
- (FeatureBuilder*) clearName;
- (BOOL) hasLocation;
- (Point*) location;
- (FeatureBuilder*) setLocation:(Point*) value;
- (FeatureBuilder*) setLocationBuilder:(PointBuilder*) builderForValue;
- (FeatureBuilder*) mergeLocation:(Point*) value;
- (FeatureBuilder*) clearLocation;
@end
@interface RouteNote : PBGeneratedMessage<GeneratedMessageProtocol> {
@private
BOOL hasMessage_:1;
BOOL hasLocation_:1;
NSString* message;
Point* location;
}
- (BOOL) hasLocation;
- (BOOL) hasMessage;
@property (readonly, strong) Point* location;
@property (readonly, strong) NSString* message;
+ (instancetype) defaultInstance;
- (instancetype) defaultInstance;
- (BOOL) isInitialized;
- (void) writeToCodedOutputStream:(PBCodedOutputStream*) output;
- (RouteNoteBuilder*) builder;
+ (RouteNoteBuilder*) builder;
+ (RouteNoteBuilder*) builderWithPrototype:(RouteNote*) prototype;
- (RouteNoteBuilder*) toBuilder;
+ (RouteNote*) parseFromData:(NSData*) data;
+ (RouteNote*) parseFromData:(NSData*) data extensionRegistry:(PBExtensionRegistry*) extensionRegistry;
+ (RouteNote*) parseFromInputStream:(NSInputStream*) input;
+ (RouteNote*) parseFromInputStream:(NSInputStream*) input extensionRegistry:(PBExtensionRegistry*) extensionRegistry;
+ (RouteNote*) parseFromCodedInputStream:(PBCodedInputStream*) input;
+ (RouteNote*) parseFromCodedInputStream:(PBCodedInputStream*) input extensionRegistry:(PBExtensionRegistry*) extensionRegistry;
@end
@interface RouteNoteBuilder : PBGeneratedMessageBuilder {
@private
RouteNote* resultRouteNote;
}
- (RouteNote*) defaultInstance;
- (RouteNoteBuilder*) clear;
- (RouteNoteBuilder*) clone;
- (RouteNote*) build;
- (RouteNote*) buildPartial;
- (RouteNoteBuilder*) mergeFrom:(RouteNote*) other;
- (RouteNoteBuilder*) mergeFromCodedInputStream:(PBCodedInputStream*) input;
- (RouteNoteBuilder*) mergeFromCodedInputStream:(PBCodedInputStream*) input extensionRegistry:(PBExtensionRegistry*) extensionRegistry;
- (BOOL) hasLocation;
- (Point*) location;
- (RouteNoteBuilder*) setLocation:(Point*) value;
- (RouteNoteBuilder*) setLocationBuilder:(PointBuilder*) builderForValue;
- (RouteNoteBuilder*) mergeLocation:(Point*) value;
- (RouteNoteBuilder*) clearLocation;
- (BOOL) hasMessage;
- (NSString*) message;
- (RouteNoteBuilder*) setMessage:(NSString*) value;
- (RouteNoteBuilder*) clearMessage;
@end
@interface RouteSummary : PBGeneratedMessage<GeneratedMessageProtocol> {
@private
BOOL hasPointCount_:1;
BOOL hasFeatureCount_:1;
BOOL hasDistance_:1;
BOOL hasElapsedTime_:1;
SInt32 pointCount;
SInt32 featureCount;
SInt32 distance;
SInt32 elapsedTime;
}
- (BOOL) hasPointCount;
- (BOOL) hasFeatureCount;
- (BOOL) hasDistance;
- (BOOL) hasElapsedTime;
@property (readonly) SInt32 pointCount;
@property (readonly) SInt32 featureCount;
@property (readonly) SInt32 distance;
@property (readonly) SInt32 elapsedTime;
+ (instancetype) defaultInstance;
- (instancetype) defaultInstance;
- (BOOL) isInitialized;
- (void) writeToCodedOutputStream:(PBCodedOutputStream*) output;
- (RouteSummaryBuilder*) builder;
+ (RouteSummaryBuilder*) builder;
+ (RouteSummaryBuilder*) builderWithPrototype:(RouteSummary*) prototype;
- (RouteSummaryBuilder*) toBuilder;
+ (RouteSummary*) parseFromData:(NSData*) data;
+ (RouteSummary*) parseFromData:(NSData*) data extensionRegistry:(PBExtensionRegistry*) extensionRegistry;
+ (RouteSummary*) parseFromInputStream:(NSInputStream*) input;
+ (RouteSummary*) parseFromInputStream:(NSInputStream*) input extensionRegistry:(PBExtensionRegistry*) extensionRegistry;
+ (RouteSummary*) parseFromCodedInputStream:(PBCodedInputStream*) input;
+ (RouteSummary*) parseFromCodedInputStream:(PBCodedInputStream*) input extensionRegistry:(PBExtensionRegistry*) extensionRegistry;
@end
@interface RouteSummaryBuilder : PBGeneratedMessageBuilder {
@private
RouteSummary* resultRouteSummary;
}
- (RouteSummary*) defaultInstance;
- (RouteSummaryBuilder*) clear;
- (RouteSummaryBuilder*) clone;
- (RouteSummary*) build;
- (RouteSummary*) buildPartial;
- (RouteSummaryBuilder*) mergeFrom:(RouteSummary*) other;
- (RouteSummaryBuilder*) mergeFromCodedInputStream:(PBCodedInputStream*) input;
- (RouteSummaryBuilder*) mergeFromCodedInputStream:(PBCodedInputStream*) input extensionRegistry:(PBExtensionRegistry*) extensionRegistry;
- (BOOL) hasPointCount;
- (SInt32) pointCount;
- (RouteSummaryBuilder*) setPointCount:(SInt32) value;
- (RouteSummaryBuilder*) clearPointCount;
- (BOOL) hasFeatureCount;
- (SInt32) featureCount;
- (RouteSummaryBuilder*) setFeatureCount:(SInt32) value;
- (RouteSummaryBuilder*) clearFeatureCount;
- (BOOL) hasDistance;
- (SInt32) distance;
- (RouteSummaryBuilder*) setDistance:(SInt32) value;
- (RouteSummaryBuilder*) clearDistance;
- (BOOL) hasElapsedTime;
- (SInt32) elapsedTime;
- (RouteSummaryBuilder*) setElapsedTime:(SInt32) value;
- (RouteSummaryBuilder*) clearElapsedTime;
@end
// @@protoc_insertion_point(global_scope)

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save