| 1 |
// Copyright 2022 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.12.2 |
| 19 |
// source: google/cloud/ids/logging/v1/logging.proto |
| 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 |
durationpb "google.golang.org/protobuf/types/known/durationpb" |
| 30 |
timestamppb "google.golang.org/protobuf/types/known/timestamppb" |
| 31 |
) |
| 32 |
|
| 33 |
const ( |
| 34 |
// Verify that this generated code is sufficiently up-to-date. |
| 35 |
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| 36 |
// Verify that runtime/protoimpl is sufficiently up-to-date. |
| 37 |
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| 38 |
) |
| 39 |
|
| 40 |
// Describes the type of severity of the threat. |
| 41 |
type ThreatLog_Severity int32 |
| 42 |
|
| 43 |
const ( |
| 44 |
// Default value - should never be used. |
| 45 |
ThreatLog_SEVERITY_UNSPECIFIED ThreatLog_Severity = 0 |
| 46 |
ThreatLog_LOW ThreatLog_Severity = 2 |
| 47 |
ThreatLog_MEDIUM ThreatLog_Severity = 3 |
| 48 |
ThreatLog_HIGH ThreatLog_Severity = 4 |
| 49 |
ThreatLog_CRITICAL ThreatLog_Severity = 5 |
| 50 |
ThreatLog_INFORMATIONAL ThreatLog_Severity = 6 |
| 51 |
) |
| 52 |
|
| 53 |
// Enum value maps for ThreatLog_Severity. |
| 54 |
var ( |
| 55 |
ThreatLog_Severity_name = map[int32]string{ |
| 56 |
0: "SEVERITY_UNSPECIFIED", |
| 57 |
2: "LOW", |
| 58 |
3: "MEDIUM", |
| 59 |
4: "HIGH", |
| 60 |
5: "CRITICAL", |
| 61 |
6: "INFORMATIONAL", |
| 62 |
} |
| 63 |
ThreatLog_Severity_value = map[string]int32{ |
| 64 |
"SEVERITY_UNSPECIFIED": 0, |
| 65 |
"LOW": 2, |
| 66 |
"MEDIUM": 3, |
| 67 |
"HIGH": 4, |
| 68 |
"CRITICAL": 5, |
| 69 |
"INFORMATIONAL": 6, |
| 70 |
} |
| 71 |
) |
| 72 |
|
| 73 |
func (x ThreatLog_Severity) Enum() *ThreatLog_Severity { |
| 74 |
p := new(ThreatLog_Severity) |
| 75 |
*p = x |
| 76 |
return p |
| 77 |
} |
| 78 |
|
| 79 |
func (x ThreatLog_Severity) String() string { |
| 80 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 81 |
} |
| 82 |
|
| 83 |
func (ThreatLog_Severity) Descriptor() protoreflect.EnumDescriptor { |
| 84 |
return file_google_cloud_ids_logging_v1_logging_proto_enumTypes[0].Descriptor() |
| 85 |
} |
| 86 |
|
| 87 |
func (ThreatLog_Severity) Type() protoreflect.EnumType { |
| 88 |
return &file_google_cloud_ids_logging_v1_logging_proto_enumTypes[0] |
| 89 |
} |
| 90 |
|
| 91 |
func (x ThreatLog_Severity) Number() protoreflect.EnumNumber { |
| 92 |
return protoreflect.EnumNumber(x) |
| 93 |
} |
| 94 |
|
| 95 |
// Deprecated: Use ThreatLog_Severity.Descriptor instead. |
| 96 |
func (ThreatLog_Severity) EnumDescriptor() ([]byte, []int) { |
| 97 |
return file_google_cloud_ids_logging_v1_logging_proto_rawDescGZIP(), []int{0, 0} |
| 98 |
} |
| 99 |
|
| 100 |
type ThreatLog_Direction int32 |
| 101 |
|
| 102 |
const ( |
| 103 |
// Default value - permitted since Direction is optional. |
| 104 |
ThreatLog_DIRECTION_UNDEFINED ThreatLog_Direction = 0 |
| 105 |
// Ingress traffic. |
| 106 |
ThreatLog_CLIENT_TO_SERVER ThreatLog_Direction = 1 |
| 107 |
// Egress traffic. |
| 108 |
ThreatLog_SERVER_TO_CLIENT ThreatLog_Direction = 2 |
| 109 |
) |
| 110 |
|
| 111 |
// Enum value maps for ThreatLog_Direction. |
| 112 |
var ( |
| 113 |
ThreatLog_Direction_name = map[int32]string{ |
| 114 |
0: "DIRECTION_UNDEFINED", |
| 115 |
1: "CLIENT_TO_SERVER", |
| 116 |
2: "SERVER_TO_CLIENT", |
| 117 |
} |
| 118 |
ThreatLog_Direction_value = map[string]int32{ |
| 119 |
"DIRECTION_UNDEFINED": 0, |
| 120 |
"CLIENT_TO_SERVER": 1, |
| 121 |
"SERVER_TO_CLIENT": 2, |
| 122 |
} |
| 123 |
) |
| 124 |
|
| 125 |
func (x ThreatLog_Direction) Enum() *ThreatLog_Direction { |
| 126 |
p := new(ThreatLog_Direction) |
| 127 |
*p = x |
| 128 |
return p |
| 129 |
} |
| 130 |
|
| 131 |
func (x ThreatLog_Direction) String() string { |
| 132 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 133 |
} |
| 134 |
|
| 135 |
func (ThreatLog_Direction) Descriptor() protoreflect.EnumDescriptor { |
| 136 |
return file_google_cloud_ids_logging_v1_logging_proto_enumTypes[1].Descriptor() |
| 137 |
} |
| 138 |
|
| 139 |
func (ThreatLog_Direction) Type() protoreflect.EnumType { |
| 140 |
return &file_google_cloud_ids_logging_v1_logging_proto_enumTypes[1] |
| 141 |
} |
| 142 |
|
| 143 |
func (x ThreatLog_Direction) Number() protoreflect.EnumNumber { |
| 144 |
return protoreflect.EnumNumber(x) |
| 145 |
} |
| 146 |
|
| 147 |
// Deprecated: Use ThreatLog_Direction.Descriptor instead. |
| 148 |
func (ThreatLog_Direction) EnumDescriptor() ([]byte, []int) { |
| 149 |
return file_google_cloud_ids_logging_v1_logging_proto_rawDescGZIP(), []int{0, 1} |
| 150 |
} |
| 151 |
|
| 152 |
// A threat detected by Cloud IDS. |
| 153 |
type ThreatLog struct { |
| 154 |
state protoimpl.MessageState |
| 155 |
sizeCache protoimpl.SizeCache |
| 156 |
unknownFields protoimpl.UnknownFields |
| 157 |
|
| 158 |
// Name of the threat, e,g. "Suspicious HTTP Evasion" |
| 159 |
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| 160 |
// Unique ID of the threat. |
| 161 |
ThreatId string `protobuf:"bytes,13,opt,name=threat_id,json=threatId,proto3" json:"threat_id,omitempty"` |
| 162 |
// The time of the alert. |
| 163 |
AlertTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=alert_time,json=alertTime,proto3" json:"alert_time,omitempty"` |
| 164 |
// Severity of threat. |
| 165 |
AlertSeverity ThreatLog_Severity `protobuf:"varint,19,opt,name=alert_severity,json=alertSeverity,proto3,enum=google.cloud.ids.logging.v1.ThreatLog_Severity" json:"alert_severity,omitempty"` |
| 166 |
// The type of the threat, e.g. "Spyware". |
| 167 |
Type string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"` |
| 168 |
// Category (sub-type) of the threat, e.g. "code-execution". |
| 169 |
Category string `protobuf:"bytes,18,opt,name=category,proto3" json:"category,omitempty"` |
| 170 |
// The source IP Address of the packet, e.g. "35.191.8.79" |
| 171 |
SourceIpAddress string `protobuf:"bytes,5,opt,name=source_ip_address,json=sourceIpAddress,proto3" json:"source_ip_address,omitempty"` |
| 172 |
// The source port of the packet, e.g. 8080 |
| 173 |
SourcePort int32 `protobuf:"varint,6,opt,name=source_port,json=sourcePort,proto3" json:"source_port,omitempty"` |
| 174 |
// The destination IP Address of the packet, e.g. "192.168.100.2" |
| 175 |
DestinationIpAddress string `protobuf:"bytes,7,opt,name=destination_ip_address,json=destinationIpAddress,proto3" json:"destination_ip_address,omitempty"` |
| 176 |
// The destination port of the packet, e.g. 100 |
| 177 |
DestinationPort int32 `protobuf:"varint,8,opt,name=destination_port,json=destinationPort,proto3" json:"destination_port,omitempty"` |
| 178 |
// The IP protocol of the packet, e.g. "TCP". |
| 179 |
IpProtocol string `protobuf:"bytes,9,opt,name=ip_protocol,json=ipProtocol,proto3" json:"ip_protocol,omitempty"` |
| 180 |
// The direction of the packet - an optional field. |
| 181 |
Direction ThreatLog_Direction `protobuf:"varint,10,opt,name=direction,proto3,enum=google.cloud.ids.logging.v1.ThreatLog_Direction" json:"direction,omitempty"` |
| 182 |
// ID of the Layer 4 session of the threat. |
| 183 |
SessionId string `protobuf:"bytes,14,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"` |
| 184 |
// Number of sessions with same source IP, destination IP, application, and |
| 185 |
// type seen within 5 seconds. |
| 186 |
RepeatCount string `protobuf:"bytes,15,opt,name=repeat_count,json=repeatCount,proto3" json:"repeat_count,omitempty"` |
| 187 |
// Application associated with the session. |
| 188 |
Application string `protobuf:"bytes,16,opt,name=application,proto3" json:"application,omitempty"` |
| 189 |
// Variable field. URI or filename of the relevant threat, if applicable. |
| 190 |
UriOrFilename string `protobuf:"bytes,17,opt,name=uri_or_filename,json=uriOrFilename,proto3" json:"uri_or_filename,omitempty"` |
| 191 |
// CVE IDs of the threat. |
| 192 |
Cves []string `protobuf:"bytes,20,rep,name=cves,proto3" json:"cves,omitempty"` |
| 193 |
// Details of the threat reported by the IDS VM |
| 194 |
Details string `protobuf:"bytes,11,opt,name=details,proto3" json:"details,omitempty"` |
| 195 |
// The network associated with the IDS Endpoint. |
| 196 |
Network string `protobuf:"bytes,12,opt,name=network,proto3" json:"network,omitempty"` |
| 197 |
} |
| 198 |
|
| 199 |
func (x *ThreatLog) Reset() { |
| 200 |
*x = ThreatLog{} |
| 201 |
if protoimpl.UnsafeEnabled { |
| 202 |
mi := &file_google_cloud_ids_logging_v1_logging_proto_msgTypes[0] |
| 203 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 204 |
ms.StoreMessageInfo(mi) |
| 205 |
} |
| 206 |
} |
| 207 |
|
| 208 |
func (x *ThreatLog) String() string { |
| 209 |
return protoimpl.X.MessageStringOf(x) |
| 210 |
} |
| 211 |
|
| 212 |
func (*ThreatLog) ProtoMessage() {} |
| 213 |
|
| 214 |
func (x *ThreatLog) ProtoReflect() protoreflect.Message { |
| 215 |
mi := &file_google_cloud_ids_logging_v1_logging_proto_msgTypes[0] |
| 216 |
if protoimpl.UnsafeEnabled && x != nil { |
| 217 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 218 |
if ms.LoadMessageInfo() == nil { |
| 219 |
ms.StoreMessageInfo(mi) |
| 220 |
} |
| 221 |
return ms |
| 222 |
} |
| 223 |
return mi.MessageOf(x) |
| 224 |
} |
| 225 |
|
| 226 |
// Deprecated: Use ThreatLog.ProtoReflect.Descriptor instead. |
| 227 |
func (*ThreatLog) Descriptor() ([]byte, []int) { |
| 228 |
return file_google_cloud_ids_logging_v1_logging_proto_rawDescGZIP(), []int{0} |
| 229 |
} |
| 230 |
|
| 231 |
func (x *ThreatLog) GetName() string { |
| 232 |
if x != nil { |
| 233 |
return x.Name |
| 234 |
} |
| 235 |
return "" |
| 236 |
} |
| 237 |
|
| 238 |
func (x *ThreatLog) GetThreatId() string { |
| 239 |
if x != nil { |
| 240 |
return x.ThreatId |
| 241 |
} |
| 242 |
return "" |
| 243 |
} |
| 244 |
|
| 245 |
func (x *ThreatLog) GetAlertTime() *timestamppb.Timestamp { |
| 246 |
if x != nil { |
| 247 |
return x.AlertTime |
| 248 |
} |
| 249 |
return nil |
| 250 |
} |
| 251 |
|
| 252 |
func (x *ThreatLog) GetAlertSeverity() ThreatLog_Severity { |
| 253 |
if x != nil { |
| 254 |
return x.AlertSeverity |
| 255 |
} |
| 256 |
return ThreatLog_SEVERITY_UNSPECIFIED |
| 257 |
} |
| 258 |
|
| 259 |
func (x *ThreatLog) GetType() string { |
| 260 |
if x != nil { |
| 261 |
return x.Type |
| 262 |
} |
| 263 |
return "" |
| 264 |
} |
| 265 |
|
| 266 |
func (x *ThreatLog) GetCategory() string { |
| 267 |
if x != nil { |
| 268 |
return x.Category |
| 269 |
} |
| 270 |
return "" |
| 271 |
} |
| 272 |
|
| 273 |
func (x *ThreatLog) GetSourceIpAddress() string { |
| 274 |
if x != nil { |
| 275 |
return x.SourceIpAddress |
| 276 |
} |
| 277 |
return "" |
| 278 |
} |
| 279 |
|
| 280 |
func (x *ThreatLog) GetSourcePort() int32 { |
| 281 |
if x != nil { |
| 282 |
return x.SourcePort |
| 283 |
} |
| 284 |
return 0 |
| 285 |
} |
| 286 |
|
| 287 |
func (x *ThreatLog) GetDestinationIpAddress() string { |
| 288 |
if x != nil { |
| 289 |
return x.DestinationIpAddress |
| 290 |
} |
| 291 |
return "" |
| 292 |
} |
| 293 |
|
| 294 |
func (x *ThreatLog) GetDestinationPort() int32 { |
| 295 |
if x != nil { |
| 296 |
return x.DestinationPort |
| 297 |
} |
| 298 |
return 0 |
| 299 |
} |
| 300 |
|
| 301 |
func (x *ThreatLog) GetIpProtocol() string { |
| 302 |
if x != nil { |
| 303 |
return x.IpProtocol |
| 304 |
} |
| 305 |
return "" |
| 306 |
} |
| 307 |
|
| 308 |
func (x *ThreatLog) GetDirection() ThreatLog_Direction { |
| 309 |
if x != nil { |
| 310 |
return x.Direction |
| 311 |
} |
| 312 |
return ThreatLog_DIRECTION_UNDEFINED |
| 313 |
} |
| 314 |
|
| 315 |
func (x *ThreatLog) GetSessionId() string { |
| 316 |
if x != nil { |
| 317 |
return x.SessionId |
| 318 |
} |
| 319 |
return "" |
| 320 |
} |
| 321 |
|
| 322 |
func (x *ThreatLog) GetRepeatCount() string { |
| 323 |
if x != nil { |
| 324 |
return x.RepeatCount |
| 325 |
} |
| 326 |
return "" |
| 327 |
} |
| 328 |
|
| 329 |
func (x *ThreatLog) GetApplication() string { |
| 330 |
if x != nil { |
| 331 |
return x.Application |
| 332 |
} |
| 333 |
return "" |
| 334 |
} |
| 335 |
|
| 336 |
func (x *ThreatLog) GetUriOrFilename() string { |
| 337 |
if x != nil { |
| 338 |
return x.UriOrFilename |
| 339 |
} |
| 340 |
return "" |
| 341 |
} |
| 342 |
|
| 343 |
func (x *ThreatLog) GetCves() []string { |
| 344 |
if x != nil { |
| 345 |
return x.Cves |
| 346 |
} |
| 347 |
return nil |
| 348 |
} |
| 349 |
|
| 350 |
func (x *ThreatLog) GetDetails() string { |
| 351 |
if x != nil { |
| 352 |
return x.Details |
| 353 |
} |
| 354 |
return "" |
| 355 |
} |
| 356 |
|
| 357 |
func (x *ThreatLog) GetNetwork() string { |
| 358 |
if x != nil { |
| 359 |
return x.Network |
| 360 |
} |
| 361 |
return "" |
| 362 |
} |
| 363 |
|
| 364 |
// Traffic detected by Cloud IDS. |
| 365 |
// Fields taken from: |
| 366 |
// https://docs.paloaltonetworks.com/pan-os/8-1/pan-os-admin/monitoring/use-syslog-for-monitoring/syslog-field-descriptions/traffic-log-fields.html. |
| 367 |
type TrafficLog struct { |
| 368 |
state protoimpl.MessageState |
| 369 |
sizeCache protoimpl.SizeCache |
| 370 |
unknownFields protoimpl.UnknownFields |
| 371 |
|
| 372 |
// Time of session start. |
| 373 |
StartTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` |
| 374 |
// Elapsed time of the session. |
| 375 |
ElapsedTime *durationpb.Duration `protobuf:"bytes,2,opt,name=elapsed_time,json=elapsedTime,proto3" json:"elapsed_time,omitempty"` |
| 376 |
// The network associated with the IDS Endpoint. |
| 377 |
Network string `protobuf:"bytes,3,opt,name=network,proto3" json:"network,omitempty"` |
| 378 |
// The source IP Address of the packet, e.g. "35.191.8.79" |
| 379 |
SourceIpAddress string `protobuf:"bytes,4,opt,name=source_ip_address,json=sourceIpAddress,proto3" json:"source_ip_address,omitempty"` |
| 380 |
// The source port of the packet, e.g. 8080 |
| 381 |
SourcePort int32 `protobuf:"varint,5,opt,name=source_port,json=sourcePort,proto3" json:"source_port,omitempty"` |
| 382 |
// The destination IP Address of the packet, e.g. "192.168.100.2" |
| 383 |
DestinationIpAddress string `protobuf:"bytes,6,opt,name=destination_ip_address,json=destinationIpAddress,proto3" json:"destination_ip_address,omitempty"` |
| 384 |
// The destination port of the packet, e.g. 100 |
| 385 |
DestinationPort int32 `protobuf:"varint,7,opt,name=destination_port,json=destinationPort,proto3" json:"destination_port,omitempty"` |
| 386 |
// The IP protocol of the packet, e.g. "TCP". |
| 387 |
IpProtocol string `protobuf:"bytes,8,opt,name=ip_protocol,json=ipProtocol,proto3" json:"ip_protocol,omitempty"` |
| 388 |
// Application associated with the session. |
| 389 |
Application string `protobuf:"bytes,9,opt,name=application,proto3" json:"application,omitempty"` |
| 390 |
// The direction of the packet. |
| 391 |
SessionId string `protobuf:"bytes,12,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"` |
| 392 |
// Number of sessions with same source IP, destination IP, application, and |
| 393 |
// type seen within 5 seconds. |
| 394 |
RepeatCount string `protobuf:"bytes,13,opt,name=repeat_count,json=repeatCount,proto3" json:"repeat_count,omitempty"` |
| 395 |
// Total number of bytes transferred in the session. |
| 396 |
TotalBytes int64 `protobuf:"varint,14,opt,name=total_bytes,json=totalBytes,proto3" json:"total_bytes,omitempty"` |
| 397 |
// Total number of packets transferred in the session. |
| 398 |
TotalPackets int64 `protobuf:"varint,15,opt,name=total_packets,json=totalPackets,proto3" json:"total_packets,omitempty"` |
| 399 |
} |
| 400 |
|
| 401 |
func (x *TrafficLog) Reset() { |
| 402 |
*x = TrafficLog{} |
| 403 |
if protoimpl.UnsafeEnabled { |
| 404 |
mi := &file_google_cloud_ids_logging_v1_logging_proto_msgTypes[1] |
| 405 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 406 |
ms.StoreMessageInfo(mi) |
| 407 |
} |
| 408 |
} |
| 409 |
|
| 410 |
func (x *TrafficLog) String() string { |
| 411 |
return protoimpl.X.MessageStringOf(x) |
| 412 |
} |
| 413 |
|
| 414 |
func (*TrafficLog) ProtoMessage() {} |
| 415 |
|
| 416 |
func (x *TrafficLog) ProtoReflect() protoreflect.Message { |
| 417 |
mi := &file_google_cloud_ids_logging_v1_logging_proto_msgTypes[1] |
| 418 |
if protoimpl.UnsafeEnabled && x != nil { |
| 419 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 420 |
if ms.LoadMessageInfo() == nil { |
| 421 |
ms.StoreMessageInfo(mi) |
| 422 |
} |
| 423 |
return ms |
| 424 |
} |
| 425 |
return mi.MessageOf(x) |
| 426 |
} |
| 427 |
|
| 428 |
// Deprecated: Use TrafficLog.ProtoReflect.Descriptor instead. |
| 429 |
func (*TrafficLog) Descriptor() ([]byte, []int) { |
| 430 |
return file_google_cloud_ids_logging_v1_logging_proto_rawDescGZIP(), []int{1} |
| 431 |
} |
| 432 |
|
| 433 |
func (x *TrafficLog) GetStartTime() *timestamppb.Timestamp { |
| 434 |
if x != nil { |
| 435 |
return x.StartTime |
| 436 |
} |
| 437 |
return nil |
| 438 |
} |
| 439 |
|
| 440 |
func (x *TrafficLog) GetElapsedTime() *durationpb.Duration { |
| 441 |
if x != nil { |
| 442 |
return x.ElapsedTime |
| 443 |
} |
| 444 |
return nil |
| 445 |
} |
| 446 |
|
| 447 |
func (x *TrafficLog) GetNetwork() string { |
| 448 |
if x != nil { |
| 449 |
return x.Network |
| 450 |
} |
| 451 |
return "" |
| 452 |
} |
| 453 |
|
| 454 |
func (x *TrafficLog) GetSourceIpAddress() string { |
| 455 |
if x != nil { |
| 456 |
return x.SourceIpAddress |
| 457 |
} |
| 458 |
return "" |
| 459 |
} |
| 460 |
|
| 461 |
func (x *TrafficLog) GetSourcePort() int32 { |
| 462 |
if x != nil { |
| 463 |
return x.SourcePort |
| 464 |
} |
| 465 |
return 0 |
| 466 |
} |
| 467 |
|
| 468 |
func (x *TrafficLog) GetDestinationIpAddress() string { |
| 469 |
if x != nil { |
| 470 |
return x.DestinationIpAddress |
| 471 |
} |
| 472 |
return "" |
| 473 |
} |
| 474 |
|
| 475 |
func (x *TrafficLog) GetDestinationPort() int32 { |
| 476 |
if x != nil { |
| 477 |
return x.DestinationPort |
| 478 |
} |
| 479 |
return 0 |
| 480 |
} |
| 481 |
|
| 482 |
func (x *TrafficLog) GetIpProtocol() string { |
| 483 |
if x != nil { |
| 484 |
return x.IpProtocol |
| 485 |
} |
| 486 |
return "" |
| 487 |
} |
| 488 |
|
| 489 |
func (x *TrafficLog) GetApplication() string { |
| 490 |
if x != nil { |
| 491 |
return x.Application |
| 492 |
} |
| 493 |
return "" |
| 494 |
} |
| 495 |
|
| 496 |
func (x *TrafficLog) GetSessionId() string { |
| 497 |
if x != nil { |
| 498 |
return x.SessionId |
| 499 |
} |
| 500 |
return "" |
| 501 |
} |
| 502 |
|
| 503 |
func (x *TrafficLog) GetRepeatCount() string { |
| 504 |
if x != nil { |
| 505 |
return x.RepeatCount |
| 506 |
} |
| 507 |
return "" |
| 508 |
} |
| 509 |
|
| 510 |
func (x *TrafficLog) GetTotalBytes() int64 { |
| 511 |
if x != nil { |
| 512 |
return x.TotalBytes |
| 513 |
} |
| 514 |
return 0 |
| 515 |
} |
| 516 |
|
| 517 |
func (x *TrafficLog) GetTotalPackets() int64 { |
| 518 |
if x != nil { |
| 519 |
return x.TotalPackets |
| 520 |
} |
| 521 |
return 0 |
| 522 |
} |
| 523 |
|
| 524 |
var File_google_cloud_ids_logging_v1_logging_proto protoreflect.FileDescriptor |
| 525 |
|
| 526 |
var file_google_cloud_ids_logging_v1_logging_proto_rawDesc = []byte{ |
| 527 |
0x0a, 0x29, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x69, |
| 528 |
0x64, 0x73, 0x2f, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x2f, 0x76, 0x31, 0x2f, 0x6c, 0x6f, |
| 529 |
0x67, 0x67, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1b, 0x67, 0x6f, 0x6f, |
| 530 |
0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x69, 0x64, 0x73, 0x2e, 0x6c, 0x6f, |
| 531 |
0x67, 0x67, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 532 |
0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, |
| 533 |
0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 534 |
0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, |
| 535 |
0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xaa, 0x07, 0x0a, 0x09, 0x54, 0x68, |
| 536 |
0x72, 0x65, 0x61, 0x74, 0x4c, 0x6f, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, |
| 537 |
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x74, |
| 538 |
0x68, 0x72, 0x65, 0x61, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, |
| 539 |
0x74, 0x68, 0x72, 0x65, 0x61, 0x74, 0x49, 0x64, 0x12, 0x39, 0x0a, 0x0a, 0x61, 0x6c, 0x65, 0x72, |
| 540 |
0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, |
| 541 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, |
| 542 |
0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x54, |
| 543 |
0x69, 0x6d, 0x65, 0x12, 0x56, 0x0a, 0x0e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x5f, 0x73, 0x65, 0x76, |
| 544 |
0x65, 0x72, 0x69, 0x74, 0x79, 0x18, 0x13, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2f, 0x2e, 0x67, 0x6f, |
| 545 |
0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x69, 0x64, 0x73, 0x2e, 0x6c, |
| 546 |
0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x68, 0x72, 0x65, 0x61, 0x74, |
| 547 |
0x4c, 0x6f, 0x67, 0x2e, 0x53, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x52, 0x0d, 0x61, 0x6c, |
| 548 |
0x65, 0x72, 0x74, 0x53, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x74, |
| 549 |
0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, |
| 550 |
0x1a, 0x0a, 0x08, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x18, 0x12, 0x20, 0x01, 0x28, |
| 551 |
0x09, 0x52, 0x08, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x12, 0x2a, 0x0a, 0x11, 0x73, |
| 552 |
0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x69, 0x70, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, |
| 553 |
0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x70, |
| 554 |
0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x6f, 0x75, 0x72, 0x63, |
| 555 |
0x65, 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x73, 0x6f, |
| 556 |
0x75, 0x72, 0x63, 0x65, 0x50, 0x6f, 0x72, 0x74, 0x12, 0x34, 0x0a, 0x16, 0x64, 0x65, 0x73, 0x74, |
| 557 |
0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x70, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, |
| 558 |
0x73, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x14, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, |
| 559 |
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x70, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x29, |
| 560 |
0x0a, 0x10, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x6f, |
| 561 |
0x72, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0f, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, |
| 562 |
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x72, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x69, 0x70, 0x5f, |
| 563 |
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, |
| 564 |
0x69, 0x70, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0x4e, 0x0a, 0x09, 0x64, 0x69, |
| 565 |
0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x30, 0x2e, |
| 566 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x69, 0x64, 0x73, |
| 567 |
0x2e, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x68, 0x72, 0x65, |
| 568 |
0x61, 0x74, 0x4c, 0x6f, 0x67, 0x2e, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, |
| 569 |
0x09, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x65, |
| 570 |
0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, |
| 571 |
0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x72, 0x65, 0x70, |
| 572 |
0x65, 0x61, 0x74, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52, |
| 573 |
0x0b, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x20, 0x0a, 0x0b, |
| 574 |
0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x10, 0x20, 0x01, 0x28, |
| 575 |
0x09, 0x52, 0x0b, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x26, |
| 576 |
0x0a, 0x0f, 0x75, 0x72, 0x69, 0x5f, 0x6f, 0x72, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, |
| 577 |
0x65, 0x18, 0x11, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x75, 0x72, 0x69, 0x4f, 0x72, 0x46, 0x69, |
| 578 |
0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x76, 0x65, 0x73, 0x18, 0x14, |
| 579 |
0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x63, 0x76, 0x65, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x64, 0x65, |
| 580 |
0x74, 0x61, 0x69, 0x6c, 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x64, 0x65, 0x74, |
| 581 |
0x61, 0x69, 0x6c, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x18, |
| 582 |
0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x22, 0x64, |
| 583 |
0x0a, 0x08, 0x53, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x12, 0x18, 0x0a, 0x14, 0x53, 0x45, |
| 584 |
0x56, 0x45, 0x52, 0x49, 0x54, 0x59, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, |
| 585 |
0x45, 0x44, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x4c, 0x4f, 0x57, 0x10, 0x02, 0x12, 0x0a, 0x0a, |
| 586 |
0x06, 0x4d, 0x45, 0x44, 0x49, 0x55, 0x4d, 0x10, 0x03, 0x12, 0x08, 0x0a, 0x04, 0x48, 0x49, 0x47, |
| 587 |
0x48, 0x10, 0x04, 0x12, 0x0c, 0x0a, 0x08, 0x43, 0x52, 0x49, 0x54, 0x49, 0x43, 0x41, 0x4c, 0x10, |
| 588 |
0x05, 0x12, 0x11, 0x0a, 0x0d, 0x49, 0x4e, 0x46, 0x4f, 0x52, 0x4d, 0x41, 0x54, 0x49, 0x4f, 0x4e, |
| 589 |
0x41, 0x4c, 0x10, 0x06, 0x22, 0x50, 0x0a, 0x09, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, |
| 590 |
0x6e, 0x12, 0x17, 0x0a, 0x13, 0x44, 0x49, 0x52, 0x45, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x55, |
| 591 |
0x4e, 0x44, 0x45, 0x46, 0x49, 0x4e, 0x45, 0x44, 0x10, 0x00, 0x12, 0x14, 0x0a, 0x10, 0x43, 0x4c, |
| 592 |
0x49, 0x45, 0x4e, 0x54, 0x5f, 0x54, 0x4f, 0x5f, 0x53, 0x45, 0x52, 0x56, 0x45, 0x52, 0x10, 0x01, |
| 593 |
0x12, 0x14, 0x0a, 0x10, 0x53, 0x45, 0x52, 0x56, 0x45, 0x52, 0x5f, 0x54, 0x4f, 0x5f, 0x43, 0x4c, |
| 594 |
0x49, 0x45, 0x4e, 0x54, 0x10, 0x02, 0x22, 0x98, 0x04, 0x0a, 0x0a, 0x54, 0x72, 0x61, 0x66, 0x66, |
| 595 |
0x69, 0x63, 0x4c, 0x6f, 0x67, 0x12, 0x39, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, |
| 596 |
0x69, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, |
| 597 |
0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, |
| 598 |
0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, |
| 599 |
0x12, 0x3c, 0x0a, 0x0c, 0x65, 0x6c, 0x61, 0x70, 0x73, 0x65, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, |
| 600 |
0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 601 |
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, |
| 602 |
0x6e, 0x52, 0x0b, 0x65, 0x6c, 0x61, 0x70, 0x73, 0x65, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x18, |
| 603 |
0x0a, 0x07, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, |
| 604 |
0x07, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x12, 0x2a, 0x0a, 0x11, 0x73, 0x6f, 0x75, 0x72, |
| 605 |
0x63, 0x65, 0x5f, 0x69, 0x70, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x04, 0x20, |
| 606 |
0x01, 0x28, 0x09, 0x52, 0x0f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x70, 0x41, 0x64, 0x64, |
| 607 |
0x72, 0x65, 0x73, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x70, |
| 608 |
0x6f, 0x72, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x73, 0x6f, 0x75, 0x72, 0x63, |
| 609 |
0x65, 0x50, 0x6f, 0x72, 0x74, 0x12, 0x34, 0x0a, 0x16, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, |
| 610 |
0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x70, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, |
| 611 |
0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x14, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, |
| 612 |
0x6f, 0x6e, 0x49, 0x70, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x29, 0x0a, 0x10, 0x64, |
| 613 |
0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x18, |
| 614 |
0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0f, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, |
| 615 |
0x6f, 0x6e, 0x50, 0x6f, 0x72, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x69, 0x70, 0x5f, 0x70, 0x72, 0x6f, |
| 616 |
0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x69, 0x70, 0x50, |
| 617 |
0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0x20, 0x0a, 0x0b, 0x61, 0x70, 0x70, 0x6c, 0x69, |
| 618 |
0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x61, 0x70, |
| 619 |
0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x65, 0x73, |
| 620 |
0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, |
| 621 |
0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x72, 0x65, 0x70, 0x65, |
| 622 |
0x61, 0x74, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, |
| 623 |
0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x74, |
| 624 |
0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x03, |
| 625 |
0x52, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x23, 0x0a, 0x0d, |
| 626 |
0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x73, 0x18, 0x0f, 0x20, |
| 627 |
0x01, 0x28, 0x03, 0x52, 0x0c, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, |
| 628 |
0x73, 0x42, 0x75, 0x0a, 0x1f, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 629 |
0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x69, 0x64, 0x73, 0x2e, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, |
| 630 |
0x67, 0x2e, 0x76, 0x31, 0x42, 0x0c, 0x4c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x50, 0x72, 0x6f, |
| 631 |
0x74, 0x6f, 0x50, 0x01, 0x5a, 0x42, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, |
| 632 |
0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, |
| 633 |
0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, |
| 634 |
0x64, 0x2f, 0x69, 0x64, 0x73, 0x2f, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x2f, 0x76, 0x31, |
| 635 |
0x3b, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
| 636 |
} |
| 637 |
|
| 638 |
var ( |
| 639 |
file_google_cloud_ids_logging_v1_logging_proto_rawDescOnce sync.Once |
| 640 |
file_google_cloud_ids_logging_v1_logging_proto_rawDescData = file_google_cloud_ids_logging_v1_logging_proto_rawDesc |
| 641 |
) |
| 642 |
|
| 643 |
func file_google_cloud_ids_logging_v1_logging_proto_rawDescGZIP() []byte { |
| 644 |
file_google_cloud_ids_logging_v1_logging_proto_rawDescOnce.Do(func() { |
| 645 |
file_google_cloud_ids_logging_v1_logging_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_ids_logging_v1_logging_proto_rawDescData) |
| 646 |
}) |
| 647 |
return file_google_cloud_ids_logging_v1_logging_proto_rawDescData |
| 648 |
} |
| 649 |
|
| 650 |
var file_google_cloud_ids_logging_v1_logging_proto_enumTypes = make([]protoimpl.EnumInfo, 2) |
| 651 |
var file_google_cloud_ids_logging_v1_logging_proto_msgTypes = make([]protoimpl.MessageInfo, 2) |
| 652 |
var file_google_cloud_ids_logging_v1_logging_proto_goTypes = []interface{}{ |
| 653 |
(ThreatLog_Severity)(0), // 0: google.cloud.ids.logging.v1.ThreatLog.Severity |
| 654 |
(ThreatLog_Direction)(0), // 1: google.cloud.ids.logging.v1.ThreatLog.Direction |
| 655 |
(*ThreatLog)(nil), // 2: google.cloud.ids.logging.v1.ThreatLog |
| 656 |
(*TrafficLog)(nil), // 3: google.cloud.ids.logging.v1.TrafficLog |
| 657 |
(*timestamppb.Timestamp)(nil), // 4: google.protobuf.Timestamp |
| 658 |
(*durationpb.Duration)(nil), // 5: google.protobuf.Duration |
| 659 |
} |
| 660 |
var file_google_cloud_ids_logging_v1_logging_proto_depIdxs = []int32{ |
| 661 |
4, // 0: google.cloud.ids.logging.v1.ThreatLog.alert_time:type_name -> google.protobuf.Timestamp |
| 662 |
0, // 1: google.cloud.ids.logging.v1.ThreatLog.alert_severity:type_name -> google.cloud.ids.logging.v1.ThreatLog.Severity |
| 663 |
1, // 2: google.cloud.ids.logging.v1.ThreatLog.direction:type_name -> google.cloud.ids.logging.v1.ThreatLog.Direction |
| 664 |
4, // 3: google.cloud.ids.logging.v1.TrafficLog.start_time:type_name -> google.protobuf.Timestamp |
| 665 |
5, // 4: google.cloud.ids.logging.v1.TrafficLog.elapsed_time:type_name -> google.protobuf.Duration |
| 666 |
5, // [5:5] is the sub-list for method output_type |
| 667 |
5, // [5:5] is the sub-list for method input_type |
| 668 |
5, // [5:5] is the sub-list for extension type_name |
| 669 |
5, // [5:5] is the sub-list for extension extendee |
| 670 |
0, // [0:5] is the sub-list for field type_name |
| 671 |
} |
| 672 |
|
| 673 |
func init() { file_google_cloud_ids_logging_v1_logging_proto_init() } |
| 674 |
func file_google_cloud_ids_logging_v1_logging_proto_init() { |
| 675 |
if File_google_cloud_ids_logging_v1_logging_proto != nil { |
| 676 |
return |
| 677 |
} |
| 678 |
if !protoimpl.UnsafeEnabled { |
| 679 |
file_google_cloud_ids_logging_v1_logging_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { |
| 680 |
switch v := v.(*ThreatLog); i { |
| 681 |
case 0: |
| 682 |
return &v.state |
| 683 |
case 1: |
| 684 |
return &v.sizeCache |
| 685 |
case 2: |
| 686 |
return &v.unknownFields |
| 687 |
default: |
| 688 |
return nil |
| 689 |
} |
| 690 |
} |
| 691 |
file_google_cloud_ids_logging_v1_logging_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { |
| 692 |
switch v := v.(*TrafficLog); i { |
| 693 |
case 0: |
| 694 |
return &v.state |
| 695 |
case 1: |
| 696 |
return &v.sizeCache |
| 697 |
case 2: |
| 698 |
return &v.unknownFields |
| 699 |
default: |
| 700 |
return nil |
| 701 |
} |
| 702 |
} |
| 703 |
} |
| 704 |
type x struct{} |
| 705 |
out := protoimpl.TypeBuilder{ |
| 706 |
File: protoimpl.DescBuilder{ |
| 707 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 708 |
RawDescriptor: file_google_cloud_ids_logging_v1_logging_proto_rawDesc, |
| 709 |
NumEnums: 2, |
| 710 |
NumMessages: 2, |
| 711 |
NumExtensions: 0, |
| 712 |
NumServices: 0, |
| 713 |
}, |
| 714 |
GoTypes: file_google_cloud_ids_logging_v1_logging_proto_goTypes, |
| 715 |
DependencyIndexes: file_google_cloud_ids_logging_v1_logging_proto_depIdxs, |
| 716 |
EnumInfos: file_google_cloud_ids_logging_v1_logging_proto_enumTypes, |
| 717 |
MessageInfos: file_google_cloud_ids_logging_v1_logging_proto_msgTypes, |
| 718 |
}.Build() |
| 719 |
File_google_cloud_ids_logging_v1_logging_proto = out.File |
| 720 |
file_google_cloud_ids_logging_v1_logging_proto_rawDesc = nil |
| 721 |
file_google_cloud_ids_logging_v1_logging_proto_goTypes = nil |
| 722 |
file_google_cloud_ids_logging_v1_logging_proto_depIdxs = nil |
| 723 |
} |