| 1 |
// Copyright 2021 Google LLC |
| 2 |
// |
| 3 |
// Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 |
// you may not use this file except in compliance with the License. |
| 5 |
// You may obtain a copy of the License at |
| 6 |
// |
| 7 |
// http://www.apache.org/licenses/LICENSE-2.0 |
| 8 |
// |
| 9 |
// Unless required by applicable law or agreed to in writing, software |
| 10 |
// distributed under the License is distributed on an "AS IS" BASIS, |
| 11 |
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 |
// See the License for the specific language governing permissions and |
| 13 |
// limitations under the License. |
| 14 |
|
| 15 |
// Code generated by protoc-gen-go. DO NOT EDIT. |
| 16 |
// versions: |
| 17 |
// protoc-gen-go v1.26.0 |
| 18 |
// protoc v3.21.9 |
| 19 |
// source: google/devtools/clouderrorreporting/v1beta1/error_group_service.proto |
| 20 |
|
| 21 |
package errorreportingpb |
| 22 |
|
| 23 |
import ( |
| 24 |
context "context" |
| 25 |
reflect "reflect" |
| 26 |
sync "sync" |
| 27 |
|
| 28 |
_ "google.golang.org/genproto/googleapis/api/annotations" |
| 29 |
grpc "google.golang.org/grpc" |
| 30 |
codes "google.golang.org/grpc/codes" |
| 31 |
status "google.golang.org/grpc/status" |
| 32 |
protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| 33 |
protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| 34 |
) |
| 35 |
|
| 36 |
const ( |
| 37 |
// Verify that this generated code is sufficiently up-to-date. |
| 38 |
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| 39 |
// Verify that runtime/protoimpl is sufficiently up-to-date. |
| 40 |
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| 41 |
) |
| 42 |
|
| 43 |
// A request to return an individual group. |
| 44 |
type GetGroupRequest struct { |
| 45 |
state protoimpl.MessageState |
| 46 |
sizeCache protoimpl.SizeCache |
| 47 |
unknownFields protoimpl.UnknownFields |
| 48 |
|
| 49 |
// Required. The group resource name. Written as |
| 50 |
// `projects/{projectID}/groups/{group_name}`. Call |
| 51 |
// [`groupStats.list`](https://cloud.google.com/error-reporting/reference/rest/v1beta1/projects.groupStats/list) |
| 52 |
// to return a list of groups belonging to this project. |
| 53 |
// |
| 54 |
// Example: `projects/my-project-123/groups/my-group` |
| 55 |
GroupName string `protobuf:"bytes,1,opt,name=group_name,json=groupName,proto3" json:"group_name,omitempty"` |
| 56 |
} |
| 57 |
|
| 58 |
func (x *GetGroupRequest) Reset() { |
| 59 |
*x = GetGroupRequest{} |
| 60 |
if protoimpl.UnsafeEnabled { |
| 61 |
mi := &file_google_devtools_clouderrorreporting_v1beta1_error_group_service_proto_msgTypes[0] |
| 62 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 63 |
ms.StoreMessageInfo(mi) |
| 64 |
} |
| 65 |
} |
| 66 |
|
| 67 |
func (x *GetGroupRequest) String() string { |
| 68 |
return protoimpl.X.MessageStringOf(x) |
| 69 |
} |
| 70 |
|
| 71 |
func (*GetGroupRequest) ProtoMessage() {} |
| 72 |
|
| 73 |
func (x *GetGroupRequest) ProtoReflect() protoreflect.Message { |
| 74 |
mi := &file_google_devtools_clouderrorreporting_v1beta1_error_group_service_proto_msgTypes[0] |
| 75 |
if protoimpl.UnsafeEnabled && x != nil { |
| 76 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 77 |
if ms.LoadMessageInfo() == nil { |
| 78 |
ms.StoreMessageInfo(mi) |
| 79 |
} |
| 80 |
return ms |
| 81 |
} |
| 82 |
return mi.MessageOf(x) |
| 83 |
} |
| 84 |
|
| 85 |
// Deprecated: Use GetGroupRequest.ProtoReflect.Descriptor instead. |
| 86 |
func (*GetGroupRequest) Descriptor() ([]byte, []int) { |
| 87 |
return file_google_devtools_clouderrorreporting_v1beta1_error_group_service_proto_rawDescGZIP(), []int{0} |
| 88 |
} |
| 89 |
|
| 90 |
func (x *GetGroupRequest) GetGroupName() string { |
| 91 |
if x != nil { |
| 92 |
return x.GroupName |
| 93 |
} |
| 94 |
return "" |
| 95 |
} |
| 96 |
|
| 97 |
// A request to replace the existing data for the given group. |
| 98 |
type UpdateGroupRequest struct { |
| 99 |
state protoimpl.MessageState |
| 100 |
sizeCache protoimpl.SizeCache |
| 101 |
unknownFields protoimpl.UnknownFields |
| 102 |
|
| 103 |
// Required. The group which replaces the resource on the server. |
| 104 |
Group *ErrorGroup `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"` |
| 105 |
} |
| 106 |
|
| 107 |
func (x *UpdateGroupRequest) Reset() { |
| 108 |
*x = UpdateGroupRequest{} |
| 109 |
if protoimpl.UnsafeEnabled { |
| 110 |
mi := &file_google_devtools_clouderrorreporting_v1beta1_error_group_service_proto_msgTypes[1] |
| 111 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 112 |
ms.StoreMessageInfo(mi) |
| 113 |
} |
| 114 |
} |
| 115 |
|
| 116 |
func (x *UpdateGroupRequest) String() string { |
| 117 |
return protoimpl.X.MessageStringOf(x) |
| 118 |
} |
| 119 |
|
| 120 |
func (*UpdateGroupRequest) ProtoMessage() {} |
| 121 |
|
| 122 |
func (x *UpdateGroupRequest) ProtoReflect() protoreflect.Message { |
| 123 |
mi := &file_google_devtools_clouderrorreporting_v1beta1_error_group_service_proto_msgTypes[1] |
| 124 |
if protoimpl.UnsafeEnabled && x != nil { |
| 125 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 126 |
if ms.LoadMessageInfo() == nil { |
| 127 |
ms.StoreMessageInfo(mi) |
| 128 |
} |
| 129 |
return ms |
| 130 |
} |
| 131 |
return mi.MessageOf(x) |
| 132 |
} |
| 133 |
|
| 134 |
// Deprecated: Use UpdateGroupRequest.ProtoReflect.Descriptor instead. |
| 135 |
func (*UpdateGroupRequest) Descriptor() ([]byte, []int) { |
| 136 |
return file_google_devtools_clouderrorreporting_v1beta1_error_group_service_proto_rawDescGZIP(), []int{1} |
| 137 |
} |
| 138 |
|
| 139 |
func (x *UpdateGroupRequest) GetGroup() *ErrorGroup { |
| 140 |
if x != nil { |
| 141 |
return x.Group |
| 142 |
} |
| 143 |
return nil |
| 144 |
} |
| 145 |
|
| 146 |
var File_google_devtools_clouderrorreporting_v1beta1_error_group_service_proto protoreflect.FileDescriptor |
| 147 |
|
| 148 |
var file_google_devtools_clouderrorreporting_v1beta1_error_group_service_proto_rawDesc = []byte{ |
| 149 |
0x0a, 0x45, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, |
| 150 |
0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x72, 0x65, 0x70, 0x6f, |
| 151 |
0x72, 0x74, 0x69, 0x6e, 0x67, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x65, 0x72, |
| 152 |
0x72, 0x6f, 0x72, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, |
| 153 |
0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x2b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 154 |
0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x65, 0x72, |
| 155 |
0x72, 0x6f, 0x72, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x62, |
| 156 |
0x65, 0x74, 0x61, 0x31, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, |
| 157 |
0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, |
| 158 |
0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, |
| 159 |
0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, |
| 160 |
0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, |
| 161 |
0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, |
| 162 |
0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, |
| 163 |
0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x38, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, |
| 164 |
0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x65, 0x72, |
| 165 |
0x72, 0x6f, 0x72, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2f, 0x76, 0x31, 0x62, |
| 166 |
0x65, 0x74, 0x61, 0x31, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, |
| 167 |
0x6f, 0x22, 0x67, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, |
| 168 |
0x75, 0x65, 0x73, 0x74, 0x12, 0x54, 0x0a, 0x0a, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x6e, 0x61, |
| 169 |
0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x35, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x2f, |
| 170 |
0x0a, 0x2d, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x72, 0x65, 0x70, 0x6f, |
| 171 |
0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, |
| 172 |
0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, |
| 173 |
0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x68, 0x0a, 0x12, 0x55, 0x70, |
| 174 |
0x64, 0x61, 0x74, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, |
| 175 |
0x12, 0x52, 0x0a, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, |
| 176 |
0x37, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, |
| 177 |
0x73, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x72, 0x65, 0x70, 0x6f, |
| 178 |
0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x45, 0x72, |
| 179 |
0x72, 0x6f, 0x72, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x05, 0x67, |
| 180 |
0x72, 0x6f, 0x75, 0x70, 0x32, 0xfb, 0x03, 0x0a, 0x11, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x47, 0x72, |
| 181 |
0x6f, 0x75, 0x70, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0xc1, 0x01, 0x0a, 0x08, 0x47, |
| 182 |
0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x3c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 183 |
0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x65, |
| 184 |
0x72, 0x72, 0x6f, 0x72, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, |
| 185 |
0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, |
| 186 |
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x37, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, |
| 187 |
0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x65, 0x72, 0x72, |
| 188 |
0x6f, 0x72, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x62, 0x65, |
| 189 |
0x74, 0x61, 0x31, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x22, 0x3e, |
| 190 |
0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2b, 0x12, 0x29, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, |
| 191 |
0x2f, 0x7b, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, |
| 192 |
0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x2f, 0x2a, |
| 193 |
0x7d, 0xda, 0x41, 0x0a, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0xc9, |
| 194 |
0x01, 0x0a, 0x0b, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x3f, |
| 195 |
0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, |
| 196 |
0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x72, 0x65, 0x70, 0x6f, 0x72, |
| 197 |
0x74, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x55, 0x70, 0x64, |
| 198 |
0x61, 0x74, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, |
| 199 |
0x37, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, |
| 200 |
0x73, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x72, 0x65, 0x70, 0x6f, |
| 201 |
0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x45, 0x72, |
| 202 |
0x72, 0x6f, 0x72, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x22, 0x40, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x32, |
| 203 |
0x1a, 0x29, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x67, 0x72, 0x6f, 0x75, |
| 204 |
0x70, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, |
| 205 |
0x2a, 0x2f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x05, 0x67, 0x72, 0x6f, |
| 206 |
0x75, 0x70, 0xda, 0x41, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x1a, 0x56, 0xca, 0x41, 0x22, 0x63, |
| 207 |
0x6c, 0x6f, 0x75, 0x64, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x69, |
| 208 |
0x6e, 0x67, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, |
| 209 |
0x6d, 0xd2, 0x41, 0x2e, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, |
| 210 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, |
| 211 |
0x75, 0x74, 0x68, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2d, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, |
| 212 |
0x72, 0x6d, 0x42, 0xa3, 0x02, 0x0a, 0x2f, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 213 |
0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, |
| 214 |
0x65, 0x72, 0x72, 0x6f, 0x72, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x76, |
| 215 |
0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x42, 0x16, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x47, 0x72, 0x6f, |
| 216 |
0x75, 0x70, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, |
| 217 |
0x5a, 0x5e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, |
| 218 |
0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, |
| 219 |
0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, |
| 220 |
0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x72, 0x65, 0x70, 0x6f, 0x72, |
| 221 |
0x74, 0x69, 0x6e, 0x67, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x3b, 0x63, 0x6c, 0x6f, |
| 222 |
0x75, 0x64, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x69, 0x6e, 0x67, |
| 223 |
0xf8, 0x01, 0x01, 0xaa, 0x02, 0x23, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, |
| 224 |
0x75, 0x64, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x69, 0x6e, |
| 225 |
0x67, 0x2e, 0x56, 0x31, 0x42, 0x65, 0x74, 0x61, 0x31, 0xca, 0x02, 0x23, 0x47, 0x6f, 0x6f, 0x67, |
| 226 |
0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x65, |
| 227 |
0x70, 0x6f, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xea, |
| 228 |
0x02, 0x26, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, |
| 229 |
0x3a, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x3a, |
| 230 |
0x3a, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
| 231 |
} |
| 232 |
|
| 233 |
var ( |
| 234 |
file_google_devtools_clouderrorreporting_v1beta1_error_group_service_proto_rawDescOnce sync.Once |
| 235 |
file_google_devtools_clouderrorreporting_v1beta1_error_group_service_proto_rawDescData = file_google_devtools_clouderrorreporting_v1beta1_error_group_service_proto_rawDesc |
| 236 |
) |
| 237 |
|
| 238 |
func file_google_devtools_clouderrorreporting_v1beta1_error_group_service_proto_rawDescGZIP() []byte { |
| 239 |
file_google_devtools_clouderrorreporting_v1beta1_error_group_service_proto_rawDescOnce.Do(func() { |
| 240 |
file_google_devtools_clouderrorreporting_v1beta1_error_group_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_devtools_clouderrorreporting_v1beta1_error_group_service_proto_rawDescData) |
| 241 |
}) |
| 242 |
return file_google_devtools_clouderrorreporting_v1beta1_error_group_service_proto_rawDescData |
| 243 |
} |
| 244 |
|
| 245 |
var file_google_devtools_clouderrorreporting_v1beta1_error_group_service_proto_msgTypes = make([]protoimpl.MessageInfo, 2) |
| 246 |
var file_google_devtools_clouderrorreporting_v1beta1_error_group_service_proto_goTypes = []interface{}{ |
| 247 |
(*GetGroupRequest)(nil), // 0: google.devtools.clouderrorreporting.v1beta1.GetGroupRequest |
| 248 |
(*UpdateGroupRequest)(nil), // 1: google.devtools.clouderrorreporting.v1beta1.UpdateGroupRequest |
| 249 |
(*ErrorGroup)(nil), // 2: google.devtools.clouderrorreporting.v1beta1.ErrorGroup |
| 250 |
} |
| 251 |
var file_google_devtools_clouderrorreporting_v1beta1_error_group_service_proto_depIdxs = []int32{ |
| 252 |
2, // 0: google.devtools.clouderrorreporting.v1beta1.UpdateGroupRequest.group:type_name -> google.devtools.clouderrorreporting.v1beta1.ErrorGroup |
| 253 |
0, // 1: google.devtools.clouderrorreporting.v1beta1.ErrorGroupService.GetGroup:input_type -> google.devtools.clouderrorreporting.v1beta1.GetGroupRequest |
| 254 |
1, // 2: google.devtools.clouderrorreporting.v1beta1.ErrorGroupService.UpdateGroup:input_type -> google.devtools.clouderrorreporting.v1beta1.UpdateGroupRequest |
| 255 |
2, // 3: google.devtools.clouderrorreporting.v1beta1.ErrorGroupService.GetGroup:output_type -> google.devtools.clouderrorreporting.v1beta1.ErrorGroup |
| 256 |
2, // 4: google.devtools.clouderrorreporting.v1beta1.ErrorGroupService.UpdateGroup:output_type -> google.devtools.clouderrorreporting.v1beta1.ErrorGroup |
| 257 |
3, // [3:5] is the sub-list for method output_type |
| 258 |
1, // [1:3] is the sub-list for method input_type |
| 259 |
1, // [1:1] is the sub-list for extension type_name |
| 260 |
1, // [1:1] is the sub-list for extension extendee |
| 261 |
0, // [0:1] is the sub-list for field type_name |
| 262 |
} |
| 263 |
|
| 264 |
func init() { file_google_devtools_clouderrorreporting_v1beta1_error_group_service_proto_init() } |
| 265 |
func file_google_devtools_clouderrorreporting_v1beta1_error_group_service_proto_init() { |
| 266 |
if File_google_devtools_clouderrorreporting_v1beta1_error_group_service_proto != nil { |
| 267 |
return |
| 268 |
} |
| 269 |
file_google_devtools_clouderrorreporting_v1beta1_common_proto_init() |
| 270 |
if !protoimpl.UnsafeEnabled { |
| 271 |
file_google_devtools_clouderrorreporting_v1beta1_error_group_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { |
| 272 |
switch v := v.(*GetGroupRequest); i { |
| 273 |
case 0: |
| 274 |
return &v.state |
| 275 |
case 1: |
| 276 |
return &v.sizeCache |
| 277 |
case 2: |
| 278 |
return &v.unknownFields |
| 279 |
default: |
| 280 |
return nil |
| 281 |
} |
| 282 |
} |
| 283 |
file_google_devtools_clouderrorreporting_v1beta1_error_group_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { |
| 284 |
switch v := v.(*UpdateGroupRequest); i { |
| 285 |
case 0: |
| 286 |
return &v.state |
| 287 |
case 1: |
| 288 |
return &v.sizeCache |
| 289 |
case 2: |
| 290 |
return &v.unknownFields |
| 291 |
default: |
| 292 |
return nil |
| 293 |
} |
| 294 |
} |
| 295 |
} |
| 296 |
type x struct{} |
| 297 |
out := protoimpl.TypeBuilder{ |
| 298 |
File: protoimpl.DescBuilder{ |
| 299 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 300 |
RawDescriptor: file_google_devtools_clouderrorreporting_v1beta1_error_group_service_proto_rawDesc, |
| 301 |
NumEnums: 0, |
| 302 |
NumMessages: 2, |
| 303 |
NumExtensions: 0, |
| 304 |
NumServices: 1, |
| 305 |
}, |
| 306 |
GoTypes: file_google_devtools_clouderrorreporting_v1beta1_error_group_service_proto_goTypes, |
| 307 |
DependencyIndexes: file_google_devtools_clouderrorreporting_v1beta1_error_group_service_proto_depIdxs, |
| 308 |
MessageInfos: file_google_devtools_clouderrorreporting_v1beta1_error_group_service_proto_msgTypes, |
| 309 |
}.Build() |
| 310 |
File_google_devtools_clouderrorreporting_v1beta1_error_group_service_proto = out.File |
| 311 |
file_google_devtools_clouderrorreporting_v1beta1_error_group_service_proto_rawDesc = nil |
| 312 |
file_google_devtools_clouderrorreporting_v1beta1_error_group_service_proto_goTypes = nil |
| 313 |
file_google_devtools_clouderrorreporting_v1beta1_error_group_service_proto_depIdxs = nil |
| 314 |
} |
| 315 |
|
| 316 |
// Reference imports to suppress errors if they are not otherwise used. |
| 317 |
var _ context.Context |
| 318 |
var _ grpc.ClientConnInterface |
| 319 |
|
| 320 |
// This is a compile-time assertion to ensure that this generated file |
| 321 |
// is compatible with the grpc package it is being compiled against. |
| 322 |
const _ = grpc.SupportPackageIsVersion6 |
| 323 |
|
| 324 |
// ErrorGroupServiceClient is the client API for ErrorGroupService service. |
| 325 |
// |
| 326 |
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. |
| 327 |
type ErrorGroupServiceClient interface { |
| 328 |
// Get the specified group. |
| 329 |
GetGroup(ctx context.Context, in *GetGroupRequest, opts ...grpc.CallOption) (*ErrorGroup, error) |
| 330 |
// Replace the data for the specified group. |
| 331 |
// Fails if the group does not exist. |
| 332 |
UpdateGroup(ctx context.Context, in *UpdateGroupRequest, opts ...grpc.CallOption) (*ErrorGroup, error) |
| 333 |
} |
| 334 |
|
| 335 |
type errorGroupServiceClient struct { |
| 336 |
cc grpc.ClientConnInterface |
| 337 |
} |
| 338 |
|
| 339 |
func NewErrorGroupServiceClient(cc grpc.ClientConnInterface) ErrorGroupServiceClient { |
| 340 |
return &errorGroupServiceClient{cc} |
| 341 |
} |
| 342 |
|
| 343 |
func (c *errorGroupServiceClient) GetGroup(ctx context.Context, in *GetGroupRequest, opts ...grpc.CallOption) (*ErrorGroup, error) { |
| 344 |
out := new(ErrorGroup) |
| 345 |
err := c.cc.Invoke(ctx, "/google.devtools.clouderrorreporting.v1beta1.ErrorGroupService/GetGroup", in, out, opts...) |
| 346 |
if err != nil { |
| 347 |
return nil, err |
| 348 |
} |
| 349 |
return out, nil |
| 350 |
} |
| 351 |
|
| 352 |
func (c *errorGroupServiceClient) UpdateGroup(ctx context.Context, in *UpdateGroupRequest, opts ...grpc.CallOption) (*ErrorGroup, error) { |
| 353 |
out := new(ErrorGroup) |
| 354 |
err := c.cc.Invoke(ctx, "/google.devtools.clouderrorreporting.v1beta1.ErrorGroupService/UpdateGroup", in, out, opts...) |
| 355 |
if err != nil { |
| 356 |
return nil, err |
| 357 |
} |
| 358 |
return out, nil |
| 359 |
} |
| 360 |
|
| 361 |
// ErrorGroupServiceServer is the server API for ErrorGroupService service. |
| 362 |
type ErrorGroupServiceServer interface { |
| 363 |
// Get the specified group. |
| 364 |
GetGroup(context.Context, *GetGroupRequest) (*ErrorGroup, error) |
| 365 |
// Replace the data for the specified group. |
| 366 |
// Fails if the group does not exist. |
| 367 |
UpdateGroup(context.Context, *UpdateGroupRequest) (*ErrorGroup, error) |
| 368 |
} |
| 369 |
|
| 370 |
// UnimplementedErrorGroupServiceServer can be embedded to have forward compatible implementations. |
| 371 |
type UnimplementedErrorGroupServiceServer struct { |
| 372 |
} |
| 373 |
|
| 374 |
func (*UnimplementedErrorGroupServiceServer) GetGroup(context.Context, *GetGroupRequest) (*ErrorGroup, error) { |
| 375 |
return nil, status.Errorf(codes.Unimplemented, "method GetGroup not implemented") |
| 376 |
} |
| 377 |
func (*UnimplementedErrorGroupServiceServer) UpdateGroup(context.Context, *UpdateGroupRequest) (*ErrorGroup, error) { |
| 378 |
return nil, status.Errorf(codes.Unimplemented, "method UpdateGroup not implemented") |
| 379 |
} |
| 380 |
|
| 381 |
func RegisterErrorGroupServiceServer(s *grpc.Server, srv ErrorGroupServiceServer) { |
| 382 |
s.RegisterService(&_ErrorGroupService_serviceDesc, srv) |
| 383 |
} |
| 384 |
|
| 385 |
func _ErrorGroupService_GetGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 386 |
in := new(GetGroupRequest) |
| 387 |
if err := dec(in); err != nil { |
| 388 |
return nil, err |
| 389 |
} |
| 390 |
if interceptor == nil { |
| 391 |
return srv.(ErrorGroupServiceServer).GetGroup(ctx, in) |
| 392 |
} |
| 393 |
info := &grpc.UnaryServerInfo{ |
| 394 |
Server: srv, |
| 395 |
FullMethod: "/google.devtools.clouderrorreporting.v1beta1.ErrorGroupService/GetGroup", |
| 396 |
} |
| 397 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 398 |
return srv.(ErrorGroupServiceServer).GetGroup(ctx, req.(*GetGroupRequest)) |
| 399 |
} |
| 400 |
return interceptor(ctx, in, info, handler) |
| 401 |
} |
| 402 |
|
| 403 |
func _ErrorGroupService_UpdateGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 404 |
in := new(UpdateGroupRequest) |
| 405 |
if err := dec(in); err != nil { |
| 406 |
return nil, err |
| 407 |
} |
| 408 |
if interceptor == nil { |
| 409 |
return srv.(ErrorGroupServiceServer).UpdateGroup(ctx, in) |
| 410 |
} |
| 411 |
info := &grpc.UnaryServerInfo{ |
| 412 |
Server: srv, |
| 413 |
FullMethod: "/google.devtools.clouderrorreporting.v1beta1.ErrorGroupService/UpdateGroup", |
| 414 |
} |
| 415 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 416 |
return srv.(ErrorGroupServiceServer).UpdateGroup(ctx, req.(*UpdateGroupRequest)) |
| 417 |
} |
| 418 |
return interceptor(ctx, in, info, handler) |
| 419 |
} |
| 420 |
|
| 421 |
var _ErrorGroupService_serviceDesc = grpc.ServiceDesc{ |
| 422 |
ServiceName: "google.devtools.clouderrorreporting.v1beta1.ErrorGroupService", |
| 423 |
HandlerType: (*ErrorGroupServiceServer)(nil), |
| 424 |
Methods: []grpc.MethodDesc{ |
| 425 |
{ |
| 426 |
MethodName: "GetGroup", |
| 427 |
Handler: _ErrorGroupService_GetGroup_Handler, |
| 428 |
}, |
| 429 |
{ |
| 430 |
MethodName: "UpdateGroup", |
| 431 |
Handler: _ErrorGroupService_UpdateGroup_Handler, |
| 432 |
}, |
| 433 |
}, |
| 434 |
Streams: []grpc.StreamDesc{}, |
| 435 |
Metadata: "google/devtools/clouderrorreporting/v1beta1/error_group_service.proto", |
| 436 |
} |