1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 package logging
22
23 import (
24 reflect "reflect"
25 sync "sync"
26
27 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
28 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
29 timestamppb "google.golang.org/protobuf/types/known/timestamppb"
30 )
31
32 const (
33
34 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
35
36 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
37 )
38
39
40 type CertificatesExpiry_State int32
41
42 const (
43
44 CertificatesExpiry_STATE_UNSPECIFIED CertificatesExpiry_State = 0
45
46 CertificatesExpiry_CLOSE_TO_EXPIRY CertificatesExpiry_State = 1
47
48 CertificatesExpiry_EXPIRED CertificatesExpiry_State = 2
49 )
50
51
52 var (
53 CertificatesExpiry_State_name = map[int32]string{
54 0: "STATE_UNSPECIFIED",
55 1: "CLOSE_TO_EXPIRY",
56 2: "EXPIRED",
57 }
58 CertificatesExpiry_State_value = map[string]int32{
59 "STATE_UNSPECIFIED": 0,
60 "CLOSE_TO_EXPIRY": 1,
61 "EXPIRED": 2,
62 }
63 )
64
65 func (x CertificatesExpiry_State) Enum() *CertificatesExpiry_State {
66 p := new(CertificatesExpiry_State)
67 *p = x
68 return p
69 }
70
71 func (x CertificatesExpiry_State) String() string {
72 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
73 }
74
75 func (CertificatesExpiry_State) Descriptor() protoreflect.EnumDescriptor {
76 return file_google_cloud_certificatemanager_logging_v1_logs_proto_enumTypes[0].Descriptor()
77 }
78
79 func (CertificatesExpiry_State) Type() protoreflect.EnumType {
80 return &file_google_cloud_certificatemanager_logging_v1_logs_proto_enumTypes[0]
81 }
82
83 func (x CertificatesExpiry_State) Number() protoreflect.EnumNumber {
84 return protoreflect.EnumNumber(x)
85 }
86
87
88 func (CertificatesExpiry_State) EnumDescriptor() ([]byte, []int) {
89 return file_google_cloud_certificatemanager_logging_v1_logs_proto_rawDescGZIP(), []int{0, 0}
90 }
91
92
93
94 type CertificatesExpiry struct {
95 state protoimpl.MessageState
96 sizeCache protoimpl.SizeCache
97 unknownFields protoimpl.UnknownFields
98
99
100 Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
101
102 Certificates []string `protobuf:"bytes,2,rep,name=certificates,proto3" json:"certificates,omitempty"`
103
104 State CertificatesExpiry_State `protobuf:"varint,3,opt,name=state,proto3,enum=google.cloud.certificatemanager.logging.v1.CertificatesExpiry_State" json:"state,omitempty"`
105
106
107
108 ExpireTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"`
109 }
110
111 func (x *CertificatesExpiry) Reset() {
112 *x = CertificatesExpiry{}
113 if protoimpl.UnsafeEnabled {
114 mi := &file_google_cloud_certificatemanager_logging_v1_logs_proto_msgTypes[0]
115 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
116 ms.StoreMessageInfo(mi)
117 }
118 }
119
120 func (x *CertificatesExpiry) String() string {
121 return protoimpl.X.MessageStringOf(x)
122 }
123
124 func (*CertificatesExpiry) ProtoMessage() {}
125
126 func (x *CertificatesExpiry) ProtoReflect() protoreflect.Message {
127 mi := &file_google_cloud_certificatemanager_logging_v1_logs_proto_msgTypes[0]
128 if protoimpl.UnsafeEnabled && x != nil {
129 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
130 if ms.LoadMessageInfo() == nil {
131 ms.StoreMessageInfo(mi)
132 }
133 return ms
134 }
135 return mi.MessageOf(x)
136 }
137
138
139 func (*CertificatesExpiry) Descriptor() ([]byte, []int) {
140 return file_google_cloud_certificatemanager_logging_v1_logs_proto_rawDescGZIP(), []int{0}
141 }
142
143 func (x *CertificatesExpiry) GetCount() int64 {
144 if x != nil {
145 return x.Count
146 }
147 return 0
148 }
149
150 func (x *CertificatesExpiry) GetCertificates() []string {
151 if x != nil {
152 return x.Certificates
153 }
154 return nil
155 }
156
157 func (x *CertificatesExpiry) GetState() CertificatesExpiry_State {
158 if x != nil {
159 return x.State
160 }
161 return CertificatesExpiry_STATE_UNSPECIFIED
162 }
163
164 func (x *CertificatesExpiry) GetExpireTime() *timestamppb.Timestamp {
165 if x != nil {
166 return x.ExpireTime
167 }
168 return nil
169 }
170
171 var File_google_cloud_certificatemanager_logging_v1_logs_proto protoreflect.FileDescriptor
172
173 var file_google_cloud_certificatemanager_logging_v1_logs_proto_rawDesc = []byte{
174 0x0a, 0x35, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x63,
175 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65,
176 0x72, 0x2f, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x2f, 0x76, 0x31, 0x2f, 0x6c, 0x6f, 0x67,
177 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x2a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
178 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74,
179 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67,
180 0x2e, 0x76, 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74,
181 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70,
182 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa9, 0x02, 0x0a, 0x12, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69,
183 0x63, 0x61, 0x74, 0x65, 0x73, 0x45, 0x78, 0x70, 0x69, 0x72, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x63,
184 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e,
185 0x74, 0x12, 0x22, 0x0a, 0x0c, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65,
186 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69,
187 0x63, 0x61, 0x74, 0x65, 0x73, 0x12, 0x5a, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x03,
188 0x20, 0x01, 0x28, 0x0e, 0x32, 0x44, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c,
189 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x6d,
190 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x2e, 0x76,
191 0x31, 0x2e, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x73, 0x45, 0x78,
192 0x70, 0x69, 0x72, 0x79, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74,
193 0x65, 0x12, 0x3b, 0x0a, 0x0b, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65,
194 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
195 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61,
196 0x6d, 0x70, 0x52, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x22, 0x40,
197 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x54, 0x41, 0x54, 0x45,
198 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x13,
199 0x0a, 0x0f, 0x43, 0x4c, 0x4f, 0x53, 0x45, 0x5f, 0x54, 0x4f, 0x5f, 0x45, 0x58, 0x50, 0x49, 0x52,
200 0x59, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x45, 0x58, 0x50, 0x49, 0x52, 0x45, 0x44, 0x10, 0x02,
201 0x42, 0x9b, 0x02, 0x0a, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
202 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74,
203 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67,
204 0x2e, 0x76, 0x31, 0x42, 0x09, 0x4c, 0x6f, 0x67, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01,
205 0x5a, 0x51, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e,
206 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f,
207 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x63, 0x65,
208 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72,
209 0x2f, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x2f, 0x76, 0x31, 0x3b, 0x6c, 0x6f, 0x67, 0x67,
210 0x69, 0x6e, 0x67, 0xaa, 0x02, 0x2a, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f,
211 0x75, 0x64, 0x2e, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x4d, 0x61,
212 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x4c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x2e, 0x56, 0x31,
213 0xca, 0x02, 0x2a, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c,
214 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x6e, 0x61, 0x67,
215 0x65, 0x72, 0x5c, 0x4c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x5c, 0x56, 0x31, 0xea, 0x02, 0x2e,
216 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x43,
217 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65,
218 0x72, 0x3a, 0x3a, 0x4c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06,
219 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
220 }
221
222 var (
223 file_google_cloud_certificatemanager_logging_v1_logs_proto_rawDescOnce sync.Once
224 file_google_cloud_certificatemanager_logging_v1_logs_proto_rawDescData = file_google_cloud_certificatemanager_logging_v1_logs_proto_rawDesc
225 )
226
227 func file_google_cloud_certificatemanager_logging_v1_logs_proto_rawDescGZIP() []byte {
228 file_google_cloud_certificatemanager_logging_v1_logs_proto_rawDescOnce.Do(func() {
229 file_google_cloud_certificatemanager_logging_v1_logs_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_certificatemanager_logging_v1_logs_proto_rawDescData)
230 })
231 return file_google_cloud_certificatemanager_logging_v1_logs_proto_rawDescData
232 }
233
234 var file_google_cloud_certificatemanager_logging_v1_logs_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
235 var file_google_cloud_certificatemanager_logging_v1_logs_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
236 var file_google_cloud_certificatemanager_logging_v1_logs_proto_goTypes = []interface{}{
237 (CertificatesExpiry_State)(0),
238 (*CertificatesExpiry)(nil),
239 (*timestamppb.Timestamp)(nil),
240 }
241 var file_google_cloud_certificatemanager_logging_v1_logs_proto_depIdxs = []int32{
242 0,
243 2,
244 2,
245 2,
246 2,
247 2,
248 0,
249 }
250
251 func init() { file_google_cloud_certificatemanager_logging_v1_logs_proto_init() }
252 func file_google_cloud_certificatemanager_logging_v1_logs_proto_init() {
253 if File_google_cloud_certificatemanager_logging_v1_logs_proto != nil {
254 return
255 }
256 if !protoimpl.UnsafeEnabled {
257 file_google_cloud_certificatemanager_logging_v1_logs_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
258 switch v := v.(*CertificatesExpiry); i {
259 case 0:
260 return &v.state
261 case 1:
262 return &v.sizeCache
263 case 2:
264 return &v.unknownFields
265 default:
266 return nil
267 }
268 }
269 }
270 type x struct{}
271 out := protoimpl.TypeBuilder{
272 File: protoimpl.DescBuilder{
273 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
274 RawDescriptor: file_google_cloud_certificatemanager_logging_v1_logs_proto_rawDesc,
275 NumEnums: 1,
276 NumMessages: 1,
277 NumExtensions: 0,
278 NumServices: 0,
279 },
280 GoTypes: file_google_cloud_certificatemanager_logging_v1_logs_proto_goTypes,
281 DependencyIndexes: file_google_cloud_certificatemanager_logging_v1_logs_proto_depIdxs,
282 EnumInfos: file_google_cloud_certificatemanager_logging_v1_logs_proto_enumTypes,
283 MessageInfos: file_google_cloud_certificatemanager_logging_v1_logs_proto_msgTypes,
284 }.Build()
285 File_google_cloud_certificatemanager_logging_v1_logs_proto = out.File
286 file_google_cloud_certificatemanager_logging_v1_logs_proto_rawDesc = nil
287 file_google_cloud_certificatemanager_logging_v1_logs_proto_goTypes = nil
288 file_google_cloud_certificatemanager_logging_v1_logs_proto_depIdxs = nil
289 }
290
View as plain text