logging_metrics.pb.go 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562
  1. // Code generated by protoc-gen-go.
  2. // source: google/logging/v2/logging_metrics.proto
  3. // DO NOT EDIT!
  4. package logging
  5. import proto "github.com/golang/protobuf/proto"
  6. import fmt "fmt"
  7. import math "math"
  8. import _ "google.golang.org/genproto/googleapis/api/annotations"
  9. import google_protobuf5 "github.com/golang/protobuf/ptypes/empty"
  10. import (
  11. context "golang.org/x/net/context"
  12. grpc "google.golang.org/grpc"
  13. )
  14. // Reference imports to suppress errors if they are not otherwise used.
  15. var _ = proto.Marshal
  16. var _ = fmt.Errorf
  17. var _ = math.Inf
  18. // Stackdriver Logging API version.
  19. type LogMetric_ApiVersion int32
  20. const (
  21. // Stackdriver Logging API v2.
  22. LogMetric_V2 LogMetric_ApiVersion = 0
  23. // Stackdriver Logging API v1.
  24. LogMetric_V1 LogMetric_ApiVersion = 1
  25. )
  26. var LogMetric_ApiVersion_name = map[int32]string{
  27. 0: "V2",
  28. 1: "V1",
  29. }
  30. var LogMetric_ApiVersion_value = map[string]int32{
  31. "V2": 0,
  32. "V1": 1,
  33. }
  34. func (x LogMetric_ApiVersion) String() string {
  35. return proto.EnumName(LogMetric_ApiVersion_name, int32(x))
  36. }
  37. func (LogMetric_ApiVersion) EnumDescriptor() ([]byte, []int) { return fileDescriptor3, []int{0, 0} }
  38. // Describes a logs-based metric. The value of the metric is the
  39. // number of log entries that match a logs filter in a given time interval.
  40. type LogMetric struct {
  41. // Required. The client-assigned metric identifier.
  42. // Examples: `"error_count"`, `"nginx/requests"`.
  43. //
  44. // Metric identifiers are limited to 100 characters and can include
  45. // only the following characters: `A-Z`, `a-z`, `0-9`, and the
  46. // special characters `_-.,+!*',()%/`. The forward-slash character
  47. // (`/`) denotes a hierarchy of name pieces, and it cannot be the
  48. // first character of the name.
  49. //
  50. // The metric identifier in this field must not be
  51. // [URL-encoded](https://en.wikipedia.org/wiki/Percent-encoding).
  52. // However, when the metric identifier appears as the `[METRIC_ID]`
  53. // part of a `metric_name` API parameter, then the metric identifier
  54. // must be URL-encoded. Example:
  55. // `"projects/my-project/metrics/nginx%2Frequests"`.
  56. Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
  57. // Optional. A description of this metric, which is used in documentation.
  58. Description string `protobuf:"bytes,2,opt,name=description" json:"description,omitempty"`
  59. // Required. An [advanced logs filter](/logging/docs/view/advanced_filters)
  60. // which is used to match log entries.
  61. // Example:
  62. //
  63. // "resource.type=gae_app AND severity>=ERROR"
  64. //
  65. // The maximum length of the filter is 20000 characters.
  66. Filter string `protobuf:"bytes,3,opt,name=filter" json:"filter,omitempty"`
  67. // Output only. The API version that created or updated this metric.
  68. // The version also dictates the syntax of the filter expression. When a value
  69. // for this field is missing, the default value of V2 should be assumed.
  70. Version LogMetric_ApiVersion `protobuf:"varint,4,opt,name=version,enum=google.logging.v2.LogMetric_ApiVersion" json:"version,omitempty"`
  71. }
  72. func (m *LogMetric) Reset() { *m = LogMetric{} }
  73. func (m *LogMetric) String() string { return proto.CompactTextString(m) }
  74. func (*LogMetric) ProtoMessage() {}
  75. func (*LogMetric) Descriptor() ([]byte, []int) { return fileDescriptor3, []int{0} }
  76. func (m *LogMetric) GetName() string {
  77. if m != nil {
  78. return m.Name
  79. }
  80. return ""
  81. }
  82. func (m *LogMetric) GetDescription() string {
  83. if m != nil {
  84. return m.Description
  85. }
  86. return ""
  87. }
  88. func (m *LogMetric) GetFilter() string {
  89. if m != nil {
  90. return m.Filter
  91. }
  92. return ""
  93. }
  94. func (m *LogMetric) GetVersion() LogMetric_ApiVersion {
  95. if m != nil {
  96. return m.Version
  97. }
  98. return LogMetric_V2
  99. }
  100. // The parameters to ListLogMetrics.
  101. type ListLogMetricsRequest struct {
  102. // Required. The name of the project containing the metrics:
  103. //
  104. // "projects/[PROJECT_ID]"
  105. Parent string `protobuf:"bytes,1,opt,name=parent" json:"parent,omitempty"`
  106. // Optional. If present, then retrieve the next batch of results from the
  107. // preceding call to this method. `pageToken` must be the value of
  108. // `nextPageToken` from the previous response. The values of other method
  109. // parameters should be identical to those in the previous call.
  110. PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken" json:"page_token,omitempty"`
  111. // Optional. The maximum number of results to return from this request.
  112. // Non-positive values are ignored. The presence of `nextPageToken` in the
  113. // response indicates that more results might be available.
  114. PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize" json:"page_size,omitempty"`
  115. }
  116. func (m *ListLogMetricsRequest) Reset() { *m = ListLogMetricsRequest{} }
  117. func (m *ListLogMetricsRequest) String() string { return proto.CompactTextString(m) }
  118. func (*ListLogMetricsRequest) ProtoMessage() {}
  119. func (*ListLogMetricsRequest) Descriptor() ([]byte, []int) { return fileDescriptor3, []int{1} }
  120. func (m *ListLogMetricsRequest) GetParent() string {
  121. if m != nil {
  122. return m.Parent
  123. }
  124. return ""
  125. }
  126. func (m *ListLogMetricsRequest) GetPageToken() string {
  127. if m != nil {
  128. return m.PageToken
  129. }
  130. return ""
  131. }
  132. func (m *ListLogMetricsRequest) GetPageSize() int32 {
  133. if m != nil {
  134. return m.PageSize
  135. }
  136. return 0
  137. }
  138. // Result returned from ListLogMetrics.
  139. type ListLogMetricsResponse struct {
  140. // A list of logs-based metrics.
  141. Metrics []*LogMetric `protobuf:"bytes,1,rep,name=metrics" json:"metrics,omitempty"`
  142. // If there might be more results than appear in this response, then
  143. // `nextPageToken` is included. To get the next set of results, call this
  144. // method again using the value of `nextPageToken` as `pageToken`.
  145. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken" json:"next_page_token,omitempty"`
  146. }
  147. func (m *ListLogMetricsResponse) Reset() { *m = ListLogMetricsResponse{} }
  148. func (m *ListLogMetricsResponse) String() string { return proto.CompactTextString(m) }
  149. func (*ListLogMetricsResponse) ProtoMessage() {}
  150. func (*ListLogMetricsResponse) Descriptor() ([]byte, []int) { return fileDescriptor3, []int{2} }
  151. func (m *ListLogMetricsResponse) GetMetrics() []*LogMetric {
  152. if m != nil {
  153. return m.Metrics
  154. }
  155. return nil
  156. }
  157. func (m *ListLogMetricsResponse) GetNextPageToken() string {
  158. if m != nil {
  159. return m.NextPageToken
  160. }
  161. return ""
  162. }
  163. // The parameters to GetLogMetric.
  164. type GetLogMetricRequest struct {
  165. // The resource name of the desired metric:
  166. //
  167. // "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
  168. MetricName string `protobuf:"bytes,1,opt,name=metric_name,json=metricName" json:"metric_name,omitempty"`
  169. }
  170. func (m *GetLogMetricRequest) Reset() { *m = GetLogMetricRequest{} }
  171. func (m *GetLogMetricRequest) String() string { return proto.CompactTextString(m) }
  172. func (*GetLogMetricRequest) ProtoMessage() {}
  173. func (*GetLogMetricRequest) Descriptor() ([]byte, []int) { return fileDescriptor3, []int{3} }
  174. func (m *GetLogMetricRequest) GetMetricName() string {
  175. if m != nil {
  176. return m.MetricName
  177. }
  178. return ""
  179. }
  180. // The parameters to CreateLogMetric.
  181. type CreateLogMetricRequest struct {
  182. // The resource name of the project in which to create the metric:
  183. //
  184. // "projects/[PROJECT_ID]"
  185. //
  186. // The new metric must be provided in the request.
  187. Parent string `protobuf:"bytes,1,opt,name=parent" json:"parent,omitempty"`
  188. // The new logs-based metric, which must not have an identifier that
  189. // already exists.
  190. Metric *LogMetric `protobuf:"bytes,2,opt,name=metric" json:"metric,omitempty"`
  191. }
  192. func (m *CreateLogMetricRequest) Reset() { *m = CreateLogMetricRequest{} }
  193. func (m *CreateLogMetricRequest) String() string { return proto.CompactTextString(m) }
  194. func (*CreateLogMetricRequest) ProtoMessage() {}
  195. func (*CreateLogMetricRequest) Descriptor() ([]byte, []int) { return fileDescriptor3, []int{4} }
  196. func (m *CreateLogMetricRequest) GetParent() string {
  197. if m != nil {
  198. return m.Parent
  199. }
  200. return ""
  201. }
  202. func (m *CreateLogMetricRequest) GetMetric() *LogMetric {
  203. if m != nil {
  204. return m.Metric
  205. }
  206. return nil
  207. }
  208. // The parameters to UpdateLogMetric.
  209. type UpdateLogMetricRequest struct {
  210. // The resource name of the metric to update:
  211. //
  212. // "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
  213. //
  214. // The updated metric must be provided in the request and it's
  215. // `name` field must be the same as `[METRIC_ID]` If the metric
  216. // does not exist in `[PROJECT_ID]`, then a new metric is created.
  217. MetricName string `protobuf:"bytes,1,opt,name=metric_name,json=metricName" json:"metric_name,omitempty"`
  218. // The updated metric.
  219. Metric *LogMetric `protobuf:"bytes,2,opt,name=metric" json:"metric,omitempty"`
  220. }
  221. func (m *UpdateLogMetricRequest) Reset() { *m = UpdateLogMetricRequest{} }
  222. func (m *UpdateLogMetricRequest) String() string { return proto.CompactTextString(m) }
  223. func (*UpdateLogMetricRequest) ProtoMessage() {}
  224. func (*UpdateLogMetricRequest) Descriptor() ([]byte, []int) { return fileDescriptor3, []int{5} }
  225. func (m *UpdateLogMetricRequest) GetMetricName() string {
  226. if m != nil {
  227. return m.MetricName
  228. }
  229. return ""
  230. }
  231. func (m *UpdateLogMetricRequest) GetMetric() *LogMetric {
  232. if m != nil {
  233. return m.Metric
  234. }
  235. return nil
  236. }
  237. // The parameters to DeleteLogMetric.
  238. type DeleteLogMetricRequest struct {
  239. // The resource name of the metric to delete:
  240. //
  241. // "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
  242. MetricName string `protobuf:"bytes,1,opt,name=metric_name,json=metricName" json:"metric_name,omitempty"`
  243. }
  244. func (m *DeleteLogMetricRequest) Reset() { *m = DeleteLogMetricRequest{} }
  245. func (m *DeleteLogMetricRequest) String() string { return proto.CompactTextString(m) }
  246. func (*DeleteLogMetricRequest) ProtoMessage() {}
  247. func (*DeleteLogMetricRequest) Descriptor() ([]byte, []int) { return fileDescriptor3, []int{6} }
  248. func (m *DeleteLogMetricRequest) GetMetricName() string {
  249. if m != nil {
  250. return m.MetricName
  251. }
  252. return ""
  253. }
  254. func init() {
  255. proto.RegisterType((*LogMetric)(nil), "google.logging.v2.LogMetric")
  256. proto.RegisterType((*ListLogMetricsRequest)(nil), "google.logging.v2.ListLogMetricsRequest")
  257. proto.RegisterType((*ListLogMetricsResponse)(nil), "google.logging.v2.ListLogMetricsResponse")
  258. proto.RegisterType((*GetLogMetricRequest)(nil), "google.logging.v2.GetLogMetricRequest")
  259. proto.RegisterType((*CreateLogMetricRequest)(nil), "google.logging.v2.CreateLogMetricRequest")
  260. proto.RegisterType((*UpdateLogMetricRequest)(nil), "google.logging.v2.UpdateLogMetricRequest")
  261. proto.RegisterType((*DeleteLogMetricRequest)(nil), "google.logging.v2.DeleteLogMetricRequest")
  262. proto.RegisterEnum("google.logging.v2.LogMetric_ApiVersion", LogMetric_ApiVersion_name, LogMetric_ApiVersion_value)
  263. }
  264. // Reference imports to suppress errors if they are not otherwise used.
  265. var _ context.Context
  266. var _ grpc.ClientConn
  267. // This is a compile-time assertion to ensure that this generated file
  268. // is compatible with the grpc package it is being compiled against.
  269. const _ = grpc.SupportPackageIsVersion4
  270. // Client API for MetricsServiceV2 service
  271. type MetricsServiceV2Client interface {
  272. // Lists logs-based metrics.
  273. ListLogMetrics(ctx context.Context, in *ListLogMetricsRequest, opts ...grpc.CallOption) (*ListLogMetricsResponse, error)
  274. // Gets a logs-based metric.
  275. GetLogMetric(ctx context.Context, in *GetLogMetricRequest, opts ...grpc.CallOption) (*LogMetric, error)
  276. // Creates a logs-based metric.
  277. CreateLogMetric(ctx context.Context, in *CreateLogMetricRequest, opts ...grpc.CallOption) (*LogMetric, error)
  278. // Creates or updates a logs-based metric.
  279. UpdateLogMetric(ctx context.Context, in *UpdateLogMetricRequest, opts ...grpc.CallOption) (*LogMetric, error)
  280. // Deletes a logs-based metric.
  281. DeleteLogMetric(ctx context.Context, in *DeleteLogMetricRequest, opts ...grpc.CallOption) (*google_protobuf5.Empty, error)
  282. }
  283. type metricsServiceV2Client struct {
  284. cc *grpc.ClientConn
  285. }
  286. func NewMetricsServiceV2Client(cc *grpc.ClientConn) MetricsServiceV2Client {
  287. return &metricsServiceV2Client{cc}
  288. }
  289. func (c *metricsServiceV2Client) ListLogMetrics(ctx context.Context, in *ListLogMetricsRequest, opts ...grpc.CallOption) (*ListLogMetricsResponse, error) {
  290. out := new(ListLogMetricsResponse)
  291. err := grpc.Invoke(ctx, "/google.logging.v2.MetricsServiceV2/ListLogMetrics", in, out, c.cc, opts...)
  292. if err != nil {
  293. return nil, err
  294. }
  295. return out, nil
  296. }
  297. func (c *metricsServiceV2Client) GetLogMetric(ctx context.Context, in *GetLogMetricRequest, opts ...grpc.CallOption) (*LogMetric, error) {
  298. out := new(LogMetric)
  299. err := grpc.Invoke(ctx, "/google.logging.v2.MetricsServiceV2/GetLogMetric", in, out, c.cc, opts...)
  300. if err != nil {
  301. return nil, err
  302. }
  303. return out, nil
  304. }
  305. func (c *metricsServiceV2Client) CreateLogMetric(ctx context.Context, in *CreateLogMetricRequest, opts ...grpc.CallOption) (*LogMetric, error) {
  306. out := new(LogMetric)
  307. err := grpc.Invoke(ctx, "/google.logging.v2.MetricsServiceV2/CreateLogMetric", in, out, c.cc, opts...)
  308. if err != nil {
  309. return nil, err
  310. }
  311. return out, nil
  312. }
  313. func (c *metricsServiceV2Client) UpdateLogMetric(ctx context.Context, in *UpdateLogMetricRequest, opts ...grpc.CallOption) (*LogMetric, error) {
  314. out := new(LogMetric)
  315. err := grpc.Invoke(ctx, "/google.logging.v2.MetricsServiceV2/UpdateLogMetric", in, out, c.cc, opts...)
  316. if err != nil {
  317. return nil, err
  318. }
  319. return out, nil
  320. }
  321. func (c *metricsServiceV2Client) DeleteLogMetric(ctx context.Context, in *DeleteLogMetricRequest, opts ...grpc.CallOption) (*google_protobuf5.Empty, error) {
  322. out := new(google_protobuf5.Empty)
  323. err := grpc.Invoke(ctx, "/google.logging.v2.MetricsServiceV2/DeleteLogMetric", in, out, c.cc, opts...)
  324. if err != nil {
  325. return nil, err
  326. }
  327. return out, nil
  328. }
  329. // Server API for MetricsServiceV2 service
  330. type MetricsServiceV2Server interface {
  331. // Lists logs-based metrics.
  332. ListLogMetrics(context.Context, *ListLogMetricsRequest) (*ListLogMetricsResponse, error)
  333. // Gets a logs-based metric.
  334. GetLogMetric(context.Context, *GetLogMetricRequest) (*LogMetric, error)
  335. // Creates a logs-based metric.
  336. CreateLogMetric(context.Context, *CreateLogMetricRequest) (*LogMetric, error)
  337. // Creates or updates a logs-based metric.
  338. UpdateLogMetric(context.Context, *UpdateLogMetricRequest) (*LogMetric, error)
  339. // Deletes a logs-based metric.
  340. DeleteLogMetric(context.Context, *DeleteLogMetricRequest) (*google_protobuf5.Empty, error)
  341. }
  342. func RegisterMetricsServiceV2Server(s *grpc.Server, srv MetricsServiceV2Server) {
  343. s.RegisterService(&_MetricsServiceV2_serviceDesc, srv)
  344. }
  345. func _MetricsServiceV2_ListLogMetrics_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  346. in := new(ListLogMetricsRequest)
  347. if err := dec(in); err != nil {
  348. return nil, err
  349. }
  350. if interceptor == nil {
  351. return srv.(MetricsServiceV2Server).ListLogMetrics(ctx, in)
  352. }
  353. info := &grpc.UnaryServerInfo{
  354. Server: srv,
  355. FullMethod: "/google.logging.v2.MetricsServiceV2/ListLogMetrics",
  356. }
  357. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  358. return srv.(MetricsServiceV2Server).ListLogMetrics(ctx, req.(*ListLogMetricsRequest))
  359. }
  360. return interceptor(ctx, in, info, handler)
  361. }
  362. func _MetricsServiceV2_GetLogMetric_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  363. in := new(GetLogMetricRequest)
  364. if err := dec(in); err != nil {
  365. return nil, err
  366. }
  367. if interceptor == nil {
  368. return srv.(MetricsServiceV2Server).GetLogMetric(ctx, in)
  369. }
  370. info := &grpc.UnaryServerInfo{
  371. Server: srv,
  372. FullMethod: "/google.logging.v2.MetricsServiceV2/GetLogMetric",
  373. }
  374. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  375. return srv.(MetricsServiceV2Server).GetLogMetric(ctx, req.(*GetLogMetricRequest))
  376. }
  377. return interceptor(ctx, in, info, handler)
  378. }
  379. func _MetricsServiceV2_CreateLogMetric_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  380. in := new(CreateLogMetricRequest)
  381. if err := dec(in); err != nil {
  382. return nil, err
  383. }
  384. if interceptor == nil {
  385. return srv.(MetricsServiceV2Server).CreateLogMetric(ctx, in)
  386. }
  387. info := &grpc.UnaryServerInfo{
  388. Server: srv,
  389. FullMethod: "/google.logging.v2.MetricsServiceV2/CreateLogMetric",
  390. }
  391. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  392. return srv.(MetricsServiceV2Server).CreateLogMetric(ctx, req.(*CreateLogMetricRequest))
  393. }
  394. return interceptor(ctx, in, info, handler)
  395. }
  396. func _MetricsServiceV2_UpdateLogMetric_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  397. in := new(UpdateLogMetricRequest)
  398. if err := dec(in); err != nil {
  399. return nil, err
  400. }
  401. if interceptor == nil {
  402. return srv.(MetricsServiceV2Server).UpdateLogMetric(ctx, in)
  403. }
  404. info := &grpc.UnaryServerInfo{
  405. Server: srv,
  406. FullMethod: "/google.logging.v2.MetricsServiceV2/UpdateLogMetric",
  407. }
  408. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  409. return srv.(MetricsServiceV2Server).UpdateLogMetric(ctx, req.(*UpdateLogMetricRequest))
  410. }
  411. return interceptor(ctx, in, info, handler)
  412. }
  413. func _MetricsServiceV2_DeleteLogMetric_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  414. in := new(DeleteLogMetricRequest)
  415. if err := dec(in); err != nil {
  416. return nil, err
  417. }
  418. if interceptor == nil {
  419. return srv.(MetricsServiceV2Server).DeleteLogMetric(ctx, in)
  420. }
  421. info := &grpc.UnaryServerInfo{
  422. Server: srv,
  423. FullMethod: "/google.logging.v2.MetricsServiceV2/DeleteLogMetric",
  424. }
  425. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  426. return srv.(MetricsServiceV2Server).DeleteLogMetric(ctx, req.(*DeleteLogMetricRequest))
  427. }
  428. return interceptor(ctx, in, info, handler)
  429. }
  430. var _MetricsServiceV2_serviceDesc = grpc.ServiceDesc{
  431. ServiceName: "google.logging.v2.MetricsServiceV2",
  432. HandlerType: (*MetricsServiceV2Server)(nil),
  433. Methods: []grpc.MethodDesc{
  434. {
  435. MethodName: "ListLogMetrics",
  436. Handler: _MetricsServiceV2_ListLogMetrics_Handler,
  437. },
  438. {
  439. MethodName: "GetLogMetric",
  440. Handler: _MetricsServiceV2_GetLogMetric_Handler,
  441. },
  442. {
  443. MethodName: "CreateLogMetric",
  444. Handler: _MetricsServiceV2_CreateLogMetric_Handler,
  445. },
  446. {
  447. MethodName: "UpdateLogMetric",
  448. Handler: _MetricsServiceV2_UpdateLogMetric_Handler,
  449. },
  450. {
  451. MethodName: "DeleteLogMetric",
  452. Handler: _MetricsServiceV2_DeleteLogMetric_Handler,
  453. },
  454. },
  455. Streams: []grpc.StreamDesc{},
  456. Metadata: "google/logging/v2/logging_metrics.proto",
  457. }
  458. func init() { proto.RegisterFile("google/logging/v2/logging_metrics.proto", fileDescriptor3) }
  459. var fileDescriptor3 = []byte{
  460. // 646 bytes of a gzipped FileDescriptorProto
  461. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x55, 0x4f, 0x53, 0xd3, 0x40,
  462. 0x14, 0x77, 0x0b, 0x14, 0x79, 0x28, 0xc5, 0x65, 0x88, 0x9d, 0x80, 0x43, 0xcd, 0x01, 0x0a, 0x87,
  463. 0x44, 0xa3, 0xc3, 0xf8, 0x67, 0x3c, 0x00, 0x3a, 0x5c, 0xd0, 0xe9, 0x14, 0xed, 0xc1, 0x4b, 0x27,
  464. 0xb4, 0xaf, 0x99, 0x95, 0x34, 0x1b, 0x93, 0x6d, 0x07, 0x71, 0xb8, 0x30, 0xdc, 0x9c, 0xf1, 0xa0,
  465. 0xdf, 0xc2, 0x8f, 0xe0, 0xd7, 0xd0, 0x8f, 0xe0, 0x07, 0x71, 0xb2, 0xd9, 0x94, 0xd8, 0x46, 0xda,
  466. 0xe1, 0xd4, 0xdd, 0xf7, 0xef, 0xf7, 0x7b, 0xef, 0xfd, 0xba, 0x81, 0x0d, 0x97, 0x73, 0xd7, 0x43,
  467. 0xcb, 0xe3, 0xae, 0xcb, 0x7c, 0xd7, 0xea, 0xdb, 0xe9, 0xb1, 0xd9, 0x45, 0x11, 0xb2, 0x56, 0x64,
  468. 0x06, 0x21, 0x17, 0x9c, 0xde, 0x49, 0x02, 0x4d, 0xe5, 0x35, 0xfb, 0xb6, 0xbe, 0xaa, 0x72, 0x9d,
  469. 0x80, 0x59, 0x8e, 0xef, 0x73, 0xe1, 0x08, 0xc6, 0x7d, 0x95, 0xa0, 0xaf, 0x28, 0xaf, 0xbc, 0x1d,
  470. 0xf5, 0x3a, 0x16, 0x76, 0x03, 0xf1, 0x29, 0x71, 0x1a, 0x3f, 0x09, 0xcc, 0x1d, 0x70, 0xf7, 0xb5,
  471. 0x84, 0xa0, 0x14, 0xa6, 0x7d, 0xa7, 0x8b, 0x65, 0x52, 0x21, 0xd5, 0xb9, 0xba, 0x3c, 0xd3, 0x0a,
  472. 0xcc, 0xb7, 0x31, 0x6a, 0x85, 0x2c, 0x88, 0x8b, 0x96, 0x0b, 0xd2, 0x95, 0x35, 0x51, 0x0d, 0x8a,
  473. 0x1d, 0xe6, 0x09, 0x0c, 0xcb, 0x53, 0xd2, 0xa9, 0x6e, 0x74, 0x07, 0x66, 0xfb, 0x18, 0x46, 0x71,
  474. 0xd6, 0x74, 0x85, 0x54, 0x17, 0xec, 0x0d, 0x73, 0x84, 0xbb, 0x39, 0x00, 0x37, 0x77, 0x02, 0xd6,
  475. 0x48, 0xc2, 0xeb, 0x69, 0x9e, 0xb1, 0x0a, 0x70, 0x69, 0xa6, 0x45, 0x28, 0x34, 0xec, 0xc5, 0x1b,
  476. 0xf2, 0xf7, 0xe1, 0x22, 0x31, 0x8e, 0x61, 0xf9, 0x80, 0x45, 0x62, 0x50, 0x22, 0xaa, 0xe3, 0xc7,
  477. 0x1e, 0x46, 0x22, 0x66, 0x14, 0x38, 0x21, 0xfa, 0x42, 0x75, 0xa2, 0x6e, 0xf4, 0x1e, 0x40, 0xe0,
  478. 0xb8, 0xd8, 0x14, 0xfc, 0x18, 0xd3, 0x56, 0xe6, 0x62, 0xcb, 0xdb, 0xd8, 0x40, 0x57, 0x40, 0x5e,
  479. 0x9a, 0x11, 0x3b, 0x45, 0xd9, 0xcb, 0x4c, 0xfd, 0x66, 0x6c, 0x38, 0x64, 0xa7, 0x68, 0x9c, 0x80,
  480. 0x36, 0x0c, 0x16, 0x05, 0xdc, 0x8f, 0x90, 0x6e, 0xc3, 0xac, 0x5a, 0x51, 0x99, 0x54, 0xa6, 0xaa,
  481. 0xf3, 0xf6, 0xea, 0x55, 0x7d, 0xd6, 0xd3, 0x60, 0xba, 0x0e, 0x25, 0x1f, 0x4f, 0x44, 0x73, 0x84,
  482. 0xd2, 0xed, 0xd8, 0x5c, 0x4b, 0x69, 0x19, 0xdb, 0xb0, 0xb4, 0x8f, 0x97, 0xc0, 0x69, 0x93, 0x6b,
  483. 0x30, 0x9f, 0x54, 0x6a, 0x66, 0x76, 0x06, 0x89, 0xe9, 0x8d, 0xd3, 0x45, 0xa3, 0x03, 0xda, 0x5e,
  484. 0x88, 0x8e, 0xc0, 0x91, 0xd4, 0xff, 0xcd, 0xe7, 0x31, 0x14, 0x93, 0x7c, 0x49, 0x64, 0x5c, 0x23,
  485. 0x2a, 0xd6, 0xe0, 0xa0, 0xbd, 0x0b, 0xda, 0x79, 0x38, 0xe3, 0x28, 0x5e, 0x13, 0xf0, 0x29, 0x68,
  486. 0x2f, 0xd1, 0xc3, 0x6b, 0x00, 0xda, 0xbf, 0x67, 0x60, 0x51, 0xed, 0xef, 0x10, 0xc3, 0x3e, 0x6b,
  487. 0x61, 0xc3, 0xa6, 0x5f, 0x09, 0x2c, 0xfc, 0xbb, 0x5b, 0x5a, 0xcd, 0x23, 0x92, 0xa7, 0x35, 0x7d,
  488. 0x73, 0x82, 0xc8, 0x44, 0x28, 0xc6, 0xc6, 0xf9, 0xaf, 0x3f, 0xdf, 0x0b, 0xf7, 0xe9, 0x5a, 0xfc,
  489. 0xef, 0xfe, 0x9c, 0xcc, 0xfc, 0x45, 0x10, 0xf2, 0x0f, 0xd8, 0x12, 0x91, 0xb5, 0x75, 0x66, 0xa5,
  490. 0xca, 0xb8, 0x20, 0x70, 0x2b, 0xbb, 0x72, 0xba, 0x9e, 0x03, 0x92, 0xa3, 0x09, 0xfd, 0xca, 0xf9,
  491. 0x19, 0xa6, 0xc4, 0xaf, 0xd2, 0x75, 0x89, 0x9f, 0x19, 0x54, 0x86, 0x44, 0xca, 0xc1, 0xda, 0x3a,
  492. 0xa3, 0x5f, 0x08, 0x94, 0x86, 0x14, 0x44, 0xf3, 0xda, 0xcd, 0x57, 0xd9, 0x18, 0x32, 0x96, 0x24,
  493. 0xb3, 0x69, 0x8c, 0x1b, 0xc6, 0x33, 0xb5, 0x75, 0xfa, 0x8d, 0x40, 0x69, 0x48, 0x67, 0xb9, 0x6c,
  494. 0xf2, 0xb5, 0x38, 0x86, 0xcd, 0xb6, 0x64, 0xf3, 0x40, 0x9f, 0x70, 0x34, 0x03, 0x52, 0x17, 0x04,
  495. 0x4a, 0x43, 0x5a, 0xcc, 0x25, 0x95, 0xaf, 0x57, 0x5d, 0x4b, 0x43, 0xd3, 0xc7, 0xd9, 0x7c, 0x15,
  496. 0x3f, 0xce, 0xe9, 0xa6, 0xb6, 0x26, 0xa4, 0xb3, 0x7b, 0x4e, 0x60, 0xb9, 0xc5, 0xbb, 0xa3, 0xc0,
  497. 0xbb, 0x4b, 0x07, 0xc9, 0x59, 0x69, 0xb1, 0x16, 0xe3, 0xd4, 0xc8, 0xfb, 0x27, 0x2a, 0xd2, 0xe5,
  498. 0x9e, 0xe3, 0xbb, 0x26, 0x0f, 0x5d, 0xcb, 0x45, 0x5f, 0xb2, 0xb0, 0x12, 0x97, 0x13, 0xb0, 0x28,
  499. 0xf3, 0x35, 0x7a, 0xae, 0x8e, 0x3f, 0x0a, 0x77, 0xf7, 0x93, 0xd4, 0x3d, 0x8f, 0xf7, 0xda, 0xa6,
  500. 0x2a, 0x6f, 0x36, 0xec, 0xa3, 0xa2, 0x4c, 0x7f, 0xf4, 0x37, 0x00, 0x00, 0xff, 0xff, 0x52, 0x8b,
  501. 0x69, 0xfe, 0xcb, 0x06, 0x00, 0x00,
  502. }