yats-connectors.git

ref: 8c8cbb6db9433615f303e7f901ed3b14b82fe159

yats-connector-objc/YatsGrpc.pbobjc.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
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: yats-grpc.proto

// This CPP symbol can be defined to use imports that match up to the framework
// imports needed when using CocoaPods.
#if !defined(GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS)
 #define GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS 0
#endif

#if GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS
 #import <Protobuf/GPBProtocolBuffers.h>
#else
 #import "GPBProtocolBuffers.h"
#endif

#if GOOGLE_PROTOBUF_OBJC_VERSION < 30004
#error This file was generated by a newer version of protoc which is incompatible with your Protocol Buffer library sources.
#endif
#if 30004 < GOOGLE_PROTOBUF_OBJC_MIN_SUPPORTED_VERSION
#error This file was generated by an older version of protoc which is incompatible with your Protocol Buffer library sources.
#endif

// @@protoc_insertion_point(imports)

#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"

CF_EXTERN_C_BEGIN

@class Event;
@class Metric;

NS_ASSUME_NONNULL_BEGIN

#pragma mark - YatsGrpcRoot

/**
 * Exposes the extension registry for this file.
 *
 * The base class provides:
 * @code
 *   + (GPBExtensionRegistry *)extensionRegistry;
 * @endcode
 * which is a @c GPBExtensionRegistry that includes all the extensions defined by
 * this file and all files that it depends on.
 **/
GPB_FINAL @interface YatsGrpcRoot : GPBRootObject
@end

#pragma mark - Metric

typedef GPB_ENUM(Metric_FieldNumber) {
  Metric_FieldNumber_IdClient = 1,
  Metric_FieldNumber_Mtime = 2,
  Metric_FieldNumber_Name = 3,
  Metric_FieldNumber_Value = 4,
};

GPB_FINAL @interface Metric : GPBMessage

@property(nonatomic, readwrite, copy, null_resettable) NSString *idClient;

@property(nonatomic, readwrite) int64_t mtime;

@property(nonatomic, readwrite, copy, null_resettable) NSString *name;

@property(nonatomic, readwrite, copy, null_resettable) NSString *value;

@end

#pragma mark - Event

typedef GPB_ENUM(Event_FieldNumber) {
  Event_FieldNumber_IdClient = 1,
  Event_FieldNumber_Etime = 2,
  Event_FieldNumber_Name = 3,
};

GPB_FINAL @interface Event : GPBMessage

@property(nonatomic, readwrite, copy, null_resettable) NSString *idClient;

@property(nonatomic, readwrite) int64_t etime;

@property(nonatomic, readwrite, copy, null_resettable) NSString *name;

@end

#pragma mark - CreateMetricRequest

typedef GPB_ENUM(CreateMetricRequest_FieldNumber) {
  CreateMetricRequest_FieldNumber_Metric = 1,
};

GPB_FINAL @interface CreateMetricRequest : GPBMessage

@property(nonatomic, readwrite, strong, null_resettable) Metric *metric;
/** Test to see if @c metric has been set. */
@property(nonatomic, readwrite) BOOL hasMetric;

@end

#pragma mark - CreateMetricResponse

typedef GPB_ENUM(CreateMetricResponse_FieldNumber) {
  CreateMetricResponse_FieldNumber_Metric = 1,
};

GPB_FINAL @interface CreateMetricResponse : GPBMessage

@property(nonatomic, readwrite, strong, null_resettable) Metric *metric;
/** Test to see if @c metric has been set. */
@property(nonatomic, readwrite) BOOL hasMetric;

@end

#pragma mark - CreateEventRequest

typedef GPB_ENUM(CreateEventRequest_FieldNumber) {
  CreateEventRequest_FieldNumber_Event = 1,
};

GPB_FINAL @interface CreateEventRequest : GPBMessage

@property(nonatomic, readwrite, strong, null_resettable) Event *event;
/** Test to see if @c event has been set. */
@property(nonatomic, readwrite) BOOL hasEvent;

@end

#pragma mark - CreateEventResponse

typedef GPB_ENUM(CreateEventResponse_FieldNumber) {
  CreateEventResponse_FieldNumber_Event = 1,
};

GPB_FINAL @interface CreateEventResponse : GPBMessage

@property(nonatomic, readwrite, strong, null_resettable) Event *event;
/** Test to see if @c event has been set. */
@property(nonatomic, readwrite) BOOL hasEvent;

@end

NS_ASSUME_NONNULL_END

CF_EXTERN_C_END

#pragma clang diagnostic pop

// @@protoc_insertion_point(global_scope)