From a173e5719461d4b51844b63729ac71abc0de4528 Mon Sep 17 00:00:00 2001 From: gui774ume Date: Thu, 2 Jan 2025 13:47:59 +0100 Subject: [PATCH] [CWS] Add network device, syscall and flow nodes to process activity nodes --- cws/dumpsv1/activity_dump.pb.go | 1212 +- cws/dumpsv1/activity_dump_vtproto.pb.go | 1518 +- java/com/dd/cws/adv1/pb/SecDumpProto.java | 31094 ++++++++++++-------- proto/cws/dumpsv1/activity_dump.proto | 41 +- 4 files changed, 20702 insertions(+), 13163 deletions(-) diff --git a/cws/dumpsv1/activity_dump.pb.go b/cws/dumpsv1/activity_dump.pb.go index 60bfe74a..8ff9ccfe 100644 --- a/cws/dumpsv1/activity_dump.pb.go +++ b/cws/dumpsv1/activity_dump.pb.go @@ -686,9 +686,12 @@ type ProcessActivityNode struct { Files []*FileActivityNode `protobuf:"bytes,4,rep,name=files,proto3" json:"files,omitempty"` DnsNames []*DNSNode `protobuf:"bytes,5,rep,name=dns_names,json=dnsNames,proto3" json:"dns_names,omitempty"` Sockets []*SocketNode `protobuf:"bytes,6,rep,name=sockets,proto3" json:"sockets,omitempty"` - Syscalls []uint32 `protobuf:"varint,7,rep,packed,name=syscalls,proto3" json:"syscalls,omitempty"` - ImageTags []string `protobuf:"bytes,10,rep,name=image_tags,json=imageTags,proto3" json:"image_tags,omitempty"` - ImdsEvents []*IMDSNode `protobuf:"bytes,11,rep,name=imds_events,json=imdsEvents,proto3" json:"imds_events,omitempty"` + // Deprecated: Marked as deprecated in proto/cws/dumpsv1/activity_dump.proto. + Syscalls []uint32 `protobuf:"varint,7,rep,packed,name=syscalls,proto3" json:"syscalls,omitempty"` + ImageTags []string `protobuf:"bytes,10,rep,name=image_tags,json=imageTags,proto3" json:"image_tags,omitempty"` + ImdsEvents []*IMDSNode `protobuf:"bytes,11,rep,name=imds_events,json=imdsEvents,proto3" json:"imds_events,omitempty"` + SyscallNodes []*SyscallNode `protobuf:"bytes,12,rep,name=syscall_nodes,json=syscallNodes,proto3" json:"syscall_nodes,omitempty"` + NetworkDevices []*NetworkDeviceNode `protobuf:"bytes,13,rep,name=network_devices,json=networkDevices,proto3" json:"network_devices,omitempty"` } func (x *ProcessActivityNode) Reset() { @@ -772,6 +775,7 @@ func (x *ProcessActivityNode) GetSockets() []*SocketNode { return nil } +// Deprecated: Marked as deprecated in proto/cws/dumpsv1/activity_dump.proto. func (x *ProcessActivityNode) GetSyscalls() []uint32 { if x != nil { return x.Syscalls @@ -793,6 +797,20 @@ func (x *ProcessActivityNode) GetImdsEvents() []*IMDSNode { return nil } +func (x *ProcessActivityNode) GetSyscallNodes() []*SyscallNode { + if x != nil { + return x.SyscallNodes + } + return nil +} + +func (x *ProcessActivityNode) GetNetworkDevices() []*NetworkDeviceNode { + if x != nil { + return x.NetworkDevices + } + return nil +} + type ProcessInfo struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -1330,6 +1348,61 @@ func (x *DNSInfo) GetCount() uint32 { return 0 } +type SyscallNode struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ImageTags []string `protobuf:"bytes,1,rep,name=image_tags,json=imageTags,proto3" json:"image_tags,omitempty"` + Syscall int32 `protobuf:"varint,2,opt,name=syscall,proto3" json:"syscall,omitempty"` +} + +func (x *SyscallNode) Reset() { + *x = SyscallNode{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SyscallNode) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SyscallNode) ProtoMessage() {} + +func (x *SyscallNode) ProtoReflect() protoreflect.Message { + mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[11] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SyscallNode.ProtoReflect.Descriptor instead. +func (*SyscallNode) Descriptor() ([]byte, []int) { + return file_proto_cws_dumpsv1_activity_dump_proto_rawDescGZIP(), []int{11} +} + +func (x *SyscallNode) GetImageTags() []string { + if x != nil { + return x.ImageTags + } + return nil +} + +func (x *SyscallNode) GetSyscall() int32 { + if x != nil { + return x.Syscall + } + return 0 +} + type IMDSNode struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -1343,7 +1416,7 @@ type IMDSNode struct { func (x *IMDSNode) Reset() { *x = IMDSNode{} if protoimpl.UnsafeEnabled { - mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[11] + mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[12] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1356,7 +1429,7 @@ func (x *IMDSNode) String() string { func (*IMDSNode) ProtoMessage() {} func (x *IMDSNode) ProtoReflect() protoreflect.Message { - mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[11] + mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[12] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1369,7 +1442,7 @@ func (x *IMDSNode) ProtoReflect() protoreflect.Message { // Deprecated: Use IMDSNode.ProtoReflect.Descriptor instead. func (*IMDSNode) Descriptor() ([]byte, []int) { - return file_proto_cws_dumpsv1_activity_dump_proto_rawDescGZIP(), []int{11} + return file_proto_cws_dumpsv1_activity_dump_proto_rawDescGZIP(), []int{12} } func (x *IMDSNode) GetMatchedRules() []*MatchedRule { @@ -1410,7 +1483,7 @@ type IMDSEvent struct { func (x *IMDSEvent) Reset() { *x = IMDSEvent{} if protoimpl.UnsafeEnabled { - mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[12] + mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[13] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1423,7 +1496,7 @@ func (x *IMDSEvent) String() string { func (*IMDSEvent) ProtoMessage() {} func (x *IMDSEvent) ProtoReflect() protoreflect.Message { - mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[12] + mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[13] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1436,7 +1509,7 @@ func (x *IMDSEvent) ProtoReflect() protoreflect.Message { // Deprecated: Use IMDSEvent.ProtoReflect.Descriptor instead. func (*IMDSEvent) Descriptor() ([]byte, []int) { - return file_proto_cws_dumpsv1_activity_dump_proto_rawDescGZIP(), []int{12} + return file_proto_cws_dumpsv1_activity_dump_proto_rawDescGZIP(), []int{13} } func (x *IMDSEvent) GetType() string { @@ -1500,7 +1573,7 @@ type AWSIMDSEvent struct { func (x *AWSIMDSEvent) Reset() { *x = AWSIMDSEvent{} if protoimpl.UnsafeEnabled { - mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[13] + mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[14] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1513,7 +1586,7 @@ func (x *AWSIMDSEvent) String() string { func (*AWSIMDSEvent) ProtoMessage() {} func (x *AWSIMDSEvent) ProtoReflect() protoreflect.Message { - mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[13] + mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[14] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1526,7 +1599,7 @@ func (x *AWSIMDSEvent) ProtoReflect() protoreflect.Message { // Deprecated: Use AWSIMDSEvent.ProtoReflect.Descriptor instead. func (*AWSIMDSEvent) Descriptor() ([]byte, []int) { - return file_proto_cws_dumpsv1_activity_dump_proto_rawDescGZIP(), []int{13} + return file_proto_cws_dumpsv1_activity_dump_proto_rawDescGZIP(), []int{14} } func (x *AWSIMDSEvent) GetIsImdsV2() bool { @@ -1558,7 +1631,7 @@ type AWSSecurityCredentials struct { func (x *AWSSecurityCredentials) Reset() { *x = AWSSecurityCredentials{} if protoimpl.UnsafeEnabled { - mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[14] + mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[15] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1571,7 +1644,7 @@ func (x *AWSSecurityCredentials) String() string { func (*AWSSecurityCredentials) ProtoMessage() {} func (x *AWSSecurityCredentials) ProtoReflect() protoreflect.Message { - mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[14] + mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[15] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1584,7 +1657,7 @@ func (x *AWSSecurityCredentials) ProtoReflect() protoreflect.Message { // Deprecated: Use AWSSecurityCredentials.ProtoReflect.Descriptor instead. func (*AWSSecurityCredentials) Descriptor() ([]byte, []int) { - return file_proto_cws_dumpsv1_activity_dump_proto_rawDescGZIP(), []int{14} + return file_proto_cws_dumpsv1_activity_dump_proto_rawDescGZIP(), []int{15} } func (x *AWSSecurityCredentials) GetCode() string { @@ -1650,7 +1723,7 @@ type FileInfo struct { func (x *FileInfo) Reset() { *x = FileInfo{} if protoimpl.UnsafeEnabled { - mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[15] + mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[16] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1663,7 +1736,7 @@ func (x *FileInfo) String() string { func (*FileInfo) ProtoMessage() {} func (x *FileInfo) ProtoReflect() protoreflect.Message { - mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[15] + mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[16] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1676,7 +1749,7 @@ func (x *FileInfo) ProtoReflect() protoreflect.Message { // Deprecated: Use FileInfo.ProtoReflect.Descriptor instead. func (*FileInfo) Descriptor() ([]byte, []int) { - return file_proto_cws_dumpsv1_activity_dump_proto_rawDescGZIP(), []int{15} + return file_proto_cws_dumpsv1_activity_dump_proto_rawDescGZIP(), []int{16} } func (x *FileInfo) GetUid() uint32 { @@ -1829,7 +1902,7 @@ type Credentials struct { func (x *Credentials) Reset() { *x = Credentials{} if protoimpl.UnsafeEnabled { - mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[16] + mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[17] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1842,7 +1915,7 @@ func (x *Credentials) String() string { func (*Credentials) ProtoMessage() {} func (x *Credentials) ProtoReflect() protoreflect.Message { - mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[16] + mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[17] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1855,7 +1928,7 @@ func (x *Credentials) ProtoReflect() protoreflect.Message { // Deprecated: Use Credentials.ProtoReflect.Descriptor instead. func (*Credentials) Descriptor() ([]byte, []int) { - return file_proto_cws_dumpsv1_activity_dump_proto_rawDescGZIP(), []int{16} + return file_proto_cws_dumpsv1_activity_dump_proto_rawDescGZIP(), []int{17} } func (x *Credentials) GetUid() uint32 { @@ -1968,7 +2041,7 @@ type SocketNode struct { func (x *SocketNode) Reset() { *x = SocketNode{} if protoimpl.UnsafeEnabled { - mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[17] + mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[18] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1981,7 +2054,7 @@ func (x *SocketNode) String() string { func (*SocketNode) ProtoMessage() {} func (x *SocketNode) ProtoReflect() protoreflect.Message { - mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[17] + mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[18] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1994,7 +2067,7 @@ func (x *SocketNode) ProtoReflect() protoreflect.Message { // Deprecated: Use SocketNode.ProtoReflect.Descriptor instead. func (*SocketNode) Descriptor() ([]byte, []int) { - return file_proto_cws_dumpsv1_activity_dump_proto_rawDescGZIP(), []int{17} + return file_proto_cws_dumpsv1_activity_dump_proto_rawDescGZIP(), []int{18} } func (x *SocketNode) GetFamily() string { @@ -2026,7 +2099,7 @@ type BindNode struct { func (x *BindNode) Reset() { *x = BindNode{} if protoimpl.UnsafeEnabled { - mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[18] + mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[19] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2039,7 +2112,7 @@ func (x *BindNode) String() string { func (*BindNode) ProtoMessage() {} func (x *BindNode) ProtoReflect() protoreflect.Message { - mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[18] + mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[19] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2052,7 +2125,7 @@ func (x *BindNode) ProtoReflect() protoreflect.Message { // Deprecated: Use BindNode.ProtoReflect.Descriptor instead. func (*BindNode) Descriptor() ([]byte, []int) { - return file_proto_cws_dumpsv1_activity_dump_proto_rawDescGZIP(), []int{18} + return file_proto_cws_dumpsv1_activity_dump_proto_rawDescGZIP(), []int{19} } func (x *BindNode) GetMatchedRules() []*MatchedRule { @@ -2090,6 +2163,290 @@ func (x *BindNode) GetProtocol() uint32 { return 0 } +type NetworkDeviceNode struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MatchedRules []*MatchedRule `protobuf:"bytes,1,rep,name=matched_rules,json=matchedRules,proto3" json:"matched_rules,omitempty"` + Netns uint32 `protobuf:"varint,2,opt,name=netns,proto3" json:"netns,omitempty"` + Ifindex uint32 `protobuf:"varint,3,opt,name=ifindex,proto3" json:"ifindex,omitempty"` + Ifname string `protobuf:"bytes,4,opt,name=ifname,proto3" json:"ifname,omitempty"` + FlowNodes []*FlowNode `protobuf:"bytes,5,rep,name=flow_nodes,json=flowNodes,proto3" json:"flow_nodes,omitempty"` +} + +func (x *NetworkDeviceNode) Reset() { + *x = NetworkDeviceNode{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *NetworkDeviceNode) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*NetworkDeviceNode) ProtoMessage() {} + +func (x *NetworkDeviceNode) ProtoReflect() protoreflect.Message { + mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[20] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use NetworkDeviceNode.ProtoReflect.Descriptor instead. +func (*NetworkDeviceNode) Descriptor() ([]byte, []int) { + return file_proto_cws_dumpsv1_activity_dump_proto_rawDescGZIP(), []int{20} +} + +func (x *NetworkDeviceNode) GetMatchedRules() []*MatchedRule { + if x != nil { + return x.MatchedRules + } + return nil +} + +func (x *NetworkDeviceNode) GetNetns() uint32 { + if x != nil { + return x.Netns + } + return 0 +} + +func (x *NetworkDeviceNode) GetIfindex() uint32 { + if x != nil { + return x.Ifindex + } + return 0 +} + +func (x *NetworkDeviceNode) GetIfname() string { + if x != nil { + return x.Ifname + } + return "" +} + +func (x *NetworkDeviceNode) GetFlowNodes() []*FlowNode { + if x != nil { + return x.FlowNodes + } + return nil +} + +type FlowNode struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ImageTags []string `protobuf:"bytes,1,rep,name=image_tags,json=imageTags,proto3" json:"image_tags,omitempty"` + Source *IPPortContext `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"` + Destination *IPPortContext `protobuf:"bytes,3,opt,name=destination,proto3" json:"destination,omitempty"` + L3Protocol uint32 `protobuf:"varint,4,opt,name=l3_protocol,json=l3Protocol,proto3" json:"l3_protocol,omitempty"` + L4Protocol uint32 `protobuf:"varint,5,opt,name=l4_protocol,json=l4Protocol,proto3" json:"l4_protocol,omitempty"` + Ingress *NetworkStats `protobuf:"bytes,6,opt,name=ingress,proto3" json:"ingress,omitempty"` + Egress *NetworkStats `protobuf:"bytes,7,opt,name=egress,proto3" json:"egress,omitempty"` +} + +func (x *FlowNode) Reset() { + *x = FlowNode{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FlowNode) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FlowNode) ProtoMessage() {} + +func (x *FlowNode) ProtoReflect() protoreflect.Message { + mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[21] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FlowNode.ProtoReflect.Descriptor instead. +func (*FlowNode) Descriptor() ([]byte, []int) { + return file_proto_cws_dumpsv1_activity_dump_proto_rawDescGZIP(), []int{21} +} + +func (x *FlowNode) GetImageTags() []string { + if x != nil { + return x.ImageTags + } + return nil +} + +func (x *FlowNode) GetSource() *IPPortContext { + if x != nil { + return x.Source + } + return nil +} + +func (x *FlowNode) GetDestination() *IPPortContext { + if x != nil { + return x.Destination + } + return nil +} + +func (x *FlowNode) GetL3Protocol() uint32 { + if x != nil { + return x.L3Protocol + } + return 0 +} + +func (x *FlowNode) GetL4Protocol() uint32 { + if x != nil { + return x.L4Protocol + } + return 0 +} + +func (x *FlowNode) GetIngress() *NetworkStats { + if x != nil { + return x.Ingress + } + return nil +} + +func (x *FlowNode) GetEgress() *NetworkStats { + if x != nil { + return x.Egress + } + return nil +} + +type IPPortContext struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Ip string `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"` + Port uint32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"` +} + +func (x *IPPortContext) Reset() { + *x = IPPortContext{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *IPPortContext) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*IPPortContext) ProtoMessage() {} + +func (x *IPPortContext) ProtoReflect() protoreflect.Message { + mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[22] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use IPPortContext.ProtoReflect.Descriptor instead. +func (*IPPortContext) Descriptor() ([]byte, []int) { + return file_proto_cws_dumpsv1_activity_dump_proto_rawDescGZIP(), []int{22} +} + +func (x *IPPortContext) GetIp() string { + if x != nil { + return x.Ip + } + return "" +} + +func (x *IPPortContext) GetPort() uint32 { + if x != nil { + return x.Port + } + return 0 +} + +type NetworkStats struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DataSize uint64 `protobuf:"varint,1,opt,name=data_size,json=dataSize,proto3" json:"data_size,omitempty"` + PacketCount uint64 `protobuf:"varint,2,opt,name=packet_count,json=packetCount,proto3" json:"packet_count,omitempty"` +} + +func (x *NetworkStats) Reset() { + *x = NetworkStats{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *NetworkStats) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*NetworkStats) ProtoMessage() {} + +func (x *NetworkStats) ProtoReflect() protoreflect.Message { + mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[23] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use NetworkStats.ProtoReflect.Descriptor instead. +func (*NetworkStats) Descriptor() ([]byte, []int) { + return file_proto_cws_dumpsv1_activity_dump_proto_rawDescGZIP(), []int{23} +} + +func (x *NetworkStats) GetDataSize() uint64 { + if x != nil { + return x.DataSize + } + return 0 +} + +func (x *NetworkStats) GetPacketCount() uint64 { + if x != nil { + return x.PacketCount + } + return 0 +} + type MatchedRule struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -2105,7 +2462,7 @@ type MatchedRule struct { func (x *MatchedRule) Reset() { *x = MatchedRule{} if protoimpl.UnsafeEnabled { - mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[19] + mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[24] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2118,7 +2475,7 @@ func (x *MatchedRule) String() string { func (*MatchedRule) ProtoMessage() {} func (x *MatchedRule) ProtoReflect() protoreflect.Message { - mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[19] + mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[24] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2131,7 +2488,7 @@ func (x *MatchedRule) ProtoReflect() protoreflect.Message { // Deprecated: Use MatchedRule.ProtoReflect.Descriptor instead. func (*MatchedRule) Descriptor() ([]byte, []int) { - return file_proto_cws_dumpsv1_activity_dump_proto_rawDescGZIP(), []int{19} + return file_proto_cws_dumpsv1_activity_dump_proto_rawDescGZIP(), []int{24} } func (x *MatchedRule) GetRuleId() string { @@ -2181,7 +2538,7 @@ type EventTypeState struct { func (x *EventTypeState) Reset() { *x = EventTypeState{} if protoimpl.UnsafeEnabled { - mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[20] + mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[25] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2194,7 +2551,7 @@ func (x *EventTypeState) String() string { func (*EventTypeState) ProtoMessage() {} func (x *EventTypeState) ProtoReflect() protoreflect.Message { - mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[20] + mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[25] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2207,7 +2564,7 @@ func (x *EventTypeState) ProtoReflect() protoreflect.Message { // Deprecated: Use EventTypeState.ProtoReflect.Descriptor instead. func (*EventTypeState) Descriptor() ([]byte, []int) { - return file_proto_cws_dumpsv1_activity_dump_proto_rawDescGZIP(), []int{20} + return file_proto_cws_dumpsv1_activity_dump_proto_rawDescGZIP(), []int{25} } func (x *EventTypeState) GetLastAnomalyNano() uint64 { @@ -2331,7 +2688,7 @@ var file_proto_cws_dumpsv1_activity_dump_proto_rawDesc = []byte{ 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x63, 0x77, 0x73, 0x2e, 0x64, 0x75, 0x6d, 0x70, 0x73, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, - 0x74, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xe0, 0x04, 0x0a, + 0x74, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xfc, 0x05, 0x0a, 0x13, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x3a, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, @@ -2361,287 +2718,347 @@ var file_proto_cws_dumpsv1_activity_dump_proto_rawDesc = []byte{ 0x6d, 0x65, 0x73, 0x12, 0x39, 0x0a, 0x07, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x63, 0x77, 0x73, 0x2e, 0x64, 0x75, 0x6d, 0x70, 0x73, 0x76, 0x31, 0x2e, 0x53, 0x6f, 0x63, 0x6b, 0x65, - 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x07, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x73, 0x12, 0x1a, + 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x07, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x73, 0x12, 0x1e, 0x0a, 0x08, 0x73, 0x79, 0x73, 0x63, 0x61, 0x6c, 0x6c, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0d, - 0x52, 0x08, 0x73, 0x79, 0x73, 0x63, 0x61, 0x6c, 0x6c, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x6d, - 0x61, 0x67, 0x65, 0x5f, 0x74, 0x61, 0x67, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, - 0x69, 0x6d, 0x61, 0x67, 0x65, 0x54, 0x61, 0x67, 0x73, 0x12, 0x3e, 0x0a, 0x0b, 0x69, 0x6d, 0x64, - 0x73, 0x5f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, + 0x42, 0x02, 0x18, 0x01, 0x52, 0x08, 0x73, 0x79, 0x73, 0x63, 0x61, 0x6c, 0x6c, 0x73, 0x12, 0x1d, + 0x0a, 0x0a, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x61, 0x67, 0x73, 0x18, 0x0a, 0x20, 0x03, + 0x28, 0x09, 0x52, 0x09, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x54, 0x61, 0x67, 0x73, 0x12, 0x3e, 0x0a, + 0x0b, 0x69, 0x6d, 0x64, 0x73, 0x5f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x0b, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x63, 0x77, 0x73, + 0x2e, 0x64, 0x75, 0x6d, 0x70, 0x73, 0x76, 0x31, 0x2e, 0x49, 0x4d, 0x44, 0x53, 0x4e, 0x6f, 0x64, + 0x65, 0x52, 0x0a, 0x69, 0x6d, 0x64, 0x73, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x45, 0x0a, + 0x0d, 0x73, 0x79, 0x73, 0x63, 0x61, 0x6c, 0x6c, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x0c, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x63, + 0x77, 0x73, 0x2e, 0x64, 0x75, 0x6d, 0x70, 0x73, 0x76, 0x31, 0x2e, 0x53, 0x79, 0x73, 0x63, 0x61, + 0x6c, 0x6c, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x0c, 0x73, 0x79, 0x73, 0x63, 0x61, 0x6c, 0x6c, 0x4e, + 0x6f, 0x64, 0x65, 0x73, 0x12, 0x4f, 0x0a, 0x0f, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x5f, + 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, + 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x63, 0x77, 0x73, 0x2e, 0x64, 0x75, 0x6d, 0x70, + 0x73, 0x76, 0x31, 0x2e, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x44, 0x65, 0x76, 0x69, 0x63, + 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x0e, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x44, 0x65, + 0x76, 0x69, 0x63, 0x65, 0x73, 0x4a, 0x04, 0x08, 0x02, 0x10, 0x03, 0x22, 0x9d, 0x05, 0x0a, 0x0b, + 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x10, 0x0a, 0x03, 0x70, + 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x70, 0x69, 0x64, 0x12, 0x10, 0x0a, + 0x03, 0x74, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x74, 0x69, 0x64, 0x12, + 0x12, 0x0a, 0x04, 0x70, 0x70, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x70, + 0x70, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x06, 0x63, 0x6f, 0x6f, 0x6b, 0x69, 0x65, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x0d, 0x42, 0x02, 0x18, 0x01, 0x52, 0x06, 0x63, 0x6f, 0x6f, 0x6b, 0x69, 0x65, 0x12, + 0x1b, 0x0a, 0x09, 0x69, 0x73, 0x5f, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x54, 0x68, 0x72, 0x65, 0x61, 0x64, 0x12, 0x31, 0x0a, 0x04, + 0x66, 0x69, 0x6c, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x64, 0x61, 0x74, + 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x63, 0x77, 0x73, 0x2e, 0x64, 0x75, 0x6d, 0x70, 0x73, 0x76, 0x31, + 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x66, 0x69, 0x6c, 0x65, 0x12, + 0x21, 0x0a, 0x0c, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, + 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, + 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x07, 0x73, 0x70, 0x61, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, + 0x01, 0x28, 0x04, 0x42, 0x02, 0x18, 0x01, 0x52, 0x06, 0x73, 0x70, 0x61, 0x6e, 0x49, 0x64, 0x12, + 0x1d, 0x0a, 0x08, 0x74, 0x72, 0x61, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, + 0x04, 0x42, 0x02, 0x18, 0x01, 0x52, 0x07, 0x74, 0x72, 0x61, 0x63, 0x65, 0x49, 0x64, 0x12, 0x10, + 0x0a, 0x03, 0x74, 0x74, 0x79, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x74, 0x74, 0x79, + 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x6d, 0x6d, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, + 0x63, 0x6f, 0x6d, 0x6d, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x6f, 0x72, 0x6b, 0x5f, 0x74, 0x69, 0x6d, + 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x66, 0x6f, 0x72, 0x6b, 0x54, 0x69, 0x6d, + 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x78, 0x69, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0d, + 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x65, 0x78, 0x69, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1b, + 0x0a, 0x09, 0x65, 0x78, 0x65, 0x63, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, + 0x04, 0x52, 0x08, 0x65, 0x78, 0x65, 0x63, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x42, 0x0a, 0x0b, 0x63, + 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x73, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x20, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x63, 0x77, 0x73, 0x2e, 0x64, + 0x75, 0x6d, 0x70, 0x73, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, + 0x6c, 0x73, 0x52, 0x0b, 0x63, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x73, 0x12, + 0x12, 0x0a, 0x04, 0x61, 0x72, 0x67, 0x73, 0x18, 0x10, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x61, + 0x72, 0x67, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x72, 0x67, 0x76, 0x30, 0x18, 0x11, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x05, 0x61, 0x72, 0x67, 0x76, 0x30, 0x12, 0x25, 0x0a, 0x0e, 0x61, 0x72, 0x67, + 0x73, 0x5f, 0x74, 0x72, 0x75, 0x6e, 0x63, 0x61, 0x74, 0x65, 0x64, 0x18, 0x12, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x0d, 0x61, 0x72, 0x67, 0x73, 0x54, 0x72, 0x75, 0x6e, 0x63, 0x61, 0x74, 0x65, 0x64, + 0x12, 0x12, 0x0a, 0x04, 0x65, 0x6e, 0x76, 0x73, 0x18, 0x13, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, + 0x65, 0x6e, 0x76, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x65, 0x6e, 0x76, 0x73, 0x5f, 0x74, 0x72, 0x75, + 0x6e, 0x63, 0x61, 0x74, 0x65, 0x64, 0x18, 0x14, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x65, 0x6e, + 0x76, 0x73, 0x54, 0x72, 0x75, 0x6e, 0x63, 0x61, 0x74, 0x65, 0x64, 0x12, 0x22, 0x0a, 0x0d, 0x69, + 0x73, 0x5f, 0x65, 0x78, 0x65, 0x63, 0x5f, 0x63, 0x68, 0x69, 0x6c, 0x64, 0x18, 0x15, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x0b, 0x69, 0x73, 0x45, 0x78, 0x65, 0x63, 0x43, 0x68, 0x69, 0x6c, 0x64, 0x12, + 0x1a, 0x0a, 0x08, 0x63, 0x6f, 0x6f, 0x6b, 0x69, 0x65, 0x36, 0x34, 0x18, 0x16, 0x20, 0x01, 0x28, + 0x04, 0x52, 0x08, 0x63, 0x6f, 0x6f, 0x6b, 0x69, 0x65, 0x36, 0x34, 0x22, 0xc7, 0x03, 0x0a, 0x10, + 0x46, 0x69, 0x6c, 0x65, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x4e, 0x6f, 0x64, 0x65, + 0x12, 0x45, 0x0a, 0x0d, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x64, 0x5f, 0x72, 0x75, 0x6c, 0x65, + 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, + 0x67, 0x2e, 0x63, 0x77, 0x73, 0x2e, 0x64, 0x75, 0x6d, 0x70, 0x73, 0x76, 0x31, 0x2e, 0x4d, 0x61, + 0x74, 0x63, 0x68, 0x65, 0x64, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x0c, 0x6d, 0x61, 0x74, 0x63, 0x68, + 0x65, 0x64, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x6d, 0x61, 0x67, 0x65, + 0x5f, 0x74, 0x61, 0x67, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x69, 0x6d, 0x61, + 0x67, 0x65, 0x54, 0x61, 0x67, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x73, + 0x5f, 0x70, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, + 0x69, 0x73, 0x50, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x12, 0x31, 0x0a, 0x04, 0x66, 0x69, 0x6c, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, + 0x67, 0x2e, 0x63, 0x77, 0x73, 0x2e, 0x64, 0x75, 0x6d, 0x70, 0x73, 0x76, 0x31, 0x2e, 0x46, 0x69, + 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x66, 0x69, 0x6c, 0x65, 0x12, 0x4c, 0x0a, 0x0f, + 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, + 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x23, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, + 0x63, 0x77, 0x73, 0x2e, 0x64, 0x75, 0x6d, 0x70, 0x73, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x6e, 0x65, + 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0e, 0x67, 0x65, 0x6e, 0x65, + 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x66, 0x69, + 0x72, 0x73, 0x74, 0x5f, 0x73, 0x65, 0x65, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, + 0x66, 0x69, 0x72, 0x73, 0x74, 0x53, 0x65, 0x65, 0x6e, 0x12, 0x31, 0x0a, 0x04, 0x6f, 0x70, 0x65, + 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, + 0x67, 0x2e, 0x63, 0x77, 0x73, 0x2e, 0x64, 0x75, 0x6d, 0x70, 0x73, 0x76, 0x31, 0x2e, 0x4f, 0x70, + 0x65, 0x6e, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x6f, 0x70, 0x65, 0x6e, 0x12, 0x41, 0x0a, 0x08, + 0x63, 0x68, 0x69, 0x6c, 0x64, 0x72, 0x65, 0x6e, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x63, 0x77, 0x73, 0x2e, 0x64, 0x75, 0x6d, - 0x70, 0x73, 0x76, 0x31, 0x2e, 0x49, 0x4d, 0x44, 0x53, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x0a, 0x69, - 0x6d, 0x64, 0x73, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x4a, 0x04, 0x08, 0x02, 0x10, 0x03, 0x22, - 0x9d, 0x05, 0x0a, 0x0b, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x12, - 0x10, 0x0a, 0x03, 0x70, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x70, 0x69, - 0x64, 0x12, 0x10, 0x0a, 0x03, 0x74, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, - 0x74, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x70, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x0d, 0x52, 0x04, 0x70, 0x70, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x06, 0x63, 0x6f, 0x6f, 0x6b, 0x69, - 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x42, 0x02, 0x18, 0x01, 0x52, 0x06, 0x63, 0x6f, 0x6f, - 0x6b, 0x69, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x73, 0x5f, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, - 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x54, 0x68, 0x72, 0x65, 0x61, 0x64, - 0x12, 0x31, 0x0a, 0x04, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, + 0x70, 0x73, 0x76, 0x31, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, + 0x79, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x08, 0x63, 0x68, 0x69, 0x6c, 0x64, 0x72, 0x65, 0x6e, 0x4a, + 0x04, 0x08, 0x03, 0x10, 0x04, 0x22, 0x4c, 0x0a, 0x08, 0x4f, 0x70, 0x65, 0x6e, 0x4e, 0x6f, 0x64, + 0x65, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x74, 0x76, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x12, 0x52, 0x06, 0x72, 0x65, 0x74, 0x76, 0x61, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6c, 0x61, + 0x67, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x12, + 0x12, 0x0a, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x6d, + 0x6f, 0x64, 0x65, 0x22, 0xa9, 0x01, 0x0a, 0x07, 0x44, 0x4e, 0x53, 0x4e, 0x6f, 0x64, 0x65, 0x12, + 0x45, 0x0a, 0x0d, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x64, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x73, + 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, + 0x2e, 0x63, 0x77, 0x73, 0x2e, 0x64, 0x75, 0x6d, 0x70, 0x73, 0x76, 0x31, 0x2e, 0x4d, 0x61, 0x74, + 0x63, 0x68, 0x65, 0x64, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x0c, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, + 0x64, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, + 0x74, 0x61, 0x67, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x69, 0x6d, 0x61, 0x67, + 0x65, 0x54, 0x61, 0x67, 0x73, 0x12, 0x38, 0x0a, 0x08, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, + 0x67, 0x2e, 0x63, 0x77, 0x73, 0x2e, 0x64, 0x75, 0x6d, 0x70, 0x73, 0x76, 0x31, 0x2e, 0x44, 0x4e, + 0x53, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x08, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x22, + 0x71, 0x0a, 0x07, 0x44, 0x4e, 0x53, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, + 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, + 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x74, 0x79, + 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x05, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x12, 0x14, 0x0a, 0x05, + 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x63, 0x6f, 0x75, + 0x6e, 0x74, 0x22, 0x46, 0x0a, 0x0b, 0x53, 0x79, 0x73, 0x63, 0x61, 0x6c, 0x6c, 0x4e, 0x6f, 0x64, + 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x61, 0x67, 0x73, 0x18, + 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x54, 0x61, 0x67, 0x73, + 0x12, 0x18, 0x0a, 0x07, 0x73, 0x79, 0x73, 0x63, 0x61, 0x6c, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x07, 0x73, 0x79, 0x73, 0x63, 0x61, 0x6c, 0x6c, 0x22, 0xa6, 0x01, 0x0a, 0x08, 0x49, + 0x4d, 0x44, 0x53, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x45, 0x0a, 0x0d, 0x6d, 0x61, 0x74, 0x63, 0x68, + 0x65, 0x64, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x63, 0x77, 0x73, 0x2e, 0x64, 0x75, 0x6d, - 0x70, 0x73, 0x76, 0x31, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x66, - 0x69, 0x6c, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, - 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x61, - 0x69, 0x6e, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x07, 0x73, 0x70, 0x61, 0x6e, 0x5f, 0x69, - 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x04, 0x42, 0x02, 0x18, 0x01, 0x52, 0x06, 0x73, 0x70, 0x61, - 0x6e, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x08, 0x74, 0x72, 0x61, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, - 0x09, 0x20, 0x01, 0x28, 0x04, 0x42, 0x02, 0x18, 0x01, 0x52, 0x07, 0x74, 0x72, 0x61, 0x63, 0x65, - 0x49, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x74, 0x74, 0x79, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x03, 0x74, 0x74, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x6d, 0x6d, 0x18, 0x0b, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x04, 0x63, 0x6f, 0x6d, 0x6d, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x6f, 0x72, 0x6b, - 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x66, 0x6f, 0x72, - 0x6b, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x78, 0x69, 0x74, 0x5f, 0x74, 0x69, - 0x6d, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x65, 0x78, 0x69, 0x74, 0x54, 0x69, - 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x78, 0x65, 0x63, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, - 0x0e, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x65, 0x78, 0x65, 0x63, 0x54, 0x69, 0x6d, 0x65, 0x12, - 0x42, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x73, 0x18, 0x0f, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x63, - 0x77, 0x73, 0x2e, 0x64, 0x75, 0x6d, 0x70, 0x73, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x64, 0x65, - 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x73, 0x52, 0x0b, 0x63, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, - 0x61, 0x6c, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x61, 0x72, 0x67, 0x73, 0x18, 0x10, 0x20, 0x03, 0x28, - 0x09, 0x52, 0x04, 0x61, 0x72, 0x67, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x72, 0x67, 0x76, 0x30, - 0x18, 0x11, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x72, 0x67, 0x76, 0x30, 0x12, 0x25, 0x0a, - 0x0e, 0x61, 0x72, 0x67, 0x73, 0x5f, 0x74, 0x72, 0x75, 0x6e, 0x63, 0x61, 0x74, 0x65, 0x64, 0x18, - 0x12, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x61, 0x72, 0x67, 0x73, 0x54, 0x72, 0x75, 0x6e, 0x63, - 0x61, 0x74, 0x65, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x65, 0x6e, 0x76, 0x73, 0x18, 0x13, 0x20, 0x03, - 0x28, 0x09, 0x52, 0x04, 0x65, 0x6e, 0x76, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x65, 0x6e, 0x76, 0x73, - 0x5f, 0x74, 0x72, 0x75, 0x6e, 0x63, 0x61, 0x74, 0x65, 0x64, 0x18, 0x14, 0x20, 0x01, 0x28, 0x08, - 0x52, 0x0d, 0x65, 0x6e, 0x76, 0x73, 0x54, 0x72, 0x75, 0x6e, 0x63, 0x61, 0x74, 0x65, 0x64, 0x12, - 0x22, 0x0a, 0x0d, 0x69, 0x73, 0x5f, 0x65, 0x78, 0x65, 0x63, 0x5f, 0x63, 0x68, 0x69, 0x6c, 0x64, - 0x18, 0x15, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x69, 0x73, 0x45, 0x78, 0x65, 0x63, 0x43, 0x68, - 0x69, 0x6c, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x6f, 0x6f, 0x6b, 0x69, 0x65, 0x36, 0x34, 0x18, - 0x16, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x63, 0x6f, 0x6f, 0x6b, 0x69, 0x65, 0x36, 0x34, 0x22, - 0xc7, 0x03, 0x0a, 0x10, 0x46, 0x69, 0x6c, 0x65, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, - 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x45, 0x0a, 0x0d, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x64, 0x5f, - 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x64, 0x61, - 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x63, 0x77, 0x73, 0x2e, 0x64, 0x75, 0x6d, 0x70, 0x73, 0x76, - 0x31, 0x2e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x64, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x0c, 0x6d, - 0x61, 0x74, 0x63, 0x68, 0x65, 0x64, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x69, - 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x61, 0x67, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x09, 0x52, - 0x09, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x54, 0x61, 0x67, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, - 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1d, - 0x0a, 0x0a, 0x69, 0x73, 0x5f, 0x70, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x18, 0x07, 0x20, 0x01, - 0x28, 0x08, 0x52, 0x09, 0x69, 0x73, 0x50, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x12, 0x31, 0x0a, - 0x04, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x64, 0x61, - 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x63, 0x77, 0x73, 0x2e, 0x64, 0x75, 0x6d, 0x70, 0x73, 0x76, - 0x31, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x66, 0x69, 0x6c, 0x65, - 0x12, 0x4c, 0x0a, 0x0f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, - 0x79, 0x70, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x23, 0x2e, 0x64, 0x61, 0x74, 0x61, - 0x64, 0x6f, 0x67, 0x2e, 0x63, 0x77, 0x73, 0x2e, 0x64, 0x75, 0x6d, 0x70, 0x73, 0x76, 0x31, 0x2e, - 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0e, - 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1d, - 0x0a, 0x0a, 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, 0x73, 0x65, 0x65, 0x6e, 0x18, 0x04, 0x20, 0x01, - 0x28, 0x04, 0x52, 0x09, 0x66, 0x69, 0x72, 0x73, 0x74, 0x53, 0x65, 0x65, 0x6e, 0x12, 0x31, 0x0a, - 0x04, 0x6f, 0x70, 0x65, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x64, 0x61, - 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x63, 0x77, 0x73, 0x2e, 0x64, 0x75, 0x6d, 0x70, 0x73, 0x76, - 0x31, 0x2e, 0x4f, 0x70, 0x65, 0x6e, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x6f, 0x70, 0x65, 0x6e, - 0x12, 0x41, 0x0a, 0x08, 0x63, 0x68, 0x69, 0x6c, 0x64, 0x72, 0x65, 0x6e, 0x18, 0x06, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x63, 0x77, 0x73, - 0x2e, 0x64, 0x75, 0x6d, 0x70, 0x73, 0x76, 0x31, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x41, 0x63, 0x74, - 0x69, 0x76, 0x69, 0x74, 0x79, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x08, 0x63, 0x68, 0x69, 0x6c, 0x64, - 0x72, 0x65, 0x6e, 0x4a, 0x04, 0x08, 0x03, 0x10, 0x04, 0x22, 0x4c, 0x0a, 0x08, 0x4f, 0x70, 0x65, - 0x6e, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x74, 0x76, 0x61, 0x6c, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x12, 0x52, 0x06, 0x72, 0x65, 0x74, 0x76, 0x61, 0x6c, 0x12, 0x14, 0x0a, - 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x66, 0x6c, - 0x61, 0x67, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x0d, 0x52, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x22, 0xa9, 0x01, 0x0a, 0x07, 0x44, 0x4e, 0x53, 0x4e, - 0x6f, 0x64, 0x65, 0x12, 0x45, 0x0a, 0x0d, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x64, 0x5f, 0x72, - 0x75, 0x6c, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x64, 0x61, 0x74, - 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x63, 0x77, 0x73, 0x2e, 0x64, 0x75, 0x6d, 0x70, 0x73, 0x76, 0x31, - 0x2e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x64, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x0c, 0x6d, 0x61, - 0x74, 0x63, 0x68, 0x65, 0x64, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x6d, - 0x61, 0x67, 0x65, 0x5f, 0x74, 0x61, 0x67, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, - 0x69, 0x6d, 0x61, 0x67, 0x65, 0x54, 0x61, 0x67, 0x73, 0x12, 0x38, 0x0a, 0x08, 0x72, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x64, 0x61, + 0x70, 0x73, 0x76, 0x31, 0x2e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x64, 0x52, 0x75, 0x6c, 0x65, + 0x52, 0x0c, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x64, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x1d, + 0x0a, 0x0a, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x61, 0x67, 0x73, 0x18, 0x02, 0x20, 0x03, + 0x28, 0x09, 0x52, 0x09, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x54, 0x61, 0x67, 0x73, 0x12, 0x34, 0x0a, + 0x05, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x64, + 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x63, 0x77, 0x73, 0x2e, 0x64, 0x75, 0x6d, 0x70, 0x73, + 0x76, 0x31, 0x2e, 0x49, 0x4d, 0x44, 0x53, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x05, 0x65, 0x76, + 0x65, 0x6e, 0x74, 0x22, 0xd8, 0x01, 0x0a, 0x09, 0x49, 0x4d, 0x44, 0x53, 0x45, 0x76, 0x65, 0x6e, + 0x74, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x5f, 0x70, + 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x63, + 0x6c, 0x6f, 0x75, 0x64, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x12, 0x10, 0x0a, 0x03, + 0x75, 0x72, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x12, + 0x0a, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x68, 0x6f, + 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x75, 0x73, 0x65, 0x72, 0x41, 0x67, 0x65, 0x6e, + 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x06, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x12, 0x33, 0x0a, 0x03, 0x61, 0x77, 0x73, + 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, + 0x2e, 0x63, 0x77, 0x73, 0x2e, 0x64, 0x75, 0x6d, 0x70, 0x73, 0x76, 0x31, 0x2e, 0x41, 0x57, 0x53, + 0x49, 0x4d, 0x44, 0x53, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x03, 0x61, 0x77, 0x73, 0x22, 0x8c, + 0x01, 0x0a, 0x0c, 0x41, 0x57, 0x53, 0x49, 0x4d, 0x44, 0x53, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, + 0x1c, 0x0a, 0x0a, 0x69, 0x73, 0x5f, 0x69, 0x6d, 0x64, 0x73, 0x5f, 0x76, 0x32, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x49, 0x6d, 0x64, 0x73, 0x56, 0x32, 0x12, 0x5e, 0x0a, + 0x14, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x5f, 0x63, 0x72, 0x65, 0x64, 0x65, 0x6e, + 0x74, 0x69, 0x61, 0x6c, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x63, 0x77, 0x73, 0x2e, 0x64, 0x75, 0x6d, 0x70, 0x73, 0x76, - 0x31, 0x2e, 0x44, 0x4e, 0x53, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x08, 0x72, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x73, 0x22, 0x71, 0x0a, 0x07, 0x44, 0x4e, 0x53, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x12, - 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, - 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, - 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x12, 0x12, 0x0a, 0x04, - 0x73, 0x69, 0x7a, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, - 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, - 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0xa6, 0x01, 0x0a, 0x08, 0x49, 0x4d, 0x44, 0x53, 0x4e, - 0x6f, 0x64, 0x65, 0x12, 0x45, 0x0a, 0x0d, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x64, 0x5f, 0x72, - 0x75, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x64, 0x61, 0x74, + 0x31, 0x2e, 0x41, 0x57, 0x53, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x43, 0x72, 0x65, + 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x73, 0x52, 0x13, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, + 0x74, 0x79, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x73, 0x22, 0xae, 0x01, + 0x0a, 0x16, 0x41, 0x57, 0x53, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x43, 0x72, 0x65, + 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x12, 0x0a, 0x04, + 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, + 0x12, 0x22, 0x0a, 0x0d, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x69, + 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x4b, + 0x65, 0x79, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x75, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6c, 0x61, 0x73, 0x74, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x12, 0x25, 0x0a, 0x0e, 0x65, 0x78, 0x70, 0x69, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x72, 0x61, 0x77, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0d, 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x61, 0x77, 0x22, 0x91, + 0x04, 0x0a, 0x08, 0x46, 0x69, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x10, 0x0a, 0x03, 0x75, + 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x12, 0x0a, + 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x75, 0x73, 0x65, + 0x72, 0x12, 0x10, 0x0a, 0x03, 0x67, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, + 0x67, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x12, 0x0a, 0x04, 0x6d, 0x6f, 0x64, + 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x12, 0x14, 0x0a, + 0x05, 0x63, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x63, 0x74, + 0x69, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x6d, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, + 0x28, 0x04, 0x52, 0x05, 0x6d, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x6d, 0x6f, 0x75, + 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x6d, 0x6f, 0x75, + 0x6e, 0x74, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x6f, 0x64, 0x65, 0x18, 0x09, 0x20, + 0x01, 0x28, 0x04, 0x52, 0x05, 0x69, 0x6e, 0x6f, 0x64, 0x65, 0x12, 0x24, 0x0a, 0x0e, 0x69, 0x6e, + 0x5f, 0x75, 0x70, 0x70, 0x65, 0x72, 0x5f, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x18, 0x0a, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x0c, 0x69, 0x6e, 0x55, 0x70, 0x70, 0x65, 0x72, 0x4c, 0x61, 0x79, 0x65, 0x72, + 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, + 0x70, 0x61, 0x74, 0x68, 0x12, 0x1a, 0x0a, 0x08, 0x62, 0x61, 0x73, 0x65, 0x6e, 0x61, 0x6d, 0x65, + 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x62, 0x61, 0x73, 0x65, 0x6e, 0x61, 0x6d, 0x65, + 0x12, 0x1e, 0x0a, 0x0a, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x18, 0x0d, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, + 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, + 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x4e, + 0x61, 0x6d, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x5f, 0x76, + 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x70, 0x61, + 0x63, 0x6b, 0x61, 0x67, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2d, 0x0a, 0x12, + 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x72, 0x63, 0x76, 0x65, 0x72, 0x73, 0x69, + 0x6f, 0x6e, 0x18, 0x10, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, + 0x65, 0x53, 0x72, 0x63, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x68, + 0x61, 0x73, 0x68, 0x65, 0x73, 0x18, 0x11, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x68, 0x61, 0x73, + 0x68, 0x65, 0x73, 0x12, 0x3d, 0x0a, 0x0a, 0x68, 0x61, 0x73, 0x68, 0x5f, 0x73, 0x74, 0x61, 0x74, + 0x65, 0x18, 0x12, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, + 0x67, 0x2e, 0x63, 0x77, 0x73, 0x2e, 0x64, 0x75, 0x6d, 0x70, 0x73, 0x76, 0x31, 0x2e, 0x48, 0x61, + 0x73, 0x68, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x09, 0x68, 0x61, 0x73, 0x68, 0x53, 0x74, 0x61, + 0x74, 0x65, 0x22, 0xa1, 0x03, 0x0a, 0x0b, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, + 0x6c, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x03, 0x75, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x67, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x03, 0x67, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x67, 0x72, + 0x6f, 0x75, 0x70, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, + 0x12, 0x23, 0x0a, 0x0d, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x75, 0x69, + 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, + 0x76, 0x65, 0x55, 0x69, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, + 0x76, 0x65, 0x5f, 0x67, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x65, 0x66, + 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x47, 0x69, 0x64, 0x12, 0x25, 0x0a, 0x0e, 0x65, 0x66, + 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x18, 0x07, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0d, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x55, 0x73, 0x65, + 0x72, 0x12, 0x27, 0x0a, 0x0f, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x67, + 0x72, 0x6f, 0x75, 0x70, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x65, 0x66, 0x66, 0x65, + 0x63, 0x74, 0x69, 0x76, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x15, 0x0a, 0x06, 0x66, 0x73, + 0x5f, 0x75, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x66, 0x73, 0x55, 0x69, + 0x64, 0x12, 0x15, 0x0a, 0x06, 0x66, 0x73, 0x5f, 0x67, 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x05, 0x66, 0x73, 0x47, 0x69, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x66, 0x73, 0x5f, 0x75, + 0x73, 0x65, 0x72, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x73, 0x55, 0x73, 0x65, + 0x72, 0x12, 0x19, 0x0a, 0x08, 0x66, 0x73, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x0c, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x07, 0x66, 0x73, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x23, 0x0a, 0x0d, + 0x63, 0x61, 0x70, 0x5f, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x18, 0x0d, 0x20, + 0x01, 0x28, 0x04, 0x52, 0x0c, 0x63, 0x61, 0x70, 0x45, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, + 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x61, 0x70, 0x5f, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x74, 0x74, + 0x65, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0c, 0x63, 0x61, 0x70, 0x50, 0x65, 0x72, + 0x6d, 0x69, 0x74, 0x74, 0x65, 0x64, 0x22, 0x57, 0x0a, 0x0a, 0x53, 0x6f, 0x63, 0x6b, 0x65, 0x74, + 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x12, 0x31, 0x0a, 0x04, + 0x62, 0x69, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x63, 0x77, 0x73, 0x2e, 0x64, 0x75, 0x6d, 0x70, 0x73, 0x76, 0x31, - 0x2e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x64, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x0c, 0x6d, 0x61, - 0x74, 0x63, 0x68, 0x65, 0x64, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x6d, - 0x61, 0x67, 0x65, 0x5f, 0x74, 0x61, 0x67, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, - 0x69, 0x6d, 0x61, 0x67, 0x65, 0x54, 0x61, 0x67, 0x73, 0x12, 0x34, 0x0a, 0x05, 0x65, 0x76, 0x65, - 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, - 0x6f, 0x67, 0x2e, 0x63, 0x77, 0x73, 0x2e, 0x64, 0x75, 0x6d, 0x70, 0x73, 0x76, 0x31, 0x2e, 0x49, - 0x4d, 0x44, 0x53, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x05, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x22, - 0xd8, 0x01, 0x0a, 0x09, 0x49, 0x4d, 0x44, 0x53, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x12, 0x0a, - 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, - 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x5f, 0x70, 0x72, 0x6f, 0x76, 0x69, - 0x64, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x63, 0x6c, 0x6f, 0x75, 0x64, - 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x6f, - 0x73, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x12, 0x1d, - 0x0a, 0x0a, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x09, 0x75, 0x73, 0x65, 0x72, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x12, 0x16, 0x0a, - 0x06, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, - 0x65, 0x72, 0x76, 0x65, 0x72, 0x12, 0x33, 0x0a, 0x03, 0x61, 0x77, 0x73, 0x18, 0x07, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x63, 0x77, 0x73, - 0x2e, 0x64, 0x75, 0x6d, 0x70, 0x73, 0x76, 0x31, 0x2e, 0x41, 0x57, 0x53, 0x49, 0x4d, 0x44, 0x53, - 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x03, 0x61, 0x77, 0x73, 0x22, 0x8c, 0x01, 0x0a, 0x0c, 0x41, - 0x57, 0x53, 0x49, 0x4d, 0x44, 0x53, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x1c, 0x0a, 0x0a, 0x69, - 0x73, 0x5f, 0x69, 0x6d, 0x64, 0x73, 0x5f, 0x76, 0x32, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, - 0x08, 0x69, 0x73, 0x49, 0x6d, 0x64, 0x73, 0x56, 0x32, 0x12, 0x5e, 0x0a, 0x14, 0x73, 0x65, 0x63, - 0x75, 0x72, 0x69, 0x74, 0x79, 0x5f, 0x63, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, - 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, - 0x67, 0x2e, 0x63, 0x77, 0x73, 0x2e, 0x64, 0x75, 0x6d, 0x70, 0x73, 0x76, 0x31, 0x2e, 0x41, 0x57, - 0x53, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, - 0x69, 0x61, 0x6c, 0x73, 0x52, 0x13, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x43, 0x72, - 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x73, 0x22, 0xae, 0x01, 0x0a, 0x16, 0x41, 0x57, - 0x53, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, - 0x69, 0x61, 0x6c, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x22, 0x0a, 0x0d, - 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x0b, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x4b, 0x65, 0x79, 0x49, 0x64, - 0x12, 0x21, 0x0a, 0x0c, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, - 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6c, 0x61, 0x73, 0x74, 0x55, 0x70, 0x64, 0x61, - 0x74, 0x65, 0x64, 0x12, 0x25, 0x0a, 0x0e, 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x5f, 0x72, 0x61, 0x77, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x65, 0x78, 0x70, - 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x61, 0x77, 0x22, 0x91, 0x04, 0x0a, 0x08, 0x46, - 0x69, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x75, 0x73, 0x65, - 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x10, 0x0a, - 0x03, 0x67, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x67, 0x69, 0x64, 0x12, - 0x14, 0x0a, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, - 0x67, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x12, 0x0a, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x05, 0x20, - 0x01, 0x28, 0x0d, 0x52, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x74, 0x69, - 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x63, 0x74, 0x69, 0x6d, 0x65, 0x12, - 0x14, 0x0a, 0x05, 0x6d, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, - 0x6d, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, - 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, - 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x6f, 0x64, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x04, 0x52, - 0x05, 0x69, 0x6e, 0x6f, 0x64, 0x65, 0x12, 0x24, 0x0a, 0x0e, 0x69, 0x6e, 0x5f, 0x75, 0x70, 0x70, - 0x65, 0x72, 0x5f, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, - 0x69, 0x6e, 0x55, 0x70, 0x70, 0x65, 0x72, 0x4c, 0x61, 0x79, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, - 0x70, 0x61, 0x74, 0x68, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, - 0x12, 0x1a, 0x0a, 0x08, 0x62, 0x61, 0x73, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x0c, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x08, 0x62, 0x61, 0x73, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x0a, - 0x66, 0x69, 0x6c, 0x65, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x0a, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x12, 0x21, 0x0a, 0x0c, - 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x0e, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x0b, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, - 0x27, 0x0a, 0x0f, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, - 0x6f, 0x6e, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, - 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2d, 0x0a, 0x12, 0x70, 0x61, 0x63, 0x6b, - 0x61, 0x67, 0x65, 0x5f, 0x73, 0x72, 0x63, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x10, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x53, 0x72, 0x63, - 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x68, 0x61, 0x73, 0x68, 0x65, - 0x73, 0x18, 0x11, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x68, 0x61, 0x73, 0x68, 0x65, 0x73, 0x12, - 0x3d, 0x0a, 0x0a, 0x68, 0x61, 0x73, 0x68, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x12, 0x20, - 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x63, 0x77, - 0x73, 0x2e, 0x64, 0x75, 0x6d, 0x70, 0x73, 0x76, 0x31, 0x2e, 0x48, 0x61, 0x73, 0x68, 0x53, 0x74, - 0x61, 0x74, 0x65, 0x52, 0x09, 0x68, 0x61, 0x73, 0x68, 0x53, 0x74, 0x61, 0x74, 0x65, 0x22, 0xa1, - 0x03, 0x0a, 0x0b, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x73, 0x12, 0x10, - 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x75, 0x69, 0x64, - 0x12, 0x10, 0x0a, 0x03, 0x67, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x67, - 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x23, 0x0a, 0x0d, - 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x75, 0x69, 0x64, 0x18, 0x05, 0x20, - 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x55, 0x69, - 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x67, - 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, - 0x69, 0x76, 0x65, 0x47, 0x69, 0x64, 0x12, 0x25, 0x0a, 0x0e, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, - 0x69, 0x76, 0x65, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, - 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x55, 0x73, 0x65, 0x72, 0x12, 0x27, 0x0a, - 0x0f, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, - 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, - 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x15, 0x0a, 0x06, 0x66, 0x73, 0x5f, 0x75, 0x69, 0x64, - 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x66, 0x73, 0x55, 0x69, 0x64, 0x12, 0x15, 0x0a, - 0x06, 0x66, 0x73, 0x5f, 0x67, 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x66, - 0x73, 0x47, 0x69, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x66, 0x73, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x18, - 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x73, 0x55, 0x73, 0x65, 0x72, 0x12, 0x19, 0x0a, - 0x08, 0x66, 0x73, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x07, 0x66, 0x73, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x61, 0x70, 0x5f, - 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x04, 0x52, - 0x0c, 0x63, 0x61, 0x70, 0x45, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x12, 0x23, 0x0a, - 0x0d, 0x63, 0x61, 0x70, 0x5f, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x64, 0x18, 0x0e, - 0x20, 0x01, 0x28, 0x04, 0x52, 0x0c, 0x63, 0x61, 0x70, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x74, 0x74, - 0x65, 0x64, 0x22, 0x57, 0x0a, 0x0a, 0x53, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x4e, 0x6f, 0x64, 0x65, - 0x12, 0x16, 0x0a, 0x06, 0x66, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x06, 0x66, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x12, 0x31, 0x0a, 0x04, 0x62, 0x69, 0x6e, 0x64, - 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, - 0x2e, 0x63, 0x77, 0x73, 0x2e, 0x64, 0x75, 0x6d, 0x70, 0x73, 0x76, 0x31, 0x2e, 0x42, 0x69, 0x6e, - 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x62, 0x69, 0x6e, 0x64, 0x22, 0xb0, 0x01, 0x0a, 0x08, - 0x42, 0x69, 0x6e, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x45, 0x0a, 0x0d, 0x6d, 0x61, 0x74, 0x63, - 0x68, 0x65, 0x64, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x2e, 0x42, 0x69, 0x6e, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x62, 0x69, 0x6e, 0x64, 0x22, + 0xb0, 0x01, 0x0a, 0x08, 0x42, 0x69, 0x6e, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x45, 0x0a, 0x0d, + 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x64, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x03, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x63, 0x77, + 0x73, 0x2e, 0x64, 0x75, 0x6d, 0x70, 0x73, 0x76, 0x31, 0x2e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, + 0x64, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x0c, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x64, 0x52, 0x75, + 0x6c, 0x65, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x61, 0x67, + 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x54, 0x61, + 0x67, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x70, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x02, 0x69, 0x70, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x22, 0xe0, 0x01, 0x0a, 0x11, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x44, 0x65, + 0x76, 0x69, 0x63, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x45, 0x0a, 0x0d, 0x6d, 0x61, 0x74, 0x63, + 0x68, 0x65, 0x64, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x63, 0x77, 0x73, 0x2e, 0x64, 0x75, 0x6d, 0x70, 0x73, 0x76, 0x31, 0x2e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x64, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x0c, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x64, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x12, - 0x1d, 0x0a, 0x0a, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x61, 0x67, 0x73, 0x18, 0x04, 0x20, - 0x03, 0x28, 0x09, 0x52, 0x09, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x54, 0x61, 0x67, 0x73, 0x12, 0x12, - 0x0a, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x70, 0x6f, - 0x72, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, - 0x69, 0x70, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x18, 0x05, - 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x22, 0x9b, - 0x02, 0x0a, 0x0b, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x64, 0x52, 0x75, 0x6c, 0x65, 0x12, 0x17, - 0x0a, 0x07, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x06, 0x72, 0x75, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x72, 0x75, 0x6c, 0x65, 0x5f, - 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x72, - 0x75, 0x6c, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x6f, - 0x6c, 0x69, 0x63, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x0a, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x70, - 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x0d, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x56, 0x65, 0x72, 0x73, 0x69, - 0x6f, 0x6e, 0x12, 0x4b, 0x0a, 0x09, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x74, 0x61, 0x67, 0x73, 0x18, - 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, - 0x63, 0x77, 0x73, 0x2e, 0x64, 0x75, 0x6d, 0x70, 0x73, 0x76, 0x31, 0x2e, 0x4d, 0x61, 0x74, 0x63, - 0x68, 0x65, 0x64, 0x52, 0x75, 0x6c, 0x65, 0x2e, 0x52, 0x75, 0x6c, 0x65, 0x54, 0x61, 0x67, 0x73, - 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x72, 0x75, 0x6c, 0x65, 0x54, 0x61, 0x67, 0x73, 0x1a, - 0x3b, 0x0a, 0x0d, 0x52, 0x75, 0x6c, 0x65, 0x54, 0x61, 0x67, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, - 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, - 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x98, 0x01, 0x0a, - 0x10, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x74, - 0x65, 0x12, 0x2a, 0x0a, 0x11, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x61, 0x6e, 0x6f, 0x6d, 0x61, 0x6c, - 0x79, 0x5f, 0x6e, 0x61, 0x6e, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0f, 0x6c, 0x61, - 0x73, 0x74, 0x41, 0x6e, 0x6f, 0x6d, 0x61, 0x6c, 0x79, 0x4e, 0x61, 0x6e, 0x6f, 0x12, 0x58, 0x0a, - 0x13, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x73, - 0x74, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x28, 0x2e, 0x64, 0x61, 0x74, - 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x63, 0x77, 0x73, 0x2e, 0x64, 0x75, 0x6d, 0x70, 0x73, 0x76, 0x31, - 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x73, - 0x74, 0x61, 0x74, 0x65, 0x52, 0x11, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x66, 0x69, - 0x6c, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x2a, 0xb9, 0x01, 0x0a, 0x09, 0x48, 0x61, 0x73, 0x68, - 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x4e, 0x4f, 0x5f, 0x48, 0x41, 0x53, 0x48, - 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x44, 0x4f, 0x4e, 0x45, 0x10, 0x01, 0x12, 0x12, 0x0a, 0x0e, - 0x46, 0x49, 0x4c, 0x45, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x46, 0x4f, 0x55, 0x4e, 0x44, 0x10, 0x02, - 0x12, 0x1d, 0x0a, 0x19, 0x50, 0x41, 0x54, 0x48, 0x4e, 0x41, 0x4d, 0x45, 0x5f, 0x52, 0x45, 0x53, - 0x4f, 0x4c, 0x55, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x03, 0x12, - 0x10, 0x0a, 0x0c, 0x46, 0x49, 0x4c, 0x45, 0x5f, 0x54, 0x4f, 0x4f, 0x5f, 0x42, 0x49, 0x47, 0x10, - 0x04, 0x12, 0x1d, 0x0a, 0x19, 0x45, 0x56, 0x45, 0x4e, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, - 0x4e, 0x4f, 0x54, 0x5f, 0x43, 0x4f, 0x4e, 0x46, 0x49, 0x47, 0x55, 0x52, 0x45, 0x44, 0x10, 0x05, - 0x12, 0x19, 0x0a, 0x15, 0x48, 0x41, 0x53, 0x48, 0x5f, 0x57, 0x41, 0x53, 0x5f, 0x52, 0x41, 0x54, - 0x45, 0x5f, 0x4c, 0x49, 0x4d, 0x49, 0x54, 0x45, 0x44, 0x10, 0x06, 0x12, 0x16, 0x0a, 0x12, 0x55, - 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x5f, 0x48, 0x41, 0x53, 0x48, 0x5f, 0x45, 0x52, 0x52, 0x4f, - 0x52, 0x10, 0x07, 0x2a, 0x38, 0x0a, 0x0e, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, - 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x52, 0x55, 0x4e, 0x54, 0x49, 0x4d, 0x45, 0x10, 0x01, 0x12, - 0x0c, 0x0a, 0x08, 0x53, 0x4e, 0x41, 0x50, 0x53, 0x48, 0x4f, 0x54, 0x10, 0x02, 0x2a, 0x90, 0x01, - 0x0a, 0x13, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x5f, - 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x0e, 0x0a, 0x0a, 0x4e, 0x4f, 0x5f, 0x50, 0x52, 0x4f, 0x46, - 0x49, 0x4c, 0x45, 0x10, 0x00, 0x12, 0x17, 0x0a, 0x13, 0x50, 0x52, 0x4f, 0x46, 0x49, 0x4c, 0x45, - 0x5f, 0x41, 0x54, 0x5f, 0x4d, 0x41, 0x58, 0x5f, 0x53, 0x49, 0x5a, 0x45, 0x10, 0x01, 0x12, 0x14, - 0x0a, 0x10, 0x55, 0x4e, 0x53, 0x54, 0x41, 0x42, 0x4c, 0x45, 0x5f, 0x50, 0x52, 0x4f, 0x46, 0x49, - 0x4c, 0x45, 0x10, 0x02, 0x12, 0x12, 0x0a, 0x0e, 0x53, 0x54, 0x41, 0x42, 0x4c, 0x45, 0x5f, 0x50, - 0x52, 0x4f, 0x46, 0x49, 0x4c, 0x45, 0x10, 0x03, 0x12, 0x11, 0x0a, 0x0d, 0x41, 0x55, 0x54, 0x4f, - 0x5f, 0x4c, 0x45, 0x41, 0x52, 0x4e, 0x49, 0x4e, 0x47, 0x10, 0x04, 0x12, 0x13, 0x0a, 0x0f, 0x57, - 0x4f, 0x52, 0x4b, 0x4c, 0x4f, 0x41, 0x44, 0x5f, 0x57, 0x41, 0x52, 0x4d, 0x55, 0x50, 0x10, 0x05, - 0x42, 0x55, 0x0a, 0x12, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x64, 0x2e, 0x63, 0x77, 0x73, 0x2e, 0x61, - 0x64, 0x76, 0x31, 0x2e, 0x70, 0x62, 0x42, 0x0c, 0x53, 0x65, 0x63, 0x44, 0x75, 0x6d, 0x70, 0x50, - 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x00, 0x5a, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, - 0x6f, 0x6d, 0x2f, 0x44, 0x61, 0x74, 0x61, 0x44, 0x6f, 0x67, 0x2f, 0x61, 0x67, 0x65, 0x6e, 0x74, - 0x2d, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x2f, 0x76, 0x35, 0x2f, 0x63, 0x77, 0x73, 0x2f, - 0x64, 0x75, 0x6d, 0x70, 0x73, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x14, 0x0a, 0x05, 0x6e, 0x65, 0x74, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, + 0x6e, 0x65, 0x74, 0x6e, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x69, 0x66, 0x69, 0x6e, 0x64, 0x65, 0x78, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x69, 0x66, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x12, + 0x16, 0x0a, 0x06, 0x69, 0x66, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x06, 0x69, 0x66, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3c, 0x0a, 0x0a, 0x66, 0x6c, 0x6f, 0x77, 0x5f, + 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x64, 0x61, + 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x63, 0x77, 0x73, 0x2e, 0x64, 0x75, 0x6d, 0x70, 0x73, 0x76, + 0x31, 0x2e, 0x46, 0x6c, 0x6f, 0x77, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x09, 0x66, 0x6c, 0x6f, 0x77, + 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x22, 0xe5, 0x02, 0x0a, 0x08, 0x46, 0x6c, 0x6f, 0x77, 0x4e, 0x6f, + 0x64, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x61, 0x67, 0x73, + 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x54, 0x61, 0x67, + 0x73, 0x12, 0x3a, 0x0a, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x22, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x63, 0x77, 0x73, 0x2e, + 0x64, 0x75, 0x6d, 0x70, 0x73, 0x76, 0x31, 0x2e, 0x49, 0x50, 0x50, 0x6f, 0x72, 0x74, 0x43, 0x6f, + 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x44, 0x0a, + 0x0b, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x63, 0x77, 0x73, + 0x2e, 0x64, 0x75, 0x6d, 0x70, 0x73, 0x76, 0x31, 0x2e, 0x49, 0x50, 0x50, 0x6f, 0x72, 0x74, 0x43, + 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x6c, 0x33, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x6c, 0x33, 0x50, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0x1f, 0x0a, 0x0b, 0x6c, 0x34, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x6c, 0x34, 0x50, 0x72, 0x6f, + 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0x3b, 0x0a, 0x07, 0x69, 0x6e, 0x67, 0x72, 0x65, 0x73, 0x73, + 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, + 0x2e, 0x63, 0x77, 0x73, 0x2e, 0x64, 0x75, 0x6d, 0x70, 0x73, 0x76, 0x31, 0x2e, 0x4e, 0x65, 0x74, + 0x77, 0x6f, 0x72, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x07, 0x69, 0x6e, 0x67, 0x72, 0x65, + 0x73, 0x73, 0x12, 0x39, 0x0a, 0x06, 0x65, 0x67, 0x72, 0x65, 0x73, 0x73, 0x18, 0x07, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x63, 0x77, 0x73, + 0x2e, 0x64, 0x75, 0x6d, 0x70, 0x73, 0x76, 0x31, 0x2e, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, + 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x06, 0x65, 0x67, 0x72, 0x65, 0x73, 0x73, 0x22, 0x33, 0x0a, + 0x0d, 0x49, 0x50, 0x50, 0x6f, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12, 0x0e, + 0x0a, 0x02, 0x69, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x70, 0x12, 0x12, + 0x0a, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x70, 0x6f, + 0x72, 0x74, 0x22, 0x4e, 0x0a, 0x0c, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x53, 0x74, 0x61, + 0x74, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x64, 0x61, 0x74, 0x61, 0x53, 0x69, 0x7a, 0x65, 0x12, + 0x21, 0x0a, 0x0c, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x43, 0x6f, 0x75, + 0x6e, 0x74, 0x22, 0x9b, 0x02, 0x0a, 0x0b, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x64, 0x52, 0x75, + 0x6c, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x75, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x72, + 0x75, 0x6c, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0b, 0x72, 0x75, 0x6c, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1f, + 0x0a, 0x0b, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, + 0x25, 0x0a, 0x0e, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, + 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x56, + 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x4b, 0x0a, 0x09, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x74, + 0x61, 0x67, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x64, 0x61, 0x74, 0x61, + 0x64, 0x6f, 0x67, 0x2e, 0x63, 0x77, 0x73, 0x2e, 0x64, 0x75, 0x6d, 0x70, 0x73, 0x76, 0x31, 0x2e, + 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x64, 0x52, 0x75, 0x6c, 0x65, 0x2e, 0x52, 0x75, 0x6c, 0x65, + 0x54, 0x61, 0x67, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x72, 0x75, 0x6c, 0x65, 0x54, + 0x61, 0x67, 0x73, 0x1a, 0x3b, 0x0a, 0x0d, 0x52, 0x75, 0x6c, 0x65, 0x54, 0x61, 0x67, 0x73, 0x45, + 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, + 0x22, 0x98, 0x01, 0x0a, 0x10, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x5f, + 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x2a, 0x0a, 0x11, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x61, 0x6e, + 0x6f, 0x6d, 0x61, 0x6c, 0x79, 0x5f, 0x6e, 0x61, 0x6e, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, + 0x52, 0x0f, 0x6c, 0x61, 0x73, 0x74, 0x41, 0x6e, 0x6f, 0x6d, 0x61, 0x6c, 0x79, 0x4e, 0x61, 0x6e, + 0x6f, 0x12, 0x58, 0x0a, 0x13, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x66, 0x69, + 0x6c, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x28, + 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x63, 0x77, 0x73, 0x2e, 0x64, 0x75, 0x6d, + 0x70, 0x73, 0x76, 0x31, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x66, 0x69, + 0x6c, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x52, 0x11, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x50, + 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x2a, 0xb9, 0x01, 0x0a, 0x09, + 0x48, 0x61, 0x73, 0x68, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x4e, 0x4f, 0x5f, + 0x48, 0x41, 0x53, 0x48, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x44, 0x4f, 0x4e, 0x45, 0x10, 0x01, + 0x12, 0x12, 0x0a, 0x0e, 0x46, 0x49, 0x4c, 0x45, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x46, 0x4f, 0x55, + 0x4e, 0x44, 0x10, 0x02, 0x12, 0x1d, 0x0a, 0x19, 0x50, 0x41, 0x54, 0x48, 0x4e, 0x41, 0x4d, 0x45, + 0x5f, 0x52, 0x45, 0x53, 0x4f, 0x4c, 0x55, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x45, 0x52, 0x52, 0x4f, + 0x52, 0x10, 0x03, 0x12, 0x10, 0x0a, 0x0c, 0x46, 0x49, 0x4c, 0x45, 0x5f, 0x54, 0x4f, 0x4f, 0x5f, + 0x42, 0x49, 0x47, 0x10, 0x04, 0x12, 0x1d, 0x0a, 0x19, 0x45, 0x56, 0x45, 0x4e, 0x54, 0x5f, 0x54, + 0x59, 0x50, 0x45, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x43, 0x4f, 0x4e, 0x46, 0x49, 0x47, 0x55, 0x52, + 0x45, 0x44, 0x10, 0x05, 0x12, 0x19, 0x0a, 0x15, 0x48, 0x41, 0x53, 0x48, 0x5f, 0x57, 0x41, 0x53, + 0x5f, 0x52, 0x41, 0x54, 0x45, 0x5f, 0x4c, 0x49, 0x4d, 0x49, 0x54, 0x45, 0x44, 0x10, 0x06, 0x12, + 0x16, 0x0a, 0x12, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x5f, 0x48, 0x41, 0x53, 0x48, 0x5f, + 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x07, 0x2a, 0x38, 0x0a, 0x0e, 0x47, 0x65, 0x6e, 0x65, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, + 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x52, 0x55, 0x4e, 0x54, 0x49, 0x4d, + 0x45, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x53, 0x4e, 0x41, 0x50, 0x53, 0x48, 0x4f, 0x54, 0x10, + 0x02, 0x2a, 0x90, 0x01, 0x0a, 0x13, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x66, + 0x69, 0x6c, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x0e, 0x0a, 0x0a, 0x4e, 0x4f, 0x5f, + 0x50, 0x52, 0x4f, 0x46, 0x49, 0x4c, 0x45, 0x10, 0x00, 0x12, 0x17, 0x0a, 0x13, 0x50, 0x52, 0x4f, + 0x46, 0x49, 0x4c, 0x45, 0x5f, 0x41, 0x54, 0x5f, 0x4d, 0x41, 0x58, 0x5f, 0x53, 0x49, 0x5a, 0x45, + 0x10, 0x01, 0x12, 0x14, 0x0a, 0x10, 0x55, 0x4e, 0x53, 0x54, 0x41, 0x42, 0x4c, 0x45, 0x5f, 0x50, + 0x52, 0x4f, 0x46, 0x49, 0x4c, 0x45, 0x10, 0x02, 0x12, 0x12, 0x0a, 0x0e, 0x53, 0x54, 0x41, 0x42, + 0x4c, 0x45, 0x5f, 0x50, 0x52, 0x4f, 0x46, 0x49, 0x4c, 0x45, 0x10, 0x03, 0x12, 0x11, 0x0a, 0x0d, + 0x41, 0x55, 0x54, 0x4f, 0x5f, 0x4c, 0x45, 0x41, 0x52, 0x4e, 0x49, 0x4e, 0x47, 0x10, 0x04, 0x12, + 0x13, 0x0a, 0x0f, 0x57, 0x4f, 0x52, 0x4b, 0x4c, 0x4f, 0x41, 0x44, 0x5f, 0x57, 0x41, 0x52, 0x4d, + 0x55, 0x50, 0x10, 0x05, 0x42, 0x55, 0x0a, 0x12, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x64, 0x2e, 0x63, + 0x77, 0x73, 0x2e, 0x61, 0x64, 0x76, 0x31, 0x2e, 0x70, 0x62, 0x42, 0x0c, 0x53, 0x65, 0x63, 0x44, + 0x75, 0x6d, 0x70, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x00, 0x5a, 0x2f, 0x67, 0x69, 0x74, 0x68, + 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x44, 0x61, 0x74, 0x61, 0x44, 0x6f, 0x67, 0x2f, 0x61, + 0x67, 0x65, 0x6e, 0x74, 0x2d, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x2f, 0x76, 0x35, 0x2f, + 0x63, 0x77, 0x73, 0x2f, 0x64, 0x75, 0x6d, 0x70, 0x73, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, } var ( @@ -2657,7 +3074,7 @@ func file_proto_cws_dumpsv1_activity_dump_proto_rawDescGZIP() []byte { } var file_proto_cws_dumpsv1_activity_dump_proto_enumTypes = make([]protoimpl.EnumInfo, 3) -var file_proto_cws_dumpsv1_activity_dump_proto_msgTypes = make([]protoimpl.MessageInfo, 24) +var file_proto_cws_dumpsv1_activity_dump_proto_msgTypes = make([]protoimpl.MessageInfo, 29) var file_proto_cws_dumpsv1_activity_dump_proto_goTypes = []interface{}{ (HashState)(0), // 0: datadog.cws.dumpsv1.HashState (GenerationType)(0), // 1: datadog.cws.dumpsv1.GenerationType @@ -2673,61 +3090,74 @@ var file_proto_cws_dumpsv1_activity_dump_proto_goTypes = []interface{}{ (*OpenNode)(nil), // 11: datadog.cws.dumpsv1.OpenNode (*DNSNode)(nil), // 12: datadog.cws.dumpsv1.DNSNode (*DNSInfo)(nil), // 13: datadog.cws.dumpsv1.DNSInfo - (*IMDSNode)(nil), // 14: datadog.cws.dumpsv1.IMDSNode - (*IMDSEvent)(nil), // 15: datadog.cws.dumpsv1.IMDSEvent - (*AWSIMDSEvent)(nil), // 16: datadog.cws.dumpsv1.AWSIMDSEvent - (*AWSSecurityCredentials)(nil), // 17: datadog.cws.dumpsv1.AWSSecurityCredentials - (*FileInfo)(nil), // 18: datadog.cws.dumpsv1.FileInfo - (*Credentials)(nil), // 19: datadog.cws.dumpsv1.Credentials - (*SocketNode)(nil), // 20: datadog.cws.dumpsv1.SocketNode - (*BindNode)(nil), // 21: datadog.cws.dumpsv1.BindNode - (*MatchedRule)(nil), // 22: datadog.cws.dumpsv1.MatchedRule - (*EventTypeState)(nil), // 23: datadog.cws.dumpsv1.event_type_state - nil, // 24: datadog.cws.dumpsv1.ProfileContext.EventTypeStateEntry - nil, // 25: datadog.cws.dumpsv1.SecurityProfile.ProfileContextsEntry - nil, // 26: datadog.cws.dumpsv1.MatchedRule.RuleTagsEntry + (*SyscallNode)(nil), // 14: datadog.cws.dumpsv1.SyscallNode + (*IMDSNode)(nil), // 15: datadog.cws.dumpsv1.IMDSNode + (*IMDSEvent)(nil), // 16: datadog.cws.dumpsv1.IMDSEvent + (*AWSIMDSEvent)(nil), // 17: datadog.cws.dumpsv1.AWSIMDSEvent + (*AWSSecurityCredentials)(nil), // 18: datadog.cws.dumpsv1.AWSSecurityCredentials + (*FileInfo)(nil), // 19: datadog.cws.dumpsv1.FileInfo + (*Credentials)(nil), // 20: datadog.cws.dumpsv1.Credentials + (*SocketNode)(nil), // 21: datadog.cws.dumpsv1.SocketNode + (*BindNode)(nil), // 22: datadog.cws.dumpsv1.BindNode + (*NetworkDeviceNode)(nil), // 23: datadog.cws.dumpsv1.NetworkDeviceNode + (*FlowNode)(nil), // 24: datadog.cws.dumpsv1.FlowNode + (*IPPortContext)(nil), // 25: datadog.cws.dumpsv1.IPPortContext + (*NetworkStats)(nil), // 26: datadog.cws.dumpsv1.NetworkStats + (*MatchedRule)(nil), // 27: datadog.cws.dumpsv1.MatchedRule + (*EventTypeState)(nil), // 28: datadog.cws.dumpsv1.event_type_state + nil, // 29: datadog.cws.dumpsv1.ProfileContext.EventTypeStateEntry + nil, // 30: datadog.cws.dumpsv1.SecurityProfile.ProfileContextsEntry + nil, // 31: datadog.cws.dumpsv1.MatchedRule.RuleTagsEntry } var file_proto_cws_dumpsv1_activity_dump_proto_depIdxs = []int32{ 4, // 0: datadog.cws.dumpsv1.SecDump.metadata:type_name -> datadog.cws.dumpsv1.Metadata 8, // 1: datadog.cws.dumpsv1.SecDump.tree:type_name -> datadog.cws.dumpsv1.ProcessActivityNode - 24, // 2: datadog.cws.dumpsv1.ProfileContext.event_type_state:type_name -> datadog.cws.dumpsv1.ProfileContext.EventTypeStateEntry + 29, // 2: datadog.cws.dumpsv1.ProfileContext.event_type_state:type_name -> datadog.cws.dumpsv1.ProfileContext.EventTypeStateEntry 4, // 3: datadog.cws.dumpsv1.SecurityProfile.metadata:type_name -> datadog.cws.dumpsv1.Metadata 8, // 4: datadog.cws.dumpsv1.SecurityProfile.tree:type_name -> datadog.cws.dumpsv1.ProcessActivityNode - 25, // 5: datadog.cws.dumpsv1.SecurityProfile.profile_contexts:type_name -> datadog.cws.dumpsv1.SecurityProfile.ProfileContextsEntry + 30, // 5: datadog.cws.dumpsv1.SecurityProfile.profile_contexts:type_name -> datadog.cws.dumpsv1.SecurityProfile.ProfileContextsEntry 5, // 6: datadog.cws.dumpsv1.SecurityProfile.selector:type_name -> datadog.cws.dumpsv1.ProfileSelector 9, // 7: datadog.cws.dumpsv1.ProcessActivityNode.process:type_name -> datadog.cws.dumpsv1.ProcessInfo 1, // 8: datadog.cws.dumpsv1.ProcessActivityNode.generation_type:type_name -> datadog.cws.dumpsv1.GenerationType - 22, // 9: datadog.cws.dumpsv1.ProcessActivityNode.matched_rules:type_name -> datadog.cws.dumpsv1.MatchedRule + 27, // 9: datadog.cws.dumpsv1.ProcessActivityNode.matched_rules:type_name -> datadog.cws.dumpsv1.MatchedRule 8, // 10: datadog.cws.dumpsv1.ProcessActivityNode.children:type_name -> datadog.cws.dumpsv1.ProcessActivityNode 10, // 11: datadog.cws.dumpsv1.ProcessActivityNode.files:type_name -> datadog.cws.dumpsv1.FileActivityNode 12, // 12: datadog.cws.dumpsv1.ProcessActivityNode.dns_names:type_name -> datadog.cws.dumpsv1.DNSNode - 20, // 13: datadog.cws.dumpsv1.ProcessActivityNode.sockets:type_name -> datadog.cws.dumpsv1.SocketNode - 14, // 14: datadog.cws.dumpsv1.ProcessActivityNode.imds_events:type_name -> datadog.cws.dumpsv1.IMDSNode - 18, // 15: datadog.cws.dumpsv1.ProcessInfo.file:type_name -> datadog.cws.dumpsv1.FileInfo - 19, // 16: datadog.cws.dumpsv1.ProcessInfo.credentials:type_name -> datadog.cws.dumpsv1.Credentials - 22, // 17: datadog.cws.dumpsv1.FileActivityNode.matched_rules:type_name -> datadog.cws.dumpsv1.MatchedRule - 18, // 18: datadog.cws.dumpsv1.FileActivityNode.file:type_name -> datadog.cws.dumpsv1.FileInfo - 1, // 19: datadog.cws.dumpsv1.FileActivityNode.generation_type:type_name -> datadog.cws.dumpsv1.GenerationType - 11, // 20: datadog.cws.dumpsv1.FileActivityNode.open:type_name -> datadog.cws.dumpsv1.OpenNode - 10, // 21: datadog.cws.dumpsv1.FileActivityNode.children:type_name -> datadog.cws.dumpsv1.FileActivityNode - 22, // 22: datadog.cws.dumpsv1.DNSNode.matched_rules:type_name -> datadog.cws.dumpsv1.MatchedRule - 13, // 23: datadog.cws.dumpsv1.DNSNode.requests:type_name -> datadog.cws.dumpsv1.DNSInfo - 22, // 24: datadog.cws.dumpsv1.IMDSNode.matched_rules:type_name -> datadog.cws.dumpsv1.MatchedRule - 15, // 25: datadog.cws.dumpsv1.IMDSNode.event:type_name -> datadog.cws.dumpsv1.IMDSEvent - 16, // 26: datadog.cws.dumpsv1.IMDSEvent.aws:type_name -> datadog.cws.dumpsv1.AWSIMDSEvent - 17, // 27: datadog.cws.dumpsv1.AWSIMDSEvent.security_credentials:type_name -> datadog.cws.dumpsv1.AWSSecurityCredentials - 0, // 28: datadog.cws.dumpsv1.FileInfo.hash_state:type_name -> datadog.cws.dumpsv1.HashState - 21, // 29: datadog.cws.dumpsv1.SocketNode.bind:type_name -> datadog.cws.dumpsv1.BindNode - 22, // 30: datadog.cws.dumpsv1.BindNode.matched_rules:type_name -> datadog.cws.dumpsv1.MatchedRule - 26, // 31: datadog.cws.dumpsv1.MatchedRule.rule_tags:type_name -> datadog.cws.dumpsv1.MatchedRule.RuleTagsEntry - 2, // 32: datadog.cws.dumpsv1.event_type_state.event_profile_state:type_name -> datadog.cws.dumpsv1.event_profile_state - 23, // 33: datadog.cws.dumpsv1.ProfileContext.EventTypeStateEntry.value:type_name -> datadog.cws.dumpsv1.event_type_state - 6, // 34: datadog.cws.dumpsv1.SecurityProfile.ProfileContextsEntry.value:type_name -> datadog.cws.dumpsv1.ProfileContext - 35, // [35:35] is the sub-list for method output_type - 35, // [35:35] is the sub-list for method input_type - 35, // [35:35] is the sub-list for extension type_name - 35, // [35:35] is the sub-list for extension extendee - 0, // [0:35] is the sub-list for field type_name + 21, // 13: datadog.cws.dumpsv1.ProcessActivityNode.sockets:type_name -> datadog.cws.dumpsv1.SocketNode + 15, // 14: datadog.cws.dumpsv1.ProcessActivityNode.imds_events:type_name -> datadog.cws.dumpsv1.IMDSNode + 14, // 15: datadog.cws.dumpsv1.ProcessActivityNode.syscall_nodes:type_name -> datadog.cws.dumpsv1.SyscallNode + 23, // 16: datadog.cws.dumpsv1.ProcessActivityNode.network_devices:type_name -> datadog.cws.dumpsv1.NetworkDeviceNode + 19, // 17: datadog.cws.dumpsv1.ProcessInfo.file:type_name -> datadog.cws.dumpsv1.FileInfo + 20, // 18: datadog.cws.dumpsv1.ProcessInfo.credentials:type_name -> datadog.cws.dumpsv1.Credentials + 27, // 19: datadog.cws.dumpsv1.FileActivityNode.matched_rules:type_name -> datadog.cws.dumpsv1.MatchedRule + 19, // 20: datadog.cws.dumpsv1.FileActivityNode.file:type_name -> datadog.cws.dumpsv1.FileInfo + 1, // 21: datadog.cws.dumpsv1.FileActivityNode.generation_type:type_name -> datadog.cws.dumpsv1.GenerationType + 11, // 22: datadog.cws.dumpsv1.FileActivityNode.open:type_name -> datadog.cws.dumpsv1.OpenNode + 10, // 23: datadog.cws.dumpsv1.FileActivityNode.children:type_name -> datadog.cws.dumpsv1.FileActivityNode + 27, // 24: datadog.cws.dumpsv1.DNSNode.matched_rules:type_name -> datadog.cws.dumpsv1.MatchedRule + 13, // 25: datadog.cws.dumpsv1.DNSNode.requests:type_name -> datadog.cws.dumpsv1.DNSInfo + 27, // 26: datadog.cws.dumpsv1.IMDSNode.matched_rules:type_name -> datadog.cws.dumpsv1.MatchedRule + 16, // 27: datadog.cws.dumpsv1.IMDSNode.event:type_name -> datadog.cws.dumpsv1.IMDSEvent + 17, // 28: datadog.cws.dumpsv1.IMDSEvent.aws:type_name -> datadog.cws.dumpsv1.AWSIMDSEvent + 18, // 29: datadog.cws.dumpsv1.AWSIMDSEvent.security_credentials:type_name -> datadog.cws.dumpsv1.AWSSecurityCredentials + 0, // 30: datadog.cws.dumpsv1.FileInfo.hash_state:type_name -> datadog.cws.dumpsv1.HashState + 22, // 31: datadog.cws.dumpsv1.SocketNode.bind:type_name -> datadog.cws.dumpsv1.BindNode + 27, // 32: datadog.cws.dumpsv1.BindNode.matched_rules:type_name -> datadog.cws.dumpsv1.MatchedRule + 27, // 33: datadog.cws.dumpsv1.NetworkDeviceNode.matched_rules:type_name -> datadog.cws.dumpsv1.MatchedRule + 24, // 34: datadog.cws.dumpsv1.NetworkDeviceNode.flow_nodes:type_name -> datadog.cws.dumpsv1.FlowNode + 25, // 35: datadog.cws.dumpsv1.FlowNode.source:type_name -> datadog.cws.dumpsv1.IPPortContext + 25, // 36: datadog.cws.dumpsv1.FlowNode.destination:type_name -> datadog.cws.dumpsv1.IPPortContext + 26, // 37: datadog.cws.dumpsv1.FlowNode.ingress:type_name -> datadog.cws.dumpsv1.NetworkStats + 26, // 38: datadog.cws.dumpsv1.FlowNode.egress:type_name -> datadog.cws.dumpsv1.NetworkStats + 31, // 39: datadog.cws.dumpsv1.MatchedRule.rule_tags:type_name -> datadog.cws.dumpsv1.MatchedRule.RuleTagsEntry + 2, // 40: datadog.cws.dumpsv1.event_type_state.event_profile_state:type_name -> datadog.cws.dumpsv1.event_profile_state + 28, // 41: datadog.cws.dumpsv1.ProfileContext.EventTypeStateEntry.value:type_name -> datadog.cws.dumpsv1.event_type_state + 6, // 42: datadog.cws.dumpsv1.SecurityProfile.ProfileContextsEntry.value:type_name -> datadog.cws.dumpsv1.ProfileContext + 43, // [43:43] is the sub-list for method output_type + 43, // [43:43] is the sub-list for method input_type + 43, // [43:43] is the sub-list for extension type_name + 43, // [43:43] is the sub-list for extension extendee + 0, // [0:43] is the sub-list for field type_name } func init() { file_proto_cws_dumpsv1_activity_dump_proto_init() } @@ -2869,7 +3299,7 @@ func file_proto_cws_dumpsv1_activity_dump_proto_init() { } } file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IMDSNode); i { + switch v := v.(*SyscallNode); i { case 0: return &v.state case 1: @@ -2881,7 +3311,7 @@ func file_proto_cws_dumpsv1_activity_dump_proto_init() { } } file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IMDSEvent); i { + switch v := v.(*IMDSNode); i { case 0: return &v.state case 1: @@ -2893,7 +3323,7 @@ func file_proto_cws_dumpsv1_activity_dump_proto_init() { } } file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AWSIMDSEvent); i { + switch v := v.(*IMDSEvent); i { case 0: return &v.state case 1: @@ -2905,7 +3335,7 @@ func file_proto_cws_dumpsv1_activity_dump_proto_init() { } } file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AWSSecurityCredentials); i { + switch v := v.(*AWSIMDSEvent); i { case 0: return &v.state case 1: @@ -2917,7 +3347,7 @@ func file_proto_cws_dumpsv1_activity_dump_proto_init() { } } file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FileInfo); i { + switch v := v.(*AWSSecurityCredentials); i { case 0: return &v.state case 1: @@ -2929,7 +3359,7 @@ func file_proto_cws_dumpsv1_activity_dump_proto_init() { } } file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Credentials); i { + switch v := v.(*FileInfo); i { case 0: return &v.state case 1: @@ -2941,7 +3371,7 @@ func file_proto_cws_dumpsv1_activity_dump_proto_init() { } } file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SocketNode); i { + switch v := v.(*Credentials); i { case 0: return &v.state case 1: @@ -2953,7 +3383,7 @@ func file_proto_cws_dumpsv1_activity_dump_proto_init() { } } file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BindNode); i { + switch v := v.(*SocketNode); i { case 0: return &v.state case 1: @@ -2965,7 +3395,7 @@ func file_proto_cws_dumpsv1_activity_dump_proto_init() { } } file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MatchedRule); i { + switch v := v.(*BindNode); i { case 0: return &v.state case 1: @@ -2977,6 +3407,66 @@ func file_proto_cws_dumpsv1_activity_dump_proto_init() { } } file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NetworkDeviceNode); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FlowNode); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IPPortContext); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NetworkStats); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MatchedRule); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*EventTypeState); i { case 0: return &v.state @@ -2995,7 +3485,7 @@ func file_proto_cws_dumpsv1_activity_dump_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_proto_cws_dumpsv1_activity_dump_proto_rawDesc, NumEnums: 3, - NumMessages: 24, + NumMessages: 29, NumExtensions: 0, NumServices: 0, }, diff --git a/cws/dumpsv1/activity_dump_vtproto.pb.go b/cws/dumpsv1/activity_dump_vtproto.pb.go index b726c978..02211d52 100644 --- a/cws/dumpsv1/activity_dump_vtproto.pb.go +++ b/cws/dumpsv1/activity_dump_vtproto.pb.go @@ -529,6 +529,30 @@ func (m *ProcessActivityNode) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } + if len(m.NetworkDevices) > 0 { + for iNdEx := len(m.NetworkDevices) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.NetworkDevices[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x6a + } + } + if len(m.SyscallNodes) > 0 { + for iNdEx := len(m.SyscallNodes) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.SyscallNodes[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x62 + } + } if len(m.ImdsEvents) > 0 { for iNdEx := len(m.ImdsEvents) - 1; iNdEx >= 0; iNdEx-- { size, err := m.ImdsEvents[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) @@ -1138,6 +1162,53 @@ func (m *DNSInfo) MarshalToSizedBufferVT(dAtA []byte) (int, error) { return len(dAtA) - i, nil } +func (m *SyscallNode) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *SyscallNode) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *SyscallNode) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Syscall != 0 { + i = encodeVarint(dAtA, i, uint64(m.Syscall)) + i-- + dAtA[i] = 0x10 + } + if len(m.ImageTags) > 0 { + for iNdEx := len(m.ImageTags) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.ImageTags[iNdEx]) + copy(dAtA[i:], m.ImageTags[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.ImageTags[iNdEx]))) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + func (m *IMDSNode) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil @@ -1800,7 +1871,7 @@ func (m *BindNode) MarshalToSizedBufferVT(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *MatchedRule) MarshalVT() (dAtA []byte, err error) { +func (m *NetworkDeviceNode) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -1813,12 +1884,12 @@ func (m *MatchedRule) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *MatchedRule) MarshalToVT(dAtA []byte) (int, error) { +func (m *NetworkDeviceNode) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *MatchedRule) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *NetworkDeviceNode) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -1830,57 +1901,51 @@ func (m *MatchedRule) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if len(m.RuleTags) > 0 { - for k := range m.RuleTags { - v := m.RuleTags[k] - baseI := i - i -= len(v) - copy(dAtA[i:], v) - i = encodeVarint(dAtA, i, uint64(len(v))) - i-- - dAtA[i] = 0x12 - i -= len(k) - copy(dAtA[i:], k) - i = encodeVarint(dAtA, i, uint64(len(k))) - i-- - dAtA[i] = 0xa - i = encodeVarint(dAtA, i, uint64(baseI-i)) + if len(m.FlowNodes) > 0 { + for iNdEx := len(m.FlowNodes) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.FlowNodes[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) i-- dAtA[i] = 0x2a } } - if len(m.PolicyVersion) > 0 { - i -= len(m.PolicyVersion) - copy(dAtA[i:], m.PolicyVersion) - i = encodeVarint(dAtA, i, uint64(len(m.PolicyVersion))) + if len(m.Ifname) > 0 { + i -= len(m.Ifname) + copy(dAtA[i:], m.Ifname) + i = encodeVarint(dAtA, i, uint64(len(m.Ifname))) i-- dAtA[i] = 0x22 } - if len(m.PolicyName) > 0 { - i -= len(m.PolicyName) - copy(dAtA[i:], m.PolicyName) - i = encodeVarint(dAtA, i, uint64(len(m.PolicyName))) + if m.Ifindex != 0 { + i = encodeVarint(dAtA, i, uint64(m.Ifindex)) i-- - dAtA[i] = 0x1a + dAtA[i] = 0x18 } - if len(m.RuleVersion) > 0 { - i -= len(m.RuleVersion) - copy(dAtA[i:], m.RuleVersion) - i = encodeVarint(dAtA, i, uint64(len(m.RuleVersion))) + if m.Netns != 0 { + i = encodeVarint(dAtA, i, uint64(m.Netns)) i-- - dAtA[i] = 0x12 + dAtA[i] = 0x10 } - if len(m.RuleId) > 0 { - i -= len(m.RuleId) - copy(dAtA[i:], m.RuleId) - i = encodeVarint(dAtA, i, uint64(len(m.RuleId))) - i-- - dAtA[i] = 0xa + if len(m.MatchedRules) > 0 { + for iNdEx := len(m.MatchedRules) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.MatchedRules[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0xa + } } return len(dAtA) - i, nil } -func (m *EventTypeState) MarshalVT() (dAtA []byte, err error) { +func (m *FlowNode) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -1893,12 +1958,12 @@ func (m *EventTypeState) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *EventTypeState) MarshalToVT(dAtA []byte) (int, error) { +func (m *FlowNode) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *EventTypeState) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *FlowNode) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -1910,74 +1975,334 @@ func (m *EventTypeState) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if m.EventProfileState != 0 { - i = encodeVarint(dAtA, i, uint64(m.EventProfileState)) + if m.Egress != nil { + size, err := m.Egress.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) i-- - dAtA[i] = 0x10 + dAtA[i] = 0x3a } - if m.LastAnomalyNano != 0 { - i = encodeVarint(dAtA, i, uint64(m.LastAnomalyNano)) + if m.Ingress != nil { + size, err := m.Ingress.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) i-- - dAtA[i] = 0x8 + dAtA[i] = 0x32 + } + if m.L4Protocol != 0 { + i = encodeVarint(dAtA, i, uint64(m.L4Protocol)) + i-- + dAtA[i] = 0x28 + } + if m.L3Protocol != 0 { + i = encodeVarint(dAtA, i, uint64(m.L3Protocol)) + i-- + dAtA[i] = 0x20 + } + if m.Destination != nil { + size, err := m.Destination.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x1a + } + if m.Source != nil { + size, err := m.Source.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + } + if len(m.ImageTags) > 0 { + for iNdEx := len(m.ImageTags) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.ImageTags[iNdEx]) + copy(dAtA[i:], m.ImageTags[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.ImageTags[iNdEx]))) + i-- + dAtA[i] = 0xa + } } return len(dAtA) - i, nil } -func encodeVarint(dAtA []byte, offset int, v uint64) int { - offset -= sov(v) - base := offset - for v >= 1<<7 { - dAtA[offset] = uint8(v&0x7f | 0x80) - v >>= 7 - offset++ +func (m *IPPortContext) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil } - dAtA[offset] = uint8(v) - return base + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil } -var vtprotoPool_SecDump = sync.Pool{ - New: func() interface{} { - return &SecDump{} - }, +func (m *IPPortContext) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *SecDump) ResetVT() { - f0 := m.Tags[:0] - for _, mm := range m.Tree { - mm.ResetVT() +func (m *IPPortContext) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil } - f1 := m.Tree[:0] - m.Reset() - m.Tags = f0 - m.Tree = f1 -} -func (m *SecDump) ReturnToVTPool() { - if m != nil { - m.ResetVT() - vtprotoPool_SecDump.Put(m) + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Port != 0 { + i = encodeVarint(dAtA, i, uint64(m.Port)) + i-- + dAtA[i] = 0x10 + } + if len(m.Ip) > 0 { + i -= len(m.Ip) + copy(dAtA[i:], m.Ip) + i = encodeVarint(dAtA, i, uint64(len(m.Ip))) + i-- + dAtA[i] = 0xa } + return len(dAtA) - i, nil } -func SecDumpFromVTPool() *SecDump { - return vtprotoPool_SecDump.Get().(*SecDump) + +func (m *NetworkStats) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil } -var vtprotoPool_ProcessActivityNode = sync.Pool{ - New: func() interface{} { - return &ProcessActivityNode{} - }, +func (m *NetworkStats) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *ProcessActivityNode) ResetVT() { - m.Process.ReturnToVTPool() - for _, mm := range m.Children { - mm.ResetVT() - } - f0 := m.Children[:0] - for _, mm := range m.Files { - mm.ResetVT() +func (m *NetworkStats) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil } - f1 := m.Files[:0] - for _, mm := range m.DnsNames { + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.PacketCount != 0 { + i = encodeVarint(dAtA, i, uint64(m.PacketCount)) + i-- + dAtA[i] = 0x10 + } + if m.DataSize != 0 { + i = encodeVarint(dAtA, i, uint64(m.DataSize)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *MatchedRule) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MatchedRule) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *MatchedRule) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.RuleTags) > 0 { + for k := range m.RuleTags { + v := m.RuleTags[k] + baseI := i + i -= len(v) + copy(dAtA[i:], v) + i = encodeVarint(dAtA, i, uint64(len(v))) + i-- + dAtA[i] = 0x12 + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarint(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarint(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0x2a + } + } + if len(m.PolicyVersion) > 0 { + i -= len(m.PolicyVersion) + copy(dAtA[i:], m.PolicyVersion) + i = encodeVarint(dAtA, i, uint64(len(m.PolicyVersion))) + i-- + dAtA[i] = 0x22 + } + if len(m.PolicyName) > 0 { + i -= len(m.PolicyName) + copy(dAtA[i:], m.PolicyName) + i = encodeVarint(dAtA, i, uint64(len(m.PolicyName))) + i-- + dAtA[i] = 0x1a + } + if len(m.RuleVersion) > 0 { + i -= len(m.RuleVersion) + copy(dAtA[i:], m.RuleVersion) + i = encodeVarint(dAtA, i, uint64(len(m.RuleVersion))) + i-- + dAtA[i] = 0x12 + } + if len(m.RuleId) > 0 { + i -= len(m.RuleId) + copy(dAtA[i:], m.RuleId) + i = encodeVarint(dAtA, i, uint64(len(m.RuleId))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *EventTypeState) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *EventTypeState) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *EventTypeState) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.EventProfileState != 0 { + i = encodeVarint(dAtA, i, uint64(m.EventProfileState)) + i-- + dAtA[i] = 0x10 + } + if m.LastAnomalyNano != 0 { + i = encodeVarint(dAtA, i, uint64(m.LastAnomalyNano)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func encodeVarint(dAtA []byte, offset int, v uint64) int { + offset -= sov(v) + base := offset + for v >= 1<<7 { + dAtA[offset] = uint8(v&0x7f | 0x80) + v >>= 7 + offset++ + } + dAtA[offset] = uint8(v) + return base +} + +var vtprotoPool_SecDump = sync.Pool{ + New: func() interface{} { + return &SecDump{} + }, +} + +func (m *SecDump) ResetVT() { + f0 := m.Tags[:0] + for _, mm := range m.Tree { + mm.ResetVT() + } + f1 := m.Tree[:0] + m.Reset() + m.Tags = f0 + m.Tree = f1 +} +func (m *SecDump) ReturnToVTPool() { + if m != nil { + m.ResetVT() + vtprotoPool_SecDump.Put(m) + } +} +func SecDumpFromVTPool() *SecDump { + return vtprotoPool_SecDump.Get().(*SecDump) +} + +var vtprotoPool_ProcessActivityNode = sync.Pool{ + New: func() interface{} { + return &ProcessActivityNode{} + }, +} + +func (m *ProcessActivityNode) ResetVT() { + m.Process.ReturnToVTPool() + for _, mm := range m.Children { + mm.ResetVT() + } + f0 := m.Children[:0] + for _, mm := range m.Files { + mm.ResetVT() + } + f1 := m.Files[:0] + for _, mm := range m.DnsNames { mm.Reset() } f2 := m.DnsNames[:0] @@ -1995,6 +2320,14 @@ func (m *ProcessActivityNode) ResetVT() { mm.Reset() } f7 := m.ImdsEvents[:0] + for _, mm := range m.SyscallNodes { + mm.Reset() + } + f8 := m.SyscallNodes[:0] + for _, mm := range m.NetworkDevices { + mm.Reset() + } + f9 := m.NetworkDevices[:0] m.Reset() m.Children = f0 m.Files = f1 @@ -2004,6 +2337,8 @@ func (m *ProcessActivityNode) ResetVT() { m.MatchedRules = f5 m.ImageTags = f6 m.ImdsEvents = f7 + m.SyscallNodes = f8 + m.NetworkDevices = f9 } func (m *ProcessActivityNode) ReturnToVTPool() { if m != nil { @@ -2370,6 +2705,18 @@ func (m *ProcessActivityNode) SizeVT() (n int) { n += 1 + l + sov(uint64(l)) } } + if len(m.SyscallNodes) > 0 { + for _, e := range m.SyscallNodes { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) + } + } + if len(m.NetworkDevices) > 0 { + for _, e := range m.NetworkDevices { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) + } + } n += len(m.unknownFields) return n } @@ -2584,6 +2931,25 @@ func (m *DNSInfo) SizeVT() (n int) { return n } +func (m *SyscallNode) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.ImageTags) > 0 { + for _, s := range m.ImageTags { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + if m.Syscall != 0 { + n += 1 + sov(uint64(m.Syscall)) + } + n += len(m.unknownFields) + return n +} + func (m *IMDSNode) SizeVT() (n int) { if m == nil { return 0 @@ -2880,50 +3246,153 @@ func (m *BindNode) SizeVT() (n int) { return n } -func (m *MatchedRule) SizeVT() (n int) { +func (m *NetworkDeviceNode) SizeVT() (n int) { if m == nil { return 0 } var l int _ = l - l = len(m.RuleId) - if l > 0 { - n += 1 + l + sov(uint64(l)) + if len(m.MatchedRules) > 0 { + for _, e := range m.MatchedRules { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) + } } - l = len(m.RuleVersion) - if l > 0 { - n += 1 + l + sov(uint64(l)) + if m.Netns != 0 { + n += 1 + sov(uint64(m.Netns)) } - l = len(m.PolicyName) - if l > 0 { - n += 1 + l + sov(uint64(l)) + if m.Ifindex != 0 { + n += 1 + sov(uint64(m.Ifindex)) } - l = len(m.PolicyVersion) + l = len(m.Ifname) if l > 0 { n += 1 + l + sov(uint64(l)) } - if len(m.RuleTags) > 0 { - for k, v := range m.RuleTags { - _ = k - _ = v - mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + 1 + len(v) + sov(uint64(len(v))) - n += mapEntrySize + 1 + sov(uint64(mapEntrySize)) + if len(m.FlowNodes) > 0 { + for _, e := range m.FlowNodes { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) } } n += len(m.unknownFields) return n } -func (m *EventTypeState) SizeVT() (n int) { +func (m *FlowNode) SizeVT() (n int) { if m == nil { return 0 } var l int _ = l - if m.LastAnomalyNano != 0 { - n += 1 + sov(uint64(m.LastAnomalyNano)) + if len(m.ImageTags) > 0 { + for _, s := range m.ImageTags { + l = len(s) + n += 1 + l + sov(uint64(l)) + } } - if m.EventProfileState != 0 { + if m.Source != nil { + l = m.Source.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if m.Destination != nil { + l = m.Destination.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if m.L3Protocol != 0 { + n += 1 + sov(uint64(m.L3Protocol)) + } + if m.L4Protocol != 0 { + n += 1 + sov(uint64(m.L4Protocol)) + } + if m.Ingress != nil { + l = m.Ingress.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if m.Egress != nil { + l = m.Egress.SizeVT() + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *IPPortContext) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Ip) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.Port != 0 { + n += 1 + sov(uint64(m.Port)) + } + n += len(m.unknownFields) + return n +} + +func (m *NetworkStats) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.DataSize != 0 { + n += 1 + sov(uint64(m.DataSize)) + } + if m.PacketCount != 0 { + n += 1 + sov(uint64(m.PacketCount)) + } + n += len(m.unknownFields) + return n +} + +func (m *MatchedRule) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.RuleId) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.RuleVersion) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.PolicyName) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.PolicyVersion) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if len(m.RuleTags) > 0 { + for k, v := range m.RuleTags { + _ = k + _ = v + mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + 1 + len(v) + sov(uint64(len(v))) + n += mapEntrySize + 1 + sov(uint64(mapEntrySize)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *EventTypeState) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.LastAnomalyNano != 0 { + n += 1 + sov(uint64(m.LastAnomalyNano)) + } + if m.EventProfileState != 0 { n += 1 + sov(uint64(m.EventProfileState)) } n += len(m.unknownFields) @@ -4950,6 +5419,88 @@ func (m *ProcessActivityNode) UnmarshalVT(dAtA []byte) error { return err } iNdEx = postIndex + case 12: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SyscallNodes", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if len(m.SyscallNodes) == cap(m.SyscallNodes) { + m.SyscallNodes = append(m.SyscallNodes, &SyscallNode{}) + } else { + m.SyscallNodes = m.SyscallNodes[:len(m.SyscallNodes)+1] + if m.SyscallNodes[len(m.SyscallNodes)-1] == nil { + m.SyscallNodes[len(m.SyscallNodes)-1] = &SyscallNode{} + } + } + if err := m.SyscallNodes[len(m.SyscallNodes)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 13: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field NetworkDevices", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if len(m.NetworkDevices) == cap(m.NetworkDevices) { + m.NetworkDevices = append(m.NetworkDevices, &NetworkDeviceNode{}) + } else { + m.NetworkDevices = m.NetworkDevices[:len(m.NetworkDevices)+1] + if m.NetworkDevices[len(m.NetworkDevices)-1] == nil { + m.NetworkDevices[len(m.NetworkDevices)-1] = &NetworkDeviceNode{} + } + } + if err := m.NetworkDevices[len(m.NetworkDevices)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -6304,6 +6855,108 @@ func (m *DNSInfo) UnmarshalVT(dAtA []byte) error { } return nil } +func (m *SyscallNode) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: SyscallNode: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: SyscallNode: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ImageTags", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ImageTags = append(m.ImageTags, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Syscall", wireType) + } + m.Syscall = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Syscall |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} func (m *IMDSNode) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -8264,6 +8917,651 @@ func (m *BindNode) UnmarshalVT(dAtA []byte) error { } return nil } +func (m *NetworkDeviceNode) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: NetworkDeviceNode: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: NetworkDeviceNode: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field MatchedRules", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.MatchedRules = append(m.MatchedRules, &MatchedRule{}) + if err := m.MatchedRules[len(m.MatchedRules)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Netns", wireType) + } + m.Netns = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Netns |= uint32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Ifindex", wireType) + } + m.Ifindex = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Ifindex |= uint32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Ifname", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Ifname = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field FlowNodes", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.FlowNodes = append(m.FlowNodes, &FlowNode{}) + if err := m.FlowNodes[len(m.FlowNodes)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *FlowNode) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: FlowNode: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: FlowNode: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ImageTags", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ImageTags = append(m.ImageTags, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Source", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Source == nil { + m.Source = &IPPortContext{} + } + if err := m.Source.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Destination", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Destination == nil { + m.Destination = &IPPortContext{} + } + if err := m.Destination.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field L3Protocol", wireType) + } + m.L3Protocol = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.L3Protocol |= uint32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 5: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field L4Protocol", wireType) + } + m.L4Protocol = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.L4Protocol |= uint32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Ingress", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Ingress == nil { + m.Ingress = &NetworkStats{} + } + if err := m.Ingress.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 7: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Egress", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Egress == nil { + m.Egress = &NetworkStats{} + } + if err := m.Egress.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *IPPortContext) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: IPPortContext: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: IPPortContext: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Ip", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Ip = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Port", wireType) + } + m.Port = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Port |= uint32(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *NetworkStats) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: NetworkStats: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: NetworkStats: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field DataSize", wireType) + } + m.DataSize = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.DataSize |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field PacketCount", wireType) + } + m.PacketCount = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.PacketCount |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} func (m *MatchedRule) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 diff --git a/java/com/dd/cws/adv1/pb/SecDumpProto.java b/java/com/dd/cws/adv1/pb/SecDumpProto.java index 1c88b9bb..e8a866c1 100644 --- a/java/com/dd/cws/adv1/pb/SecDumpProto.java +++ b/java/com/dd/cws/adv1/pb/SecDumpProto.java @@ -8557,21 +8557,27 @@ com.dd.cws.adv1.pb.SecDumpProto.SocketNodeOrBuilder getSocketsOrBuilder( int index); /** - * repeated uint32 syscalls = 7; + * repeated uint32 syscalls = 7 [deprecated = true]; + * @deprecated datadog.cws.dumpsv1.ProcessActivityNode.syscalls is deprecated. + * See proto/cws/dumpsv1/activity_dump.proto;l=73 * @return A list containing the syscalls. */ - java.util.List getSyscallsList(); + @java.lang.Deprecated java.util.List getSyscallsList(); /** - * repeated uint32 syscalls = 7; + * repeated uint32 syscalls = 7 [deprecated = true]; + * @deprecated datadog.cws.dumpsv1.ProcessActivityNode.syscalls is deprecated. + * See proto/cws/dumpsv1/activity_dump.proto;l=73 * @return The count of syscalls. */ - int getSyscallsCount(); + @java.lang.Deprecated int getSyscallsCount(); /** - * repeated uint32 syscalls = 7; + * repeated uint32 syscalls = 7 [deprecated = true]; + * @deprecated datadog.cws.dumpsv1.ProcessActivityNode.syscalls is deprecated. + * See proto/cws/dumpsv1/activity_dump.proto;l=73 * @param index The index of the element to return. * @return The syscalls at the given index. */ - int getSyscalls(int index); + @java.lang.Deprecated int getSyscalls(int index); /** * repeated string image_tags = 10; @@ -8621,6 +8627,54 @@ com.dd.cws.adv1.pb.SecDumpProto.SocketNodeOrBuilder getSocketsOrBuilder( */ com.dd.cws.adv1.pb.SecDumpProto.IMDSNodeOrBuilder getImdsEventsOrBuilder( int index); + + /** + * repeated .datadog.cws.dumpsv1.SyscallNode syscall_nodes = 12; + */ + java.util.List + getSyscallNodesList(); + /** + * repeated .datadog.cws.dumpsv1.SyscallNode syscall_nodes = 12; + */ + com.dd.cws.adv1.pb.SecDumpProto.SyscallNode getSyscallNodes(int index); + /** + * repeated .datadog.cws.dumpsv1.SyscallNode syscall_nodes = 12; + */ + int getSyscallNodesCount(); + /** + * repeated .datadog.cws.dumpsv1.SyscallNode syscall_nodes = 12; + */ + java.util.List + getSyscallNodesOrBuilderList(); + /** + * repeated .datadog.cws.dumpsv1.SyscallNode syscall_nodes = 12; + */ + com.dd.cws.adv1.pb.SecDumpProto.SyscallNodeOrBuilder getSyscallNodesOrBuilder( + int index); + + /** + * repeated .datadog.cws.dumpsv1.NetworkDeviceNode network_devices = 13; + */ + java.util.List + getNetworkDevicesList(); + /** + * repeated .datadog.cws.dumpsv1.NetworkDeviceNode network_devices = 13; + */ + com.dd.cws.adv1.pb.SecDumpProto.NetworkDeviceNode getNetworkDevices(int index); + /** + * repeated .datadog.cws.dumpsv1.NetworkDeviceNode network_devices = 13; + */ + int getNetworkDevicesCount(); + /** + * repeated .datadog.cws.dumpsv1.NetworkDeviceNode network_devices = 13; + */ + java.util.List + getNetworkDevicesOrBuilderList(); + /** + * repeated .datadog.cws.dumpsv1.NetworkDeviceNode network_devices = 13; + */ + com.dd.cws.adv1.pb.SecDumpProto.NetworkDeviceNodeOrBuilder getNetworkDevicesOrBuilder( + int index); } /** * Protobuf type {@code datadog.cws.dumpsv1.ProcessActivityNode} @@ -8644,6 +8698,8 @@ private ProcessActivityNode() { syscalls_ = emptyIntList(); imageTags_ = com.google.protobuf.LazyStringArrayList.EMPTY; imdsEvents_ = java.util.Collections.emptyList(); + syscallNodes_ = java.util.Collections.emptyList(); + networkDevices_ = java.util.Collections.emptyList(); } @java.lang.Override @@ -8924,27 +8980,33 @@ public com.dd.cws.adv1.pb.SecDumpProto.SocketNodeOrBuilder getSocketsOrBuilder( @SuppressWarnings("serial") private com.google.protobuf.Internal.IntList syscalls_; /** - * repeated uint32 syscalls = 7; + * repeated uint32 syscalls = 7 [deprecated = true]; + * @deprecated datadog.cws.dumpsv1.ProcessActivityNode.syscalls is deprecated. + * See proto/cws/dumpsv1/activity_dump.proto;l=73 * @return A list containing the syscalls. */ @java.lang.Override - public java.util.List + @java.lang.Deprecated public java.util.List getSyscallsList() { return syscalls_; } /** - * repeated uint32 syscalls = 7; + * repeated uint32 syscalls = 7 [deprecated = true]; + * @deprecated datadog.cws.dumpsv1.ProcessActivityNode.syscalls is deprecated. + * See proto/cws/dumpsv1/activity_dump.proto;l=73 * @return The count of syscalls. */ - public int getSyscallsCount() { + @java.lang.Deprecated public int getSyscallsCount() { return syscalls_.size(); } /** - * repeated uint32 syscalls = 7; + * repeated uint32 syscalls = 7 [deprecated = true]; + * @deprecated datadog.cws.dumpsv1.ProcessActivityNode.syscalls is deprecated. + * See proto/cws/dumpsv1/activity_dump.proto;l=73 * @param index The index of the element to return. * @return The syscalls at the given index. */ - public int getSyscalls(int index) { + @java.lang.Deprecated public int getSyscalls(int index) { return syscalls_.getInt(index); } private int syscallsMemoizedSerializedSize = -1; @@ -9026,6 +9088,88 @@ public com.dd.cws.adv1.pb.SecDumpProto.IMDSNodeOrBuilder getImdsEventsOrBuilder( return imdsEvents_.get(index); } + public static final int SYSCALL_NODES_FIELD_NUMBER = 12; + @SuppressWarnings("serial") + private java.util.List syscallNodes_; + /** + * repeated .datadog.cws.dumpsv1.SyscallNode syscall_nodes = 12; + */ + @java.lang.Override + public java.util.List getSyscallNodesList() { + return syscallNodes_; + } + /** + * repeated .datadog.cws.dumpsv1.SyscallNode syscall_nodes = 12; + */ + @java.lang.Override + public java.util.List + getSyscallNodesOrBuilderList() { + return syscallNodes_; + } + /** + * repeated .datadog.cws.dumpsv1.SyscallNode syscall_nodes = 12; + */ + @java.lang.Override + public int getSyscallNodesCount() { + return syscallNodes_.size(); + } + /** + * repeated .datadog.cws.dumpsv1.SyscallNode syscall_nodes = 12; + */ + @java.lang.Override + public com.dd.cws.adv1.pb.SecDumpProto.SyscallNode getSyscallNodes(int index) { + return syscallNodes_.get(index); + } + /** + * repeated .datadog.cws.dumpsv1.SyscallNode syscall_nodes = 12; + */ + @java.lang.Override + public com.dd.cws.adv1.pb.SecDumpProto.SyscallNodeOrBuilder getSyscallNodesOrBuilder( + int index) { + return syscallNodes_.get(index); + } + + public static final int NETWORK_DEVICES_FIELD_NUMBER = 13; + @SuppressWarnings("serial") + private java.util.List networkDevices_; + /** + * repeated .datadog.cws.dumpsv1.NetworkDeviceNode network_devices = 13; + */ + @java.lang.Override + public java.util.List getNetworkDevicesList() { + return networkDevices_; + } + /** + * repeated .datadog.cws.dumpsv1.NetworkDeviceNode network_devices = 13; + */ + @java.lang.Override + public java.util.List + getNetworkDevicesOrBuilderList() { + return networkDevices_; + } + /** + * repeated .datadog.cws.dumpsv1.NetworkDeviceNode network_devices = 13; + */ + @java.lang.Override + public int getNetworkDevicesCount() { + return networkDevices_.size(); + } + /** + * repeated .datadog.cws.dumpsv1.NetworkDeviceNode network_devices = 13; + */ + @java.lang.Override + public com.dd.cws.adv1.pb.SecDumpProto.NetworkDeviceNode getNetworkDevices(int index) { + return networkDevices_.get(index); + } + /** + * repeated .datadog.cws.dumpsv1.NetworkDeviceNode network_devices = 13; + */ + @java.lang.Override + public com.dd.cws.adv1.pb.SecDumpProto.NetworkDeviceNodeOrBuilder getNetworkDevicesOrBuilder( + int index) { + return networkDevices_.get(index); + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { @@ -9075,6 +9219,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) for (int i = 0; i < imdsEvents_.size(); i++) { output.writeMessage(11, imdsEvents_.get(i)); } + for (int i = 0; i < syscallNodes_.size(); i++) { + output.writeMessage(12, syscallNodes_.get(i)); + } + for (int i = 0; i < networkDevices_.size(); i++) { + output.writeMessage(13, networkDevices_.get(i)); + } getUnknownFields().writeTo(output); } @@ -9138,6 +9288,14 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream .computeMessageSize(11, imdsEvents_.get(i)); } + for (int i = 0; i < syscallNodes_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(12, syscallNodes_.get(i)); + } + for (int i = 0; i < networkDevices_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(13, networkDevices_.get(i)); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -9175,6 +9333,10 @@ public boolean equals(final java.lang.Object obj) { .equals(other.getImageTagsList())) return false; if (!getImdsEventsList() .equals(other.getImdsEventsList())) return false; + if (!getSyscallNodesList() + .equals(other.getSyscallNodesList())) return false; + if (!getNetworkDevicesList() + .equals(other.getNetworkDevicesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -9224,6 +9386,14 @@ public int hashCode() { hash = (37 * hash) + IMDS_EVENTS_FIELD_NUMBER; hash = (53 * hash) + getImdsEventsList().hashCode(); } + if (getSyscallNodesCount() > 0) { + hash = (37 * hash) + SYSCALL_NODES_FIELD_NUMBER; + hash = (53 * hash) + getSyscallNodesList().hashCode(); + } + if (getNetworkDevicesCount() > 0) { + hash = (37 * hash) + NETWORK_DEVICES_FIELD_NUMBER; + hash = (53 * hash) + getNetworkDevicesList().hashCode(); + } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; @@ -9404,6 +9574,20 @@ public Builder clear() { imdsEventsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000200); + if (syscallNodesBuilder_ == null) { + syscallNodes_ = java.util.Collections.emptyList(); + } else { + syscallNodes_ = null; + syscallNodesBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000400); + if (networkDevicesBuilder_ == null) { + networkDevices_ = java.util.Collections.emptyList(); + } else { + networkDevices_ = null; + networkDevicesBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000800); return this; } @@ -9501,6 +9685,24 @@ private void buildPartialRepeatedFields(com.dd.cws.adv1.pb.SecDumpProto.ProcessA } else { result.imdsEvents_ = imdsEventsBuilder_.build(); } + if (syscallNodesBuilder_ == null) { + if (((bitField0_ & 0x00000400) != 0)) { + syscallNodes_ = java.util.Collections.unmodifiableList(syscallNodes_); + bitField0_ = (bitField0_ & ~0x00000400); + } + result.syscallNodes_ = syscallNodes_; + } else { + result.syscallNodes_ = syscallNodesBuilder_.build(); + } + if (networkDevicesBuilder_ == null) { + if (((bitField0_ & 0x00000800) != 0)) { + networkDevices_ = java.util.Collections.unmodifiableList(networkDevices_); + bitField0_ = (bitField0_ & ~0x00000800); + } + result.networkDevices_ = networkDevices_; + } else { + result.networkDevices_ = networkDevicesBuilder_.build(); + } } private void buildPartial0(com.dd.cws.adv1.pb.SecDumpProto.ProcessActivityNode result) { @@ -9741,6 +9943,58 @@ public Builder mergeFrom(com.dd.cws.adv1.pb.SecDumpProto.ProcessActivityNode oth } } } + if (syscallNodesBuilder_ == null) { + if (!other.syscallNodes_.isEmpty()) { + if (syscallNodes_.isEmpty()) { + syscallNodes_ = other.syscallNodes_; + bitField0_ = (bitField0_ & ~0x00000400); + } else { + ensureSyscallNodesIsMutable(); + syscallNodes_.addAll(other.syscallNodes_); + } + onChanged(); + } + } else { + if (!other.syscallNodes_.isEmpty()) { + if (syscallNodesBuilder_.isEmpty()) { + syscallNodesBuilder_.dispose(); + syscallNodesBuilder_ = null; + syscallNodes_ = other.syscallNodes_; + bitField0_ = (bitField0_ & ~0x00000400); + syscallNodesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getSyscallNodesFieldBuilder() : null; + } else { + syscallNodesBuilder_.addAllMessages(other.syscallNodes_); + } + } + } + if (networkDevicesBuilder_ == null) { + if (!other.networkDevices_.isEmpty()) { + if (networkDevices_.isEmpty()) { + networkDevices_ = other.networkDevices_; + bitField0_ = (bitField0_ & ~0x00000800); + } else { + ensureNetworkDevicesIsMutable(); + networkDevices_.addAll(other.networkDevices_); + } + onChanged(); + } + } else { + if (!other.networkDevices_.isEmpty()) { + if (networkDevicesBuilder_.isEmpty()) { + networkDevicesBuilder_.dispose(); + networkDevicesBuilder_ = null; + networkDevices_ = other.networkDevices_; + bitField0_ = (bitField0_ & ~0x00000800); + networkDevicesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getNetworkDevicesFieldBuilder() : null; + } else { + networkDevicesBuilder_.addAllMessages(other.networkDevices_); + } + } + } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -9879,6 +10133,32 @@ public Builder mergeFrom( } break; } // case 90 + case 98: { + com.dd.cws.adv1.pb.SecDumpProto.SyscallNode m = + input.readMessage( + com.dd.cws.adv1.pb.SecDumpProto.SyscallNode.parser(), + extensionRegistry); + if (syscallNodesBuilder_ == null) { + ensureSyscallNodesIsMutable(); + syscallNodes_.add(m); + } else { + syscallNodesBuilder_.addMessage(m); + } + break; + } // case 98 + case 106: { + com.dd.cws.adv1.pb.SecDumpProto.NetworkDeviceNode m = + input.readMessage( + com.dd.cws.adv1.pb.SecDumpProto.NetworkDeviceNode.parser(), + extensionRegistry); + if (networkDevicesBuilder_ == null) { + ensureNetworkDevicesIsMutable(); + networkDevices_.add(m); + } else { + networkDevicesBuilder_.addMessage(m); + } + break; + } // case 106 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag @@ -11276,36 +11556,44 @@ private void ensureSyscallsIsMutable() { } } /** - * repeated uint32 syscalls = 7; + * repeated uint32 syscalls = 7 [deprecated = true]; + * @deprecated datadog.cws.dumpsv1.ProcessActivityNode.syscalls is deprecated. + * See proto/cws/dumpsv1/activity_dump.proto;l=73 * @return A list containing the syscalls. */ - public java.util.List + @java.lang.Deprecated public java.util.List getSyscallsList() { return ((bitField0_ & 0x00000080) != 0) ? java.util.Collections.unmodifiableList(syscalls_) : syscalls_; } /** - * repeated uint32 syscalls = 7; + * repeated uint32 syscalls = 7 [deprecated = true]; + * @deprecated datadog.cws.dumpsv1.ProcessActivityNode.syscalls is deprecated. + * See proto/cws/dumpsv1/activity_dump.proto;l=73 * @return The count of syscalls. */ - public int getSyscallsCount() { + @java.lang.Deprecated public int getSyscallsCount() { return syscalls_.size(); } /** - * repeated uint32 syscalls = 7; + * repeated uint32 syscalls = 7 [deprecated = true]; + * @deprecated datadog.cws.dumpsv1.ProcessActivityNode.syscalls is deprecated. + * See proto/cws/dumpsv1/activity_dump.proto;l=73 * @param index The index of the element to return. * @return The syscalls at the given index. */ - public int getSyscalls(int index) { + @java.lang.Deprecated public int getSyscalls(int index) { return syscalls_.getInt(index); } /** - * repeated uint32 syscalls = 7; + * repeated uint32 syscalls = 7 [deprecated = true]; + * @deprecated datadog.cws.dumpsv1.ProcessActivityNode.syscalls is deprecated. + * See proto/cws/dumpsv1/activity_dump.proto;l=73 * @param index The index to set the value at. * @param value The syscalls to set. * @return This builder for chaining. */ - public Builder setSyscalls( + @java.lang.Deprecated public Builder setSyscalls( int index, int value) { ensureSyscallsIsMutable(); @@ -11314,11 +11602,13 @@ public Builder setSyscalls( return this; } /** - * repeated uint32 syscalls = 7; + * repeated uint32 syscalls = 7 [deprecated = true]; + * @deprecated datadog.cws.dumpsv1.ProcessActivityNode.syscalls is deprecated. + * See proto/cws/dumpsv1/activity_dump.proto;l=73 * @param value The syscalls to add. * @return This builder for chaining. */ - public Builder addSyscalls(int value) { + @java.lang.Deprecated public Builder addSyscalls(int value) { ensureSyscallsIsMutable(); syscalls_.addInt(value); @@ -11326,11 +11616,13 @@ public Builder addSyscalls(int value) { return this; } /** - * repeated uint32 syscalls = 7; + * repeated uint32 syscalls = 7 [deprecated = true]; + * @deprecated datadog.cws.dumpsv1.ProcessActivityNode.syscalls is deprecated. + * See proto/cws/dumpsv1/activity_dump.proto;l=73 * @param values The syscalls to add. * @return This builder for chaining. */ - public Builder addAllSyscalls( + @java.lang.Deprecated public Builder addAllSyscalls( java.lang.Iterable values) { ensureSyscallsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( @@ -11339,10 +11631,12 @@ public Builder addAllSyscalls( return this; } /** - * repeated uint32 syscalls = 7; + * repeated uint32 syscalls = 7 [deprecated = true]; + * @deprecated datadog.cws.dumpsv1.ProcessActivityNode.syscalls is deprecated. + * See proto/cws/dumpsv1/activity_dump.proto;l=73 * @return This builder for chaining. */ - public Builder clearSyscalls() { + @java.lang.Deprecated public Builder clearSyscalls() { syscalls_ = emptyIntList(); bitField0_ = (bitField0_ & ~0x00000080); onChanged(); @@ -11692,776 +11986,3839 @@ public com.dd.cws.adv1.pb.SecDumpProto.IMDSNode.Builder addImdsEventsBuilder( } return imdsEventsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); + private java.util.List syscallNodes_ = + java.util.Collections.emptyList(); + private void ensureSyscallNodesIsMutable() { + if (!((bitField0_ & 0x00000400) != 0)) { + syscallNodes_ = new java.util.ArrayList(syscallNodes_); + bitField0_ |= 0x00000400; + } } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.dd.cws.adv1.pb.SecDumpProto.SyscallNode, com.dd.cws.adv1.pb.SecDumpProto.SyscallNode.Builder, com.dd.cws.adv1.pb.SecDumpProto.SyscallNodeOrBuilder> syscallNodesBuilder_; - // @@protoc_insertion_point(builder_scope:datadog.cws.dumpsv1.ProcessActivityNode) - } - - // @@protoc_insertion_point(class_scope:datadog.cws.dumpsv1.ProcessActivityNode) - private static final com.dd.cws.adv1.pb.SecDumpProto.ProcessActivityNode DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.dd.cws.adv1.pb.SecDumpProto.ProcessActivityNode(); - } - - public static com.dd.cws.adv1.pb.SecDumpProto.ProcessActivityNode getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ProcessActivityNode parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); + /** + * repeated .datadog.cws.dumpsv1.SyscallNode syscall_nodes = 12; + */ + public java.util.List getSyscallNodesList() { + if (syscallNodesBuilder_ == null) { + return java.util.Collections.unmodifiableList(syscallNodes_); + } else { + return syscallNodesBuilder_.getMessageList(); } - return builder.buildPartial(); } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.dd.cws.adv1.pb.SecDumpProto.ProcessActivityNode getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ProcessInfoOrBuilder extends - // @@protoc_insertion_point(interface_extends:datadog.cws.dumpsv1.ProcessInfo) - com.google.protobuf.MessageOrBuilder { - - /** - * uint32 pid = 1; - * @return The pid. - */ - int getPid(); - - /** - * uint32 tid = 2; - * @return The tid. - */ - int getTid(); - - /** - * uint32 ppid = 3; - * @return The ppid. - */ - int getPpid(); - - /** - * uint32 cookie = 4 [deprecated = true]; - * @deprecated datadog.cws.dumpsv1.ProcessInfo.cookie is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=82 - * @return The cookie. - */ - @java.lang.Deprecated int getCookie(); - - /** - * bool is_thread = 5; - * @return The isThread. - */ - boolean getIsThread(); - - /** - * .datadog.cws.dumpsv1.FileInfo file = 6; - * @return Whether the file field is set. - */ - boolean hasFile(); - /** + /** + * repeated .datadog.cws.dumpsv1.SyscallNode syscall_nodes = 12; + */ + public int getSyscallNodesCount() { + if (syscallNodesBuilder_ == null) { + return syscallNodes_.size(); + } else { + return syscallNodesBuilder_.getCount(); + } + } + /** + * repeated .datadog.cws.dumpsv1.SyscallNode syscall_nodes = 12; + */ + public com.dd.cws.adv1.pb.SecDumpProto.SyscallNode getSyscallNodes(int index) { + if (syscallNodesBuilder_ == null) { + return syscallNodes_.get(index); + } else { + return syscallNodesBuilder_.getMessage(index); + } + } + /** + * repeated .datadog.cws.dumpsv1.SyscallNode syscall_nodes = 12; + */ + public Builder setSyscallNodes( + int index, com.dd.cws.adv1.pb.SecDumpProto.SyscallNode value) { + if (syscallNodesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureSyscallNodesIsMutable(); + syscallNodes_.set(index, value); + onChanged(); + } else { + syscallNodesBuilder_.setMessage(index, value); + } + return this; + } + /** + * repeated .datadog.cws.dumpsv1.SyscallNode syscall_nodes = 12; + */ + public Builder setSyscallNodes( + int index, com.dd.cws.adv1.pb.SecDumpProto.SyscallNode.Builder builderForValue) { + if (syscallNodesBuilder_ == null) { + ensureSyscallNodesIsMutable(); + syscallNodes_.set(index, builderForValue.build()); + onChanged(); + } else { + syscallNodesBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .datadog.cws.dumpsv1.SyscallNode syscall_nodes = 12; + */ + public Builder addSyscallNodes(com.dd.cws.adv1.pb.SecDumpProto.SyscallNode value) { + if (syscallNodesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureSyscallNodesIsMutable(); + syscallNodes_.add(value); + onChanged(); + } else { + syscallNodesBuilder_.addMessage(value); + } + return this; + } + /** + * repeated .datadog.cws.dumpsv1.SyscallNode syscall_nodes = 12; + */ + public Builder addSyscallNodes( + int index, com.dd.cws.adv1.pb.SecDumpProto.SyscallNode value) { + if (syscallNodesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureSyscallNodesIsMutable(); + syscallNodes_.add(index, value); + onChanged(); + } else { + syscallNodesBuilder_.addMessage(index, value); + } + return this; + } + /** + * repeated .datadog.cws.dumpsv1.SyscallNode syscall_nodes = 12; + */ + public Builder addSyscallNodes( + com.dd.cws.adv1.pb.SecDumpProto.SyscallNode.Builder builderForValue) { + if (syscallNodesBuilder_ == null) { + ensureSyscallNodesIsMutable(); + syscallNodes_.add(builderForValue.build()); + onChanged(); + } else { + syscallNodesBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * repeated .datadog.cws.dumpsv1.SyscallNode syscall_nodes = 12; + */ + public Builder addSyscallNodes( + int index, com.dd.cws.adv1.pb.SecDumpProto.SyscallNode.Builder builderForValue) { + if (syscallNodesBuilder_ == null) { + ensureSyscallNodesIsMutable(); + syscallNodes_.add(index, builderForValue.build()); + onChanged(); + } else { + syscallNodesBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .datadog.cws.dumpsv1.SyscallNode syscall_nodes = 12; + */ + public Builder addAllSyscallNodes( + java.lang.Iterable values) { + if (syscallNodesBuilder_ == null) { + ensureSyscallNodesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, syscallNodes_); + onChanged(); + } else { + syscallNodesBuilder_.addAllMessages(values); + } + return this; + } + /** + * repeated .datadog.cws.dumpsv1.SyscallNode syscall_nodes = 12; + */ + public Builder clearSyscallNodes() { + if (syscallNodesBuilder_ == null) { + syscallNodes_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000400); + onChanged(); + } else { + syscallNodesBuilder_.clear(); + } + return this; + } + /** + * repeated .datadog.cws.dumpsv1.SyscallNode syscall_nodes = 12; + */ + public Builder removeSyscallNodes(int index) { + if (syscallNodesBuilder_ == null) { + ensureSyscallNodesIsMutable(); + syscallNodes_.remove(index); + onChanged(); + } else { + syscallNodesBuilder_.remove(index); + } + return this; + } + /** + * repeated .datadog.cws.dumpsv1.SyscallNode syscall_nodes = 12; + */ + public com.dd.cws.adv1.pb.SecDumpProto.SyscallNode.Builder getSyscallNodesBuilder( + int index) { + return getSyscallNodesFieldBuilder().getBuilder(index); + } + /** + * repeated .datadog.cws.dumpsv1.SyscallNode syscall_nodes = 12; + */ + public com.dd.cws.adv1.pb.SecDumpProto.SyscallNodeOrBuilder getSyscallNodesOrBuilder( + int index) { + if (syscallNodesBuilder_ == null) { + return syscallNodes_.get(index); } else { + return syscallNodesBuilder_.getMessageOrBuilder(index); + } + } + /** + * repeated .datadog.cws.dumpsv1.SyscallNode syscall_nodes = 12; + */ + public java.util.List + getSyscallNodesOrBuilderList() { + if (syscallNodesBuilder_ != null) { + return syscallNodesBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(syscallNodes_); + } + } + /** + * repeated .datadog.cws.dumpsv1.SyscallNode syscall_nodes = 12; + */ + public com.dd.cws.adv1.pb.SecDumpProto.SyscallNode.Builder addSyscallNodesBuilder() { + return getSyscallNodesFieldBuilder().addBuilder( + com.dd.cws.adv1.pb.SecDumpProto.SyscallNode.getDefaultInstance()); + } + /** + * repeated .datadog.cws.dumpsv1.SyscallNode syscall_nodes = 12; + */ + public com.dd.cws.adv1.pb.SecDumpProto.SyscallNode.Builder addSyscallNodesBuilder( + int index) { + return getSyscallNodesFieldBuilder().addBuilder( + index, com.dd.cws.adv1.pb.SecDumpProto.SyscallNode.getDefaultInstance()); + } + /** + * repeated .datadog.cws.dumpsv1.SyscallNode syscall_nodes = 12; + */ + public java.util.List + getSyscallNodesBuilderList() { + return getSyscallNodesFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.dd.cws.adv1.pb.SecDumpProto.SyscallNode, com.dd.cws.adv1.pb.SecDumpProto.SyscallNode.Builder, com.dd.cws.adv1.pb.SecDumpProto.SyscallNodeOrBuilder> + getSyscallNodesFieldBuilder() { + if (syscallNodesBuilder_ == null) { + syscallNodesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.dd.cws.adv1.pb.SecDumpProto.SyscallNode, com.dd.cws.adv1.pb.SecDumpProto.SyscallNode.Builder, com.dd.cws.adv1.pb.SecDumpProto.SyscallNodeOrBuilder>( + syscallNodes_, + ((bitField0_ & 0x00000400) != 0), + getParentForChildren(), + isClean()); + syscallNodes_ = null; + } + return syscallNodesBuilder_; + } + + private java.util.List networkDevices_ = + java.util.Collections.emptyList(); + private void ensureNetworkDevicesIsMutable() { + if (!((bitField0_ & 0x00000800) != 0)) { + networkDevices_ = new java.util.ArrayList(networkDevices_); + bitField0_ |= 0x00000800; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.dd.cws.adv1.pb.SecDumpProto.NetworkDeviceNode, com.dd.cws.adv1.pb.SecDumpProto.NetworkDeviceNode.Builder, com.dd.cws.adv1.pb.SecDumpProto.NetworkDeviceNodeOrBuilder> networkDevicesBuilder_; + + /** + * repeated .datadog.cws.dumpsv1.NetworkDeviceNode network_devices = 13; + */ + public java.util.List getNetworkDevicesList() { + if (networkDevicesBuilder_ == null) { + return java.util.Collections.unmodifiableList(networkDevices_); + } else { + return networkDevicesBuilder_.getMessageList(); + } + } + /** + * repeated .datadog.cws.dumpsv1.NetworkDeviceNode network_devices = 13; + */ + public int getNetworkDevicesCount() { + if (networkDevicesBuilder_ == null) { + return networkDevices_.size(); + } else { + return networkDevicesBuilder_.getCount(); + } + } + /** + * repeated .datadog.cws.dumpsv1.NetworkDeviceNode network_devices = 13; + */ + public com.dd.cws.adv1.pb.SecDumpProto.NetworkDeviceNode getNetworkDevices(int index) { + if (networkDevicesBuilder_ == null) { + return networkDevices_.get(index); + } else { + return networkDevicesBuilder_.getMessage(index); + } + } + /** + * repeated .datadog.cws.dumpsv1.NetworkDeviceNode network_devices = 13; + */ + public Builder setNetworkDevices( + int index, com.dd.cws.adv1.pb.SecDumpProto.NetworkDeviceNode value) { + if (networkDevicesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureNetworkDevicesIsMutable(); + networkDevices_.set(index, value); + onChanged(); + } else { + networkDevicesBuilder_.setMessage(index, value); + } + return this; + } + /** + * repeated .datadog.cws.dumpsv1.NetworkDeviceNode network_devices = 13; + */ + public Builder setNetworkDevices( + int index, com.dd.cws.adv1.pb.SecDumpProto.NetworkDeviceNode.Builder builderForValue) { + if (networkDevicesBuilder_ == null) { + ensureNetworkDevicesIsMutable(); + networkDevices_.set(index, builderForValue.build()); + onChanged(); + } else { + networkDevicesBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .datadog.cws.dumpsv1.NetworkDeviceNode network_devices = 13; + */ + public Builder addNetworkDevices(com.dd.cws.adv1.pb.SecDumpProto.NetworkDeviceNode value) { + if (networkDevicesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureNetworkDevicesIsMutable(); + networkDevices_.add(value); + onChanged(); + } else { + networkDevicesBuilder_.addMessage(value); + } + return this; + } + /** + * repeated .datadog.cws.dumpsv1.NetworkDeviceNode network_devices = 13; + */ + public Builder addNetworkDevices( + int index, com.dd.cws.adv1.pb.SecDumpProto.NetworkDeviceNode value) { + if (networkDevicesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureNetworkDevicesIsMutable(); + networkDevices_.add(index, value); + onChanged(); + } else { + networkDevicesBuilder_.addMessage(index, value); + } + return this; + } + /** + * repeated .datadog.cws.dumpsv1.NetworkDeviceNode network_devices = 13; + */ + public Builder addNetworkDevices( + com.dd.cws.adv1.pb.SecDumpProto.NetworkDeviceNode.Builder builderForValue) { + if (networkDevicesBuilder_ == null) { + ensureNetworkDevicesIsMutable(); + networkDevices_.add(builderForValue.build()); + onChanged(); + } else { + networkDevicesBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * repeated .datadog.cws.dumpsv1.NetworkDeviceNode network_devices = 13; + */ + public Builder addNetworkDevices( + int index, com.dd.cws.adv1.pb.SecDumpProto.NetworkDeviceNode.Builder builderForValue) { + if (networkDevicesBuilder_ == null) { + ensureNetworkDevicesIsMutable(); + networkDevices_.add(index, builderForValue.build()); + onChanged(); + } else { + networkDevicesBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .datadog.cws.dumpsv1.NetworkDeviceNode network_devices = 13; + */ + public Builder addAllNetworkDevices( + java.lang.Iterable values) { + if (networkDevicesBuilder_ == null) { + ensureNetworkDevicesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, networkDevices_); + onChanged(); + } else { + networkDevicesBuilder_.addAllMessages(values); + } + return this; + } + /** + * repeated .datadog.cws.dumpsv1.NetworkDeviceNode network_devices = 13; + */ + public Builder clearNetworkDevices() { + if (networkDevicesBuilder_ == null) { + networkDevices_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000800); + onChanged(); + } else { + networkDevicesBuilder_.clear(); + } + return this; + } + /** + * repeated .datadog.cws.dumpsv1.NetworkDeviceNode network_devices = 13; + */ + public Builder removeNetworkDevices(int index) { + if (networkDevicesBuilder_ == null) { + ensureNetworkDevicesIsMutable(); + networkDevices_.remove(index); + onChanged(); + } else { + networkDevicesBuilder_.remove(index); + } + return this; + } + /** + * repeated .datadog.cws.dumpsv1.NetworkDeviceNode network_devices = 13; + */ + public com.dd.cws.adv1.pb.SecDumpProto.NetworkDeviceNode.Builder getNetworkDevicesBuilder( + int index) { + return getNetworkDevicesFieldBuilder().getBuilder(index); + } + /** + * repeated .datadog.cws.dumpsv1.NetworkDeviceNode network_devices = 13; + */ + public com.dd.cws.adv1.pb.SecDumpProto.NetworkDeviceNodeOrBuilder getNetworkDevicesOrBuilder( + int index) { + if (networkDevicesBuilder_ == null) { + return networkDevices_.get(index); } else { + return networkDevicesBuilder_.getMessageOrBuilder(index); + } + } + /** + * repeated .datadog.cws.dumpsv1.NetworkDeviceNode network_devices = 13; + */ + public java.util.List + getNetworkDevicesOrBuilderList() { + if (networkDevicesBuilder_ != null) { + return networkDevicesBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(networkDevices_); + } + } + /** + * repeated .datadog.cws.dumpsv1.NetworkDeviceNode network_devices = 13; + */ + public com.dd.cws.adv1.pb.SecDumpProto.NetworkDeviceNode.Builder addNetworkDevicesBuilder() { + return getNetworkDevicesFieldBuilder().addBuilder( + com.dd.cws.adv1.pb.SecDumpProto.NetworkDeviceNode.getDefaultInstance()); + } + /** + * repeated .datadog.cws.dumpsv1.NetworkDeviceNode network_devices = 13; + */ + public com.dd.cws.adv1.pb.SecDumpProto.NetworkDeviceNode.Builder addNetworkDevicesBuilder( + int index) { + return getNetworkDevicesFieldBuilder().addBuilder( + index, com.dd.cws.adv1.pb.SecDumpProto.NetworkDeviceNode.getDefaultInstance()); + } + /** + * repeated .datadog.cws.dumpsv1.NetworkDeviceNode network_devices = 13; + */ + public java.util.List + getNetworkDevicesBuilderList() { + return getNetworkDevicesFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.dd.cws.adv1.pb.SecDumpProto.NetworkDeviceNode, com.dd.cws.adv1.pb.SecDumpProto.NetworkDeviceNode.Builder, com.dd.cws.adv1.pb.SecDumpProto.NetworkDeviceNodeOrBuilder> + getNetworkDevicesFieldBuilder() { + if (networkDevicesBuilder_ == null) { + networkDevicesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.dd.cws.adv1.pb.SecDumpProto.NetworkDeviceNode, com.dd.cws.adv1.pb.SecDumpProto.NetworkDeviceNode.Builder, com.dd.cws.adv1.pb.SecDumpProto.NetworkDeviceNodeOrBuilder>( + networkDevices_, + ((bitField0_ & 0x00000800) != 0), + getParentForChildren(), + isClean()); + networkDevices_ = null; + } + return networkDevicesBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:datadog.cws.dumpsv1.ProcessActivityNode) + } + + // @@protoc_insertion_point(class_scope:datadog.cws.dumpsv1.ProcessActivityNode) + private static final com.dd.cws.adv1.pb.SecDumpProto.ProcessActivityNode DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.dd.cws.adv1.pb.SecDumpProto.ProcessActivityNode(); + } + + public static com.dd.cws.adv1.pb.SecDumpProto.ProcessActivityNode getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ProcessActivityNode parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.dd.cws.adv1.pb.SecDumpProto.ProcessActivityNode getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface ProcessInfoOrBuilder extends + // @@protoc_insertion_point(interface_extends:datadog.cws.dumpsv1.ProcessInfo) + com.google.protobuf.MessageOrBuilder { + + /** + * uint32 pid = 1; + * @return The pid. + */ + int getPid(); + + /** + * uint32 tid = 2; + * @return The tid. + */ + int getTid(); + + /** + * uint32 ppid = 3; + * @return The ppid. + */ + int getPpid(); + + /** + * uint32 cookie = 4 [deprecated = true]; + * @deprecated datadog.cws.dumpsv1.ProcessInfo.cookie is deprecated. + * See proto/cws/dumpsv1/activity_dump.proto;l=84 + * @return The cookie. + */ + @java.lang.Deprecated int getCookie(); + + /** + * bool is_thread = 5; + * @return The isThread. + */ + boolean getIsThread(); + + /** + * .datadog.cws.dumpsv1.FileInfo file = 6; + * @return Whether the file field is set. + */ + boolean hasFile(); + /** + * .datadog.cws.dumpsv1.FileInfo file = 6; + * @return The file. + */ + com.dd.cws.adv1.pb.SecDumpProto.FileInfo getFile(); + /** + * .datadog.cws.dumpsv1.FileInfo file = 6; + */ + com.dd.cws.adv1.pb.SecDumpProto.FileInfoOrBuilder getFileOrBuilder(); + + /** + * string container_id = 7; + * @return The containerId. + */ + java.lang.String getContainerId(); + /** + * string container_id = 7; + * @return The bytes for containerId. + */ + com.google.protobuf.ByteString + getContainerIdBytes(); + + /** + * uint64 span_id = 8 [deprecated = true]; + * @deprecated datadog.cws.dumpsv1.ProcessInfo.span_id is deprecated. + * See proto/cws/dumpsv1/activity_dump.proto;l=91 + * @return The spanId. + */ + @java.lang.Deprecated long getSpanId(); + + /** + * uint64 trace_id = 9 [deprecated = true]; + * @deprecated datadog.cws.dumpsv1.ProcessInfo.trace_id is deprecated. + * See proto/cws/dumpsv1/activity_dump.proto;l=92 + * @return The traceId. + */ + @java.lang.Deprecated long getTraceId(); + + /** + * string tty = 10; + * @return The tty. + */ + java.lang.String getTty(); + /** + * string tty = 10; + * @return The bytes for tty. + */ + com.google.protobuf.ByteString + getTtyBytes(); + + /** + * string comm = 11; + * @return The comm. + */ + java.lang.String getComm(); + /** + * string comm = 11; + * @return The bytes for comm. + */ + com.google.protobuf.ByteString + getCommBytes(); + + /** + * uint64 fork_time = 12; + * @return The forkTime. + */ + long getForkTime(); + + /** + * uint64 exit_time = 13; + * @return The exitTime. + */ + long getExitTime(); + + /** + * uint64 exec_time = 14; + * @return The execTime. + */ + long getExecTime(); + + /** + * .datadog.cws.dumpsv1.Credentials credentials = 15; + * @return Whether the credentials field is set. + */ + boolean hasCredentials(); + /** + * .datadog.cws.dumpsv1.Credentials credentials = 15; + * @return The credentials. + */ + com.dd.cws.adv1.pb.SecDumpProto.Credentials getCredentials(); + /** + * .datadog.cws.dumpsv1.Credentials credentials = 15; + */ + com.dd.cws.adv1.pb.SecDumpProto.CredentialsOrBuilder getCredentialsOrBuilder(); + + /** + * repeated string args = 16; + * @return A list containing the args. + */ + java.util.List + getArgsList(); + /** + * repeated string args = 16; + * @return The count of args. + */ + int getArgsCount(); + /** + * repeated string args = 16; + * @param index The index of the element to return. + * @return The args at the given index. + */ + java.lang.String getArgs(int index); + /** + * repeated string args = 16; + * @param index The index of the value to return. + * @return The bytes of the args at the given index. + */ + com.google.protobuf.ByteString + getArgsBytes(int index); + + /** + * string argv0 = 17; + * @return The argv0. + */ + java.lang.String getArgv0(); + /** + * string argv0 = 17; + * @return The bytes for argv0. + */ + com.google.protobuf.ByteString + getArgv0Bytes(); + + /** + * bool args_truncated = 18; + * @return The argsTruncated. + */ + boolean getArgsTruncated(); + + /** + * repeated string envs = 19; + * @return A list containing the envs. + */ + java.util.List + getEnvsList(); + /** + * repeated string envs = 19; + * @return The count of envs. + */ + int getEnvsCount(); + /** + * repeated string envs = 19; + * @param index The index of the element to return. + * @return The envs at the given index. + */ + java.lang.String getEnvs(int index); + /** + * repeated string envs = 19; + * @param index The index of the value to return. + * @return The bytes of the envs at the given index. + */ + com.google.protobuf.ByteString + getEnvsBytes(int index); + + /** + * bool envs_truncated = 20; + * @return The envsTruncated. + */ + boolean getEnvsTruncated(); + + /** + * bool is_exec_child = 21; + * @return The isExecChild. + */ + boolean getIsExecChild(); + + /** + * uint64 cookie64 = 22; + * @return The cookie64. + */ + long getCookie64(); + } + /** + * Protobuf type {@code datadog.cws.dumpsv1.ProcessInfo} + */ + public static final class ProcessInfo extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:datadog.cws.dumpsv1.ProcessInfo) + ProcessInfoOrBuilder { + private static final long serialVersionUID = 0L; + // Use ProcessInfo.newBuilder() to construct. + private ProcessInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ProcessInfo() { + containerId_ = ""; + tty_ = ""; + comm_ = ""; + args_ = com.google.protobuf.LazyStringArrayList.EMPTY; + argv0_ = ""; + envs_ = com.google.protobuf.LazyStringArrayList.EMPTY; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ProcessInfo(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_ProcessInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_ProcessInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.dd.cws.adv1.pb.SecDumpProto.ProcessInfo.class, com.dd.cws.adv1.pb.SecDumpProto.ProcessInfo.Builder.class); + } + + public static final int PID_FIELD_NUMBER = 1; + private int pid_ = 0; + /** + * uint32 pid = 1; + * @return The pid. + */ + @java.lang.Override + public int getPid() { + return pid_; + } + + public static final int TID_FIELD_NUMBER = 2; + private int tid_ = 0; + /** + * uint32 tid = 2; + * @return The tid. + */ + @java.lang.Override + public int getTid() { + return tid_; + } + + public static final int PPID_FIELD_NUMBER = 3; + private int ppid_ = 0; + /** + * uint32 ppid = 3; + * @return The ppid. + */ + @java.lang.Override + public int getPpid() { + return ppid_; + } + + public static final int COOKIE_FIELD_NUMBER = 4; + private int cookie_ = 0; + /** + * uint32 cookie = 4 [deprecated = true]; + * @deprecated datadog.cws.dumpsv1.ProcessInfo.cookie is deprecated. + * See proto/cws/dumpsv1/activity_dump.proto;l=84 + * @return The cookie. + */ + @java.lang.Override + @java.lang.Deprecated public int getCookie() { + return cookie_; + } + + public static final int IS_THREAD_FIELD_NUMBER = 5; + private boolean isThread_ = false; + /** + * bool is_thread = 5; + * @return The isThread. + */ + @java.lang.Override + public boolean getIsThread() { + return isThread_; + } + + public static final int FILE_FIELD_NUMBER = 6; + private com.dd.cws.adv1.pb.SecDumpProto.FileInfo file_; + /** + * .datadog.cws.dumpsv1.FileInfo file = 6; + * @return Whether the file field is set. + */ + @java.lang.Override + public boolean hasFile() { + return file_ != null; + } + /** * .datadog.cws.dumpsv1.FileInfo file = 6; * @return The file. */ - com.dd.cws.adv1.pb.SecDumpProto.FileInfo getFile(); + @java.lang.Override + public com.dd.cws.adv1.pb.SecDumpProto.FileInfo getFile() { + return file_ == null ? com.dd.cws.adv1.pb.SecDumpProto.FileInfo.getDefaultInstance() : file_; + } + /** + * .datadog.cws.dumpsv1.FileInfo file = 6; + */ + @java.lang.Override + public com.dd.cws.adv1.pb.SecDumpProto.FileInfoOrBuilder getFileOrBuilder() { + return file_ == null ? com.dd.cws.adv1.pb.SecDumpProto.FileInfo.getDefaultInstance() : file_; + } + + public static final int CONTAINER_ID_FIELD_NUMBER = 7; + @SuppressWarnings("serial") + private volatile java.lang.Object containerId_ = ""; + /** + * string container_id = 7; + * @return The containerId. + */ + @java.lang.Override + public java.lang.String getContainerId() { + java.lang.Object ref = containerId_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + containerId_ = s; + return s; + } + } + /** + * string container_id = 7; + * @return The bytes for containerId. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getContainerIdBytes() { + java.lang.Object ref = containerId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + containerId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SPAN_ID_FIELD_NUMBER = 8; + private long spanId_ = 0L; + /** + * uint64 span_id = 8 [deprecated = true]; + * @deprecated datadog.cws.dumpsv1.ProcessInfo.span_id is deprecated. + * See proto/cws/dumpsv1/activity_dump.proto;l=91 + * @return The spanId. + */ + @java.lang.Override + @java.lang.Deprecated public long getSpanId() { + return spanId_; + } + + public static final int TRACE_ID_FIELD_NUMBER = 9; + private long traceId_ = 0L; + /** + * uint64 trace_id = 9 [deprecated = true]; + * @deprecated datadog.cws.dumpsv1.ProcessInfo.trace_id is deprecated. + * See proto/cws/dumpsv1/activity_dump.proto;l=92 + * @return The traceId. + */ + @java.lang.Override + @java.lang.Deprecated public long getTraceId() { + return traceId_; + } + + public static final int TTY_FIELD_NUMBER = 10; + @SuppressWarnings("serial") + private volatile java.lang.Object tty_ = ""; + /** + * string tty = 10; + * @return The tty. + */ + @java.lang.Override + public java.lang.String getTty() { + java.lang.Object ref = tty_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + tty_ = s; + return s; + } + } + /** + * string tty = 10; + * @return The bytes for tty. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getTtyBytes() { + java.lang.Object ref = tty_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + tty_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int COMM_FIELD_NUMBER = 11; + @SuppressWarnings("serial") + private volatile java.lang.Object comm_ = ""; + /** + * string comm = 11; + * @return The comm. + */ + @java.lang.Override + public java.lang.String getComm() { + java.lang.Object ref = comm_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + comm_ = s; + return s; + } + } + /** + * string comm = 11; + * @return The bytes for comm. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getCommBytes() { + java.lang.Object ref = comm_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + comm_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int FORK_TIME_FIELD_NUMBER = 12; + private long forkTime_ = 0L; + /** + * uint64 fork_time = 12; + * @return The forkTime. + */ + @java.lang.Override + public long getForkTime() { + return forkTime_; + } + + public static final int EXIT_TIME_FIELD_NUMBER = 13; + private long exitTime_ = 0L; + /** + * uint64 exit_time = 13; + * @return The exitTime. + */ + @java.lang.Override + public long getExitTime() { + return exitTime_; + } + + public static final int EXEC_TIME_FIELD_NUMBER = 14; + private long execTime_ = 0L; + /** + * uint64 exec_time = 14; + * @return The execTime. + */ + @java.lang.Override + public long getExecTime() { + return execTime_; + } + + public static final int CREDENTIALS_FIELD_NUMBER = 15; + private com.dd.cws.adv1.pb.SecDumpProto.Credentials credentials_; + /** + * .datadog.cws.dumpsv1.Credentials credentials = 15; + * @return Whether the credentials field is set. + */ + @java.lang.Override + public boolean hasCredentials() { + return credentials_ != null; + } + /** + * .datadog.cws.dumpsv1.Credentials credentials = 15; + * @return The credentials. + */ + @java.lang.Override + public com.dd.cws.adv1.pb.SecDumpProto.Credentials getCredentials() { + return credentials_ == null ? com.dd.cws.adv1.pb.SecDumpProto.Credentials.getDefaultInstance() : credentials_; + } + /** + * .datadog.cws.dumpsv1.Credentials credentials = 15; + */ + @java.lang.Override + public com.dd.cws.adv1.pb.SecDumpProto.CredentialsOrBuilder getCredentialsOrBuilder() { + return credentials_ == null ? com.dd.cws.adv1.pb.SecDumpProto.Credentials.getDefaultInstance() : credentials_; + } + + public static final int ARGS_FIELD_NUMBER = 16; + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringList args_; + /** + * repeated string args = 16; + * @return A list containing the args. + */ + public com.google.protobuf.ProtocolStringList + getArgsList() { + return args_; + } + /** + * repeated string args = 16; + * @return The count of args. + */ + public int getArgsCount() { + return args_.size(); + } + /** + * repeated string args = 16; + * @param index The index of the element to return. + * @return The args at the given index. + */ + public java.lang.String getArgs(int index) { + return args_.get(index); + } + /** + * repeated string args = 16; + * @param index The index of the value to return. + * @return The bytes of the args at the given index. + */ + public com.google.protobuf.ByteString + getArgsBytes(int index) { + return args_.getByteString(index); + } + + public static final int ARGV0_FIELD_NUMBER = 17; + @SuppressWarnings("serial") + private volatile java.lang.Object argv0_ = ""; + /** + * string argv0 = 17; + * @return The argv0. + */ + @java.lang.Override + public java.lang.String getArgv0() { + java.lang.Object ref = argv0_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + argv0_ = s; + return s; + } + } + /** + * string argv0 = 17; + * @return The bytes for argv0. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getArgv0Bytes() { + java.lang.Object ref = argv0_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + argv0_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ARGS_TRUNCATED_FIELD_NUMBER = 18; + private boolean argsTruncated_ = false; + /** + * bool args_truncated = 18; + * @return The argsTruncated. + */ + @java.lang.Override + public boolean getArgsTruncated() { + return argsTruncated_; + } + + public static final int ENVS_FIELD_NUMBER = 19; + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringList envs_; + /** + * repeated string envs = 19; + * @return A list containing the envs. + */ + public com.google.protobuf.ProtocolStringList + getEnvsList() { + return envs_; + } + /** + * repeated string envs = 19; + * @return The count of envs. + */ + public int getEnvsCount() { + return envs_.size(); + } + /** + * repeated string envs = 19; + * @param index The index of the element to return. + * @return The envs at the given index. + */ + public java.lang.String getEnvs(int index) { + return envs_.get(index); + } + /** + * repeated string envs = 19; + * @param index The index of the value to return. + * @return The bytes of the envs at the given index. + */ + public com.google.protobuf.ByteString + getEnvsBytes(int index) { + return envs_.getByteString(index); + } + + public static final int ENVS_TRUNCATED_FIELD_NUMBER = 20; + private boolean envsTruncated_ = false; + /** + * bool envs_truncated = 20; + * @return The envsTruncated. + */ + @java.lang.Override + public boolean getEnvsTruncated() { + return envsTruncated_; + } + + public static final int IS_EXEC_CHILD_FIELD_NUMBER = 21; + private boolean isExecChild_ = false; + /** + * bool is_exec_child = 21; + * @return The isExecChild. + */ + @java.lang.Override + public boolean getIsExecChild() { + return isExecChild_; + } + + public static final int COOKIE64_FIELD_NUMBER = 22; + private long cookie64_ = 0L; + /** + * uint64 cookie64 = 22; + * @return The cookie64. + */ + @java.lang.Override + public long getCookie64() { + return cookie64_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (pid_ != 0) { + output.writeUInt32(1, pid_); + } + if (tid_ != 0) { + output.writeUInt32(2, tid_); + } + if (ppid_ != 0) { + output.writeUInt32(3, ppid_); + } + if (cookie_ != 0) { + output.writeUInt32(4, cookie_); + } + if (isThread_ != false) { + output.writeBool(5, isThread_); + } + if (file_ != null) { + output.writeMessage(6, getFile()); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(containerId_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 7, containerId_); + } + if (spanId_ != 0L) { + output.writeUInt64(8, spanId_); + } + if (traceId_ != 0L) { + output.writeUInt64(9, traceId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tty_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 10, tty_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(comm_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 11, comm_); + } + if (forkTime_ != 0L) { + output.writeUInt64(12, forkTime_); + } + if (exitTime_ != 0L) { + output.writeUInt64(13, exitTime_); + } + if (execTime_ != 0L) { + output.writeUInt64(14, execTime_); + } + if (credentials_ != null) { + output.writeMessage(15, getCredentials()); + } + for (int i = 0; i < args_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 16, args_.getRaw(i)); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(argv0_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 17, argv0_); + } + if (argsTruncated_ != false) { + output.writeBool(18, argsTruncated_); + } + for (int i = 0; i < envs_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 19, envs_.getRaw(i)); + } + if (envsTruncated_ != false) { + output.writeBool(20, envsTruncated_); + } + if (isExecChild_ != false) { + output.writeBool(21, isExecChild_); + } + if (cookie64_ != 0L) { + output.writeUInt64(22, cookie64_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (pid_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(1, pid_); + } + if (tid_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(2, tid_); + } + if (ppid_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(3, ppid_); + } + if (cookie_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(4, cookie_); + } + if (isThread_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(5, isThread_); + } + if (file_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getFile()); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(containerId_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, containerId_); + } + if (spanId_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeUInt64Size(8, spanId_); + } + if (traceId_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeUInt64Size(9, traceId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tty_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, tty_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(comm_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, comm_); + } + if (forkTime_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeUInt64Size(12, forkTime_); + } + if (exitTime_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeUInt64Size(13, exitTime_); + } + if (execTime_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeUInt64Size(14, execTime_); + } + if (credentials_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(15, getCredentials()); + } + { + int dataSize = 0; + for (int i = 0; i < args_.size(); i++) { + dataSize += computeStringSizeNoTag(args_.getRaw(i)); + } + size += dataSize; + size += 2 * getArgsList().size(); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(argv0_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(17, argv0_); + } + if (argsTruncated_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(18, argsTruncated_); + } + { + int dataSize = 0; + for (int i = 0; i < envs_.size(); i++) { + dataSize += computeStringSizeNoTag(envs_.getRaw(i)); + } + size += dataSize; + size += 2 * getEnvsList().size(); + } + if (envsTruncated_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(20, envsTruncated_); + } + if (isExecChild_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(21, isExecChild_); + } + if (cookie64_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeUInt64Size(22, cookie64_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.dd.cws.adv1.pb.SecDumpProto.ProcessInfo)) { + return super.equals(obj); + } + com.dd.cws.adv1.pb.SecDumpProto.ProcessInfo other = (com.dd.cws.adv1.pb.SecDumpProto.ProcessInfo) obj; + + if (getPid() + != other.getPid()) return false; + if (getTid() + != other.getTid()) return false; + if (getPpid() + != other.getPpid()) return false; + if (getCookie() + != other.getCookie()) return false; + if (getIsThread() + != other.getIsThread()) return false; + if (hasFile() != other.hasFile()) return false; + if (hasFile()) { + if (!getFile() + .equals(other.getFile())) return false; + } + if (!getContainerId() + .equals(other.getContainerId())) return false; + if (getSpanId() + != other.getSpanId()) return false; + if (getTraceId() + != other.getTraceId()) return false; + if (!getTty() + .equals(other.getTty())) return false; + if (!getComm() + .equals(other.getComm())) return false; + if (getForkTime() + != other.getForkTime()) return false; + if (getExitTime() + != other.getExitTime()) return false; + if (getExecTime() + != other.getExecTime()) return false; + if (hasCredentials() != other.hasCredentials()) return false; + if (hasCredentials()) { + if (!getCredentials() + .equals(other.getCredentials())) return false; + } + if (!getArgsList() + .equals(other.getArgsList())) return false; + if (!getArgv0() + .equals(other.getArgv0())) return false; + if (getArgsTruncated() + != other.getArgsTruncated()) return false; + if (!getEnvsList() + .equals(other.getEnvsList())) return false; + if (getEnvsTruncated() + != other.getEnvsTruncated()) return false; + if (getIsExecChild() + != other.getIsExecChild()) return false; + if (getCookie64() + != other.getCookie64()) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + PID_FIELD_NUMBER; + hash = (53 * hash) + getPid(); + hash = (37 * hash) + TID_FIELD_NUMBER; + hash = (53 * hash) + getTid(); + hash = (37 * hash) + PPID_FIELD_NUMBER; + hash = (53 * hash) + getPpid(); + hash = (37 * hash) + COOKIE_FIELD_NUMBER; + hash = (53 * hash) + getCookie(); + hash = (37 * hash) + IS_THREAD_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getIsThread()); + if (hasFile()) { + hash = (37 * hash) + FILE_FIELD_NUMBER; + hash = (53 * hash) + getFile().hashCode(); + } + hash = (37 * hash) + CONTAINER_ID_FIELD_NUMBER; + hash = (53 * hash) + getContainerId().hashCode(); + hash = (37 * hash) + SPAN_ID_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getSpanId()); + hash = (37 * hash) + TRACE_ID_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getTraceId()); + hash = (37 * hash) + TTY_FIELD_NUMBER; + hash = (53 * hash) + getTty().hashCode(); + hash = (37 * hash) + COMM_FIELD_NUMBER; + hash = (53 * hash) + getComm().hashCode(); + hash = (37 * hash) + FORK_TIME_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getForkTime()); + hash = (37 * hash) + EXIT_TIME_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getExitTime()); + hash = (37 * hash) + EXEC_TIME_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getExecTime()); + if (hasCredentials()) { + hash = (37 * hash) + CREDENTIALS_FIELD_NUMBER; + hash = (53 * hash) + getCredentials().hashCode(); + } + if (getArgsCount() > 0) { + hash = (37 * hash) + ARGS_FIELD_NUMBER; + hash = (53 * hash) + getArgsList().hashCode(); + } + hash = (37 * hash) + ARGV0_FIELD_NUMBER; + hash = (53 * hash) + getArgv0().hashCode(); + hash = (37 * hash) + ARGS_TRUNCATED_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getArgsTruncated()); + if (getEnvsCount() > 0) { + hash = (37 * hash) + ENVS_FIELD_NUMBER; + hash = (53 * hash) + getEnvsList().hashCode(); + } + hash = (37 * hash) + ENVS_TRUNCATED_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEnvsTruncated()); + hash = (37 * hash) + IS_EXEC_CHILD_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getIsExecChild()); + hash = (37 * hash) + COOKIE64_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getCookie64()); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.dd.cws.adv1.pb.SecDumpProto.ProcessInfo parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.dd.cws.adv1.pb.SecDumpProto.ProcessInfo parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.dd.cws.adv1.pb.SecDumpProto.ProcessInfo parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.dd.cws.adv1.pb.SecDumpProto.ProcessInfo parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.dd.cws.adv1.pb.SecDumpProto.ProcessInfo parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.dd.cws.adv1.pb.SecDumpProto.ProcessInfo parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.dd.cws.adv1.pb.SecDumpProto.ProcessInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.dd.cws.adv1.pb.SecDumpProto.ProcessInfo parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.dd.cws.adv1.pb.SecDumpProto.ProcessInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.dd.cws.adv1.pb.SecDumpProto.ProcessInfo parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.dd.cws.adv1.pb.SecDumpProto.ProcessInfo parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.dd.cws.adv1.pb.SecDumpProto.ProcessInfo parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.dd.cws.adv1.pb.SecDumpProto.ProcessInfo prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } /** - * .datadog.cws.dumpsv1.FileInfo file = 6; + * Protobuf type {@code datadog.cws.dumpsv1.ProcessInfo} */ - com.dd.cws.adv1.pb.SecDumpProto.FileInfoOrBuilder getFileOrBuilder(); + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:datadog.cws.dumpsv1.ProcessInfo) + com.dd.cws.adv1.pb.SecDumpProto.ProcessInfoOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_ProcessInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_ProcessInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.dd.cws.adv1.pb.SecDumpProto.ProcessInfo.class, com.dd.cws.adv1.pb.SecDumpProto.ProcessInfo.Builder.class); + } + + // Construct using com.dd.cws.adv1.pb.SecDumpProto.ProcessInfo.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + pid_ = 0; + tid_ = 0; + ppid_ = 0; + cookie_ = 0; + isThread_ = false; + file_ = null; + if (fileBuilder_ != null) { + fileBuilder_.dispose(); + fileBuilder_ = null; + } + containerId_ = ""; + spanId_ = 0L; + traceId_ = 0L; + tty_ = ""; + comm_ = ""; + forkTime_ = 0L; + exitTime_ = 0L; + execTime_ = 0L; + credentials_ = null; + if (credentialsBuilder_ != null) { + credentialsBuilder_.dispose(); + credentialsBuilder_ = null; + } + args_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00008000); + argv0_ = ""; + argsTruncated_ = false; + envs_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00040000); + envsTruncated_ = false; + isExecChild_ = false; + cookie64_ = 0L; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_ProcessInfo_descriptor; + } + + @java.lang.Override + public com.dd.cws.adv1.pb.SecDumpProto.ProcessInfo getDefaultInstanceForType() { + return com.dd.cws.adv1.pb.SecDumpProto.ProcessInfo.getDefaultInstance(); + } + + @java.lang.Override + public com.dd.cws.adv1.pb.SecDumpProto.ProcessInfo build() { + com.dd.cws.adv1.pb.SecDumpProto.ProcessInfo result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.dd.cws.adv1.pb.SecDumpProto.ProcessInfo buildPartial() { + com.dd.cws.adv1.pb.SecDumpProto.ProcessInfo result = new com.dd.cws.adv1.pb.SecDumpProto.ProcessInfo(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(com.dd.cws.adv1.pb.SecDumpProto.ProcessInfo result) { + if (((bitField0_ & 0x00008000) != 0)) { + args_ = args_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00008000); + } + result.args_ = args_; + if (((bitField0_ & 0x00040000) != 0)) { + envs_ = envs_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00040000); + } + result.envs_ = envs_; + } + + private void buildPartial0(com.dd.cws.adv1.pb.SecDumpProto.ProcessInfo result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.pid_ = pid_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.tid_ = tid_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.ppid_ = ppid_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.cookie_ = cookie_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.isThread_ = isThread_; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.file_ = fileBuilder_ == null + ? file_ + : fileBuilder_.build(); + } + if (((from_bitField0_ & 0x00000040) != 0)) { + result.containerId_ = containerId_; + } + if (((from_bitField0_ & 0x00000080) != 0)) { + result.spanId_ = spanId_; + } + if (((from_bitField0_ & 0x00000100) != 0)) { + result.traceId_ = traceId_; + } + if (((from_bitField0_ & 0x00000200) != 0)) { + result.tty_ = tty_; + } + if (((from_bitField0_ & 0x00000400) != 0)) { + result.comm_ = comm_; + } + if (((from_bitField0_ & 0x00000800) != 0)) { + result.forkTime_ = forkTime_; + } + if (((from_bitField0_ & 0x00001000) != 0)) { + result.exitTime_ = exitTime_; + } + if (((from_bitField0_ & 0x00002000) != 0)) { + result.execTime_ = execTime_; + } + if (((from_bitField0_ & 0x00004000) != 0)) { + result.credentials_ = credentialsBuilder_ == null + ? credentials_ + : credentialsBuilder_.build(); + } + if (((from_bitField0_ & 0x00010000) != 0)) { + result.argv0_ = argv0_; + } + if (((from_bitField0_ & 0x00020000) != 0)) { + result.argsTruncated_ = argsTruncated_; + } + if (((from_bitField0_ & 0x00080000) != 0)) { + result.envsTruncated_ = envsTruncated_; + } + if (((from_bitField0_ & 0x00100000) != 0)) { + result.isExecChild_ = isExecChild_; + } + if (((from_bitField0_ & 0x00200000) != 0)) { + result.cookie64_ = cookie64_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.dd.cws.adv1.pb.SecDumpProto.ProcessInfo) { + return mergeFrom((com.dd.cws.adv1.pb.SecDumpProto.ProcessInfo)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.dd.cws.adv1.pb.SecDumpProto.ProcessInfo other) { + if (other == com.dd.cws.adv1.pb.SecDumpProto.ProcessInfo.getDefaultInstance()) return this; + if (other.getPid() != 0) { + setPid(other.getPid()); + } + if (other.getTid() != 0) { + setTid(other.getTid()); + } + if (other.getPpid() != 0) { + setPpid(other.getPpid()); + } + if (other.getCookie() != 0) { + setCookie(other.getCookie()); + } + if (other.getIsThread() != false) { + setIsThread(other.getIsThread()); + } + if (other.hasFile()) { + mergeFile(other.getFile()); + } + if (!other.getContainerId().isEmpty()) { + containerId_ = other.containerId_; + bitField0_ |= 0x00000040; + onChanged(); + } + if (other.getSpanId() != 0L) { + setSpanId(other.getSpanId()); + } + if (other.getTraceId() != 0L) { + setTraceId(other.getTraceId()); + } + if (!other.getTty().isEmpty()) { + tty_ = other.tty_; + bitField0_ |= 0x00000200; + onChanged(); + } + if (!other.getComm().isEmpty()) { + comm_ = other.comm_; + bitField0_ |= 0x00000400; + onChanged(); + } + if (other.getForkTime() != 0L) { + setForkTime(other.getForkTime()); + } + if (other.getExitTime() != 0L) { + setExitTime(other.getExitTime()); + } + if (other.getExecTime() != 0L) { + setExecTime(other.getExecTime()); + } + if (other.hasCredentials()) { + mergeCredentials(other.getCredentials()); + } + if (!other.args_.isEmpty()) { + if (args_.isEmpty()) { + args_ = other.args_; + bitField0_ = (bitField0_ & ~0x00008000); + } else { + ensureArgsIsMutable(); + args_.addAll(other.args_); + } + onChanged(); + } + if (!other.getArgv0().isEmpty()) { + argv0_ = other.argv0_; + bitField0_ |= 0x00010000; + onChanged(); + } + if (other.getArgsTruncated() != false) { + setArgsTruncated(other.getArgsTruncated()); + } + if (!other.envs_.isEmpty()) { + if (envs_.isEmpty()) { + envs_ = other.envs_; + bitField0_ = (bitField0_ & ~0x00040000); + } else { + ensureEnvsIsMutable(); + envs_.addAll(other.envs_); + } + onChanged(); + } + if (other.getEnvsTruncated() != false) { + setEnvsTruncated(other.getEnvsTruncated()); + } + if (other.getIsExecChild() != false) { + setIsExecChild(other.getIsExecChild()); + } + if (other.getCookie64() != 0L) { + setCookie64(other.getCookie64()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + pid_ = input.readUInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: { + tid_ = input.readUInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 24: { + ppid_ = input.readUInt32(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 32: { + cookie_ = input.readUInt32(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 40: { + isThread_ = input.readBool(); + bitField0_ |= 0x00000010; + break; + } // case 40 + case 50: { + input.readMessage( + getFileFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000020; + break; + } // case 50 + case 58: { + containerId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000040; + break; + } // case 58 + case 64: { + spanId_ = input.readUInt64(); + bitField0_ |= 0x00000080; + break; + } // case 64 + case 72: { + traceId_ = input.readUInt64(); + bitField0_ |= 0x00000100; + break; + } // case 72 + case 82: { + tty_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000200; + break; + } // case 82 + case 90: { + comm_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000400; + break; + } // case 90 + case 96: { + forkTime_ = input.readUInt64(); + bitField0_ |= 0x00000800; + break; + } // case 96 + case 104: { + exitTime_ = input.readUInt64(); + bitField0_ |= 0x00001000; + break; + } // case 104 + case 112: { + execTime_ = input.readUInt64(); + bitField0_ |= 0x00002000; + break; + } // case 112 + case 122: { + input.readMessage( + getCredentialsFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00004000; + break; + } // case 122 + case 130: { + java.lang.String s = input.readStringRequireUtf8(); + ensureArgsIsMutable(); + args_.add(s); + break; + } // case 130 + case 138: { + argv0_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00010000; + break; + } // case 138 + case 144: { + argsTruncated_ = input.readBool(); + bitField0_ |= 0x00020000; + break; + } // case 144 + case 154: { + java.lang.String s = input.readStringRequireUtf8(); + ensureEnvsIsMutable(); + envs_.add(s); + break; + } // case 154 + case 160: { + envsTruncated_ = input.readBool(); + bitField0_ |= 0x00080000; + break; + } // case 160 + case 168: { + isExecChild_ = input.readBool(); + bitField0_ |= 0x00100000; + break; + } // case 168 + case 176: { + cookie64_ = input.readUInt64(); + bitField0_ |= 0x00200000; + break; + } // case 176 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private int pid_ ; + /** + * uint32 pid = 1; + * @return The pid. + */ + @java.lang.Override + public int getPid() { + return pid_; + } + /** + * uint32 pid = 1; + * @param value The pid to set. + * @return This builder for chaining. + */ + public Builder setPid(int value) { + + pid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * uint32 pid = 1; + * @return This builder for chaining. + */ + public Builder clearPid() { + bitField0_ = (bitField0_ & ~0x00000001); + pid_ = 0; + onChanged(); + return this; + } + + private int tid_ ; + /** + * uint32 tid = 2; + * @return The tid. + */ + @java.lang.Override + public int getTid() { + return tid_; + } + /** + * uint32 tid = 2; + * @param value The tid to set. + * @return This builder for chaining. + */ + public Builder setTid(int value) { + + tid_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * uint32 tid = 2; + * @return This builder for chaining. + */ + public Builder clearTid() { + bitField0_ = (bitField0_ & ~0x00000002); + tid_ = 0; + onChanged(); + return this; + } + + private int ppid_ ; + /** + * uint32 ppid = 3; + * @return The ppid. + */ + @java.lang.Override + public int getPpid() { + return ppid_; + } + /** + * uint32 ppid = 3; + * @param value The ppid to set. + * @return This builder for chaining. + */ + public Builder setPpid(int value) { + + ppid_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * uint32 ppid = 3; + * @return This builder for chaining. + */ + public Builder clearPpid() { + bitField0_ = (bitField0_ & ~0x00000004); + ppid_ = 0; + onChanged(); + return this; + } + + private int cookie_ ; + /** + * uint32 cookie = 4 [deprecated = true]; + * @deprecated datadog.cws.dumpsv1.ProcessInfo.cookie is deprecated. + * See proto/cws/dumpsv1/activity_dump.proto;l=84 + * @return The cookie. + */ + @java.lang.Override + @java.lang.Deprecated public int getCookie() { + return cookie_; + } + /** + * uint32 cookie = 4 [deprecated = true]; + * @deprecated datadog.cws.dumpsv1.ProcessInfo.cookie is deprecated. + * See proto/cws/dumpsv1/activity_dump.proto;l=84 + * @param value The cookie to set. + * @return This builder for chaining. + */ + @java.lang.Deprecated public Builder setCookie(int value) { + + cookie_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * uint32 cookie = 4 [deprecated = true]; + * @deprecated datadog.cws.dumpsv1.ProcessInfo.cookie is deprecated. + * See proto/cws/dumpsv1/activity_dump.proto;l=84 + * @return This builder for chaining. + */ + @java.lang.Deprecated public Builder clearCookie() { + bitField0_ = (bitField0_ & ~0x00000008); + cookie_ = 0; + onChanged(); + return this; + } + + private boolean isThread_ ; + /** + * bool is_thread = 5; + * @return The isThread. + */ + @java.lang.Override + public boolean getIsThread() { + return isThread_; + } + /** + * bool is_thread = 5; + * @param value The isThread to set. + * @return This builder for chaining. + */ + public Builder setIsThread(boolean value) { + + isThread_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * bool is_thread = 5; + * @return This builder for chaining. + */ + public Builder clearIsThread() { + bitField0_ = (bitField0_ & ~0x00000010); + isThread_ = false; + onChanged(); + return this; + } + + private com.dd.cws.adv1.pb.SecDumpProto.FileInfo file_; + private com.google.protobuf.SingleFieldBuilderV3< + com.dd.cws.adv1.pb.SecDumpProto.FileInfo, com.dd.cws.adv1.pb.SecDumpProto.FileInfo.Builder, com.dd.cws.adv1.pb.SecDumpProto.FileInfoOrBuilder> fileBuilder_; + /** + * .datadog.cws.dumpsv1.FileInfo file = 6; + * @return Whether the file field is set. + */ + public boolean hasFile() { + return ((bitField0_ & 0x00000020) != 0); + } + /** + * .datadog.cws.dumpsv1.FileInfo file = 6; + * @return The file. + */ + public com.dd.cws.adv1.pb.SecDumpProto.FileInfo getFile() { + if (fileBuilder_ == null) { + return file_ == null ? com.dd.cws.adv1.pb.SecDumpProto.FileInfo.getDefaultInstance() : file_; + } else { + return fileBuilder_.getMessage(); + } + } + /** + * .datadog.cws.dumpsv1.FileInfo file = 6; + */ + public Builder setFile(com.dd.cws.adv1.pb.SecDumpProto.FileInfo value) { + if (fileBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + file_ = value; + } else { + fileBuilder_.setMessage(value); + } + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + * .datadog.cws.dumpsv1.FileInfo file = 6; + */ + public Builder setFile( + com.dd.cws.adv1.pb.SecDumpProto.FileInfo.Builder builderForValue) { + if (fileBuilder_ == null) { + file_ = builderForValue.build(); + } else { + fileBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + * .datadog.cws.dumpsv1.FileInfo file = 6; + */ + public Builder mergeFile(com.dd.cws.adv1.pb.SecDumpProto.FileInfo value) { + if (fileBuilder_ == null) { + if (((bitField0_ & 0x00000020) != 0) && + file_ != null && + file_ != com.dd.cws.adv1.pb.SecDumpProto.FileInfo.getDefaultInstance()) { + getFileBuilder().mergeFrom(value); + } else { + file_ = value; + } + } else { + fileBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + * .datadog.cws.dumpsv1.FileInfo file = 6; + */ + public Builder clearFile() { + bitField0_ = (bitField0_ & ~0x00000020); + file_ = null; + if (fileBuilder_ != null) { + fileBuilder_.dispose(); + fileBuilder_ = null; + } + onChanged(); + return this; + } + /** + * .datadog.cws.dumpsv1.FileInfo file = 6; + */ + public com.dd.cws.adv1.pb.SecDumpProto.FileInfo.Builder getFileBuilder() { + bitField0_ |= 0x00000020; + onChanged(); + return getFileFieldBuilder().getBuilder(); + } + /** + * .datadog.cws.dumpsv1.FileInfo file = 6; + */ + public com.dd.cws.adv1.pb.SecDumpProto.FileInfoOrBuilder getFileOrBuilder() { + if (fileBuilder_ != null) { + return fileBuilder_.getMessageOrBuilder(); + } else { + return file_ == null ? + com.dd.cws.adv1.pb.SecDumpProto.FileInfo.getDefaultInstance() : file_; + } + } + /** + * .datadog.cws.dumpsv1.FileInfo file = 6; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.dd.cws.adv1.pb.SecDumpProto.FileInfo, com.dd.cws.adv1.pb.SecDumpProto.FileInfo.Builder, com.dd.cws.adv1.pb.SecDumpProto.FileInfoOrBuilder> + getFileFieldBuilder() { + if (fileBuilder_ == null) { + fileBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.dd.cws.adv1.pb.SecDumpProto.FileInfo, com.dd.cws.adv1.pb.SecDumpProto.FileInfo.Builder, com.dd.cws.adv1.pb.SecDumpProto.FileInfoOrBuilder>( + getFile(), + getParentForChildren(), + isClean()); + file_ = null; + } + return fileBuilder_; + } + + private java.lang.Object containerId_ = ""; + /** + * string container_id = 7; + * @return The containerId. + */ + public java.lang.String getContainerId() { + java.lang.Object ref = containerId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + containerId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string container_id = 7; + * @return The bytes for containerId. + */ + public com.google.protobuf.ByteString + getContainerIdBytes() { + java.lang.Object ref = containerId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + containerId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string container_id = 7; + * @param value The containerId to set. + * @return This builder for chaining. + */ + public Builder setContainerId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + containerId_ = value; + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + * string container_id = 7; + * @return This builder for chaining. + */ + public Builder clearContainerId() { + containerId_ = getDefaultInstance().getContainerId(); + bitField0_ = (bitField0_ & ~0x00000040); + onChanged(); + return this; + } + /** + * string container_id = 7; + * @param value The bytes for containerId to set. + * @return This builder for chaining. + */ + public Builder setContainerIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + containerId_ = value; + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + + private long spanId_ ; + /** + * uint64 span_id = 8 [deprecated = true]; + * @deprecated datadog.cws.dumpsv1.ProcessInfo.span_id is deprecated. + * See proto/cws/dumpsv1/activity_dump.proto;l=91 + * @return The spanId. + */ + @java.lang.Override + @java.lang.Deprecated public long getSpanId() { + return spanId_; + } + /** + * uint64 span_id = 8 [deprecated = true]; + * @deprecated datadog.cws.dumpsv1.ProcessInfo.span_id is deprecated. + * See proto/cws/dumpsv1/activity_dump.proto;l=91 + * @param value The spanId to set. + * @return This builder for chaining. + */ + @java.lang.Deprecated public Builder setSpanId(long value) { + + spanId_ = value; + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + /** + * uint64 span_id = 8 [deprecated = true]; + * @deprecated datadog.cws.dumpsv1.ProcessInfo.span_id is deprecated. + * See proto/cws/dumpsv1/activity_dump.proto;l=91 + * @return This builder for chaining. + */ + @java.lang.Deprecated public Builder clearSpanId() { + bitField0_ = (bitField0_ & ~0x00000080); + spanId_ = 0L; + onChanged(); + return this; + } + + private long traceId_ ; + /** + * uint64 trace_id = 9 [deprecated = true]; + * @deprecated datadog.cws.dumpsv1.ProcessInfo.trace_id is deprecated. + * See proto/cws/dumpsv1/activity_dump.proto;l=92 + * @return The traceId. + */ + @java.lang.Override + @java.lang.Deprecated public long getTraceId() { + return traceId_; + } + /** + * uint64 trace_id = 9 [deprecated = true]; + * @deprecated datadog.cws.dumpsv1.ProcessInfo.trace_id is deprecated. + * See proto/cws/dumpsv1/activity_dump.proto;l=92 + * @param value The traceId to set. + * @return This builder for chaining. + */ + @java.lang.Deprecated public Builder setTraceId(long value) { + + traceId_ = value; + bitField0_ |= 0x00000100; + onChanged(); + return this; + } + /** + * uint64 trace_id = 9 [deprecated = true]; + * @deprecated datadog.cws.dumpsv1.ProcessInfo.trace_id is deprecated. + * See proto/cws/dumpsv1/activity_dump.proto;l=92 + * @return This builder for chaining. + */ + @java.lang.Deprecated public Builder clearTraceId() { + bitField0_ = (bitField0_ & ~0x00000100); + traceId_ = 0L; + onChanged(); + return this; + } + + private java.lang.Object tty_ = ""; + /** + * string tty = 10; + * @return The tty. + */ + public java.lang.String getTty() { + java.lang.Object ref = tty_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + tty_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string tty = 10; + * @return The bytes for tty. + */ + public com.google.protobuf.ByteString + getTtyBytes() { + java.lang.Object ref = tty_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + tty_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string tty = 10; + * @param value The tty to set. + * @return This builder for chaining. + */ + public Builder setTty( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + tty_ = value; + bitField0_ |= 0x00000200; + onChanged(); + return this; + } + /** + * string tty = 10; + * @return This builder for chaining. + */ + public Builder clearTty() { + tty_ = getDefaultInstance().getTty(); + bitField0_ = (bitField0_ & ~0x00000200); + onChanged(); + return this; + } + /** + * string tty = 10; + * @param value The bytes for tty to set. + * @return This builder for chaining. + */ + public Builder setTtyBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + tty_ = value; + bitField0_ |= 0x00000200; + onChanged(); + return this; + } + + private java.lang.Object comm_ = ""; + /** + * string comm = 11; + * @return The comm. + */ + public java.lang.String getComm() { + java.lang.Object ref = comm_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + comm_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string comm = 11; + * @return The bytes for comm. + */ + public com.google.protobuf.ByteString + getCommBytes() { + java.lang.Object ref = comm_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + comm_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string comm = 11; + * @param value The comm to set. + * @return This builder for chaining. + */ + public Builder setComm( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + comm_ = value; + bitField0_ |= 0x00000400; + onChanged(); + return this; + } + /** + * string comm = 11; + * @return This builder for chaining. + */ + public Builder clearComm() { + comm_ = getDefaultInstance().getComm(); + bitField0_ = (bitField0_ & ~0x00000400); + onChanged(); + return this; + } + /** + * string comm = 11; + * @param value The bytes for comm to set. + * @return This builder for chaining. + */ + public Builder setCommBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + comm_ = value; + bitField0_ |= 0x00000400; + onChanged(); + return this; + } + + private long forkTime_ ; + /** + * uint64 fork_time = 12; + * @return The forkTime. + */ + @java.lang.Override + public long getForkTime() { + return forkTime_; + } + /** + * uint64 fork_time = 12; + * @param value The forkTime to set. + * @return This builder for chaining. + */ + public Builder setForkTime(long value) { + + forkTime_ = value; + bitField0_ |= 0x00000800; + onChanged(); + return this; + } + /** + * uint64 fork_time = 12; + * @return This builder for chaining. + */ + public Builder clearForkTime() { + bitField0_ = (bitField0_ & ~0x00000800); + forkTime_ = 0L; + onChanged(); + return this; + } + + private long exitTime_ ; + /** + * uint64 exit_time = 13; + * @return The exitTime. + */ + @java.lang.Override + public long getExitTime() { + return exitTime_; + } + /** + * uint64 exit_time = 13; + * @param value The exitTime to set. + * @return This builder for chaining. + */ + public Builder setExitTime(long value) { + + exitTime_ = value; + bitField0_ |= 0x00001000; + onChanged(); + return this; + } + /** + * uint64 exit_time = 13; + * @return This builder for chaining. + */ + public Builder clearExitTime() { + bitField0_ = (bitField0_ & ~0x00001000); + exitTime_ = 0L; + onChanged(); + return this; + } + + private long execTime_ ; + /** + * uint64 exec_time = 14; + * @return The execTime. + */ + @java.lang.Override + public long getExecTime() { + return execTime_; + } + /** + * uint64 exec_time = 14; + * @param value The execTime to set. + * @return This builder for chaining. + */ + public Builder setExecTime(long value) { + + execTime_ = value; + bitField0_ |= 0x00002000; + onChanged(); + return this; + } + /** + * uint64 exec_time = 14; + * @return This builder for chaining. + */ + public Builder clearExecTime() { + bitField0_ = (bitField0_ & ~0x00002000); + execTime_ = 0L; + onChanged(); + return this; + } + + private com.dd.cws.adv1.pb.SecDumpProto.Credentials credentials_; + private com.google.protobuf.SingleFieldBuilderV3< + com.dd.cws.adv1.pb.SecDumpProto.Credentials, com.dd.cws.adv1.pb.SecDumpProto.Credentials.Builder, com.dd.cws.adv1.pb.SecDumpProto.CredentialsOrBuilder> credentialsBuilder_; + /** + * .datadog.cws.dumpsv1.Credentials credentials = 15; + * @return Whether the credentials field is set. + */ + public boolean hasCredentials() { + return ((bitField0_ & 0x00004000) != 0); + } + /** + * .datadog.cws.dumpsv1.Credentials credentials = 15; + * @return The credentials. + */ + public com.dd.cws.adv1.pb.SecDumpProto.Credentials getCredentials() { + if (credentialsBuilder_ == null) { + return credentials_ == null ? com.dd.cws.adv1.pb.SecDumpProto.Credentials.getDefaultInstance() : credentials_; + } else { + return credentialsBuilder_.getMessage(); + } + } + /** + * .datadog.cws.dumpsv1.Credentials credentials = 15; + */ + public Builder setCredentials(com.dd.cws.adv1.pb.SecDumpProto.Credentials value) { + if (credentialsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + credentials_ = value; + } else { + credentialsBuilder_.setMessage(value); + } + bitField0_ |= 0x00004000; + onChanged(); + return this; + } + /** + * .datadog.cws.dumpsv1.Credentials credentials = 15; + */ + public Builder setCredentials( + com.dd.cws.adv1.pb.SecDumpProto.Credentials.Builder builderForValue) { + if (credentialsBuilder_ == null) { + credentials_ = builderForValue.build(); + } else { + credentialsBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00004000; + onChanged(); + return this; + } + /** + * .datadog.cws.dumpsv1.Credentials credentials = 15; + */ + public Builder mergeCredentials(com.dd.cws.adv1.pb.SecDumpProto.Credentials value) { + if (credentialsBuilder_ == null) { + if (((bitField0_ & 0x00004000) != 0) && + credentials_ != null && + credentials_ != com.dd.cws.adv1.pb.SecDumpProto.Credentials.getDefaultInstance()) { + getCredentialsBuilder().mergeFrom(value); + } else { + credentials_ = value; + } + } else { + credentialsBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00004000; + onChanged(); + return this; + } + /** + * .datadog.cws.dumpsv1.Credentials credentials = 15; + */ + public Builder clearCredentials() { + bitField0_ = (bitField0_ & ~0x00004000); + credentials_ = null; + if (credentialsBuilder_ != null) { + credentialsBuilder_.dispose(); + credentialsBuilder_ = null; + } + onChanged(); + return this; + } + /** + * .datadog.cws.dumpsv1.Credentials credentials = 15; + */ + public com.dd.cws.adv1.pb.SecDumpProto.Credentials.Builder getCredentialsBuilder() { + bitField0_ |= 0x00004000; + onChanged(); + return getCredentialsFieldBuilder().getBuilder(); + } + /** + * .datadog.cws.dumpsv1.Credentials credentials = 15; + */ + public com.dd.cws.adv1.pb.SecDumpProto.CredentialsOrBuilder getCredentialsOrBuilder() { + if (credentialsBuilder_ != null) { + return credentialsBuilder_.getMessageOrBuilder(); + } else { + return credentials_ == null ? + com.dd.cws.adv1.pb.SecDumpProto.Credentials.getDefaultInstance() : credentials_; + } + } + /** + * .datadog.cws.dumpsv1.Credentials credentials = 15; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.dd.cws.adv1.pb.SecDumpProto.Credentials, com.dd.cws.adv1.pb.SecDumpProto.Credentials.Builder, com.dd.cws.adv1.pb.SecDumpProto.CredentialsOrBuilder> + getCredentialsFieldBuilder() { + if (credentialsBuilder_ == null) { + credentialsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.dd.cws.adv1.pb.SecDumpProto.Credentials, com.dd.cws.adv1.pb.SecDumpProto.Credentials.Builder, com.dd.cws.adv1.pb.SecDumpProto.CredentialsOrBuilder>( + getCredentials(), + getParentForChildren(), + isClean()); + credentials_ = null; + } + return credentialsBuilder_; + } + + private com.google.protobuf.LazyStringList args_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureArgsIsMutable() { + if (!((bitField0_ & 0x00008000) != 0)) { + args_ = new com.google.protobuf.LazyStringArrayList(args_); + bitField0_ |= 0x00008000; + } + } + /** + * repeated string args = 16; + * @return A list containing the args. + */ + public com.google.protobuf.ProtocolStringList + getArgsList() { + return args_.getUnmodifiableView(); + } + /** + * repeated string args = 16; + * @return The count of args. + */ + public int getArgsCount() { + return args_.size(); + } + /** + * repeated string args = 16; + * @param index The index of the element to return. + * @return The args at the given index. + */ + public java.lang.String getArgs(int index) { + return args_.get(index); + } + /** + * repeated string args = 16; + * @param index The index of the value to return. + * @return The bytes of the args at the given index. + */ + public com.google.protobuf.ByteString + getArgsBytes(int index) { + return args_.getByteString(index); + } + /** + * repeated string args = 16; + * @param index The index to set the value at. + * @param value The args to set. + * @return This builder for chaining. + */ + public Builder setArgs( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureArgsIsMutable(); + args_.set(index, value); + onChanged(); + return this; + } + /** + * repeated string args = 16; + * @param value The args to add. + * @return This builder for chaining. + */ + public Builder addArgs( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureArgsIsMutable(); + args_.add(value); + onChanged(); + return this; + } + /** + * repeated string args = 16; + * @param values The args to add. + * @return This builder for chaining. + */ + public Builder addAllArgs( + java.lang.Iterable values) { + ensureArgsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, args_); + onChanged(); + return this; + } + /** + * repeated string args = 16; + * @return This builder for chaining. + */ + public Builder clearArgs() { + args_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00008000); + onChanged(); + return this; + } + /** + * repeated string args = 16; + * @param value The bytes of the args to add. + * @return This builder for chaining. + */ + public Builder addArgsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ensureArgsIsMutable(); + args_.add(value); + onChanged(); + return this; + } + + private java.lang.Object argv0_ = ""; + /** + * string argv0 = 17; + * @return The argv0. + */ + public java.lang.String getArgv0() { + java.lang.Object ref = argv0_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + argv0_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string argv0 = 17; + * @return The bytes for argv0. + */ + public com.google.protobuf.ByteString + getArgv0Bytes() { + java.lang.Object ref = argv0_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + argv0_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string argv0 = 17; + * @param value The argv0 to set. + * @return This builder for chaining. + */ + public Builder setArgv0( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + argv0_ = value; + bitField0_ |= 0x00010000; + onChanged(); + return this; + } + /** + * string argv0 = 17; + * @return This builder for chaining. + */ + public Builder clearArgv0() { + argv0_ = getDefaultInstance().getArgv0(); + bitField0_ = (bitField0_ & ~0x00010000); + onChanged(); + return this; + } + /** + * string argv0 = 17; + * @param value The bytes for argv0 to set. + * @return This builder for chaining. + */ + public Builder setArgv0Bytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + argv0_ = value; + bitField0_ |= 0x00010000; + onChanged(); + return this; + } - /** - * string container_id = 7; - * @return The containerId. - */ - java.lang.String getContainerId(); - /** - * string container_id = 7; - * @return The bytes for containerId. - */ - com.google.protobuf.ByteString - getContainerIdBytes(); + private boolean argsTruncated_ ; + /** + * bool args_truncated = 18; + * @return The argsTruncated. + */ + @java.lang.Override + public boolean getArgsTruncated() { + return argsTruncated_; + } + /** + * bool args_truncated = 18; + * @param value The argsTruncated to set. + * @return This builder for chaining. + */ + public Builder setArgsTruncated(boolean value) { + + argsTruncated_ = value; + bitField0_ |= 0x00020000; + onChanged(); + return this; + } + /** + * bool args_truncated = 18; + * @return This builder for chaining. + */ + public Builder clearArgsTruncated() { + bitField0_ = (bitField0_ & ~0x00020000); + argsTruncated_ = false; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringList envs_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureEnvsIsMutable() { + if (!((bitField0_ & 0x00040000) != 0)) { + envs_ = new com.google.protobuf.LazyStringArrayList(envs_); + bitField0_ |= 0x00040000; + } + } + /** + * repeated string envs = 19; + * @return A list containing the envs. + */ + public com.google.protobuf.ProtocolStringList + getEnvsList() { + return envs_.getUnmodifiableView(); + } + /** + * repeated string envs = 19; + * @return The count of envs. + */ + public int getEnvsCount() { + return envs_.size(); + } + /** + * repeated string envs = 19; + * @param index The index of the element to return. + * @return The envs at the given index. + */ + public java.lang.String getEnvs(int index) { + return envs_.get(index); + } + /** + * repeated string envs = 19; + * @param index The index of the value to return. + * @return The bytes of the envs at the given index. + */ + public com.google.protobuf.ByteString + getEnvsBytes(int index) { + return envs_.getByteString(index); + } + /** + * repeated string envs = 19; + * @param index The index to set the value at. + * @param value The envs to set. + * @return This builder for chaining. + */ + public Builder setEnvs( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureEnvsIsMutable(); + envs_.set(index, value); + onChanged(); + return this; + } + /** + * repeated string envs = 19; + * @param value The envs to add. + * @return This builder for chaining. + */ + public Builder addEnvs( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureEnvsIsMutable(); + envs_.add(value); + onChanged(); + return this; + } + /** + * repeated string envs = 19; + * @param values The envs to add. + * @return This builder for chaining. + */ + public Builder addAllEnvs( + java.lang.Iterable values) { + ensureEnvsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, envs_); + onChanged(); + return this; + } + /** + * repeated string envs = 19; + * @return This builder for chaining. + */ + public Builder clearEnvs() { + envs_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00040000); + onChanged(); + return this; + } + /** + * repeated string envs = 19; + * @param value The bytes of the envs to add. + * @return This builder for chaining. + */ + public Builder addEnvsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ensureEnvsIsMutable(); + envs_.add(value); + onChanged(); + return this; + } + + private boolean envsTruncated_ ; + /** + * bool envs_truncated = 20; + * @return The envsTruncated. + */ + @java.lang.Override + public boolean getEnvsTruncated() { + return envsTruncated_; + } + /** + * bool envs_truncated = 20; + * @param value The envsTruncated to set. + * @return This builder for chaining. + */ + public Builder setEnvsTruncated(boolean value) { + + envsTruncated_ = value; + bitField0_ |= 0x00080000; + onChanged(); + return this; + } + /** + * bool envs_truncated = 20; + * @return This builder for chaining. + */ + public Builder clearEnvsTruncated() { + bitField0_ = (bitField0_ & ~0x00080000); + envsTruncated_ = false; + onChanged(); + return this; + } + + private boolean isExecChild_ ; + /** + * bool is_exec_child = 21; + * @return The isExecChild. + */ + @java.lang.Override + public boolean getIsExecChild() { + return isExecChild_; + } + /** + * bool is_exec_child = 21; + * @param value The isExecChild to set. + * @return This builder for chaining. + */ + public Builder setIsExecChild(boolean value) { + + isExecChild_ = value; + bitField0_ |= 0x00100000; + onChanged(); + return this; + } + /** + * bool is_exec_child = 21; + * @return This builder for chaining. + */ + public Builder clearIsExecChild() { + bitField0_ = (bitField0_ & ~0x00100000); + isExecChild_ = false; + onChanged(); + return this; + } + + private long cookie64_ ; + /** + * uint64 cookie64 = 22; + * @return The cookie64. + */ + @java.lang.Override + public long getCookie64() { + return cookie64_; + } + /** + * uint64 cookie64 = 22; + * @param value The cookie64 to set. + * @return This builder for chaining. + */ + public Builder setCookie64(long value) { + + cookie64_ = value; + bitField0_ |= 0x00200000; + onChanged(); + return this; + } + /** + * uint64 cookie64 = 22; + * @return This builder for chaining. + */ + public Builder clearCookie64() { + bitField0_ = (bitField0_ & ~0x00200000); + cookie64_ = 0L; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } - /** - * uint64 span_id = 8 [deprecated = true]; - * @deprecated datadog.cws.dumpsv1.ProcessInfo.span_id is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=89 - * @return The spanId. - */ - @java.lang.Deprecated long getSpanId(); + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } - /** - * uint64 trace_id = 9 [deprecated = true]; - * @deprecated datadog.cws.dumpsv1.ProcessInfo.trace_id is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=90 - * @return The traceId. - */ - @java.lang.Deprecated long getTraceId(); - /** - * string tty = 10; - * @return The tty. - */ - java.lang.String getTty(); - /** - * string tty = 10; - * @return The bytes for tty. - */ - com.google.protobuf.ByteString - getTtyBytes(); + // @@protoc_insertion_point(builder_scope:datadog.cws.dumpsv1.ProcessInfo) + } - /** - * string comm = 11; - * @return The comm. - */ - java.lang.String getComm(); - /** - * string comm = 11; - * @return The bytes for comm. - */ - com.google.protobuf.ByteString - getCommBytes(); + // @@protoc_insertion_point(class_scope:datadog.cws.dumpsv1.ProcessInfo) + private static final com.dd.cws.adv1.pb.SecDumpProto.ProcessInfo DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.dd.cws.adv1.pb.SecDumpProto.ProcessInfo(); + } - /** - * uint64 fork_time = 12; - * @return The forkTime. - */ - long getForkTime(); + public static com.dd.cws.adv1.pb.SecDumpProto.ProcessInfo getDefaultInstance() { + return DEFAULT_INSTANCE; + } - /** - * uint64 exit_time = 13; - * @return The exitTime. - */ - long getExitTime(); + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ProcessInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; - /** - * uint64 exec_time = 14; - * @return The execTime. - */ - long getExecTime(); + public static com.google.protobuf.Parser parser() { + return PARSER; + } - /** - * .datadog.cws.dumpsv1.Credentials credentials = 15; - * @return Whether the credentials field is set. - */ - boolean hasCredentials(); - /** - * .datadog.cws.dumpsv1.Credentials credentials = 15; - * @return The credentials. - */ - com.dd.cws.adv1.pb.SecDumpProto.Credentials getCredentials(); - /** - * .datadog.cws.dumpsv1.Credentials credentials = 15; - */ - com.dd.cws.adv1.pb.SecDumpProto.CredentialsOrBuilder getCredentialsOrBuilder(); + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - /** - * repeated string args = 16; - * @return A list containing the args. - */ - java.util.List - getArgsList(); - /** - * repeated string args = 16; - * @return The count of args. - */ - int getArgsCount(); - /** - * repeated string args = 16; - * @param index The index of the element to return. - * @return The args at the given index. - */ - java.lang.String getArgs(int index); - /** - * repeated string args = 16; - * @param index The index of the value to return. - * @return The bytes of the args at the given index. - */ - com.google.protobuf.ByteString - getArgsBytes(int index); + @java.lang.Override + public com.dd.cws.adv1.pb.SecDumpProto.ProcessInfo getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - /** - * string argv0 = 17; - * @return The argv0. - */ - java.lang.String getArgv0(); - /** - * string argv0 = 17; - * @return The bytes for argv0. - */ - com.google.protobuf.ByteString - getArgv0Bytes(); + } - /** - * bool args_truncated = 18; - * @return The argsTruncated. - */ - boolean getArgsTruncated(); + public interface FileActivityNodeOrBuilder extends + // @@protoc_insertion_point(interface_extends:datadog.cws.dumpsv1.FileActivityNode) + com.google.protobuf.MessageOrBuilder { /** - * repeated string envs = 19; - * @return A list containing the envs. + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 9; */ - java.util.List - getEnvsList(); + java.util.List + getMatchedRulesList(); /** - * repeated string envs = 19; - * @return The count of envs. + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 9; */ - int getEnvsCount(); + com.dd.cws.adv1.pb.SecDumpProto.MatchedRule getMatchedRules(int index); /** - * repeated string envs = 19; - * @param index The index of the element to return. - * @return The envs at the given index. + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 9; */ - java.lang.String getEnvs(int index); + int getMatchedRulesCount(); /** - * repeated string envs = 19; - * @param index The index of the value to return. - * @return The bytes of the envs at the given index. + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 9; */ - com.google.protobuf.ByteString - getEnvsBytes(int index); - + java.util.List + getMatchedRulesOrBuilderList(); /** - * bool envs_truncated = 20; - * @return The envsTruncated. + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 9; */ - boolean getEnvsTruncated(); + com.dd.cws.adv1.pb.SecDumpProto.MatchedRuleOrBuilder getMatchedRulesOrBuilder( + int index); /** - * bool is_exec_child = 21; - * @return The isExecChild. + * repeated string image_tags = 10; + * @return A list containing the imageTags. */ - boolean getIsExecChild(); - + java.util.List + getImageTagsList(); /** - * uint64 cookie64 = 22; - * @return The cookie64. + * repeated string image_tags = 10; + * @return The count of imageTags. */ - long getCookie64(); - } - /** - * Protobuf type {@code datadog.cws.dumpsv1.ProcessInfo} - */ - public static final class ProcessInfo extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:datadog.cws.dumpsv1.ProcessInfo) - ProcessInfoOrBuilder { - private static final long serialVersionUID = 0L; - // Use ProcessInfo.newBuilder() to construct. - private ProcessInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private ProcessInfo() { - containerId_ = ""; - tty_ = ""; - comm_ = ""; - args_ = com.google.protobuf.LazyStringArrayList.EMPTY; - argv0_ = ""; - envs_ = com.google.protobuf.LazyStringArrayList.EMPTY; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new ProcessInfo(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_ProcessInfo_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_ProcessInfo_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.dd.cws.adv1.pb.SecDumpProto.ProcessInfo.class, com.dd.cws.adv1.pb.SecDumpProto.ProcessInfo.Builder.class); - } - - public static final int PID_FIELD_NUMBER = 1; - private int pid_ = 0; + int getImageTagsCount(); /** - * uint32 pid = 1; - * @return The pid. + * repeated string image_tags = 10; + * @param index The index of the element to return. + * @return The imageTags at the given index. */ - @java.lang.Override - public int getPid() { - return pid_; - } - - public static final int TID_FIELD_NUMBER = 2; - private int tid_ = 0; + java.lang.String getImageTags(int index); /** - * uint32 tid = 2; - * @return The tid. + * repeated string image_tags = 10; + * @param index The index of the value to return. + * @return The bytes of the imageTags at the given index. */ - @java.lang.Override - public int getTid() { - return tid_; - } + com.google.protobuf.ByteString + getImageTagsBytes(int index); - public static final int PPID_FIELD_NUMBER = 3; - private int ppid_ = 0; /** - * uint32 ppid = 3; - * @return The ppid. + * string name = 1; + * @return The name. */ - @java.lang.Override - public int getPpid() { - return ppid_; - } - - public static final int COOKIE_FIELD_NUMBER = 4; - private int cookie_ = 0; + java.lang.String getName(); /** - * uint32 cookie = 4 [deprecated = true]; - * @deprecated datadog.cws.dumpsv1.ProcessInfo.cookie is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=82 - * @return The cookie. + * string name = 1; + * @return The bytes for name. */ - @java.lang.Override - @java.lang.Deprecated public int getCookie() { - return cookie_; - } + com.google.protobuf.ByteString + getNameBytes(); - public static final int IS_THREAD_FIELD_NUMBER = 5; - private boolean isThread_ = false; /** - * bool is_thread = 5; - * @return The isThread. + * bool is_pattern = 7; + * @return The isPattern. */ - @java.lang.Override - public boolean getIsThread() { - return isThread_; - } + boolean getIsPattern(); - public static final int FILE_FIELD_NUMBER = 6; - private com.dd.cws.adv1.pb.SecDumpProto.FileInfo file_; /** - * .datadog.cws.dumpsv1.FileInfo file = 6; + * .datadog.cws.dumpsv1.FileInfo file = 2; * @return Whether the file field is set. */ - @java.lang.Override - public boolean hasFile() { - return file_ != null; - } + boolean hasFile(); /** - * .datadog.cws.dumpsv1.FileInfo file = 6; + * .datadog.cws.dumpsv1.FileInfo file = 2; * @return The file. */ - @java.lang.Override - public com.dd.cws.adv1.pb.SecDumpProto.FileInfo getFile() { - return file_ == null ? com.dd.cws.adv1.pb.SecDumpProto.FileInfo.getDefaultInstance() : file_; - } + com.dd.cws.adv1.pb.SecDumpProto.FileInfo getFile(); /** - * .datadog.cws.dumpsv1.FileInfo file = 6; + * .datadog.cws.dumpsv1.FileInfo file = 2; */ - @java.lang.Override - public com.dd.cws.adv1.pb.SecDumpProto.FileInfoOrBuilder getFileOrBuilder() { - return file_ == null ? com.dd.cws.adv1.pb.SecDumpProto.FileInfo.getDefaultInstance() : file_; - } + com.dd.cws.adv1.pb.SecDumpProto.FileInfoOrBuilder getFileOrBuilder(); - public static final int CONTAINER_ID_FIELD_NUMBER = 7; - @SuppressWarnings("serial") - private volatile java.lang.Object containerId_ = ""; /** - * string container_id = 7; - * @return The containerId. + * .datadog.cws.dumpsv1.GenerationType generation_type = 8; + * @return The enum numeric value on the wire for generationType. */ - @java.lang.Override - public java.lang.String getContainerId() { - java.lang.Object ref = containerId_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - containerId_ = s; - return s; - } - } + int getGenerationTypeValue(); /** - * string container_id = 7; - * @return The bytes for containerId. + * .datadog.cws.dumpsv1.GenerationType generation_type = 8; + * @return The generationType. */ - @java.lang.Override - public com.google.protobuf.ByteString - getContainerIdBytes() { - java.lang.Object ref = containerId_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - containerId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + com.dd.cws.adv1.pb.SecDumpProto.GenerationType getGenerationType(); - public static final int SPAN_ID_FIELD_NUMBER = 8; - private long spanId_ = 0L; /** - * uint64 span_id = 8 [deprecated = true]; - * @deprecated datadog.cws.dumpsv1.ProcessInfo.span_id is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=89 - * @return The spanId. + * uint64 first_seen = 4; + * @return The firstSeen. */ - @java.lang.Override - @java.lang.Deprecated public long getSpanId() { - return spanId_; - } + long getFirstSeen(); - public static final int TRACE_ID_FIELD_NUMBER = 9; - private long traceId_ = 0L; /** - * uint64 trace_id = 9 [deprecated = true]; - * @deprecated datadog.cws.dumpsv1.ProcessInfo.trace_id is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=90 - * @return The traceId. + * .datadog.cws.dumpsv1.OpenNode open = 5; + * @return Whether the open field is set. */ - @java.lang.Override - @java.lang.Deprecated public long getTraceId() { - return traceId_; - } - - public static final int TTY_FIELD_NUMBER = 10; - @SuppressWarnings("serial") - private volatile java.lang.Object tty_ = ""; + boolean hasOpen(); /** - * string tty = 10; - * @return The tty. + * .datadog.cws.dumpsv1.OpenNode open = 5; + * @return The open. */ - @java.lang.Override - public java.lang.String getTty() { - java.lang.Object ref = tty_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - tty_ = s; - return s; - } - } + com.dd.cws.adv1.pb.SecDumpProto.OpenNode getOpen(); /** - * string tty = 10; - * @return The bytes for tty. + * .datadog.cws.dumpsv1.OpenNode open = 5; */ - @java.lang.Override - public com.google.protobuf.ByteString - getTtyBytes() { - java.lang.Object ref = tty_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - tty_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + com.dd.cws.adv1.pb.SecDumpProto.OpenNodeOrBuilder getOpenOrBuilder(); - public static final int COMM_FIELD_NUMBER = 11; - @SuppressWarnings("serial") - private volatile java.lang.Object comm_ = ""; /** - * string comm = 11; - * @return The comm. + * repeated .datadog.cws.dumpsv1.FileActivityNode children = 6; */ - @java.lang.Override - public java.lang.String getComm() { - java.lang.Object ref = comm_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - comm_ = s; - return s; - } - } + java.util.List + getChildrenList(); /** - * string comm = 11; - * @return The bytes for comm. + * repeated .datadog.cws.dumpsv1.FileActivityNode children = 6; */ - @java.lang.Override - public com.google.protobuf.ByteString - getCommBytes() { - java.lang.Object ref = comm_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - comm_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } + com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode getChildren(int index); + /** + * repeated .datadog.cws.dumpsv1.FileActivityNode children = 6; + */ + int getChildrenCount(); + /** + * repeated .datadog.cws.dumpsv1.FileActivityNode children = 6; + */ + java.util.List + getChildrenOrBuilderList(); + /** + * repeated .datadog.cws.dumpsv1.FileActivityNode children = 6; + */ + com.dd.cws.adv1.pb.SecDumpProto.FileActivityNodeOrBuilder getChildrenOrBuilder( + int index); + } + /** + * Protobuf type {@code datadog.cws.dumpsv1.FileActivityNode} + */ + public static final class FileActivityNode extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:datadog.cws.dumpsv1.FileActivityNode) + FileActivityNodeOrBuilder { + private static final long serialVersionUID = 0L; + // Use FileActivityNode.newBuilder() to construct. + private FileActivityNode(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private FileActivityNode() { + matchedRules_ = java.util.Collections.emptyList(); + imageTags_ = com.google.protobuf.LazyStringArrayList.EMPTY; + name_ = ""; + generationType_ = 0; + children_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new FileActivityNode(); } - public static final int FORK_TIME_FIELD_NUMBER = 12; - private long forkTime_ = 0L; - /** - * uint64 fork_time = 12; - * @return The forkTime. - */ @java.lang.Override - public long getForkTime() { - return forkTime_; + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_FileActivityNode_descriptor; } - public static final int EXIT_TIME_FIELD_NUMBER = 13; - private long exitTime_ = 0L; + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_FileActivityNode_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode.class, com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode.Builder.class); + } + + public static final int MATCHED_RULES_FIELD_NUMBER = 9; + @SuppressWarnings("serial") + private java.util.List matchedRules_; /** - * uint64 exit_time = 13; - * @return The exitTime. + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 9; */ @java.lang.Override - public long getExitTime() { - return exitTime_; + public java.util.List getMatchedRulesList() { + return matchedRules_; } - - public static final int EXEC_TIME_FIELD_NUMBER = 14; - private long execTime_ = 0L; /** - * uint64 exec_time = 14; - * @return The execTime. + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 9; */ @java.lang.Override - public long getExecTime() { - return execTime_; + public java.util.List + getMatchedRulesOrBuilderList() { + return matchedRules_; } - - public static final int CREDENTIALS_FIELD_NUMBER = 15; - private com.dd.cws.adv1.pb.SecDumpProto.Credentials credentials_; /** - * .datadog.cws.dumpsv1.Credentials credentials = 15; - * @return Whether the credentials field is set. + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 9; */ @java.lang.Override - public boolean hasCredentials() { - return credentials_ != null; + public int getMatchedRulesCount() { + return matchedRules_.size(); } /** - * .datadog.cws.dumpsv1.Credentials credentials = 15; - * @return The credentials. + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 9; */ @java.lang.Override - public com.dd.cws.adv1.pb.SecDumpProto.Credentials getCredentials() { - return credentials_ == null ? com.dd.cws.adv1.pb.SecDumpProto.Credentials.getDefaultInstance() : credentials_; + public com.dd.cws.adv1.pb.SecDumpProto.MatchedRule getMatchedRules(int index) { + return matchedRules_.get(index); } /** - * .datadog.cws.dumpsv1.Credentials credentials = 15; + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 9; */ @java.lang.Override - public com.dd.cws.adv1.pb.SecDumpProto.CredentialsOrBuilder getCredentialsOrBuilder() { - return credentials_ == null ? com.dd.cws.adv1.pb.SecDumpProto.Credentials.getDefaultInstance() : credentials_; + public com.dd.cws.adv1.pb.SecDumpProto.MatchedRuleOrBuilder getMatchedRulesOrBuilder( + int index) { + return matchedRules_.get(index); } - public static final int ARGS_FIELD_NUMBER = 16; + public static final int IMAGE_TAGS_FIELD_NUMBER = 10; @SuppressWarnings("serial") - private com.google.protobuf.LazyStringList args_; + private com.google.protobuf.LazyStringList imageTags_; /** - * repeated string args = 16; - * @return A list containing the args. + * repeated string image_tags = 10; + * @return A list containing the imageTags. */ public com.google.protobuf.ProtocolStringList - getArgsList() { - return args_; + getImageTagsList() { + return imageTags_; } /** - * repeated string args = 16; - * @return The count of args. + * repeated string image_tags = 10; + * @return The count of imageTags. */ - public int getArgsCount() { - return args_.size(); + public int getImageTagsCount() { + return imageTags_.size(); } /** - * repeated string args = 16; + * repeated string image_tags = 10; * @param index The index of the element to return. - * @return The args at the given index. + * @return The imageTags at the given index. */ - public java.lang.String getArgs(int index) { - return args_.get(index); + public java.lang.String getImageTags(int index) { + return imageTags_.get(index); } /** - * repeated string args = 16; + * repeated string image_tags = 10; * @param index The index of the value to return. - * @return The bytes of the args at the given index. + * @return The bytes of the imageTags at the given index. */ public com.google.protobuf.ByteString - getArgsBytes(int index) { - return args_.getByteString(index); + getImageTagsBytes(int index) { + return imageTags_.getByteString(index); } - public static final int ARGV0_FIELD_NUMBER = 17; + public static final int NAME_FIELD_NUMBER = 1; @SuppressWarnings("serial") - private volatile java.lang.Object argv0_ = ""; + private volatile java.lang.Object name_ = ""; /** - * string argv0 = 17; - * @return The argv0. + * string name = 1; + * @return The name. */ @java.lang.Override - public java.lang.String getArgv0() { - java.lang.Object ref = argv0_; + public java.lang.String getName() { + java.lang.Object ref = name_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); - argv0_ = s; + name_ = s; return s; } } /** - * string argv0 = 17; - * @return The bytes for argv0. + * string name = 1; + * @return The bytes for name. */ @java.lang.Override public com.google.protobuf.ByteString - getArgv0Bytes() { - java.lang.Object ref = argv0_; + getNameBytes() { + java.lang.Object ref = name_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); - argv0_ = b; + name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } - public static final int ARGS_TRUNCATED_FIELD_NUMBER = 18; - private boolean argsTruncated_ = false; + public static final int IS_PATTERN_FIELD_NUMBER = 7; + private boolean isPattern_ = false; /** - * bool args_truncated = 18; - * @return The argsTruncated. + * bool is_pattern = 7; + * @return The isPattern. */ @java.lang.Override - public boolean getArgsTruncated() { - return argsTruncated_; + public boolean getIsPattern() { + return isPattern_; } - public static final int ENVS_FIELD_NUMBER = 19; - @SuppressWarnings("serial") - private com.google.protobuf.LazyStringList envs_; + public static final int FILE_FIELD_NUMBER = 2; + private com.dd.cws.adv1.pb.SecDumpProto.FileInfo file_; /** - * repeated string envs = 19; - * @return A list containing the envs. + * .datadog.cws.dumpsv1.FileInfo file = 2; + * @return Whether the file field is set. */ - public com.google.protobuf.ProtocolStringList - getEnvsList() { - return envs_; + @java.lang.Override + public boolean hasFile() { + return file_ != null; } /** - * repeated string envs = 19; - * @return The count of envs. + * .datadog.cws.dumpsv1.FileInfo file = 2; + * @return The file. */ - public int getEnvsCount() { - return envs_.size(); + @java.lang.Override + public com.dd.cws.adv1.pb.SecDumpProto.FileInfo getFile() { + return file_ == null ? com.dd.cws.adv1.pb.SecDumpProto.FileInfo.getDefaultInstance() : file_; } /** - * repeated string envs = 19; - * @param index The index of the element to return. - * @return The envs at the given index. + * .datadog.cws.dumpsv1.FileInfo file = 2; */ - public java.lang.String getEnvs(int index) { - return envs_.get(index); + @java.lang.Override + public com.dd.cws.adv1.pb.SecDumpProto.FileInfoOrBuilder getFileOrBuilder() { + return file_ == null ? com.dd.cws.adv1.pb.SecDumpProto.FileInfo.getDefaultInstance() : file_; } + + public static final int GENERATION_TYPE_FIELD_NUMBER = 8; + private int generationType_ = 0; /** - * repeated string envs = 19; - * @param index The index of the value to return. - * @return The bytes of the envs at the given index. + * .datadog.cws.dumpsv1.GenerationType generation_type = 8; + * @return The enum numeric value on the wire for generationType. */ - public com.google.protobuf.ByteString - getEnvsBytes(int index) { - return envs_.getByteString(index); + @java.lang.Override public int getGenerationTypeValue() { + return generationType_; + } + /** + * .datadog.cws.dumpsv1.GenerationType generation_type = 8; + * @return The generationType. + */ + @java.lang.Override public com.dd.cws.adv1.pb.SecDumpProto.GenerationType getGenerationType() { + com.dd.cws.adv1.pb.SecDumpProto.GenerationType result = com.dd.cws.adv1.pb.SecDumpProto.GenerationType.forNumber(generationType_); + return result == null ? com.dd.cws.adv1.pb.SecDumpProto.GenerationType.UNRECOGNIZED : result; } - public static final int ENVS_TRUNCATED_FIELD_NUMBER = 20; - private boolean envsTruncated_ = false; + public static final int FIRST_SEEN_FIELD_NUMBER = 4; + private long firstSeen_ = 0L; + /** + * uint64 first_seen = 4; + * @return The firstSeen. + */ + @java.lang.Override + public long getFirstSeen() { + return firstSeen_; + } + + public static final int OPEN_FIELD_NUMBER = 5; + private com.dd.cws.adv1.pb.SecDumpProto.OpenNode open_; + /** + * .datadog.cws.dumpsv1.OpenNode open = 5; + * @return Whether the open field is set. + */ + @java.lang.Override + public boolean hasOpen() { + return open_ != null; + } + /** + * .datadog.cws.dumpsv1.OpenNode open = 5; + * @return The open. + */ + @java.lang.Override + public com.dd.cws.adv1.pb.SecDumpProto.OpenNode getOpen() { + return open_ == null ? com.dd.cws.adv1.pb.SecDumpProto.OpenNode.getDefaultInstance() : open_; + } + /** + * .datadog.cws.dumpsv1.OpenNode open = 5; + */ + @java.lang.Override + public com.dd.cws.adv1.pb.SecDumpProto.OpenNodeOrBuilder getOpenOrBuilder() { + return open_ == null ? com.dd.cws.adv1.pb.SecDumpProto.OpenNode.getDefaultInstance() : open_; + } + + public static final int CHILDREN_FIELD_NUMBER = 6; + @SuppressWarnings("serial") + private java.util.List children_; + /** + * repeated .datadog.cws.dumpsv1.FileActivityNode children = 6; + */ + @java.lang.Override + public java.util.List getChildrenList() { + return children_; + } + /** + * repeated .datadog.cws.dumpsv1.FileActivityNode children = 6; + */ + @java.lang.Override + public java.util.List + getChildrenOrBuilderList() { + return children_; + } /** - * bool envs_truncated = 20; - * @return The envsTruncated. + * repeated .datadog.cws.dumpsv1.FileActivityNode children = 6; */ @java.lang.Override - public boolean getEnvsTruncated() { - return envsTruncated_; + public int getChildrenCount() { + return children_.size(); } - - public static final int IS_EXEC_CHILD_FIELD_NUMBER = 21; - private boolean isExecChild_ = false; /** - * bool is_exec_child = 21; - * @return The isExecChild. + * repeated .datadog.cws.dumpsv1.FileActivityNode children = 6; */ @java.lang.Override - public boolean getIsExecChild() { - return isExecChild_; + public com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode getChildren(int index) { + return children_.get(index); } - - public static final int COOKIE64_FIELD_NUMBER = 22; - private long cookie64_ = 0L; /** - * uint64 cookie64 = 22; - * @return The cookie64. + * repeated .datadog.cws.dumpsv1.FileActivityNode children = 6; */ @java.lang.Override - public long getCookie64() { - return cookie64_; + public com.dd.cws.adv1.pb.SecDumpProto.FileActivityNodeOrBuilder getChildrenOrBuilder( + int index) { + return children_.get(index); } private byte memoizedIsInitialized = -1; @@ -12478,71 +15835,32 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (pid_ != 0) { - output.writeUInt32(1, pid_); - } - if (tid_ != 0) { - output.writeUInt32(2, tid_); - } - if (ppid_ != 0) { - output.writeUInt32(3, ppid_); - } - if (cookie_ != 0) { - output.writeUInt32(4, cookie_); - } - if (isThread_ != false) { - output.writeBool(5, isThread_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } if (file_ != null) { - output.writeMessage(6, getFile()); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(containerId_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 7, containerId_); - } - if (spanId_ != 0L) { - output.writeUInt64(8, spanId_); - } - if (traceId_ != 0L) { - output.writeUInt64(9, traceId_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tty_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 10, tty_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(comm_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 11, comm_); - } - if (forkTime_ != 0L) { - output.writeUInt64(12, forkTime_); - } - if (exitTime_ != 0L) { - output.writeUInt64(13, exitTime_); - } - if (execTime_ != 0L) { - output.writeUInt64(14, execTime_); - } - if (credentials_ != null) { - output.writeMessage(15, getCredentials()); + output.writeMessage(2, getFile()); } - for (int i = 0; i < args_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 16, args_.getRaw(i)); + if (firstSeen_ != 0L) { + output.writeUInt64(4, firstSeen_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(argv0_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 17, argv0_); + if (open_ != null) { + output.writeMessage(5, getOpen()); } - if (argsTruncated_ != false) { - output.writeBool(18, argsTruncated_); + for (int i = 0; i < children_.size(); i++) { + output.writeMessage(6, children_.get(i)); } - for (int i = 0; i < envs_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 19, envs_.getRaw(i)); + if (isPattern_ != false) { + output.writeBool(7, isPattern_); } - if (envsTruncated_ != false) { - output.writeBool(20, envsTruncated_); + if (generationType_ != com.dd.cws.adv1.pb.SecDumpProto.GenerationType.UNKNOWN.getNumber()) { + output.writeEnum(8, generationType_); } - if (isExecChild_ != false) { - output.writeBool(21, isExecChild_); + for (int i = 0; i < matchedRules_.size(); i++) { + output.writeMessage(9, matchedRules_.get(i)); } - if (cookie64_ != 0L) { - output.writeUInt64(22, cookie64_); + for (int i = 0; i < imageTags_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 10, imageTags_.getRaw(i)); } getUnknownFields().writeTo(output); } @@ -12553,97 +15871,44 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (pid_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(1, pid_); - } - if (tid_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(2, tid_); - } - if (ppid_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(3, ppid_); - } - if (cookie_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(4, cookie_); - } - if (isThread_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(5, isThread_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (file_ != null) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getFile()); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(containerId_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, containerId_); - } - if (spanId_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeUInt64Size(8, spanId_); + .computeMessageSize(2, getFile()); } - if (traceId_ != 0L) { + if (firstSeen_ != 0L) { size += com.google.protobuf.CodedOutputStream - .computeUInt64Size(9, traceId_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tty_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, tty_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(comm_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, comm_); + .computeUInt64Size(4, firstSeen_); } - if (forkTime_ != 0L) { + if (open_ != null) { size += com.google.protobuf.CodedOutputStream - .computeUInt64Size(12, forkTime_); + .computeMessageSize(5, getOpen()); } - if (exitTime_ != 0L) { + for (int i = 0; i < children_.size(); i++) { size += com.google.protobuf.CodedOutputStream - .computeUInt64Size(13, exitTime_); + .computeMessageSize(6, children_.get(i)); } - if (execTime_ != 0L) { + if (isPattern_ != false) { size += com.google.protobuf.CodedOutputStream - .computeUInt64Size(14, execTime_); + .computeBoolSize(7, isPattern_); } - if (credentials_ != null) { + if (generationType_ != com.dd.cws.adv1.pb.SecDumpProto.GenerationType.UNKNOWN.getNumber()) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(15, getCredentials()); - } - { - int dataSize = 0; - for (int i = 0; i < args_.size(); i++) { - dataSize += computeStringSizeNoTag(args_.getRaw(i)); - } - size += dataSize; - size += 2 * getArgsList().size(); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(argv0_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(17, argv0_); + .computeEnumSize(8, generationType_); } - if (argsTruncated_ != false) { + for (int i = 0; i < matchedRules_.size(); i++) { size += com.google.protobuf.CodedOutputStream - .computeBoolSize(18, argsTruncated_); + .computeMessageSize(9, matchedRules_.get(i)); } { int dataSize = 0; - for (int i = 0; i < envs_.size(); i++) { - dataSize += computeStringSizeNoTag(envs_.getRaw(i)); + for (int i = 0; i < imageTags_.size(); i++) { + dataSize += computeStringSizeNoTag(imageTags_.getRaw(i)); } size += dataSize; - size += 2 * getEnvsList().size(); - } - if (envsTruncated_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(20, envsTruncated_); - } - if (isExecChild_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(21, isExecChild_); - } - if (cookie64_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeUInt64Size(22, cookie64_); + size += 1 * getImageTagsList().size(); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -12655,61 +15920,34 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof com.dd.cws.adv1.pb.SecDumpProto.ProcessInfo)) { + if (!(obj instanceof com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode)) { return super.equals(obj); } - com.dd.cws.adv1.pb.SecDumpProto.ProcessInfo other = (com.dd.cws.adv1.pb.SecDumpProto.ProcessInfo) obj; + com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode other = (com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode) obj; - if (getPid() - != other.getPid()) return false; - if (getTid() - != other.getTid()) return false; - if (getPpid() - != other.getPpid()) return false; - if (getCookie() - != other.getCookie()) return false; - if (getIsThread() - != other.getIsThread()) return false; + if (!getMatchedRulesList() + .equals(other.getMatchedRulesList())) return false; + if (!getImageTagsList() + .equals(other.getImageTagsList())) return false; + if (!getName() + .equals(other.getName())) return false; + if (getIsPattern() + != other.getIsPattern()) return false; if (hasFile() != other.hasFile()) return false; if (hasFile()) { if (!getFile() .equals(other.getFile())) return false; } - if (!getContainerId() - .equals(other.getContainerId())) return false; - if (getSpanId() - != other.getSpanId()) return false; - if (getTraceId() - != other.getTraceId()) return false; - if (!getTty() - .equals(other.getTty())) return false; - if (!getComm() - .equals(other.getComm())) return false; - if (getForkTime() - != other.getForkTime()) return false; - if (getExitTime() - != other.getExitTime()) return false; - if (getExecTime() - != other.getExecTime()) return false; - if (hasCredentials() != other.hasCredentials()) return false; - if (hasCredentials()) { - if (!getCredentials() - .equals(other.getCredentials())) return false; + if (generationType_ != other.generationType_) return false; + if (getFirstSeen() + != other.getFirstSeen()) return false; + if (hasOpen() != other.hasOpen()) return false; + if (hasOpen()) { + if (!getOpen() + .equals(other.getOpen())) return false; } - if (!getArgsList() - .equals(other.getArgsList())) return false; - if (!getArgv0() - .equals(other.getArgv0())) return false; - if (getArgsTruncated() - != other.getArgsTruncated()) return false; - if (!getEnvsList() - .equals(other.getEnvsList())) return false; - if (getEnvsTruncated() - != other.getEnvsTruncated()) return false; - if (getIsExecChild() - != other.getIsExecChild()) return false; - if (getCookie64() - != other.getCookie64()) return false; + if (!getChildrenList() + .equals(other.getChildrenList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -12721,136 +15959,104 @@ public int hashCode() { } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + PID_FIELD_NUMBER; - hash = (53 * hash) + getPid(); - hash = (37 * hash) + TID_FIELD_NUMBER; - hash = (53 * hash) + getTid(); - hash = (37 * hash) + PPID_FIELD_NUMBER; - hash = (53 * hash) + getPpid(); - hash = (37 * hash) + COOKIE_FIELD_NUMBER; - hash = (53 * hash) + getCookie(); - hash = (37 * hash) + IS_THREAD_FIELD_NUMBER; + if (getMatchedRulesCount() > 0) { + hash = (37 * hash) + MATCHED_RULES_FIELD_NUMBER; + hash = (53 * hash) + getMatchedRulesList().hashCode(); + } + if (getImageTagsCount() > 0) { + hash = (37 * hash) + IMAGE_TAGS_FIELD_NUMBER; + hash = (53 * hash) + getImageTagsList().hashCode(); + } + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + hash = (37 * hash) + IS_PATTERN_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getIsThread()); + getIsPattern()); if (hasFile()) { hash = (37 * hash) + FILE_FIELD_NUMBER; hash = (53 * hash) + getFile().hashCode(); } - hash = (37 * hash) + CONTAINER_ID_FIELD_NUMBER; - hash = (53 * hash) + getContainerId().hashCode(); - hash = (37 * hash) + SPAN_ID_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getSpanId()); - hash = (37 * hash) + TRACE_ID_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getTraceId()); - hash = (37 * hash) + TTY_FIELD_NUMBER; - hash = (53 * hash) + getTty().hashCode(); - hash = (37 * hash) + COMM_FIELD_NUMBER; - hash = (53 * hash) + getComm().hashCode(); - hash = (37 * hash) + FORK_TIME_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getForkTime()); - hash = (37 * hash) + EXIT_TIME_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getExitTime()); - hash = (37 * hash) + EXEC_TIME_FIELD_NUMBER; + hash = (37 * hash) + GENERATION_TYPE_FIELD_NUMBER; + hash = (53 * hash) + generationType_; + hash = (37 * hash) + FIRST_SEEN_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getExecTime()); - if (hasCredentials()) { - hash = (37 * hash) + CREDENTIALS_FIELD_NUMBER; - hash = (53 * hash) + getCredentials().hashCode(); - } - if (getArgsCount() > 0) { - hash = (37 * hash) + ARGS_FIELD_NUMBER; - hash = (53 * hash) + getArgsList().hashCode(); + getFirstSeen()); + if (hasOpen()) { + hash = (37 * hash) + OPEN_FIELD_NUMBER; + hash = (53 * hash) + getOpen().hashCode(); } - hash = (37 * hash) + ARGV0_FIELD_NUMBER; - hash = (53 * hash) + getArgv0().hashCode(); - hash = (37 * hash) + ARGS_TRUNCATED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getArgsTruncated()); - if (getEnvsCount() > 0) { - hash = (37 * hash) + ENVS_FIELD_NUMBER; - hash = (53 * hash) + getEnvsList().hashCode(); + if (getChildrenCount() > 0) { + hash = (37 * hash) + CHILDREN_FIELD_NUMBER; + hash = (53 * hash) + getChildrenList().hashCode(); } - hash = (37 * hash) + ENVS_TRUNCATED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEnvsTruncated()); - hash = (37 * hash) + IS_EXEC_CHILD_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getIsExecChild()); - hash = (37 * hash) + COOKIE64_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getCookie64()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.dd.cws.adv1.pb.SecDumpProto.ProcessInfo parseFrom( + public static com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.dd.cws.adv1.pb.SecDumpProto.ProcessInfo parseFrom( + public static com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.dd.cws.adv1.pb.SecDumpProto.ProcessInfo parseFrom( + public static com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.dd.cws.adv1.pb.SecDumpProto.ProcessInfo parseFrom( + public static com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.dd.cws.adv1.pb.SecDumpProto.ProcessInfo parseFrom(byte[] data) + public static com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.dd.cws.adv1.pb.SecDumpProto.ProcessInfo parseFrom( + public static com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.dd.cws.adv1.pb.SecDumpProto.ProcessInfo parseFrom(java.io.InputStream input) + public static com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static com.dd.cws.adv1.pb.SecDumpProto.ProcessInfo parseFrom( + public static com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.dd.cws.adv1.pb.SecDumpProto.ProcessInfo parseDelimitedFrom(java.io.InputStream input) + public static com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } - public static com.dd.cws.adv1.pb.SecDumpProto.ProcessInfo parseDelimitedFrom( + public static com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.dd.cws.adv1.pb.SecDumpProto.ProcessInfo parseFrom( + public static com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static com.dd.cws.adv1.pb.SecDumpProto.ProcessInfo parseFrom( + public static com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -12863,7 +16069,7 @@ public static com.dd.cws.adv1.pb.SecDumpProto.ProcessInfo parseFrom( public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.dd.cws.adv1.pb.SecDumpProto.ProcessInfo prototype) { + public static Builder newBuilder(com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override @@ -12879,26 +16085,26 @@ protected Builder newBuilderForType( return builder; } /** - * Protobuf type {@code datadog.cws.dumpsv1.ProcessInfo} + * Protobuf type {@code datadog.cws.dumpsv1.FileActivityNode} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:datadog.cws.dumpsv1.ProcessInfo) - com.dd.cws.adv1.pb.SecDumpProto.ProcessInfoOrBuilder { + // @@protoc_insertion_point(builder_implements:datadog.cws.dumpsv1.FileActivityNode) + com.dd.cws.adv1.pb.SecDumpProto.FileActivityNodeOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_ProcessInfo_descriptor; + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_FileActivityNode_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_ProcessInfo_fieldAccessorTable + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_FileActivityNode_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.dd.cws.adv1.pb.SecDumpProto.ProcessInfo.class, com.dd.cws.adv1.pb.SecDumpProto.ProcessInfo.Builder.class); + com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode.class, com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode.Builder.class); } - // Construct using com.dd.cws.adv1.pb.SecDumpProto.ProcessInfo.newBuilder() + // Construct using com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode.newBuilder() private Builder() { } @@ -12912,55 +16118,53 @@ private Builder( public Builder clear() { super.clear(); bitField0_ = 0; - pid_ = 0; - tid_ = 0; - ppid_ = 0; - cookie_ = 0; - isThread_ = false; + if (matchedRulesBuilder_ == null) { + matchedRules_ = java.util.Collections.emptyList(); + } else { + matchedRules_ = null; + matchedRulesBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + imageTags_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000002); + name_ = ""; + isPattern_ = false; file_ = null; if (fileBuilder_ != null) { fileBuilder_.dispose(); fileBuilder_ = null; } - containerId_ = ""; - spanId_ = 0L; - traceId_ = 0L; - tty_ = ""; - comm_ = ""; - forkTime_ = 0L; - exitTime_ = 0L; - execTime_ = 0L; - credentials_ = null; - if (credentialsBuilder_ != null) { - credentialsBuilder_.dispose(); - credentialsBuilder_ = null; + generationType_ = 0; + firstSeen_ = 0L; + open_ = null; + if (openBuilder_ != null) { + openBuilder_.dispose(); + openBuilder_ = null; } - args_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00008000); - argv0_ = ""; - argsTruncated_ = false; - envs_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00040000); - envsTruncated_ = false; - isExecChild_ = false; - cookie64_ = 0L; + if (childrenBuilder_ == null) { + children_ = java.util.Collections.emptyList(); + } else { + children_ = null; + childrenBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000100); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_ProcessInfo_descriptor; + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_FileActivityNode_descriptor; } @java.lang.Override - public com.dd.cws.adv1.pb.SecDumpProto.ProcessInfo getDefaultInstanceForType() { - return com.dd.cws.adv1.pb.SecDumpProto.ProcessInfo.getDefaultInstance(); + public com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode getDefaultInstanceForType() { + return com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode.getDefaultInstance(); } @java.lang.Override - public com.dd.cws.adv1.pb.SecDumpProto.ProcessInfo build() { - com.dd.cws.adv1.pb.SecDumpProto.ProcessInfo result = buildPartial(); + public com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode build() { + com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -12968,92 +16172,63 @@ public com.dd.cws.adv1.pb.SecDumpProto.ProcessInfo build() { } @java.lang.Override - public com.dd.cws.adv1.pb.SecDumpProto.ProcessInfo buildPartial() { - com.dd.cws.adv1.pb.SecDumpProto.ProcessInfo result = new com.dd.cws.adv1.pb.SecDumpProto.ProcessInfo(this); + public com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode buildPartial() { + com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode result = new com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.dd.cws.adv1.pb.SecDumpProto.ProcessInfo result) { - if (((bitField0_ & 0x00008000) != 0)) { - args_ = args_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00008000); - } - result.args_ = args_; - if (((bitField0_ & 0x00040000) != 0)) { - envs_ = envs_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00040000); - } - result.envs_ = envs_; - } - - private void buildPartial0(com.dd.cws.adv1.pb.SecDumpProto.ProcessInfo result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.pid_ = pid_; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - result.tid_ = tid_; - } - if (((from_bitField0_ & 0x00000004) != 0)) { - result.ppid_ = ppid_; - } - if (((from_bitField0_ & 0x00000008) != 0)) { - result.cookie_ = cookie_; - } - if (((from_bitField0_ & 0x00000010) != 0)) { - result.isThread_ = isThread_; - } - if (((from_bitField0_ & 0x00000020) != 0)) { - result.file_ = fileBuilder_ == null - ? file_ - : fileBuilder_.build(); - } - if (((from_bitField0_ & 0x00000040) != 0)) { - result.containerId_ = containerId_; - } - if (((from_bitField0_ & 0x00000080) != 0)) { - result.spanId_ = spanId_; - } - if (((from_bitField0_ & 0x00000100) != 0)) { - result.traceId_ = traceId_; - } - if (((from_bitField0_ & 0x00000200) != 0)) { - result.tty_ = tty_; - } - if (((from_bitField0_ & 0x00000400) != 0)) { - result.comm_ = comm_; - } - if (((from_bitField0_ & 0x00000800) != 0)) { - result.forkTime_ = forkTime_; + private void buildPartialRepeatedFields(com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode result) { + if (matchedRulesBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + matchedRules_ = java.util.Collections.unmodifiableList(matchedRules_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.matchedRules_ = matchedRules_; + } else { + result.matchedRules_ = matchedRulesBuilder_.build(); } - if (((from_bitField0_ & 0x00001000) != 0)) { - result.exitTime_ = exitTime_; + if (((bitField0_ & 0x00000002) != 0)) { + imageTags_ = imageTags_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000002); } - if (((from_bitField0_ & 0x00002000) != 0)) { - result.execTime_ = execTime_; + result.imageTags_ = imageTags_; + if (childrenBuilder_ == null) { + if (((bitField0_ & 0x00000100) != 0)) { + children_ = java.util.Collections.unmodifiableList(children_); + bitField0_ = (bitField0_ & ~0x00000100); + } + result.children_ = children_; + } else { + result.children_ = childrenBuilder_.build(); } - if (((from_bitField0_ & 0x00004000) != 0)) { - result.credentials_ = credentialsBuilder_ == null - ? credentials_ - : credentialsBuilder_.build(); + } + + private void buildPartial0(com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000004) != 0)) { + result.name_ = name_; } - if (((from_bitField0_ & 0x00010000) != 0)) { - result.argv0_ = argv0_; + if (((from_bitField0_ & 0x00000008) != 0)) { + result.isPattern_ = isPattern_; } - if (((from_bitField0_ & 0x00020000) != 0)) { - result.argsTruncated_ = argsTruncated_; + if (((from_bitField0_ & 0x00000010) != 0)) { + result.file_ = fileBuilder_ == null + ? file_ + : fileBuilder_.build(); } - if (((from_bitField0_ & 0x00080000) != 0)) { - result.envsTruncated_ = envsTruncated_; + if (((from_bitField0_ & 0x00000020) != 0)) { + result.generationType_ = generationType_; } - if (((from_bitField0_ & 0x00100000) != 0)) { - result.isExecChild_ = isExecChild_; + if (((from_bitField0_ & 0x00000040) != 0)) { + result.firstSeen_ = firstSeen_; } - if (((from_bitField0_ & 0x00200000) != 0)) { - result.cookie64_ = cookie64_; + if (((from_bitField0_ & 0x00000080) != 0)) { + result.open_ = openBuilder_ == null + ? open_ + : openBuilder_.build(); } } @@ -13091,425 +16266,651 @@ public Builder addRepeatedField( } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.dd.cws.adv1.pb.SecDumpProto.ProcessInfo) { - return mergeFrom((com.dd.cws.adv1.pb.SecDumpProto.ProcessInfo)other); + if (other instanceof com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode) { + return mergeFrom((com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode)other); } else { super.mergeFrom(other); return this; } } - - public Builder mergeFrom(com.dd.cws.adv1.pb.SecDumpProto.ProcessInfo other) { - if (other == com.dd.cws.adv1.pb.SecDumpProto.ProcessInfo.getDefaultInstance()) return this; - if (other.getPid() != 0) { - setPid(other.getPid()); - } - if (other.getTid() != 0) { - setTid(other.getTid()); - } - if (other.getPpid() != 0) { - setPpid(other.getPpid()); - } - if (other.getCookie() != 0) { - setCookie(other.getCookie()); - } - if (other.getIsThread() != false) { - setIsThread(other.getIsThread()); + + public Builder mergeFrom(com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode other) { + if (other == com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode.getDefaultInstance()) return this; + if (matchedRulesBuilder_ == null) { + if (!other.matchedRules_.isEmpty()) { + if (matchedRules_.isEmpty()) { + matchedRules_ = other.matchedRules_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureMatchedRulesIsMutable(); + matchedRules_.addAll(other.matchedRules_); + } + onChanged(); + } + } else { + if (!other.matchedRules_.isEmpty()) { + if (matchedRulesBuilder_.isEmpty()) { + matchedRulesBuilder_.dispose(); + matchedRulesBuilder_ = null; + matchedRules_ = other.matchedRules_; + bitField0_ = (bitField0_ & ~0x00000001); + matchedRulesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getMatchedRulesFieldBuilder() : null; + } else { + matchedRulesBuilder_.addAllMessages(other.matchedRules_); + } + } + } + if (!other.imageTags_.isEmpty()) { + if (imageTags_.isEmpty()) { + imageTags_ = other.imageTags_; + bitField0_ = (bitField0_ & ~0x00000002); + } else { + ensureImageTagsIsMutable(); + imageTags_.addAll(other.imageTags_); + } + onChanged(); + } + if (!other.getName().isEmpty()) { + name_ = other.name_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (other.getIsPattern() != false) { + setIsPattern(other.getIsPattern()); + } + if (other.hasFile()) { + mergeFile(other.getFile()); + } + if (other.generationType_ != 0) { + setGenerationTypeValue(other.getGenerationTypeValue()); + } + if (other.getFirstSeen() != 0L) { + setFirstSeen(other.getFirstSeen()); + } + if (other.hasOpen()) { + mergeOpen(other.getOpen()); + } + if (childrenBuilder_ == null) { + if (!other.children_.isEmpty()) { + if (children_.isEmpty()) { + children_ = other.children_; + bitField0_ = (bitField0_ & ~0x00000100); + } else { + ensureChildrenIsMutable(); + children_.addAll(other.children_); + } + onChanged(); + } + } else { + if (!other.children_.isEmpty()) { + if (childrenBuilder_.isEmpty()) { + childrenBuilder_.dispose(); + childrenBuilder_ = null; + children_ = other.children_; + bitField0_ = (bitField0_ & ~0x00000100); + childrenBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getChildrenFieldBuilder() : null; + } else { + childrenBuilder_.addAllMessages(other.children_); + } + } + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 10 + case 18: { + input.readMessage( + getFileFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 18 + case 32: { + firstSeen_ = input.readUInt64(); + bitField0_ |= 0x00000040; + break; + } // case 32 + case 42: { + input.readMessage( + getOpenFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000080; + break; + } // case 42 + case 50: { + com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode m = + input.readMessage( + com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode.parser(), + extensionRegistry); + if (childrenBuilder_ == null) { + ensureChildrenIsMutable(); + children_.add(m); + } else { + childrenBuilder_.addMessage(m); + } + break; + } // case 50 + case 56: { + isPattern_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 56 + case 64: { + generationType_ = input.readEnum(); + bitField0_ |= 0x00000020; + break; + } // case 64 + case 74: { + com.dd.cws.adv1.pb.SecDumpProto.MatchedRule m = + input.readMessage( + com.dd.cws.adv1.pb.SecDumpProto.MatchedRule.parser(), + extensionRegistry); + if (matchedRulesBuilder_ == null) { + ensureMatchedRulesIsMutable(); + matchedRules_.add(m); + } else { + matchedRulesBuilder_.addMessage(m); + } + break; + } // case 74 + case 82: { + java.lang.String s = input.readStringRequireUtf8(); + ensureImageTagsIsMutable(); + imageTags_.add(s); + break; + } // case 82 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.util.List matchedRules_ = + java.util.Collections.emptyList(); + private void ensureMatchedRulesIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + matchedRules_ = new java.util.ArrayList(matchedRules_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.dd.cws.adv1.pb.SecDumpProto.MatchedRule, com.dd.cws.adv1.pb.SecDumpProto.MatchedRule.Builder, com.dd.cws.adv1.pb.SecDumpProto.MatchedRuleOrBuilder> matchedRulesBuilder_; + + /** + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 9; + */ + public java.util.List getMatchedRulesList() { + if (matchedRulesBuilder_ == null) { + return java.util.Collections.unmodifiableList(matchedRules_); + } else { + return matchedRulesBuilder_.getMessageList(); + } + } + /** + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 9; + */ + public int getMatchedRulesCount() { + if (matchedRulesBuilder_ == null) { + return matchedRules_.size(); + } else { + return matchedRulesBuilder_.getCount(); } - if (other.hasFile()) { - mergeFile(other.getFile()); + } + /** + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 9; + */ + public com.dd.cws.adv1.pb.SecDumpProto.MatchedRule getMatchedRules(int index) { + if (matchedRulesBuilder_ == null) { + return matchedRules_.get(index); + } else { + return matchedRulesBuilder_.getMessage(index); } - if (!other.getContainerId().isEmpty()) { - containerId_ = other.containerId_; - bitField0_ |= 0x00000040; + } + /** + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 9; + */ + public Builder setMatchedRules( + int index, com.dd.cws.adv1.pb.SecDumpProto.MatchedRule value) { + if (matchedRulesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureMatchedRulesIsMutable(); + matchedRules_.set(index, value); onChanged(); + } else { + matchedRulesBuilder_.setMessage(index, value); } - if (other.getSpanId() != 0L) { - setSpanId(other.getSpanId()); - } - if (other.getTraceId() != 0L) { - setTraceId(other.getTraceId()); - } - if (!other.getTty().isEmpty()) { - tty_ = other.tty_; - bitField0_ |= 0x00000200; + return this; + } + /** + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 9; + */ + public Builder setMatchedRules( + int index, com.dd.cws.adv1.pb.SecDumpProto.MatchedRule.Builder builderForValue) { + if (matchedRulesBuilder_ == null) { + ensureMatchedRulesIsMutable(); + matchedRules_.set(index, builderForValue.build()); onChanged(); + } else { + matchedRulesBuilder_.setMessage(index, builderForValue.build()); } - if (!other.getComm().isEmpty()) { - comm_ = other.comm_; - bitField0_ |= 0x00000400; + return this; + } + /** + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 9; + */ + public Builder addMatchedRules(com.dd.cws.adv1.pb.SecDumpProto.MatchedRule value) { + if (matchedRulesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureMatchedRulesIsMutable(); + matchedRules_.add(value); onChanged(); + } else { + matchedRulesBuilder_.addMessage(value); } - if (other.getForkTime() != 0L) { - setForkTime(other.getForkTime()); - } - if (other.getExitTime() != 0L) { - setExitTime(other.getExitTime()); - } - if (other.getExecTime() != 0L) { - setExecTime(other.getExecTime()); + return this; + } + /** + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 9; + */ + public Builder addMatchedRules( + int index, com.dd.cws.adv1.pb.SecDumpProto.MatchedRule value) { + if (matchedRulesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureMatchedRulesIsMutable(); + matchedRules_.add(index, value); + onChanged(); + } else { + matchedRulesBuilder_.addMessage(index, value); } - if (other.hasCredentials()) { - mergeCredentials(other.getCredentials()); + return this; + } + /** + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 9; + */ + public Builder addMatchedRules( + com.dd.cws.adv1.pb.SecDumpProto.MatchedRule.Builder builderForValue) { + if (matchedRulesBuilder_ == null) { + ensureMatchedRulesIsMutable(); + matchedRules_.add(builderForValue.build()); + onChanged(); + } else { + matchedRulesBuilder_.addMessage(builderForValue.build()); } - if (!other.args_.isEmpty()) { - if (args_.isEmpty()) { - args_ = other.args_; - bitField0_ = (bitField0_ & ~0x00008000); - } else { - ensureArgsIsMutable(); - args_.addAll(other.args_); - } + return this; + } + /** + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 9; + */ + public Builder addMatchedRules( + int index, com.dd.cws.adv1.pb.SecDumpProto.MatchedRule.Builder builderForValue) { + if (matchedRulesBuilder_ == null) { + ensureMatchedRulesIsMutable(); + matchedRules_.add(index, builderForValue.build()); onChanged(); + } else { + matchedRulesBuilder_.addMessage(index, builderForValue.build()); } - if (!other.getArgv0().isEmpty()) { - argv0_ = other.argv0_; - bitField0_ |= 0x00010000; + return this; + } + /** + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 9; + */ + public Builder addAllMatchedRules( + java.lang.Iterable values) { + if (matchedRulesBuilder_ == null) { + ensureMatchedRulesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, matchedRules_); onChanged(); + } else { + matchedRulesBuilder_.addAllMessages(values); } - if (other.getArgsTruncated() != false) { - setArgsTruncated(other.getArgsTruncated()); + return this; + } + /** + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 9; + */ + public Builder clearMatchedRules() { + if (matchedRulesBuilder_ == null) { + matchedRules_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + matchedRulesBuilder_.clear(); } - if (!other.envs_.isEmpty()) { - if (envs_.isEmpty()) { - envs_ = other.envs_; - bitField0_ = (bitField0_ & ~0x00040000); - } else { - ensureEnvsIsMutable(); - envs_.addAll(other.envs_); - } + return this; + } + /** + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 9; + */ + public Builder removeMatchedRules(int index) { + if (matchedRulesBuilder_ == null) { + ensureMatchedRulesIsMutable(); + matchedRules_.remove(index); onChanged(); + } else { + matchedRulesBuilder_.remove(index); } - if (other.getEnvsTruncated() != false) { - setEnvsTruncated(other.getEnvsTruncated()); + return this; + } + /** + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 9; + */ + public com.dd.cws.adv1.pb.SecDumpProto.MatchedRule.Builder getMatchedRulesBuilder( + int index) { + return getMatchedRulesFieldBuilder().getBuilder(index); + } + /** + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 9; + */ + public com.dd.cws.adv1.pb.SecDumpProto.MatchedRuleOrBuilder getMatchedRulesOrBuilder( + int index) { + if (matchedRulesBuilder_ == null) { + return matchedRules_.get(index); } else { + return matchedRulesBuilder_.getMessageOrBuilder(index); } - if (other.getIsExecChild() != false) { - setIsExecChild(other.getIsExecChild()); + } + /** + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 9; + */ + public java.util.List + getMatchedRulesOrBuilderList() { + if (matchedRulesBuilder_ != null) { + return matchedRulesBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(matchedRules_); } - if (other.getCookie64() != 0L) { - setCookie64(other.getCookie64()); + } + /** + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 9; + */ + public com.dd.cws.adv1.pb.SecDumpProto.MatchedRule.Builder addMatchedRulesBuilder() { + return getMatchedRulesFieldBuilder().addBuilder( + com.dd.cws.adv1.pb.SecDumpProto.MatchedRule.getDefaultInstance()); + } + /** + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 9; + */ + public com.dd.cws.adv1.pb.SecDumpProto.MatchedRule.Builder addMatchedRulesBuilder( + int index) { + return getMatchedRulesFieldBuilder().addBuilder( + index, com.dd.cws.adv1.pb.SecDumpProto.MatchedRule.getDefaultInstance()); + } + /** + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 9; + */ + public java.util.List + getMatchedRulesBuilderList() { + return getMatchedRulesFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.dd.cws.adv1.pb.SecDumpProto.MatchedRule, com.dd.cws.adv1.pb.SecDumpProto.MatchedRule.Builder, com.dd.cws.adv1.pb.SecDumpProto.MatchedRuleOrBuilder> + getMatchedRulesFieldBuilder() { + if (matchedRulesBuilder_ == null) { + matchedRulesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.dd.cws.adv1.pb.SecDumpProto.MatchedRule, com.dd.cws.adv1.pb.SecDumpProto.MatchedRule.Builder, com.dd.cws.adv1.pb.SecDumpProto.MatchedRuleOrBuilder>( + matchedRules_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + matchedRules_ = null; } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; + return matchedRulesBuilder_; } - @java.lang.Override - public final boolean isInitialized() { - return true; + private com.google.protobuf.LazyStringList imageTags_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureImageTagsIsMutable() { + if (!((bitField0_ & 0x00000002) != 0)) { + imageTags_ = new com.google.protobuf.LazyStringArrayList(imageTags_); + bitField0_ |= 0x00000002; + } } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 8: { - pid_ = input.readUInt32(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 16: { - tid_ = input.readUInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 24: { - ppid_ = input.readUInt32(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 32: { - cookie_ = input.readUInt32(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 40: { - isThread_ = input.readBool(); - bitField0_ |= 0x00000010; - break; - } // case 40 - case 50: { - input.readMessage( - getFileFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000020; - break; - } // case 50 - case 58: { - containerId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000040; - break; - } // case 58 - case 64: { - spanId_ = input.readUInt64(); - bitField0_ |= 0x00000080; - break; - } // case 64 - case 72: { - traceId_ = input.readUInt64(); - bitField0_ |= 0x00000100; - break; - } // case 72 - case 82: { - tty_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000200; - break; - } // case 82 - case 90: { - comm_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000400; - break; - } // case 90 - case 96: { - forkTime_ = input.readUInt64(); - bitField0_ |= 0x00000800; - break; - } // case 96 - case 104: { - exitTime_ = input.readUInt64(); - bitField0_ |= 0x00001000; - break; - } // case 104 - case 112: { - execTime_ = input.readUInt64(); - bitField0_ |= 0x00002000; - break; - } // case 112 - case 122: { - input.readMessage( - getCredentialsFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00004000; - break; - } // case 122 - case 130: { - java.lang.String s = input.readStringRequireUtf8(); - ensureArgsIsMutable(); - args_.add(s); - break; - } // case 130 - case 138: { - argv0_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00010000; - break; - } // case 138 - case 144: { - argsTruncated_ = input.readBool(); - bitField0_ |= 0x00020000; - break; - } // case 144 - case 154: { - java.lang.String s = input.readStringRequireUtf8(); - ensureEnvsIsMutable(); - envs_.add(s); - break; - } // case 154 - case 160: { - envsTruncated_ = input.readBool(); - bitField0_ |= 0x00080000; - break; - } // case 160 - case 168: { - isExecChild_ = input.readBool(); - bitField0_ |= 0x00100000; - break; - } // case 168 - case 176: { - cookie64_ = input.readUInt64(); - bitField0_ |= 0x00200000; - break; - } // case 176 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; + /** + * repeated string image_tags = 10; + * @return A list containing the imageTags. + */ + public com.google.protobuf.ProtocolStringList + getImageTagsList() { + return imageTags_.getUnmodifiableView(); } - private int bitField0_; - - private int pid_ ; /** - * uint32 pid = 1; - * @return The pid. + * repeated string image_tags = 10; + * @return The count of imageTags. */ - @java.lang.Override - public int getPid() { - return pid_; + public int getImageTagsCount() { + return imageTags_.size(); } /** - * uint32 pid = 1; - * @param value The pid to set. + * repeated string image_tags = 10; + * @param index The index of the element to return. + * @return The imageTags at the given index. + */ + public java.lang.String getImageTags(int index) { + return imageTags_.get(index); + } + /** + * repeated string image_tags = 10; + * @param index The index of the value to return. + * @return The bytes of the imageTags at the given index. + */ + public com.google.protobuf.ByteString + getImageTagsBytes(int index) { + return imageTags_.getByteString(index); + } + /** + * repeated string image_tags = 10; + * @param index The index to set the value at. + * @param value The imageTags to set. * @return This builder for chaining. */ - public Builder setPid(int value) { - - pid_ = value; - bitField0_ |= 0x00000001; + public Builder setImageTags( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureImageTagsIsMutable(); + imageTags_.set(index, value); onChanged(); return this; } /** - * uint32 pid = 1; + * repeated string image_tags = 10; + * @param value The imageTags to add. * @return This builder for chaining. */ - public Builder clearPid() { - bitField0_ = (bitField0_ & ~0x00000001); - pid_ = 0; + public Builder addImageTags( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureImageTagsIsMutable(); + imageTags_.add(value); onChanged(); return this; } - - private int tid_ ; /** - * uint32 tid = 2; - * @return The tid. + * repeated string image_tags = 10; + * @param values The imageTags to add. + * @return This builder for chaining. */ - @java.lang.Override - public int getTid() { - return tid_; + public Builder addAllImageTags( + java.lang.Iterable values) { + ensureImageTagsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, imageTags_); + onChanged(); + return this; } /** - * uint32 tid = 2; - * @param value The tid to set. - * @return This builder for chaining. - */ - public Builder setTid(int value) { - - tid_ = value; - bitField0_ |= 0x00000002; + * repeated string image_tags = 10; + * @return This builder for chaining. + */ + public Builder clearImageTags() { + imageTags_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** - * uint32 tid = 2; + * repeated string image_tags = 10; + * @param value The bytes of the imageTags to add. * @return This builder for chaining. */ - public Builder clearTid() { - bitField0_ = (bitField0_ & ~0x00000002); - tid_ = 0; + public Builder addImageTagsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ensureImageTagsIsMutable(); + imageTags_.add(value); onChanged(); return this; } - private int ppid_ ; + private java.lang.Object name_ = ""; /** - * uint32 ppid = 3; - * @return The ppid. + * string name = 1; + * @return The name. */ - @java.lang.Override - public int getPpid() { - return ppid_; + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } } /** - * uint32 ppid = 3; - * @param value The ppid to set. - * @return This builder for chaining. + * string name = 1; + * @return The bytes for name. */ - public Builder setPpid(int value) { - - ppid_ = value; - bitField0_ |= 0x00000004; - onChanged(); - return this; + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } } /** - * uint32 ppid = 3; + * string name = 1; + * @param value The name to set. * @return This builder for chaining. */ - public Builder clearPpid() { - bitField0_ = (bitField0_ & ~0x00000004); - ppid_ = 0; + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + name_ = value; + bitField0_ |= 0x00000004; onChanged(); return this; } - - private int cookie_ ; - /** - * uint32 cookie = 4 [deprecated = true]; - * @deprecated datadog.cws.dumpsv1.ProcessInfo.cookie is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=82 - * @return The cookie. - */ - @java.lang.Override - @java.lang.Deprecated public int getCookie() { - return cookie_; - } /** - * uint32 cookie = 4 [deprecated = true]; - * @deprecated datadog.cws.dumpsv1.ProcessInfo.cookie is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=82 - * @param value The cookie to set. + * string name = 1; * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setCookie(int value) { - - cookie_ = value; - bitField0_ |= 0x00000008; + public Builder clearName() { + name_ = getDefaultInstance().getName(); + bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } /** - * uint32 cookie = 4 [deprecated = true]; - * @deprecated datadog.cws.dumpsv1.ProcessInfo.cookie is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=82 + * string name = 1; + * @param value The bytes for name to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearCookie() { - bitField0_ = (bitField0_ & ~0x00000008); - cookie_ = 0; + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + name_ = value; + bitField0_ |= 0x00000004; onChanged(); return this; } - private boolean isThread_ ; + private boolean isPattern_ ; /** - * bool is_thread = 5; - * @return The isThread. + * bool is_pattern = 7; + * @return The isPattern. */ @java.lang.Override - public boolean getIsThread() { - return isThread_; + public boolean getIsPattern() { + return isPattern_; } /** - * bool is_thread = 5; - * @param value The isThread to set. + * bool is_pattern = 7; + * @param value The isPattern to set. * @return This builder for chaining. */ - public Builder setIsThread(boolean value) { + public Builder setIsPattern(boolean value) { - isThread_ = value; - bitField0_ |= 0x00000010; + isPattern_ = value; + bitField0_ |= 0x00000008; onChanged(); return this; } /** - * bool is_thread = 5; + * bool is_pattern = 7; * @return This builder for chaining. */ - public Builder clearIsThread() { - bitField0_ = (bitField0_ & ~0x00000010); - isThread_ = false; + public Builder clearIsPattern() { + bitField0_ = (bitField0_ & ~0x00000008); + isPattern_ = false; onChanged(); return this; } @@ -13518,14 +16919,14 @@ public Builder clearIsThread() { private com.google.protobuf.SingleFieldBuilderV3< com.dd.cws.adv1.pb.SecDumpProto.FileInfo, com.dd.cws.adv1.pb.SecDumpProto.FileInfo.Builder, com.dd.cws.adv1.pb.SecDumpProto.FileInfoOrBuilder> fileBuilder_; /** - * .datadog.cws.dumpsv1.FileInfo file = 6; + * .datadog.cws.dumpsv1.FileInfo file = 2; * @return Whether the file field is set. */ public boolean hasFile() { - return ((bitField0_ & 0x00000020) != 0); + return ((bitField0_ & 0x00000010) != 0); } /** - * .datadog.cws.dumpsv1.FileInfo file = 6; + * .datadog.cws.dumpsv1.FileInfo file = 2; * @return The file. */ public com.dd.cws.adv1.pb.SecDumpProto.FileInfo getFile() { @@ -13536,7 +16937,7 @@ public com.dd.cws.adv1.pb.SecDumpProto.FileInfo getFile() { } } /** - * .datadog.cws.dumpsv1.FileInfo file = 6; + * .datadog.cws.dumpsv1.FileInfo file = 2; */ public Builder setFile(com.dd.cws.adv1.pb.SecDumpProto.FileInfo value) { if (fileBuilder_ == null) { @@ -13547,12 +16948,12 @@ public Builder setFile(com.dd.cws.adv1.pb.SecDumpProto.FileInfo value) { } else { fileBuilder_.setMessage(value); } - bitField0_ |= 0x00000020; + bitField0_ |= 0x00000010; onChanged(); return this; } /** - * .datadog.cws.dumpsv1.FileInfo file = 6; + * .datadog.cws.dumpsv1.FileInfo file = 2; */ public Builder setFile( com.dd.cws.adv1.pb.SecDumpProto.FileInfo.Builder builderForValue) { @@ -13561,16 +16962,16 @@ public Builder setFile( } else { fileBuilder_.setMessage(builderForValue.build()); } - bitField0_ |= 0x00000020; + bitField0_ |= 0x00000010; onChanged(); return this; } /** - * .datadog.cws.dumpsv1.FileInfo file = 6; + * .datadog.cws.dumpsv1.FileInfo file = 2; */ public Builder mergeFile(com.dd.cws.adv1.pb.SecDumpProto.FileInfo value) { if (fileBuilder_ == null) { - if (((bitField0_ & 0x00000020) != 0) && + if (((bitField0_ & 0x00000010) != 0) && file_ != null && file_ != com.dd.cws.adv1.pb.SecDumpProto.FileInfo.getDefaultInstance()) { getFileBuilder().mergeFrom(value); @@ -13580,15 +16981,15 @@ public Builder mergeFile(com.dd.cws.adv1.pb.SecDumpProto.FileInfo value) { } else { fileBuilder_.mergeFrom(value); } - bitField0_ |= 0x00000020; + bitField0_ |= 0x00000010; onChanged(); return this; } /** - * .datadog.cws.dumpsv1.FileInfo file = 6; + * .datadog.cws.dumpsv1.FileInfo file = 2; */ public Builder clearFile() { - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ = (bitField0_ & ~0x00000010); file_ = null; if (fileBuilder_ != null) { fileBuilder_.dispose(); @@ -13598,15 +16999,15 @@ public Builder clearFile() { return this; } /** - * .datadog.cws.dumpsv1.FileInfo file = 6; + * .datadog.cws.dumpsv1.FileInfo file = 2; */ public com.dd.cws.adv1.pb.SecDumpProto.FileInfo.Builder getFileBuilder() { - bitField0_ |= 0x00000020; + bitField0_ |= 0x00000010; onChanged(); return getFileFieldBuilder().getBuilder(); } /** - * .datadog.cws.dumpsv1.FileInfo file = 6; + * .datadog.cws.dumpsv1.FileInfo file = 2; */ public com.dd.cws.adv1.pb.SecDumpProto.FileInfoOrBuilder getFileOrBuilder() { if (fileBuilder_ != null) { @@ -13617,7 +17018,7 @@ public com.dd.cws.adv1.pb.SecDumpProto.FileInfoOrBuilder getFileOrBuilder() { } } /** - * .datadog.cws.dumpsv1.FileInfo file = 6; + * .datadog.cws.dumpsv1.FileInfo file = 2; */ private com.google.protobuf.SingleFieldBuilderV3< com.dd.cws.adv1.pb.SecDumpProto.FileInfo, com.dd.cws.adv1.pb.SecDumpProto.FileInfo.Builder, com.dd.cws.adv1.pb.SecDumpProto.FileInfoOrBuilder> @@ -13633,917 +17034,1070 @@ public com.dd.cws.adv1.pb.SecDumpProto.FileInfoOrBuilder getFileOrBuilder() { return fileBuilder_; } - private java.lang.Object containerId_ = ""; - /** - * string container_id = 7; - * @return The containerId. - */ - public java.lang.String getContainerId() { - java.lang.Object ref = containerId_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - containerId_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * string container_id = 7; - * @return The bytes for containerId. - */ - public com.google.protobuf.ByteString - getContainerIdBytes() { - java.lang.Object ref = containerId_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - containerId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * string container_id = 7; - * @param value The containerId to set. - * @return This builder for chaining. - */ - public Builder setContainerId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } - containerId_ = value; - bitField0_ |= 0x00000040; - onChanged(); - return this; - } + private int generationType_ = 0; /** - * string container_id = 7; - * @return This builder for chaining. + * .datadog.cws.dumpsv1.GenerationType generation_type = 8; + * @return The enum numeric value on the wire for generationType. */ - public Builder clearContainerId() { - containerId_ = getDefaultInstance().getContainerId(); - bitField0_ = (bitField0_ & ~0x00000040); - onChanged(); - return this; + @java.lang.Override public int getGenerationTypeValue() { + return generationType_; } /** - * string container_id = 7; - * @param value The bytes for containerId to set. + * .datadog.cws.dumpsv1.GenerationType generation_type = 8; + * @param value The enum numeric value on the wire for generationType to set. * @return This builder for chaining. */ - public Builder setContainerIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } - checkByteStringIsUtf8(value); - containerId_ = value; - bitField0_ |= 0x00000040; + public Builder setGenerationTypeValue(int value) { + generationType_ = value; + bitField0_ |= 0x00000020; onChanged(); return this; } - - private long spanId_ ; /** - * uint64 span_id = 8 [deprecated = true]; - * @deprecated datadog.cws.dumpsv1.ProcessInfo.span_id is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=89 - * @return The spanId. + * .datadog.cws.dumpsv1.GenerationType generation_type = 8; + * @return The generationType. */ @java.lang.Override - @java.lang.Deprecated public long getSpanId() { - return spanId_; + public com.dd.cws.adv1.pb.SecDumpProto.GenerationType getGenerationType() { + com.dd.cws.adv1.pb.SecDumpProto.GenerationType result = com.dd.cws.adv1.pb.SecDumpProto.GenerationType.forNumber(generationType_); + return result == null ? com.dd.cws.adv1.pb.SecDumpProto.GenerationType.UNRECOGNIZED : result; } /** - * uint64 span_id = 8 [deprecated = true]; - * @deprecated datadog.cws.dumpsv1.ProcessInfo.span_id is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=89 - * @param value The spanId to set. + * .datadog.cws.dumpsv1.GenerationType generation_type = 8; + * @param value The generationType to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setSpanId(long value) { - - spanId_ = value; - bitField0_ |= 0x00000080; + public Builder setGenerationType(com.dd.cws.adv1.pb.SecDumpProto.GenerationType value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000020; + generationType_ = value.getNumber(); onChanged(); return this; } /** - * uint64 span_id = 8 [deprecated = true]; - * @deprecated datadog.cws.dumpsv1.ProcessInfo.span_id is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=89 + * .datadog.cws.dumpsv1.GenerationType generation_type = 8; * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearSpanId() { - bitField0_ = (bitField0_ & ~0x00000080); - spanId_ = 0L; + public Builder clearGenerationType() { + bitField0_ = (bitField0_ & ~0x00000020); + generationType_ = 0; onChanged(); return this; } - private long traceId_ ; + private long firstSeen_ ; /** - * uint64 trace_id = 9 [deprecated = true]; - * @deprecated datadog.cws.dumpsv1.ProcessInfo.trace_id is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=90 - * @return The traceId. + * uint64 first_seen = 4; + * @return The firstSeen. */ @java.lang.Override - @java.lang.Deprecated public long getTraceId() { - return traceId_; + public long getFirstSeen() { + return firstSeen_; } /** - * uint64 trace_id = 9 [deprecated = true]; - * @deprecated datadog.cws.dumpsv1.ProcessInfo.trace_id is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=90 - * @param value The traceId to set. + * uint64 first_seen = 4; + * @param value The firstSeen to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setTraceId(long value) { + public Builder setFirstSeen(long value) { - traceId_ = value; - bitField0_ |= 0x00000100; + firstSeen_ = value; + bitField0_ |= 0x00000040; onChanged(); return this; } /** - * uint64 trace_id = 9 [deprecated = true]; - * @deprecated datadog.cws.dumpsv1.ProcessInfo.trace_id is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=90 + * uint64 first_seen = 4; * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearTraceId() { - bitField0_ = (bitField0_ & ~0x00000100); - traceId_ = 0L; + public Builder clearFirstSeen() { + bitField0_ = (bitField0_ & ~0x00000040); + firstSeen_ = 0L; onChanged(); return this; } - private java.lang.Object tty_ = ""; + private com.dd.cws.adv1.pb.SecDumpProto.OpenNode open_; + private com.google.protobuf.SingleFieldBuilderV3< + com.dd.cws.adv1.pb.SecDumpProto.OpenNode, com.dd.cws.adv1.pb.SecDumpProto.OpenNode.Builder, com.dd.cws.adv1.pb.SecDumpProto.OpenNodeOrBuilder> openBuilder_; /** - * string tty = 10; - * @return The tty. + * .datadog.cws.dumpsv1.OpenNode open = 5; + * @return Whether the open field is set. */ - public java.lang.String getTty() { - java.lang.Object ref = tty_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - tty_ = s; - return s; - } else { - return (java.lang.String) ref; - } + public boolean hasOpen() { + return ((bitField0_ & 0x00000080) != 0); } /** - * string tty = 10; - * @return The bytes for tty. + * .datadog.cws.dumpsv1.OpenNode open = 5; + * @return The open. */ - public com.google.protobuf.ByteString - getTtyBytes() { - java.lang.Object ref = tty_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - tty_ = b; - return b; + public com.dd.cws.adv1.pb.SecDumpProto.OpenNode getOpen() { + if (openBuilder_ == null) { + return open_ == null ? com.dd.cws.adv1.pb.SecDumpProto.OpenNode.getDefaultInstance() : open_; } else { - return (com.google.protobuf.ByteString) ref; + return openBuilder_.getMessage(); } } /** - * string tty = 10; - * @param value The tty to set. - * @return This builder for chaining. - */ - public Builder setTty( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } - tty_ = value; - bitField0_ |= 0x00000200; - onChanged(); - return this; - } - /** - * string tty = 10; - * @return This builder for chaining. + * .datadog.cws.dumpsv1.OpenNode open = 5; */ - public Builder clearTty() { - tty_ = getDefaultInstance().getTty(); - bitField0_ = (bitField0_ & ~0x00000200); + public Builder setOpen(com.dd.cws.adv1.pb.SecDumpProto.OpenNode value) { + if (openBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + open_ = value; + } else { + openBuilder_.setMessage(value); + } + bitField0_ |= 0x00000080; onChanged(); return this; } /** - * string tty = 10; - * @param value The bytes for tty to set. - * @return This builder for chaining. + * .datadog.cws.dumpsv1.OpenNode open = 5; */ - public Builder setTtyBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } - checkByteStringIsUtf8(value); - tty_ = value; - bitField0_ |= 0x00000200; + public Builder setOpen( + com.dd.cws.adv1.pb.SecDumpProto.OpenNode.Builder builderForValue) { + if (openBuilder_ == null) { + open_ = builderForValue.build(); + } else { + openBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000080; onChanged(); return this; } - - private java.lang.Object comm_ = ""; /** - * string comm = 11; - * @return The comm. + * .datadog.cws.dumpsv1.OpenNode open = 5; */ - public java.lang.String getComm() { - java.lang.Object ref = comm_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - comm_ = s; - return s; + public Builder mergeOpen(com.dd.cws.adv1.pb.SecDumpProto.OpenNode value) { + if (openBuilder_ == null) { + if (((bitField0_ & 0x00000080) != 0) && + open_ != null && + open_ != com.dd.cws.adv1.pb.SecDumpProto.OpenNode.getDefaultInstance()) { + getOpenBuilder().mergeFrom(value); + } else { + open_ = value; + } } else { - return (java.lang.String) ref; + openBuilder_.mergeFrom(value); } + bitField0_ |= 0x00000080; + onChanged(); + return this; } /** - * string comm = 11; - * @return The bytes for comm. + * .datadog.cws.dumpsv1.OpenNode open = 5; */ - public com.google.protobuf.ByteString - getCommBytes() { - java.lang.Object ref = comm_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - comm_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; + public Builder clearOpen() { + bitField0_ = (bitField0_ & ~0x00000080); + open_ = null; + if (openBuilder_ != null) { + openBuilder_.dispose(); + openBuilder_ = null; } - } - /** - * string comm = 11; - * @param value The comm to set. - * @return This builder for chaining. - */ - public Builder setComm( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } - comm_ = value; - bitField0_ |= 0x00000400; onChanged(); return this; } /** - * string comm = 11; - * @return This builder for chaining. + * .datadog.cws.dumpsv1.OpenNode open = 5; */ - public Builder clearComm() { - comm_ = getDefaultInstance().getComm(); - bitField0_ = (bitField0_ & ~0x00000400); + public com.dd.cws.adv1.pb.SecDumpProto.OpenNode.Builder getOpenBuilder() { + bitField0_ |= 0x00000080; onChanged(); - return this; + return getOpenFieldBuilder().getBuilder(); } /** - * string comm = 11; - * @param value The bytes for comm to set. - * @return This builder for chaining. + * .datadog.cws.dumpsv1.OpenNode open = 5; */ - public Builder setCommBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } - checkByteStringIsUtf8(value); - comm_ = value; - bitField0_ |= 0x00000400; - onChanged(); - return this; + public com.dd.cws.adv1.pb.SecDumpProto.OpenNodeOrBuilder getOpenOrBuilder() { + if (openBuilder_ != null) { + return openBuilder_.getMessageOrBuilder(); + } else { + return open_ == null ? + com.dd.cws.adv1.pb.SecDumpProto.OpenNode.getDefaultInstance() : open_; + } } - - private long forkTime_ ; /** - * uint64 fork_time = 12; - * @return The forkTime. + * .datadog.cws.dumpsv1.OpenNode open = 5; */ - @java.lang.Override - public long getForkTime() { - return forkTime_; + private com.google.protobuf.SingleFieldBuilderV3< + com.dd.cws.adv1.pb.SecDumpProto.OpenNode, com.dd.cws.adv1.pb.SecDumpProto.OpenNode.Builder, com.dd.cws.adv1.pb.SecDumpProto.OpenNodeOrBuilder> + getOpenFieldBuilder() { + if (openBuilder_ == null) { + openBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.dd.cws.adv1.pb.SecDumpProto.OpenNode, com.dd.cws.adv1.pb.SecDumpProto.OpenNode.Builder, com.dd.cws.adv1.pb.SecDumpProto.OpenNodeOrBuilder>( + getOpen(), + getParentForChildren(), + isClean()); + open_ = null; + } + return openBuilder_; + } + + private java.util.List children_ = + java.util.Collections.emptyList(); + private void ensureChildrenIsMutable() { + if (!((bitField0_ & 0x00000100) != 0)) { + children_ = new java.util.ArrayList(children_); + bitField0_ |= 0x00000100; + } } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode, com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode.Builder, com.dd.cws.adv1.pb.SecDumpProto.FileActivityNodeOrBuilder> childrenBuilder_; + /** - * uint64 fork_time = 12; - * @param value The forkTime to set. - * @return This builder for chaining. + * repeated .datadog.cws.dumpsv1.FileActivityNode children = 6; */ - public Builder setForkTime(long value) { - - forkTime_ = value; - bitField0_ |= 0x00000800; - onChanged(); - return this; + public java.util.List getChildrenList() { + if (childrenBuilder_ == null) { + return java.util.Collections.unmodifiableList(children_); + } else { + return childrenBuilder_.getMessageList(); + } } /** - * uint64 fork_time = 12; - * @return This builder for chaining. + * repeated .datadog.cws.dumpsv1.FileActivityNode children = 6; */ - public Builder clearForkTime() { - bitField0_ = (bitField0_ & ~0x00000800); - forkTime_ = 0L; - onChanged(); - return this; + public int getChildrenCount() { + if (childrenBuilder_ == null) { + return children_.size(); + } else { + return childrenBuilder_.getCount(); + } } - - private long exitTime_ ; /** - * uint64 exit_time = 13; - * @return The exitTime. + * repeated .datadog.cws.dumpsv1.FileActivityNode children = 6; */ - @java.lang.Override - public long getExitTime() { - return exitTime_; + public com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode getChildren(int index) { + if (childrenBuilder_ == null) { + return children_.get(index); + } else { + return childrenBuilder_.getMessage(index); + } } /** - * uint64 exit_time = 13; - * @param value The exitTime to set. - * @return This builder for chaining. + * repeated .datadog.cws.dumpsv1.FileActivityNode children = 6; */ - public Builder setExitTime(long value) { - - exitTime_ = value; - bitField0_ |= 0x00001000; - onChanged(); + public Builder setChildren( + int index, com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode value) { + if (childrenBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureChildrenIsMutable(); + children_.set(index, value); + onChanged(); + } else { + childrenBuilder_.setMessage(index, value); + } return this; } /** - * uint64 exit_time = 13; - * @return This builder for chaining. + * repeated .datadog.cws.dumpsv1.FileActivityNode children = 6; */ - public Builder clearExitTime() { - bitField0_ = (bitField0_ & ~0x00001000); - exitTime_ = 0L; - onChanged(); + public Builder setChildren( + int index, com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode.Builder builderForValue) { + if (childrenBuilder_ == null) { + ensureChildrenIsMutable(); + children_.set(index, builderForValue.build()); + onChanged(); + } else { + childrenBuilder_.setMessage(index, builderForValue.build()); + } return this; } - - private long execTime_ ; /** - * uint64 exec_time = 14; - * @return The execTime. + * repeated .datadog.cws.dumpsv1.FileActivityNode children = 6; */ - @java.lang.Override - public long getExecTime() { - return execTime_; + public Builder addChildren(com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode value) { + if (childrenBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureChildrenIsMutable(); + children_.add(value); + onChanged(); + } else { + childrenBuilder_.addMessage(value); + } + return this; } /** - * uint64 exec_time = 14; - * @param value The execTime to set. - * @return This builder for chaining. + * repeated .datadog.cws.dumpsv1.FileActivityNode children = 6; */ - public Builder setExecTime(long value) { - - execTime_ = value; - bitField0_ |= 0x00002000; - onChanged(); + public Builder addChildren( + int index, com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode value) { + if (childrenBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureChildrenIsMutable(); + children_.add(index, value); + onChanged(); + } else { + childrenBuilder_.addMessage(index, value); + } return this; } /** - * uint64 exec_time = 14; - * @return This builder for chaining. + * repeated .datadog.cws.dumpsv1.FileActivityNode children = 6; */ - public Builder clearExecTime() { - bitField0_ = (bitField0_ & ~0x00002000); - execTime_ = 0L; - onChanged(); + public Builder addChildren( + com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode.Builder builderForValue) { + if (childrenBuilder_ == null) { + ensureChildrenIsMutable(); + children_.add(builderForValue.build()); + onChanged(); + } else { + childrenBuilder_.addMessage(builderForValue.build()); + } return this; } - - private com.dd.cws.adv1.pb.SecDumpProto.Credentials credentials_; - private com.google.protobuf.SingleFieldBuilderV3< - com.dd.cws.adv1.pb.SecDumpProto.Credentials, com.dd.cws.adv1.pb.SecDumpProto.Credentials.Builder, com.dd.cws.adv1.pb.SecDumpProto.CredentialsOrBuilder> credentialsBuilder_; /** - * .datadog.cws.dumpsv1.Credentials credentials = 15; - * @return Whether the credentials field is set. + * repeated .datadog.cws.dumpsv1.FileActivityNode children = 6; */ - public boolean hasCredentials() { - return ((bitField0_ & 0x00004000) != 0); + public Builder addChildren( + int index, com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode.Builder builderForValue) { + if (childrenBuilder_ == null) { + ensureChildrenIsMutable(); + children_.add(index, builderForValue.build()); + onChanged(); + } else { + childrenBuilder_.addMessage(index, builderForValue.build()); + } + return this; } /** - * .datadog.cws.dumpsv1.Credentials credentials = 15; - * @return The credentials. + * repeated .datadog.cws.dumpsv1.FileActivityNode children = 6; */ - public com.dd.cws.adv1.pb.SecDumpProto.Credentials getCredentials() { - if (credentialsBuilder_ == null) { - return credentials_ == null ? com.dd.cws.adv1.pb.SecDumpProto.Credentials.getDefaultInstance() : credentials_; + public Builder addAllChildren( + java.lang.Iterable values) { + if (childrenBuilder_ == null) { + ensureChildrenIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, children_); + onChanged(); } else { - return credentialsBuilder_.getMessage(); + childrenBuilder_.addAllMessages(values); } + return this; } /** - * .datadog.cws.dumpsv1.Credentials credentials = 15; + * repeated .datadog.cws.dumpsv1.FileActivityNode children = 6; */ - public Builder setCredentials(com.dd.cws.adv1.pb.SecDumpProto.Credentials value) { - if (credentialsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - credentials_ = value; + public Builder clearChildren() { + if (childrenBuilder_ == null) { + children_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000100); + onChanged(); } else { - credentialsBuilder_.setMessage(value); + childrenBuilder_.clear(); } - bitField0_ |= 0x00004000; - onChanged(); return this; } /** - * .datadog.cws.dumpsv1.Credentials credentials = 15; + * repeated .datadog.cws.dumpsv1.FileActivityNode children = 6; */ - public Builder setCredentials( - com.dd.cws.adv1.pb.SecDumpProto.Credentials.Builder builderForValue) { - if (credentialsBuilder_ == null) { - credentials_ = builderForValue.build(); + public Builder removeChildren(int index) { + if (childrenBuilder_ == null) { + ensureChildrenIsMutable(); + children_.remove(index); + onChanged(); } else { - credentialsBuilder_.setMessage(builderForValue.build()); + childrenBuilder_.remove(index); } - bitField0_ |= 0x00004000; - onChanged(); return this; } /** - * .datadog.cws.dumpsv1.Credentials credentials = 15; + * repeated .datadog.cws.dumpsv1.FileActivityNode children = 6; */ - public Builder mergeCredentials(com.dd.cws.adv1.pb.SecDumpProto.Credentials value) { - if (credentialsBuilder_ == null) { - if (((bitField0_ & 0x00004000) != 0) && - credentials_ != null && - credentials_ != com.dd.cws.adv1.pb.SecDumpProto.Credentials.getDefaultInstance()) { - getCredentialsBuilder().mergeFrom(value); - } else { - credentials_ = value; - } - } else { - credentialsBuilder_.mergeFrom(value); + public com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode.Builder getChildrenBuilder( + int index) { + return getChildrenFieldBuilder().getBuilder(index); + } + /** + * repeated .datadog.cws.dumpsv1.FileActivityNode children = 6; + */ + public com.dd.cws.adv1.pb.SecDumpProto.FileActivityNodeOrBuilder getChildrenOrBuilder( + int index) { + if (childrenBuilder_ == null) { + return children_.get(index); } else { + return childrenBuilder_.getMessageOrBuilder(index); } - bitField0_ |= 0x00004000; - onChanged(); - return this; } /** - * .datadog.cws.dumpsv1.Credentials credentials = 15; + * repeated .datadog.cws.dumpsv1.FileActivityNode children = 6; */ - public Builder clearCredentials() { - bitField0_ = (bitField0_ & ~0x00004000); - credentials_ = null; - if (credentialsBuilder_ != null) { - credentialsBuilder_.dispose(); - credentialsBuilder_ = null; + public java.util.List + getChildrenOrBuilderList() { + if (childrenBuilder_ != null) { + return childrenBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(children_); } - onChanged(); - return this; } /** - * .datadog.cws.dumpsv1.Credentials credentials = 15; + * repeated .datadog.cws.dumpsv1.FileActivityNode children = 6; + */ + public com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode.Builder addChildrenBuilder() { + return getChildrenFieldBuilder().addBuilder( + com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode.getDefaultInstance()); + } + /** + * repeated .datadog.cws.dumpsv1.FileActivityNode children = 6; */ - public com.dd.cws.adv1.pb.SecDumpProto.Credentials.Builder getCredentialsBuilder() { - bitField0_ |= 0x00004000; - onChanged(); - return getCredentialsFieldBuilder().getBuilder(); + public com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode.Builder addChildrenBuilder( + int index) { + return getChildrenFieldBuilder().addBuilder( + index, com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode.getDefaultInstance()); } /** - * .datadog.cws.dumpsv1.Credentials credentials = 15; + * repeated .datadog.cws.dumpsv1.FileActivityNode children = 6; */ - public com.dd.cws.adv1.pb.SecDumpProto.CredentialsOrBuilder getCredentialsOrBuilder() { - if (credentialsBuilder_ != null) { - return credentialsBuilder_.getMessageOrBuilder(); - } else { - return credentials_ == null ? - com.dd.cws.adv1.pb.SecDumpProto.Credentials.getDefaultInstance() : credentials_; - } + public java.util.List + getChildrenBuilderList() { + return getChildrenFieldBuilder().getBuilderList(); } - /** - * .datadog.cws.dumpsv1.Credentials credentials = 15; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.dd.cws.adv1.pb.SecDumpProto.Credentials, com.dd.cws.adv1.pb.SecDumpProto.Credentials.Builder, com.dd.cws.adv1.pb.SecDumpProto.CredentialsOrBuilder> - getCredentialsFieldBuilder() { - if (credentialsBuilder_ == null) { - credentialsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.dd.cws.adv1.pb.SecDumpProto.Credentials, com.dd.cws.adv1.pb.SecDumpProto.Credentials.Builder, com.dd.cws.adv1.pb.SecDumpProto.CredentialsOrBuilder>( - getCredentials(), + private com.google.protobuf.RepeatedFieldBuilderV3< + com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode, com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode.Builder, com.dd.cws.adv1.pb.SecDumpProto.FileActivityNodeOrBuilder> + getChildrenFieldBuilder() { + if (childrenBuilder_ == null) { + childrenBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode, com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode.Builder, com.dd.cws.adv1.pb.SecDumpProto.FileActivityNodeOrBuilder>( + children_, + ((bitField0_ & 0x00000100) != 0), getParentForChildren(), isClean()); - credentials_ = null; + children_ = null; } - return credentialsBuilder_; + return childrenBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); } - private com.google.protobuf.LazyStringList args_ = com.google.protobuf.LazyStringArrayList.EMPTY; - private void ensureArgsIsMutable() { - if (!((bitField0_ & 0x00008000) != 0)) { - args_ = new com.google.protobuf.LazyStringArrayList(args_); - bitField0_ |= 0x00008000; - } + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); } - /** - * repeated string args = 16; - * @return A list containing the args. - */ - public com.google.protobuf.ProtocolStringList - getArgsList() { - return args_.getUnmodifiableView(); + + + // @@protoc_insertion_point(builder_scope:datadog.cws.dumpsv1.FileActivityNode) + } + + // @@protoc_insertion_point(class_scope:datadog.cws.dumpsv1.FileActivityNode) + private static final com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode(); + } + + public static com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FileActivityNode parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); } - /** - * repeated string args = 16; - * @return The count of args. - */ - public int getArgsCount() { - return args_.size(); + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface OpenNodeOrBuilder extends + // @@protoc_insertion_point(interface_extends:datadog.cws.dumpsv1.OpenNode) + com.google.protobuf.MessageOrBuilder { + + /** + * sint64 retval = 1; + * @return The retval. + */ + long getRetval(); + + /** + * uint32 flags = 2; + * @return The flags. + */ + int getFlags(); + + /** + * uint32 mode = 3; + * @return The mode. + */ + int getMode(); + } + /** + * Protobuf type {@code datadog.cws.dumpsv1.OpenNode} + */ + public static final class OpenNode extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:datadog.cws.dumpsv1.OpenNode) + OpenNodeOrBuilder { + private static final long serialVersionUID = 0L; + // Use OpenNode.newBuilder() to construct. + private OpenNode(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private OpenNode() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new OpenNode(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_OpenNode_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_OpenNode_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.dd.cws.adv1.pb.SecDumpProto.OpenNode.class, com.dd.cws.adv1.pb.SecDumpProto.OpenNode.Builder.class); + } + + public static final int RETVAL_FIELD_NUMBER = 1; + private long retval_ = 0L; + /** + * sint64 retval = 1; + * @return The retval. + */ + @java.lang.Override + public long getRetval() { + return retval_; + } + + public static final int FLAGS_FIELD_NUMBER = 2; + private int flags_ = 0; + /** + * uint32 flags = 2; + * @return The flags. + */ + @java.lang.Override + public int getFlags() { + return flags_; + } + + public static final int MODE_FIELD_NUMBER = 3; + private int mode_ = 0; + /** + * uint32 mode = 3; + * @return The mode. + */ + @java.lang.Override + public int getMode() { + return mode_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (retval_ != 0L) { + output.writeSInt64(1, retval_); } - /** - * repeated string args = 16; - * @param index The index of the element to return. - * @return The args at the given index. - */ - public java.lang.String getArgs(int index) { - return args_.get(index); + if (flags_ != 0) { + output.writeUInt32(2, flags_); + } + if (mode_ != 0) { + output.writeUInt32(3, mode_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (retval_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeSInt64Size(1, retval_); } - /** - * repeated string args = 16; - * @param index The index of the value to return. - * @return The bytes of the args at the given index. - */ - public com.google.protobuf.ByteString - getArgsBytes(int index) { - return args_.getByteString(index); + if (flags_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(2, flags_); } - /** - * repeated string args = 16; - * @param index The index to set the value at. - * @param value The args to set. - * @return This builder for chaining. - */ - public Builder setArgs( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } - ensureArgsIsMutable(); - args_.set(index, value); - onChanged(); - return this; + if (mode_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(3, mode_); } - /** - * repeated string args = 16; - * @param value The args to add. - * @return This builder for chaining. - */ - public Builder addArgs( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } - ensureArgsIsMutable(); - args_.add(value); - onChanged(); - return this; + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; } - /** - * repeated string args = 16; - * @param values The args to add. - * @return This builder for chaining. - */ - public Builder addAllArgs( - java.lang.Iterable values) { - ensureArgsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, args_); - onChanged(); - return this; + if (!(obj instanceof com.dd.cws.adv1.pb.SecDumpProto.OpenNode)) { + return super.equals(obj); } - /** - * repeated string args = 16; - * @return This builder for chaining. - */ - public Builder clearArgs() { - args_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00008000); - onChanged(); - return this; + com.dd.cws.adv1.pb.SecDumpProto.OpenNode other = (com.dd.cws.adv1.pb.SecDumpProto.OpenNode) obj; + + if (getRetval() + != other.getRetval()) return false; + if (getFlags() + != other.getFlags()) return false; + if (getMode() + != other.getMode()) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; } - /** - * repeated string args = 16; - * @param value The bytes of the args to add. - * @return This builder for chaining. - */ - public Builder addArgsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } - checkByteStringIsUtf8(value); - ensureArgsIsMutable(); - args_.add(value); - onChanged(); - return this; + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + RETVAL_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getRetval()); + hash = (37 * hash) + FLAGS_FIELD_NUMBER; + hash = (53 * hash) + getFlags(); + hash = (37 * hash) + MODE_FIELD_NUMBER; + hash = (53 * hash) + getMode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.dd.cws.adv1.pb.SecDumpProto.OpenNode parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.dd.cws.adv1.pb.SecDumpProto.OpenNode parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.dd.cws.adv1.pb.SecDumpProto.OpenNode parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.dd.cws.adv1.pb.SecDumpProto.OpenNode parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.dd.cws.adv1.pb.SecDumpProto.OpenNode parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.dd.cws.adv1.pb.SecDumpProto.OpenNode parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.dd.cws.adv1.pb.SecDumpProto.OpenNode parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.dd.cws.adv1.pb.SecDumpProto.OpenNode parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.dd.cws.adv1.pb.SecDumpProto.OpenNode parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.dd.cws.adv1.pb.SecDumpProto.OpenNode parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.dd.cws.adv1.pb.SecDumpProto.OpenNode parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.dd.cws.adv1.pb.SecDumpProto.OpenNode parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.dd.cws.adv1.pb.SecDumpProto.OpenNode prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code datadog.cws.dumpsv1.OpenNode} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:datadog.cws.dumpsv1.OpenNode) + com.dd.cws.adv1.pb.SecDumpProto.OpenNodeOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_OpenNode_descriptor; } - private java.lang.Object argv0_ = ""; - /** - * string argv0 = 17; - * @return The argv0. - */ - public java.lang.String getArgv0() { - java.lang.Object ref = argv0_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - argv0_ = s; - return s; - } else { - return (java.lang.String) ref; - } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_OpenNode_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.dd.cws.adv1.pb.SecDumpProto.OpenNode.class, com.dd.cws.adv1.pb.SecDumpProto.OpenNode.Builder.class); } - /** - * string argv0 = 17; - * @return The bytes for argv0. - */ - public com.google.protobuf.ByteString - getArgv0Bytes() { - java.lang.Object ref = argv0_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - argv0_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } + + // Construct using com.dd.cws.adv1.pb.SecDumpProto.OpenNode.newBuilder() + private Builder() { + } - /** - * string argv0 = 17; - * @param value The argv0 to set. - * @return This builder for chaining. - */ - public Builder setArgv0( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } - argv0_ = value; - bitField0_ |= 0x00010000; - onChanged(); - return this; + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } - /** - * string argv0 = 17; - * @return This builder for chaining. - */ - public Builder clearArgv0() { - argv0_ = getDefaultInstance().getArgv0(); - bitField0_ = (bitField0_ & ~0x00010000); - onChanged(); + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + retval_ = 0L; + flags_ = 0; + mode_ = 0; return this; } - /** - * string argv0 = 17; - * @param value The bytes for argv0 to set. - * @return This builder for chaining. - */ - public Builder setArgv0Bytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } - checkByteStringIsUtf8(value); - argv0_ = value; - bitField0_ |= 0x00010000; - onChanged(); - return this; + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_OpenNode_descriptor; } - private boolean argsTruncated_ ; - /** - * bool args_truncated = 18; - * @return The argsTruncated. - */ @java.lang.Override - public boolean getArgsTruncated() { - return argsTruncated_; + public com.dd.cws.adv1.pb.SecDumpProto.OpenNode getDefaultInstanceForType() { + return com.dd.cws.adv1.pb.SecDumpProto.OpenNode.getDefaultInstance(); } - /** - * bool args_truncated = 18; - * @param value The argsTruncated to set. - * @return This builder for chaining. - */ - public Builder setArgsTruncated(boolean value) { - - argsTruncated_ = value; - bitField0_ |= 0x00020000; - onChanged(); - return this; + + @java.lang.Override + public com.dd.cws.adv1.pb.SecDumpProto.OpenNode build() { + com.dd.cws.adv1.pb.SecDumpProto.OpenNode result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; } - /** - * bool args_truncated = 18; - * @return This builder for chaining. - */ - public Builder clearArgsTruncated() { - bitField0_ = (bitField0_ & ~0x00020000); - argsTruncated_ = false; - onChanged(); - return this; + + @java.lang.Override + public com.dd.cws.adv1.pb.SecDumpProto.OpenNode buildPartial() { + com.dd.cws.adv1.pb.SecDumpProto.OpenNode result = new com.dd.cws.adv1.pb.SecDumpProto.OpenNode(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; } - private com.google.protobuf.LazyStringList envs_ = com.google.protobuf.LazyStringArrayList.EMPTY; - private void ensureEnvsIsMutable() { - if (!((bitField0_ & 0x00040000) != 0)) { - envs_ = new com.google.protobuf.LazyStringArrayList(envs_); - bitField0_ |= 0x00040000; - } + private void buildPartial0(com.dd.cws.adv1.pb.SecDumpProto.OpenNode result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.retval_ = retval_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.flags_ = flags_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.mode_ = mode_; + } } - /** - * repeated string envs = 19; - * @return A list containing the envs. - */ - public com.google.protobuf.ProtocolStringList - getEnvsList() { - return envs_.getUnmodifiableView(); + + @java.lang.Override + public Builder clone() { + return super.clone(); } - /** - * repeated string envs = 19; - * @return The count of envs. - */ - public int getEnvsCount() { - return envs_.size(); + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); } - /** - * repeated string envs = 19; - * @param index The index of the element to return. - * @return The envs at the given index. - */ - public java.lang.String getEnvs(int index) { - return envs_.get(index); + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); } - /** - * repeated string envs = 19; - * @param index The index of the value to return. - * @return The bytes of the envs at the given index. - */ - public com.google.protobuf.ByteString - getEnvsBytes(int index) { - return envs_.getByteString(index); + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); } - /** - * repeated string envs = 19; - * @param index The index to set the value at. - * @param value The envs to set. - * @return This builder for chaining. - */ - public Builder setEnvs( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } - ensureEnvsIsMutable(); - envs_.set(index, value); - onChanged(); - return this; + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); } - /** - * repeated string envs = 19; - * @param value The envs to add. - * @return This builder for chaining. - */ - public Builder addEnvs( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } - ensureEnvsIsMutable(); - envs_.add(value); - onChanged(); - return this; + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); } - /** - * repeated string envs = 19; - * @param values The envs to add. - * @return This builder for chaining. - */ - public Builder addAllEnvs( - java.lang.Iterable values) { - ensureEnvsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, envs_); - onChanged(); - return this; + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.dd.cws.adv1.pb.SecDumpProto.OpenNode) { + return mergeFrom((com.dd.cws.adv1.pb.SecDumpProto.OpenNode)other); + } else { + super.mergeFrom(other); + return this; + } } - /** - * repeated string envs = 19; - * @return This builder for chaining. - */ - public Builder clearEnvs() { - envs_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00040000); + + public Builder mergeFrom(com.dd.cws.adv1.pb.SecDumpProto.OpenNode other) { + if (other == com.dd.cws.adv1.pb.SecDumpProto.OpenNode.getDefaultInstance()) return this; + if (other.getRetval() != 0L) { + setRetval(other.getRetval()); + } + if (other.getFlags() != 0) { + setFlags(other.getFlags()); + } + if (other.getMode() != 0) { + setMode(other.getMode()); + } + this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } - /** - * repeated string envs = 19; - * @param value The bytes of the envs to add. - * @return This builder for chaining. - */ - public Builder addEnvsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } - checkByteStringIsUtf8(value); - ensureEnvsIsMutable(); - envs_.add(value); - onChanged(); + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + retval_ = input.readSInt64(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: { + flags_ = input.readUInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 24: { + mode_ = input.readUInt32(); + bitField0_ |= 0x00000004; + break; + } // case 24 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally return this; } + private int bitField0_; - private boolean envsTruncated_ ; + private long retval_ ; /** - * bool envs_truncated = 20; - * @return The envsTruncated. + * sint64 retval = 1; + * @return The retval. */ @java.lang.Override - public boolean getEnvsTruncated() { - return envsTruncated_; + public long getRetval() { + return retval_; } /** - * bool envs_truncated = 20; - * @param value The envsTruncated to set. + * sint64 retval = 1; + * @param value The retval to set. * @return This builder for chaining. */ - public Builder setEnvsTruncated(boolean value) { + public Builder setRetval(long value) { - envsTruncated_ = value; - bitField0_ |= 0x00080000; + retval_ = value; + bitField0_ |= 0x00000001; onChanged(); return this; } /** - * bool envs_truncated = 20; + * sint64 retval = 1; * @return This builder for chaining. */ - public Builder clearEnvsTruncated() { - bitField0_ = (bitField0_ & ~0x00080000); - envsTruncated_ = false; + public Builder clearRetval() { + bitField0_ = (bitField0_ & ~0x00000001); + retval_ = 0L; onChanged(); return this; } - private boolean isExecChild_ ; + private int flags_ ; /** - * bool is_exec_child = 21; - * @return The isExecChild. + * uint32 flags = 2; + * @return The flags. */ @java.lang.Override - public boolean getIsExecChild() { - return isExecChild_; + public int getFlags() { + return flags_; } /** - * bool is_exec_child = 21; - * @param value The isExecChild to set. + * uint32 flags = 2; + * @param value The flags to set. * @return This builder for chaining. */ - public Builder setIsExecChild(boolean value) { + public Builder setFlags(int value) { - isExecChild_ = value; - bitField0_ |= 0x00100000; + flags_ = value; + bitField0_ |= 0x00000002; onChanged(); return this; } /** - * bool is_exec_child = 21; + * uint32 flags = 2; * @return This builder for chaining. */ - public Builder clearIsExecChild() { - bitField0_ = (bitField0_ & ~0x00100000); - isExecChild_ = false; + public Builder clearFlags() { + bitField0_ = (bitField0_ & ~0x00000002); + flags_ = 0; onChanged(); return this; } - private long cookie64_ ; + private int mode_ ; /** - * uint64 cookie64 = 22; - * @return The cookie64. + * uint32 mode = 3; + * @return The mode. */ @java.lang.Override - public long getCookie64() { - return cookie64_; + public int getMode() { + return mode_; } /** - * uint64 cookie64 = 22; - * @param value The cookie64 to set. + * uint32 mode = 3; + * @param value The mode to set. * @return This builder for chaining. */ - public Builder setCookie64(long value) { + public Builder setMode(int value) { - cookie64_ = value; - bitField0_ |= 0x00200000; + mode_ = value; + bitField0_ |= 0x00000004; onChanged(); return this; } /** - * uint64 cookie64 = 22; + * uint32 mode = 3; * @return This builder for chaining. */ - public Builder clearCookie64() { - bitField0_ = (bitField0_ & ~0x00200000); - cookie64_ = 0L; + public Builder clearMode() { + bitField0_ = (bitField0_ & ~0x00000004); + mode_ = 0; onChanged(); return this; } @@ -14560,23 +18114,23 @@ public final Builder mergeUnknownFields( } - // @@protoc_insertion_point(builder_scope:datadog.cws.dumpsv1.ProcessInfo) + // @@protoc_insertion_point(builder_scope:datadog.cws.dumpsv1.OpenNode) } - // @@protoc_insertion_point(class_scope:datadog.cws.dumpsv1.ProcessInfo) - private static final com.dd.cws.adv1.pb.SecDumpProto.ProcessInfo DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:datadog.cws.dumpsv1.OpenNode) + private static final com.dd.cws.adv1.pb.SecDumpProto.OpenNode DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new com.dd.cws.adv1.pb.SecDumpProto.ProcessInfo(); + DEFAULT_INSTANCE = new com.dd.cws.adv1.pb.SecDumpProto.OpenNode(); } - public static com.dd.cws.adv1.pb.SecDumpProto.ProcessInfo getDefaultInstance() { + public static com.dd.cws.adv1.pb.SecDumpProto.OpenNode getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override - public ProcessInfo parsePartialFrom( + public OpenNode parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -14595,69 +18149,69 @@ public ProcessInfo parsePartialFrom( } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public com.dd.cws.adv1.pb.SecDumpProto.ProcessInfo getDefaultInstanceForType() { + public com.dd.cws.adv1.pb.SecDumpProto.OpenNode getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } - public interface FileActivityNodeOrBuilder extends - // @@protoc_insertion_point(interface_extends:datadog.cws.dumpsv1.FileActivityNode) + public interface DNSNodeOrBuilder extends + // @@protoc_insertion_point(interface_extends:datadog.cws.dumpsv1.DNSNode) com.google.protobuf.MessageOrBuilder { /** - * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 9; + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 2; */ java.util.List getMatchedRulesList(); /** - * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 9; + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 2; */ com.dd.cws.adv1.pb.SecDumpProto.MatchedRule getMatchedRules(int index); /** - * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 9; + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 2; */ int getMatchedRulesCount(); /** - * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 9; + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 2; */ java.util.List getMatchedRulesOrBuilderList(); /** - * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 9; + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 2; */ com.dd.cws.adv1.pb.SecDumpProto.MatchedRuleOrBuilder getMatchedRulesOrBuilder( int index); /** - * repeated string image_tags = 10; + * repeated string image_tags = 3; * @return A list containing the imageTags. */ java.util.List getImageTagsList(); /** - * repeated string image_tags = 10; + * repeated string image_tags = 3; * @return The count of imageTags. */ int getImageTagsCount(); /** - * repeated string image_tags = 10; + * repeated string image_tags = 3; * @param index The index of the element to return. * @return The imageTags at the given index. */ java.lang.String getImageTags(int index); /** - * repeated string image_tags = 10; + * repeated string image_tags = 3; * @param index The index of the value to return. * @return The bytes of the imageTags at the given index. */ @@ -14665,119 +18219,52 @@ com.dd.cws.adv1.pb.SecDumpProto.MatchedRuleOrBuilder getMatchedRulesOrBuilder( getImageTagsBytes(int index); /** - * string name = 1; - * @return The name. - */ - java.lang.String getName(); - /** - * string name = 1; - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); - - /** - * bool is_pattern = 7; - * @return The isPattern. - */ - boolean getIsPattern(); - - /** - * .datadog.cws.dumpsv1.FileInfo file = 2; - * @return Whether the file field is set. - */ - boolean hasFile(); - /** - * .datadog.cws.dumpsv1.FileInfo file = 2; - * @return The file. - */ - com.dd.cws.adv1.pb.SecDumpProto.FileInfo getFile(); - /** - * .datadog.cws.dumpsv1.FileInfo file = 2; - */ - com.dd.cws.adv1.pb.SecDumpProto.FileInfoOrBuilder getFileOrBuilder(); - - /** - * .datadog.cws.dumpsv1.GenerationType generation_type = 8; - * @return The enum numeric value on the wire for generationType. - */ - int getGenerationTypeValue(); - /** - * .datadog.cws.dumpsv1.GenerationType generation_type = 8; - * @return The generationType. - */ - com.dd.cws.adv1.pb.SecDumpProto.GenerationType getGenerationType(); - - /** - * uint64 first_seen = 4; - * @return The firstSeen. - */ - long getFirstSeen(); - - /** - * .datadog.cws.dumpsv1.OpenNode open = 5; - * @return Whether the open field is set. - */ - boolean hasOpen(); - /** - * .datadog.cws.dumpsv1.OpenNode open = 5; - * @return The open. - */ - com.dd.cws.adv1.pb.SecDumpProto.OpenNode getOpen(); - /** - * .datadog.cws.dumpsv1.OpenNode open = 5; - */ - com.dd.cws.adv1.pb.SecDumpProto.OpenNodeOrBuilder getOpenOrBuilder(); - - /** - * repeated .datadog.cws.dumpsv1.FileActivityNode children = 6; + * repeated .datadog.cws.dumpsv1.DNSInfo requests = 1; */ - java.util.List - getChildrenList(); + java.util.List + getRequestsList(); /** - * repeated .datadog.cws.dumpsv1.FileActivityNode children = 6; + * repeated .datadog.cws.dumpsv1.DNSInfo requests = 1; */ - com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode getChildren(int index); + com.dd.cws.adv1.pb.SecDumpProto.DNSInfo getRequests(int index); /** - * repeated .datadog.cws.dumpsv1.FileActivityNode children = 6; + * repeated .datadog.cws.dumpsv1.DNSInfo requests = 1; */ - int getChildrenCount(); + int getRequestsCount(); /** - * repeated .datadog.cws.dumpsv1.FileActivityNode children = 6; + * repeated .datadog.cws.dumpsv1.DNSInfo requests = 1; */ - java.util.List - getChildrenOrBuilderList(); + java.util.List + getRequestsOrBuilderList(); /** - * repeated .datadog.cws.dumpsv1.FileActivityNode children = 6; + * repeated .datadog.cws.dumpsv1.DNSInfo requests = 1; */ - com.dd.cws.adv1.pb.SecDumpProto.FileActivityNodeOrBuilder getChildrenOrBuilder( + com.dd.cws.adv1.pb.SecDumpProto.DNSInfoOrBuilder getRequestsOrBuilder( int index); } /** - * Protobuf type {@code datadog.cws.dumpsv1.FileActivityNode} + * Protobuf type {@code datadog.cws.dumpsv1.DNSNode} */ - public static final class FileActivityNode extends + public static final class DNSNode extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:datadog.cws.dumpsv1.FileActivityNode) - FileActivityNodeOrBuilder { + // @@protoc_insertion_point(message_implements:datadog.cws.dumpsv1.DNSNode) + DNSNodeOrBuilder { private static final long serialVersionUID = 0L; - // Use FileActivityNode.newBuilder() to construct. - private FileActivityNode(com.google.protobuf.GeneratedMessageV3.Builder builder) { + // Use DNSNode.newBuilder() to construct. + private DNSNode(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private FileActivityNode() { + private DNSNode() { matchedRules_ = java.util.Collections.emptyList(); imageTags_ = com.google.protobuf.LazyStringArrayList.EMPTY; - name_ = ""; - generationType_ = 0; - children_ = java.util.Collections.emptyList(); + requests_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { - return new FileActivityNode(); + return new DNSNode(); } @java.lang.Override @@ -14787,29 +18274,29 @@ protected java.lang.Object newInstance( } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_FileActivityNode_descriptor; + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_DNSNode_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_FileActivityNode_fieldAccessorTable + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_DNSNode_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode.class, com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode.Builder.class); + com.dd.cws.adv1.pb.SecDumpProto.DNSNode.class, com.dd.cws.adv1.pb.SecDumpProto.DNSNode.Builder.class); } - public static final int MATCHED_RULES_FIELD_NUMBER = 9; + public static final int MATCHED_RULES_FIELD_NUMBER = 2; @SuppressWarnings("serial") private java.util.List matchedRules_; /** - * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 9; + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 2; */ @java.lang.Override public java.util.List getMatchedRulesList() { return matchedRules_; } /** - * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 9; + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 2; */ @java.lang.Override public java.util.List @@ -14817,1225 +18304,1811 @@ public java.util.List getMatchedRul return matchedRules_; } /** - * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 9; + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 2; */ @java.lang.Override public int getMatchedRulesCount() { return matchedRules_.size(); } - /** - * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 9; - */ - @java.lang.Override - public com.dd.cws.adv1.pb.SecDumpProto.MatchedRule getMatchedRules(int index) { - return matchedRules_.get(index); + /** + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 2; + */ + @java.lang.Override + public com.dd.cws.adv1.pb.SecDumpProto.MatchedRule getMatchedRules(int index) { + return matchedRules_.get(index); + } + /** + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 2; + */ + @java.lang.Override + public com.dd.cws.adv1.pb.SecDumpProto.MatchedRuleOrBuilder getMatchedRulesOrBuilder( + int index) { + return matchedRules_.get(index); + } + + public static final int IMAGE_TAGS_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringList imageTags_; + /** + * repeated string image_tags = 3; + * @return A list containing the imageTags. + */ + public com.google.protobuf.ProtocolStringList + getImageTagsList() { + return imageTags_; + } + /** + * repeated string image_tags = 3; + * @return The count of imageTags. + */ + public int getImageTagsCount() { + return imageTags_.size(); + } + /** + * repeated string image_tags = 3; + * @param index The index of the element to return. + * @return The imageTags at the given index. + */ + public java.lang.String getImageTags(int index) { + return imageTags_.get(index); + } + /** + * repeated string image_tags = 3; + * @param index The index of the value to return. + * @return The bytes of the imageTags at the given index. + */ + public com.google.protobuf.ByteString + getImageTagsBytes(int index) { + return imageTags_.getByteString(index); + } + + public static final int REQUESTS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private java.util.List requests_; + /** + * repeated .datadog.cws.dumpsv1.DNSInfo requests = 1; + */ + @java.lang.Override + public java.util.List getRequestsList() { + return requests_; + } + /** + * repeated .datadog.cws.dumpsv1.DNSInfo requests = 1; + */ + @java.lang.Override + public java.util.List + getRequestsOrBuilderList() { + return requests_; + } + /** + * repeated .datadog.cws.dumpsv1.DNSInfo requests = 1; + */ + @java.lang.Override + public int getRequestsCount() { + return requests_.size(); + } + /** + * repeated .datadog.cws.dumpsv1.DNSInfo requests = 1; + */ + @java.lang.Override + public com.dd.cws.adv1.pb.SecDumpProto.DNSInfo getRequests(int index) { + return requests_.get(index); + } + /** + * repeated .datadog.cws.dumpsv1.DNSInfo requests = 1; + */ + @java.lang.Override + public com.dd.cws.adv1.pb.SecDumpProto.DNSInfoOrBuilder getRequestsOrBuilder( + int index) { + return requests_.get(index); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + for (int i = 0; i < requests_.size(); i++) { + output.writeMessage(1, requests_.get(i)); + } + for (int i = 0; i < matchedRules_.size(); i++) { + output.writeMessage(2, matchedRules_.get(i)); + } + for (int i = 0; i < imageTags_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, imageTags_.getRaw(i)); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (int i = 0; i < requests_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, requests_.get(i)); + } + for (int i = 0; i < matchedRules_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, matchedRules_.get(i)); + } + { + int dataSize = 0; + for (int i = 0; i < imageTags_.size(); i++) { + dataSize += computeStringSizeNoTag(imageTags_.getRaw(i)); + } + size += dataSize; + size += 1 * getImageTagsList().size(); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.dd.cws.adv1.pb.SecDumpProto.DNSNode)) { + return super.equals(obj); + } + com.dd.cws.adv1.pb.SecDumpProto.DNSNode other = (com.dd.cws.adv1.pb.SecDumpProto.DNSNode) obj; + + if (!getMatchedRulesList() + .equals(other.getMatchedRulesList())) return false; + if (!getImageTagsList() + .equals(other.getImageTagsList())) return false; + if (!getRequestsList() + .equals(other.getRequestsList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getMatchedRulesCount() > 0) { + hash = (37 * hash) + MATCHED_RULES_FIELD_NUMBER; + hash = (53 * hash) + getMatchedRulesList().hashCode(); + } + if (getImageTagsCount() > 0) { + hash = (37 * hash) + IMAGE_TAGS_FIELD_NUMBER; + hash = (53 * hash) + getImageTagsList().hashCode(); + } + if (getRequestsCount() > 0) { + hash = (37 * hash) + REQUESTS_FIELD_NUMBER; + hash = (53 * hash) + getRequestsList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.dd.cws.adv1.pb.SecDumpProto.DNSNode parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.dd.cws.adv1.pb.SecDumpProto.DNSNode parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.dd.cws.adv1.pb.SecDumpProto.DNSNode parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.dd.cws.adv1.pb.SecDumpProto.DNSNode parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.dd.cws.adv1.pb.SecDumpProto.DNSNode parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.dd.cws.adv1.pb.SecDumpProto.DNSNode parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.dd.cws.adv1.pb.SecDumpProto.DNSNode parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - /** - * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 9; - */ - @java.lang.Override - public com.dd.cws.adv1.pb.SecDumpProto.MatchedRuleOrBuilder getMatchedRulesOrBuilder( - int index) { - return matchedRules_.get(index); + public static com.dd.cws.adv1.pb.SecDumpProto.DNSNode parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static final int IMAGE_TAGS_FIELD_NUMBER = 10; - @SuppressWarnings("serial") - private com.google.protobuf.LazyStringList imageTags_; - /** - * repeated string image_tags = 10; - * @return A list containing the imageTags. - */ - public com.google.protobuf.ProtocolStringList - getImageTagsList() { - return imageTags_; + public static com.dd.cws.adv1.pb.SecDumpProto.DNSNode parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - /** - * repeated string image_tags = 10; - * @return The count of imageTags. - */ - public int getImageTagsCount() { - return imageTags_.size(); + public static com.dd.cws.adv1.pb.SecDumpProto.DNSNode parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - /** - * repeated string image_tags = 10; - * @param index The index of the element to return. - * @return The imageTags at the given index. - */ - public java.lang.String getImageTags(int index) { - return imageTags_.get(index); + public static com.dd.cws.adv1.pb.SecDumpProto.DNSNode parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - /** - * repeated string image_tags = 10; - * @param index The index of the value to return. - * @return The bytes of the imageTags at the given index. - */ - public com.google.protobuf.ByteString - getImageTagsBytes(int index) { - return imageTags_.getByteString(index); + public static com.dd.cws.adv1.pb.SecDumpProto.DNSNode parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private volatile java.lang.Object name_ = ""; - /** - * string name = 1; - * @return The name. - */ @java.lang.Override - public java.lang.String getName() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); } - /** - * string name = 1; - * @return The bytes for name. - */ - @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } + public static Builder newBuilder(com.dd.cws.adv1.pb.SecDumpProto.DNSNode prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - - public static final int IS_PATTERN_FIELD_NUMBER = 7; - private boolean isPattern_ = false; - /** - * bool is_pattern = 7; - * @return The isPattern. - */ @java.lang.Override - public boolean getIsPattern() { - return isPattern_; + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public static final int FILE_FIELD_NUMBER = 2; - private com.dd.cws.adv1.pb.SecDumpProto.FileInfo file_; - /** - * .datadog.cws.dumpsv1.FileInfo file = 2; - * @return Whether the file field is set. - */ - @java.lang.Override - public boolean hasFile() { - return file_ != null; - } - /** - * .datadog.cws.dumpsv1.FileInfo file = 2; - * @return The file. - */ @java.lang.Override - public com.dd.cws.adv1.pb.SecDumpProto.FileInfo getFile() { - return file_ == null ? com.dd.cws.adv1.pb.SecDumpProto.FileInfo.getDefaultInstance() : file_; + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; } /** - * .datadog.cws.dumpsv1.FileInfo file = 2; + * Protobuf type {@code datadog.cws.dumpsv1.DNSNode} */ - @java.lang.Override - public com.dd.cws.adv1.pb.SecDumpProto.FileInfoOrBuilder getFileOrBuilder() { - return file_ == null ? com.dd.cws.adv1.pb.SecDumpProto.FileInfo.getDefaultInstance() : file_; - } + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:datadog.cws.dumpsv1.DNSNode) + com.dd.cws.adv1.pb.SecDumpProto.DNSNodeOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_DNSNode_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_DNSNode_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.dd.cws.adv1.pb.SecDumpProto.DNSNode.class, com.dd.cws.adv1.pb.SecDumpProto.DNSNode.Builder.class); + } + + // Construct using com.dd.cws.adv1.pb.SecDumpProto.DNSNode.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + if (matchedRulesBuilder_ == null) { + matchedRules_ = java.util.Collections.emptyList(); + } else { + matchedRules_ = null; + matchedRulesBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + imageTags_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000002); + if (requestsBuilder_ == null) { + requests_ = java.util.Collections.emptyList(); + } else { + requests_ = null; + requestsBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000004); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_DNSNode_descriptor; + } + + @java.lang.Override + public com.dd.cws.adv1.pb.SecDumpProto.DNSNode getDefaultInstanceForType() { + return com.dd.cws.adv1.pb.SecDumpProto.DNSNode.getDefaultInstance(); + } + + @java.lang.Override + public com.dd.cws.adv1.pb.SecDumpProto.DNSNode build() { + com.dd.cws.adv1.pb.SecDumpProto.DNSNode result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.dd.cws.adv1.pb.SecDumpProto.DNSNode buildPartial() { + com.dd.cws.adv1.pb.SecDumpProto.DNSNode result = new com.dd.cws.adv1.pb.SecDumpProto.DNSNode(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(com.dd.cws.adv1.pb.SecDumpProto.DNSNode result) { + if (matchedRulesBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + matchedRules_ = java.util.Collections.unmodifiableList(matchedRules_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.matchedRules_ = matchedRules_; + } else { + result.matchedRules_ = matchedRulesBuilder_.build(); + } + if (((bitField0_ & 0x00000002) != 0)) { + imageTags_ = imageTags_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000002); + } + result.imageTags_ = imageTags_; + if (requestsBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0)) { + requests_ = java.util.Collections.unmodifiableList(requests_); + bitField0_ = (bitField0_ & ~0x00000004); + } + result.requests_ = requests_; + } else { + result.requests_ = requestsBuilder_.build(); + } + } - public static final int GENERATION_TYPE_FIELD_NUMBER = 8; - private int generationType_ = 0; - /** - * .datadog.cws.dumpsv1.GenerationType generation_type = 8; - * @return The enum numeric value on the wire for generationType. - */ - @java.lang.Override public int getGenerationTypeValue() { - return generationType_; - } - /** - * .datadog.cws.dumpsv1.GenerationType generation_type = 8; - * @return The generationType. - */ - @java.lang.Override public com.dd.cws.adv1.pb.SecDumpProto.GenerationType getGenerationType() { - com.dd.cws.adv1.pb.SecDumpProto.GenerationType result = com.dd.cws.adv1.pb.SecDumpProto.GenerationType.forNumber(generationType_); - return result == null ? com.dd.cws.adv1.pb.SecDumpProto.GenerationType.UNRECOGNIZED : result; - } + private void buildPartial0(com.dd.cws.adv1.pb.SecDumpProto.DNSNode result) { + int from_bitField0_ = bitField0_; + } - public static final int FIRST_SEEN_FIELD_NUMBER = 4; - private long firstSeen_ = 0L; - /** - * uint64 first_seen = 4; - * @return The firstSeen. - */ - @java.lang.Override - public long getFirstSeen() { - return firstSeen_; - } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.dd.cws.adv1.pb.SecDumpProto.DNSNode) { + return mergeFrom((com.dd.cws.adv1.pb.SecDumpProto.DNSNode)other); + } else { + super.mergeFrom(other); + return this; + } + } - public static final int OPEN_FIELD_NUMBER = 5; - private com.dd.cws.adv1.pb.SecDumpProto.OpenNode open_; - /** - * .datadog.cws.dumpsv1.OpenNode open = 5; - * @return Whether the open field is set. - */ - @java.lang.Override - public boolean hasOpen() { - return open_ != null; - } - /** - * .datadog.cws.dumpsv1.OpenNode open = 5; - * @return The open. - */ - @java.lang.Override - public com.dd.cws.adv1.pb.SecDumpProto.OpenNode getOpen() { - return open_ == null ? com.dd.cws.adv1.pb.SecDumpProto.OpenNode.getDefaultInstance() : open_; - } - /** - * .datadog.cws.dumpsv1.OpenNode open = 5; - */ - @java.lang.Override - public com.dd.cws.adv1.pb.SecDumpProto.OpenNodeOrBuilder getOpenOrBuilder() { - return open_ == null ? com.dd.cws.adv1.pb.SecDumpProto.OpenNode.getDefaultInstance() : open_; - } + public Builder mergeFrom(com.dd.cws.adv1.pb.SecDumpProto.DNSNode other) { + if (other == com.dd.cws.adv1.pb.SecDumpProto.DNSNode.getDefaultInstance()) return this; + if (matchedRulesBuilder_ == null) { + if (!other.matchedRules_.isEmpty()) { + if (matchedRules_.isEmpty()) { + matchedRules_ = other.matchedRules_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureMatchedRulesIsMutable(); + matchedRules_.addAll(other.matchedRules_); + } + onChanged(); + } + } else { + if (!other.matchedRules_.isEmpty()) { + if (matchedRulesBuilder_.isEmpty()) { + matchedRulesBuilder_.dispose(); + matchedRulesBuilder_ = null; + matchedRules_ = other.matchedRules_; + bitField0_ = (bitField0_ & ~0x00000001); + matchedRulesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getMatchedRulesFieldBuilder() : null; + } else { + matchedRulesBuilder_.addAllMessages(other.matchedRules_); + } + } + } + if (!other.imageTags_.isEmpty()) { + if (imageTags_.isEmpty()) { + imageTags_ = other.imageTags_; + bitField0_ = (bitField0_ & ~0x00000002); + } else { + ensureImageTagsIsMutable(); + imageTags_.addAll(other.imageTags_); + } + onChanged(); + } + if (requestsBuilder_ == null) { + if (!other.requests_.isEmpty()) { + if (requests_.isEmpty()) { + requests_ = other.requests_; + bitField0_ = (bitField0_ & ~0x00000004); + } else { + ensureRequestsIsMutable(); + requests_.addAll(other.requests_); + } + onChanged(); + } + } else { + if (!other.requests_.isEmpty()) { + if (requestsBuilder_.isEmpty()) { + requestsBuilder_.dispose(); + requestsBuilder_ = null; + requests_ = other.requests_; + bitField0_ = (bitField0_ & ~0x00000004); + requestsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getRequestsFieldBuilder() : null; + } else { + requestsBuilder_.addAllMessages(other.requests_); + } + } + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } - public static final int CHILDREN_FIELD_NUMBER = 6; - @SuppressWarnings("serial") - private java.util.List children_; - /** - * repeated .datadog.cws.dumpsv1.FileActivityNode children = 6; - */ - @java.lang.Override - public java.util.List getChildrenList() { - return children_; - } - /** - * repeated .datadog.cws.dumpsv1.FileActivityNode children = 6; - */ - @java.lang.Override - public java.util.List - getChildrenOrBuilderList() { - return children_; - } - /** - * repeated .datadog.cws.dumpsv1.FileActivityNode children = 6; - */ - @java.lang.Override - public int getChildrenCount() { - return children_.size(); - } - /** - * repeated .datadog.cws.dumpsv1.FileActivityNode children = 6; - */ - @java.lang.Override - public com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode getChildren(int index) { - return children_.get(index); - } - /** - * repeated .datadog.cws.dumpsv1.FileActivityNode children = 6; - */ - @java.lang.Override - public com.dd.cws.adv1.pb.SecDumpProto.FileActivityNodeOrBuilder getChildrenOrBuilder( - int index) { - return children_.get(index); - } + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + com.dd.cws.adv1.pb.SecDumpProto.DNSInfo m = + input.readMessage( + com.dd.cws.adv1.pb.SecDumpProto.DNSInfo.parser(), + extensionRegistry); + if (requestsBuilder_ == null) { + ensureRequestsIsMutable(); + requests_.add(m); + } else { + requestsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + com.dd.cws.adv1.pb.SecDumpProto.MatchedRule m = + input.readMessage( + com.dd.cws.adv1.pb.SecDumpProto.MatchedRule.parser(), + extensionRegistry); + if (matchedRulesBuilder_ == null) { + ensureMatchedRulesIsMutable(); + matchedRules_.add(m); + } else { + matchedRulesBuilder_.addMessage(m); + } + break; + } // case 18 + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + ensureImageTagsIsMutable(); + imageTags_.add(s); + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + private java.util.List matchedRules_ = + java.util.Collections.emptyList(); + private void ensureMatchedRulesIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + matchedRules_ = new java.util.ArrayList(matchedRules_); + bitField0_ |= 0x00000001; + } + } - memoizedIsInitialized = 1; - return true; - } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.dd.cws.adv1.pb.SecDumpProto.MatchedRule, com.dd.cws.adv1.pb.SecDumpProto.MatchedRule.Builder, com.dd.cws.adv1.pb.SecDumpProto.MatchedRuleOrBuilder> matchedRulesBuilder_; - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); - } - if (file_ != null) { - output.writeMessage(2, getFile()); - } - if (firstSeen_ != 0L) { - output.writeUInt64(4, firstSeen_); - } - if (open_ != null) { - output.writeMessage(5, getOpen()); + /** + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 2; + */ + public java.util.List getMatchedRulesList() { + if (matchedRulesBuilder_ == null) { + return java.util.Collections.unmodifiableList(matchedRules_); + } else { + return matchedRulesBuilder_.getMessageList(); + } } - for (int i = 0; i < children_.size(); i++) { - output.writeMessage(6, children_.get(i)); + /** + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 2; + */ + public int getMatchedRulesCount() { + if (matchedRulesBuilder_ == null) { + return matchedRules_.size(); + } else { + return matchedRulesBuilder_.getCount(); + } } - if (isPattern_ != false) { - output.writeBool(7, isPattern_); + /** + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 2; + */ + public com.dd.cws.adv1.pb.SecDumpProto.MatchedRule getMatchedRules(int index) { + if (matchedRulesBuilder_ == null) { + return matchedRules_.get(index); + } else { + return matchedRulesBuilder_.getMessage(index); + } } - if (generationType_ != com.dd.cws.adv1.pb.SecDumpProto.GenerationType.UNKNOWN.getNumber()) { - output.writeEnum(8, generationType_); + /** + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 2; + */ + public Builder setMatchedRules( + int index, com.dd.cws.adv1.pb.SecDumpProto.MatchedRule value) { + if (matchedRulesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureMatchedRulesIsMutable(); + matchedRules_.set(index, value); + onChanged(); + } else { + matchedRulesBuilder_.setMessage(index, value); + } + return this; } - for (int i = 0; i < matchedRules_.size(); i++) { - output.writeMessage(9, matchedRules_.get(i)); + /** + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 2; + */ + public Builder setMatchedRules( + int index, com.dd.cws.adv1.pb.SecDumpProto.MatchedRule.Builder builderForValue) { + if (matchedRulesBuilder_ == null) { + ensureMatchedRulesIsMutable(); + matchedRules_.set(index, builderForValue.build()); + onChanged(); + } else { + matchedRulesBuilder_.setMessage(index, builderForValue.build()); + } + return this; } - for (int i = 0; i < imageTags_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 10, imageTags_.getRaw(i)); + /** + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 2; + */ + public Builder addMatchedRules(com.dd.cws.adv1.pb.SecDumpProto.MatchedRule value) { + if (matchedRulesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureMatchedRulesIsMutable(); + matchedRules_.add(value); + onChanged(); + } else { + matchedRulesBuilder_.addMessage(value); + } + return this; } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + /** + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 2; + */ + public Builder addMatchedRules( + int index, com.dd.cws.adv1.pb.SecDumpProto.MatchedRule value) { + if (matchedRulesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureMatchedRulesIsMutable(); + matchedRules_.add(index, value); + onChanged(); + } else { + matchedRulesBuilder_.addMessage(index, value); + } + return this; } - if (file_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getFile()); + /** + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 2; + */ + public Builder addMatchedRules( + com.dd.cws.adv1.pb.SecDumpProto.MatchedRule.Builder builderForValue) { + if (matchedRulesBuilder_ == null) { + ensureMatchedRulesIsMutable(); + matchedRules_.add(builderForValue.build()); + onChanged(); + } else { + matchedRulesBuilder_.addMessage(builderForValue.build()); + } + return this; } - if (firstSeen_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeUInt64Size(4, firstSeen_); + /** + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 2; + */ + public Builder addMatchedRules( + int index, com.dd.cws.adv1.pb.SecDumpProto.MatchedRule.Builder builderForValue) { + if (matchedRulesBuilder_ == null) { + ensureMatchedRulesIsMutable(); + matchedRules_.add(index, builderForValue.build()); + onChanged(); + } else { + matchedRulesBuilder_.addMessage(index, builderForValue.build()); + } + return this; } - if (open_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getOpen()); + /** + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 2; + */ + public Builder addAllMatchedRules( + java.lang.Iterable values) { + if (matchedRulesBuilder_ == null) { + ensureMatchedRulesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, matchedRules_); + onChanged(); + } else { + matchedRulesBuilder_.addAllMessages(values); + } + return this; } - for (int i = 0; i < children_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, children_.get(i)); + /** + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 2; + */ + public Builder clearMatchedRules() { + if (matchedRulesBuilder_ == null) { + matchedRules_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + matchedRulesBuilder_.clear(); + } + return this; } - if (isPattern_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(7, isPattern_); + /** + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 2; + */ + public Builder removeMatchedRules(int index) { + if (matchedRulesBuilder_ == null) { + ensureMatchedRulesIsMutable(); + matchedRules_.remove(index); + onChanged(); + } else { + matchedRulesBuilder_.remove(index); + } + return this; } - if (generationType_ != com.dd.cws.adv1.pb.SecDumpProto.GenerationType.UNKNOWN.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(8, generationType_); + /** + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 2; + */ + public com.dd.cws.adv1.pb.SecDumpProto.MatchedRule.Builder getMatchedRulesBuilder( + int index) { + return getMatchedRulesFieldBuilder().getBuilder(index); } - for (int i = 0; i < matchedRules_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, matchedRules_.get(i)); + /** + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 2; + */ + public com.dd.cws.adv1.pb.SecDumpProto.MatchedRuleOrBuilder getMatchedRulesOrBuilder( + int index) { + if (matchedRulesBuilder_ == null) { + return matchedRules_.get(index); } else { + return matchedRulesBuilder_.getMessageOrBuilder(index); + } } - { - int dataSize = 0; - for (int i = 0; i < imageTags_.size(); i++) { - dataSize += computeStringSizeNoTag(imageTags_.getRaw(i)); + /** + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 2; + */ + public java.util.List + getMatchedRulesOrBuilderList() { + if (matchedRulesBuilder_ != null) { + return matchedRulesBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(matchedRules_); } - size += dataSize; - size += 1 * getImageTagsList().size(); } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; + /** + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 2; + */ + public com.dd.cws.adv1.pb.SecDumpProto.MatchedRule.Builder addMatchedRulesBuilder() { + return getMatchedRulesFieldBuilder().addBuilder( + com.dd.cws.adv1.pb.SecDumpProto.MatchedRule.getDefaultInstance()); } - if (!(obj instanceof com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode)) { - return super.equals(obj); + /** + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 2; + */ + public com.dd.cws.adv1.pb.SecDumpProto.MatchedRule.Builder addMatchedRulesBuilder( + int index) { + return getMatchedRulesFieldBuilder().addBuilder( + index, com.dd.cws.adv1.pb.SecDumpProto.MatchedRule.getDefaultInstance()); } - com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode other = (com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode) obj; - - if (!getMatchedRulesList() - .equals(other.getMatchedRulesList())) return false; - if (!getImageTagsList() - .equals(other.getImageTagsList())) return false; - if (!getName() - .equals(other.getName())) return false; - if (getIsPattern() - != other.getIsPattern()) return false; - if (hasFile() != other.hasFile()) return false; - if (hasFile()) { - if (!getFile() - .equals(other.getFile())) return false; + /** + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 2; + */ + public java.util.List + getMatchedRulesBuilderList() { + return getMatchedRulesFieldBuilder().getBuilderList(); } - if (generationType_ != other.generationType_) return false; - if (getFirstSeen() - != other.getFirstSeen()) return false; - if (hasOpen() != other.hasOpen()) return false; - if (hasOpen()) { - if (!getOpen() - .equals(other.getOpen())) return false; + private com.google.protobuf.RepeatedFieldBuilderV3< + com.dd.cws.adv1.pb.SecDumpProto.MatchedRule, com.dd.cws.adv1.pb.SecDumpProto.MatchedRule.Builder, com.dd.cws.adv1.pb.SecDumpProto.MatchedRuleOrBuilder> + getMatchedRulesFieldBuilder() { + if (matchedRulesBuilder_ == null) { + matchedRulesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.dd.cws.adv1.pb.SecDumpProto.MatchedRule, com.dd.cws.adv1.pb.SecDumpProto.MatchedRule.Builder, com.dd.cws.adv1.pb.SecDumpProto.MatchedRuleOrBuilder>( + matchedRules_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + matchedRules_ = null; + } + return matchedRulesBuilder_; } - if (!getChildrenList() - .equals(other.getChildrenList())) return false; - if (!getUnknownFields().equals(other.getUnknownFields())) return false; - return true; - } - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (getMatchedRulesCount() > 0) { - hash = (37 * hash) + MATCHED_RULES_FIELD_NUMBER; - hash = (53 * hash) + getMatchedRulesList().hashCode(); - } - if (getImageTagsCount() > 0) { - hash = (37 * hash) + IMAGE_TAGS_FIELD_NUMBER; - hash = (53 * hash) + getImageTagsList().hashCode(); - } - hash = (37 * hash) + NAME_FIELD_NUMBER; - hash = (53 * hash) + getName().hashCode(); - hash = (37 * hash) + IS_PATTERN_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getIsPattern()); - if (hasFile()) { - hash = (37 * hash) + FILE_FIELD_NUMBER; - hash = (53 * hash) + getFile().hashCode(); + private com.google.protobuf.LazyStringList imageTags_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureImageTagsIsMutable() { + if (!((bitField0_ & 0x00000002) != 0)) { + imageTags_ = new com.google.protobuf.LazyStringArrayList(imageTags_); + bitField0_ |= 0x00000002; + } } - hash = (37 * hash) + GENERATION_TYPE_FIELD_NUMBER; - hash = (53 * hash) + generationType_; - hash = (37 * hash) + FIRST_SEEN_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getFirstSeen()); - if (hasOpen()) { - hash = (37 * hash) + OPEN_FIELD_NUMBER; - hash = (53 * hash) + getOpen().hashCode(); + /** + * repeated string image_tags = 3; + * @return A list containing the imageTags. + */ + public com.google.protobuf.ProtocolStringList + getImageTagsList() { + return imageTags_.getUnmodifiableView(); } - if (getChildrenCount() > 0) { - hash = (37 * hash) + CHILDREN_FIELD_NUMBER; - hash = (53 * hash) + getChildrenList().hashCode(); + /** + * repeated string image_tags = 3; + * @return The count of imageTags. + */ + public int getImageTagsCount() { + return imageTags_.size(); } - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * Protobuf type {@code datadog.cws.dumpsv1.FileActivityNode} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:datadog.cws.dumpsv1.FileActivityNode) - com.dd.cws.adv1.pb.SecDumpProto.FileActivityNodeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_FileActivityNode_descriptor; + /** + * repeated string image_tags = 3; + * @param index The index of the element to return. + * @return The imageTags at the given index. + */ + public java.lang.String getImageTags(int index) { + return imageTags_.get(index); } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_FileActivityNode_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode.class, com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode.Builder.class); + /** + * repeated string image_tags = 3; + * @param index The index of the value to return. + * @return The bytes of the imageTags at the given index. + */ + public com.google.protobuf.ByteString + getImageTagsBytes(int index) { + return imageTags_.getByteString(index); } - - // Construct using com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode.newBuilder() - private Builder() { - + /** + * repeated string image_tags = 3; + * @param index The index to set the value at. + * @param value The imageTags to set. + * @return This builder for chaining. + */ + public Builder setImageTags( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureImageTagsIsMutable(); + imageTags_.set(index, value); + onChanged(); + return this; } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - + /** + * repeated string image_tags = 3; + * @param value The imageTags to add. + * @return This builder for chaining. + */ + public Builder addImageTags( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureImageTagsIsMutable(); + imageTags_.add(value); + onChanged(); + return this; } - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - if (matchedRulesBuilder_ == null) { - matchedRules_ = java.util.Collections.emptyList(); - } else { - matchedRules_ = null; - matchedRulesBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000001); + /** + * repeated string image_tags = 3; + * @param values The imageTags to add. + * @return This builder for chaining. + */ + public Builder addAllImageTags( + java.lang.Iterable values) { + ensureImageTagsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, imageTags_); + onChanged(); + return this; + } + /** + * repeated string image_tags = 3; + * @return This builder for chaining. + */ + public Builder clearImageTags() { imageTags_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000002); - name_ = ""; - isPattern_ = false; - file_ = null; - if (fileBuilder_ != null) { - fileBuilder_.dispose(); - fileBuilder_ = null; - } - generationType_ = 0; - firstSeen_ = 0L; - open_ = null; - if (openBuilder_ != null) { - openBuilder_.dispose(); - openBuilder_ = null; - } - if (childrenBuilder_ == null) { - children_ = java.util.Collections.emptyList(); - } else { - children_ = null; - childrenBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000100); + onChanged(); return this; } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_FileActivityNode_descriptor; - } - - @java.lang.Override - public com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode getDefaultInstanceForType() { - return com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode.getDefaultInstance(); + /** + * repeated string image_tags = 3; + * @param value The bytes of the imageTags to add. + * @return This builder for chaining. + */ + public Builder addImageTagsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ensureImageTagsIsMutable(); + imageTags_.add(value); + onChanged(); + return this; } - @java.lang.Override - public com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode build() { - com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; + private java.util.List requests_ = + java.util.Collections.emptyList(); + private void ensureRequestsIsMutable() { + if (!((bitField0_ & 0x00000004) != 0)) { + requests_ = new java.util.ArrayList(requests_); + bitField0_ |= 0x00000004; + } } - @java.lang.Override - public com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode buildPartial() { - com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode result = new com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode(this); - buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } - onBuilt(); - return result; - } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.dd.cws.adv1.pb.SecDumpProto.DNSInfo, com.dd.cws.adv1.pb.SecDumpProto.DNSInfo.Builder, com.dd.cws.adv1.pb.SecDumpProto.DNSInfoOrBuilder> requestsBuilder_; - private void buildPartialRepeatedFields(com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode result) { - if (matchedRulesBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0)) { - matchedRules_ = java.util.Collections.unmodifiableList(matchedRules_); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.matchedRules_ = matchedRules_; + /** + * repeated .datadog.cws.dumpsv1.DNSInfo requests = 1; + */ + public java.util.List getRequestsList() { + if (requestsBuilder_ == null) { + return java.util.Collections.unmodifiableList(requests_); } else { - result.matchedRules_ = matchedRulesBuilder_.build(); - } - if (((bitField0_ & 0x00000002) != 0)) { - imageTags_ = imageTags_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000002); + return requestsBuilder_.getMessageList(); } - result.imageTags_ = imageTags_; - if (childrenBuilder_ == null) { - if (((bitField0_ & 0x00000100) != 0)) { - children_ = java.util.Collections.unmodifiableList(children_); - bitField0_ = (bitField0_ & ~0x00000100); - } - result.children_ = children_; + } + /** + * repeated .datadog.cws.dumpsv1.DNSInfo requests = 1; + */ + public int getRequestsCount() { + if (requestsBuilder_ == null) { + return requests_.size(); } else { - result.children_ = childrenBuilder_.build(); + return requestsBuilder_.getCount(); } } - - private void buildPartial0(com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000004) != 0)) { - result.name_ = name_; - } - if (((from_bitField0_ & 0x00000008) != 0)) { - result.isPattern_ = isPattern_; - } - if (((from_bitField0_ & 0x00000010) != 0)) { - result.file_ = fileBuilder_ == null - ? file_ - : fileBuilder_.build(); - } - if (((from_bitField0_ & 0x00000020) != 0)) { - result.generationType_ = generationType_; - } - if (((from_bitField0_ & 0x00000040) != 0)) { - result.firstSeen_ = firstSeen_; - } - if (((from_bitField0_ & 0x00000080) != 0)) { - result.open_ = openBuilder_ == null - ? open_ - : openBuilder_.build(); + /** + * repeated .datadog.cws.dumpsv1.DNSInfo requests = 1; + */ + public com.dd.cws.adv1.pb.SecDumpProto.DNSInfo getRequests(int index) { + if (requestsBuilder_ == null) { + return requests_.get(index); + } else { + return requestsBuilder_.getMessage(index); } } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); + /** + * repeated .datadog.cws.dumpsv1.DNSInfo requests = 1; + */ + public Builder setRequests( + int index, com.dd.cws.adv1.pb.SecDumpProto.DNSInfo value) { + if (requestsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureRequestsIsMutable(); + requests_.set(index, value); + onChanged(); + } else { + requestsBuilder_.setMessage(index, value); + } + return this; } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode) { - return mergeFrom((com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode)other); + /** + * repeated .datadog.cws.dumpsv1.DNSInfo requests = 1; + */ + public Builder setRequests( + int index, com.dd.cws.adv1.pb.SecDumpProto.DNSInfo.Builder builderForValue) { + if (requestsBuilder_ == null) { + ensureRequestsIsMutable(); + requests_.set(index, builderForValue.build()); + onChanged(); } else { - super.mergeFrom(other); - return this; + requestsBuilder_.setMessage(index, builderForValue.build()); } + return this; } - - public Builder mergeFrom(com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode other) { - if (other == com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode.getDefaultInstance()) return this; - if (matchedRulesBuilder_ == null) { - if (!other.matchedRules_.isEmpty()) { - if (matchedRules_.isEmpty()) { - matchedRules_ = other.matchedRules_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureMatchedRulesIsMutable(); - matchedRules_.addAll(other.matchedRules_); - } - onChanged(); + /** + * repeated .datadog.cws.dumpsv1.DNSInfo requests = 1; + */ + public Builder addRequests(com.dd.cws.adv1.pb.SecDumpProto.DNSInfo value) { + if (requestsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); } + ensureRequestsIsMutable(); + requests_.add(value); + onChanged(); } else { - if (!other.matchedRules_.isEmpty()) { - if (matchedRulesBuilder_.isEmpty()) { - matchedRulesBuilder_.dispose(); - matchedRulesBuilder_ = null; - matchedRules_ = other.matchedRules_; - bitField0_ = (bitField0_ & ~0x00000001); - matchedRulesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getMatchedRulesFieldBuilder() : null; - } else { - matchedRulesBuilder_.addAllMessages(other.matchedRules_); - } - } + requestsBuilder_.addMessage(value); } - if (!other.imageTags_.isEmpty()) { - if (imageTags_.isEmpty()) { - imageTags_ = other.imageTags_; - bitField0_ = (bitField0_ & ~0x00000002); - } else { - ensureImageTagsIsMutable(); - imageTags_.addAll(other.imageTags_); + return this; + } + /** + * repeated .datadog.cws.dumpsv1.DNSInfo requests = 1; + */ + public Builder addRequests( + int index, com.dd.cws.adv1.pb.SecDumpProto.DNSInfo value) { + if (requestsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); } + ensureRequestsIsMutable(); + requests_.add(index, value); onChanged(); + } else { + requestsBuilder_.addMessage(index, value); } - if (!other.getName().isEmpty()) { - name_ = other.name_; - bitField0_ |= 0x00000004; + return this; + } + /** + * repeated .datadog.cws.dumpsv1.DNSInfo requests = 1; + */ + public Builder addRequests( + com.dd.cws.adv1.pb.SecDumpProto.DNSInfo.Builder builderForValue) { + if (requestsBuilder_ == null) { + ensureRequestsIsMutable(); + requests_.add(builderForValue.build()); onChanged(); + } else { + requestsBuilder_.addMessage(builderForValue.build()); } - if (other.getIsPattern() != false) { - setIsPattern(other.getIsPattern()); + return this; + } + /** + * repeated .datadog.cws.dumpsv1.DNSInfo requests = 1; + */ + public Builder addRequests( + int index, com.dd.cws.adv1.pb.SecDumpProto.DNSInfo.Builder builderForValue) { + if (requestsBuilder_ == null) { + ensureRequestsIsMutable(); + requests_.add(index, builderForValue.build()); + onChanged(); + } else { + requestsBuilder_.addMessage(index, builderForValue.build()); } - if (other.hasFile()) { - mergeFile(other.getFile()); + return this; + } + /** + * repeated .datadog.cws.dumpsv1.DNSInfo requests = 1; + */ + public Builder addAllRequests( + java.lang.Iterable values) { + if (requestsBuilder_ == null) { + ensureRequestsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, requests_); + onChanged(); + } else { + requestsBuilder_.addAllMessages(values); } - if (other.generationType_ != 0) { - setGenerationTypeValue(other.getGenerationTypeValue()); + return this; + } + /** + * repeated .datadog.cws.dumpsv1.DNSInfo requests = 1; + */ + public Builder clearRequests() { + if (requestsBuilder_ == null) { + requests_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + } else { + requestsBuilder_.clear(); } - if (other.getFirstSeen() != 0L) { - setFirstSeen(other.getFirstSeen()); + return this; + } + /** + * repeated .datadog.cws.dumpsv1.DNSInfo requests = 1; + */ + public Builder removeRequests(int index) { + if (requestsBuilder_ == null) { + ensureRequestsIsMutable(); + requests_.remove(index); + onChanged(); + } else { + requestsBuilder_.remove(index); } - if (other.hasOpen()) { - mergeOpen(other.getOpen()); + return this; + } + /** + * repeated .datadog.cws.dumpsv1.DNSInfo requests = 1; + */ + public com.dd.cws.adv1.pb.SecDumpProto.DNSInfo.Builder getRequestsBuilder( + int index) { + return getRequestsFieldBuilder().getBuilder(index); + } + /** + * repeated .datadog.cws.dumpsv1.DNSInfo requests = 1; + */ + public com.dd.cws.adv1.pb.SecDumpProto.DNSInfoOrBuilder getRequestsOrBuilder( + int index) { + if (requestsBuilder_ == null) { + return requests_.get(index); } else { + return requestsBuilder_.getMessageOrBuilder(index); } - if (childrenBuilder_ == null) { - if (!other.children_.isEmpty()) { - if (children_.isEmpty()) { - children_ = other.children_; - bitField0_ = (bitField0_ & ~0x00000100); - } else { - ensureChildrenIsMutable(); - children_.addAll(other.children_); - } - onChanged(); - } + } + /** + * repeated .datadog.cws.dumpsv1.DNSInfo requests = 1; + */ + public java.util.List + getRequestsOrBuilderList() { + if (requestsBuilder_ != null) { + return requestsBuilder_.getMessageOrBuilderList(); } else { - if (!other.children_.isEmpty()) { - if (childrenBuilder_.isEmpty()) { - childrenBuilder_.dispose(); - childrenBuilder_ = null; - children_ = other.children_; - bitField0_ = (bitField0_ & ~0x00000100); - childrenBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getChildrenFieldBuilder() : null; - } else { - childrenBuilder_.addAllMessages(other.children_); - } - } + return java.util.Collections.unmodifiableList(requests_); } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; + } + /** + * repeated .datadog.cws.dumpsv1.DNSInfo requests = 1; + */ + public com.dd.cws.adv1.pb.SecDumpProto.DNSInfo.Builder addRequestsBuilder() { + return getRequestsFieldBuilder().addBuilder( + com.dd.cws.adv1.pb.SecDumpProto.DNSInfo.getDefaultInstance()); + } + /** + * repeated .datadog.cws.dumpsv1.DNSInfo requests = 1; + */ + public com.dd.cws.adv1.pb.SecDumpProto.DNSInfo.Builder addRequestsBuilder( + int index) { + return getRequestsFieldBuilder().addBuilder( + index, com.dd.cws.adv1.pb.SecDumpProto.DNSInfo.getDefaultInstance()); + } + /** + * repeated .datadog.cws.dumpsv1.DNSInfo requests = 1; + */ + public java.util.List + getRequestsBuilderList() { + return getRequestsFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.dd.cws.adv1.pb.SecDumpProto.DNSInfo, com.dd.cws.adv1.pb.SecDumpProto.DNSInfo.Builder, com.dd.cws.adv1.pb.SecDumpProto.DNSInfoOrBuilder> + getRequestsFieldBuilder() { + if (requestsBuilder_ == null) { + requestsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.dd.cws.adv1.pb.SecDumpProto.DNSInfo, com.dd.cws.adv1.pb.SecDumpProto.DNSInfo.Builder, com.dd.cws.adv1.pb.SecDumpProto.DNSInfoOrBuilder>( + requests_, + ((bitField0_ & 0x00000004) != 0), + getParentForChildren(), + isClean()); + requests_ = null; + } + return requestsBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); } - @java.lang.Override - public final boolean isInitialized() { - return true; - } + // @@protoc_insertion_point(builder_scope:datadog.cws.dumpsv1.DNSNode) + } + + // @@protoc_insertion_point(class_scope:datadog.cws.dumpsv1.DNSNode) + private static final com.dd.cws.adv1.pb.SecDumpProto.DNSNode DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.dd.cws.adv1.pb.SecDumpProto.DNSNode(); + } + + public static com.dd.cws.adv1.pb.SecDumpProto.DNSNode getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override - public Builder mergeFrom( + public DNSNode parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 10 - case 18: { - input.readMessage( - getFileFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000010; - break; - } // case 18 - case 32: { - firstSeen_ = input.readUInt64(); - bitField0_ |= 0x00000040; - break; - } // case 32 - case 42: { - input.readMessage( - getOpenFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000080; - break; - } // case 42 - case 50: { - com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode m = - input.readMessage( - com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode.parser(), - extensionRegistry); - if (childrenBuilder_ == null) { - ensureChildrenIsMutable(); - children_.add(m); - } else { - childrenBuilder_.addMessage(m); - } - break; - } // case 50 - case 56: { - isPattern_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 56 - case 64: { - generationType_ = input.readEnum(); - bitField0_ |= 0x00000020; - break; - } // case 64 - case 74: { - com.dd.cws.adv1.pb.SecDumpProto.MatchedRule m = - input.readMessage( - com.dd.cws.adv1.pb.SecDumpProto.MatchedRule.parser(), - extensionRegistry); - if (matchedRulesBuilder_ == null) { - ensureMatchedRulesIsMutable(); - matchedRules_.add(m); - } else { - matchedRulesBuilder_.addMessage(m); - } - break; - } // case 74 - case 82: { - java.lang.String s = input.readStringRequireUtf8(); - ensureImageTagsIsMutable(); - imageTags_.add(s); - break; - } // case 82 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) + builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.dd.cws.adv1.pb.SecDumpProto.DNSNode getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface DNSInfoOrBuilder extends + // @@protoc_insertion_point(interface_extends:datadog.cws.dumpsv1.DNSInfo) + com.google.protobuf.MessageOrBuilder { + + /** + * string name = 1; + * @return The name. + */ + java.lang.String getName(); + /** + * string name = 1; + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); + + /** + * uint32 type = 2; + * @return The type. + */ + int getType(); + + /** + * uint32 class = 3; + * @return The class. + */ + int getClass_(); + + /** + * uint32 size = 4; + * @return The size. + */ + int getSize(); + + /** + * uint32 count = 5; + * @return The count. + */ + int getCount(); + } + /** + * Protobuf type {@code datadog.cws.dumpsv1.DNSInfo} + */ + public static final class DNSInfo extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:datadog.cws.dumpsv1.DNSInfo) + DNSInfoOrBuilder { + private static final long serialVersionUID = 0L; + // Use DNSInfo.newBuilder() to construct. + private DNSInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private DNSInfo() { + name_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new DNSInfo(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_DNSInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_DNSInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.dd.cws.adv1.pb.SecDumpProto.DNSInfo.class, com.dd.cws.adv1.pb.SecDumpProto.DNSInfo.Builder.class); + } + + public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object name_ = ""; + /** + * string name = 1; + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } + } + /** + * string name = 1; + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; } - private int bitField0_; + } - private java.util.List matchedRules_ = - java.util.Collections.emptyList(); - private void ensureMatchedRulesIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - matchedRules_ = new java.util.ArrayList(matchedRules_); - bitField0_ |= 0x00000001; - } + public static final int TYPE_FIELD_NUMBER = 2; + private int type_ = 0; + /** + * uint32 type = 2; + * @return The type. + */ + @java.lang.Override + public int getType() { + return type_; + } + + public static final int CLASS_FIELD_NUMBER = 3; + private int class__ = 0; + /** + * uint32 class = 3; + * @return The class. + */ + @java.lang.Override + public int getClass_() { + return class__; + } + + public static final int SIZE_FIELD_NUMBER = 4; + private int size_ = 0; + /** + * uint32 size = 4; + * @return The size. + */ + @java.lang.Override + public int getSize() { + return size_; + } + + public static final int COUNT_FIELD_NUMBER = 5; + private int count_ = 0; + /** + * uint32 count = 5; + * @return The count. + */ + @java.lang.Override + public int getCount() { + return count_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + } + if (type_ != 0) { + output.writeUInt32(2, type_); + } + if (class__ != 0) { + output.writeUInt32(3, class__); + } + if (size_ != 0) { + output.writeUInt32(4, size_); + } + if (count_ != 0) { + output.writeUInt32(5, count_); } + getUnknownFields().writeTo(output); + } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.dd.cws.adv1.pb.SecDumpProto.MatchedRule, com.dd.cws.adv1.pb.SecDumpProto.MatchedRule.Builder, com.dd.cws.adv1.pb.SecDumpProto.MatchedRuleOrBuilder> matchedRulesBuilder_; + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; - /** - * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 9; - */ - public java.util.List getMatchedRulesList() { - if (matchedRulesBuilder_ == null) { - return java.util.Collections.unmodifiableList(matchedRules_); - } else { - return matchedRulesBuilder_.getMessageList(); - } + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - /** - * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 9; - */ - public int getMatchedRulesCount() { - if (matchedRulesBuilder_ == null) { - return matchedRules_.size(); - } else { - return matchedRulesBuilder_.getCount(); - } + if (type_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(2, type_); } - /** - * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 9; - */ - public com.dd.cws.adv1.pb.SecDumpProto.MatchedRule getMatchedRules(int index) { - if (matchedRulesBuilder_ == null) { - return matchedRules_.get(index); - } else { - return matchedRulesBuilder_.getMessage(index); - } + if (class__ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(3, class__); } - /** - * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 9; - */ - public Builder setMatchedRules( - int index, com.dd.cws.adv1.pb.SecDumpProto.MatchedRule value) { - if (matchedRulesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureMatchedRulesIsMutable(); - matchedRules_.set(index, value); - onChanged(); - } else { - matchedRulesBuilder_.setMessage(index, value); - } - return this; + if (size_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(4, size_); } - /** - * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 9; - */ - public Builder setMatchedRules( - int index, com.dd.cws.adv1.pb.SecDumpProto.MatchedRule.Builder builderForValue) { - if (matchedRulesBuilder_ == null) { - ensureMatchedRulesIsMutable(); - matchedRules_.set(index, builderForValue.build()); - onChanged(); - } else { - matchedRulesBuilder_.setMessage(index, builderForValue.build()); - } - return this; + if (count_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(5, count_); } - /** - * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 9; - */ - public Builder addMatchedRules(com.dd.cws.adv1.pb.SecDumpProto.MatchedRule value) { - if (matchedRulesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureMatchedRulesIsMutable(); - matchedRules_.add(value); - onChanged(); - } else { - matchedRulesBuilder_.addMessage(value); - } - return this; + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; } - /** - * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 9; - */ - public Builder addMatchedRules( - int index, com.dd.cws.adv1.pb.SecDumpProto.MatchedRule value) { - if (matchedRulesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureMatchedRulesIsMutable(); - matchedRules_.add(index, value); - onChanged(); - } else { - matchedRulesBuilder_.addMessage(index, value); - } - return this; + if (!(obj instanceof com.dd.cws.adv1.pb.SecDumpProto.DNSInfo)) { + return super.equals(obj); } - /** - * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 9; - */ - public Builder addMatchedRules( - com.dd.cws.adv1.pb.SecDumpProto.MatchedRule.Builder builderForValue) { - if (matchedRulesBuilder_ == null) { - ensureMatchedRulesIsMutable(); - matchedRules_.add(builderForValue.build()); - onChanged(); - } else { - matchedRulesBuilder_.addMessage(builderForValue.build()); - } - return this; + com.dd.cws.adv1.pb.SecDumpProto.DNSInfo other = (com.dd.cws.adv1.pb.SecDumpProto.DNSInfo) obj; + + if (!getName() + .equals(other.getName())) return false; + if (getType() + != other.getType()) return false; + if (getClass_() + != other.getClass_()) return false; + if (getSize() + != other.getSize()) return false; + if (getCount() + != other.getCount()) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + hash = (37 * hash) + TYPE_FIELD_NUMBER; + hash = (53 * hash) + getType(); + hash = (37 * hash) + CLASS_FIELD_NUMBER; + hash = (53 * hash) + getClass_(); + hash = (37 * hash) + SIZE_FIELD_NUMBER; + hash = (53 * hash) + getSize(); + hash = (37 * hash) + COUNT_FIELD_NUMBER; + hash = (53 * hash) + getCount(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.dd.cws.adv1.pb.SecDumpProto.DNSInfo parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.dd.cws.adv1.pb.SecDumpProto.DNSInfo parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.dd.cws.adv1.pb.SecDumpProto.DNSInfo parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.dd.cws.adv1.pb.SecDumpProto.DNSInfo parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.dd.cws.adv1.pb.SecDumpProto.DNSInfo parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.dd.cws.adv1.pb.SecDumpProto.DNSInfo parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.dd.cws.adv1.pb.SecDumpProto.DNSInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.dd.cws.adv1.pb.SecDumpProto.DNSInfo parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.dd.cws.adv1.pb.SecDumpProto.DNSInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.dd.cws.adv1.pb.SecDumpProto.DNSInfo parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.dd.cws.adv1.pb.SecDumpProto.DNSInfo parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.dd.cws.adv1.pb.SecDumpProto.DNSInfo parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.dd.cws.adv1.pb.SecDumpProto.DNSInfo prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code datadog.cws.dumpsv1.DNSInfo} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:datadog.cws.dumpsv1.DNSInfo) + com.dd.cws.adv1.pb.SecDumpProto.DNSInfoOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_DNSInfo_descriptor; } - /** - * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 9; - */ - public Builder addMatchedRules( - int index, com.dd.cws.adv1.pb.SecDumpProto.MatchedRule.Builder builderForValue) { - if (matchedRulesBuilder_ == null) { - ensureMatchedRulesIsMutable(); - matchedRules_.add(index, builderForValue.build()); - onChanged(); - } else { - matchedRulesBuilder_.addMessage(index, builderForValue.build()); - } - return this; + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_DNSInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.dd.cws.adv1.pb.SecDumpProto.DNSInfo.class, com.dd.cws.adv1.pb.SecDumpProto.DNSInfo.Builder.class); } - /** - * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 9; - */ - public Builder addAllMatchedRules( - java.lang.Iterable values) { - if (matchedRulesBuilder_ == null) { - ensureMatchedRulesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, matchedRules_); - onChanged(); - } else { - matchedRulesBuilder_.addAllMessages(values); - } - return this; + + // Construct using com.dd.cws.adv1.pb.SecDumpProto.DNSInfo.newBuilder() + private Builder() { + } - /** - * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 9; - */ - public Builder clearMatchedRules() { - if (matchedRulesBuilder_ == null) { - matchedRules_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - } else { - matchedRulesBuilder_.clear(); - } - return this; + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } - /** - * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 9; - */ - public Builder removeMatchedRules(int index) { - if (matchedRulesBuilder_ == null) { - ensureMatchedRulesIsMutable(); - matchedRules_.remove(index); - onChanged(); - } else { - matchedRulesBuilder_.remove(index); - } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + name_ = ""; + type_ = 0; + class__ = 0; + size_ = 0; + count_ = 0; return this; } - /** - * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 9; - */ - public com.dd.cws.adv1.pb.SecDumpProto.MatchedRule.Builder getMatchedRulesBuilder( - int index) { - return getMatchedRulesFieldBuilder().getBuilder(index); + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_DNSInfo_descriptor; } - /** - * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 9; - */ - public com.dd.cws.adv1.pb.SecDumpProto.MatchedRuleOrBuilder getMatchedRulesOrBuilder( - int index) { - if (matchedRulesBuilder_ == null) { - return matchedRules_.get(index); } else { - return matchedRulesBuilder_.getMessageOrBuilder(index); - } + + @java.lang.Override + public com.dd.cws.adv1.pb.SecDumpProto.DNSInfo getDefaultInstanceForType() { + return com.dd.cws.adv1.pb.SecDumpProto.DNSInfo.getDefaultInstance(); } - /** - * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 9; - */ - public java.util.List - getMatchedRulesOrBuilderList() { - if (matchedRulesBuilder_ != null) { - return matchedRulesBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(matchedRules_); + + @java.lang.Override + public com.dd.cws.adv1.pb.SecDumpProto.DNSInfo build() { + com.dd.cws.adv1.pb.SecDumpProto.DNSInfo result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); } + return result; } - /** - * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 9; - */ - public com.dd.cws.adv1.pb.SecDumpProto.MatchedRule.Builder addMatchedRulesBuilder() { - return getMatchedRulesFieldBuilder().addBuilder( - com.dd.cws.adv1.pb.SecDumpProto.MatchedRule.getDefaultInstance()); - } - /** - * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 9; - */ - public com.dd.cws.adv1.pb.SecDumpProto.MatchedRule.Builder addMatchedRulesBuilder( - int index) { - return getMatchedRulesFieldBuilder().addBuilder( - index, com.dd.cws.adv1.pb.SecDumpProto.MatchedRule.getDefaultInstance()); - } - /** - * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 9; - */ - public java.util.List - getMatchedRulesBuilderList() { - return getMatchedRulesFieldBuilder().getBuilderList(); + + @java.lang.Override + public com.dd.cws.adv1.pb.SecDumpProto.DNSInfo buildPartial() { + com.dd.cws.adv1.pb.SecDumpProto.DNSInfo result = new com.dd.cws.adv1.pb.SecDumpProto.DNSInfo(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.dd.cws.adv1.pb.SecDumpProto.MatchedRule, com.dd.cws.adv1.pb.SecDumpProto.MatchedRule.Builder, com.dd.cws.adv1.pb.SecDumpProto.MatchedRuleOrBuilder> - getMatchedRulesFieldBuilder() { - if (matchedRulesBuilder_ == null) { - matchedRulesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.dd.cws.adv1.pb.SecDumpProto.MatchedRule, com.dd.cws.adv1.pb.SecDumpProto.MatchedRule.Builder, com.dd.cws.adv1.pb.SecDumpProto.MatchedRuleOrBuilder>( - matchedRules_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); - matchedRules_ = null; + + private void buildPartial0(com.dd.cws.adv1.pb.SecDumpProto.DNSInfo result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.name_ = name_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.type_ = type_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.class__ = class__; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.size_ = size_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.count_ = count_; } - return matchedRulesBuilder_; } - private com.google.protobuf.LazyStringList imageTags_ = com.google.protobuf.LazyStringArrayList.EMPTY; - private void ensureImageTagsIsMutable() { - if (!((bitField0_ & 0x00000002) != 0)) { - imageTags_ = new com.google.protobuf.LazyStringArrayList(imageTags_); - bitField0_ |= 0x00000002; - } + @java.lang.Override + public Builder clone() { + return super.clone(); } - /** - * repeated string image_tags = 10; - * @return A list containing the imageTags. - */ - public com.google.protobuf.ProtocolStringList - getImageTagsList() { - return imageTags_.getUnmodifiableView(); + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); } - /** - * repeated string image_tags = 10; - * @return The count of imageTags. - */ - public int getImageTagsCount() { - return imageTags_.size(); + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); } - /** - * repeated string image_tags = 10; - * @param index The index of the element to return. - * @return The imageTags at the given index. - */ - public java.lang.String getImageTags(int index) { - return imageTags_.get(index); + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); } - /** - * repeated string image_tags = 10; - * @param index The index of the value to return. - * @return The bytes of the imageTags at the given index. - */ - public com.google.protobuf.ByteString - getImageTagsBytes(int index) { - return imageTags_.getByteString(index); + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); } - /** - * repeated string image_tags = 10; - * @param index The index to set the value at. - * @param value The imageTags to set. - * @return This builder for chaining. - */ - public Builder setImageTags( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } - ensureImageTagsIsMutable(); - imageTags_.set(index, value); - onChanged(); - return this; + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); } - /** - * repeated string image_tags = 10; - * @param value The imageTags to add. - * @return This builder for chaining. - */ - public Builder addImageTags( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } - ensureImageTagsIsMutable(); - imageTags_.add(value); - onChanged(); - return this; + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.dd.cws.adv1.pb.SecDumpProto.DNSInfo) { + return mergeFrom((com.dd.cws.adv1.pb.SecDumpProto.DNSInfo)other); + } else { + super.mergeFrom(other); + return this; + } } - /** - * repeated string image_tags = 10; - * @param values The imageTags to add. - * @return This builder for chaining. - */ - public Builder addAllImageTags( - java.lang.Iterable values) { - ensureImageTagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, imageTags_); + + public Builder mergeFrom(com.dd.cws.adv1.pb.SecDumpProto.DNSInfo other) { + if (other == com.dd.cws.adv1.pb.SecDumpProto.DNSInfo.getDefaultInstance()) return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (other.getType() != 0) { + setType(other.getType()); + } + if (other.getClass_() != 0) { + setClass_(other.getClass_()); + } + if (other.getSize() != 0) { + setSize(other.getSize()); + } + if (other.getCount() != 0) { + setCount(other.getCount()); + } + this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } - /** - * repeated string image_tags = 10; - * @return This builder for chaining. - */ - public Builder clearImageTags() { - imageTags_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - return this; + + @java.lang.Override + public final boolean isInitialized() { + return true; } - /** - * repeated string image_tags = 10; - * @param value The bytes of the imageTags to add. - * @return This builder for chaining. - */ - public Builder addImageTagsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } - checkByteStringIsUtf8(value); - ensureImageTagsIsMutable(); - imageTags_.add(value); - onChanged(); + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + type_ = input.readUInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 24: { + class__ = input.readUInt32(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 32: { + size_ = input.readUInt32(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 40: { + count_ = input.readUInt32(); + bitField0_ |= 0x00000010; + break; + } // case 40 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** @@ -16080,628 +20153,850 @@ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } name_ = value; - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string name = 1; + * @return This builder for chaining. + */ + public Builder clearName() { + name_ = getDefaultInstance().getName(); + bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** * string name = 1; + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + name_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private int type_ ; + /** + * uint32 type = 2; + * @return The type. + */ + @java.lang.Override + public int getType() { + return type_; + } + /** + * uint32 type = 2; + * @param value The type to set. * @return This builder for chaining. */ - public Builder clearName() { - name_ = getDefaultInstance().getName(); - bitField0_ = (bitField0_ & ~0x00000004); + public Builder setType(int value) { + + type_ = value; + bitField0_ |= 0x00000002; onChanged(); return this; } /** - * string name = 1; - * @param value The bytes for name to set. + * uint32 type = 2; * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } - checkByteStringIsUtf8(value); - name_ = value; - bitField0_ |= 0x00000004; + public Builder clearType() { + bitField0_ = (bitField0_ & ~0x00000002); + type_ = 0; onChanged(); return this; } - private boolean isPattern_ ; + private int class__ ; /** - * bool is_pattern = 7; - * @return The isPattern. + * uint32 class = 3; + * @return The class. */ @java.lang.Override - public boolean getIsPattern() { - return isPattern_; + public int getClass_() { + return class__; } /** - * bool is_pattern = 7; - * @param value The isPattern to set. + * uint32 class = 3; + * @param value The class to set. * @return This builder for chaining. */ - public Builder setIsPattern(boolean value) { + public Builder setClass_(int value) { - isPattern_ = value; - bitField0_ |= 0x00000008; + class__ = value; + bitField0_ |= 0x00000004; onChanged(); return this; } /** - * bool is_pattern = 7; + * uint32 class = 3; * @return This builder for chaining. */ - public Builder clearIsPattern() { - bitField0_ = (bitField0_ & ~0x00000008); - isPattern_ = false; + public Builder clearClass_() { + bitField0_ = (bitField0_ & ~0x00000004); + class__ = 0; onChanged(); return this; } - private com.dd.cws.adv1.pb.SecDumpProto.FileInfo file_; - private com.google.protobuf.SingleFieldBuilderV3< - com.dd.cws.adv1.pb.SecDumpProto.FileInfo, com.dd.cws.adv1.pb.SecDumpProto.FileInfo.Builder, com.dd.cws.adv1.pb.SecDumpProto.FileInfoOrBuilder> fileBuilder_; + private int size_ ; /** - * .datadog.cws.dumpsv1.FileInfo file = 2; - * @return Whether the file field is set. + * uint32 size = 4; + * @return The size. */ - public boolean hasFile() { - return ((bitField0_ & 0x00000010) != 0); + @java.lang.Override + public int getSize() { + return size_; } /** - * .datadog.cws.dumpsv1.FileInfo file = 2; - * @return The file. + * uint32 size = 4; + * @param value The size to set. + * @return This builder for chaining. */ - public com.dd.cws.adv1.pb.SecDumpProto.FileInfo getFile() { - if (fileBuilder_ == null) { - return file_ == null ? com.dd.cws.adv1.pb.SecDumpProto.FileInfo.getDefaultInstance() : file_; - } else { - return fileBuilder_.getMessage(); - } + public Builder setSize(int value) { + + size_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; } /** - * .datadog.cws.dumpsv1.FileInfo file = 2; + * uint32 size = 4; + * @return This builder for chaining. */ - public Builder setFile(com.dd.cws.adv1.pb.SecDumpProto.FileInfo value) { - if (fileBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - file_ = value; - } else { - fileBuilder_.setMessage(value); - } - bitField0_ |= 0x00000010; + public Builder clearSize() { + bitField0_ = (bitField0_ & ~0x00000008); + size_ = 0; onChanged(); return this; } + + private int count_ ; /** - * .datadog.cws.dumpsv1.FileInfo file = 2; + * uint32 count = 5; + * @return The count. */ - public Builder setFile( - com.dd.cws.adv1.pb.SecDumpProto.FileInfo.Builder builderForValue) { - if (fileBuilder_ == null) { - file_ = builderForValue.build(); - } else { - fileBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00000010; - onChanged(); - return this; + @java.lang.Override + public int getCount() { + return count_; } /** - * .datadog.cws.dumpsv1.FileInfo file = 2; + * uint32 count = 5; + * @param value The count to set. + * @return This builder for chaining. */ - public Builder mergeFile(com.dd.cws.adv1.pb.SecDumpProto.FileInfo value) { - if (fileBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) && - file_ != null && - file_ != com.dd.cws.adv1.pb.SecDumpProto.FileInfo.getDefaultInstance()) { - getFileBuilder().mergeFrom(value); - } else { - file_ = value; - } - } else { - fileBuilder_.mergeFrom(value); - } + public Builder setCount(int value) { + + count_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * .datadog.cws.dumpsv1.FileInfo file = 2; + * uint32 count = 5; + * @return This builder for chaining. */ - public Builder clearFile() { + public Builder clearCount() { bitField0_ = (bitField0_ & ~0x00000010); - file_ = null; - if (fileBuilder_ != null) { - fileBuilder_.dispose(); - fileBuilder_ = null; - } + count_ = 0; onChanged(); return this; } - /** - * .datadog.cws.dumpsv1.FileInfo file = 2; - */ - public com.dd.cws.adv1.pb.SecDumpProto.FileInfo.Builder getFileBuilder() { - bitField0_ |= 0x00000010; - onChanged(); - return getFileFieldBuilder().getBuilder(); + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:datadog.cws.dumpsv1.DNSInfo) + } + + // @@protoc_insertion_point(class_scope:datadog.cws.dumpsv1.DNSInfo) + private static final com.dd.cws.adv1.pb.SecDumpProto.DNSInfo DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.dd.cws.adv1.pb.SecDumpProto.DNSInfo(); + } + + public static com.dd.cws.adv1.pb.SecDumpProto.DNSInfo getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DNSInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.dd.cws.adv1.pb.SecDumpProto.DNSInfo getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface SyscallNodeOrBuilder extends + // @@protoc_insertion_point(interface_extends:datadog.cws.dumpsv1.SyscallNode) + com.google.protobuf.MessageOrBuilder { + + /** + * repeated string image_tags = 1; + * @return A list containing the imageTags. + */ + java.util.List + getImageTagsList(); + /** + * repeated string image_tags = 1; + * @return The count of imageTags. + */ + int getImageTagsCount(); + /** + * repeated string image_tags = 1; + * @param index The index of the element to return. + * @return The imageTags at the given index. + */ + java.lang.String getImageTags(int index); + /** + * repeated string image_tags = 1; + * @param index The index of the value to return. + * @return The bytes of the imageTags at the given index. + */ + com.google.protobuf.ByteString + getImageTagsBytes(int index); + + /** + * int32 syscall = 2; + * @return The syscall. + */ + int getSyscall(); + } + /** + * Protobuf type {@code datadog.cws.dumpsv1.SyscallNode} + */ + public static final class SyscallNode extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:datadog.cws.dumpsv1.SyscallNode) + SyscallNodeOrBuilder { + private static final long serialVersionUID = 0L; + // Use SyscallNode.newBuilder() to construct. + private SyscallNode(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private SyscallNode() { + imageTags_ = com.google.protobuf.LazyStringArrayList.EMPTY; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new SyscallNode(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_SyscallNode_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_SyscallNode_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.dd.cws.adv1.pb.SecDumpProto.SyscallNode.class, com.dd.cws.adv1.pb.SecDumpProto.SyscallNode.Builder.class); + } + + public static final int IMAGE_TAGS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringList imageTags_; + /** + * repeated string image_tags = 1; + * @return A list containing the imageTags. + */ + public com.google.protobuf.ProtocolStringList + getImageTagsList() { + return imageTags_; + } + /** + * repeated string image_tags = 1; + * @return The count of imageTags. + */ + public int getImageTagsCount() { + return imageTags_.size(); + } + /** + * repeated string image_tags = 1; + * @param index The index of the element to return. + * @return The imageTags at the given index. + */ + public java.lang.String getImageTags(int index) { + return imageTags_.get(index); + } + /** + * repeated string image_tags = 1; + * @param index The index of the value to return. + * @return The bytes of the imageTags at the given index. + */ + public com.google.protobuf.ByteString + getImageTagsBytes(int index) { + return imageTags_.getByteString(index); + } + + public static final int SYSCALL_FIELD_NUMBER = 2; + private int syscall_ = 0; + /** + * int32 syscall = 2; + * @return The syscall. + */ + @java.lang.Override + public int getSyscall() { + return syscall_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + for (int i = 0; i < imageTags_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, imageTags_.getRaw(i)); + } + if (syscall_ != 0) { + output.writeInt32(2, syscall_); } - /** - * .datadog.cws.dumpsv1.FileInfo file = 2; - */ - public com.dd.cws.adv1.pb.SecDumpProto.FileInfoOrBuilder getFileOrBuilder() { - if (fileBuilder_ != null) { - return fileBuilder_.getMessageOrBuilder(); - } else { - return file_ == null ? - com.dd.cws.adv1.pb.SecDumpProto.FileInfo.getDefaultInstance() : file_; + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + { + int dataSize = 0; + for (int i = 0; i < imageTags_.size(); i++) { + dataSize += computeStringSizeNoTag(imageTags_.getRaw(i)); } + size += dataSize; + size += 1 * getImageTagsList().size(); } - /** - * .datadog.cws.dumpsv1.FileInfo file = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.dd.cws.adv1.pb.SecDumpProto.FileInfo, com.dd.cws.adv1.pb.SecDumpProto.FileInfo.Builder, com.dd.cws.adv1.pb.SecDumpProto.FileInfoOrBuilder> - getFileFieldBuilder() { - if (fileBuilder_ == null) { - fileBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.dd.cws.adv1.pb.SecDumpProto.FileInfo, com.dd.cws.adv1.pb.SecDumpProto.FileInfo.Builder, com.dd.cws.adv1.pb.SecDumpProto.FileInfoOrBuilder>( - getFile(), - getParentForChildren(), - isClean()); - file_ = null; - } - return fileBuilder_; + if (syscall_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, syscall_); } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - private int generationType_ = 0; - /** - * .datadog.cws.dumpsv1.GenerationType generation_type = 8; - * @return The enum numeric value on the wire for generationType. - */ - @java.lang.Override public int getGenerationTypeValue() { - return generationType_; + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; } - /** - * .datadog.cws.dumpsv1.GenerationType generation_type = 8; - * @param value The enum numeric value on the wire for generationType to set. - * @return This builder for chaining. - */ - public Builder setGenerationTypeValue(int value) { - generationType_ = value; - bitField0_ |= 0x00000020; - onChanged(); - return this; + if (!(obj instanceof com.dd.cws.adv1.pb.SecDumpProto.SyscallNode)) { + return super.equals(obj); } - /** - * .datadog.cws.dumpsv1.GenerationType generation_type = 8; - * @return The generationType. - */ - @java.lang.Override - public com.dd.cws.adv1.pb.SecDumpProto.GenerationType getGenerationType() { - com.dd.cws.adv1.pb.SecDumpProto.GenerationType result = com.dd.cws.adv1.pb.SecDumpProto.GenerationType.forNumber(generationType_); - return result == null ? com.dd.cws.adv1.pb.SecDumpProto.GenerationType.UNRECOGNIZED : result; + com.dd.cws.adv1.pb.SecDumpProto.SyscallNode other = (com.dd.cws.adv1.pb.SecDumpProto.SyscallNode) obj; + + if (!getImageTagsList() + .equals(other.getImageTagsList())) return false; + if (getSyscall() + != other.getSyscall()) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; } - /** - * .datadog.cws.dumpsv1.GenerationType generation_type = 8; - * @param value The generationType to set. - * @return This builder for chaining. - */ - public Builder setGenerationType(com.dd.cws.adv1.pb.SecDumpProto.GenerationType value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000020; - generationType_ = value.getNumber(); - onChanged(); - return this; + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getImageTagsCount() > 0) { + hash = (37 * hash) + IMAGE_TAGS_FIELD_NUMBER; + hash = (53 * hash) + getImageTagsList().hashCode(); } - /** - * .datadog.cws.dumpsv1.GenerationType generation_type = 8; - * @return This builder for chaining. - */ - public Builder clearGenerationType() { - bitField0_ = (bitField0_ & ~0x00000020); - generationType_ = 0; - onChanged(); - return this; + hash = (37 * hash) + SYSCALL_FIELD_NUMBER; + hash = (53 * hash) + getSyscall(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.dd.cws.adv1.pb.SecDumpProto.SyscallNode parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.dd.cws.adv1.pb.SecDumpProto.SyscallNode parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.dd.cws.adv1.pb.SecDumpProto.SyscallNode parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.dd.cws.adv1.pb.SecDumpProto.SyscallNode parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.dd.cws.adv1.pb.SecDumpProto.SyscallNode parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.dd.cws.adv1.pb.SecDumpProto.SyscallNode parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.dd.cws.adv1.pb.SecDumpProto.SyscallNode parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.dd.cws.adv1.pb.SecDumpProto.SyscallNode parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.dd.cws.adv1.pb.SecDumpProto.SyscallNode parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.dd.cws.adv1.pb.SecDumpProto.SyscallNode parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.dd.cws.adv1.pb.SecDumpProto.SyscallNode parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.dd.cws.adv1.pb.SecDumpProto.SyscallNode parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.dd.cws.adv1.pb.SecDumpProto.SyscallNode prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code datadog.cws.dumpsv1.SyscallNode} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:datadog.cws.dumpsv1.SyscallNode) + com.dd.cws.adv1.pb.SecDumpProto.SyscallNodeOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_SyscallNode_descriptor; } - private long firstSeen_ ; - /** - * uint64 first_seen = 4; - * @return The firstSeen. - */ @java.lang.Override - public long getFirstSeen() { - return firstSeen_; - } - /** - * uint64 first_seen = 4; - * @param value The firstSeen to set. - * @return This builder for chaining. - */ - public Builder setFirstSeen(long value) { - - firstSeen_ = value; - bitField0_ |= 0x00000040; - onChanged(); - return this; - } - /** - * uint64 first_seen = 4; - * @return This builder for chaining. - */ - public Builder clearFirstSeen() { - bitField0_ = (bitField0_ & ~0x00000040); - firstSeen_ = 0L; - onChanged(); - return this; + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_SyscallNode_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.dd.cws.adv1.pb.SecDumpProto.SyscallNode.class, com.dd.cws.adv1.pb.SecDumpProto.SyscallNode.Builder.class); } - private com.dd.cws.adv1.pb.SecDumpProto.OpenNode open_; - private com.google.protobuf.SingleFieldBuilderV3< - com.dd.cws.adv1.pb.SecDumpProto.OpenNode, com.dd.cws.adv1.pb.SecDumpProto.OpenNode.Builder, com.dd.cws.adv1.pb.SecDumpProto.OpenNodeOrBuilder> openBuilder_; - /** - * .datadog.cws.dumpsv1.OpenNode open = 5; - * @return Whether the open field is set. - */ - public boolean hasOpen() { - return ((bitField0_ & 0x00000080) != 0); + // Construct using com.dd.cws.adv1.pb.SecDumpProto.SyscallNode.newBuilder() + private Builder() { + } - /** - * .datadog.cws.dumpsv1.OpenNode open = 5; - * @return The open. - */ - public com.dd.cws.adv1.pb.SecDumpProto.OpenNode getOpen() { - if (openBuilder_ == null) { - return open_ == null ? com.dd.cws.adv1.pb.SecDumpProto.OpenNode.getDefaultInstance() : open_; - } else { - return openBuilder_.getMessage(); - } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } - /** - * .datadog.cws.dumpsv1.OpenNode open = 5; - */ - public Builder setOpen(com.dd.cws.adv1.pb.SecDumpProto.OpenNode value) { - if (openBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - open_ = value; - } else { - openBuilder_.setMessage(value); - } - bitField0_ |= 0x00000080; - onChanged(); + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + imageTags_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000001); + syscall_ = 0; return this; } - /** - * .datadog.cws.dumpsv1.OpenNode open = 5; - */ - public Builder setOpen( - com.dd.cws.adv1.pb.SecDumpProto.OpenNode.Builder builderForValue) { - if (openBuilder_ == null) { - open_ = builderForValue.build(); - } else { - openBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00000080; - onChanged(); - return this; + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_SyscallNode_descriptor; } - /** - * .datadog.cws.dumpsv1.OpenNode open = 5; - */ - public Builder mergeOpen(com.dd.cws.adv1.pb.SecDumpProto.OpenNode value) { - if (openBuilder_ == null) { - if (((bitField0_ & 0x00000080) != 0) && - open_ != null && - open_ != com.dd.cws.adv1.pb.SecDumpProto.OpenNode.getDefaultInstance()) { - getOpenBuilder().mergeFrom(value); - } else { - open_ = value; - } - } else { - openBuilder_.mergeFrom(value); - } - bitField0_ |= 0x00000080; - onChanged(); - return this; + + @java.lang.Override + public com.dd.cws.adv1.pb.SecDumpProto.SyscallNode getDefaultInstanceForType() { + return com.dd.cws.adv1.pb.SecDumpProto.SyscallNode.getDefaultInstance(); } - /** - * .datadog.cws.dumpsv1.OpenNode open = 5; - */ - public Builder clearOpen() { - bitField0_ = (bitField0_ & ~0x00000080); - open_ = null; - if (openBuilder_ != null) { - openBuilder_.dispose(); - openBuilder_ = null; + + @java.lang.Override + public com.dd.cws.adv1.pb.SecDumpProto.SyscallNode build() { + com.dd.cws.adv1.pb.SecDumpProto.SyscallNode result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); } - onChanged(); - return this; + return result; } - /** - * .datadog.cws.dumpsv1.OpenNode open = 5; - */ - public com.dd.cws.adv1.pb.SecDumpProto.OpenNode.Builder getOpenBuilder() { - bitField0_ |= 0x00000080; - onChanged(); - return getOpenFieldBuilder().getBuilder(); + + @java.lang.Override + public com.dd.cws.adv1.pb.SecDumpProto.SyscallNode buildPartial() { + com.dd.cws.adv1.pb.SecDumpProto.SyscallNode result = new com.dd.cws.adv1.pb.SecDumpProto.SyscallNode(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; } - /** - * .datadog.cws.dumpsv1.OpenNode open = 5; - */ - public com.dd.cws.adv1.pb.SecDumpProto.OpenNodeOrBuilder getOpenOrBuilder() { - if (openBuilder_ != null) { - return openBuilder_.getMessageOrBuilder(); - } else { - return open_ == null ? - com.dd.cws.adv1.pb.SecDumpProto.OpenNode.getDefaultInstance() : open_; + + private void buildPartialRepeatedFields(com.dd.cws.adv1.pb.SecDumpProto.SyscallNode result) { + if (((bitField0_ & 0x00000001) != 0)) { + imageTags_ = imageTags_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000001); } + result.imageTags_ = imageTags_; } - /** - * .datadog.cws.dumpsv1.OpenNode open = 5; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.dd.cws.adv1.pb.SecDumpProto.OpenNode, com.dd.cws.adv1.pb.SecDumpProto.OpenNode.Builder, com.dd.cws.adv1.pb.SecDumpProto.OpenNodeOrBuilder> - getOpenFieldBuilder() { - if (openBuilder_ == null) { - openBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.dd.cws.adv1.pb.SecDumpProto.OpenNode, com.dd.cws.adv1.pb.SecDumpProto.OpenNode.Builder, com.dd.cws.adv1.pb.SecDumpProto.OpenNodeOrBuilder>( - getOpen(), - getParentForChildren(), - isClean()); - open_ = null; + + private void buildPartial0(com.dd.cws.adv1.pb.SecDumpProto.SyscallNode result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000002) != 0)) { + result.syscall_ = syscall_; } - return openBuilder_; } - private java.util.List children_ = - java.util.Collections.emptyList(); - private void ensureChildrenIsMutable() { - if (!((bitField0_ & 0x00000100) != 0)) { - children_ = new java.util.ArrayList(children_); - bitField0_ |= 0x00000100; - } + @java.lang.Override + public Builder clone() { + return super.clone(); } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode, com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode.Builder, com.dd.cws.adv1.pb.SecDumpProto.FileActivityNodeOrBuilder> childrenBuilder_; - - /** - * repeated .datadog.cws.dumpsv1.FileActivityNode children = 6; - */ - public java.util.List getChildrenList() { - if (childrenBuilder_ == null) { - return java.util.Collections.unmodifiableList(children_); - } else { - return childrenBuilder_.getMessageList(); - } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); } - /** - * repeated .datadog.cws.dumpsv1.FileActivityNode children = 6; - */ - public int getChildrenCount() { - if (childrenBuilder_ == null) { - return children_.size(); - } else { - return childrenBuilder_.getCount(); - } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); } - /** - * repeated .datadog.cws.dumpsv1.FileActivityNode children = 6; - */ - public com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode getChildren(int index) { - if (childrenBuilder_ == null) { - return children_.get(index); - } else { - return childrenBuilder_.getMessage(index); - } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); } - /** - * repeated .datadog.cws.dumpsv1.FileActivityNode children = 6; - */ - public Builder setChildren( - int index, com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode value) { - if (childrenBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureChildrenIsMutable(); - children_.set(index, value); - onChanged(); - } else { - childrenBuilder_.setMessage(index, value); - } - return this; + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); } - /** - * repeated .datadog.cws.dumpsv1.FileActivityNode children = 6; - */ - public Builder setChildren( - int index, com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode.Builder builderForValue) { - if (childrenBuilder_ == null) { - ensureChildrenIsMutable(); - children_.set(index, builderForValue.build()); - onChanged(); + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.dd.cws.adv1.pb.SecDumpProto.SyscallNode) { + return mergeFrom((com.dd.cws.adv1.pb.SecDumpProto.SyscallNode)other); } else { - childrenBuilder_.setMessage(index, builderForValue.build()); + super.mergeFrom(other); + return this; } - return this; } - /** - * repeated .datadog.cws.dumpsv1.FileActivityNode children = 6; - */ - public Builder addChildren(com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode value) { - if (childrenBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); + + public Builder mergeFrom(com.dd.cws.adv1.pb.SecDumpProto.SyscallNode other) { + if (other == com.dd.cws.adv1.pb.SecDumpProto.SyscallNode.getDefaultInstance()) return this; + if (!other.imageTags_.isEmpty()) { + if (imageTags_.isEmpty()) { + imageTags_ = other.imageTags_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureImageTagsIsMutable(); + imageTags_.addAll(other.imageTags_); } - ensureChildrenIsMutable(); - children_.add(value); onChanged(); - } else { - childrenBuilder_.addMessage(value); } + if (other.getSyscall() != 0) { + setSyscall(other.getSyscall()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); return this; } - /** - * repeated .datadog.cws.dumpsv1.FileActivityNode children = 6; - */ - public Builder addChildren( - int index, com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode value) { - if (childrenBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureChildrenIsMutable(); - children_.add(index, value); - onChanged(); - } else { - childrenBuilder_.addMessage(index, value); + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + ensureImageTagsIsMutable(); + imageTags_.add(s); + break; + } // case 10 + case 16: { + syscall_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally return this; } + private int bitField0_; + + private com.google.protobuf.LazyStringList imageTags_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureImageTagsIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + imageTags_ = new com.google.protobuf.LazyStringArrayList(imageTags_); + bitField0_ |= 0x00000001; + } + } /** - * repeated .datadog.cws.dumpsv1.FileActivityNode children = 6; + * repeated string image_tags = 1; + * @return A list containing the imageTags. */ - public Builder addChildren( - com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode.Builder builderForValue) { - if (childrenBuilder_ == null) { - ensureChildrenIsMutable(); - children_.add(builderForValue.build()); - onChanged(); - } else { - childrenBuilder_.addMessage(builderForValue.build()); - } - return this; + public com.google.protobuf.ProtocolStringList + getImageTagsList() { + return imageTags_.getUnmodifiableView(); } /** - * repeated .datadog.cws.dumpsv1.FileActivityNode children = 6; + * repeated string image_tags = 1; + * @return The count of imageTags. */ - public Builder addChildren( - int index, com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode.Builder builderForValue) { - if (childrenBuilder_ == null) { - ensureChildrenIsMutable(); - children_.add(index, builderForValue.build()); - onChanged(); - } else { - childrenBuilder_.addMessage(index, builderForValue.build()); - } - return this; + public int getImageTagsCount() { + return imageTags_.size(); } /** - * repeated .datadog.cws.dumpsv1.FileActivityNode children = 6; + * repeated string image_tags = 1; + * @param index The index of the element to return. + * @return The imageTags at the given index. */ - public Builder addAllChildren( - java.lang.Iterable values) { - if (childrenBuilder_ == null) { - ensureChildrenIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, children_); - onChanged(); - } else { - childrenBuilder_.addAllMessages(values); - } - return this; + public java.lang.String getImageTags(int index) { + return imageTags_.get(index); } /** - * repeated .datadog.cws.dumpsv1.FileActivityNode children = 6; + * repeated string image_tags = 1; + * @param index The index of the value to return. + * @return The bytes of the imageTags at the given index. */ - public Builder clearChildren() { - if (childrenBuilder_ == null) { - children_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000100); - onChanged(); - } else { - childrenBuilder_.clear(); - } - return this; + public com.google.protobuf.ByteString + getImageTagsBytes(int index) { + return imageTags_.getByteString(index); } /** - * repeated .datadog.cws.dumpsv1.FileActivityNode children = 6; + * repeated string image_tags = 1; + * @param index The index to set the value at. + * @param value The imageTags to set. + * @return This builder for chaining. */ - public Builder removeChildren(int index) { - if (childrenBuilder_ == null) { - ensureChildrenIsMutable(); - children_.remove(index); - onChanged(); - } else { - childrenBuilder_.remove(index); - } + public Builder setImageTags( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureImageTagsIsMutable(); + imageTags_.set(index, value); + onChanged(); return this; } /** - * repeated .datadog.cws.dumpsv1.FileActivityNode children = 6; + * repeated string image_tags = 1; + * @param value The imageTags to add. + * @return This builder for chaining. */ - public com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode.Builder getChildrenBuilder( - int index) { - return getChildrenFieldBuilder().getBuilder(index); + public Builder addImageTags( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureImageTagsIsMutable(); + imageTags_.add(value); + onChanged(); + return this; } /** - * repeated .datadog.cws.dumpsv1.FileActivityNode children = 6; + * repeated string image_tags = 1; + * @param values The imageTags to add. + * @return This builder for chaining. */ - public com.dd.cws.adv1.pb.SecDumpProto.FileActivityNodeOrBuilder getChildrenOrBuilder( - int index) { - if (childrenBuilder_ == null) { - return children_.get(index); } else { - return childrenBuilder_.getMessageOrBuilder(index); - } + public Builder addAllImageTags( + java.lang.Iterable values) { + ensureImageTagsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, imageTags_); + onChanged(); + return this; } /** - * repeated .datadog.cws.dumpsv1.FileActivityNode children = 6; + * repeated string image_tags = 1; + * @return This builder for chaining. */ - public java.util.List - getChildrenOrBuilderList() { - if (childrenBuilder_ != null) { - return childrenBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(children_); - } + public Builder clearImageTags() { + imageTags_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; } /** - * repeated .datadog.cws.dumpsv1.FileActivityNode children = 6; + * repeated string image_tags = 1; + * @param value The bytes of the imageTags to add. + * @return This builder for chaining. */ - public com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode.Builder addChildrenBuilder() { - return getChildrenFieldBuilder().addBuilder( - com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode.getDefaultInstance()); + public Builder addImageTagsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ensureImageTagsIsMutable(); + imageTags_.add(value); + onChanged(); + return this; } - /** - * repeated .datadog.cws.dumpsv1.FileActivityNode children = 6; - */ - public com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode.Builder addChildrenBuilder( - int index) { - return getChildrenFieldBuilder().addBuilder( - index, com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode.getDefaultInstance()); + + private int syscall_ ; + /** + * int32 syscall = 2; + * @return The syscall. + */ + @java.lang.Override + public int getSyscall() { + return syscall_; } /** - * repeated .datadog.cws.dumpsv1.FileActivityNode children = 6; + * int32 syscall = 2; + * @param value The syscall to set. + * @return This builder for chaining. */ - public java.util.List - getChildrenBuilderList() { - return getChildrenFieldBuilder().getBuilderList(); + public Builder setSyscall(int value) { + + syscall_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode, com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode.Builder, com.dd.cws.adv1.pb.SecDumpProto.FileActivityNodeOrBuilder> - getChildrenFieldBuilder() { - if (childrenBuilder_ == null) { - childrenBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode, com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode.Builder, com.dd.cws.adv1.pb.SecDumpProto.FileActivityNodeOrBuilder>( - children_, - ((bitField0_ & 0x00000100) != 0), - getParentForChildren(), - isClean()); - children_ = null; - } - return childrenBuilder_; + /** + * int32 syscall = 2; + * @return This builder for chaining. + */ + public Builder clearSyscall() { + bitField0_ = (bitField0_ & ~0x00000002); + syscall_ = 0; + onChanged(); + return this; } @java.lang.Override public final Builder setUnknownFields( @@ -16709,623 +21004,1186 @@ public final Builder setUnknownFields( return super.setUnknownFields(unknownFields); } - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:datadog.cws.dumpsv1.SyscallNode) + } + + // @@protoc_insertion_point(class_scope:datadog.cws.dumpsv1.SyscallNode) + private static final com.dd.cws.adv1.pb.SecDumpProto.SyscallNode DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.dd.cws.adv1.pb.SecDumpProto.SyscallNode(); + } + + public static com.dd.cws.adv1.pb.SecDumpProto.SyscallNode getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SyscallNode parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.dd.cws.adv1.pb.SecDumpProto.SyscallNode getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface IMDSNodeOrBuilder extends + // @@protoc_insertion_point(interface_extends:datadog.cws.dumpsv1.IMDSNode) + com.google.protobuf.MessageOrBuilder { + + /** + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 1; + */ + java.util.List + getMatchedRulesList(); + /** + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 1; + */ + com.dd.cws.adv1.pb.SecDumpProto.MatchedRule getMatchedRules(int index); + /** + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 1; + */ + int getMatchedRulesCount(); + /** + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 1; + */ + java.util.List + getMatchedRulesOrBuilderList(); + /** + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 1; + */ + com.dd.cws.adv1.pb.SecDumpProto.MatchedRuleOrBuilder getMatchedRulesOrBuilder( + int index); + + /** + * repeated string image_tags = 2; + * @return A list containing the imageTags. + */ + java.util.List + getImageTagsList(); + /** + * repeated string image_tags = 2; + * @return The count of imageTags. + */ + int getImageTagsCount(); + /** + * repeated string image_tags = 2; + * @param index The index of the element to return. + * @return The imageTags at the given index. + */ + java.lang.String getImageTags(int index); + /** + * repeated string image_tags = 2; + * @param index The index of the value to return. + * @return The bytes of the imageTags at the given index. + */ + com.google.protobuf.ByteString + getImageTagsBytes(int index); + + /** + * .datadog.cws.dumpsv1.IMDSEvent event = 3; + * @return Whether the event field is set. + */ + boolean hasEvent(); + /** + * .datadog.cws.dumpsv1.IMDSEvent event = 3; + * @return The event. + */ + com.dd.cws.adv1.pb.SecDumpProto.IMDSEvent getEvent(); + /** + * .datadog.cws.dumpsv1.IMDSEvent event = 3; + */ + com.dd.cws.adv1.pb.SecDumpProto.IMDSEventOrBuilder getEventOrBuilder(); + } + /** + * Protobuf type {@code datadog.cws.dumpsv1.IMDSNode} + */ + public static final class IMDSNode extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:datadog.cws.dumpsv1.IMDSNode) + IMDSNodeOrBuilder { + private static final long serialVersionUID = 0L; + // Use IMDSNode.newBuilder() to construct. + private IMDSNode(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private IMDSNode() { + matchedRules_ = java.util.Collections.emptyList(); + imageTags_ = com.google.protobuf.LazyStringArrayList.EMPTY; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new IMDSNode(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_IMDSNode_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_IMDSNode_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.dd.cws.adv1.pb.SecDumpProto.IMDSNode.class, com.dd.cws.adv1.pb.SecDumpProto.IMDSNode.Builder.class); + } + + public static final int MATCHED_RULES_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private java.util.List matchedRules_; + /** + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 1; + */ + @java.lang.Override + public java.util.List getMatchedRulesList() { + return matchedRules_; + } + /** + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 1; + */ + @java.lang.Override + public java.util.List + getMatchedRulesOrBuilderList() { + return matchedRules_; + } + /** + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 1; + */ + @java.lang.Override + public int getMatchedRulesCount() { + return matchedRules_.size(); + } + /** + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 1; + */ + @java.lang.Override + public com.dd.cws.adv1.pb.SecDumpProto.MatchedRule getMatchedRules(int index) { + return matchedRules_.get(index); + } + /** + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 1; + */ + @java.lang.Override + public com.dd.cws.adv1.pb.SecDumpProto.MatchedRuleOrBuilder getMatchedRulesOrBuilder( + int index) { + return matchedRules_.get(index); + } + + public static final int IMAGE_TAGS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringList imageTags_; + /** + * repeated string image_tags = 2; + * @return A list containing the imageTags. + */ + public com.google.protobuf.ProtocolStringList + getImageTagsList() { + return imageTags_; + } + /** + * repeated string image_tags = 2; + * @return The count of imageTags. + */ + public int getImageTagsCount() { + return imageTags_.size(); + } + /** + * repeated string image_tags = 2; + * @param index The index of the element to return. + * @return The imageTags at the given index. + */ + public java.lang.String getImageTags(int index) { + return imageTags_.get(index); + } + /** + * repeated string image_tags = 2; + * @param index The index of the value to return. + * @return The bytes of the imageTags at the given index. + */ + public com.google.protobuf.ByteString + getImageTagsBytes(int index) { + return imageTags_.getByteString(index); + } + + public static final int EVENT_FIELD_NUMBER = 3; + private com.dd.cws.adv1.pb.SecDumpProto.IMDSEvent event_; + /** + * .datadog.cws.dumpsv1.IMDSEvent event = 3; + * @return Whether the event field is set. + */ + @java.lang.Override + public boolean hasEvent() { + return event_ != null; + } + /** + * .datadog.cws.dumpsv1.IMDSEvent event = 3; + * @return The event. + */ + @java.lang.Override + public com.dd.cws.adv1.pb.SecDumpProto.IMDSEvent getEvent() { + return event_ == null ? com.dd.cws.adv1.pb.SecDumpProto.IMDSEvent.getDefaultInstance() : event_; + } + /** + * .datadog.cws.dumpsv1.IMDSEvent event = 3; + */ + @java.lang.Override + public com.dd.cws.adv1.pb.SecDumpProto.IMDSEventOrBuilder getEventOrBuilder() { + return event_ == null ? com.dd.cws.adv1.pb.SecDumpProto.IMDSEvent.getDefaultInstance() : event_; + } + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - // @@protoc_insertion_point(builder_scope:datadog.cws.dumpsv1.FileActivityNode) + memoizedIsInitialized = 1; + return true; } - // @@protoc_insertion_point(class_scope:datadog.cws.dumpsv1.FileActivityNode) - private static final com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode(); + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + for (int i = 0; i < matchedRules_.size(); i++) { + output.writeMessage(1, matchedRules_.get(i)); + } + for (int i = 0; i < imageTags_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, imageTags_.getRaw(i)); + } + if (event_ != null) { + output.writeMessage(3, getEvent()); + } + getUnknownFields().writeTo(output); } - public static com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode getDefaultInstance() { - return DEFAULT_INSTANCE; - } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FileActivityNode parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); + size = 0; + for (int i = 0; i < matchedRules_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, matchedRules_.get(i)); + } + { + int dataSize = 0; + for (int i = 0; i < imageTags_.size(); i++) { + dataSize += computeStringSizeNoTag(imageTags_.getRaw(i)); } - return builder.buildPartial(); + size += dataSize; + size += 1 * getImageTagsList().size(); } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; + if (event_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getEvent()); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.dd.cws.adv1.pb.SecDumpProto.IMDSNode)) { + return super.equals(obj); + } + com.dd.cws.adv1.pb.SecDumpProto.IMDSNode other = (com.dd.cws.adv1.pb.SecDumpProto.IMDSNode) obj; + + if (!getMatchedRulesList() + .equals(other.getMatchedRulesList())) return false; + if (!getImageTagsList() + .equals(other.getImageTagsList())) return false; + if (hasEvent() != other.hasEvent()) return false; + if (hasEvent()) { + if (!getEvent() + .equals(other.getEvent())) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; } @java.lang.Override - public com.dd.cws.adv1.pb.SecDumpProto.FileActivityNode getDefaultInstanceForType() { - return DEFAULT_INSTANCE; + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getMatchedRulesCount() > 0) { + hash = (37 * hash) + MATCHED_RULES_FIELD_NUMBER; + hash = (53 * hash) + getMatchedRulesList().hashCode(); + } + if (getImageTagsCount() > 0) { + hash = (37 * hash) + IMAGE_TAGS_FIELD_NUMBER; + hash = (53 * hash) + getImageTagsList().hashCode(); + } + if (hasEvent()) { + hash = (37 * hash) + EVENT_FIELD_NUMBER; + hash = (53 * hash) + getEvent().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; } - } - - public interface OpenNodeOrBuilder extends - // @@protoc_insertion_point(interface_extends:datadog.cws.dumpsv1.OpenNode) - com.google.protobuf.MessageOrBuilder { - - /** - * sint64 retval = 1; - * @return The retval. - */ - long getRetval(); - - /** - * uint32 flags = 2; - * @return The flags. - */ - int getFlags(); - - /** - * uint32 mode = 3; - * @return The mode. - */ - int getMode(); - } - /** - * Protobuf type {@code datadog.cws.dumpsv1.OpenNode} - */ - public static final class OpenNode extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:datadog.cws.dumpsv1.OpenNode) - OpenNodeOrBuilder { - private static final long serialVersionUID = 0L; - // Use OpenNode.newBuilder() to construct. - private OpenNode(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); + public static com.dd.cws.adv1.pb.SecDumpProto.IMDSNode parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); } - private OpenNode() { + public static com.dd.cws.adv1.pb.SecDumpProto.IMDSNode parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new OpenNode(); + public static com.dd.cws.adv1.pb.SecDumpProto.IMDSNode parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.dd.cws.adv1.pb.SecDumpProto.IMDSNode parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.dd.cws.adv1.pb.SecDumpProto.IMDSNode parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.dd.cws.adv1.pb.SecDumpProto.IMDSNode parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.dd.cws.adv1.pb.SecDumpProto.IMDSNode parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.dd.cws.adv1.pb.SecDumpProto.IMDSNode parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.dd.cws.adv1.pb.SecDumpProto.IMDSNode parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.dd.cws.adv1.pb.SecDumpProto.IMDSNode parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.dd.cws.adv1.pb.SecDumpProto.IMDSNode parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.dd.cws.adv1.pb.SecDumpProto.IMDSNode parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_OpenNode_descriptor; + public static Builder newBuilder(com.dd.cws.adv1.pb.SecDumpProto.IMDSNode prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_OpenNode_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.dd.cws.adv1.pb.SecDumpProto.OpenNode.class, com.dd.cws.adv1.pb.SecDumpProto.OpenNode.Builder.class); + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public static final int RETVAL_FIELD_NUMBER = 1; - private long retval_ = 0L; - /** - * sint64 retval = 1; - * @return The retval. - */ @java.lang.Override - public long getRetval() { - return retval_; + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; } - - public static final int FLAGS_FIELD_NUMBER = 2; - private int flags_ = 0; /** - * uint32 flags = 2; - * @return The flags. + * Protobuf type {@code datadog.cws.dumpsv1.IMDSNode} */ - @java.lang.Override - public int getFlags() { - return flags_; - } + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:datadog.cws.dumpsv1.IMDSNode) + com.dd.cws.adv1.pb.SecDumpProto.IMDSNodeOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_IMDSNode_descriptor; + } - public static final int MODE_FIELD_NUMBER = 3; - private int mode_ = 0; - /** - * uint32 mode = 3; - * @return The mode. - */ - @java.lang.Override - public int getMode() { - return mode_; - } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_IMDSNode_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.dd.cws.adv1.pb.SecDumpProto.IMDSNode.class, com.dd.cws.adv1.pb.SecDumpProto.IMDSNode.Builder.class); + } - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + // Construct using com.dd.cws.adv1.pb.SecDumpProto.IMDSNode.newBuilder() + private Builder() { - memoizedIsInitialized = 1; - return true; - } + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (retval_ != 0L) { - output.writeSInt64(1, retval_); } - if (flags_ != 0) { - output.writeUInt32(2, flags_); + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + if (matchedRulesBuilder_ == null) { + matchedRules_ = java.util.Collections.emptyList(); + } else { + matchedRules_ = null; + matchedRulesBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + imageTags_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000002); + event_ = null; + if (eventBuilder_ != null) { + eventBuilder_.dispose(); + eventBuilder_ = null; + } + return this; } - if (mode_ != 0) { - output.writeUInt32(3, mode_); + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_IMDSNode_descriptor; } - getUnknownFields().writeTo(output); - } - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; + @java.lang.Override + public com.dd.cws.adv1.pb.SecDumpProto.IMDSNode getDefaultInstanceForType() { + return com.dd.cws.adv1.pb.SecDumpProto.IMDSNode.getDefaultInstance(); + } - size = 0; - if (retval_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeSInt64Size(1, retval_); + @java.lang.Override + public com.dd.cws.adv1.pb.SecDumpProto.IMDSNode build() { + com.dd.cws.adv1.pb.SecDumpProto.IMDSNode result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; } - if (flags_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(2, flags_); + + @java.lang.Override + public com.dd.cws.adv1.pb.SecDumpProto.IMDSNode buildPartial() { + com.dd.cws.adv1.pb.SecDumpProto.IMDSNode result = new com.dd.cws.adv1.pb.SecDumpProto.IMDSNode(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; } - if (mode_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(3, mode_); + + private void buildPartialRepeatedFields(com.dd.cws.adv1.pb.SecDumpProto.IMDSNode result) { + if (matchedRulesBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + matchedRules_ = java.util.Collections.unmodifiableList(matchedRules_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.matchedRules_ = matchedRules_; + } else { + result.matchedRules_ = matchedRulesBuilder_.build(); + } + if (((bitField0_ & 0x00000002) != 0)) { + imageTags_ = imageTags_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000002); + } + result.imageTags_ = imageTags_; + } + + private void buildPartial0(com.dd.cws.adv1.pb.SecDumpProto.IMDSNode result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000004) != 0)) { + result.event_ = eventBuilder_ == null + ? event_ + : eventBuilder_.build(); + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.dd.cws.adv1.pb.SecDumpProto.IMDSNode) { + return mergeFrom((com.dd.cws.adv1.pb.SecDumpProto.IMDSNode)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.dd.cws.adv1.pb.SecDumpProto.IMDSNode other) { + if (other == com.dd.cws.adv1.pb.SecDumpProto.IMDSNode.getDefaultInstance()) return this; + if (matchedRulesBuilder_ == null) { + if (!other.matchedRules_.isEmpty()) { + if (matchedRules_.isEmpty()) { + matchedRules_ = other.matchedRules_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureMatchedRulesIsMutable(); + matchedRules_.addAll(other.matchedRules_); + } + onChanged(); + } + } else { + if (!other.matchedRules_.isEmpty()) { + if (matchedRulesBuilder_.isEmpty()) { + matchedRulesBuilder_.dispose(); + matchedRulesBuilder_ = null; + matchedRules_ = other.matchedRules_; + bitField0_ = (bitField0_ & ~0x00000001); + matchedRulesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getMatchedRulesFieldBuilder() : null; + } else { + matchedRulesBuilder_.addAllMessages(other.matchedRules_); + } + } + } + if (!other.imageTags_.isEmpty()) { + if (imageTags_.isEmpty()) { + imageTags_ = other.imageTags_; + bitField0_ = (bitField0_ & ~0x00000002); + } else { + ensureImageTagsIsMutable(); + imageTags_.addAll(other.imageTags_); + } + onChanged(); + } + if (other.hasEvent()) { + mergeEvent(other.getEvent()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.dd.cws.adv1.pb.SecDumpProto.OpenNode)) { - return super.equals(obj); + @java.lang.Override + public final boolean isInitialized() { + return true; } - com.dd.cws.adv1.pb.SecDumpProto.OpenNode other = (com.dd.cws.adv1.pb.SecDumpProto.OpenNode) obj; - if (getRetval() - != other.getRetval()) return false; - if (getFlags() - != other.getFlags()) return false; - if (getMode() - != other.getMode()) return false; - if (!getUnknownFields().equals(other.getUnknownFields())) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + com.dd.cws.adv1.pb.SecDumpProto.MatchedRule m = + input.readMessage( + com.dd.cws.adv1.pb.SecDumpProto.MatchedRule.parser(), + extensionRegistry); + if (matchedRulesBuilder_ == null) { + ensureMatchedRulesIsMutable(); + matchedRules_.add(m); + } else { + matchedRulesBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + ensureImageTagsIsMutable(); + imageTags_.add(s); + break; + } // case 18 + case 26: { + input.readMessage( + getEventFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + RETVAL_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getRetval()); - hash = (37 * hash) + FLAGS_FIELD_NUMBER; - hash = (53 * hash) + getFlags(); - hash = (37 * hash) + MODE_FIELD_NUMBER; - hash = (53 * hash) + getMode(); - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } + private int bitField0_; - public static com.dd.cws.adv1.pb.SecDumpProto.OpenNode parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static com.dd.cws.adv1.pb.SecDumpProto.OpenNode parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static com.dd.cws.adv1.pb.SecDumpProto.OpenNode parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static com.dd.cws.adv1.pb.SecDumpProto.OpenNode parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static com.dd.cws.adv1.pb.SecDumpProto.OpenNode parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static com.dd.cws.adv1.pb.SecDumpProto.OpenNode parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static com.dd.cws.adv1.pb.SecDumpProto.OpenNode parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static com.dd.cws.adv1.pb.SecDumpProto.OpenNode parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static com.dd.cws.adv1.pb.SecDumpProto.OpenNode parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static com.dd.cws.adv1.pb.SecDumpProto.OpenNode parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static com.dd.cws.adv1.pb.SecDumpProto.OpenNode parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static com.dd.cws.adv1.pb.SecDumpProto.OpenNode parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } + private java.util.List matchedRules_ = + java.util.Collections.emptyList(); + private void ensureMatchedRulesIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + matchedRules_ = new java.util.ArrayList(matchedRules_); + bitField0_ |= 0x00000001; + } + } - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(com.dd.cws.adv1.pb.SecDumpProto.OpenNode prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.dd.cws.adv1.pb.SecDumpProto.MatchedRule, com.dd.cws.adv1.pb.SecDumpProto.MatchedRule.Builder, com.dd.cws.adv1.pb.SecDumpProto.MatchedRuleOrBuilder> matchedRulesBuilder_; - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * Protobuf type {@code datadog.cws.dumpsv1.OpenNode} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:datadog.cws.dumpsv1.OpenNode) - com.dd.cws.adv1.pb.SecDumpProto.OpenNodeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_OpenNode_descriptor; + /** + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 1; + */ + public java.util.List getMatchedRulesList() { + if (matchedRulesBuilder_ == null) { + return java.util.Collections.unmodifiableList(matchedRules_); + } else { + return matchedRulesBuilder_.getMessageList(); + } } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_OpenNode_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.dd.cws.adv1.pb.SecDumpProto.OpenNode.class, com.dd.cws.adv1.pb.SecDumpProto.OpenNode.Builder.class); + /** + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 1; + */ + public int getMatchedRulesCount() { + if (matchedRulesBuilder_ == null) { + return matchedRules_.size(); + } else { + return matchedRulesBuilder_.getCount(); + } + } + /** + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 1; + */ + public com.dd.cws.adv1.pb.SecDumpProto.MatchedRule getMatchedRules(int index) { + if (matchedRulesBuilder_ == null) { + return matchedRules_.get(index); + } else { + return matchedRulesBuilder_.getMessage(index); + } } - - // Construct using com.dd.cws.adv1.pb.SecDumpProto.OpenNode.newBuilder() - private Builder() { - + /** + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 1; + */ + public Builder setMatchedRules( + int index, com.dd.cws.adv1.pb.SecDumpProto.MatchedRule value) { + if (matchedRulesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureMatchedRulesIsMutable(); + matchedRules_.set(index, value); + onChanged(); + } else { + matchedRulesBuilder_.setMessage(index, value); + } + return this; } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - + /** + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 1; + */ + public Builder setMatchedRules( + int index, com.dd.cws.adv1.pb.SecDumpProto.MatchedRule.Builder builderForValue) { + if (matchedRulesBuilder_ == null) { + ensureMatchedRulesIsMutable(); + matchedRules_.set(index, builderForValue.build()); + onChanged(); + } else { + matchedRulesBuilder_.setMessage(index, builderForValue.build()); + } + return this; } - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - retval_ = 0L; - flags_ = 0; - mode_ = 0; + /** + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 1; + */ + public Builder addMatchedRules(com.dd.cws.adv1.pb.SecDumpProto.MatchedRule value) { + if (matchedRulesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureMatchedRulesIsMutable(); + matchedRules_.add(value); + onChanged(); + } else { + matchedRulesBuilder_.addMessage(value); + } return this; } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_OpenNode_descriptor; + /** + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 1; + */ + public Builder addMatchedRules( + int index, com.dd.cws.adv1.pb.SecDumpProto.MatchedRule value) { + if (matchedRulesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureMatchedRulesIsMutable(); + matchedRules_.add(index, value); + onChanged(); + } else { + matchedRulesBuilder_.addMessage(index, value); + } + return this; } - - @java.lang.Override - public com.dd.cws.adv1.pb.SecDumpProto.OpenNode getDefaultInstanceForType() { - return com.dd.cws.adv1.pb.SecDumpProto.OpenNode.getDefaultInstance(); + /** + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 1; + */ + public Builder addMatchedRules( + com.dd.cws.adv1.pb.SecDumpProto.MatchedRule.Builder builderForValue) { + if (matchedRulesBuilder_ == null) { + ensureMatchedRulesIsMutable(); + matchedRules_.add(builderForValue.build()); + onChanged(); + } else { + matchedRulesBuilder_.addMessage(builderForValue.build()); + } + return this; } - - @java.lang.Override - public com.dd.cws.adv1.pb.SecDumpProto.OpenNode build() { - com.dd.cws.adv1.pb.SecDumpProto.OpenNode result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); + /** + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 1; + */ + public Builder addMatchedRules( + int index, com.dd.cws.adv1.pb.SecDumpProto.MatchedRule.Builder builderForValue) { + if (matchedRulesBuilder_ == null) { + ensureMatchedRulesIsMutable(); + matchedRules_.add(index, builderForValue.build()); + onChanged(); + } else { + matchedRulesBuilder_.addMessage(index, builderForValue.build()); } - return result; + return this; } - - @java.lang.Override - public com.dd.cws.adv1.pb.SecDumpProto.OpenNode buildPartial() { - com.dd.cws.adv1.pb.SecDumpProto.OpenNode result = new com.dd.cws.adv1.pb.SecDumpProto.OpenNode(this); - if (bitField0_ != 0) { buildPartial0(result); } - onBuilt(); - return result; + /** + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 1; + */ + public Builder addAllMatchedRules( + java.lang.Iterable values) { + if (matchedRulesBuilder_ == null) { + ensureMatchedRulesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, matchedRules_); + onChanged(); + } else { + matchedRulesBuilder_.addAllMessages(values); + } + return this; } - - private void buildPartial0(com.dd.cws.adv1.pb.SecDumpProto.OpenNode result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.retval_ = retval_; + /** + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 1; + */ + public Builder clearMatchedRules() { + if (matchedRulesBuilder_ == null) { + matchedRules_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + matchedRulesBuilder_.clear(); } - if (((from_bitField0_ & 0x00000002) != 0)) { - result.flags_ = flags_; + return this; + } + /** + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 1; + */ + public Builder removeMatchedRules(int index) { + if (matchedRulesBuilder_ == null) { + ensureMatchedRulesIsMutable(); + matchedRules_.remove(index); + onChanged(); + } else { + matchedRulesBuilder_.remove(index); } - if (((from_bitField0_ & 0x00000004) != 0)) { - result.mode_ = mode_; + return this; + } + /** + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 1; + */ + public com.dd.cws.adv1.pb.SecDumpProto.MatchedRule.Builder getMatchedRulesBuilder( + int index) { + return getMatchedRulesFieldBuilder().getBuilder(index); + } + /** + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 1; + */ + public com.dd.cws.adv1.pb.SecDumpProto.MatchedRuleOrBuilder getMatchedRulesOrBuilder( + int index) { + if (matchedRulesBuilder_ == null) { + return matchedRules_.get(index); } else { + return matchedRulesBuilder_.getMessageOrBuilder(index); } } - - @java.lang.Override - public Builder clone() { - return super.clone(); + /** + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 1; + */ + public java.util.List + getMatchedRulesOrBuilderList() { + if (matchedRulesBuilder_ != null) { + return matchedRulesBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(matchedRules_); + } } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); + /** + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 1; + */ + public com.dd.cws.adv1.pb.SecDumpProto.MatchedRule.Builder addMatchedRulesBuilder() { + return getMatchedRulesFieldBuilder().addBuilder( + com.dd.cws.adv1.pb.SecDumpProto.MatchedRule.getDefaultInstance()); } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); + /** + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 1; + */ + public com.dd.cws.adv1.pb.SecDumpProto.MatchedRule.Builder addMatchedRulesBuilder( + int index) { + return getMatchedRulesFieldBuilder().addBuilder( + index, com.dd.cws.adv1.pb.SecDumpProto.MatchedRule.getDefaultInstance()); } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); + /** + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 1; + */ + public java.util.List + getMatchedRulesBuilderList() { + return getMatchedRulesFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.dd.cws.adv1.pb.SecDumpProto.MatchedRule, com.dd.cws.adv1.pb.SecDumpProto.MatchedRule.Builder, com.dd.cws.adv1.pb.SecDumpProto.MatchedRuleOrBuilder> + getMatchedRulesFieldBuilder() { + if (matchedRulesBuilder_ == null) { + matchedRulesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.dd.cws.adv1.pb.SecDumpProto.MatchedRule, com.dd.cws.adv1.pb.SecDumpProto.MatchedRule.Builder, com.dd.cws.adv1.pb.SecDumpProto.MatchedRuleOrBuilder>( + matchedRules_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + matchedRules_ = null; + } + return matchedRulesBuilder_; + } + + private com.google.protobuf.LazyStringList imageTags_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureImageTagsIsMutable() { + if (!((bitField0_ & 0x00000002) != 0)) { + imageTags_ = new com.google.protobuf.LazyStringArrayList(imageTags_); + bitField0_ |= 0x00000002; + } } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); + /** + * repeated string image_tags = 2; + * @return A list containing the imageTags. + */ + public com.google.protobuf.ProtocolStringList + getImageTagsList() { + return imageTags_.getUnmodifiableView(); } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); + /** + * repeated string image_tags = 2; + * @return The count of imageTags. + */ + public int getImageTagsCount() { + return imageTags_.size(); } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.dd.cws.adv1.pb.SecDumpProto.OpenNode) { - return mergeFrom((com.dd.cws.adv1.pb.SecDumpProto.OpenNode)other); - } else { - super.mergeFrom(other); - return this; - } + /** + * repeated string image_tags = 2; + * @param index The index of the element to return. + * @return The imageTags at the given index. + */ + public java.lang.String getImageTags(int index) { + return imageTags_.get(index); } - - public Builder mergeFrom(com.dd.cws.adv1.pb.SecDumpProto.OpenNode other) { - if (other == com.dd.cws.adv1.pb.SecDumpProto.OpenNode.getDefaultInstance()) return this; - if (other.getRetval() != 0L) { - setRetval(other.getRetval()); - } - if (other.getFlags() != 0) { - setFlags(other.getFlags()); - } - if (other.getMode() != 0) { - setMode(other.getMode()); - } - this.mergeUnknownFields(other.getUnknownFields()); + /** + * repeated string image_tags = 2; + * @param index The index of the value to return. + * @return The bytes of the imageTags at the given index. + */ + public com.google.protobuf.ByteString + getImageTagsBytes(int index) { + return imageTags_.getByteString(index); + } + /** + * repeated string image_tags = 2; + * @param index The index to set the value at. + * @param value The imageTags to set. + * @return This builder for chaining. + */ + public Builder setImageTags( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureImageTagsIsMutable(); + imageTags_.set(index, value); onChanged(); return this; } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 8: { - retval_ = input.readSInt64(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 16: { - flags_ = input.readUInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 24: { - mode_ = input.readUInt32(); - bitField0_ |= 0x00000004; - break; - } // case 24 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally + /** + * repeated string image_tags = 2; + * @param value The imageTags to add. + * @return This builder for chaining. + */ + public Builder addImageTags( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureImageTagsIsMutable(); + imageTags_.add(value); + onChanged(); return this; } - private int bitField0_; - - private long retval_ ; /** - * sint64 retval = 1; - * @return The retval. + * repeated string image_tags = 2; + * @param values The imageTags to add. + * @return This builder for chaining. */ - @java.lang.Override - public long getRetval() { - return retval_; + public Builder addAllImageTags( + java.lang.Iterable values) { + ensureImageTagsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, imageTags_); + onChanged(); + return this; } /** - * sint64 retval = 1; - * @param value The retval to set. + * repeated string image_tags = 2; * @return This builder for chaining. */ - public Builder setRetval(long value) { - - retval_ = value; - bitField0_ |= 0x00000001; + public Builder clearImageTags() { + imageTags_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** - * sint64 retval = 1; + * repeated string image_tags = 2; + * @param value The bytes of the imageTags to add. * @return This builder for chaining. */ - public Builder clearRetval() { - bitField0_ = (bitField0_ & ~0x00000001); - retval_ = 0L; + public Builder addImageTagsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ensureImageTagsIsMutable(); + imageTags_.add(value); onChanged(); return this; } - private int flags_ ; + private com.dd.cws.adv1.pb.SecDumpProto.IMDSEvent event_; + private com.google.protobuf.SingleFieldBuilderV3< + com.dd.cws.adv1.pb.SecDumpProto.IMDSEvent, com.dd.cws.adv1.pb.SecDumpProto.IMDSEvent.Builder, com.dd.cws.adv1.pb.SecDumpProto.IMDSEventOrBuilder> eventBuilder_; /** - * uint32 flags = 2; - * @return The flags. + * .datadog.cws.dumpsv1.IMDSEvent event = 3; + * @return Whether the event field is set. */ - @java.lang.Override - public int getFlags() { - return flags_; + public boolean hasEvent() { + return ((bitField0_ & 0x00000004) != 0); } /** - * uint32 flags = 2; - * @param value The flags to set. - * @return This builder for chaining. + * .datadog.cws.dumpsv1.IMDSEvent event = 3; + * @return The event. */ - public Builder setFlags(int value) { - - flags_ = value; - bitField0_ |= 0x00000002; + public com.dd.cws.adv1.pb.SecDumpProto.IMDSEvent getEvent() { + if (eventBuilder_ == null) { + return event_ == null ? com.dd.cws.adv1.pb.SecDumpProto.IMDSEvent.getDefaultInstance() : event_; + } else { + return eventBuilder_.getMessage(); + } + } + /** + * .datadog.cws.dumpsv1.IMDSEvent event = 3; + */ + public Builder setEvent(com.dd.cws.adv1.pb.SecDumpProto.IMDSEvent value) { + if (eventBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + event_ = value; + } else { + eventBuilder_.setMessage(value); + } + bitField0_ |= 0x00000004; onChanged(); return this; } /** - * uint32 flags = 2; - * @return This builder for chaining. + * .datadog.cws.dumpsv1.IMDSEvent event = 3; */ - public Builder clearFlags() { - bitField0_ = (bitField0_ & ~0x00000002); - flags_ = 0; + public Builder setEvent( + com.dd.cws.adv1.pb.SecDumpProto.IMDSEvent.Builder builderForValue) { + if (eventBuilder_ == null) { + event_ = builderForValue.build(); + } else { + eventBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * .datadog.cws.dumpsv1.IMDSEvent event = 3; + */ + public Builder mergeEvent(com.dd.cws.adv1.pb.SecDumpProto.IMDSEvent value) { + if (eventBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0) && + event_ != null && + event_ != com.dd.cws.adv1.pb.SecDumpProto.IMDSEvent.getDefaultInstance()) { + getEventBuilder().mergeFrom(value); + } else { + event_ = value; + } + } else { + eventBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * .datadog.cws.dumpsv1.IMDSEvent event = 3; + */ + public Builder clearEvent() { + bitField0_ = (bitField0_ & ~0x00000004); + event_ = null; + if (eventBuilder_ != null) { + eventBuilder_.dispose(); + eventBuilder_ = null; + } onChanged(); return this; } - - private int mode_ ; /** - * uint32 mode = 3; - * @return The mode. + * .datadog.cws.dumpsv1.IMDSEvent event = 3; */ - @java.lang.Override - public int getMode() { - return mode_; + public com.dd.cws.adv1.pb.SecDumpProto.IMDSEvent.Builder getEventBuilder() { + bitField0_ |= 0x00000004; + onChanged(); + return getEventFieldBuilder().getBuilder(); } /** - * uint32 mode = 3; - * @param value The mode to set. - * @return This builder for chaining. + * .datadog.cws.dumpsv1.IMDSEvent event = 3; */ - public Builder setMode(int value) { - - mode_ = value; - bitField0_ |= 0x00000004; - onChanged(); - return this; + public com.dd.cws.adv1.pb.SecDumpProto.IMDSEventOrBuilder getEventOrBuilder() { + if (eventBuilder_ != null) { + return eventBuilder_.getMessageOrBuilder(); + } else { + return event_ == null ? + com.dd.cws.adv1.pb.SecDumpProto.IMDSEvent.getDefaultInstance() : event_; + } } /** - * uint32 mode = 3; - * @return This builder for chaining. + * .datadog.cws.dumpsv1.IMDSEvent event = 3; */ - public Builder clearMode() { - bitField0_ = (bitField0_ & ~0x00000004); - mode_ = 0; - onChanged(); - return this; + private com.google.protobuf.SingleFieldBuilderV3< + com.dd.cws.adv1.pb.SecDumpProto.IMDSEvent, com.dd.cws.adv1.pb.SecDumpProto.IMDSEvent.Builder, com.dd.cws.adv1.pb.SecDumpProto.IMDSEventOrBuilder> + getEventFieldBuilder() { + if (eventBuilder_ == null) { + eventBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.dd.cws.adv1.pb.SecDumpProto.IMDSEvent, com.dd.cws.adv1.pb.SecDumpProto.IMDSEvent.Builder, com.dd.cws.adv1.pb.SecDumpProto.IMDSEventOrBuilder>( + getEvent(), + getParentForChildren(), + isClean()); + event_ = null; + } + return eventBuilder_; } @java.lang.Override public final Builder setUnknownFields( @@ -17340,23 +22198,23 @@ public final Builder mergeUnknownFields( } - // @@protoc_insertion_point(builder_scope:datadog.cws.dumpsv1.OpenNode) + // @@protoc_insertion_point(builder_scope:datadog.cws.dumpsv1.IMDSNode) } - // @@protoc_insertion_point(class_scope:datadog.cws.dumpsv1.OpenNode) - private static final com.dd.cws.adv1.pb.SecDumpProto.OpenNode DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:datadog.cws.dumpsv1.IMDSNode) + private static final com.dd.cws.adv1.pb.SecDumpProto.IMDSNode DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new com.dd.cws.adv1.pb.SecDumpProto.OpenNode(); + DEFAULT_INSTANCE = new com.dd.cws.adv1.pb.SecDumpProto.IMDSNode(); } - public static com.dd.cws.adv1.pb.SecDumpProto.OpenNode getDefaultInstance() { + public static com.dd.cws.adv1.pb.SecDumpProto.IMDSNode getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override - public OpenNode parsePartialFrom( + public IMDSNode parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -17375,122 +22233,139 @@ public OpenNode parsePartialFrom( } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public com.dd.cws.adv1.pb.SecDumpProto.OpenNode getDefaultInstanceForType() { + public com.dd.cws.adv1.pb.SecDumpProto.IMDSNode getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } - public interface DNSNodeOrBuilder extends - // @@protoc_insertion_point(interface_extends:datadog.cws.dumpsv1.DNSNode) + public interface IMDSEventOrBuilder extends + // @@protoc_insertion_point(interface_extends:datadog.cws.dumpsv1.IMDSEvent) com.google.protobuf.MessageOrBuilder { /** - * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 2; + * string type = 1; + * @return The type. */ - java.util.List - getMatchedRulesList(); + java.lang.String getType(); /** - * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 2; + * string type = 1; + * @return The bytes for type. */ - com.dd.cws.adv1.pb.SecDumpProto.MatchedRule getMatchedRules(int index); + com.google.protobuf.ByteString + getTypeBytes(); + /** - * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 2; + * string cloud_provider = 2; + * @return The cloudProvider. */ - int getMatchedRulesCount(); + java.lang.String getCloudProvider(); /** - * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 2; + * string cloud_provider = 2; + * @return The bytes for cloudProvider. */ - java.util.List - getMatchedRulesOrBuilderList(); + com.google.protobuf.ByteString + getCloudProviderBytes(); + /** - * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 2; + * string url = 3; + * @return The url. */ - com.dd.cws.adv1.pb.SecDumpProto.MatchedRuleOrBuilder getMatchedRulesOrBuilder( - int index); + java.lang.String getUrl(); + /** + * string url = 3; + * @return The bytes for url. + */ + com.google.protobuf.ByteString + getUrlBytes(); /** - * repeated string image_tags = 3; - * @return A list containing the imageTags. + * string host = 4; + * @return The host. */ - java.util.List - getImageTagsList(); + java.lang.String getHost(); /** - * repeated string image_tags = 3; - * @return The count of imageTags. + * string host = 4; + * @return The bytes for host. */ - int getImageTagsCount(); + com.google.protobuf.ByteString + getHostBytes(); + /** - * repeated string image_tags = 3; - * @param index The index of the element to return. - * @return The imageTags at the given index. + * string user_agent = 5; + * @return The userAgent. */ - java.lang.String getImageTags(int index); + java.lang.String getUserAgent(); /** - * repeated string image_tags = 3; - * @param index The index of the value to return. - * @return The bytes of the imageTags at the given index. + * string user_agent = 5; + * @return The bytes for userAgent. */ com.google.protobuf.ByteString - getImageTagsBytes(int index); + getUserAgentBytes(); /** - * repeated .datadog.cws.dumpsv1.DNSInfo requests = 1; + * string server = 6; + * @return The server. */ - java.util.List - getRequestsList(); + java.lang.String getServer(); /** - * repeated .datadog.cws.dumpsv1.DNSInfo requests = 1; + * string server = 6; + * @return The bytes for server. */ - com.dd.cws.adv1.pb.SecDumpProto.DNSInfo getRequests(int index); + com.google.protobuf.ByteString + getServerBytes(); + /** - * repeated .datadog.cws.dumpsv1.DNSInfo requests = 1; + * .datadog.cws.dumpsv1.AWSIMDSEvent aws = 7; + * @return Whether the aws field is set. */ - int getRequestsCount(); + boolean hasAws(); /** - * repeated .datadog.cws.dumpsv1.DNSInfo requests = 1; + * .datadog.cws.dumpsv1.AWSIMDSEvent aws = 7; + * @return The aws. */ - java.util.List - getRequestsOrBuilderList(); + com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEvent getAws(); /** - * repeated .datadog.cws.dumpsv1.DNSInfo requests = 1; + * .datadog.cws.dumpsv1.AWSIMDSEvent aws = 7; */ - com.dd.cws.adv1.pb.SecDumpProto.DNSInfoOrBuilder getRequestsOrBuilder( - int index); + com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEventOrBuilder getAwsOrBuilder(); } /** - * Protobuf type {@code datadog.cws.dumpsv1.DNSNode} + * Protobuf type {@code datadog.cws.dumpsv1.IMDSEvent} */ - public static final class DNSNode extends + public static final class IMDSEvent extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:datadog.cws.dumpsv1.DNSNode) - DNSNodeOrBuilder { + // @@protoc_insertion_point(message_implements:datadog.cws.dumpsv1.IMDSEvent) + IMDSEventOrBuilder { private static final long serialVersionUID = 0L; - // Use DNSNode.newBuilder() to construct. - private DNSNode(com.google.protobuf.GeneratedMessageV3.Builder builder) { + // Use IMDSEvent.newBuilder() to construct. + private IMDSEvent(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DNSNode() { - matchedRules_ = java.util.Collections.emptyList(); - imageTags_ = com.google.protobuf.LazyStringArrayList.EMPTY; - requests_ = java.util.Collections.emptyList(); + private IMDSEvent() { + type_ = ""; + cloudProvider_ = ""; + url_ = ""; + host_ = ""; + userAgent_ = ""; + server_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { - return new DNSNode(); + return new IMDSEvent(); } @java.lang.Override @@ -17500,133 +22375,275 @@ protected java.lang.Object newInstance( } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_DNSNode_descriptor; + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_IMDSEvent_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_DNSNode_fieldAccessorTable + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_IMDSEvent_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.dd.cws.adv1.pb.SecDumpProto.DNSNode.class, com.dd.cws.adv1.pb.SecDumpProto.DNSNode.Builder.class); + com.dd.cws.adv1.pb.SecDumpProto.IMDSEvent.class, com.dd.cws.adv1.pb.SecDumpProto.IMDSEvent.Builder.class); } - public static final int MATCHED_RULES_FIELD_NUMBER = 2; + public static final int TYPE_FIELD_NUMBER = 1; @SuppressWarnings("serial") - private java.util.List matchedRules_; + private volatile java.lang.Object type_ = ""; /** - * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 2; + * string type = 1; + * @return The type. */ @java.lang.Override - public java.util.List getMatchedRulesList() { - return matchedRules_; + public java.lang.String getType() { + java.lang.Object ref = type_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + type_ = s; + return s; + } } /** - * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 2; + * string type = 1; + * @return The bytes for type. */ @java.lang.Override - public java.util.List - getMatchedRulesOrBuilderList() { - return matchedRules_; + public com.google.protobuf.ByteString + getTypeBytes() { + java.lang.Object ref = type_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + type_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int CLOUD_PROVIDER_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object cloudProvider_ = ""; + /** + * string cloud_provider = 2; + * @return The cloudProvider. + */ + @java.lang.Override + public java.lang.String getCloudProvider() { + java.lang.Object ref = cloudProvider_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + cloudProvider_ = s; + return s; + } } /** - * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 2; + * string cloud_provider = 2; + * @return The bytes for cloudProvider. */ @java.lang.Override - public int getMatchedRulesCount() { - return matchedRules_.size(); + public com.google.protobuf.ByteString + getCloudProviderBytes() { + java.lang.Object ref = cloudProvider_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + cloudProvider_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } } + + public static final int URL_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private volatile java.lang.Object url_ = ""; /** - * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 2; + * string url = 3; + * @return The url. */ @java.lang.Override - public com.dd.cws.adv1.pb.SecDumpProto.MatchedRule getMatchedRules(int index) { - return matchedRules_.get(index); + public java.lang.String getUrl() { + java.lang.Object ref = url_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + url_ = s; + return s; + } } /** - * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 2; + * string url = 3; + * @return The bytes for url. */ @java.lang.Override - public com.dd.cws.adv1.pb.SecDumpProto.MatchedRuleOrBuilder getMatchedRulesOrBuilder( - int index) { - return matchedRules_.get(index); + public com.google.protobuf.ByteString + getUrlBytes() { + java.lang.Object ref = url_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + url_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } } - public static final int IMAGE_TAGS_FIELD_NUMBER = 3; + public static final int HOST_FIELD_NUMBER = 4; @SuppressWarnings("serial") - private com.google.protobuf.LazyStringList imageTags_; + private volatile java.lang.Object host_ = ""; /** - * repeated string image_tags = 3; - * @return A list containing the imageTags. + * string host = 4; + * @return The host. */ - public com.google.protobuf.ProtocolStringList - getImageTagsList() { - return imageTags_; + @java.lang.Override + public java.lang.String getHost() { + java.lang.Object ref = host_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + host_ = s; + return s; + } } /** - * repeated string image_tags = 3; - * @return The count of imageTags. + * string host = 4; + * @return The bytes for host. */ - public int getImageTagsCount() { - return imageTags_.size(); + @java.lang.Override + public com.google.protobuf.ByteString + getHostBytes() { + java.lang.Object ref = host_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + host_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } } + + public static final int USER_AGENT_FIELD_NUMBER = 5; + @SuppressWarnings("serial") + private volatile java.lang.Object userAgent_ = ""; /** - * repeated string image_tags = 3; - * @param index The index of the element to return. - * @return The imageTags at the given index. + * string user_agent = 5; + * @return The userAgent. */ - public java.lang.String getImageTags(int index) { - return imageTags_.get(index); + @java.lang.Override + public java.lang.String getUserAgent() { + java.lang.Object ref = userAgent_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + userAgent_ = s; + return s; + } } /** - * repeated string image_tags = 3; - * @param index The index of the value to return. - * @return The bytes of the imageTags at the given index. + * string user_agent = 5; + * @return The bytes for userAgent. */ + @java.lang.Override public com.google.protobuf.ByteString - getImageTagsBytes(int index) { - return imageTags_.getByteString(index); + getUserAgentBytes() { + java.lang.Object ref = userAgent_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + userAgent_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } } - public static final int REQUESTS_FIELD_NUMBER = 1; + public static final int SERVER_FIELD_NUMBER = 6; @SuppressWarnings("serial") - private java.util.List requests_; + private volatile java.lang.Object server_ = ""; /** - * repeated .datadog.cws.dumpsv1.DNSInfo requests = 1; + * string server = 6; + * @return The server. */ @java.lang.Override - public java.util.List getRequestsList() { - return requests_; + public java.lang.String getServer() { + java.lang.Object ref = server_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + server_ = s; + return s; + } } /** - * repeated .datadog.cws.dumpsv1.DNSInfo requests = 1; + * string server = 6; + * @return The bytes for server. */ @java.lang.Override - public java.util.List - getRequestsOrBuilderList() { - return requests_; + public com.google.protobuf.ByteString + getServerBytes() { + java.lang.Object ref = server_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + server_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } } + + public static final int AWS_FIELD_NUMBER = 7; + private com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEvent aws_; /** - * repeated .datadog.cws.dumpsv1.DNSInfo requests = 1; + * .datadog.cws.dumpsv1.AWSIMDSEvent aws = 7; + * @return Whether the aws field is set. */ @java.lang.Override - public int getRequestsCount() { - return requests_.size(); + public boolean hasAws() { + return aws_ != null; } /** - * repeated .datadog.cws.dumpsv1.DNSInfo requests = 1; + * .datadog.cws.dumpsv1.AWSIMDSEvent aws = 7; + * @return The aws. */ @java.lang.Override - public com.dd.cws.adv1.pb.SecDumpProto.DNSInfo getRequests(int index) { - return requests_.get(index); + public com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEvent getAws() { + return aws_ == null ? com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEvent.getDefaultInstance() : aws_; } /** - * repeated .datadog.cws.dumpsv1.DNSInfo requests = 1; + * .datadog.cws.dumpsv1.AWSIMDSEvent aws = 7; */ @java.lang.Override - public com.dd.cws.adv1.pb.SecDumpProto.DNSInfoOrBuilder getRequestsOrBuilder( - int index) { - return requests_.get(index); + public com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEventOrBuilder getAwsOrBuilder() { + return aws_ == null ? com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEvent.getDefaultInstance() : aws_; } private byte memoizedIsInitialized = -1; @@ -17643,14 +22660,26 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - for (int i = 0; i < requests_.size(); i++) { - output.writeMessage(1, requests_.get(i)); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(type_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, type_); } - for (int i = 0; i < matchedRules_.size(); i++) { - output.writeMessage(2, matchedRules_.get(i)); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(cloudProvider_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, cloudProvider_); } - for (int i = 0; i < imageTags_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, imageTags_.getRaw(i)); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(url_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, url_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(host_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, host_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(userAgent_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, userAgent_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(server_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 6, server_); + } + if (aws_ != null) { + output.writeMessage(7, getAws()); } getUnknownFields().writeTo(output); } @@ -17661,21 +22690,27 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - for (int i = 0; i < requests_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, requests_.get(i)); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(type_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, type_); } - for (int i = 0; i < matchedRules_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, matchedRules_.get(i)); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(cloudProvider_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, cloudProvider_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(url_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, url_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(host_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, host_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(userAgent_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, userAgent_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(server_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, server_); } - { - int dataSize = 0; - for (int i = 0; i < imageTags_.size(); i++) { - dataSize += computeStringSizeNoTag(imageTags_.getRaw(i)); - } - size += dataSize; - size += 1 * getImageTagsList().size(); + if (aws_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getAws()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -17687,17 +22722,28 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof com.dd.cws.adv1.pb.SecDumpProto.DNSNode)) { + if (!(obj instanceof com.dd.cws.adv1.pb.SecDumpProto.IMDSEvent)) { return super.equals(obj); } - com.dd.cws.adv1.pb.SecDumpProto.DNSNode other = (com.dd.cws.adv1.pb.SecDumpProto.DNSNode) obj; + com.dd.cws.adv1.pb.SecDumpProto.IMDSEvent other = (com.dd.cws.adv1.pb.SecDumpProto.IMDSEvent) obj; - if (!getMatchedRulesList() - .equals(other.getMatchedRulesList())) return false; - if (!getImageTagsList() - .equals(other.getImageTagsList())) return false; - if (!getRequestsList() - .equals(other.getRequestsList())) return false; + if (!getType() + .equals(other.getType())) return false; + if (!getCloudProvider() + .equals(other.getCloudProvider())) return false; + if (!getUrl() + .equals(other.getUrl())) return false; + if (!getHost() + .equals(other.getHost())) return false; + if (!getUserAgent() + .equals(other.getUserAgent())) return false; + if (!getServer() + .equals(other.getServer())) return false; + if (hasAws() != other.hasAws()) return false; + if (hasAws()) { + if (!getAws() + .equals(other.getAws())) return false; + } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -17709,86 +22755,90 @@ public int hashCode() { } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); - if (getMatchedRulesCount() > 0) { - hash = (37 * hash) + MATCHED_RULES_FIELD_NUMBER; - hash = (53 * hash) + getMatchedRulesList().hashCode(); - } - if (getImageTagsCount() > 0) { - hash = (37 * hash) + IMAGE_TAGS_FIELD_NUMBER; - hash = (53 * hash) + getImageTagsList().hashCode(); - } - if (getRequestsCount() > 0) { - hash = (37 * hash) + REQUESTS_FIELD_NUMBER; - hash = (53 * hash) + getRequestsList().hashCode(); + hash = (37 * hash) + TYPE_FIELD_NUMBER; + hash = (53 * hash) + getType().hashCode(); + hash = (37 * hash) + CLOUD_PROVIDER_FIELD_NUMBER; + hash = (53 * hash) + getCloudProvider().hashCode(); + hash = (37 * hash) + URL_FIELD_NUMBER; + hash = (53 * hash) + getUrl().hashCode(); + hash = (37 * hash) + HOST_FIELD_NUMBER; + hash = (53 * hash) + getHost().hashCode(); + hash = (37 * hash) + USER_AGENT_FIELD_NUMBER; + hash = (53 * hash) + getUserAgent().hashCode(); + hash = (37 * hash) + SERVER_FIELD_NUMBER; + hash = (53 * hash) + getServer().hashCode(); + if (hasAws()) { + hash = (37 * hash) + AWS_FIELD_NUMBER; + hash = (53 * hash) + getAws().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.dd.cws.adv1.pb.SecDumpProto.DNSNode parseFrom( + public static com.dd.cws.adv1.pb.SecDumpProto.IMDSEvent parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.dd.cws.adv1.pb.SecDumpProto.DNSNode parseFrom( + public static com.dd.cws.adv1.pb.SecDumpProto.IMDSEvent parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.dd.cws.adv1.pb.SecDumpProto.DNSNode parseFrom( + public static com.dd.cws.adv1.pb.SecDumpProto.IMDSEvent parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.dd.cws.adv1.pb.SecDumpProto.DNSNode parseFrom( + public static com.dd.cws.adv1.pb.SecDumpProto.IMDSEvent parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.dd.cws.adv1.pb.SecDumpProto.DNSNode parseFrom(byte[] data) + public static com.dd.cws.adv1.pb.SecDumpProto.IMDSEvent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.dd.cws.adv1.pb.SecDumpProto.DNSNode parseFrom( + public static com.dd.cws.adv1.pb.SecDumpProto.IMDSEvent parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.dd.cws.adv1.pb.SecDumpProto.DNSNode parseFrom(java.io.InputStream input) + public static com.dd.cws.adv1.pb.SecDumpProto.IMDSEvent parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static com.dd.cws.adv1.pb.SecDumpProto.DNSNode parseFrom( + public static com.dd.cws.adv1.pb.SecDumpProto.IMDSEvent parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.dd.cws.adv1.pb.SecDumpProto.DNSNode parseDelimitedFrom(java.io.InputStream input) + public static com.dd.cws.adv1.pb.SecDumpProto.IMDSEvent parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } - public static com.dd.cws.adv1.pb.SecDumpProto.DNSNode parseDelimitedFrom( + public static com.dd.cws.adv1.pb.SecDumpProto.IMDSEvent parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.dd.cws.adv1.pb.SecDumpProto.DNSNode parseFrom( + public static com.dd.cws.adv1.pb.SecDumpProto.IMDSEvent parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static com.dd.cws.adv1.pb.SecDumpProto.DNSNode parseFrom( + public static com.dd.cws.adv1.pb.SecDumpProto.IMDSEvent parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -17801,7 +22851,7 @@ public static com.dd.cws.adv1.pb.SecDumpProto.DNSNode parseFrom( public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.dd.cws.adv1.pb.SecDumpProto.DNSNode prototype) { + public static Builder newBuilder(com.dd.cws.adv1.pb.SecDumpProto.IMDSEvent prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override @@ -17817,26 +22867,26 @@ protected Builder newBuilderForType( return builder; } /** - * Protobuf type {@code datadog.cws.dumpsv1.DNSNode} + * Protobuf type {@code datadog.cws.dumpsv1.IMDSEvent} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:datadog.cws.dumpsv1.DNSNode) - com.dd.cws.adv1.pb.SecDumpProto.DNSNodeOrBuilder { + // @@protoc_insertion_point(builder_implements:datadog.cws.dumpsv1.IMDSEvent) + com.dd.cws.adv1.pb.SecDumpProto.IMDSEventOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_DNSNode_descriptor; + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_IMDSEvent_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_DNSNode_fieldAccessorTable + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_IMDSEvent_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.dd.cws.adv1.pb.SecDumpProto.DNSNode.class, com.dd.cws.adv1.pb.SecDumpProto.DNSNode.Builder.class); + com.dd.cws.adv1.pb.SecDumpProto.IMDSEvent.class, com.dd.cws.adv1.pb.SecDumpProto.IMDSEvent.Builder.class); } - // Construct using com.dd.cws.adv1.pb.SecDumpProto.DNSNode.newBuilder() + // Construct using com.dd.cws.adv1.pb.SecDumpProto.IMDSEvent.newBuilder() private Builder() { } @@ -17850,39 +22900,34 @@ private Builder( public Builder clear() { super.clear(); bitField0_ = 0; - if (matchedRulesBuilder_ == null) { - matchedRules_ = java.util.Collections.emptyList(); - } else { - matchedRules_ = null; - matchedRulesBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000001); - imageTags_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000002); - if (requestsBuilder_ == null) { - requests_ = java.util.Collections.emptyList(); - } else { - requests_ = null; - requestsBuilder_.clear(); + type_ = ""; + cloudProvider_ = ""; + url_ = ""; + host_ = ""; + userAgent_ = ""; + server_ = ""; + aws_ = null; + if (awsBuilder_ != null) { + awsBuilder_.dispose(); + awsBuilder_ = null; } - bitField0_ = (bitField0_ & ~0x00000004); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_DNSNode_descriptor; + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_IMDSEvent_descriptor; } @java.lang.Override - public com.dd.cws.adv1.pb.SecDumpProto.DNSNode getDefaultInstanceForType() { - return com.dd.cws.adv1.pb.SecDumpProto.DNSNode.getDefaultInstance(); + public com.dd.cws.adv1.pb.SecDumpProto.IMDSEvent getDefaultInstanceForType() { + return com.dd.cws.adv1.pb.SecDumpProto.IMDSEvent.getDefaultInstance(); } @java.lang.Override - public com.dd.cws.adv1.pb.SecDumpProto.DNSNode build() { - com.dd.cws.adv1.pb.SecDumpProto.DNSNode result = buildPartial(); + public com.dd.cws.adv1.pb.SecDumpProto.IMDSEvent build() { + com.dd.cws.adv1.pb.SecDumpProto.IMDSEvent result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -17890,42 +22935,38 @@ public com.dd.cws.adv1.pb.SecDumpProto.DNSNode build() { } @java.lang.Override - public com.dd.cws.adv1.pb.SecDumpProto.DNSNode buildPartial() { - com.dd.cws.adv1.pb.SecDumpProto.DNSNode result = new com.dd.cws.adv1.pb.SecDumpProto.DNSNode(this); - buildPartialRepeatedFields(result); + public com.dd.cws.adv1.pb.SecDumpProto.IMDSEvent buildPartial() { + com.dd.cws.adv1.pb.SecDumpProto.IMDSEvent result = new com.dd.cws.adv1.pb.SecDumpProto.IMDSEvent(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.dd.cws.adv1.pb.SecDumpProto.DNSNode result) { - if (matchedRulesBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0)) { - matchedRules_ = java.util.Collections.unmodifiableList(matchedRules_); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.matchedRules_ = matchedRules_; - } else { - result.matchedRules_ = matchedRulesBuilder_.build(); + private void buildPartial0(com.dd.cws.adv1.pb.SecDumpProto.IMDSEvent result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.type_ = type_; } - if (((bitField0_ & 0x00000002) != 0)) { - imageTags_ = imageTags_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000002); + if (((from_bitField0_ & 0x00000002) != 0)) { + result.cloudProvider_ = cloudProvider_; } - result.imageTags_ = imageTags_; - if (requestsBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0)) { - requests_ = java.util.Collections.unmodifiableList(requests_); - bitField0_ = (bitField0_ & ~0x00000004); - } - result.requests_ = requests_; - } else { - result.requests_ = requestsBuilder_.build(); + if (((from_bitField0_ & 0x00000004) != 0)) { + result.url_ = url_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.host_ = host_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.userAgent_ = userAgent_; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.server_ = server_; + } + if (((from_bitField0_ & 0x00000040) != 0)) { + result.aws_ = awsBuilder_ == null + ? aws_ + : awsBuilder_.build(); } - } - - private void buildPartial0(com.dd.cws.adv1.pb.SecDumpProto.DNSNode result) { - int from_bitField0_ = bitField0_; } @java.lang.Override @@ -17962,77 +23003,48 @@ public Builder addRepeatedField( } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.dd.cws.adv1.pb.SecDumpProto.DNSNode) { - return mergeFrom((com.dd.cws.adv1.pb.SecDumpProto.DNSNode)other); + if (other instanceof com.dd.cws.adv1.pb.SecDumpProto.IMDSEvent) { + return mergeFrom((com.dd.cws.adv1.pb.SecDumpProto.IMDSEvent)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.dd.cws.adv1.pb.SecDumpProto.DNSNode other) { - if (other == com.dd.cws.adv1.pb.SecDumpProto.DNSNode.getDefaultInstance()) return this; - if (matchedRulesBuilder_ == null) { - if (!other.matchedRules_.isEmpty()) { - if (matchedRules_.isEmpty()) { - matchedRules_ = other.matchedRules_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureMatchedRulesIsMutable(); - matchedRules_.addAll(other.matchedRules_); - } - onChanged(); - } - } else { - if (!other.matchedRules_.isEmpty()) { - if (matchedRulesBuilder_.isEmpty()) { - matchedRulesBuilder_.dispose(); - matchedRulesBuilder_ = null; - matchedRules_ = other.matchedRules_; - bitField0_ = (bitField0_ & ~0x00000001); - matchedRulesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getMatchedRulesFieldBuilder() : null; - } else { - matchedRulesBuilder_.addAllMessages(other.matchedRules_); - } - } + public Builder mergeFrom(com.dd.cws.adv1.pb.SecDumpProto.IMDSEvent other) { + if (other == com.dd.cws.adv1.pb.SecDumpProto.IMDSEvent.getDefaultInstance()) return this; + if (!other.getType().isEmpty()) { + type_ = other.type_; + bitField0_ |= 0x00000001; + onChanged(); } - if (!other.imageTags_.isEmpty()) { - if (imageTags_.isEmpty()) { - imageTags_ = other.imageTags_; - bitField0_ = (bitField0_ & ~0x00000002); - } else { - ensureImageTagsIsMutable(); - imageTags_.addAll(other.imageTags_); - } + if (!other.getCloudProvider().isEmpty()) { + cloudProvider_ = other.cloudProvider_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.getUrl().isEmpty()) { + url_ = other.url_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (!other.getHost().isEmpty()) { + host_ = other.host_; + bitField0_ |= 0x00000008; + onChanged(); + } + if (!other.getUserAgent().isEmpty()) { + userAgent_ = other.userAgent_; + bitField0_ |= 0x00000010; + onChanged(); + } + if (!other.getServer().isEmpty()) { + server_ = other.server_; + bitField0_ |= 0x00000020; onChanged(); } - if (requestsBuilder_ == null) { - if (!other.requests_.isEmpty()) { - if (requests_.isEmpty()) { - requests_ = other.requests_; - bitField0_ = (bitField0_ & ~0x00000004); - } else { - ensureRequestsIsMutable(); - requests_.addAll(other.requests_); - } - onChanged(); - } - } else { - if (!other.requests_.isEmpty()) { - if (requestsBuilder_.isEmpty()) { - requestsBuilder_.dispose(); - requestsBuilder_ = null; - requests_ = other.requests_; - bitField0_ = (bitField0_ & ~0x00000004); - requestsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getRequestsFieldBuilder() : null; - } else { - requestsBuilder_.addAllMessages(other.requests_); - } - } + if (other.hasAws()) { + mergeAws(other.getAws()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -18061,37 +23073,42 @@ public Builder mergeFrom( done = true; break; case 10: { - com.dd.cws.adv1.pb.SecDumpProto.DNSInfo m = - input.readMessage( - com.dd.cws.adv1.pb.SecDumpProto.DNSInfo.parser(), - extensionRegistry); - if (requestsBuilder_ == null) { - ensureRequestsIsMutable(); - requests_.add(m); - } else { - requestsBuilder_.addMessage(m); - } + type_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; break; } // case 10 case 18: { - com.dd.cws.adv1.pb.SecDumpProto.MatchedRule m = - input.readMessage( - com.dd.cws.adv1.pb.SecDumpProto.MatchedRule.parser(), - extensionRegistry); - if (matchedRulesBuilder_ == null) { - ensureMatchedRulesIsMutable(); - matchedRules_.add(m); - } else { - matchedRulesBuilder_.addMessage(m); - } + cloudProvider_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; break; } // case 18 case 26: { - java.lang.String s = input.readStringRequireUtf8(); - ensureImageTagsIsMutable(); - imageTags_.add(s); + url_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; break; } // case 26 + case 34: { + host_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + userAgent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: { + server_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 50 + case 58: { + input.readMessage( + getAwsFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000040; + break; + } // case 58 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag @@ -18109,588 +23126,555 @@ public Builder mergeFrom( } private int bitField0_; - private java.util.List matchedRules_ = - java.util.Collections.emptyList(); - private void ensureMatchedRulesIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - matchedRules_ = new java.util.ArrayList(matchedRules_); - bitField0_ |= 0x00000001; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.dd.cws.adv1.pb.SecDumpProto.MatchedRule, com.dd.cws.adv1.pb.SecDumpProto.MatchedRule.Builder, com.dd.cws.adv1.pb.SecDumpProto.MatchedRuleOrBuilder> matchedRulesBuilder_; - - /** - * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 2; - */ - public java.util.List getMatchedRulesList() { - if (matchedRulesBuilder_ == null) { - return java.util.Collections.unmodifiableList(matchedRules_); - } else { - return matchedRulesBuilder_.getMessageList(); - } - } - /** - * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 2; - */ - public int getMatchedRulesCount() { - if (matchedRulesBuilder_ == null) { - return matchedRules_.size(); - } else { - return matchedRulesBuilder_.getCount(); - } - } - /** - * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 2; - */ - public com.dd.cws.adv1.pb.SecDumpProto.MatchedRule getMatchedRules(int index) { - if (matchedRulesBuilder_ == null) { - return matchedRules_.get(index); - } else { - return matchedRulesBuilder_.getMessage(index); - } - } - /** - * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 2; - */ - public Builder setMatchedRules( - int index, com.dd.cws.adv1.pb.SecDumpProto.MatchedRule value) { - if (matchedRulesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureMatchedRulesIsMutable(); - matchedRules_.set(index, value); - onChanged(); - } else { - matchedRulesBuilder_.setMessage(index, value); - } - return this; - } - /** - * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 2; - */ - public Builder setMatchedRules( - int index, com.dd.cws.adv1.pb.SecDumpProto.MatchedRule.Builder builderForValue) { - if (matchedRulesBuilder_ == null) { - ensureMatchedRulesIsMutable(); - matchedRules_.set(index, builderForValue.build()); - onChanged(); - } else { - matchedRulesBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 2; - */ - public Builder addMatchedRules(com.dd.cws.adv1.pb.SecDumpProto.MatchedRule value) { - if (matchedRulesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureMatchedRulesIsMutable(); - matchedRules_.add(value); - onChanged(); - } else { - matchedRulesBuilder_.addMessage(value); - } - return this; - } - /** - * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 2; - */ - public Builder addMatchedRules( - int index, com.dd.cws.adv1.pb.SecDumpProto.MatchedRule value) { - if (matchedRulesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureMatchedRulesIsMutable(); - matchedRules_.add(index, value); - onChanged(); - } else { - matchedRulesBuilder_.addMessage(index, value); - } - return this; - } - /** - * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 2; - */ - public Builder addMatchedRules( - com.dd.cws.adv1.pb.SecDumpProto.MatchedRule.Builder builderForValue) { - if (matchedRulesBuilder_ == null) { - ensureMatchedRulesIsMutable(); - matchedRules_.add(builderForValue.build()); - onChanged(); - } else { - matchedRulesBuilder_.addMessage(builderForValue.build()); - } - return this; - } + private java.lang.Object type_ = ""; /** - * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 2; + * string type = 1; + * @return The type. */ - public Builder addMatchedRules( - int index, com.dd.cws.adv1.pb.SecDumpProto.MatchedRule.Builder builderForValue) { - if (matchedRulesBuilder_ == null) { - ensureMatchedRulesIsMutable(); - matchedRules_.add(index, builderForValue.build()); - onChanged(); + public java.lang.String getType() { + java.lang.Object ref = type_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + type_ = s; + return s; } else { - matchedRulesBuilder_.addMessage(index, builderForValue.build()); + return (java.lang.String) ref; } - return this; } /** - * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 2; + * string type = 1; + * @return The bytes for type. */ - public Builder addAllMatchedRules( - java.lang.Iterable values) { - if (matchedRulesBuilder_ == null) { - ensureMatchedRulesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, matchedRules_); - onChanged(); + public com.google.protobuf.ByteString + getTypeBytes() { + java.lang.Object ref = type_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + type_ = b; + return b; } else { - matchedRulesBuilder_.addAllMessages(values); + return (com.google.protobuf.ByteString) ref; } - return this; } /** - * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 2; - */ - public Builder clearMatchedRules() { - if (matchedRulesBuilder_ == null) { - matchedRules_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - } else { - matchedRulesBuilder_.clear(); - } + * string type = 1; + * @param value The type to set. + * @return This builder for chaining. + */ + public Builder setType( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + type_ = value; + bitField0_ |= 0x00000001; + onChanged(); return this; } /** - * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 2; + * string type = 1; + * @return This builder for chaining. */ - public Builder removeMatchedRules(int index) { - if (matchedRulesBuilder_ == null) { - ensureMatchedRulesIsMutable(); - matchedRules_.remove(index); - onChanged(); - } else { - matchedRulesBuilder_.remove(index); - } + public Builder clearType() { + type_ = getDefaultInstance().getType(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); return this; } /** - * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 2; + * string type = 1; + * @param value The bytes for type to set. + * @return This builder for chaining. */ - public com.dd.cws.adv1.pb.SecDumpProto.MatchedRule.Builder getMatchedRulesBuilder( - int index) { - return getMatchedRulesFieldBuilder().getBuilder(index); + public Builder setTypeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + type_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; } + + private java.lang.Object cloudProvider_ = ""; /** - * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 2; + * string cloud_provider = 2; + * @return The cloudProvider. */ - public com.dd.cws.adv1.pb.SecDumpProto.MatchedRuleOrBuilder getMatchedRulesOrBuilder( - int index) { - if (matchedRulesBuilder_ == null) { - return matchedRules_.get(index); } else { - return matchedRulesBuilder_.getMessageOrBuilder(index); + public java.lang.String getCloudProvider() { + java.lang.Object ref = cloudProvider_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + cloudProvider_ = s; + return s; + } else { + return (java.lang.String) ref; } } /** - * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 2; + * string cloud_provider = 2; + * @return The bytes for cloudProvider. */ - public java.util.List - getMatchedRulesOrBuilderList() { - if (matchedRulesBuilder_ != null) { - return matchedRulesBuilder_.getMessageOrBuilderList(); + public com.google.protobuf.ByteString + getCloudProviderBytes() { + java.lang.Object ref = cloudProvider_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + cloudProvider_ = b; + return b; } else { - return java.util.Collections.unmodifiableList(matchedRules_); + return (com.google.protobuf.ByteString) ref; } } /** - * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 2; + * string cloud_provider = 2; + * @param value The cloudProvider to set. + * @return This builder for chaining. */ - public com.dd.cws.adv1.pb.SecDumpProto.MatchedRule.Builder addMatchedRulesBuilder() { - return getMatchedRulesFieldBuilder().addBuilder( - com.dd.cws.adv1.pb.SecDumpProto.MatchedRule.getDefaultInstance()); + public Builder setCloudProvider( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + cloudProvider_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; } /** - * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 2; + * string cloud_provider = 2; + * @return This builder for chaining. */ - public com.dd.cws.adv1.pb.SecDumpProto.MatchedRule.Builder addMatchedRulesBuilder( - int index) { - return getMatchedRulesFieldBuilder().addBuilder( - index, com.dd.cws.adv1.pb.SecDumpProto.MatchedRule.getDefaultInstance()); + public Builder clearCloudProvider() { + cloudProvider_ = getDefaultInstance().getCloudProvider(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; } /** - * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 2; + * string cloud_provider = 2; + * @param value The bytes for cloudProvider to set. + * @return This builder for chaining. */ - public java.util.List - getMatchedRulesBuilderList() { - return getMatchedRulesFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.dd.cws.adv1.pb.SecDumpProto.MatchedRule, com.dd.cws.adv1.pb.SecDumpProto.MatchedRule.Builder, com.dd.cws.adv1.pb.SecDumpProto.MatchedRuleOrBuilder> - getMatchedRulesFieldBuilder() { - if (matchedRulesBuilder_ == null) { - matchedRulesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.dd.cws.adv1.pb.SecDumpProto.MatchedRule, com.dd.cws.adv1.pb.SecDumpProto.MatchedRule.Builder, com.dd.cws.adv1.pb.SecDumpProto.MatchedRuleOrBuilder>( - matchedRules_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); - matchedRules_ = null; - } - return matchedRulesBuilder_; + public Builder setCloudProviderBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + cloudProvider_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; } - private com.google.protobuf.LazyStringList imageTags_ = com.google.protobuf.LazyStringArrayList.EMPTY; - private void ensureImageTagsIsMutable() { - if (!((bitField0_ & 0x00000002) != 0)) { - imageTags_ = new com.google.protobuf.LazyStringArrayList(imageTags_); - bitField0_ |= 0x00000002; - } - } - /** - * repeated string image_tags = 3; - * @return A list containing the imageTags. - */ - public com.google.protobuf.ProtocolStringList - getImageTagsList() { - return imageTags_.getUnmodifiableView(); - } + private java.lang.Object url_ = ""; /** - * repeated string image_tags = 3; - * @return The count of imageTags. + * string url = 3; + * @return The url. */ - public int getImageTagsCount() { - return imageTags_.size(); + public java.lang.String getUrl() { + java.lang.Object ref = url_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + url_ = s; + return s; + } else { + return (java.lang.String) ref; + } } /** - * repeated string image_tags = 3; - * @param index The index of the element to return. - * @return The imageTags at the given index. + * string url = 3; + * @return The bytes for url. */ - public java.lang.String getImageTags(int index) { - return imageTags_.get(index); + public com.google.protobuf.ByteString + getUrlBytes() { + java.lang.Object ref = url_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + url_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } } /** - * repeated string image_tags = 3; - * @param index The index of the value to return. - * @return The bytes of the imageTags at the given index. + * string url = 3; + * @param value The url to set. + * @return This builder for chaining. */ - public com.google.protobuf.ByteString - getImageTagsBytes(int index) { - return imageTags_.getByteString(index); + public Builder setUrl( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + url_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; } /** - * repeated string image_tags = 3; - * @param index The index to set the value at. - * @param value The imageTags to set. + * string url = 3; * @return This builder for chaining. */ - public Builder setImageTags( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } - ensureImageTagsIsMutable(); - imageTags_.set(index, value); + public Builder clearUrl() { + url_ = getDefaultInstance().getUrl(); + bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } /** - * repeated string image_tags = 3; - * @param value The imageTags to add. + * string url = 3; + * @param value The bytes for url to set. * @return This builder for chaining. */ - public Builder addImageTags( - java.lang.String value) { + public Builder setUrlBytes( + com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } - ensureImageTagsIsMutable(); - imageTags_.add(value); + checkByteStringIsUtf8(value); + url_ = value; + bitField0_ |= 0x00000004; onChanged(); return this; } + + private java.lang.Object host_ = ""; + /** + * string host = 4; + * @return The host. + */ + public java.lang.String getHost() { + java.lang.Object ref = host_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + host_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string host = 4; + * @return The bytes for host. + */ + public com.google.protobuf.ByteString + getHostBytes() { + java.lang.Object ref = host_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + host_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } /** - * repeated string image_tags = 3; - * @param values The imageTags to add. + * string host = 4; + * @param value The host to set. * @return This builder for chaining. */ - public Builder addAllImageTags( - java.lang.Iterable values) { - ensureImageTagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, imageTags_); + public Builder setHost( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + host_ = value; + bitField0_ |= 0x00000008; onChanged(); return this; } /** - * repeated string image_tags = 3; + * string host = 4; * @return This builder for chaining. */ - public Builder clearImageTags() { - imageTags_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000002); + public Builder clearHost() { + host_ = getDefaultInstance().getHost(); + bitField0_ = (bitField0_ & ~0x00000008); onChanged(); return this; } /** - * repeated string image_tags = 3; - * @param value The bytes of the imageTags to add. + * string host = 4; + * @param value The bytes for host to set. * @return This builder for chaining. */ - public Builder addImageTagsBytes( + public Builder setHostBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); - ensureImageTagsIsMutable(); - imageTags_.add(value); + host_ = value; + bitField0_ |= 0x00000008; onChanged(); return this; } - private java.util.List requests_ = - java.util.Collections.emptyList(); - private void ensureRequestsIsMutable() { - if (!((bitField0_ & 0x00000004) != 0)) { - requests_ = new java.util.ArrayList(requests_); - bitField0_ |= 0x00000004; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.dd.cws.adv1.pb.SecDumpProto.DNSInfo, com.dd.cws.adv1.pb.SecDumpProto.DNSInfo.Builder, com.dd.cws.adv1.pb.SecDumpProto.DNSInfoOrBuilder> requestsBuilder_; - + private java.lang.Object userAgent_ = ""; /** - * repeated .datadog.cws.dumpsv1.DNSInfo requests = 1; + * string user_agent = 5; + * @return The userAgent. */ - public java.util.List getRequestsList() { - if (requestsBuilder_ == null) { - return java.util.Collections.unmodifiableList(requests_); + public java.lang.String getUserAgent() { + java.lang.Object ref = userAgent_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + userAgent_ = s; + return s; } else { - return requestsBuilder_.getMessageList(); + return (java.lang.String) ref; } } /** - * repeated .datadog.cws.dumpsv1.DNSInfo requests = 1; + * string user_agent = 5; + * @return The bytes for userAgent. */ - public int getRequestsCount() { - if (requestsBuilder_ == null) { - return requests_.size(); + public com.google.protobuf.ByteString + getUserAgentBytes() { + java.lang.Object ref = userAgent_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + userAgent_ = b; + return b; } else { - return requestsBuilder_.getCount(); + return (com.google.protobuf.ByteString) ref; } } /** - * repeated .datadog.cws.dumpsv1.DNSInfo requests = 1; + * string user_agent = 5; + * @param value The userAgent to set. + * @return This builder for chaining. */ - public com.dd.cws.adv1.pb.SecDumpProto.DNSInfo getRequests(int index) { - if (requestsBuilder_ == null) { - return requests_.get(index); - } else { - return requestsBuilder_.getMessage(index); - } + public Builder setUserAgent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + userAgent_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; } /** - * repeated .datadog.cws.dumpsv1.DNSInfo requests = 1; + * string user_agent = 5; + * @return This builder for chaining. */ - public Builder setRequests( - int index, com.dd.cws.adv1.pb.SecDumpProto.DNSInfo value) { - if (requestsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureRequestsIsMutable(); - requests_.set(index, value); - onChanged(); - } else { - requestsBuilder_.setMessage(index, value); - } + public Builder clearUserAgent() { + userAgent_ = getDefaultInstance().getUserAgent(); + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); return this; } /** - * repeated .datadog.cws.dumpsv1.DNSInfo requests = 1; + * string user_agent = 5; + * @param value The bytes for userAgent to set. + * @return This builder for chaining. */ - public Builder setRequests( - int index, com.dd.cws.adv1.pb.SecDumpProto.DNSInfo.Builder builderForValue) { - if (requestsBuilder_ == null) { - ensureRequestsIsMutable(); - requests_.set(index, builderForValue.build()); - onChanged(); - } else { - requestsBuilder_.setMessage(index, builderForValue.build()); - } + public Builder setUserAgentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + userAgent_ = value; + bitField0_ |= 0x00000010; + onChanged(); return this; } + + private java.lang.Object server_ = ""; /** - * repeated .datadog.cws.dumpsv1.DNSInfo requests = 1; + * string server = 6; + * @return The server. */ - public Builder addRequests(com.dd.cws.adv1.pb.SecDumpProto.DNSInfo value) { - if (requestsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureRequestsIsMutable(); - requests_.add(value); - onChanged(); + public java.lang.String getServer() { + java.lang.Object ref = server_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + server_ = s; + return s; } else { - requestsBuilder_.addMessage(value); + return (java.lang.String) ref; } - return this; } /** - * repeated .datadog.cws.dumpsv1.DNSInfo requests = 1; + * string server = 6; + * @return The bytes for server. */ - public Builder addRequests( - int index, com.dd.cws.adv1.pb.SecDumpProto.DNSInfo value) { - if (requestsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureRequestsIsMutable(); - requests_.add(index, value); - onChanged(); + public com.google.protobuf.ByteString + getServerBytes() { + java.lang.Object ref = server_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + server_ = b; + return b; } else { - requestsBuilder_.addMessage(index, value); + return (com.google.protobuf.ByteString) ref; } + } + /** + * string server = 6; + * @param value The server to set. + * @return This builder for chaining. + */ + public Builder setServer( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + server_ = value; + bitField0_ |= 0x00000020; + onChanged(); return this; } /** - * repeated .datadog.cws.dumpsv1.DNSInfo requests = 1; + * string server = 6; + * @return This builder for chaining. */ - public Builder addRequests( - com.dd.cws.adv1.pb.SecDumpProto.DNSInfo.Builder builderForValue) { - if (requestsBuilder_ == null) { - ensureRequestsIsMutable(); - requests_.add(builderForValue.build()); - onChanged(); - } else { - requestsBuilder_.addMessage(builderForValue.build()); - } + public Builder clearServer() { + server_ = getDefaultInstance().getServer(); + bitField0_ = (bitField0_ & ~0x00000020); + onChanged(); return this; } /** - * repeated .datadog.cws.dumpsv1.DNSInfo requests = 1; + * string server = 6; + * @param value The bytes for server to set. + * @return This builder for chaining. */ - public Builder addRequests( - int index, com.dd.cws.adv1.pb.SecDumpProto.DNSInfo.Builder builderForValue) { - if (requestsBuilder_ == null) { - ensureRequestsIsMutable(); - requests_.add(index, builderForValue.build()); - onChanged(); - } else { - requestsBuilder_.addMessage(index, builderForValue.build()); - } + public Builder setServerBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + server_ = value; + bitField0_ |= 0x00000020; + onChanged(); return this; } + + private com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEvent aws_; + private com.google.protobuf.SingleFieldBuilderV3< + com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEvent, com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEvent.Builder, com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEventOrBuilder> awsBuilder_; /** - * repeated .datadog.cws.dumpsv1.DNSInfo requests = 1; + * .datadog.cws.dumpsv1.AWSIMDSEvent aws = 7; + * @return Whether the aws field is set. */ - public Builder addAllRequests( - java.lang.Iterable values) { - if (requestsBuilder_ == null) { - ensureRequestsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, requests_); - onChanged(); + public boolean hasAws() { + return ((bitField0_ & 0x00000040) != 0); + } + /** + * .datadog.cws.dumpsv1.AWSIMDSEvent aws = 7; + * @return The aws. + */ + public com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEvent getAws() { + if (awsBuilder_ == null) { + return aws_ == null ? com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEvent.getDefaultInstance() : aws_; } else { - requestsBuilder_.addAllMessages(values); + return awsBuilder_.getMessage(); } - return this; } /** - * repeated .datadog.cws.dumpsv1.DNSInfo requests = 1; + * .datadog.cws.dumpsv1.AWSIMDSEvent aws = 7; */ - public Builder clearRequests() { - if (requestsBuilder_ == null) { - requests_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - onChanged(); + public Builder setAws(com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEvent value) { + if (awsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + aws_ = value; } else { - requestsBuilder_.clear(); + awsBuilder_.setMessage(value); } + bitField0_ |= 0x00000040; + onChanged(); return this; } /** - * repeated .datadog.cws.dumpsv1.DNSInfo requests = 1; + * .datadog.cws.dumpsv1.AWSIMDSEvent aws = 7; */ - public Builder removeRequests(int index) { - if (requestsBuilder_ == null) { - ensureRequestsIsMutable(); - requests_.remove(index); - onChanged(); + public Builder setAws( + com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEvent.Builder builderForValue) { + if (awsBuilder_ == null) { + aws_ = builderForValue.build(); } else { - requestsBuilder_.remove(index); + awsBuilder_.setMessage(builderForValue.build()); } + bitField0_ |= 0x00000040; + onChanged(); return this; } /** - * repeated .datadog.cws.dumpsv1.DNSInfo requests = 1; - */ - public com.dd.cws.adv1.pb.SecDumpProto.DNSInfo.Builder getRequestsBuilder( - int index) { - return getRequestsFieldBuilder().getBuilder(index); - } - /** - * repeated .datadog.cws.dumpsv1.DNSInfo requests = 1; + * .datadog.cws.dumpsv1.AWSIMDSEvent aws = 7; */ - public com.dd.cws.adv1.pb.SecDumpProto.DNSInfoOrBuilder getRequestsOrBuilder( - int index) { - if (requestsBuilder_ == null) { - return requests_.get(index); } else { - return requestsBuilder_.getMessageOrBuilder(index); + public Builder mergeAws(com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEvent value) { + if (awsBuilder_ == null) { + if (((bitField0_ & 0x00000040) != 0) && + aws_ != null && + aws_ != com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEvent.getDefaultInstance()) { + getAwsBuilder().mergeFrom(value); + } else { + aws_ = value; + } + } else { + awsBuilder_.mergeFrom(value); } + bitField0_ |= 0x00000040; + onChanged(); + return this; } /** - * repeated .datadog.cws.dumpsv1.DNSInfo requests = 1; + * .datadog.cws.dumpsv1.AWSIMDSEvent aws = 7; */ - public java.util.List - getRequestsOrBuilderList() { - if (requestsBuilder_ != null) { - return requestsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(requests_); + public Builder clearAws() { + bitField0_ = (bitField0_ & ~0x00000040); + aws_ = null; + if (awsBuilder_ != null) { + awsBuilder_.dispose(); + awsBuilder_ = null; } + onChanged(); + return this; } /** - * repeated .datadog.cws.dumpsv1.DNSInfo requests = 1; + * .datadog.cws.dumpsv1.AWSIMDSEvent aws = 7; */ - public com.dd.cws.adv1.pb.SecDumpProto.DNSInfo.Builder addRequestsBuilder() { - return getRequestsFieldBuilder().addBuilder( - com.dd.cws.adv1.pb.SecDumpProto.DNSInfo.getDefaultInstance()); + public com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEvent.Builder getAwsBuilder() { + bitField0_ |= 0x00000040; + onChanged(); + return getAwsFieldBuilder().getBuilder(); } /** - * repeated .datadog.cws.dumpsv1.DNSInfo requests = 1; + * .datadog.cws.dumpsv1.AWSIMDSEvent aws = 7; */ - public com.dd.cws.adv1.pb.SecDumpProto.DNSInfo.Builder addRequestsBuilder( - int index) { - return getRequestsFieldBuilder().addBuilder( - index, com.dd.cws.adv1.pb.SecDumpProto.DNSInfo.getDefaultInstance()); + public com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEventOrBuilder getAwsOrBuilder() { + if (awsBuilder_ != null) { + return awsBuilder_.getMessageOrBuilder(); + } else { + return aws_ == null ? + com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEvent.getDefaultInstance() : aws_; + } } /** - * repeated .datadog.cws.dumpsv1.DNSInfo requests = 1; + * .datadog.cws.dumpsv1.AWSIMDSEvent aws = 7; */ - public java.util.List - getRequestsBuilderList() { - return getRequestsFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.dd.cws.adv1.pb.SecDumpProto.DNSInfo, com.dd.cws.adv1.pb.SecDumpProto.DNSInfo.Builder, com.dd.cws.adv1.pb.SecDumpProto.DNSInfoOrBuilder> - getRequestsFieldBuilder() { - if (requestsBuilder_ == null) { - requestsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.dd.cws.adv1.pb.SecDumpProto.DNSInfo, com.dd.cws.adv1.pb.SecDumpProto.DNSInfo.Builder, com.dd.cws.adv1.pb.SecDumpProto.DNSInfoOrBuilder>( - requests_, - ((bitField0_ & 0x00000004) != 0), + private com.google.protobuf.SingleFieldBuilderV3< + com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEvent, com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEvent.Builder, com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEventOrBuilder> + getAwsFieldBuilder() { + if (awsBuilder_ == null) { + awsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEvent, com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEvent.Builder, com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEventOrBuilder>( + getAws(), getParentForChildren(), isClean()); - requests_ = null; + aws_ = null; } - return requestsBuilder_; + return awsBuilder_; } @java.lang.Override public final Builder setUnknownFields( @@ -18705,23 +23689,23 @@ public final Builder mergeUnknownFields( } - // @@protoc_insertion_point(builder_scope:datadog.cws.dumpsv1.DNSNode) + // @@protoc_insertion_point(builder_scope:datadog.cws.dumpsv1.IMDSEvent) } - // @@protoc_insertion_point(class_scope:datadog.cws.dumpsv1.DNSNode) - private static final com.dd.cws.adv1.pb.SecDumpProto.DNSNode DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:datadog.cws.dumpsv1.IMDSEvent) + private static final com.dd.cws.adv1.pb.SecDumpProto.IMDSEvent DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new com.dd.cws.adv1.pb.SecDumpProto.DNSNode(); + DEFAULT_INSTANCE = new com.dd.cws.adv1.pb.SecDumpProto.IMDSEvent(); } - public static com.dd.cws.adv1.pb.SecDumpProto.DNSNode getDefaultInstance() { + public static com.dd.cws.adv1.pb.SecDumpProto.IMDSEvent getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override - public DNSNode parsePartialFrom( + public IMDSEvent parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -18740,83 +23724,67 @@ public DNSNode parsePartialFrom( } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public com.dd.cws.adv1.pb.SecDumpProto.DNSNode getDefaultInstanceForType() { + public com.dd.cws.adv1.pb.SecDumpProto.IMDSEvent getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } - public interface DNSInfoOrBuilder extends - // @@protoc_insertion_point(interface_extends:datadog.cws.dumpsv1.DNSInfo) + public interface AWSIMDSEventOrBuilder extends + // @@protoc_insertion_point(interface_extends:datadog.cws.dumpsv1.AWSIMDSEvent) com.google.protobuf.MessageOrBuilder { /** - * string name = 1; - * @return The name. - */ - java.lang.String getName(); - /** - * string name = 1; - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); - - /** - * uint32 type = 2; - * @return The type. + * bool is_imds_v2 = 1; + * @return The isImdsV2. */ - int getType(); + boolean getIsImdsV2(); /** - * uint32 class = 3; - * @return The class. + * .datadog.cws.dumpsv1.AWSSecurityCredentials security_credentials = 2; + * @return Whether the securityCredentials field is set. */ - int getClass_(); - + boolean hasSecurityCredentials(); /** - * uint32 size = 4; - * @return The size. + * .datadog.cws.dumpsv1.AWSSecurityCredentials security_credentials = 2; + * @return The securityCredentials. */ - int getSize(); - + com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentials getSecurityCredentials(); /** - * uint32 count = 5; - * @return The count. + * .datadog.cws.dumpsv1.AWSSecurityCredentials security_credentials = 2; */ - int getCount(); + com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentialsOrBuilder getSecurityCredentialsOrBuilder(); } /** - * Protobuf type {@code datadog.cws.dumpsv1.DNSInfo} + * Protobuf type {@code datadog.cws.dumpsv1.AWSIMDSEvent} */ - public static final class DNSInfo extends + public static final class AWSIMDSEvent extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:datadog.cws.dumpsv1.DNSInfo) - DNSInfoOrBuilder { + // @@protoc_insertion_point(message_implements:datadog.cws.dumpsv1.AWSIMDSEvent) + AWSIMDSEventOrBuilder { private static final long serialVersionUID = 0L; - // Use DNSInfo.newBuilder() to construct. - private DNSInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { + // Use AWSIMDSEvent.newBuilder() to construct. + private AWSIMDSEvent(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DNSInfo() { - name_ = ""; + private AWSIMDSEvent() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { - return new DNSInfo(); + return new AWSIMDSEvent(); } @java.lang.Override @@ -18824,100 +23792,54 @@ protected java.lang.Object newInstance( getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_DNSInfo_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_DNSInfo_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.dd.cws.adv1.pb.SecDumpProto.DNSInfo.class, com.dd.cws.adv1.pb.SecDumpProto.DNSInfo.Builder.class); - } - - public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private volatile java.lang.Object name_ = ""; - /** - * string name = 1; - * @return The name. - */ - @java.lang.Override - public java.lang.String getName() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } - } - /** - * string name = 1; - * @return The bytes for name. - */ - @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_AWSIMDSEvent_descriptor; + } - public static final int TYPE_FIELD_NUMBER = 2; - private int type_ = 0; + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_AWSIMDSEvent_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEvent.class, com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEvent.Builder.class); + } + + public static final int IS_IMDS_V2_FIELD_NUMBER = 1; + private boolean isImdsV2_ = false; /** - * uint32 type = 2; - * @return The type. + * bool is_imds_v2 = 1; + * @return The isImdsV2. */ @java.lang.Override - public int getType() { - return type_; + public boolean getIsImdsV2() { + return isImdsV2_; } - public static final int CLASS_FIELD_NUMBER = 3; - private int class__ = 0; + public static final int SECURITY_CREDENTIALS_FIELD_NUMBER = 2; + private com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentials securityCredentials_; /** - * uint32 class = 3; - * @return The class. + * .datadog.cws.dumpsv1.AWSSecurityCredentials security_credentials = 2; + * @return Whether the securityCredentials field is set. */ @java.lang.Override - public int getClass_() { - return class__; + public boolean hasSecurityCredentials() { + return securityCredentials_ != null; } - - public static final int SIZE_FIELD_NUMBER = 4; - private int size_ = 0; /** - * uint32 size = 4; - * @return The size. + * .datadog.cws.dumpsv1.AWSSecurityCredentials security_credentials = 2; + * @return The securityCredentials. */ @java.lang.Override - public int getSize() { - return size_; + public com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentials getSecurityCredentials() { + return securityCredentials_ == null ? com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentials.getDefaultInstance() : securityCredentials_; } - - public static final int COUNT_FIELD_NUMBER = 5; - private int count_ = 0; /** - * uint32 count = 5; - * @return The count. + * .datadog.cws.dumpsv1.AWSSecurityCredentials security_credentials = 2; */ @java.lang.Override - public int getCount() { - return count_; + public com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentialsOrBuilder getSecurityCredentialsOrBuilder() { + return securityCredentials_ == null ? com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentials.getDefaultInstance() : securityCredentials_; } private byte memoizedIsInitialized = -1; @@ -18934,20 +23856,11 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); - } - if (type_ != 0) { - output.writeUInt32(2, type_); - } - if (class__ != 0) { - output.writeUInt32(3, class__); - } - if (size_ != 0) { - output.writeUInt32(4, size_); + if (isImdsV2_ != false) { + output.writeBool(1, isImdsV2_); } - if (count_ != 0) { - output.writeUInt32(5, count_); + if (securityCredentials_ != null) { + output.writeMessage(2, getSecurityCredentials()); } getUnknownFields().writeTo(output); } @@ -18958,24 +23871,13 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); - } - if (type_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(2, type_); - } - if (class__ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(3, class__); - } - if (size_ != 0) { + if (isImdsV2_ != false) { size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(4, size_); + .computeBoolSize(1, isImdsV2_); } - if (count_ != 0) { + if (securityCredentials_ != null) { size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(5, count_); + .computeMessageSize(2, getSecurityCredentials()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -18987,21 +23889,18 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof com.dd.cws.adv1.pb.SecDumpProto.DNSInfo)) { + if (!(obj instanceof com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEvent)) { return super.equals(obj); } - com.dd.cws.adv1.pb.SecDumpProto.DNSInfo other = (com.dd.cws.adv1.pb.SecDumpProto.DNSInfo) obj; + com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEvent other = (com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEvent) obj; - if (!getName() - .equals(other.getName())) return false; - if (getType() - != other.getType()) return false; - if (getClass_() - != other.getClass_()) return false; - if (getSize() - != other.getSize()) return false; - if (getCount() - != other.getCount()) return false; + if (getIsImdsV2() + != other.getIsImdsV2()) return false; + if (hasSecurityCredentials() != other.hasSecurityCredentials()) return false; + if (hasSecurityCredentials()) { + if (!getSecurityCredentials() + .equals(other.getSecurityCredentials())) return false; + } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -19013,84 +23912,81 @@ public int hashCode() { } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + NAME_FIELD_NUMBER; - hash = (53 * hash) + getName().hashCode(); - hash = (37 * hash) + TYPE_FIELD_NUMBER; - hash = (53 * hash) + getType(); - hash = (37 * hash) + CLASS_FIELD_NUMBER; - hash = (53 * hash) + getClass_(); - hash = (37 * hash) + SIZE_FIELD_NUMBER; - hash = (53 * hash) + getSize(); - hash = (37 * hash) + COUNT_FIELD_NUMBER; - hash = (53 * hash) + getCount(); + hash = (37 * hash) + IS_IMDS_V2_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getIsImdsV2()); + if (hasSecurityCredentials()) { + hash = (37 * hash) + SECURITY_CREDENTIALS_FIELD_NUMBER; + hash = (53 * hash) + getSecurityCredentials().hashCode(); + } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.dd.cws.adv1.pb.SecDumpProto.DNSInfo parseFrom( + public static com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEvent parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.dd.cws.adv1.pb.SecDumpProto.DNSInfo parseFrom( + public static com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEvent parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.dd.cws.adv1.pb.SecDumpProto.DNSInfo parseFrom( + public static com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEvent parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.dd.cws.adv1.pb.SecDumpProto.DNSInfo parseFrom( + public static com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEvent parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.dd.cws.adv1.pb.SecDumpProto.DNSInfo parseFrom(byte[] data) + public static com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEvent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.dd.cws.adv1.pb.SecDumpProto.DNSInfo parseFrom( + public static com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEvent parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.dd.cws.adv1.pb.SecDumpProto.DNSInfo parseFrom(java.io.InputStream input) + public static com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEvent parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static com.dd.cws.adv1.pb.SecDumpProto.DNSInfo parseFrom( + public static com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEvent parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.dd.cws.adv1.pb.SecDumpProto.DNSInfo parseDelimitedFrom(java.io.InputStream input) + public static com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEvent parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } - public static com.dd.cws.adv1.pb.SecDumpProto.DNSInfo parseDelimitedFrom( + public static com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEvent parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.dd.cws.adv1.pb.SecDumpProto.DNSInfo parseFrom( + public static com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEvent parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static com.dd.cws.adv1.pb.SecDumpProto.DNSInfo parseFrom( + public static com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEvent parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -19103,7 +23999,7 @@ public static com.dd.cws.adv1.pb.SecDumpProto.DNSInfo parseFrom( public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.dd.cws.adv1.pb.SecDumpProto.DNSInfo prototype) { + public static Builder newBuilder(com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEvent prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override @@ -19119,26 +24015,26 @@ protected Builder newBuilderForType( return builder; } /** - * Protobuf type {@code datadog.cws.dumpsv1.DNSInfo} + * Protobuf type {@code datadog.cws.dumpsv1.AWSIMDSEvent} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:datadog.cws.dumpsv1.DNSInfo) - com.dd.cws.adv1.pb.SecDumpProto.DNSInfoOrBuilder { + // @@protoc_insertion_point(builder_implements:datadog.cws.dumpsv1.AWSIMDSEvent) + com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEventOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_DNSInfo_descriptor; + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_AWSIMDSEvent_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_DNSInfo_fieldAccessorTable + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_AWSIMDSEvent_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.dd.cws.adv1.pb.SecDumpProto.DNSInfo.class, com.dd.cws.adv1.pb.SecDumpProto.DNSInfo.Builder.class); + com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEvent.class, com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEvent.Builder.class); } - // Construct using com.dd.cws.adv1.pb.SecDumpProto.DNSInfo.newBuilder() + // Construct using com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEvent.newBuilder() private Builder() { } @@ -19152,28 +24048,29 @@ private Builder( public Builder clear() { super.clear(); bitField0_ = 0; - name_ = ""; - type_ = 0; - class__ = 0; - size_ = 0; - count_ = 0; + isImdsV2_ = false; + securityCredentials_ = null; + if (securityCredentialsBuilder_ != null) { + securityCredentialsBuilder_.dispose(); + securityCredentialsBuilder_ = null; + } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_DNSInfo_descriptor; + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_AWSIMDSEvent_descriptor; } @java.lang.Override - public com.dd.cws.adv1.pb.SecDumpProto.DNSInfo getDefaultInstanceForType() { - return com.dd.cws.adv1.pb.SecDumpProto.DNSInfo.getDefaultInstance(); + public com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEvent getDefaultInstanceForType() { + return com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEvent.getDefaultInstance(); } @java.lang.Override - public com.dd.cws.adv1.pb.SecDumpProto.DNSInfo build() { - com.dd.cws.adv1.pb.SecDumpProto.DNSInfo result = buildPartial(); + public com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEvent build() { + com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEvent result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -19181,29 +24078,22 @@ public com.dd.cws.adv1.pb.SecDumpProto.DNSInfo build() { } @java.lang.Override - public com.dd.cws.adv1.pb.SecDumpProto.DNSInfo buildPartial() { - com.dd.cws.adv1.pb.SecDumpProto.DNSInfo result = new com.dd.cws.adv1.pb.SecDumpProto.DNSInfo(this); + public com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEvent buildPartial() { + com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEvent result = new com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEvent(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0(com.dd.cws.adv1.pb.SecDumpProto.DNSInfo result) { + private void buildPartial0(com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEvent result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.name_ = name_; + result.isImdsV2_ = isImdsV2_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.type_ = type_; - } - if (((from_bitField0_ & 0x00000004) != 0)) { - result.class__ = class__; - } - if (((from_bitField0_ & 0x00000008) != 0)) { - result.size_ = size_; - } - if (((from_bitField0_ & 0x00000010) != 0)) { - result.count_ = count_; + result.securityCredentials_ = securityCredentialsBuilder_ == null + ? securityCredentials_ + : securityCredentialsBuilder_.build(); } } @@ -19241,32 +24131,21 @@ public Builder addRepeatedField( } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.dd.cws.adv1.pb.SecDumpProto.DNSInfo) { - return mergeFrom((com.dd.cws.adv1.pb.SecDumpProto.DNSInfo)other); + if (other instanceof com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEvent) { + return mergeFrom((com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEvent)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.dd.cws.adv1.pb.SecDumpProto.DNSInfo other) { - if (other == com.dd.cws.adv1.pb.SecDumpProto.DNSInfo.getDefaultInstance()) return this; - if (!other.getName().isEmpty()) { - name_ = other.name_; - bitField0_ |= 0x00000001; - onChanged(); - } - if (other.getType() != 0) { - setType(other.getType()); - } - if (other.getClass_() != 0) { - setClass_(other.getClass_()); - } - if (other.getSize() != 0) { - setSize(other.getSize()); + public Builder mergeFrom(com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEvent other) { + if (other == com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEvent.getDefaultInstance()) return this; + if (other.getIsImdsV2() != false) { + setIsImdsV2(other.getIsImdsV2()); } - if (other.getCount() != 0) { - setCount(other.getCount()); + if (other.hasSecurityCredentials()) { + mergeSecurityCredentials(other.getSecurityCredentials()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -19291,34 +24170,21 @@ public Builder mergeFrom( while (!done) { int tag = input.readTag(); switch (tag) { - case 0: - done = true; - break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - type_ = input.readUInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 24: { - class__ = input.readUInt32(); - bitField0_ |= 0x00000004; + case 0: + done = true; break; - } // case 24 - case 32: { - size_ = input.readUInt32(); - bitField0_ |= 0x00000008; + case 8: { + isImdsV2_ = input.readBool(); + bitField0_ |= 0x00000001; break; - } // case 32 - case 40: { - count_ = input.readUInt32(); - bitField0_ |= 0x00000010; + } // case 8 + case 18: { + input.readMessage( + getSecurityCredentialsFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; break; - } // case 40 + } // case 18 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag @@ -19336,204 +24202,155 @@ public Builder mergeFrom( } private int bitField0_; - private java.lang.Object name_ = ""; - /** - * string name = 1; - * @return The name. - */ - public java.lang.String getName() { - java.lang.Object ref = name_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } + private boolean isImdsV2_ ; /** - * string name = 1; - * @return The bytes for name. + * bool is_imds_v2 = 1; + * @return The isImdsV2. */ - public com.google.protobuf.ByteString - getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } + @java.lang.Override + public boolean getIsImdsV2() { + return isImdsV2_; } /** - * string name = 1; - * @param value The name to set. + * bool is_imds_v2 = 1; + * @param value The isImdsV2 to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } - name_ = value; + public Builder setIsImdsV2(boolean value) { + + isImdsV2_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * string name = 1; + * bool is_imds_v2 = 1; * @return This builder for chaining. */ - public Builder clearName() { - name_ = getDefaultInstance().getName(); + public Builder clearIsImdsV2() { bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - /** - * string name = 1; - * @param value The bytes for name to set. - * @return This builder for chaining. - */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } - checkByteStringIsUtf8(value); - name_ = value; - bitField0_ |= 0x00000001; + isImdsV2_ = false; onChanged(); return this; } - private int type_ ; + private com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentials securityCredentials_; + private com.google.protobuf.SingleFieldBuilderV3< + com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentials, com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentials.Builder, com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentialsOrBuilder> securityCredentialsBuilder_; /** - * uint32 type = 2; - * @return The type. + * .datadog.cws.dumpsv1.AWSSecurityCredentials security_credentials = 2; + * @return Whether the securityCredentials field is set. */ - @java.lang.Override - public int getType() { - return type_; + public boolean hasSecurityCredentials() { + return ((bitField0_ & 0x00000002) != 0); } /** - * uint32 type = 2; - * @param value The type to set. - * @return This builder for chaining. + * .datadog.cws.dumpsv1.AWSSecurityCredentials security_credentials = 2; + * @return The securityCredentials. */ - public Builder setType(int value) { - - type_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; + public com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentials getSecurityCredentials() { + if (securityCredentialsBuilder_ == null) { + return securityCredentials_ == null ? com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentials.getDefaultInstance() : securityCredentials_; + } else { + return securityCredentialsBuilder_.getMessage(); + } } /** - * uint32 type = 2; - * @return This builder for chaining. + * .datadog.cws.dumpsv1.AWSSecurityCredentials security_credentials = 2; */ - public Builder clearType() { - bitField0_ = (bitField0_ & ~0x00000002); - type_ = 0; + public Builder setSecurityCredentials(com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentials value) { + if (securityCredentialsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + securityCredentials_ = value; + } else { + securityCredentialsBuilder_.setMessage(value); + } + bitField0_ |= 0x00000002; onChanged(); return this; } - - private int class__ ; - /** - * uint32 class = 3; - * @return The class. - */ - @java.lang.Override - public int getClass_() { - return class__; - } /** - * uint32 class = 3; - * @param value The class to set. - * @return This builder for chaining. + * .datadog.cws.dumpsv1.AWSSecurityCredentials security_credentials = 2; */ - public Builder setClass_(int value) { - - class__ = value; - bitField0_ |= 0x00000004; + public Builder setSecurityCredentials( + com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentials.Builder builderForValue) { + if (securityCredentialsBuilder_ == null) { + securityCredentials_ = builderForValue.build(); + } else { + securityCredentialsBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000002; onChanged(); return this; } /** - * uint32 class = 3; - * @return This builder for chaining. + * .datadog.cws.dumpsv1.AWSSecurityCredentials security_credentials = 2; */ - public Builder clearClass_() { - bitField0_ = (bitField0_ & ~0x00000004); - class__ = 0; + public Builder mergeSecurityCredentials(com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentials value) { + if (securityCredentialsBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0) && + securityCredentials_ != null && + securityCredentials_ != com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentials.getDefaultInstance()) { + getSecurityCredentialsBuilder().mergeFrom(value); + } else { + securityCredentials_ = value; + } + } else { + securityCredentialsBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000002; onChanged(); return this; } - - private int size_ ; - /** - * uint32 size = 4; - * @return The size. - */ - @java.lang.Override - public int getSize() { - return size_; - } /** - * uint32 size = 4; - * @param value The size to set. - * @return This builder for chaining. + * .datadog.cws.dumpsv1.AWSSecurityCredentials security_credentials = 2; */ - public Builder setSize(int value) { - - size_ = value; - bitField0_ |= 0x00000008; + public Builder clearSecurityCredentials() { + bitField0_ = (bitField0_ & ~0x00000002); + securityCredentials_ = null; + if (securityCredentialsBuilder_ != null) { + securityCredentialsBuilder_.dispose(); + securityCredentialsBuilder_ = null; + } onChanged(); return this; } /** - * uint32 size = 4; - * @return This builder for chaining. + * .datadog.cws.dumpsv1.AWSSecurityCredentials security_credentials = 2; */ - public Builder clearSize() { - bitField0_ = (bitField0_ & ~0x00000008); - size_ = 0; + public com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentials.Builder getSecurityCredentialsBuilder() { + bitField0_ |= 0x00000002; onChanged(); - return this; - } - - private int count_ ; - /** - * uint32 count = 5; - * @return The count. - */ - @java.lang.Override - public int getCount() { - return count_; + return getSecurityCredentialsFieldBuilder().getBuilder(); } /** - * uint32 count = 5; - * @param value The count to set. - * @return This builder for chaining. + * .datadog.cws.dumpsv1.AWSSecurityCredentials security_credentials = 2; */ - public Builder setCount(int value) { - - count_ = value; - bitField0_ |= 0x00000010; - onChanged(); - return this; + public com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentialsOrBuilder getSecurityCredentialsOrBuilder() { + if (securityCredentialsBuilder_ != null) { + return securityCredentialsBuilder_.getMessageOrBuilder(); + } else { + return securityCredentials_ == null ? + com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentials.getDefaultInstance() : securityCredentials_; + } } /** - * uint32 count = 5; - * @return This builder for chaining. + * .datadog.cws.dumpsv1.AWSSecurityCredentials security_credentials = 2; */ - public Builder clearCount() { - bitField0_ = (bitField0_ & ~0x00000010); - count_ = 0; - onChanged(); - return this; + private com.google.protobuf.SingleFieldBuilderV3< + com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentials, com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentials.Builder, com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentialsOrBuilder> + getSecurityCredentialsFieldBuilder() { + if (securityCredentialsBuilder_ == null) { + securityCredentialsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentials, com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentials.Builder, com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentialsOrBuilder>( + getSecurityCredentials(), + getParentForChildren(), + isClean()); + securityCredentials_ = null; + } + return securityCredentialsBuilder_; } @java.lang.Override public final Builder setUnknownFields( @@ -19548,23 +24365,23 @@ public final Builder mergeUnknownFields( } - // @@protoc_insertion_point(builder_scope:datadog.cws.dumpsv1.DNSInfo) + // @@protoc_insertion_point(builder_scope:datadog.cws.dumpsv1.AWSIMDSEvent) } - // @@protoc_insertion_point(class_scope:datadog.cws.dumpsv1.DNSInfo) - private static final com.dd.cws.adv1.pb.SecDumpProto.DNSInfo DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:datadog.cws.dumpsv1.AWSIMDSEvent) + private static final com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEvent DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new com.dd.cws.adv1.pb.SecDumpProto.DNSInfo(); + DEFAULT_INSTANCE = new com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEvent(); } - public static com.dd.cws.adv1.pb.SecDumpProto.DNSInfo getDefaultInstance() { + public static com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEvent getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override - public DNSInfo parsePartialFrom( + public AWSIMDSEvent parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -19583,112 +24400,111 @@ public DNSInfo parsePartialFrom( } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public com.dd.cws.adv1.pb.SecDumpProto.DNSInfo getDefaultInstanceForType() { + public com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEvent getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } - public interface IMDSNodeOrBuilder extends - // @@protoc_insertion_point(interface_extends:datadog.cws.dumpsv1.IMDSNode) + public interface AWSSecurityCredentialsOrBuilder extends + // @@protoc_insertion_point(interface_extends:datadog.cws.dumpsv1.AWSSecurityCredentials) com.google.protobuf.MessageOrBuilder { /** - * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 1; - */ - java.util.List - getMatchedRulesList(); - /** - * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 1; + * string code = 1; + * @return The code. */ - com.dd.cws.adv1.pb.SecDumpProto.MatchedRule getMatchedRules(int index); + java.lang.String getCode(); /** - * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 1; + * string code = 1; + * @return The bytes for code. */ - int getMatchedRulesCount(); + com.google.protobuf.ByteString + getCodeBytes(); + /** - * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 1; + * string type = 2; + * @return The type. */ - java.util.List - getMatchedRulesOrBuilderList(); + java.lang.String getType(); /** - * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 1; + * string type = 2; + * @return The bytes for type. */ - com.dd.cws.adv1.pb.SecDumpProto.MatchedRuleOrBuilder getMatchedRulesOrBuilder( - int index); + com.google.protobuf.ByteString + getTypeBytes(); /** - * repeated string image_tags = 2; - * @return A list containing the imageTags. + * string access_key_id = 3; + * @return The accessKeyId. */ - java.util.List - getImageTagsList(); + java.lang.String getAccessKeyId(); /** - * repeated string image_tags = 2; - * @return The count of imageTags. + * string access_key_id = 3; + * @return The bytes for accessKeyId. */ - int getImageTagsCount(); + com.google.protobuf.ByteString + getAccessKeyIdBytes(); + /** - * repeated string image_tags = 2; - * @param index The index of the element to return. - * @return The imageTags at the given index. + * string last_updated = 4; + * @return The lastUpdated. */ - java.lang.String getImageTags(int index); + java.lang.String getLastUpdated(); /** - * repeated string image_tags = 2; - * @param index The index of the value to return. - * @return The bytes of the imageTags at the given index. + * string last_updated = 4; + * @return The bytes for lastUpdated. */ com.google.protobuf.ByteString - getImageTagsBytes(int index); + getLastUpdatedBytes(); /** - * .datadog.cws.dumpsv1.IMDSEvent event = 3; - * @return Whether the event field is set. - */ - boolean hasEvent(); - /** - * .datadog.cws.dumpsv1.IMDSEvent event = 3; - * @return The event. + * string expiration_raw = 5; + * @return The expirationRaw. */ - com.dd.cws.adv1.pb.SecDumpProto.IMDSEvent getEvent(); + java.lang.String getExpirationRaw(); /** - * .datadog.cws.dumpsv1.IMDSEvent event = 3; + * string expiration_raw = 5; + * @return The bytes for expirationRaw. */ - com.dd.cws.adv1.pb.SecDumpProto.IMDSEventOrBuilder getEventOrBuilder(); + com.google.protobuf.ByteString + getExpirationRawBytes(); } /** - * Protobuf type {@code datadog.cws.dumpsv1.IMDSNode} + * Protobuf type {@code datadog.cws.dumpsv1.AWSSecurityCredentials} */ - public static final class IMDSNode extends + public static final class AWSSecurityCredentials extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:datadog.cws.dumpsv1.IMDSNode) - IMDSNodeOrBuilder { + // @@protoc_insertion_point(message_implements:datadog.cws.dumpsv1.AWSSecurityCredentials) + AWSSecurityCredentialsOrBuilder { private static final long serialVersionUID = 0L; - // Use IMDSNode.newBuilder() to construct. - private IMDSNode(com.google.protobuf.GeneratedMessageV3.Builder builder) { + // Use AWSSecurityCredentials.newBuilder() to construct. + private AWSSecurityCredentials(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private IMDSNode() { - matchedRules_ = java.util.Collections.emptyList(); - imageTags_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private AWSSecurityCredentials() { + code_ = ""; + type_ = ""; + accessKeyId_ = ""; + lastUpdated_ = ""; + expirationRaw_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { - return new IMDSNode(); + return new AWSSecurityCredentials(); } @java.lang.Override @@ -19698,118 +24514,210 @@ protected java.lang.Object newInstance( } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_IMDSNode_descriptor; + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_AWSSecurityCredentials_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_IMDSNode_fieldAccessorTable + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_AWSSecurityCredentials_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.dd.cws.adv1.pb.SecDumpProto.IMDSNode.class, com.dd.cws.adv1.pb.SecDumpProto.IMDSNode.Builder.class); + com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentials.class, com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentials.Builder.class); } - public static final int MATCHED_RULES_FIELD_NUMBER = 1; + public static final int CODE_FIELD_NUMBER = 1; @SuppressWarnings("serial") - private java.util.List matchedRules_; - /** - * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 1; - */ - @java.lang.Override - public java.util.List getMatchedRulesList() { - return matchedRules_; - } + private volatile java.lang.Object code_ = ""; /** - * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 1; + * string code = 1; + * @return The code. */ @java.lang.Override - public java.util.List - getMatchedRulesOrBuilderList() { - return matchedRules_; + public java.lang.String getCode() { + java.lang.Object ref = code_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + code_ = s; + return s; + } } /** - * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 1; + * string code = 1; + * @return The bytes for code. */ @java.lang.Override - public int getMatchedRulesCount() { - return matchedRules_.size(); + public com.google.protobuf.ByteString + getCodeBytes() { + java.lang.Object ref = code_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + code_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } } + + public static final int TYPE_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object type_ = ""; /** - * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 1; + * string type = 2; + * @return The type. */ @java.lang.Override - public com.dd.cws.adv1.pb.SecDumpProto.MatchedRule getMatchedRules(int index) { - return matchedRules_.get(index); + public java.lang.String getType() { + java.lang.Object ref = type_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + type_ = s; + return s; + } } /** - * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 1; + * string type = 2; + * @return The bytes for type. */ @java.lang.Override - public com.dd.cws.adv1.pb.SecDumpProto.MatchedRuleOrBuilder getMatchedRulesOrBuilder( - int index) { - return matchedRules_.get(index); + public com.google.protobuf.ByteString + getTypeBytes() { + java.lang.Object ref = type_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + type_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } } - public static final int IMAGE_TAGS_FIELD_NUMBER = 2; + public static final int ACCESS_KEY_ID_FIELD_NUMBER = 3; @SuppressWarnings("serial") - private com.google.protobuf.LazyStringList imageTags_; + private volatile java.lang.Object accessKeyId_ = ""; /** - * repeated string image_tags = 2; - * @return A list containing the imageTags. + * string access_key_id = 3; + * @return The accessKeyId. */ - public com.google.protobuf.ProtocolStringList - getImageTagsList() { - return imageTags_; + @java.lang.Override + public java.lang.String getAccessKeyId() { + java.lang.Object ref = accessKeyId_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + accessKeyId_ = s; + return s; + } } /** - * repeated string image_tags = 2; - * @return The count of imageTags. + * string access_key_id = 3; + * @return The bytes for accessKeyId. */ - public int getImageTagsCount() { - return imageTags_.size(); + @java.lang.Override + public com.google.protobuf.ByteString + getAccessKeyIdBytes() { + java.lang.Object ref = accessKeyId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + accessKeyId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } } + + public static final int LAST_UPDATED_FIELD_NUMBER = 4; + @SuppressWarnings("serial") + private volatile java.lang.Object lastUpdated_ = ""; /** - * repeated string image_tags = 2; - * @param index The index of the element to return. - * @return The imageTags at the given index. + * string last_updated = 4; + * @return The lastUpdated. */ - public java.lang.String getImageTags(int index) { - return imageTags_.get(index); + @java.lang.Override + public java.lang.String getLastUpdated() { + java.lang.Object ref = lastUpdated_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + lastUpdated_ = s; + return s; + } } /** - * repeated string image_tags = 2; - * @param index The index of the value to return. - * @return The bytes of the imageTags at the given index. + * string last_updated = 4; + * @return The bytes for lastUpdated. */ + @java.lang.Override public com.google.protobuf.ByteString - getImageTagsBytes(int index) { - return imageTags_.getByteString(index); + getLastUpdatedBytes() { + java.lang.Object ref = lastUpdated_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + lastUpdated_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } } - public static final int EVENT_FIELD_NUMBER = 3; - private com.dd.cws.adv1.pb.SecDumpProto.IMDSEvent event_; - /** - * .datadog.cws.dumpsv1.IMDSEvent event = 3; - * @return Whether the event field is set. - */ - @java.lang.Override - public boolean hasEvent() { - return event_ != null; - } + public static final int EXPIRATION_RAW_FIELD_NUMBER = 5; + @SuppressWarnings("serial") + private volatile java.lang.Object expirationRaw_ = ""; /** - * .datadog.cws.dumpsv1.IMDSEvent event = 3; - * @return The event. + * string expiration_raw = 5; + * @return The expirationRaw. */ @java.lang.Override - public com.dd.cws.adv1.pb.SecDumpProto.IMDSEvent getEvent() { - return event_ == null ? com.dd.cws.adv1.pb.SecDumpProto.IMDSEvent.getDefaultInstance() : event_; + public java.lang.String getExpirationRaw() { + java.lang.Object ref = expirationRaw_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + expirationRaw_ = s; + return s; + } } /** - * .datadog.cws.dumpsv1.IMDSEvent event = 3; + * string expiration_raw = 5; + * @return The bytes for expirationRaw. */ @java.lang.Override - public com.dd.cws.adv1.pb.SecDumpProto.IMDSEventOrBuilder getEventOrBuilder() { - return event_ == null ? com.dd.cws.adv1.pb.SecDumpProto.IMDSEvent.getDefaultInstance() : event_; + public com.google.protobuf.ByteString + getExpirationRawBytes() { + java.lang.Object ref = expirationRaw_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + expirationRaw_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } } private byte memoizedIsInitialized = -1; @@ -19826,14 +24734,20 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - for (int i = 0; i < matchedRules_.size(); i++) { - output.writeMessage(1, matchedRules_.get(i)); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(code_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, code_); } - for (int i = 0; i < imageTags_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, imageTags_.getRaw(i)); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(type_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, type_); } - if (event_ != null) { - output.writeMessage(3, getEvent()); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(accessKeyId_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, accessKeyId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(lastUpdated_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, lastUpdated_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(expirationRaw_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, expirationRaw_); } getUnknownFields().writeTo(output); } @@ -19844,21 +24758,20 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - for (int i = 0; i < matchedRules_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, matchedRules_.get(i)); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(code_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, code_); } - { - int dataSize = 0; - for (int i = 0; i < imageTags_.size(); i++) { - dataSize += computeStringSizeNoTag(imageTags_.getRaw(i)); - } - size += dataSize; - size += 1 * getImageTagsList().size(); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(type_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, type_); } - if (event_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getEvent()); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(accessKeyId_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, accessKeyId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(lastUpdated_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, lastUpdated_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(expirationRaw_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, expirationRaw_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -19870,20 +24783,21 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof com.dd.cws.adv1.pb.SecDumpProto.IMDSNode)) { + if (!(obj instanceof com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentials)) { return super.equals(obj); } - com.dd.cws.adv1.pb.SecDumpProto.IMDSNode other = (com.dd.cws.adv1.pb.SecDumpProto.IMDSNode) obj; + com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentials other = (com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentials) obj; - if (!getMatchedRulesList() - .equals(other.getMatchedRulesList())) return false; - if (!getImageTagsList() - .equals(other.getImageTagsList())) return false; - if (hasEvent() != other.hasEvent()) return false; - if (hasEvent()) { - if (!getEvent() - .equals(other.getEvent())) return false; - } + if (!getCode() + .equals(other.getCode())) return false; + if (!getType() + .equals(other.getType())) return false; + if (!getAccessKeyId() + .equals(other.getAccessKeyId())) return false; + if (!getLastUpdated() + .equals(other.getLastUpdated())) return false; + if (!getExpirationRaw() + .equals(other.getExpirationRaw())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -19895,86 +24809,84 @@ public int hashCode() { } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); - if (getMatchedRulesCount() > 0) { - hash = (37 * hash) + MATCHED_RULES_FIELD_NUMBER; - hash = (53 * hash) + getMatchedRulesList().hashCode(); - } - if (getImageTagsCount() > 0) { - hash = (37 * hash) + IMAGE_TAGS_FIELD_NUMBER; - hash = (53 * hash) + getImageTagsList().hashCode(); - } - if (hasEvent()) { - hash = (37 * hash) + EVENT_FIELD_NUMBER; - hash = (53 * hash) + getEvent().hashCode(); - } + hash = (37 * hash) + CODE_FIELD_NUMBER; + hash = (53 * hash) + getCode().hashCode(); + hash = (37 * hash) + TYPE_FIELD_NUMBER; + hash = (53 * hash) + getType().hashCode(); + hash = (37 * hash) + ACCESS_KEY_ID_FIELD_NUMBER; + hash = (53 * hash) + getAccessKeyId().hashCode(); + hash = (37 * hash) + LAST_UPDATED_FIELD_NUMBER; + hash = (53 * hash) + getLastUpdated().hashCode(); + hash = (37 * hash) + EXPIRATION_RAW_FIELD_NUMBER; + hash = (53 * hash) + getExpirationRaw().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.dd.cws.adv1.pb.SecDumpProto.IMDSNode parseFrom( + public static com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentials parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.dd.cws.adv1.pb.SecDumpProto.IMDSNode parseFrom( + public static com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentials parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.dd.cws.adv1.pb.SecDumpProto.IMDSNode parseFrom( + public static com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentials parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.dd.cws.adv1.pb.SecDumpProto.IMDSNode parseFrom( + public static com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentials parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.dd.cws.adv1.pb.SecDumpProto.IMDSNode parseFrom(byte[] data) + public static com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentials parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.dd.cws.adv1.pb.SecDumpProto.IMDSNode parseFrom( + public static com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentials parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.dd.cws.adv1.pb.SecDumpProto.IMDSNode parseFrom(java.io.InputStream input) + public static com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentials parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static com.dd.cws.adv1.pb.SecDumpProto.IMDSNode parseFrom( + public static com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentials parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.dd.cws.adv1.pb.SecDumpProto.IMDSNode parseDelimitedFrom(java.io.InputStream input) + public static com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentials parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } - public static com.dd.cws.adv1.pb.SecDumpProto.IMDSNode parseDelimitedFrom( + public static com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentials parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.dd.cws.adv1.pb.SecDumpProto.IMDSNode parseFrom( + public static com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentials parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static com.dd.cws.adv1.pb.SecDumpProto.IMDSNode parseFrom( + public static com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentials parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -19987,7 +24899,7 @@ public static com.dd.cws.adv1.pb.SecDumpProto.IMDSNode parseFrom( public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.dd.cws.adv1.pb.SecDumpProto.IMDSNode prototype) { + public static Builder newBuilder(com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentials prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override @@ -20003,26 +24915,26 @@ protected Builder newBuilderForType( return builder; } /** - * Protobuf type {@code datadog.cws.dumpsv1.IMDSNode} + * Protobuf type {@code datadog.cws.dumpsv1.AWSSecurityCredentials} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:datadog.cws.dumpsv1.IMDSNode) - com.dd.cws.adv1.pb.SecDumpProto.IMDSNodeOrBuilder { + // @@protoc_insertion_point(builder_implements:datadog.cws.dumpsv1.AWSSecurityCredentials) + com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentialsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_IMDSNode_descriptor; + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_AWSSecurityCredentials_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_IMDSNode_fieldAccessorTable + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_AWSSecurityCredentials_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.dd.cws.adv1.pb.SecDumpProto.IMDSNode.class, com.dd.cws.adv1.pb.SecDumpProto.IMDSNode.Builder.class); + com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentials.class, com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentials.Builder.class); } - // Construct using com.dd.cws.adv1.pb.SecDumpProto.IMDSNode.newBuilder() + // Construct using com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentials.newBuilder() private Builder() { } @@ -20036,75 +24948,58 @@ private Builder( public Builder clear() { super.clear(); bitField0_ = 0; - if (matchedRulesBuilder_ == null) { - matchedRules_ = java.util.Collections.emptyList(); - } else { - matchedRules_ = null; - matchedRulesBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000001); - imageTags_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000002); - event_ = null; - if (eventBuilder_ != null) { - eventBuilder_.dispose(); - eventBuilder_ = null; - } + code_ = ""; + type_ = ""; + accessKeyId_ = ""; + lastUpdated_ = ""; + expirationRaw_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_IMDSNode_descriptor; + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_AWSSecurityCredentials_descriptor; } @java.lang.Override - public com.dd.cws.adv1.pb.SecDumpProto.IMDSNode getDefaultInstanceForType() { - return com.dd.cws.adv1.pb.SecDumpProto.IMDSNode.getDefaultInstance(); + public com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentials getDefaultInstanceForType() { + return com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentials.getDefaultInstance(); } @java.lang.Override - public com.dd.cws.adv1.pb.SecDumpProto.IMDSNode build() { - com.dd.cws.adv1.pb.SecDumpProto.IMDSNode result = buildPartial(); + public com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentials build() { + com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentials result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } - @java.lang.Override - public com.dd.cws.adv1.pb.SecDumpProto.IMDSNode buildPartial() { - com.dd.cws.adv1.pb.SecDumpProto.IMDSNode result = new com.dd.cws.adv1.pb.SecDumpProto.IMDSNode(this); - buildPartialRepeatedFields(result); + @java.lang.Override + public com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentials buildPartial() { + com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentials result = new com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentials(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.dd.cws.adv1.pb.SecDumpProto.IMDSNode result) { - if (matchedRulesBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0)) { - matchedRules_ = java.util.Collections.unmodifiableList(matchedRules_); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.matchedRules_ = matchedRules_; - } else { - result.matchedRules_ = matchedRulesBuilder_.build(); + private void buildPartial0(com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentials result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.code_ = code_; } - if (((bitField0_ & 0x00000002) != 0)) { - imageTags_ = imageTags_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000002); + if (((from_bitField0_ & 0x00000002) != 0)) { + result.type_ = type_; } - result.imageTags_ = imageTags_; - } - - private void buildPartial0(com.dd.cws.adv1.pb.SecDumpProto.IMDSNode result) { - int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000004) != 0)) { - result.event_ = eventBuilder_ == null - ? event_ - : eventBuilder_.build(); + result.accessKeyId_ = accessKeyId_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.lastUpdated_ = lastUpdated_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.expirationRaw_ = expirationRaw_; } } @@ -20142,54 +25037,40 @@ public Builder addRepeatedField( } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.dd.cws.adv1.pb.SecDumpProto.IMDSNode) { - return mergeFrom((com.dd.cws.adv1.pb.SecDumpProto.IMDSNode)other); + if (other instanceof com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentials) { + return mergeFrom((com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentials)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.dd.cws.adv1.pb.SecDumpProto.IMDSNode other) { - if (other == com.dd.cws.adv1.pb.SecDumpProto.IMDSNode.getDefaultInstance()) return this; - if (matchedRulesBuilder_ == null) { - if (!other.matchedRules_.isEmpty()) { - if (matchedRules_.isEmpty()) { - matchedRules_ = other.matchedRules_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureMatchedRulesIsMutable(); - matchedRules_.addAll(other.matchedRules_); - } - onChanged(); - } - } else { - if (!other.matchedRules_.isEmpty()) { - if (matchedRulesBuilder_.isEmpty()) { - matchedRulesBuilder_.dispose(); - matchedRulesBuilder_ = null; - matchedRules_ = other.matchedRules_; - bitField0_ = (bitField0_ & ~0x00000001); - matchedRulesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getMatchedRulesFieldBuilder() : null; - } else { - matchedRulesBuilder_.addAllMessages(other.matchedRules_); - } - } + public Builder mergeFrom(com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentials other) { + if (other == com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentials.getDefaultInstance()) return this; + if (!other.getCode().isEmpty()) { + code_ = other.code_; + bitField0_ |= 0x00000001; + onChanged(); } - if (!other.imageTags_.isEmpty()) { - if (imageTags_.isEmpty()) { - imageTags_ = other.imageTags_; - bitField0_ = (bitField0_ & ~0x00000002); - } else { - ensureImageTagsIsMutable(); - imageTags_.addAll(other.imageTags_); - } + if (!other.getType().isEmpty()) { + type_ = other.type_; + bitField0_ |= 0x00000002; onChanged(); } - if (other.hasEvent()) { - mergeEvent(other.getEvent()); + if (!other.getAccessKeyId().isEmpty()) { + accessKeyId_ = other.accessKeyId_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (!other.getLastUpdated().isEmpty()) { + lastUpdated_ = other.lastUpdated_; + bitField0_ |= 0x00000008; + onChanged(); + } + if (!other.getExpirationRaw().isEmpty()) { + expirationRaw_ = other.expirationRaw_; + bitField0_ |= 0x00000010; + onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -20218,509 +25099,405 @@ public Builder mergeFrom( done = true; break; case 10: { - com.dd.cws.adv1.pb.SecDumpProto.MatchedRule m = - input.readMessage( - com.dd.cws.adv1.pb.SecDumpProto.MatchedRule.parser(), - extensionRegistry); - if (matchedRulesBuilder_ == null) { - ensureMatchedRulesIsMutable(); - matchedRules_.add(m); - } else { - matchedRulesBuilder_.addMessage(m); - } + code_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; break; } // case 10 case 18: { - java.lang.String s = input.readStringRequireUtf8(); - ensureImageTagsIsMutable(); - imageTags_.add(s); + type_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; break; } // case 18 case 26: { - input.readMessage( - getEventFieldBuilder().getBuilder(), - extensionRegistry); + accessKeyId_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000004; break; } // case 26 + case 34: { + lastUpdated_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + expirationRaw_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - private int bitField0_; - - private java.util.List matchedRules_ = - java.util.Collections.emptyList(); - private void ensureMatchedRulesIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - matchedRules_ = new java.util.ArrayList(matchedRules_); - bitField0_ |= 0x00000001; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.dd.cws.adv1.pb.SecDumpProto.MatchedRule, com.dd.cws.adv1.pb.SecDumpProto.MatchedRule.Builder, com.dd.cws.adv1.pb.SecDumpProto.MatchedRuleOrBuilder> matchedRulesBuilder_; - - /** - * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 1; - */ - public java.util.List getMatchedRulesList() { - if (matchedRulesBuilder_ == null) { - return java.util.Collections.unmodifiableList(matchedRules_); - } else { - return matchedRulesBuilder_.getMessageList(); - } - } - /** - * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 1; - */ - public int getMatchedRulesCount() { - if (matchedRulesBuilder_ == null) { - return matchedRules_.size(); - } else { - return matchedRulesBuilder_.getCount(); - } - } - /** - * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 1; - */ - public com.dd.cws.adv1.pb.SecDumpProto.MatchedRule getMatchedRules(int index) { - if (matchedRulesBuilder_ == null) { - return matchedRules_.get(index); - } else { - return matchedRulesBuilder_.getMessage(index); - } - } - /** - * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 1; - */ - public Builder setMatchedRules( - int index, com.dd.cws.adv1.pb.SecDumpProto.MatchedRule value) { - if (matchedRulesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureMatchedRulesIsMutable(); - matchedRules_.set(index, value); - onChanged(); - } else { - matchedRulesBuilder_.setMessage(index, value); - } - return this; - } - /** - * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 1; - */ - public Builder setMatchedRules( - int index, com.dd.cws.adv1.pb.SecDumpProto.MatchedRule.Builder builderForValue) { - if (matchedRulesBuilder_ == null) { - ensureMatchedRulesIsMutable(); - matchedRules_.set(index, builderForValue.build()); - onChanged(); - } else { - matchedRulesBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 1; - */ - public Builder addMatchedRules(com.dd.cws.adv1.pb.SecDumpProto.MatchedRule value) { - if (matchedRulesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureMatchedRulesIsMutable(); - matchedRules_.add(value); - onChanged(); - } else { - matchedRulesBuilder_.addMessage(value); - } - return this; - } - /** - * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 1; - */ - public Builder addMatchedRules( - int index, com.dd.cws.adv1.pb.SecDumpProto.MatchedRule value) { - if (matchedRulesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureMatchedRulesIsMutable(); - matchedRules_.add(index, value); - onChanged(); - } else { - matchedRulesBuilder_.addMessage(index, value); - } - return this; - } - /** - * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 1; - */ - public Builder addMatchedRules( - com.dd.cws.adv1.pb.SecDumpProto.MatchedRule.Builder builderForValue) { - if (matchedRulesBuilder_ == null) { - ensureMatchedRulesIsMutable(); - matchedRules_.add(builderForValue.build()); + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { onChanged(); - } else { - matchedRulesBuilder_.addMessage(builderForValue.build()); - } + } // finally return this; } + private int bitField0_; + + private java.lang.Object code_ = ""; /** - * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 1; + * string code = 1; + * @return The code. */ - public Builder addMatchedRules( - int index, com.dd.cws.adv1.pb.SecDumpProto.MatchedRule.Builder builderForValue) { - if (matchedRulesBuilder_ == null) { - ensureMatchedRulesIsMutable(); - matchedRules_.add(index, builderForValue.build()); - onChanged(); + public java.lang.String getCode() { + java.lang.Object ref = code_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + code_ = s; + return s; } else { - matchedRulesBuilder_.addMessage(index, builderForValue.build()); + return (java.lang.String) ref; } - return this; } /** - * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 1; + * string code = 1; + * @return The bytes for code. */ - public Builder addAllMatchedRules( - java.lang.Iterable values) { - if (matchedRulesBuilder_ == null) { - ensureMatchedRulesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, matchedRules_); - onChanged(); + public com.google.protobuf.ByteString + getCodeBytes() { + java.lang.Object ref = code_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + code_ = b; + return b; } else { - matchedRulesBuilder_.addAllMessages(values); + return (com.google.protobuf.ByteString) ref; } - return this; } /** - * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 1; + * string code = 1; + * @param value The code to set. + * @return This builder for chaining. */ - public Builder clearMatchedRules() { - if (matchedRulesBuilder_ == null) { - matchedRules_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - } else { - matchedRulesBuilder_.clear(); - } + public Builder setCode( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + code_ = value; + bitField0_ |= 0x00000001; + onChanged(); return this; } /** - * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 1; + * string code = 1; + * @return This builder for chaining. */ - public Builder removeMatchedRules(int index) { - if (matchedRulesBuilder_ == null) { - ensureMatchedRulesIsMutable(); - matchedRules_.remove(index); - onChanged(); - } else { - matchedRulesBuilder_.remove(index); - } + public Builder clearCode() { + code_ = getDefaultInstance().getCode(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); return this; } /** - * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 1; - */ - public com.dd.cws.adv1.pb.SecDumpProto.MatchedRule.Builder getMatchedRulesBuilder( - int index) { - return getMatchedRulesFieldBuilder().getBuilder(index); - } - /** - * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 1; + * string code = 1; + * @param value The bytes for code to set. + * @return This builder for chaining. */ - public com.dd.cws.adv1.pb.SecDumpProto.MatchedRuleOrBuilder getMatchedRulesOrBuilder( - int index) { - if (matchedRulesBuilder_ == null) { - return matchedRules_.get(index); } else { - return matchedRulesBuilder_.getMessageOrBuilder(index); - } + public Builder setCodeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + code_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; } + + private java.lang.Object type_ = ""; /** - * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 1; + * string type = 2; + * @return The type. */ - public java.util.List - getMatchedRulesOrBuilderList() { - if (matchedRulesBuilder_ != null) { - return matchedRulesBuilder_.getMessageOrBuilderList(); + public java.lang.String getType() { + java.lang.Object ref = type_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + type_ = s; + return s; } else { - return java.util.Collections.unmodifiableList(matchedRules_); + return (java.lang.String) ref; } } /** - * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 1; - */ - public com.dd.cws.adv1.pb.SecDumpProto.MatchedRule.Builder addMatchedRulesBuilder() { - return getMatchedRulesFieldBuilder().addBuilder( - com.dd.cws.adv1.pb.SecDumpProto.MatchedRule.getDefaultInstance()); - } - /** - * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 1; - */ - public com.dd.cws.adv1.pb.SecDumpProto.MatchedRule.Builder addMatchedRulesBuilder( - int index) { - return getMatchedRulesFieldBuilder().addBuilder( - index, com.dd.cws.adv1.pb.SecDumpProto.MatchedRule.getDefaultInstance()); - } - /** - * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 1; + * string type = 2; + * @return The bytes for type. */ - public java.util.List - getMatchedRulesBuilderList() { - return getMatchedRulesFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.dd.cws.adv1.pb.SecDumpProto.MatchedRule, com.dd.cws.adv1.pb.SecDumpProto.MatchedRule.Builder, com.dd.cws.adv1.pb.SecDumpProto.MatchedRuleOrBuilder> - getMatchedRulesFieldBuilder() { - if (matchedRulesBuilder_ == null) { - matchedRulesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.dd.cws.adv1.pb.SecDumpProto.MatchedRule, com.dd.cws.adv1.pb.SecDumpProto.MatchedRule.Builder, com.dd.cws.adv1.pb.SecDumpProto.MatchedRuleOrBuilder>( - matchedRules_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); - matchedRules_ = null; + public com.google.protobuf.ByteString + getTypeBytes() { + java.lang.Object ref = type_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + type_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; } - return matchedRulesBuilder_; - } - - private com.google.protobuf.LazyStringList imageTags_ = com.google.protobuf.LazyStringArrayList.EMPTY; - private void ensureImageTagsIsMutable() { - if (!((bitField0_ & 0x00000002) != 0)) { - imageTags_ = new com.google.protobuf.LazyStringArrayList(imageTags_); - bitField0_ |= 0x00000002; - } - } - /** - * repeated string image_tags = 2; - * @return A list containing the imageTags. - */ - public com.google.protobuf.ProtocolStringList - getImageTagsList() { - return imageTags_.getUnmodifiableView(); } /** - * repeated string image_tags = 2; - * @return The count of imageTags. - */ - public int getImageTagsCount() { - return imageTags_.size(); - } - /** - * repeated string image_tags = 2; - * @param index The index of the element to return. - * @return The imageTags at the given index. + * string type = 2; + * @param value The type to set. + * @return This builder for chaining. */ - public java.lang.String getImageTags(int index) { - return imageTags_.get(index); + public Builder setType( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + type_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; } /** - * repeated string image_tags = 2; - * @param index The index of the value to return. - * @return The bytes of the imageTags at the given index. + * string type = 2; + * @return This builder for chaining. */ - public com.google.protobuf.ByteString - getImageTagsBytes(int index) { - return imageTags_.getByteString(index); + public Builder clearType() { + type_ = getDefaultInstance().getType(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; } /** - * repeated string image_tags = 2; - * @param index The index to set the value at. - * @param value The imageTags to set. + * string type = 2; + * @param value The bytes for type to set. * @return This builder for chaining. */ - public Builder setImageTags( - int index, java.lang.String value) { + public Builder setTypeBytes( + com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } - ensureImageTagsIsMutable(); - imageTags_.set(index, value); + checkByteStringIsUtf8(value); + type_ = value; + bitField0_ |= 0x00000002; onChanged(); return this; } + + private java.lang.Object accessKeyId_ = ""; + /** + * string access_key_id = 3; + * @return The accessKeyId. + */ + public java.lang.String getAccessKeyId() { + java.lang.Object ref = accessKeyId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + accessKeyId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } /** - * repeated string image_tags = 2; - * @param value The imageTags to add. - * @return This builder for chaining. + * string access_key_id = 3; + * @return The bytes for accessKeyId. */ - public Builder addImageTags( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } - ensureImageTagsIsMutable(); - imageTags_.add(value); - onChanged(); - return this; + public com.google.protobuf.ByteString + getAccessKeyIdBytes() { + java.lang.Object ref = accessKeyId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + accessKeyId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } } /** - * repeated string image_tags = 2; - * @param values The imageTags to add. + * string access_key_id = 3; + * @param value The accessKeyId to set. * @return This builder for chaining. */ - public Builder addAllImageTags( - java.lang.Iterable values) { - ensureImageTagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, imageTags_); + public Builder setAccessKeyId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + accessKeyId_ = value; + bitField0_ |= 0x00000004; onChanged(); return this; } /** - * repeated string image_tags = 2; + * string access_key_id = 3; * @return This builder for chaining. */ - public Builder clearImageTags() { - imageTags_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000002); + public Builder clearAccessKeyId() { + accessKeyId_ = getDefaultInstance().getAccessKeyId(); + bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } /** - * repeated string image_tags = 2; - * @param value The bytes of the imageTags to add. + * string access_key_id = 3; + * @param value The bytes for accessKeyId to set. * @return This builder for chaining. */ - public Builder addImageTagsBytes( + public Builder setAccessKeyIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); - ensureImageTagsIsMutable(); - imageTags_.add(value); + accessKeyId_ = value; + bitField0_ |= 0x00000004; onChanged(); return this; } - private com.dd.cws.adv1.pb.SecDumpProto.IMDSEvent event_; - private com.google.protobuf.SingleFieldBuilderV3< - com.dd.cws.adv1.pb.SecDumpProto.IMDSEvent, com.dd.cws.adv1.pb.SecDumpProto.IMDSEvent.Builder, com.dd.cws.adv1.pb.SecDumpProto.IMDSEventOrBuilder> eventBuilder_; + private java.lang.Object lastUpdated_ = ""; /** - * .datadog.cws.dumpsv1.IMDSEvent event = 3; - * @return Whether the event field is set. + * string last_updated = 4; + * @return The lastUpdated. */ - public boolean hasEvent() { - return ((bitField0_ & 0x00000004) != 0); + public java.lang.String getLastUpdated() { + java.lang.Object ref = lastUpdated_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + lastUpdated_ = s; + return s; + } else { + return (java.lang.String) ref; + } } /** - * .datadog.cws.dumpsv1.IMDSEvent event = 3; - * @return The event. + * string last_updated = 4; + * @return The bytes for lastUpdated. */ - public com.dd.cws.adv1.pb.SecDumpProto.IMDSEvent getEvent() { - if (eventBuilder_ == null) { - return event_ == null ? com.dd.cws.adv1.pb.SecDumpProto.IMDSEvent.getDefaultInstance() : event_; + public com.google.protobuf.ByteString + getLastUpdatedBytes() { + java.lang.Object ref = lastUpdated_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + lastUpdated_ = b; + return b; } else { - return eventBuilder_.getMessage(); + return (com.google.protobuf.ByteString) ref; } } /** - * .datadog.cws.dumpsv1.IMDSEvent event = 3; + * string last_updated = 4; + * @param value The lastUpdated to set. + * @return This builder for chaining. */ - public Builder setEvent(com.dd.cws.adv1.pb.SecDumpProto.IMDSEvent value) { - if (eventBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - event_ = value; - } else { - eventBuilder_.setMessage(value); - } - bitField0_ |= 0x00000004; + public Builder setLastUpdated( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + lastUpdated_ = value; + bitField0_ |= 0x00000008; onChanged(); return this; } /** - * .datadog.cws.dumpsv1.IMDSEvent event = 3; + * string last_updated = 4; + * @return This builder for chaining. */ - public Builder setEvent( - com.dd.cws.adv1.pb.SecDumpProto.IMDSEvent.Builder builderForValue) { - if (eventBuilder_ == null) { - event_ = builderForValue.build(); - } else { - eventBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00000004; + public Builder clearLastUpdated() { + lastUpdated_ = getDefaultInstance().getLastUpdated(); + bitField0_ = (bitField0_ & ~0x00000008); onChanged(); return this; } /** - * .datadog.cws.dumpsv1.IMDSEvent event = 3; + * string last_updated = 4; + * @param value The bytes for lastUpdated to set. + * @return This builder for chaining. */ - public Builder mergeEvent(com.dd.cws.adv1.pb.SecDumpProto.IMDSEvent value) { - if (eventBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - event_ != null && - event_ != com.dd.cws.adv1.pb.SecDumpProto.IMDSEvent.getDefaultInstance()) { - getEventBuilder().mergeFrom(value); - } else { - event_ = value; - } - } else { - eventBuilder_.mergeFrom(value); - } - bitField0_ |= 0x00000004; + public Builder setLastUpdatedBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + lastUpdated_ = value; + bitField0_ |= 0x00000008; onChanged(); return this; } + + private java.lang.Object expirationRaw_ = ""; /** - * .datadog.cws.dumpsv1.IMDSEvent event = 3; + * string expiration_raw = 5; + * @return The expirationRaw. */ - public Builder clearEvent() { - bitField0_ = (bitField0_ & ~0x00000004); - event_ = null; - if (eventBuilder_ != null) { - eventBuilder_.dispose(); - eventBuilder_ = null; + public java.lang.String getExpirationRaw() { + java.lang.Object ref = expirationRaw_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + expirationRaw_ = s; + return s; + } else { + return (java.lang.String) ref; } - onChanged(); - return this; } /** - * .datadog.cws.dumpsv1.IMDSEvent event = 3; + * string expiration_raw = 5; + * @return The bytes for expirationRaw. */ - public com.dd.cws.adv1.pb.SecDumpProto.IMDSEvent.Builder getEventBuilder() { - bitField0_ |= 0x00000004; + public com.google.protobuf.ByteString + getExpirationRawBytes() { + java.lang.Object ref = expirationRaw_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + expirationRaw_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string expiration_raw = 5; + * @param value The expirationRaw to set. + * @return This builder for chaining. + */ + public Builder setExpirationRaw( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + expirationRaw_ = value; + bitField0_ |= 0x00000010; onChanged(); - return getEventFieldBuilder().getBuilder(); + return this; } /** - * .datadog.cws.dumpsv1.IMDSEvent event = 3; + * string expiration_raw = 5; + * @return This builder for chaining. */ - public com.dd.cws.adv1.pb.SecDumpProto.IMDSEventOrBuilder getEventOrBuilder() { - if (eventBuilder_ != null) { - return eventBuilder_.getMessageOrBuilder(); - } else { - return event_ == null ? - com.dd.cws.adv1.pb.SecDumpProto.IMDSEvent.getDefaultInstance() : event_; - } + public Builder clearExpirationRaw() { + expirationRaw_ = getDefaultInstance().getExpirationRaw(); + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + return this; } /** - * .datadog.cws.dumpsv1.IMDSEvent event = 3; + * string expiration_raw = 5; + * @param value The bytes for expirationRaw to set. + * @return This builder for chaining. */ - private com.google.protobuf.SingleFieldBuilderV3< - com.dd.cws.adv1.pb.SecDumpProto.IMDSEvent, com.dd.cws.adv1.pb.SecDumpProto.IMDSEvent.Builder, com.dd.cws.adv1.pb.SecDumpProto.IMDSEventOrBuilder> - getEventFieldBuilder() { - if (eventBuilder_ == null) { - eventBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.dd.cws.adv1.pb.SecDumpProto.IMDSEvent, com.dd.cws.adv1.pb.SecDumpProto.IMDSEvent.Builder, com.dd.cws.adv1.pb.SecDumpProto.IMDSEventOrBuilder>( - getEvent(), - getParentForChildren(), - isClean()); - event_ = null; - } - return eventBuilder_; + public Builder setExpirationRawBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + expirationRaw_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; } @java.lang.Override public final Builder setUnknownFields( @@ -20735,23 +25512,23 @@ public final Builder mergeUnknownFields( } - // @@protoc_insertion_point(builder_scope:datadog.cws.dumpsv1.IMDSNode) + // @@protoc_insertion_point(builder_scope:datadog.cws.dumpsv1.AWSSecurityCredentials) } - // @@protoc_insertion_point(class_scope:datadog.cws.dumpsv1.IMDSNode) - private static final com.dd.cws.adv1.pb.SecDumpProto.IMDSNode DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:datadog.cws.dumpsv1.AWSSecurityCredentials) + private static final com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentials DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new com.dd.cws.adv1.pb.SecDumpProto.IMDSNode(); + DEFAULT_INSTANCE = new com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentials(); } - public static com.dd.cws.adv1.pb.SecDumpProto.IMDSNode getDefaultInstance() { + public static com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentials getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override - public IMDSNode parsePartialFrom( + public AWSSecurityCredentials parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -20770,417 +25547,716 @@ public IMDSNode parsePartialFrom( } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public com.dd.cws.adv1.pb.SecDumpProto.IMDSNode getDefaultInstanceForType() { + public com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentials getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } - public interface IMDSEventOrBuilder extends - // @@protoc_insertion_point(interface_extends:datadog.cws.dumpsv1.IMDSEvent) + public interface FileInfoOrBuilder extends + // @@protoc_insertion_point(interface_extends:datadog.cws.dumpsv1.FileInfo) com.google.protobuf.MessageOrBuilder { /** - * string type = 1; - * @return The type. + * uint32 uid = 1; + * @return The uid. */ - java.lang.String getType(); + int getUid(); + /** - * string type = 1; - * @return The bytes for type. + * string user = 2; + * @return The user. + */ + java.lang.String getUser(); + /** + * string user = 2; + * @return The bytes for user. */ com.google.protobuf.ByteString - getTypeBytes(); + getUserBytes(); /** - * string cloud_provider = 2; - * @return The cloudProvider. + * uint32 gid = 3; + * @return The gid. */ - java.lang.String getCloudProvider(); + int getGid(); + /** - * string cloud_provider = 2; - * @return The bytes for cloudProvider. + * string group = 4; + * @return The group. + */ + java.lang.String getGroup(); + /** + * string group = 4; + * @return The bytes for group. */ com.google.protobuf.ByteString - getCloudProviderBytes(); + getGroupBytes(); /** - * string url = 3; - * @return The url. + *
+     * TODO: check conversion with uint16
+     * 
+ * + * uint32 mode = 5; + * @return The mode. */ - java.lang.String getUrl(); + int getMode(); + /** - * string url = 3; - * @return The bytes for url. + * uint64 ctime = 6; + * @return The ctime. + */ + long getCtime(); + + /** + * uint64 mtime = 7; + * @return The mtime. + */ + long getMtime(); + + /** + * uint32 mount_id = 8; + * @return The mountId. + */ + int getMountId(); + + /** + * uint64 inode = 9; + * @return The inode. + */ + long getInode(); + + /** + * bool in_upper_layer = 10; + * @return The inUpperLayer. + */ + boolean getInUpperLayer(); + + /** + * string path = 11; + * @return The path. + */ + java.lang.String getPath(); + /** + * string path = 11; + * @return The bytes for path. */ com.google.protobuf.ByteString - getUrlBytes(); + getPathBytes(); + + /** + * string basename = 12; + * @return The basename. + */ + java.lang.String getBasename(); + /** + * string basename = 12; + * @return The bytes for basename. + */ + com.google.protobuf.ByteString + getBasenameBytes(); + + /** + * string filesystem = 13; + * @return The filesystem. + */ + java.lang.String getFilesystem(); + /** + * string filesystem = 13; + * @return The bytes for filesystem. + */ + com.google.protobuf.ByteString + getFilesystemBytes(); + + /** + * string package_name = 14; + * @return The packageName. + */ + java.lang.String getPackageName(); + /** + * string package_name = 14; + * @return The bytes for packageName. + */ + com.google.protobuf.ByteString + getPackageNameBytes(); + + /** + * string package_version = 15; + * @return The packageVersion. + */ + java.lang.String getPackageVersion(); + /** + * string package_version = 15; + * @return The bytes for packageVersion. + */ + com.google.protobuf.ByteString + getPackageVersionBytes(); + + /** + * string package_srcversion = 16; + * @return The packageSrcversion. + */ + java.lang.String getPackageSrcversion(); + /** + * string package_srcversion = 16; + * @return The bytes for packageSrcversion. + */ + com.google.protobuf.ByteString + getPackageSrcversionBytes(); + + /** + * repeated string hashes = 17; + * @return A list containing the hashes. + */ + java.util.List + getHashesList(); + /** + * repeated string hashes = 17; + * @return The count of hashes. + */ + int getHashesCount(); + /** + * repeated string hashes = 17; + * @param index The index of the element to return. + * @return The hashes at the given index. + */ + java.lang.String getHashes(int index); + /** + * repeated string hashes = 17; + * @param index The index of the value to return. + * @return The bytes of the hashes at the given index. + */ + com.google.protobuf.ByteString + getHashesBytes(int index); + + /** + * .datadog.cws.dumpsv1.HashState hash_state = 18; + * @return The enum numeric value on the wire for hashState. + */ + int getHashStateValue(); + /** + * .datadog.cws.dumpsv1.HashState hash_state = 18; + * @return The hashState. + */ + com.dd.cws.adv1.pb.SecDumpProto.HashState getHashState(); + } + /** + * Protobuf type {@code datadog.cws.dumpsv1.FileInfo} + */ + public static final class FileInfo extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:datadog.cws.dumpsv1.FileInfo) + FileInfoOrBuilder { + private static final long serialVersionUID = 0L; + // Use FileInfo.newBuilder() to construct. + private FileInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private FileInfo() { + user_ = ""; + group_ = ""; + path_ = ""; + basename_ = ""; + filesystem_ = ""; + packageName_ = ""; + packageVersion_ = ""; + packageSrcversion_ = ""; + hashes_ = com.google.protobuf.LazyStringArrayList.EMPTY; + hashState_ = 0; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new FileInfo(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_FileInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_FileInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.dd.cws.adv1.pb.SecDumpProto.FileInfo.class, com.dd.cws.adv1.pb.SecDumpProto.FileInfo.Builder.class); + } + + public static final int UID_FIELD_NUMBER = 1; + private int uid_ = 0; + /** + * uint32 uid = 1; + * @return The uid. + */ + @java.lang.Override + public int getUid() { + return uid_; + } + public static final int USER_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object user_ = ""; /** - * string host = 4; - * @return The host. + * string user = 2; + * @return The user. */ - java.lang.String getHost(); + @java.lang.Override + public java.lang.String getUser() { + java.lang.Object ref = user_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + user_ = s; + return s; + } + } /** - * string host = 4; - * @return The bytes for host. + * string user = 2; + * @return The bytes for user. */ - com.google.protobuf.ByteString - getHostBytes(); + @java.lang.Override + public com.google.protobuf.ByteString + getUserBytes() { + java.lang.Object ref = user_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + user_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + public static final int GID_FIELD_NUMBER = 3; + private int gid_ = 0; /** - * string user_agent = 5; - * @return The userAgent. - */ - java.lang.String getUserAgent(); - /** - * string user_agent = 5; - * @return The bytes for userAgent. + * uint32 gid = 3; + * @return The gid. */ - com.google.protobuf.ByteString - getUserAgentBytes(); + @java.lang.Override + public int getGid() { + return gid_; + } + public static final int GROUP_FIELD_NUMBER = 4; + @SuppressWarnings("serial") + private volatile java.lang.Object group_ = ""; /** - * string server = 6; - * @return The server. + * string group = 4; + * @return The group. */ - java.lang.String getServer(); + @java.lang.Override + public java.lang.String getGroup() { + java.lang.Object ref = group_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + group_ = s; + return s; + } + } /** - * string server = 6; - * @return The bytes for server. + * string group = 4; + * @return The bytes for group. */ - com.google.protobuf.ByteString - getServerBytes(); + @java.lang.Override + public com.google.protobuf.ByteString + getGroupBytes() { + java.lang.Object ref = group_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + group_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + public static final int MODE_FIELD_NUMBER = 5; + private int mode_ = 0; /** - * .datadog.cws.dumpsv1.AWSIMDSEvent aws = 7; - * @return Whether the aws field is set. + *
+     * TODO: check conversion with uint16
+     * 
+ * + * uint32 mode = 5; + * @return The mode. */ - boolean hasAws(); + @java.lang.Override + public int getMode() { + return mode_; + } + + public static final int CTIME_FIELD_NUMBER = 6; + private long ctime_ = 0L; /** - * .datadog.cws.dumpsv1.AWSIMDSEvent aws = 7; - * @return The aws. + * uint64 ctime = 6; + * @return The ctime. */ - com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEvent getAws(); + @java.lang.Override + public long getCtime() { + return ctime_; + } + + public static final int MTIME_FIELD_NUMBER = 7; + private long mtime_ = 0L; /** - * .datadog.cws.dumpsv1.AWSIMDSEvent aws = 7; + * uint64 mtime = 7; + * @return The mtime. */ - com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEventOrBuilder getAwsOrBuilder(); - } - /** - * Protobuf type {@code datadog.cws.dumpsv1.IMDSEvent} - */ - public static final class IMDSEvent extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:datadog.cws.dumpsv1.IMDSEvent) - IMDSEventOrBuilder { - private static final long serialVersionUID = 0L; - // Use IMDSEvent.newBuilder() to construct. - private IMDSEvent(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private IMDSEvent() { - type_ = ""; - cloudProvider_ = ""; - url_ = ""; - host_ = ""; - userAgent_ = ""; - server_ = ""; + @java.lang.Override + public long getMtime() { + return mtime_; } + public static final int MOUNT_ID_FIELD_NUMBER = 8; + private int mountId_ = 0; + /** + * uint32 mount_id = 8; + * @return The mountId. + */ @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new IMDSEvent(); + public int getMountId() { + return mountId_; } + public static final int INODE_FIELD_NUMBER = 9; + private long inode_ = 0L; + /** + * uint64 inode = 9; + * @return The inode. + */ @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_IMDSEvent_descriptor; + public long getInode() { + return inode_; } + public static final int IN_UPPER_LAYER_FIELD_NUMBER = 10; + private boolean inUpperLayer_ = false; + /** + * bool in_upper_layer = 10; + * @return The inUpperLayer. + */ @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_IMDSEvent_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.dd.cws.adv1.pb.SecDumpProto.IMDSEvent.class, com.dd.cws.adv1.pb.SecDumpProto.IMDSEvent.Builder.class); + public boolean getInUpperLayer() { + return inUpperLayer_; } - public static final int TYPE_FIELD_NUMBER = 1; + public static final int PATH_FIELD_NUMBER = 11; @SuppressWarnings("serial") - private volatile java.lang.Object type_ = ""; + private volatile java.lang.Object path_ = ""; /** - * string type = 1; - * @return The type. + * string path = 11; + * @return The path. */ @java.lang.Override - public java.lang.String getType() { - java.lang.Object ref = type_; + public java.lang.String getPath() { + java.lang.Object ref = path_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); - type_ = s; + path_ = s; return s; } } /** - * string type = 1; - * @return The bytes for type. + * string path = 11; + * @return The bytes for path. */ @java.lang.Override public com.google.protobuf.ByteString - getTypeBytes() { - java.lang.Object ref = type_; + getPathBytes() { + java.lang.Object ref = path_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); - type_ = b; + path_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } - public static final int CLOUD_PROVIDER_FIELD_NUMBER = 2; + public static final int BASENAME_FIELD_NUMBER = 12; @SuppressWarnings("serial") - private volatile java.lang.Object cloudProvider_ = ""; + private volatile java.lang.Object basename_ = ""; /** - * string cloud_provider = 2; - * @return The cloudProvider. + * string basename = 12; + * @return The basename. */ @java.lang.Override - public java.lang.String getCloudProvider() { - java.lang.Object ref = cloudProvider_; + public java.lang.String getBasename() { + java.lang.Object ref = basename_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); - cloudProvider_ = s; + basename_ = s; return s; } } /** - * string cloud_provider = 2; - * @return The bytes for cloudProvider. + * string basename = 12; + * @return The bytes for basename. */ @java.lang.Override public com.google.protobuf.ByteString - getCloudProviderBytes() { - java.lang.Object ref = cloudProvider_; + getBasenameBytes() { + java.lang.Object ref = basename_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); - cloudProvider_ = b; + basename_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } - public static final int URL_FIELD_NUMBER = 3; + public static final int FILESYSTEM_FIELD_NUMBER = 13; @SuppressWarnings("serial") - private volatile java.lang.Object url_ = ""; + private volatile java.lang.Object filesystem_ = ""; /** - * string url = 3; - * @return The url. + * string filesystem = 13; + * @return The filesystem. */ @java.lang.Override - public java.lang.String getUrl() { - java.lang.Object ref = url_; + public java.lang.String getFilesystem() { + java.lang.Object ref = filesystem_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); - url_ = s; + filesystem_ = s; return s; } } /** - * string url = 3; - * @return The bytes for url. + * string filesystem = 13; + * @return The bytes for filesystem. */ @java.lang.Override public com.google.protobuf.ByteString - getUrlBytes() { - java.lang.Object ref = url_; + getFilesystemBytes() { + java.lang.Object ref = filesystem_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); - url_ = b; + filesystem_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } - public static final int HOST_FIELD_NUMBER = 4; + public static final int PACKAGE_NAME_FIELD_NUMBER = 14; @SuppressWarnings("serial") - private volatile java.lang.Object host_ = ""; + private volatile java.lang.Object packageName_ = ""; /** - * string host = 4; - * @return The host. + * string package_name = 14; + * @return The packageName. */ @java.lang.Override - public java.lang.String getHost() { - java.lang.Object ref = host_; + public java.lang.String getPackageName() { + java.lang.Object ref = packageName_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); - host_ = s; + packageName_ = s; return s; } } /** - * string host = 4; - * @return The bytes for host. + * string package_name = 14; + * @return The bytes for packageName. */ @java.lang.Override public com.google.protobuf.ByteString - getHostBytes() { - java.lang.Object ref = host_; + getPackageNameBytes() { + java.lang.Object ref = packageName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); - host_ = b; + packageName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } - public static final int USER_AGENT_FIELD_NUMBER = 5; + public static final int PACKAGE_VERSION_FIELD_NUMBER = 15; @SuppressWarnings("serial") - private volatile java.lang.Object userAgent_ = ""; + private volatile java.lang.Object packageVersion_ = ""; /** - * string user_agent = 5; - * @return The userAgent. + * string package_version = 15; + * @return The packageVersion. */ @java.lang.Override - public java.lang.String getUserAgent() { - java.lang.Object ref = userAgent_; + public java.lang.String getPackageVersion() { + java.lang.Object ref = packageVersion_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); - userAgent_ = s; + packageVersion_ = s; return s; } } /** - * string user_agent = 5; - * @return The bytes for userAgent. + * string package_version = 15; + * @return The bytes for packageVersion. */ @java.lang.Override public com.google.protobuf.ByteString - getUserAgentBytes() { - java.lang.Object ref = userAgent_; + getPackageVersionBytes() { + java.lang.Object ref = packageVersion_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); - userAgent_ = b; + packageVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } - public static final int SERVER_FIELD_NUMBER = 6; + public static final int PACKAGE_SRCVERSION_FIELD_NUMBER = 16; @SuppressWarnings("serial") - private volatile java.lang.Object server_ = ""; + private volatile java.lang.Object packageSrcversion_ = ""; /** - * string server = 6; - * @return The server. + * string package_srcversion = 16; + * @return The packageSrcversion. */ @java.lang.Override - public java.lang.String getServer() { - java.lang.Object ref = server_; + public java.lang.String getPackageSrcversion() { + java.lang.Object ref = packageSrcversion_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); - server_ = s; + packageSrcversion_ = s; return s; } } /** - * string server = 6; - * @return The bytes for server. + * string package_srcversion = 16; + * @return The bytes for packageSrcversion. */ @java.lang.Override public com.google.protobuf.ByteString - getServerBytes() { - java.lang.Object ref = server_; + getPackageSrcversionBytes() { + java.lang.Object ref = packageSrcversion_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); - server_ = b; + packageSrcversion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } - public static final int AWS_FIELD_NUMBER = 7; - private com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEvent aws_; + public static final int HASHES_FIELD_NUMBER = 17; + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringList hashes_; /** - * .datadog.cws.dumpsv1.AWSIMDSEvent aws = 7; - * @return Whether the aws field is set. + * repeated string hashes = 17; + * @return A list containing the hashes. */ - @java.lang.Override - public boolean hasAws() { - return aws_ != null; + public com.google.protobuf.ProtocolStringList + getHashesList() { + return hashes_; } /** - * .datadog.cws.dumpsv1.AWSIMDSEvent aws = 7; - * @return The aws. + * repeated string hashes = 17; + * @return The count of hashes. */ - @java.lang.Override - public com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEvent getAws() { - return aws_ == null ? com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEvent.getDefaultInstance() : aws_; + public int getHashesCount() { + return hashes_.size(); } /** - * .datadog.cws.dumpsv1.AWSIMDSEvent aws = 7; + * repeated string hashes = 17; + * @param index The index of the element to return. + * @return The hashes at the given index. */ - @java.lang.Override - public com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEventOrBuilder getAwsOrBuilder() { - return aws_ == null ? com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEvent.getDefaultInstance() : aws_; + public java.lang.String getHashes(int index) { + return hashes_.get(index); + } + /** + * repeated string hashes = 17; + * @param index The index of the value to return. + * @return The bytes of the hashes at the given index. + */ + public com.google.protobuf.ByteString + getHashesBytes(int index) { + return hashes_.getByteString(index); + } + + public static final int HASH_STATE_FIELD_NUMBER = 18; + private int hashState_ = 0; + /** + * .datadog.cws.dumpsv1.HashState hash_state = 18; + * @return The enum numeric value on the wire for hashState. + */ + @java.lang.Override public int getHashStateValue() { + return hashState_; + } + /** + * .datadog.cws.dumpsv1.HashState hash_state = 18; + * @return The hashState. + */ + @java.lang.Override public com.dd.cws.adv1.pb.SecDumpProto.HashState getHashState() { + com.dd.cws.adv1.pb.SecDumpProto.HashState result = com.dd.cws.adv1.pb.SecDumpProto.HashState.forNumber(hashState_); + return result == null ? com.dd.cws.adv1.pb.SecDumpProto.HashState.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; @@ -21197,57 +26273,136 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(type_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, type_); + if (uid_ != 0) { + output.writeUInt32(1, uid_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(cloudProvider_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, cloudProvider_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(user_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, user_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(url_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, url_); + if (gid_ != 0) { + output.writeUInt32(3, gid_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(host_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 4, host_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(group_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, group_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(userAgent_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 5, userAgent_); + if (mode_ != 0) { + output.writeUInt32(5, mode_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(server_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 6, server_); + if (ctime_ != 0L) { + output.writeUInt64(6, ctime_); + } + if (mtime_ != 0L) { + output.writeUInt64(7, mtime_); + } + if (mountId_ != 0) { + output.writeUInt32(8, mountId_); + } + if (inode_ != 0L) { + output.writeUInt64(9, inode_); + } + if (inUpperLayer_ != false) { + output.writeBool(10, inUpperLayer_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 11, path_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(basename_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 12, basename_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filesystem_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 13, filesystem_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(packageName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 14, packageName_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(packageVersion_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 15, packageVersion_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(packageSrcversion_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 16, packageSrcversion_); + } + for (int i = 0; i < hashes_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 17, hashes_.getRaw(i)); + } + if (hashState_ != com.dd.cws.adv1.pb.SecDumpProto.HashState.NO_HASH.getNumber()) { + output.writeEnum(18, hashState_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (uid_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(1, uid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(user_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, user_); + } + if (gid_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(3, gid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(group_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, group_); + } + if (mode_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(5, mode_); + } + if (ctime_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeUInt64Size(6, ctime_); + } + if (mtime_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeUInt64Size(7, mtime_); + } + if (mountId_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(8, mountId_); + } + if (inode_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeUInt64Size(9, inode_); + } + if (inUpperLayer_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(10, inUpperLayer_); } - if (aws_ != null) { - output.writeMessage(7, getAws()); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, path_); } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(type_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, type_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(basename_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, basename_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(cloudProvider_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, cloudProvider_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filesystem_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, filesystem_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(url_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, url_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(packageName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, packageName_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(host_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, host_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(packageVersion_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(15, packageVersion_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(userAgent_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, userAgent_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(packageSrcversion_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(16, packageSrcversion_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(server_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, server_); + { + int dataSize = 0; + for (int i = 0; i < hashes_.size(); i++) { + dataSize += computeStringSizeNoTag(hashes_.getRaw(i)); + } + size += dataSize; + size += 2 * getHashesList().size(); } - if (aws_ != null) { + if (hashState_ != com.dd.cws.adv1.pb.SecDumpProto.HashState.NO_HASH.getNumber()) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, getAws()); + .computeEnumSize(18, hashState_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -21259,28 +26414,46 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof com.dd.cws.adv1.pb.SecDumpProto.IMDSEvent)) { + if (!(obj instanceof com.dd.cws.adv1.pb.SecDumpProto.FileInfo)) { return super.equals(obj); } - com.dd.cws.adv1.pb.SecDumpProto.IMDSEvent other = (com.dd.cws.adv1.pb.SecDumpProto.IMDSEvent) obj; + com.dd.cws.adv1.pb.SecDumpProto.FileInfo other = (com.dd.cws.adv1.pb.SecDumpProto.FileInfo) obj; - if (!getType() - .equals(other.getType())) return false; - if (!getCloudProvider() - .equals(other.getCloudProvider())) return false; - if (!getUrl() - .equals(other.getUrl())) return false; - if (!getHost() - .equals(other.getHost())) return false; - if (!getUserAgent() - .equals(other.getUserAgent())) return false; - if (!getServer() - .equals(other.getServer())) return false; - if (hasAws() != other.hasAws()) return false; - if (hasAws()) { - if (!getAws() - .equals(other.getAws())) return false; - } + if (getUid() + != other.getUid()) return false; + if (!getUser() + .equals(other.getUser())) return false; + if (getGid() + != other.getGid()) return false; + if (!getGroup() + .equals(other.getGroup())) return false; + if (getMode() + != other.getMode()) return false; + if (getCtime() + != other.getCtime()) return false; + if (getMtime() + != other.getMtime()) return false; + if (getMountId() + != other.getMountId()) return false; + if (getInode() + != other.getInode()) return false; + if (getInUpperLayer() + != other.getInUpperLayer()) return false; + if (!getPath() + .equals(other.getPath())) return false; + if (!getBasename() + .equals(other.getBasename())) return false; + if (!getFilesystem() + .equals(other.getFilesystem())) return false; + if (!getPackageName() + .equals(other.getPackageName())) return false; + if (!getPackageVersion() + .equals(other.getPackageVersion())) return false; + if (!getPackageSrcversion() + .equals(other.getPackageSrcversion())) return false; + if (!getHashesList() + .equals(other.getHashesList())) return false; + if (hashState_ != other.hashState_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -21292,90 +26465,116 @@ public int hashCode() { } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + TYPE_FIELD_NUMBER; - hash = (53 * hash) + getType().hashCode(); - hash = (37 * hash) + CLOUD_PROVIDER_FIELD_NUMBER; - hash = (53 * hash) + getCloudProvider().hashCode(); - hash = (37 * hash) + URL_FIELD_NUMBER; - hash = (53 * hash) + getUrl().hashCode(); - hash = (37 * hash) + HOST_FIELD_NUMBER; - hash = (53 * hash) + getHost().hashCode(); - hash = (37 * hash) + USER_AGENT_FIELD_NUMBER; - hash = (53 * hash) + getUserAgent().hashCode(); - hash = (37 * hash) + SERVER_FIELD_NUMBER; - hash = (53 * hash) + getServer().hashCode(); - if (hasAws()) { - hash = (37 * hash) + AWS_FIELD_NUMBER; - hash = (53 * hash) + getAws().hashCode(); + hash = (37 * hash) + UID_FIELD_NUMBER; + hash = (53 * hash) + getUid(); + hash = (37 * hash) + USER_FIELD_NUMBER; + hash = (53 * hash) + getUser().hashCode(); + hash = (37 * hash) + GID_FIELD_NUMBER; + hash = (53 * hash) + getGid(); + hash = (37 * hash) + GROUP_FIELD_NUMBER; + hash = (53 * hash) + getGroup().hashCode(); + hash = (37 * hash) + MODE_FIELD_NUMBER; + hash = (53 * hash) + getMode(); + hash = (37 * hash) + CTIME_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getCtime()); + hash = (37 * hash) + MTIME_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getMtime()); + hash = (37 * hash) + MOUNT_ID_FIELD_NUMBER; + hash = (53 * hash) + getMountId(); + hash = (37 * hash) + INODE_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getInode()); + hash = (37 * hash) + IN_UPPER_LAYER_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getInUpperLayer()); + hash = (37 * hash) + PATH_FIELD_NUMBER; + hash = (53 * hash) + getPath().hashCode(); + hash = (37 * hash) + BASENAME_FIELD_NUMBER; + hash = (53 * hash) + getBasename().hashCode(); + hash = (37 * hash) + FILESYSTEM_FIELD_NUMBER; + hash = (53 * hash) + getFilesystem().hashCode(); + hash = (37 * hash) + PACKAGE_NAME_FIELD_NUMBER; + hash = (53 * hash) + getPackageName().hashCode(); + hash = (37 * hash) + PACKAGE_VERSION_FIELD_NUMBER; + hash = (53 * hash) + getPackageVersion().hashCode(); + hash = (37 * hash) + PACKAGE_SRCVERSION_FIELD_NUMBER; + hash = (53 * hash) + getPackageSrcversion().hashCode(); + if (getHashesCount() > 0) { + hash = (37 * hash) + HASHES_FIELD_NUMBER; + hash = (53 * hash) + getHashesList().hashCode(); } + hash = (37 * hash) + HASH_STATE_FIELD_NUMBER; + hash = (53 * hash) + hashState_; hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.dd.cws.adv1.pb.SecDumpProto.IMDSEvent parseFrom( + public static com.dd.cws.adv1.pb.SecDumpProto.FileInfo parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.dd.cws.adv1.pb.SecDumpProto.IMDSEvent parseFrom( + public static com.dd.cws.adv1.pb.SecDumpProto.FileInfo parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.dd.cws.adv1.pb.SecDumpProto.IMDSEvent parseFrom( + public static com.dd.cws.adv1.pb.SecDumpProto.FileInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.dd.cws.adv1.pb.SecDumpProto.IMDSEvent parseFrom( + public static com.dd.cws.adv1.pb.SecDumpProto.FileInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.dd.cws.adv1.pb.SecDumpProto.IMDSEvent parseFrom(byte[] data) + public static com.dd.cws.adv1.pb.SecDumpProto.FileInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.dd.cws.adv1.pb.SecDumpProto.IMDSEvent parseFrom( + public static com.dd.cws.adv1.pb.SecDumpProto.FileInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.dd.cws.adv1.pb.SecDumpProto.IMDSEvent parseFrom(java.io.InputStream input) + public static com.dd.cws.adv1.pb.SecDumpProto.FileInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static com.dd.cws.adv1.pb.SecDumpProto.IMDSEvent parseFrom( + public static com.dd.cws.adv1.pb.SecDumpProto.FileInfo parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.dd.cws.adv1.pb.SecDumpProto.IMDSEvent parseDelimitedFrom(java.io.InputStream input) + public static com.dd.cws.adv1.pb.SecDumpProto.FileInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } - public static com.dd.cws.adv1.pb.SecDumpProto.IMDSEvent parseDelimitedFrom( + public static com.dd.cws.adv1.pb.SecDumpProto.FileInfo parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.dd.cws.adv1.pb.SecDumpProto.IMDSEvent parseFrom( + public static com.dd.cws.adv1.pb.SecDumpProto.FileInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static com.dd.cws.adv1.pb.SecDumpProto.IMDSEvent parseFrom( + public static com.dd.cws.adv1.pb.SecDumpProto.FileInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -21388,7 +26587,7 @@ public static com.dd.cws.adv1.pb.SecDumpProto.IMDSEvent parseFrom( public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.dd.cws.adv1.pb.SecDumpProto.IMDSEvent prototype) { + public static Builder newBuilder(com.dd.cws.adv1.pb.SecDumpProto.FileInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override @@ -21404,26 +26603,26 @@ protected Builder newBuilderForType( return builder; } /** - * Protobuf type {@code datadog.cws.dumpsv1.IMDSEvent} + * Protobuf type {@code datadog.cws.dumpsv1.FileInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:datadog.cws.dumpsv1.IMDSEvent) - com.dd.cws.adv1.pb.SecDumpProto.IMDSEventOrBuilder { + // @@protoc_insertion_point(builder_implements:datadog.cws.dumpsv1.FileInfo) + com.dd.cws.adv1.pb.SecDumpProto.FileInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_IMDSEvent_descriptor; + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_FileInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_IMDSEvent_fieldAccessorTable + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_FileInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.dd.cws.adv1.pb.SecDumpProto.IMDSEvent.class, com.dd.cws.adv1.pb.SecDumpProto.IMDSEvent.Builder.class); + com.dd.cws.adv1.pb.SecDumpProto.FileInfo.class, com.dd.cws.adv1.pb.SecDumpProto.FileInfo.Builder.class); } - // Construct using com.dd.cws.adv1.pb.SecDumpProto.IMDSEvent.newBuilder() + // Construct using com.dd.cws.adv1.pb.SecDumpProto.FileInfo.newBuilder() private Builder() { } @@ -21437,34 +26636,42 @@ private Builder( public Builder clear() { super.clear(); bitField0_ = 0; - type_ = ""; - cloudProvider_ = ""; - url_ = ""; - host_ = ""; - userAgent_ = ""; - server_ = ""; - aws_ = null; - if (awsBuilder_ != null) { - awsBuilder_.dispose(); - awsBuilder_ = null; - } + uid_ = 0; + user_ = ""; + gid_ = 0; + group_ = ""; + mode_ = 0; + ctime_ = 0L; + mtime_ = 0L; + mountId_ = 0; + inode_ = 0L; + inUpperLayer_ = false; + path_ = ""; + basename_ = ""; + filesystem_ = ""; + packageName_ = ""; + packageVersion_ = ""; + packageSrcversion_ = ""; + hashes_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00010000); + hashState_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_IMDSEvent_descriptor; + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_FileInfo_descriptor; } @java.lang.Override - public com.dd.cws.adv1.pb.SecDumpProto.IMDSEvent getDefaultInstanceForType() { - return com.dd.cws.adv1.pb.SecDumpProto.IMDSEvent.getDefaultInstance(); + public com.dd.cws.adv1.pb.SecDumpProto.FileInfo getDefaultInstanceForType() { + return com.dd.cws.adv1.pb.SecDumpProto.FileInfo.getDefaultInstance(); } @java.lang.Override - public com.dd.cws.adv1.pb.SecDumpProto.IMDSEvent build() { - com.dd.cws.adv1.pb.SecDumpProto.IMDSEvent result = buildPartial(); + public com.dd.cws.adv1.pb.SecDumpProto.FileInfo build() { + com.dd.cws.adv1.pb.SecDumpProto.FileInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -21472,37 +26679,74 @@ public com.dd.cws.adv1.pb.SecDumpProto.IMDSEvent build() { } @java.lang.Override - public com.dd.cws.adv1.pb.SecDumpProto.IMDSEvent buildPartial() { - com.dd.cws.adv1.pb.SecDumpProto.IMDSEvent result = new com.dd.cws.adv1.pb.SecDumpProto.IMDSEvent(this); + public com.dd.cws.adv1.pb.SecDumpProto.FileInfo buildPartial() { + com.dd.cws.adv1.pb.SecDumpProto.FileInfo result = new com.dd.cws.adv1.pb.SecDumpProto.FileInfo(this); + buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0(com.dd.cws.adv1.pb.SecDumpProto.IMDSEvent result) { + private void buildPartialRepeatedFields(com.dd.cws.adv1.pb.SecDumpProto.FileInfo result) { + if (((bitField0_ & 0x00010000) != 0)) { + hashes_ = hashes_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00010000); + } + result.hashes_ = hashes_; + } + + private void buildPartial0(com.dd.cws.adv1.pb.SecDumpProto.FileInfo result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.type_ = type_; + result.uid_ = uid_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.cloudProvider_ = cloudProvider_; + result.user_ = user_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.url_ = url_; + result.gid_ = gid_; } if (((from_bitField0_ & 0x00000008) != 0)) { - result.host_ = host_; + result.group_ = group_; } if (((from_bitField0_ & 0x00000010) != 0)) { - result.userAgent_ = userAgent_; + result.mode_ = mode_; } if (((from_bitField0_ & 0x00000020) != 0)) { - result.server_ = server_; + result.ctime_ = ctime_; } if (((from_bitField0_ & 0x00000040) != 0)) { - result.aws_ = awsBuilder_ == null - ? aws_ - : awsBuilder_.build(); + result.mtime_ = mtime_; + } + if (((from_bitField0_ & 0x00000080) != 0)) { + result.mountId_ = mountId_; + } + if (((from_bitField0_ & 0x00000100) != 0)) { + result.inode_ = inode_; + } + if (((from_bitField0_ & 0x00000200) != 0)) { + result.inUpperLayer_ = inUpperLayer_; + } + if (((from_bitField0_ & 0x00000400) != 0)) { + result.path_ = path_; + } + if (((from_bitField0_ & 0x00000800) != 0)) { + result.basename_ = basename_; + } + if (((from_bitField0_ & 0x00001000) != 0)) { + result.filesystem_ = filesystem_; + } + if (((from_bitField0_ & 0x00002000) != 0)) { + result.packageName_ = packageName_; + } + if (((from_bitField0_ & 0x00004000) != 0)) { + result.packageVersion_ = packageVersion_; + } + if (((from_bitField0_ & 0x00008000) != 0)) { + result.packageSrcversion_ = packageSrcversion_; + } + if (((from_bitField0_ & 0x00020000) != 0)) { + result.hashState_ = hashState_; } } @@ -21540,48 +26784,92 @@ public Builder addRepeatedField( } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.dd.cws.adv1.pb.SecDumpProto.IMDSEvent) { - return mergeFrom((com.dd.cws.adv1.pb.SecDumpProto.IMDSEvent)other); + if (other instanceof com.dd.cws.adv1.pb.SecDumpProto.FileInfo) { + return mergeFrom((com.dd.cws.adv1.pb.SecDumpProto.FileInfo)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.dd.cws.adv1.pb.SecDumpProto.IMDSEvent other) { - if (other == com.dd.cws.adv1.pb.SecDumpProto.IMDSEvent.getDefaultInstance()) return this; - if (!other.getType().isEmpty()) { - type_ = other.type_; - bitField0_ |= 0x00000001; - onChanged(); + public Builder mergeFrom(com.dd.cws.adv1.pb.SecDumpProto.FileInfo other) { + if (other == com.dd.cws.adv1.pb.SecDumpProto.FileInfo.getDefaultInstance()) return this; + if (other.getUid() != 0) { + setUid(other.getUid()); } - if (!other.getCloudProvider().isEmpty()) { - cloudProvider_ = other.cloudProvider_; + if (!other.getUser().isEmpty()) { + user_ = other.user_; bitField0_ |= 0x00000002; onChanged(); } - if (!other.getUrl().isEmpty()) { - url_ = other.url_; - bitField0_ |= 0x00000004; - onChanged(); + if (other.getGid() != 0) { + setGid(other.getGid()); } - if (!other.getHost().isEmpty()) { - host_ = other.host_; + if (!other.getGroup().isEmpty()) { + group_ = other.group_; bitField0_ |= 0x00000008; onChanged(); } - if (!other.getUserAgent().isEmpty()) { - userAgent_ = other.userAgent_; - bitField0_ |= 0x00000010; + if (other.getMode() != 0) { + setMode(other.getMode()); + } + if (other.getCtime() != 0L) { + setCtime(other.getCtime()); + } + if (other.getMtime() != 0L) { + setMtime(other.getMtime()); + } + if (other.getMountId() != 0) { + setMountId(other.getMountId()); + } + if (other.getInode() != 0L) { + setInode(other.getInode()); + } + if (other.getInUpperLayer() != false) { + setInUpperLayer(other.getInUpperLayer()); + } + if (!other.getPath().isEmpty()) { + path_ = other.path_; + bitField0_ |= 0x00000400; onChanged(); } - if (!other.getServer().isEmpty()) { - server_ = other.server_; - bitField0_ |= 0x00000020; + if (!other.getBasename().isEmpty()) { + basename_ = other.basename_; + bitField0_ |= 0x00000800; onChanged(); } - if (other.hasAws()) { - mergeAws(other.getAws()); + if (!other.getFilesystem().isEmpty()) { + filesystem_ = other.filesystem_; + bitField0_ |= 0x00001000; + onChanged(); + } + if (!other.getPackageName().isEmpty()) { + packageName_ = other.packageName_; + bitField0_ |= 0x00002000; + onChanged(); + } + if (!other.getPackageVersion().isEmpty()) { + packageVersion_ = other.packageVersion_; + bitField0_ |= 0x00004000; + onChanged(); + } + if (!other.getPackageSrcversion().isEmpty()) { + packageSrcversion_ = other.packageSrcversion_; + bitField0_ |= 0x00008000; + onChanged(); + } + if (!other.hashes_.isEmpty()) { + if (hashes_.isEmpty()) { + hashes_ = other.hashes_; + bitField0_ = (bitField0_ & ~0x00010000); + } else { + ensureHashesIsMutable(); + hashes_.addAll(other.hashes_); + } + onChanged(); + } + if (other.hashState_ != 0) { + setHashStateValue(other.getHashStateValue()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -21609,1285 +26897,1113 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - type_ = input.readStringRequireUtf8(); + case 8: { + uid_ = input.readUInt32(); bitField0_ |= 0x00000001; break; - } // case 10 + } // case 8 case 18: { - cloudProvider_ = input.readStringRequireUtf8(); + user_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000002; break; } // case 18 - case 26: { - url_ = input.readStringRequireUtf8(); + case 24: { + gid_ = input.readUInt32(); bitField0_ |= 0x00000004; break; - } // case 26 + } // case 24 case 34: { - host_ = input.readStringRequireUtf8(); + group_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000008; break; } // case 34 - case 42: { - userAgent_ = input.readStringRequireUtf8(); + case 40: { + mode_ = input.readUInt32(); bitField0_ |= 0x00000010; break; - } // case 42 - case 50: { - server_ = input.readStringRequireUtf8(); + } // case 40 + case 48: { + ctime_ = input.readUInt64(); bitField0_ |= 0x00000020; break; - } // case 50 - case 58: { - input.readMessage( - getAwsFieldBuilder().getBuilder(), - extensionRegistry); + } // case 48 + case 56: { + mtime_ = input.readUInt64(); bitField0_ |= 0x00000040; break; - } // case 58 + } // case 56 + case 64: { + mountId_ = input.readUInt32(); + bitField0_ |= 0x00000080; + break; + } // case 64 + case 72: { + inode_ = input.readUInt64(); + bitField0_ |= 0x00000100; + break; + } // case 72 + case 80: { + inUpperLayer_ = input.readBool(); + bitField0_ |= 0x00000200; + break; + } // case 80 + case 90: { + path_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000400; + break; + } // case 90 + case 98: { + basename_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000800; + break; + } // case 98 + case 106: { + filesystem_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00001000; + break; + } // case 106 + case 114: { + packageName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00002000; + break; + } // case 114 + case 122: { + packageVersion_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00004000; + break; + } // case 122 + case 130: { + packageSrcversion_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00008000; + break; + } // case 130 + case 138: { + java.lang.String s = input.readStringRequireUtf8(); + ensureHashesIsMutable(); + hashes_.add(s); + break; + } // case 138 + case 144: { + hashState_ = input.readEnum(); + bitField0_ |= 0x00020000; + break; + } // case 144 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - private int bitField0_; - - private java.lang.Object type_ = ""; - /** - * string type = 1; - * @return The type. - */ - public java.lang.String getType() { - java.lang.Object ref = type_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - type_ = s; - return s; - } else { - return (java.lang.String) ref; - } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; } + private int bitField0_; + + private int uid_ ; /** - * string type = 1; - * @return The bytes for type. + * uint32 uid = 1; + * @return The uid. */ - public com.google.protobuf.ByteString - getTypeBytes() { - java.lang.Object ref = type_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - type_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } + @java.lang.Override + public int getUid() { + return uid_; } /** - * string type = 1; - * @param value The type to set. + * uint32 uid = 1; + * @param value The uid to set. * @return This builder for chaining. */ - public Builder setType( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } - type_ = value; + public Builder setUid(int value) { + + uid_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * string type = 1; + * uint32 uid = 1; * @return This builder for chaining. */ - public Builder clearType() { - type_ = getDefaultInstance().getType(); + public Builder clearUid() { bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - /** - * string type = 1; - * @param value The bytes for type to set. - * @return This builder for chaining. - */ - public Builder setTypeBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } - checkByteStringIsUtf8(value); - type_ = value; - bitField0_ |= 0x00000001; + uid_ = 0; onChanged(); return this; } - private java.lang.Object cloudProvider_ = ""; + private java.lang.Object user_ = ""; /** - * string cloud_provider = 2; - * @return The cloudProvider. + * string user = 2; + * @return The user. */ - public java.lang.String getCloudProvider() { - java.lang.Object ref = cloudProvider_; + public java.lang.String getUser() { + java.lang.Object ref = user_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); - cloudProvider_ = s; + user_ = s; return s; } else { return (java.lang.String) ref; } } /** - * string cloud_provider = 2; - * @return The bytes for cloudProvider. + * string user = 2; + * @return The bytes for user. */ public com.google.protobuf.ByteString - getCloudProviderBytes() { - java.lang.Object ref = cloudProvider_; + getUserBytes() { + java.lang.Object ref = user_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); - cloudProvider_ = b; + user_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** - * string cloud_provider = 2; - * @param value The cloudProvider to set. + * string user = 2; + * @param value The user to set. * @return This builder for chaining. */ - public Builder setCloudProvider( + public Builder setUser( java.lang.String value) { if (value == null) { throw new NullPointerException(); } - cloudProvider_ = value; + user_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * string cloud_provider = 2; + * string user = 2; * @return This builder for chaining. */ - public Builder clearCloudProvider() { - cloudProvider_ = getDefaultInstance().getCloudProvider(); + public Builder clearUser() { + user_ = getDefaultInstance().getUser(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** - * string cloud_provider = 2; - * @param value The bytes for cloudProvider to set. + * string user = 2; + * @param value The bytes for user to set. * @return This builder for chaining. */ - public Builder setCloudProviderBytes( + public Builder setUserBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); - cloudProvider_ = value; + user_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - private java.lang.Object url_ = ""; - /** - * string url = 3; - * @return The url. - */ - public java.lang.String getUrl() { - java.lang.Object ref = url_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - url_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } + private int gid_ ; /** - * string url = 3; - * @return The bytes for url. + * uint32 gid = 3; + * @return The gid. */ - public com.google.protobuf.ByteString - getUrlBytes() { - java.lang.Object ref = url_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - url_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } + @java.lang.Override + public int getGid() { + return gid_; } /** - * string url = 3; - * @param value The url to set. + * uint32 gid = 3; + * @param value The gid to set. * @return This builder for chaining. */ - public Builder setUrl( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } - url_ = value; + public Builder setGid(int value) { + + gid_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * string url = 3; + * uint32 gid = 3; * @return This builder for chaining. */ - public Builder clearUrl() { - url_ = getDefaultInstance().getUrl(); + public Builder clearGid() { bitField0_ = (bitField0_ & ~0x00000004); - onChanged(); - return this; - } - /** - * string url = 3; - * @param value The bytes for url to set. - * @return This builder for chaining. - */ - public Builder setUrlBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } - checkByteStringIsUtf8(value); - url_ = value; - bitField0_ |= 0x00000004; - onChanged(); - return this; - } - - private java.lang.Object host_ = ""; - /** - * string host = 4; - * @return The host. - */ - public java.lang.String getHost() { - java.lang.Object ref = host_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - host_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * string host = 4; - * @return The bytes for host. - */ - public com.google.protobuf.ByteString - getHostBytes() { - java.lang.Object ref = host_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - host_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * string host = 4; - * @param value The host to set. - * @return This builder for chaining. - */ - public Builder setHost( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } - host_ = value; - bitField0_ |= 0x00000008; - onChanged(); - return this; - } - /** - * string host = 4; - * @return This builder for chaining. - */ - public Builder clearHost() { - host_ = getDefaultInstance().getHost(); - bitField0_ = (bitField0_ & ~0x00000008); - onChanged(); - return this; - } - /** - * string host = 4; - * @param value The bytes for host to set. - * @return This builder for chaining. - */ - public Builder setHostBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } - checkByteStringIsUtf8(value); - host_ = value; - bitField0_ |= 0x00000008; + gid_ = 0; onChanged(); return this; } - private java.lang.Object userAgent_ = ""; + private java.lang.Object group_ = ""; /** - * string user_agent = 5; - * @return The userAgent. - */ - public java.lang.String getUserAgent() { - java.lang.Object ref = userAgent_; + * string group = 4; + * @return The group. + */ + public java.lang.String getGroup() { + java.lang.Object ref = group_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); - userAgent_ = s; + group_ = s; return s; } else { return (java.lang.String) ref; } } /** - * string user_agent = 5; - * @return The bytes for userAgent. + * string group = 4; + * @return The bytes for group. */ public com.google.protobuf.ByteString - getUserAgentBytes() { - java.lang.Object ref = userAgent_; + getGroupBytes() { + java.lang.Object ref = group_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); - userAgent_ = b; + group_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** - * string user_agent = 5; - * @param value The userAgent to set. + * string group = 4; + * @param value The group to set. * @return This builder for chaining. */ - public Builder setUserAgent( + public Builder setGroup( java.lang.String value) { if (value == null) { throw new NullPointerException(); } - userAgent_ = value; - bitField0_ |= 0x00000010; + group_ = value; + bitField0_ |= 0x00000008; onChanged(); return this; } /** - * string user_agent = 5; + * string group = 4; * @return This builder for chaining. */ - public Builder clearUserAgent() { - userAgent_ = getDefaultInstance().getUserAgent(); - bitField0_ = (bitField0_ & ~0x00000010); + public Builder clearGroup() { + group_ = getDefaultInstance().getGroup(); + bitField0_ = (bitField0_ & ~0x00000008); onChanged(); return this; } /** - * string user_agent = 5; - * @param value The bytes for userAgent to set. + * string group = 4; + * @param value The bytes for group to set. * @return This builder for chaining. */ - public Builder setUserAgentBytes( + public Builder setGroupBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); - userAgent_ = value; - bitField0_ |= 0x00000010; + group_ = value; + bitField0_ |= 0x00000008; onChanged(); return this; } - private java.lang.Object server_ = ""; + private int mode_ ; /** - * string server = 6; - * @return The server. + *
+       * TODO: check conversion with uint16
+       * 
+ * + * uint32 mode = 5; + * @return The mode. */ - public java.lang.String getServer() { - java.lang.Object ref = server_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - server_ = s; - return s; - } else { - return (java.lang.String) ref; - } + @java.lang.Override + public int getMode() { + return mode_; } /** - * string server = 6; - * @return The bytes for server. + *
+       * TODO: check conversion with uint16
+       * 
+ * + * uint32 mode = 5; + * @param value The mode to set. + * @return This builder for chaining. */ - public com.google.protobuf.ByteString - getServerBytes() { - java.lang.Object ref = server_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - server_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } + public Builder setMode(int value) { + + mode_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; } /** - * string server = 6; - * @param value The server to set. + *
+       * TODO: check conversion with uint16
+       * 
+ * + * uint32 mode = 5; * @return This builder for chaining. */ - public Builder setServer( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } - server_ = value; - bitField0_ |= 0x00000020; + public Builder clearMode() { + bitField0_ = (bitField0_ & ~0x00000010); + mode_ = 0; onChanged(); return this; } + + private long ctime_ ; /** - * string server = 6; + * uint64 ctime = 6; + * @return The ctime. + */ + @java.lang.Override + public long getCtime() { + return ctime_; + } + /** + * uint64 ctime = 6; + * @param value The ctime to set. * @return This builder for chaining. */ - public Builder clearServer() { - server_ = getDefaultInstance().getServer(); - bitField0_ = (bitField0_ & ~0x00000020); + public Builder setCtime(long value) { + + ctime_ = value; + bitField0_ |= 0x00000020; onChanged(); return this; } /** - * string server = 6; - * @param value The bytes for server to set. + * uint64 ctime = 6; * @return This builder for chaining. */ - public Builder setServerBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } - checkByteStringIsUtf8(value); - server_ = value; - bitField0_ |= 0x00000020; + public Builder clearCtime() { + bitField0_ = (bitField0_ & ~0x00000020); + ctime_ = 0L; onChanged(); return this; } - private com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEvent aws_; - private com.google.protobuf.SingleFieldBuilderV3< - com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEvent, com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEvent.Builder, com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEventOrBuilder> awsBuilder_; + private long mtime_ ; /** - * .datadog.cws.dumpsv1.AWSIMDSEvent aws = 7; - * @return Whether the aws field is set. + * uint64 mtime = 7; + * @return The mtime. */ - public boolean hasAws() { - return ((bitField0_ & 0x00000040) != 0); + @java.lang.Override + public long getMtime() { + return mtime_; } /** - * .datadog.cws.dumpsv1.AWSIMDSEvent aws = 7; - * @return The aws. + * uint64 mtime = 7; + * @param value The mtime to set. + * @return This builder for chaining. */ - public com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEvent getAws() { - if (awsBuilder_ == null) { - return aws_ == null ? com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEvent.getDefaultInstance() : aws_; - } else { - return awsBuilder_.getMessage(); - } + public Builder setMtime(long value) { + + mtime_ = value; + bitField0_ |= 0x00000040; + onChanged(); + return this; } /** - * .datadog.cws.dumpsv1.AWSIMDSEvent aws = 7; + * uint64 mtime = 7; + * @return This builder for chaining. */ - public Builder setAws(com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEvent value) { - if (awsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - aws_ = value; - } else { - awsBuilder_.setMessage(value); - } - bitField0_ |= 0x00000040; + public Builder clearMtime() { + bitField0_ = (bitField0_ & ~0x00000040); + mtime_ = 0L; onChanged(); return this; } + + private int mountId_ ; /** - * .datadog.cws.dumpsv1.AWSIMDSEvent aws = 7; + * uint32 mount_id = 8; + * @return The mountId. */ - public Builder setAws( - com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEvent.Builder builderForValue) { - if (awsBuilder_ == null) { - aws_ = builderForValue.build(); - } else { - awsBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00000040; + @java.lang.Override + public int getMountId() { + return mountId_; + } + /** + * uint32 mount_id = 8; + * @param value The mountId to set. + * @return This builder for chaining. + */ + public Builder setMountId(int value) { + + mountId_ = value; + bitField0_ |= 0x00000080; onChanged(); return this; } /** - * .datadog.cws.dumpsv1.AWSIMDSEvent aws = 7; + * uint32 mount_id = 8; + * @return This builder for chaining. */ - public Builder mergeAws(com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEvent value) { - if (awsBuilder_ == null) { - if (((bitField0_ & 0x00000040) != 0) && - aws_ != null && - aws_ != com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEvent.getDefaultInstance()) { - getAwsBuilder().mergeFrom(value); - } else { - aws_ = value; - } - } else { - awsBuilder_.mergeFrom(value); - } - bitField0_ |= 0x00000040; + public Builder clearMountId() { + bitField0_ = (bitField0_ & ~0x00000080); + mountId_ = 0; onChanged(); return this; } + + private long inode_ ; /** - * .datadog.cws.dumpsv1.AWSIMDSEvent aws = 7; + * uint64 inode = 9; + * @return The inode. */ - public Builder clearAws() { - bitField0_ = (bitField0_ & ~0x00000040); - aws_ = null; - if (awsBuilder_ != null) { - awsBuilder_.dispose(); - awsBuilder_ = null; - } + @java.lang.Override + public long getInode() { + return inode_; + } + /** + * uint64 inode = 9; + * @param value The inode to set. + * @return This builder for chaining. + */ + public Builder setInode(long value) { + + inode_ = value; + bitField0_ |= 0x00000100; onChanged(); return this; } /** - * .datadog.cws.dumpsv1.AWSIMDSEvent aws = 7; + * uint64 inode = 9; + * @return This builder for chaining. */ - public com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEvent.Builder getAwsBuilder() { - bitField0_ |= 0x00000040; + public Builder clearInode() { + bitField0_ = (bitField0_ & ~0x00000100); + inode_ = 0L; onChanged(); - return getAwsFieldBuilder().getBuilder(); + return this; } + + private boolean inUpperLayer_ ; /** - * .datadog.cws.dumpsv1.AWSIMDSEvent aws = 7; + * bool in_upper_layer = 10; + * @return The inUpperLayer. */ - public com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEventOrBuilder getAwsOrBuilder() { - if (awsBuilder_ != null) { - return awsBuilder_.getMessageOrBuilder(); - } else { - return aws_ == null ? - com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEvent.getDefaultInstance() : aws_; - } + @java.lang.Override + public boolean getInUpperLayer() { + return inUpperLayer_; } /** - * .datadog.cws.dumpsv1.AWSIMDSEvent aws = 7; + * bool in_upper_layer = 10; + * @param value The inUpperLayer to set. + * @return This builder for chaining. */ - private com.google.protobuf.SingleFieldBuilderV3< - com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEvent, com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEvent.Builder, com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEventOrBuilder> - getAwsFieldBuilder() { - if (awsBuilder_ == null) { - awsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEvent, com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEvent.Builder, com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEventOrBuilder>( - getAws(), - getParentForChildren(), - isClean()); - aws_ = null; - } - return awsBuilder_; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:datadog.cws.dumpsv1.IMDSEvent) - } - - // @@protoc_insertion_point(class_scope:datadog.cws.dumpsv1.IMDSEvent) - private static final com.dd.cws.adv1.pb.SecDumpProto.IMDSEvent DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.dd.cws.adv1.pb.SecDumpProto.IMDSEvent(); - } - - public static com.dd.cws.adv1.pb.SecDumpProto.IMDSEvent getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IMDSEvent parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.dd.cws.adv1.pb.SecDumpProto.IMDSEvent getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface AWSIMDSEventOrBuilder extends - // @@protoc_insertion_point(interface_extends:datadog.cws.dumpsv1.AWSIMDSEvent) - com.google.protobuf.MessageOrBuilder { - - /** - * bool is_imds_v2 = 1; - * @return The isImdsV2. - */ - boolean getIsImdsV2(); - - /** - * .datadog.cws.dumpsv1.AWSSecurityCredentials security_credentials = 2; - * @return Whether the securityCredentials field is set. - */ - boolean hasSecurityCredentials(); - /** - * .datadog.cws.dumpsv1.AWSSecurityCredentials security_credentials = 2; - * @return The securityCredentials. - */ - com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentials getSecurityCredentials(); - /** - * .datadog.cws.dumpsv1.AWSSecurityCredentials security_credentials = 2; - */ - com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentialsOrBuilder getSecurityCredentialsOrBuilder(); - } - /** - * Protobuf type {@code datadog.cws.dumpsv1.AWSIMDSEvent} - */ - public static final class AWSIMDSEvent extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:datadog.cws.dumpsv1.AWSIMDSEvent) - AWSIMDSEventOrBuilder { - private static final long serialVersionUID = 0L; - // Use AWSIMDSEvent.newBuilder() to construct. - private AWSIMDSEvent(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private AWSIMDSEvent() { - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new AWSIMDSEvent(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_AWSIMDSEvent_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_AWSIMDSEvent_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEvent.class, com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEvent.Builder.class); - } - - public static final int IS_IMDS_V2_FIELD_NUMBER = 1; - private boolean isImdsV2_ = false; - /** - * bool is_imds_v2 = 1; - * @return The isImdsV2. - */ - @java.lang.Override - public boolean getIsImdsV2() { - return isImdsV2_; - } - - public static final int SECURITY_CREDENTIALS_FIELD_NUMBER = 2; - private com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentials securityCredentials_; - /** - * .datadog.cws.dumpsv1.AWSSecurityCredentials security_credentials = 2; - * @return Whether the securityCredentials field is set. - */ - @java.lang.Override - public boolean hasSecurityCredentials() { - return securityCredentials_ != null; - } - /** - * .datadog.cws.dumpsv1.AWSSecurityCredentials security_credentials = 2; - * @return The securityCredentials. - */ - @java.lang.Override - public com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentials getSecurityCredentials() { - return securityCredentials_ == null ? com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentials.getDefaultInstance() : securityCredentials_; - } - /** - * .datadog.cws.dumpsv1.AWSSecurityCredentials security_credentials = 2; - */ - @java.lang.Override - public com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentialsOrBuilder getSecurityCredentialsOrBuilder() { - return securityCredentials_ == null ? com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentials.getDefaultInstance() : securityCredentials_; - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (isImdsV2_ != false) { - output.writeBool(1, isImdsV2_); + public Builder setInUpperLayer(boolean value) { + + inUpperLayer_ = value; + bitField0_ |= 0x00000200; + onChanged(); + return this; } - if (securityCredentials_ != null) { - output.writeMessage(2, getSecurityCredentials()); + /** + * bool in_upper_layer = 10; + * @return This builder for chaining. + */ + public Builder clearInUpperLayer() { + bitField0_ = (bitField0_ & ~0x00000200); + inUpperLayer_ = false; + onChanged(); + return this; } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - size = 0; - if (isImdsV2_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, isImdsV2_); + private java.lang.Object path_ = ""; + /** + * string path = 11; + * @return The path. + */ + public java.lang.String getPath() { + java.lang.Object ref = path_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + path_ = s; + return s; + } else { + return (java.lang.String) ref; + } } - if (securityCredentials_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getSecurityCredentials()); + /** + * string path = 11; + * @return The bytes for path. + */ + public com.google.protobuf.ByteString + getPathBytes() { + java.lang.Object ref = path_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + path_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; + /** + * string path = 11; + * @param value The path to set. + * @return This builder for chaining. + */ + public Builder setPath( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + path_ = value; + bitField0_ |= 0x00000400; + onChanged(); + return this; } - if (!(obj instanceof com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEvent)) { - return super.equals(obj); + /** + * string path = 11; + * @return This builder for chaining. + */ + public Builder clearPath() { + path_ = getDefaultInstance().getPath(); + bitField0_ = (bitField0_ & ~0x00000400); + onChanged(); + return this; } - com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEvent other = (com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEvent) obj; - - if (getIsImdsV2() - != other.getIsImdsV2()) return false; - if (hasSecurityCredentials() != other.hasSecurityCredentials()) return false; - if (hasSecurityCredentials()) { - if (!getSecurityCredentials() - .equals(other.getSecurityCredentials())) return false; + /** + * string path = 11; + * @param value The bytes for path to set. + * @return This builder for chaining. + */ + public Builder setPathBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + path_ = value; + bitField0_ |= 0x00000400; + onChanged(); + return this; } - if (!getUnknownFields().equals(other.getUnknownFields())) return false; - return true; - } - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; + private java.lang.Object basename_ = ""; + /** + * string basename = 12; + * @return The basename. + */ + public java.lang.String getBasename() { + java.lang.Object ref = basename_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + basename_ = s; + return s; + } else { + return (java.lang.String) ref; + } } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + IS_IMDS_V2_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getIsImdsV2()); - if (hasSecurityCredentials()) { - hash = (37 * hash) + SECURITY_CREDENTIALS_FIELD_NUMBER; - hash = (53 * hash) + getSecurityCredentials().hashCode(); + /** + * string basename = 12; + * @return The bytes for basename. + */ + public com.google.protobuf.ByteString + getBasenameBytes() { + java.lang.Object ref = basename_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + basename_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } } - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEvent parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEvent parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEvent parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEvent parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEvent parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEvent parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEvent parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEvent parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEvent parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEvent parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEvent parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEvent parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEvent prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * Protobuf type {@code datadog.cws.dumpsv1.AWSIMDSEvent} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:datadog.cws.dumpsv1.AWSIMDSEvent) - com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEventOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_AWSIMDSEvent_descriptor; + /** + * string basename = 12; + * @param value The basename to set. + * @return This builder for chaining. + */ + public Builder setBasename( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + basename_ = value; + bitField0_ |= 0x00000800; + onChanged(); + return this; } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_AWSIMDSEvent_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEvent.class, com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEvent.Builder.class); + /** + * string basename = 12; + * @return This builder for chaining. + */ + public Builder clearBasename() { + basename_ = getDefaultInstance().getBasename(); + bitField0_ = (bitField0_ & ~0x00000800); + onChanged(); + return this; } - - // Construct using com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEvent.newBuilder() - private Builder() { - + /** + * string basename = 12; + * @param value The bytes for basename to set. + * @return This builder for chaining. + */ + public Builder setBasenameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + basename_ = value; + bitField0_ |= 0x00000800; + onChanged(); + return this; } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - + private java.lang.Object filesystem_ = ""; + /** + * string filesystem = 13; + * @return The filesystem. + */ + public java.lang.String getFilesystem() { + java.lang.Object ref = filesystem_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + filesystem_ = s; + return s; + } else { + return (java.lang.String) ref; + } } - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - isImdsV2_ = false; - securityCredentials_ = null; - if (securityCredentialsBuilder_ != null) { - securityCredentialsBuilder_.dispose(); - securityCredentialsBuilder_ = null; + /** + * string filesystem = 13; + * @return The bytes for filesystem. + */ + public com.google.protobuf.ByteString + getFilesystemBytes() { + java.lang.Object ref = filesystem_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + filesystem_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; } + } + /** + * string filesystem = 13; + * @param value The filesystem to set. + * @return This builder for chaining. + */ + public Builder setFilesystem( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + filesystem_ = value; + bitField0_ |= 0x00001000; + onChanged(); return this; } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_AWSIMDSEvent_descriptor; + /** + * string filesystem = 13; + * @return This builder for chaining. + */ + public Builder clearFilesystem() { + filesystem_ = getDefaultInstance().getFilesystem(); + bitField0_ = (bitField0_ & ~0x00001000); + onChanged(); + return this; } - - @java.lang.Override - public com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEvent getDefaultInstanceForType() { - return com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEvent.getDefaultInstance(); + /** + * string filesystem = 13; + * @param value The bytes for filesystem to set. + * @return This builder for chaining. + */ + public Builder setFilesystemBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + filesystem_ = value; + bitField0_ |= 0x00001000; + onChanged(); + return this; } - @java.lang.Override - public com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEvent build() { - com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEvent result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); + private java.lang.Object packageName_ = ""; + /** + * string package_name = 14; + * @return The packageName. + */ + public java.lang.String getPackageName() { + java.lang.Object ref = packageName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + packageName_ = s; + return s; + } else { + return (java.lang.String) ref; } - return result; - } - - @java.lang.Override - public com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEvent buildPartial() { - com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEvent result = new com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEvent(this); - if (bitField0_ != 0) { buildPartial0(result); } - onBuilt(); - return result; } - - private void buildPartial0(com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEvent result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.isImdsV2_ = isImdsV2_; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - result.securityCredentials_ = securityCredentialsBuilder_ == null - ? securityCredentials_ - : securityCredentialsBuilder_.build(); + /** + * string package_name = 14; + * @return The bytes for packageName. + */ + public com.google.protobuf.ByteString + getPackageNameBytes() { + java.lang.Object ref = packageName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + packageName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; } } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); + /** + * string package_name = 14; + * @param value The packageName to set. + * @return This builder for chaining. + */ + public Builder setPackageName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + packageName_ = value; + bitField0_ |= 0x00002000; + onChanged(); + return this; } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); + /** + * string package_name = 14; + * @return This builder for chaining. + */ + public Builder clearPackageName() { + packageName_ = getDefaultInstance().getPackageName(); + bitField0_ = (bitField0_ & ~0x00002000); + onChanged(); + return this; } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); + /** + * string package_name = 14; + * @param value The bytes for packageName to set. + * @return This builder for chaining. + */ + public Builder setPackageNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + packageName_ = value; + bitField0_ |= 0x00002000; + onChanged(); + return this; } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); + + private java.lang.Object packageVersion_ = ""; + /** + * string package_version = 15; + * @return The packageVersion. + */ + public java.lang.String getPackageVersion() { + java.lang.Object ref = packageVersion_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + packageVersion_ = s; + return s; + } else { + return (java.lang.String) ref; + } } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEvent) { - return mergeFrom((com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEvent)other); + /** + * string package_version = 15; + * @return The bytes for packageVersion. + */ + public com.google.protobuf.ByteString + getPackageVersionBytes() { + java.lang.Object ref = packageVersion_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + packageVersion_ = b; + return b; } else { - super.mergeFrom(other); - return this; + return (com.google.protobuf.ByteString) ref; } } - - public Builder mergeFrom(com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEvent other) { - if (other == com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEvent.getDefaultInstance()) return this; - if (other.getIsImdsV2() != false) { - setIsImdsV2(other.getIsImdsV2()); - } - if (other.hasSecurityCredentials()) { - mergeSecurityCredentials(other.getSecurityCredentials()); - } - this.mergeUnknownFields(other.getUnknownFields()); + /** + * string package_version = 15; + * @param value The packageVersion to set. + * @return This builder for chaining. + */ + public Builder setPackageVersion( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + packageVersion_ = value; + bitField0_ |= 0x00004000; onChanged(); return this; } - - @java.lang.Override - public final boolean isInitialized() { - return true; + /** + * string package_version = 15; + * @return This builder for chaining. + */ + public Builder clearPackageVersion() { + packageVersion_ = getDefaultInstance().getPackageVersion(); + bitField0_ = (bitField0_ & ~0x00004000); + onChanged(); + return this; } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 8: { - isImdsV2_ = input.readBool(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: { - input.readMessage( - getSecurityCredentialsFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally + /** + * string package_version = 15; + * @param value The bytes for packageVersion to set. + * @return This builder for chaining. + */ + public Builder setPackageVersionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + packageVersion_ = value; + bitField0_ |= 0x00004000; + onChanged(); return this; } - private int bitField0_; - private boolean isImdsV2_ ; + private java.lang.Object packageSrcversion_ = ""; /** - * bool is_imds_v2 = 1; - * @return The isImdsV2. + * string package_srcversion = 16; + * @return The packageSrcversion. */ - @java.lang.Override - public boolean getIsImdsV2() { - return isImdsV2_; + public java.lang.String getPackageSrcversion() { + java.lang.Object ref = packageSrcversion_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + packageSrcversion_ = s; + return s; + } else { + return (java.lang.String) ref; + } } /** - * bool is_imds_v2 = 1; - * @param value The isImdsV2 to set. + * string package_srcversion = 16; + * @return The bytes for packageSrcversion. + */ + public com.google.protobuf.ByteString + getPackageSrcversionBytes() { + java.lang.Object ref = packageSrcversion_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + packageSrcversion_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string package_srcversion = 16; + * @param value The packageSrcversion to set. * @return This builder for chaining. */ - public Builder setIsImdsV2(boolean value) { - - isImdsV2_ = value; - bitField0_ |= 0x00000001; + public Builder setPackageSrcversion( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + packageSrcversion_ = value; + bitField0_ |= 0x00008000; onChanged(); return this; } /** - * bool is_imds_v2 = 1; + * string package_srcversion = 16; * @return This builder for chaining. */ - public Builder clearIsImdsV2() { - bitField0_ = (bitField0_ & ~0x00000001); - isImdsV2_ = false; + public Builder clearPackageSrcversion() { + packageSrcversion_ = getDefaultInstance().getPackageSrcversion(); + bitField0_ = (bitField0_ & ~0x00008000); + onChanged(); + return this; + } + /** + * string package_srcversion = 16; + * @param value The bytes for packageSrcversion to set. + * @return This builder for chaining. + */ + public Builder setPackageSrcversionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + packageSrcversion_ = value; + bitField0_ |= 0x00008000; onChanged(); return this; } - private com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentials securityCredentials_; - private com.google.protobuf.SingleFieldBuilderV3< - com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentials, com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentials.Builder, com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentialsOrBuilder> securityCredentialsBuilder_; + private com.google.protobuf.LazyStringList hashes_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureHashesIsMutable() { + if (!((bitField0_ & 0x00010000) != 0)) { + hashes_ = new com.google.protobuf.LazyStringArrayList(hashes_); + bitField0_ |= 0x00010000; + } + } /** - * .datadog.cws.dumpsv1.AWSSecurityCredentials security_credentials = 2; - * @return Whether the securityCredentials field is set. + * repeated string hashes = 17; + * @return A list containing the hashes. */ - public boolean hasSecurityCredentials() { - return ((bitField0_ & 0x00000002) != 0); + public com.google.protobuf.ProtocolStringList + getHashesList() { + return hashes_.getUnmodifiableView(); } /** - * .datadog.cws.dumpsv1.AWSSecurityCredentials security_credentials = 2; - * @return The securityCredentials. + * repeated string hashes = 17; + * @return The count of hashes. */ - public com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentials getSecurityCredentials() { - if (securityCredentialsBuilder_ == null) { - return securityCredentials_ == null ? com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentials.getDefaultInstance() : securityCredentials_; - } else { - return securityCredentialsBuilder_.getMessage(); - } + public int getHashesCount() { + return hashes_.size(); } /** - * .datadog.cws.dumpsv1.AWSSecurityCredentials security_credentials = 2; + * repeated string hashes = 17; + * @param index The index of the element to return. + * @return The hashes at the given index. */ - public Builder setSecurityCredentials(com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentials value) { - if (securityCredentialsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - securityCredentials_ = value; - } else { - securityCredentialsBuilder_.setMessage(value); - } - bitField0_ |= 0x00000002; + public java.lang.String getHashes(int index) { + return hashes_.get(index); + } + /** + * repeated string hashes = 17; + * @param index The index of the value to return. + * @return The bytes of the hashes at the given index. + */ + public com.google.protobuf.ByteString + getHashesBytes(int index) { + return hashes_.getByteString(index); + } + /** + * repeated string hashes = 17; + * @param index The index to set the value at. + * @param value The hashes to set. + * @return This builder for chaining. + */ + public Builder setHashes( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureHashesIsMutable(); + hashes_.set(index, value); + onChanged(); + return this; + } + /** + * repeated string hashes = 17; + * @param value The hashes to add. + * @return This builder for chaining. + */ + public Builder addHashes( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureHashesIsMutable(); + hashes_.add(value); + onChanged(); + return this; + } + /** + * repeated string hashes = 17; + * @param values The hashes to add. + * @return This builder for chaining. + */ + public Builder addAllHashes( + java.lang.Iterable values) { + ensureHashesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, hashes_); onChanged(); return this; } /** - * .datadog.cws.dumpsv1.AWSSecurityCredentials security_credentials = 2; + * repeated string hashes = 17; + * @return This builder for chaining. */ - public Builder setSecurityCredentials( - com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentials.Builder builderForValue) { - if (securityCredentialsBuilder_ == null) { - securityCredentials_ = builderForValue.build(); - } else { - securityCredentialsBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00000002; + public Builder clearHashes() { + hashes_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00010000); onChanged(); return this; } /** - * .datadog.cws.dumpsv1.AWSSecurityCredentials security_credentials = 2; + * repeated string hashes = 17; + * @param value The bytes of the hashes to add. + * @return This builder for chaining. */ - public Builder mergeSecurityCredentials(com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentials value) { - if (securityCredentialsBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - securityCredentials_ != null && - securityCredentials_ != com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentials.getDefaultInstance()) { - getSecurityCredentialsBuilder().mergeFrom(value); - } else { - securityCredentials_ = value; - } - } else { - securityCredentialsBuilder_.mergeFrom(value); - } - bitField0_ |= 0x00000002; + public Builder addHashesBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ensureHashesIsMutable(); + hashes_.add(value); onChanged(); return this; } + + private int hashState_ = 0; /** - * .datadog.cws.dumpsv1.AWSSecurityCredentials security_credentials = 2; + * .datadog.cws.dumpsv1.HashState hash_state = 18; + * @return The enum numeric value on the wire for hashState. */ - public Builder clearSecurityCredentials() { - bitField0_ = (bitField0_ & ~0x00000002); - securityCredentials_ = null; - if (securityCredentialsBuilder_ != null) { - securityCredentialsBuilder_.dispose(); - securityCredentialsBuilder_ = null; - } + @java.lang.Override public int getHashStateValue() { + return hashState_; + } + /** + * .datadog.cws.dumpsv1.HashState hash_state = 18; + * @param value The enum numeric value on the wire for hashState to set. + * @return This builder for chaining. + */ + public Builder setHashStateValue(int value) { + hashState_ = value; + bitField0_ |= 0x00020000; onChanged(); return this; } /** - * .datadog.cws.dumpsv1.AWSSecurityCredentials security_credentials = 2; + * .datadog.cws.dumpsv1.HashState hash_state = 18; + * @return The hashState. */ - public com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentials.Builder getSecurityCredentialsBuilder() { - bitField0_ |= 0x00000002; - onChanged(); - return getSecurityCredentialsFieldBuilder().getBuilder(); + @java.lang.Override + public com.dd.cws.adv1.pb.SecDumpProto.HashState getHashState() { + com.dd.cws.adv1.pb.SecDumpProto.HashState result = com.dd.cws.adv1.pb.SecDumpProto.HashState.forNumber(hashState_); + return result == null ? com.dd.cws.adv1.pb.SecDumpProto.HashState.UNRECOGNIZED : result; } /** - * .datadog.cws.dumpsv1.AWSSecurityCredentials security_credentials = 2; + * .datadog.cws.dumpsv1.HashState hash_state = 18; + * @param value The hashState to set. + * @return This builder for chaining. */ - public com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentialsOrBuilder getSecurityCredentialsOrBuilder() { - if (securityCredentialsBuilder_ != null) { - return securityCredentialsBuilder_.getMessageOrBuilder(); - } else { - return securityCredentials_ == null ? - com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentials.getDefaultInstance() : securityCredentials_; + public Builder setHashState(com.dd.cws.adv1.pb.SecDumpProto.HashState value) { + if (value == null) { + throw new NullPointerException(); } + bitField0_ |= 0x00020000; + hashState_ = value.getNumber(); + onChanged(); + return this; } /** - * .datadog.cws.dumpsv1.AWSSecurityCredentials security_credentials = 2; + * .datadog.cws.dumpsv1.HashState hash_state = 18; + * @return This builder for chaining. */ - private com.google.protobuf.SingleFieldBuilderV3< - com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentials, com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentials.Builder, com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentialsOrBuilder> - getSecurityCredentialsFieldBuilder() { - if (securityCredentialsBuilder_ == null) { - securityCredentialsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentials, com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentials.Builder, com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentialsOrBuilder>( - getSecurityCredentials(), - getParentForChildren(), - isClean()); - securityCredentials_ = null; - } - return securityCredentialsBuilder_; + public Builder clearHashState() { + bitField0_ = (bitField0_ & ~0x00020000); + hashState_ = 0; + onChanged(); + return this; } @java.lang.Override public final Builder setUnknownFields( @@ -22902,23 +28018,23 @@ public final Builder mergeUnknownFields( } - // @@protoc_insertion_point(builder_scope:datadog.cws.dumpsv1.AWSIMDSEvent) + // @@protoc_insertion_point(builder_scope:datadog.cws.dumpsv1.FileInfo) } - // @@protoc_insertion_point(class_scope:datadog.cws.dumpsv1.AWSIMDSEvent) - private static final com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEvent DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:datadog.cws.dumpsv1.FileInfo) + private static final com.dd.cws.adv1.pb.SecDumpProto.FileInfo DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEvent(); + DEFAULT_INSTANCE = new com.dd.cws.adv1.pb.SecDumpProto.FileInfo(); } - public static com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEvent getDefaultInstance() { + public static com.dd.cws.adv1.pb.SecDumpProto.FileInfo getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override - public AWSIMDSEvent parsePartialFrom( + public FileInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -22937,111 +28053,172 @@ public AWSIMDSEvent parsePartialFrom( } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public com.dd.cws.adv1.pb.SecDumpProto.AWSIMDSEvent getDefaultInstanceForType() { + public com.dd.cws.adv1.pb.SecDumpProto.FileInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } - public interface AWSSecurityCredentialsOrBuilder extends - // @@protoc_insertion_point(interface_extends:datadog.cws.dumpsv1.AWSSecurityCredentials) + public interface CredentialsOrBuilder extends + // @@protoc_insertion_point(interface_extends:datadog.cws.dumpsv1.Credentials) com.google.protobuf.MessageOrBuilder { /** - * string code = 1; - * @return The code. + * uint32 uid = 1; + * @return The uid. */ - java.lang.String getCode(); + int getUid(); + /** - * string code = 1; - * @return The bytes for code. + * uint32 gid = 2; + * @return The gid. + */ + int getGid(); + + /** + * string user = 3; + * @return The user. + */ + java.lang.String getUser(); + /** + * string user = 3; + * @return The bytes for user. */ com.google.protobuf.ByteString - getCodeBytes(); + getUserBytes(); /** - * string type = 2; - * @return The type. + * string group = 4; + * @return The group. */ - java.lang.String getType(); + java.lang.String getGroup(); /** - * string type = 2; - * @return The bytes for type. + * string group = 4; + * @return The bytes for group. */ com.google.protobuf.ByteString - getTypeBytes(); + getGroupBytes(); /** - * string access_key_id = 3; - * @return The accessKeyId. + * uint32 effective_uid = 5; + * @return The effectiveUid. */ - java.lang.String getAccessKeyId(); + int getEffectiveUid(); + /** - * string access_key_id = 3; - * @return The bytes for accessKeyId. + * uint32 effective_gid = 6; + * @return The effectiveGid. + */ + int getEffectiveGid(); + + /** + * string effective_user = 7; + * @return The effectiveUser. + */ + java.lang.String getEffectiveUser(); + /** + * string effective_user = 7; + * @return The bytes for effectiveUser. */ com.google.protobuf.ByteString - getAccessKeyIdBytes(); + getEffectiveUserBytes(); /** - * string last_updated = 4; - * @return The lastUpdated. + * string effective_group = 8; + * @return The effectiveGroup. */ - java.lang.String getLastUpdated(); + java.lang.String getEffectiveGroup(); /** - * string last_updated = 4; - * @return The bytes for lastUpdated. + * string effective_group = 8; + * @return The bytes for effectiveGroup. */ com.google.protobuf.ByteString - getLastUpdatedBytes(); + getEffectiveGroupBytes(); /** - * string expiration_raw = 5; - * @return The expirationRaw. + * uint32 fs_uid = 9; + * @return The fsUid. */ - java.lang.String getExpirationRaw(); + int getFsUid(); + + /** + * uint32 fs_gid = 10; + * @return The fsGid. + */ + int getFsGid(); + + /** + * string fs_user = 11; + * @return The fsUser. + */ + java.lang.String getFsUser(); + /** + * string fs_user = 11; + * @return The bytes for fsUser. + */ + com.google.protobuf.ByteString + getFsUserBytes(); + + /** + * string fs_group = 12; + * @return The fsGroup. + */ + java.lang.String getFsGroup(); + /** + * string fs_group = 12; + * @return The bytes for fsGroup. + */ + com.google.protobuf.ByteString + getFsGroupBytes(); + + /** + * uint64 cap_effective = 13; + * @return The capEffective. + */ + long getCapEffective(); + /** - * string expiration_raw = 5; - * @return The bytes for expirationRaw. + * uint64 cap_permitted = 14; + * @return The capPermitted. */ - com.google.protobuf.ByteString - getExpirationRawBytes(); + long getCapPermitted(); } /** - * Protobuf type {@code datadog.cws.dumpsv1.AWSSecurityCredentials} + * Protobuf type {@code datadog.cws.dumpsv1.Credentials} */ - public static final class AWSSecurityCredentials extends + public static final class Credentials extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:datadog.cws.dumpsv1.AWSSecurityCredentials) - AWSSecurityCredentialsOrBuilder { + // @@protoc_insertion_point(message_implements:datadog.cws.dumpsv1.Credentials) + CredentialsOrBuilder { private static final long serialVersionUID = 0L; - // Use AWSSecurityCredentials.newBuilder() to construct. - private AWSSecurityCredentials(com.google.protobuf.GeneratedMessageV3.Builder builder) { + // Use Credentials.newBuilder() to construct. + private Credentials(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AWSSecurityCredentials() { - code_ = ""; - type_ = ""; - accessKeyId_ = ""; - lastUpdated_ = ""; - expirationRaw_ = ""; + private Credentials() { + user_ = ""; + group_ = ""; + effectiveUser_ = ""; + effectiveGroup_ = ""; + fsUser_ = ""; + fsGroup_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { - return new AWSSecurityCredentials(); + return new Credentials(); } @java.lang.Override @@ -23051,212 +28228,339 @@ protected java.lang.Object newInstance( } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_AWSSecurityCredentials_descriptor; + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_Credentials_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_AWSSecurityCredentials_fieldAccessorTable + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_Credentials_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentials.class, com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentials.Builder.class); + com.dd.cws.adv1.pb.SecDumpProto.Credentials.class, com.dd.cws.adv1.pb.SecDumpProto.Credentials.Builder.class); } - public static final int CODE_FIELD_NUMBER = 1; + public static final int UID_FIELD_NUMBER = 1; + private int uid_ = 0; + /** + * uint32 uid = 1; + * @return The uid. + */ + @java.lang.Override + public int getUid() { + return uid_; + } + + public static final int GID_FIELD_NUMBER = 2; + private int gid_ = 0; + /** + * uint32 gid = 2; + * @return The gid. + */ + @java.lang.Override + public int getGid() { + return gid_; + } + + public static final int USER_FIELD_NUMBER = 3; @SuppressWarnings("serial") - private volatile java.lang.Object code_ = ""; + private volatile java.lang.Object user_ = ""; /** - * string code = 1; - * @return The code. + * string user = 3; + * @return The user. */ @java.lang.Override - public java.lang.String getCode() { - java.lang.Object ref = code_; + public java.lang.String getUser() { + java.lang.Object ref = user_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); - code_ = s; + user_ = s; return s; } } /** - * string code = 1; - * @return The bytes for code. + * string user = 3; + * @return The bytes for user. */ @java.lang.Override public com.google.protobuf.ByteString - getCodeBytes() { - java.lang.Object ref = code_; + getUserBytes() { + java.lang.Object ref = user_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); - code_ = b; + user_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } - public static final int TYPE_FIELD_NUMBER = 2; + public static final int GROUP_FIELD_NUMBER = 4; @SuppressWarnings("serial") - private volatile java.lang.Object type_ = ""; + private volatile java.lang.Object group_ = ""; /** - * string type = 2; - * @return The type. + * string group = 4; + * @return The group. */ @java.lang.Override - public java.lang.String getType() { - java.lang.Object ref = type_; + public java.lang.String getGroup() { + java.lang.Object ref = group_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); - type_ = s; + group_ = s; return s; } } /** - * string type = 2; - * @return The bytes for type. + * string group = 4; + * @return The bytes for group. */ @java.lang.Override public com.google.protobuf.ByteString - getTypeBytes() { - java.lang.Object ref = type_; + getGroupBytes() { + java.lang.Object ref = group_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); - type_ = b; + group_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } - public static final int ACCESS_KEY_ID_FIELD_NUMBER = 3; + public static final int EFFECTIVE_UID_FIELD_NUMBER = 5; + private int effectiveUid_ = 0; + /** + * uint32 effective_uid = 5; + * @return The effectiveUid. + */ + @java.lang.Override + public int getEffectiveUid() { + return effectiveUid_; + } + + public static final int EFFECTIVE_GID_FIELD_NUMBER = 6; + private int effectiveGid_ = 0; + /** + * uint32 effective_gid = 6; + * @return The effectiveGid. + */ + @java.lang.Override + public int getEffectiveGid() { + return effectiveGid_; + } + + public static final int EFFECTIVE_USER_FIELD_NUMBER = 7; @SuppressWarnings("serial") - private volatile java.lang.Object accessKeyId_ = ""; + private volatile java.lang.Object effectiveUser_ = ""; /** - * string access_key_id = 3; - * @return The accessKeyId. + * string effective_user = 7; + * @return The effectiveUser. */ @java.lang.Override - public java.lang.String getAccessKeyId() { - java.lang.Object ref = accessKeyId_; + public java.lang.String getEffectiveUser() { + java.lang.Object ref = effectiveUser_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); - accessKeyId_ = s; + effectiveUser_ = s; return s; } } /** - * string access_key_id = 3; - * @return The bytes for accessKeyId. + * string effective_user = 7; + * @return The bytes for effectiveUser. */ @java.lang.Override public com.google.protobuf.ByteString - getAccessKeyIdBytes() { - java.lang.Object ref = accessKeyId_; + getEffectiveUserBytes() { + java.lang.Object ref = effectiveUser_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); - accessKeyId_ = b; + effectiveUser_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } - public static final int LAST_UPDATED_FIELD_NUMBER = 4; + public static final int EFFECTIVE_GROUP_FIELD_NUMBER = 8; @SuppressWarnings("serial") - private volatile java.lang.Object lastUpdated_ = ""; + private volatile java.lang.Object effectiveGroup_ = ""; /** - * string last_updated = 4; - * @return The lastUpdated. + * string effective_group = 8; + * @return The effectiveGroup. */ @java.lang.Override - public java.lang.String getLastUpdated() { - java.lang.Object ref = lastUpdated_; + public java.lang.String getEffectiveGroup() { + java.lang.Object ref = effectiveGroup_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); - lastUpdated_ = s; + effectiveGroup_ = s; return s; } } /** - * string last_updated = 4; - * @return The bytes for lastUpdated. + * string effective_group = 8; + * @return The bytes for effectiveGroup. */ @java.lang.Override public com.google.protobuf.ByteString - getLastUpdatedBytes() { - java.lang.Object ref = lastUpdated_; + getEffectiveGroupBytes() { + java.lang.Object ref = effectiveGroup_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); - lastUpdated_ = b; + effectiveGroup_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } - public static final int EXPIRATION_RAW_FIELD_NUMBER = 5; + public static final int FS_UID_FIELD_NUMBER = 9; + private int fsUid_ = 0; + /** + * uint32 fs_uid = 9; + * @return The fsUid. + */ + @java.lang.Override + public int getFsUid() { + return fsUid_; + } + + public static final int FS_GID_FIELD_NUMBER = 10; + private int fsGid_ = 0; + /** + * uint32 fs_gid = 10; + * @return The fsGid. + */ + @java.lang.Override + public int getFsGid() { + return fsGid_; + } + + public static final int FS_USER_FIELD_NUMBER = 11; @SuppressWarnings("serial") - private volatile java.lang.Object expirationRaw_ = ""; + private volatile java.lang.Object fsUser_ = ""; /** - * string expiration_raw = 5; - * @return The expirationRaw. + * string fs_user = 11; + * @return The fsUser. */ @java.lang.Override - public java.lang.String getExpirationRaw() { - java.lang.Object ref = expirationRaw_; + public java.lang.String getFsUser() { + java.lang.Object ref = fsUser_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); - expirationRaw_ = s; + fsUser_ = s; + return s; + } + } + /** + * string fs_user = 11; + * @return The bytes for fsUser. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getFsUserBytes() { + java.lang.Object ref = fsUser_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + fsUser_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int FS_GROUP_FIELD_NUMBER = 12; + @SuppressWarnings("serial") + private volatile java.lang.Object fsGroup_ = ""; + /** + * string fs_group = 12; + * @return The fsGroup. + */ + @java.lang.Override + public java.lang.String getFsGroup() { + java.lang.Object ref = fsGroup_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + fsGroup_ = s; return s; } } /** - * string expiration_raw = 5; - * @return The bytes for expirationRaw. + * string fs_group = 12; + * @return The bytes for fsGroup. */ @java.lang.Override public com.google.protobuf.ByteString - getExpirationRawBytes() { - java.lang.Object ref = expirationRaw_; + getFsGroupBytes() { + java.lang.Object ref = fsGroup_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); - expirationRaw_ = b; + fsGroup_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } + public static final int CAP_EFFECTIVE_FIELD_NUMBER = 13; + private long capEffective_ = 0L; + /** + * uint64 cap_effective = 13; + * @return The capEffective. + */ + @java.lang.Override + public long getCapEffective() { + return capEffective_; + } + + public static final int CAP_PERMITTED_FIELD_NUMBER = 14; + private long capPermitted_ = 0L; + /** + * uint64 cap_permitted = 14; + * @return The capPermitted. + */ + @java.lang.Override + public long getCapPermitted() { + return capPermitted_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { @@ -23271,20 +28575,47 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(code_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, code_); + if (uid_ != 0) { + output.writeUInt32(1, uid_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(type_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, type_); + if (gid_ != 0) { + output.writeUInt32(2, gid_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(accessKeyId_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, accessKeyId_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(user_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, user_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(lastUpdated_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 4, lastUpdated_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(group_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, group_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(expirationRaw_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 5, expirationRaw_); + if (effectiveUid_ != 0) { + output.writeUInt32(5, effectiveUid_); + } + if (effectiveGid_ != 0) { + output.writeUInt32(6, effectiveGid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(effectiveUser_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 7, effectiveUser_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(effectiveGroup_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 8, effectiveGroup_); + } + if (fsUid_ != 0) { + output.writeUInt32(9, fsUid_); + } + if (fsGid_ != 0) { + output.writeUInt32(10, fsGid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fsUser_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 11, fsUser_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fsGroup_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 12, fsGroup_); + } + if (capEffective_ != 0L) { + output.writeUInt64(13, capEffective_); + } + if (capPermitted_ != 0L) { + output.writeUInt64(14, capPermitted_); } getUnknownFields().writeTo(output); } @@ -23295,20 +28626,55 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(code_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, code_); + if (uid_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(1, uid_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(type_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, type_); + if (gid_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(2, gid_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(accessKeyId_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, accessKeyId_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(user_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, user_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(lastUpdated_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, lastUpdated_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(group_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, group_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(expirationRaw_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, expirationRaw_); + if (effectiveUid_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(5, effectiveUid_); + } + if (effectiveGid_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(6, effectiveGid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(effectiveUser_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, effectiveUser_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(effectiveGroup_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, effectiveGroup_); + } + if (fsUid_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(9, fsUid_); + } + if (fsGid_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(10, fsGid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fsUser_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, fsUser_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fsGroup_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, fsGroup_); + } + if (capEffective_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeUInt64Size(13, capEffective_); + } + if (capPermitted_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeUInt64Size(14, capPermitted_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -23320,21 +28686,39 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentials)) { + if (!(obj instanceof com.dd.cws.adv1.pb.SecDumpProto.Credentials)) { return super.equals(obj); } - com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentials other = (com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentials) obj; + com.dd.cws.adv1.pb.SecDumpProto.Credentials other = (com.dd.cws.adv1.pb.SecDumpProto.Credentials) obj; - if (!getCode() - .equals(other.getCode())) return false; - if (!getType() - .equals(other.getType())) return false; - if (!getAccessKeyId() - .equals(other.getAccessKeyId())) return false; - if (!getLastUpdated() - .equals(other.getLastUpdated())) return false; - if (!getExpirationRaw() - .equals(other.getExpirationRaw())) return false; + if (getUid() + != other.getUid()) return false; + if (getGid() + != other.getGid()) return false; + if (!getUser() + .equals(other.getUser())) return false; + if (!getGroup() + .equals(other.getGroup())) return false; + if (getEffectiveUid() + != other.getEffectiveUid()) return false; + if (getEffectiveGid() + != other.getEffectiveGid()) return false; + if (!getEffectiveUser() + .equals(other.getEffectiveUser())) return false; + if (!getEffectiveGroup() + .equals(other.getEffectiveGroup())) return false; + if (getFsUid() + != other.getFsUid()) return false; + if (getFsGid() + != other.getFsGid()) return false; + if (!getFsUser() + .equals(other.getFsUser())) return false; + if (!getFsGroup() + .equals(other.getFsGroup())) return false; + if (getCapEffective() + != other.getCapEffective()) return false; + if (getCapPermitted() + != other.getCapPermitted()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -23346,84 +28730,104 @@ public int hashCode() { } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + CODE_FIELD_NUMBER; - hash = (53 * hash) + getCode().hashCode(); - hash = (37 * hash) + TYPE_FIELD_NUMBER; - hash = (53 * hash) + getType().hashCode(); - hash = (37 * hash) + ACCESS_KEY_ID_FIELD_NUMBER; - hash = (53 * hash) + getAccessKeyId().hashCode(); - hash = (37 * hash) + LAST_UPDATED_FIELD_NUMBER; - hash = (53 * hash) + getLastUpdated().hashCode(); - hash = (37 * hash) + EXPIRATION_RAW_FIELD_NUMBER; - hash = (53 * hash) + getExpirationRaw().hashCode(); + hash = (37 * hash) + UID_FIELD_NUMBER; + hash = (53 * hash) + getUid(); + hash = (37 * hash) + GID_FIELD_NUMBER; + hash = (53 * hash) + getGid(); + hash = (37 * hash) + USER_FIELD_NUMBER; + hash = (53 * hash) + getUser().hashCode(); + hash = (37 * hash) + GROUP_FIELD_NUMBER; + hash = (53 * hash) + getGroup().hashCode(); + hash = (37 * hash) + EFFECTIVE_UID_FIELD_NUMBER; + hash = (53 * hash) + getEffectiveUid(); + hash = (37 * hash) + EFFECTIVE_GID_FIELD_NUMBER; + hash = (53 * hash) + getEffectiveGid(); + hash = (37 * hash) + EFFECTIVE_USER_FIELD_NUMBER; + hash = (53 * hash) + getEffectiveUser().hashCode(); + hash = (37 * hash) + EFFECTIVE_GROUP_FIELD_NUMBER; + hash = (53 * hash) + getEffectiveGroup().hashCode(); + hash = (37 * hash) + FS_UID_FIELD_NUMBER; + hash = (53 * hash) + getFsUid(); + hash = (37 * hash) + FS_GID_FIELD_NUMBER; + hash = (53 * hash) + getFsGid(); + hash = (37 * hash) + FS_USER_FIELD_NUMBER; + hash = (53 * hash) + getFsUser().hashCode(); + hash = (37 * hash) + FS_GROUP_FIELD_NUMBER; + hash = (53 * hash) + getFsGroup().hashCode(); + hash = (37 * hash) + CAP_EFFECTIVE_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getCapEffective()); + hash = (37 * hash) + CAP_PERMITTED_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getCapPermitted()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentials parseFrom( + public static com.dd.cws.adv1.pb.SecDumpProto.Credentials parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentials parseFrom( + public static com.dd.cws.adv1.pb.SecDumpProto.Credentials parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentials parseFrom( + public static com.dd.cws.adv1.pb.SecDumpProto.Credentials parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentials parseFrom( + public static com.dd.cws.adv1.pb.SecDumpProto.Credentials parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentials parseFrom(byte[] data) + public static com.dd.cws.adv1.pb.SecDumpProto.Credentials parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentials parseFrom( + public static com.dd.cws.adv1.pb.SecDumpProto.Credentials parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentials parseFrom(java.io.InputStream input) + public static com.dd.cws.adv1.pb.SecDumpProto.Credentials parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentials parseFrom( + public static com.dd.cws.adv1.pb.SecDumpProto.Credentials parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentials parseDelimitedFrom(java.io.InputStream input) + public static com.dd.cws.adv1.pb.SecDumpProto.Credentials parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } - public static com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentials parseDelimitedFrom( + public static com.dd.cws.adv1.pb.SecDumpProto.Credentials parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentials parseFrom( + public static com.dd.cws.adv1.pb.SecDumpProto.Credentials parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentials parseFrom( + public static com.dd.cws.adv1.pb.SecDumpProto.Credentials parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -23436,7 +28840,7 @@ public static com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentials parseFrom( public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentials prototype) { + public static Builder newBuilder(com.dd.cws.adv1.pb.SecDumpProto.Credentials prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override @@ -23452,26 +28856,26 @@ protected Builder newBuilderForType( return builder; } /** - * Protobuf type {@code datadog.cws.dumpsv1.AWSSecurityCredentials} + * Protobuf type {@code datadog.cws.dumpsv1.Credentials} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:datadog.cws.dumpsv1.AWSSecurityCredentials) - com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentialsOrBuilder { + // @@protoc_insertion_point(builder_implements:datadog.cws.dumpsv1.Credentials) + com.dd.cws.adv1.pb.SecDumpProto.CredentialsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_AWSSecurityCredentials_descriptor; + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_Credentials_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_AWSSecurityCredentials_fieldAccessorTable + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_Credentials_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentials.class, com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentials.Builder.class); + com.dd.cws.adv1.pb.SecDumpProto.Credentials.class, com.dd.cws.adv1.pb.SecDumpProto.Credentials.Builder.class); } - // Construct using com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentials.newBuilder() + // Construct using com.dd.cws.adv1.pb.SecDumpProto.Credentials.newBuilder() private Builder() { } @@ -23485,1384 +28889,1240 @@ private Builder( public Builder clear() { super.clear(); bitField0_ = 0; - code_ = ""; - type_ = ""; - accessKeyId_ = ""; - lastUpdated_ = ""; - expirationRaw_ = ""; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_AWSSecurityCredentials_descriptor; - } - - @java.lang.Override - public com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentials getDefaultInstanceForType() { - return com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentials.getDefaultInstance(); - } - - @java.lang.Override - public com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentials build() { - com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentials result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentials buildPartial() { - com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentials result = new com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentials(this); - if (bitField0_ != 0) { buildPartial0(result); } - onBuilt(); - return result; - } - - private void buildPartial0(com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentials result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.code_ = code_; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - result.type_ = type_; - } - if (((from_bitField0_ & 0x00000004) != 0)) { - result.accessKeyId_ = accessKeyId_; - } - if (((from_bitField0_ & 0x00000008) != 0)) { - result.lastUpdated_ = lastUpdated_; - } - if (((from_bitField0_ & 0x00000010) != 0)) { - result.expirationRaw_ = expirationRaw_; - } - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentials) { - return mergeFrom((com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentials)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentials other) { - if (other == com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentials.getDefaultInstance()) return this; - if (!other.getCode().isEmpty()) { - code_ = other.code_; - bitField0_ |= 0x00000001; - onChanged(); - } - if (!other.getType().isEmpty()) { - type_ = other.type_; - bitField0_ |= 0x00000002; - onChanged(); - } - if (!other.getAccessKeyId().isEmpty()) { - accessKeyId_ = other.accessKeyId_; - bitField0_ |= 0x00000004; - onChanged(); - } - if (!other.getLastUpdated().isEmpty()) { - lastUpdated_ = other.lastUpdated_; - bitField0_ |= 0x00000008; - onChanged(); - } - if (!other.getExpirationRaw().isEmpty()) { - expirationRaw_ = other.expirationRaw_; - bitField0_ |= 0x00000010; - onChanged(); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - code_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - type_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - accessKeyId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - lastUpdated_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - expirationRaw_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - private int bitField0_; - - private java.lang.Object code_ = ""; - /** - * string code = 1; - * @return The code. - */ - public java.lang.String getCode() { - java.lang.Object ref = code_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - code_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * string code = 1; - * @return The bytes for code. - */ - public com.google.protobuf.ByteString - getCodeBytes() { - java.lang.Object ref = code_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - code_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * string code = 1; - * @param value The code to set. - * @return This builder for chaining. - */ - public Builder setCode( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } - code_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - /** - * string code = 1; - * @return This builder for chaining. - */ - public Builder clearCode() { - code_ = getDefaultInstance().getCode(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); + uid_ = 0; + gid_ = 0; + user_ = ""; + group_ = ""; + effectiveUid_ = 0; + effectiveGid_ = 0; + effectiveUser_ = ""; + effectiveGroup_ = ""; + fsUid_ = 0; + fsGid_ = 0; + fsUser_ = ""; + fsGroup_ = ""; + capEffective_ = 0L; + capPermitted_ = 0L; return this; } - /** - * string code = 1; - * @param value The bytes for code to set. - * @return This builder for chaining. - */ - public Builder setCodeBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } - checkByteStringIsUtf8(value); - code_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_Credentials_descriptor; } - private java.lang.Object type_ = ""; - /** - * string type = 2; - * @return The type. - */ - public java.lang.String getType() { - java.lang.Object ref = type_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - type_ = s; - return s; - } else { - return (java.lang.String) ref; - } + @java.lang.Override + public com.dd.cws.adv1.pb.SecDumpProto.Credentials getDefaultInstanceForType() { + return com.dd.cws.adv1.pb.SecDumpProto.Credentials.getDefaultInstance(); } - /** - * string type = 2; - * @return The bytes for type. - */ - public com.google.protobuf.ByteString - getTypeBytes() { - java.lang.Object ref = type_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - type_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; + + @java.lang.Override + public com.dd.cws.adv1.pb.SecDumpProto.Credentials build() { + com.dd.cws.adv1.pb.SecDumpProto.Credentials result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); } + return result; } - /** - * string type = 2; - * @param value The type to set. - * @return This builder for chaining. - */ - public Builder setType( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } - type_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - /** - * string type = 2; - * @return This builder for chaining. - */ - public Builder clearType() { - type_ = getDefaultInstance().getType(); - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - return this; - } - /** - * string type = 2; - * @param value The bytes for type to set. - * @return This builder for chaining. - */ - public Builder setTypeBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } - checkByteStringIsUtf8(value); - type_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; + + @java.lang.Override + public com.dd.cws.adv1.pb.SecDumpProto.Credentials buildPartial() { + com.dd.cws.adv1.pb.SecDumpProto.Credentials result = new com.dd.cws.adv1.pb.SecDumpProto.Credentials(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; } - private java.lang.Object accessKeyId_ = ""; - /** - * string access_key_id = 3; - * @return The accessKeyId. - */ - public java.lang.String getAccessKeyId() { - java.lang.Object ref = accessKeyId_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - accessKeyId_ = s; - return s; - } else { - return (java.lang.String) ref; + private void buildPartial0(com.dd.cws.adv1.pb.SecDumpProto.Credentials result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.uid_ = uid_; } - } - /** - * string access_key_id = 3; - * @return The bytes for accessKeyId. - */ - public com.google.protobuf.ByteString - getAccessKeyIdBytes() { - java.lang.Object ref = accessKeyId_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - accessKeyId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; + if (((from_bitField0_ & 0x00000002) != 0)) { + result.gid_ = gid_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.user_ = user_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.group_ = group_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.effectiveUid_ = effectiveUid_; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.effectiveGid_ = effectiveGid_; + } + if (((from_bitField0_ & 0x00000040) != 0)) { + result.effectiveUser_ = effectiveUser_; + } + if (((from_bitField0_ & 0x00000080) != 0)) { + result.effectiveGroup_ = effectiveGroup_; + } + if (((from_bitField0_ & 0x00000100) != 0)) { + result.fsUid_ = fsUid_; + } + if (((from_bitField0_ & 0x00000200) != 0)) { + result.fsGid_ = fsGid_; + } + if (((from_bitField0_ & 0x00000400) != 0)) { + result.fsUser_ = fsUser_; + } + if (((from_bitField0_ & 0x00000800) != 0)) { + result.fsGroup_ = fsGroup_; + } + if (((from_bitField0_ & 0x00001000) != 0)) { + result.capEffective_ = capEffective_; + } + if (((from_bitField0_ & 0x00002000) != 0)) { + result.capPermitted_ = capPermitted_; } } - /** - * string access_key_id = 3; - * @param value The accessKeyId to set. - * @return This builder for chaining. - */ - public Builder setAccessKeyId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } - accessKeyId_ = value; - bitField0_ |= 0x00000004; - onChanged(); - return this; + + @java.lang.Override + public Builder clone() { + return super.clone(); } - /** - * string access_key_id = 3; - * @return This builder for chaining. - */ - public Builder clearAccessKeyId() { - accessKeyId_ = getDefaultInstance().getAccessKeyId(); - bitField0_ = (bitField0_ & ~0x00000004); - onChanged(); - return this; + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); } - /** - * string access_key_id = 3; - * @param value The bytes for accessKeyId to set. - * @return This builder for chaining. - */ - public Builder setAccessKeyIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } - checkByteStringIsUtf8(value); - accessKeyId_ = value; - bitField0_ |= 0x00000004; - onChanged(); - return this; + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); } - - private java.lang.Object lastUpdated_ = ""; - /** - * string last_updated = 4; - * @return The lastUpdated. - */ - public java.lang.String getLastUpdated() { - java.lang.Object ref = lastUpdated_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - lastUpdated_ = s; - return s; - } else { - return (java.lang.String) ref; - } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); } - /** - * string last_updated = 4; - * @return The bytes for lastUpdated. - */ - public com.google.protobuf.ByteString - getLastUpdatedBytes() { - java.lang.Object ref = lastUpdated_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - lastUpdated_ = b; - return b; + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.dd.cws.adv1.pb.SecDumpProto.Credentials) { + return mergeFrom((com.dd.cws.adv1.pb.SecDumpProto.Credentials)other); } else { - return (com.google.protobuf.ByteString) ref; + super.mergeFrom(other); + return this; } } - /** - * string last_updated = 4; - * @param value The lastUpdated to set. - * @return This builder for chaining. - */ - public Builder setLastUpdated( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } - lastUpdated_ = value; - bitField0_ |= 0x00000008; - onChanged(); - return this; - } - /** - * string last_updated = 4; - * @return This builder for chaining. - */ - public Builder clearLastUpdated() { - lastUpdated_ = getDefaultInstance().getLastUpdated(); - bitField0_ = (bitField0_ & ~0x00000008); + + public Builder mergeFrom(com.dd.cws.adv1.pb.SecDumpProto.Credentials other) { + if (other == com.dd.cws.adv1.pb.SecDumpProto.Credentials.getDefaultInstance()) return this; + if (other.getUid() != 0) { + setUid(other.getUid()); + } + if (other.getGid() != 0) { + setGid(other.getGid()); + } + if (!other.getUser().isEmpty()) { + user_ = other.user_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (!other.getGroup().isEmpty()) { + group_ = other.group_; + bitField0_ |= 0x00000008; + onChanged(); + } + if (other.getEffectiveUid() != 0) { + setEffectiveUid(other.getEffectiveUid()); + } + if (other.getEffectiveGid() != 0) { + setEffectiveGid(other.getEffectiveGid()); + } + if (!other.getEffectiveUser().isEmpty()) { + effectiveUser_ = other.effectiveUser_; + bitField0_ |= 0x00000040; + onChanged(); + } + if (!other.getEffectiveGroup().isEmpty()) { + effectiveGroup_ = other.effectiveGroup_; + bitField0_ |= 0x00000080; + onChanged(); + } + if (other.getFsUid() != 0) { + setFsUid(other.getFsUid()); + } + if (other.getFsGid() != 0) { + setFsGid(other.getFsGid()); + } + if (!other.getFsUser().isEmpty()) { + fsUser_ = other.fsUser_; + bitField0_ |= 0x00000400; + onChanged(); + } + if (!other.getFsGroup().isEmpty()) { + fsGroup_ = other.fsGroup_; + bitField0_ |= 0x00000800; + onChanged(); + } + if (other.getCapEffective() != 0L) { + setCapEffective(other.getCapEffective()); + } + if (other.getCapPermitted() != 0L) { + setCapPermitted(other.getCapPermitted()); + } + this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } - /** - * string last_updated = 4; - * @param value The bytes for lastUpdated to set. - * @return This builder for chaining. - */ - public Builder setLastUpdatedBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } - checkByteStringIsUtf8(value); - lastUpdated_ = value; - bitField0_ |= 0x00000008; - onChanged(); - return this; + + @java.lang.Override + public final boolean isInitialized() { + return true; } - private java.lang.Object expirationRaw_ = ""; - /** - * string expiration_raw = 5; - * @return The expirationRaw. - */ - public java.lang.String getExpirationRaw() { - java.lang.Object ref = expirationRaw_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - expirationRaw_ = s; - return s; - } else { - return (java.lang.String) ref; + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + uid_ = input.readUInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: { + gid_ = input.readUInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: { + user_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + group_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 40: { + effectiveUid_ = input.readUInt32(); + bitField0_ |= 0x00000010; + break; + } // case 40 + case 48: { + effectiveGid_ = input.readUInt32(); + bitField0_ |= 0x00000020; + break; + } // case 48 + case 58: { + effectiveUser_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000040; + break; + } // case 58 + case 66: { + effectiveGroup_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000080; + break; + } // case 66 + case 72: { + fsUid_ = input.readUInt32(); + bitField0_ |= 0x00000100; + break; + } // case 72 + case 80: { + fsGid_ = input.readUInt32(); + bitField0_ |= 0x00000200; + break; + } // case 80 + case 90: { + fsUser_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000400; + break; + } // case 90 + case 98: { + fsGroup_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000800; + break; + } // case 98 + case 104: { + capEffective_ = input.readUInt64(); + bitField0_ |= 0x00001000; + break; + } // case 104 + case 112: { + capPermitted_ = input.readUInt64(); + bitField0_ |= 0x00002000; + break; + } // case 112 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; } + private int bitField0_; + + private int uid_ ; /** - * string expiration_raw = 5; - * @return The bytes for expirationRaw. + * uint32 uid = 1; + * @return The uid. */ - public com.google.protobuf.ByteString - getExpirationRawBytes() { - java.lang.Object ref = expirationRaw_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - expirationRaw_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } + @java.lang.Override + public int getUid() { + return uid_; } /** - * string expiration_raw = 5; - * @param value The expirationRaw to set. + * uint32 uid = 1; + * @param value The uid to set. * @return This builder for chaining. */ - public Builder setExpirationRaw( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } - expirationRaw_ = value; - bitField0_ |= 0x00000010; + public Builder setUid(int value) { + + uid_ = value; + bitField0_ |= 0x00000001; onChanged(); return this; } /** - * string expiration_raw = 5; + * uint32 uid = 1; * @return This builder for chaining. */ - public Builder clearExpirationRaw() { - expirationRaw_ = getDefaultInstance().getExpirationRaw(); - bitField0_ = (bitField0_ & ~0x00000010); + public Builder clearUid() { + bitField0_ = (bitField0_ & ~0x00000001); + uid_ = 0; onChanged(); return this; } + + private int gid_ ; /** - * string expiration_raw = 5; - * @param value The bytes for expirationRaw to set. + * uint32 gid = 2; + * @return The gid. + */ + @java.lang.Override + public int getGid() { + return gid_; + } + /** + * uint32 gid = 2; + * @param value The gid to set. * @return This builder for chaining. */ - public Builder setExpirationRawBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } - checkByteStringIsUtf8(value); - expirationRaw_ = value; - bitField0_ |= 0x00000010; + public Builder setGid(int value) { + + gid_ = value; + bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:datadog.cws.dumpsv1.AWSSecurityCredentials) - } - - // @@protoc_insertion_point(class_scope:datadog.cws.dumpsv1.AWSSecurityCredentials) - private static final com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentials DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentials(); - } - - public static com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentials getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AWSSecurityCredentials parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); + /** + * uint32 gid = 2; + * @return This builder for chaining. + */ + public Builder clearGid() { + bitField0_ = (bitField0_ & ~0x00000002); + gid_ = 0; + onChanged(); + return this; } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.dd.cws.adv1.pb.SecDumpProto.AWSSecurityCredentials getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface FileInfoOrBuilder extends - // @@protoc_insertion_point(interface_extends:datadog.cws.dumpsv1.FileInfo) - com.google.protobuf.MessageOrBuilder { - - /** - * uint32 uid = 1; - * @return The uid. - */ - int getUid(); - - /** - * string user = 2; - * @return The user. - */ - java.lang.String getUser(); - /** - * string user = 2; - * @return The bytes for user. - */ - com.google.protobuf.ByteString - getUserBytes(); - - /** - * uint32 gid = 3; - * @return The gid. - */ - int getGid(); - - /** - * string group = 4; - * @return The group. - */ - java.lang.String getGroup(); - /** - * string group = 4; - * @return The bytes for group. - */ - com.google.protobuf.ByteString - getGroupBytes(); - - /** - *
-     * TODO: check conversion with uint16
-     * 
- * - * uint32 mode = 5; - * @return The mode. - */ - int getMode(); - - /** - * uint64 ctime = 6; - * @return The ctime. - */ - long getCtime(); - - /** - * uint64 mtime = 7; - * @return The mtime. - */ - long getMtime(); - - /** - * uint32 mount_id = 8; - * @return The mountId. - */ - int getMountId(); - - /** - * uint64 inode = 9; - * @return The inode. - */ - long getInode(); - - /** - * bool in_upper_layer = 10; - * @return The inUpperLayer. - */ - boolean getInUpperLayer(); - - /** - * string path = 11; - * @return The path. - */ - java.lang.String getPath(); - /** - * string path = 11; - * @return The bytes for path. - */ - com.google.protobuf.ByteString - getPathBytes(); - - /** - * string basename = 12; - * @return The basename. - */ - java.lang.String getBasename(); - /** - * string basename = 12; - * @return The bytes for basename. - */ - com.google.protobuf.ByteString - getBasenameBytes(); - - /** - * string filesystem = 13; - * @return The filesystem. - */ - java.lang.String getFilesystem(); - /** - * string filesystem = 13; - * @return The bytes for filesystem. - */ - com.google.protobuf.ByteString - getFilesystemBytes(); - - /** - * string package_name = 14; - * @return The packageName. - */ - java.lang.String getPackageName(); - /** - * string package_name = 14; - * @return The bytes for packageName. - */ - com.google.protobuf.ByteString - getPackageNameBytes(); - - /** - * string package_version = 15; - * @return The packageVersion. - */ - java.lang.String getPackageVersion(); - /** - * string package_version = 15; - * @return The bytes for packageVersion. - */ - com.google.protobuf.ByteString - getPackageVersionBytes(); - /** - * string package_srcversion = 16; - * @return The packageSrcversion. - */ - java.lang.String getPackageSrcversion(); - /** - * string package_srcversion = 16; - * @return The bytes for packageSrcversion. - */ - com.google.protobuf.ByteString - getPackageSrcversionBytes(); + private java.lang.Object user_ = ""; + /** + * string user = 3; + * @return The user. + */ + public java.lang.String getUser() { + java.lang.Object ref = user_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + user_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string user = 3; + * @return The bytes for user. + */ + public com.google.protobuf.ByteString + getUserBytes() { + java.lang.Object ref = user_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + user_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string user = 3; + * @param value The user to set. + * @return This builder for chaining. + */ + public Builder setUser( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + user_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * string user = 3; + * @return This builder for chaining. + */ + public Builder clearUser() { + user_ = getDefaultInstance().getUser(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + * string user = 3; + * @param value The bytes for user to set. + * @return This builder for chaining. + */ + public Builder setUserBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + user_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } - /** - * repeated string hashes = 17; - * @return A list containing the hashes. - */ - java.util.List - getHashesList(); - /** - * repeated string hashes = 17; - * @return The count of hashes. - */ - int getHashesCount(); - /** - * repeated string hashes = 17; - * @param index The index of the element to return. - * @return The hashes at the given index. - */ - java.lang.String getHashes(int index); - /** - * repeated string hashes = 17; - * @param index The index of the value to return. - * @return The bytes of the hashes at the given index. - */ - com.google.protobuf.ByteString - getHashesBytes(int index); + private java.lang.Object group_ = ""; + /** + * string group = 4; + * @return The group. + */ + public java.lang.String getGroup() { + java.lang.Object ref = group_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + group_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string group = 4; + * @return The bytes for group. + */ + public com.google.protobuf.ByteString + getGroupBytes() { + java.lang.Object ref = group_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + group_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string group = 4; + * @param value The group to set. + * @return This builder for chaining. + */ + public Builder setGroup( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + group_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * string group = 4; + * @return This builder for chaining. + */ + public Builder clearGroup() { + group_ = getDefaultInstance().getGroup(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + /** + * string group = 4; + * @param value The bytes for group to set. + * @return This builder for chaining. + */ + public Builder setGroupBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + group_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } - /** - * .datadog.cws.dumpsv1.HashState hash_state = 18; - * @return The enum numeric value on the wire for hashState. - */ - int getHashStateValue(); - /** - * .datadog.cws.dumpsv1.HashState hash_state = 18; - * @return The hashState. - */ - com.dd.cws.adv1.pb.SecDumpProto.HashState getHashState(); - } - /** - * Protobuf type {@code datadog.cws.dumpsv1.FileInfo} - */ - public static final class FileInfo extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:datadog.cws.dumpsv1.FileInfo) - FileInfoOrBuilder { - private static final long serialVersionUID = 0L; - // Use FileInfo.newBuilder() to construct. - private FileInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private FileInfo() { - user_ = ""; - group_ = ""; - path_ = ""; - basename_ = ""; - filesystem_ = ""; - packageName_ = ""; - packageVersion_ = ""; - packageSrcversion_ = ""; - hashes_ = com.google.protobuf.LazyStringArrayList.EMPTY; - hashState_ = 0; - } + private int effectiveUid_ ; + /** + * uint32 effective_uid = 5; + * @return The effectiveUid. + */ + @java.lang.Override + public int getEffectiveUid() { + return effectiveUid_; + } + /** + * uint32 effective_uid = 5; + * @param value The effectiveUid to set. + * @return This builder for chaining. + */ + public Builder setEffectiveUid(int value) { + + effectiveUid_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * uint32 effective_uid = 5; + * @return This builder for chaining. + */ + public Builder clearEffectiveUid() { + bitField0_ = (bitField0_ & ~0x00000010); + effectiveUid_ = 0; + onChanged(); + return this; + } + + private int effectiveGid_ ; + /** + * uint32 effective_gid = 6; + * @return The effectiveGid. + */ + @java.lang.Override + public int getEffectiveGid() { + return effectiveGid_; + } + /** + * uint32 effective_gid = 6; + * @param value The effectiveGid to set. + * @return This builder for chaining. + */ + public Builder setEffectiveGid(int value) { + + effectiveGid_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + * uint32 effective_gid = 6; + * @return This builder for chaining. + */ + public Builder clearEffectiveGid() { + bitField0_ = (bitField0_ & ~0x00000020); + effectiveGid_ = 0; + onChanged(); + return this; + } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new FileInfo(); - } + private java.lang.Object effectiveUser_ = ""; + /** + * string effective_user = 7; + * @return The effectiveUser. + */ + public java.lang.String getEffectiveUser() { + java.lang.Object ref = effectiveUser_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + effectiveUser_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string effective_user = 7; + * @return The bytes for effectiveUser. + */ + public com.google.protobuf.ByteString + getEffectiveUserBytes() { + java.lang.Object ref = effectiveUser_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + effectiveUser_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string effective_user = 7; + * @param value The effectiveUser to set. + * @return This builder for chaining. + */ + public Builder setEffectiveUser( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + effectiveUser_ = value; + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + * string effective_user = 7; + * @return This builder for chaining. + */ + public Builder clearEffectiveUser() { + effectiveUser_ = getDefaultInstance().getEffectiveUser(); + bitField0_ = (bitField0_ & ~0x00000040); + onChanged(); + return this; + } + /** + * string effective_user = 7; + * @param value The bytes for effectiveUser to set. + * @return This builder for chaining. + */ + public Builder setEffectiveUserBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + effectiveUser_ = value; + bitField0_ |= 0x00000040; + onChanged(); + return this; + } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_FileInfo_descriptor; - } + private java.lang.Object effectiveGroup_ = ""; + /** + * string effective_group = 8; + * @return The effectiveGroup. + */ + public java.lang.String getEffectiveGroup() { + java.lang.Object ref = effectiveGroup_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + effectiveGroup_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string effective_group = 8; + * @return The bytes for effectiveGroup. + */ + public com.google.protobuf.ByteString + getEffectiveGroupBytes() { + java.lang.Object ref = effectiveGroup_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + effectiveGroup_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string effective_group = 8; + * @param value The effectiveGroup to set. + * @return This builder for chaining. + */ + public Builder setEffectiveGroup( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + effectiveGroup_ = value; + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + /** + * string effective_group = 8; + * @return This builder for chaining. + */ + public Builder clearEffectiveGroup() { + effectiveGroup_ = getDefaultInstance().getEffectiveGroup(); + bitField0_ = (bitField0_ & ~0x00000080); + onChanged(); + return this; + } + /** + * string effective_group = 8; + * @param value The bytes for effectiveGroup to set. + * @return This builder for chaining. + */ + public Builder setEffectiveGroupBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + effectiveGroup_ = value; + bitField0_ |= 0x00000080; + onChanged(); + return this; + } - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_FileInfo_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.dd.cws.adv1.pb.SecDumpProto.FileInfo.class, com.dd.cws.adv1.pb.SecDumpProto.FileInfo.Builder.class); - } + private int fsUid_ ; + /** + * uint32 fs_uid = 9; + * @return The fsUid. + */ + @java.lang.Override + public int getFsUid() { + return fsUid_; + } + /** + * uint32 fs_uid = 9; + * @param value The fsUid to set. + * @return This builder for chaining. + */ + public Builder setFsUid(int value) { + + fsUid_ = value; + bitField0_ |= 0x00000100; + onChanged(); + return this; + } + /** + * uint32 fs_uid = 9; + * @return This builder for chaining. + */ + public Builder clearFsUid() { + bitField0_ = (bitField0_ & ~0x00000100); + fsUid_ = 0; + onChanged(); + return this; + } - public static final int UID_FIELD_NUMBER = 1; - private int uid_ = 0; - /** - * uint32 uid = 1; - * @return The uid. - */ - @java.lang.Override - public int getUid() { - return uid_; - } + private int fsGid_ ; + /** + * uint32 fs_gid = 10; + * @return The fsGid. + */ + @java.lang.Override + public int getFsGid() { + return fsGid_; + } + /** + * uint32 fs_gid = 10; + * @param value The fsGid to set. + * @return This builder for chaining. + */ + public Builder setFsGid(int value) { + + fsGid_ = value; + bitField0_ |= 0x00000200; + onChanged(); + return this; + } + /** + * uint32 fs_gid = 10; + * @return This builder for chaining. + */ + public Builder clearFsGid() { + bitField0_ = (bitField0_ & ~0x00000200); + fsGid_ = 0; + onChanged(); + return this; + } + + private java.lang.Object fsUser_ = ""; + /** + * string fs_user = 11; + * @return The fsUser. + */ + public java.lang.String getFsUser() { + java.lang.Object ref = fsUser_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + fsUser_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string fs_user = 11; + * @return The bytes for fsUser. + */ + public com.google.protobuf.ByteString + getFsUserBytes() { + java.lang.Object ref = fsUser_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + fsUser_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string fs_user = 11; + * @param value The fsUser to set. + * @return This builder for chaining. + */ + public Builder setFsUser( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + fsUser_ = value; + bitField0_ |= 0x00000400; + onChanged(); + return this; + } + /** + * string fs_user = 11; + * @return This builder for chaining. + */ + public Builder clearFsUser() { + fsUser_ = getDefaultInstance().getFsUser(); + bitField0_ = (bitField0_ & ~0x00000400); + onChanged(); + return this; + } + /** + * string fs_user = 11; + * @param value The bytes for fsUser to set. + * @return This builder for chaining. + */ + public Builder setFsUserBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + fsUser_ = value; + bitField0_ |= 0x00000400; + onChanged(); + return this; + } - public static final int USER_FIELD_NUMBER = 2; - @SuppressWarnings("serial") - private volatile java.lang.Object user_ = ""; - /** - * string user = 2; - * @return The user. - */ - @java.lang.Override - public java.lang.String getUser() { - java.lang.Object ref = user_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - user_ = s; - return s; + private java.lang.Object fsGroup_ = ""; + /** + * string fs_group = 12; + * @return The fsGroup. + */ + public java.lang.String getFsGroup() { + java.lang.Object ref = fsGroup_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + fsGroup_ = s; + return s; + } else { + return (java.lang.String) ref; + } } - } - /** - * string user = 2; - * @return The bytes for user. - */ - @java.lang.Override - public com.google.protobuf.ByteString - getUserBytes() { - java.lang.Object ref = user_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - user_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; + /** + * string fs_group = 12; + * @return The bytes for fsGroup. + */ + public com.google.protobuf.ByteString + getFsGroupBytes() { + java.lang.Object ref = fsGroup_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + fsGroup_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string fs_group = 12; + * @param value The fsGroup to set. + * @return This builder for chaining. + */ + public Builder setFsGroup( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + fsGroup_ = value; + bitField0_ |= 0x00000800; + onChanged(); + return this; + } + /** + * string fs_group = 12; + * @return This builder for chaining. + */ + public Builder clearFsGroup() { + fsGroup_ = getDefaultInstance().getFsGroup(); + bitField0_ = (bitField0_ & ~0x00000800); + onChanged(); + return this; + } + /** + * string fs_group = 12; + * @param value The bytes for fsGroup to set. + * @return This builder for chaining. + */ + public Builder setFsGroupBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + fsGroup_ = value; + bitField0_ |= 0x00000800; + onChanged(); + return this; } - } - public static final int GID_FIELD_NUMBER = 3; - private int gid_ = 0; - /** - * uint32 gid = 3; - * @return The gid. - */ - @java.lang.Override - public int getGid() { - return gid_; - } + private long capEffective_ ; + /** + * uint64 cap_effective = 13; + * @return The capEffective. + */ + @java.lang.Override + public long getCapEffective() { + return capEffective_; + } + /** + * uint64 cap_effective = 13; + * @param value The capEffective to set. + * @return This builder for chaining. + */ + public Builder setCapEffective(long value) { + + capEffective_ = value; + bitField0_ |= 0x00001000; + onChanged(); + return this; + } + /** + * uint64 cap_effective = 13; + * @return This builder for chaining. + */ + public Builder clearCapEffective() { + bitField0_ = (bitField0_ & ~0x00001000); + capEffective_ = 0L; + onChanged(); + return this; + } - public static final int GROUP_FIELD_NUMBER = 4; - @SuppressWarnings("serial") - private volatile java.lang.Object group_ = ""; - /** - * string group = 4; - * @return The group. - */ - @java.lang.Override - public java.lang.String getGroup() { - java.lang.Object ref = group_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - group_ = s; - return s; + private long capPermitted_ ; + /** + * uint64 cap_permitted = 14; + * @return The capPermitted. + */ + @java.lang.Override + public long getCapPermitted() { + return capPermitted_; + } + /** + * uint64 cap_permitted = 14; + * @param value The capPermitted to set. + * @return This builder for chaining. + */ + public Builder setCapPermitted(long value) { + + capPermitted_ = value; + bitField0_ |= 0x00002000; + onChanged(); + return this; + } + /** + * uint64 cap_permitted = 14; + * @return This builder for chaining. + */ + public Builder clearCapPermitted() { + bitField0_ = (bitField0_ & ~0x00002000); + capPermitted_ = 0L; + onChanged(); + return this; } - } - /** - * string group = 4; - * @return The bytes for group. - */ - @java.lang.Override - public com.google.protobuf.ByteString - getGroupBytes() { - java.lang.Object ref = group_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - group_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); } - } - public static final int MODE_FIELD_NUMBER = 5; - private int mode_ = 0; - /** - *
-     * TODO: check conversion with uint16
-     * 
- * - * uint32 mode = 5; - * @return The mode. - */ - @java.lang.Override - public int getMode() { - return mode_; - } + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } - public static final int CTIME_FIELD_NUMBER = 6; - private long ctime_ = 0L; - /** - * uint64 ctime = 6; - * @return The ctime. - */ - @java.lang.Override - public long getCtime() { - return ctime_; - } - public static final int MTIME_FIELD_NUMBER = 7; - private long mtime_ = 0L; - /** - * uint64 mtime = 7; - * @return The mtime. - */ - @java.lang.Override - public long getMtime() { - return mtime_; + // @@protoc_insertion_point(builder_scope:datadog.cws.dumpsv1.Credentials) } - public static final int MOUNT_ID_FIELD_NUMBER = 8; - private int mountId_ = 0; - /** - * uint32 mount_id = 8; - * @return The mountId. - */ - @java.lang.Override - public int getMountId() { - return mountId_; + // @@protoc_insertion_point(class_scope:datadog.cws.dumpsv1.Credentials) + private static final com.dd.cws.adv1.pb.SecDumpProto.Credentials DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.dd.cws.adv1.pb.SecDumpProto.Credentials(); } - public static final int INODE_FIELD_NUMBER = 9; - private long inode_ = 0L; - /** - * uint64 inode = 9; - * @return The inode. - */ - @java.lang.Override - public long getInode() { - return inode_; + public static com.dd.cws.adv1.pb.SecDumpProto.Credentials getDefaultInstance() { + return DEFAULT_INSTANCE; } - public static final int IN_UPPER_LAYER_FIELD_NUMBER = 10; - private boolean inUpperLayer_ = false; - /** - * bool in_upper_layer = 10; - * @return The inUpperLayer. - */ - @java.lang.Override - public boolean getInUpperLayer() { - return inUpperLayer_; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Credentials parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; } - public static final int PATH_FIELD_NUMBER = 11; - @SuppressWarnings("serial") - private volatile java.lang.Object path_ = ""; - /** - * string path = 11; - * @return The path. - */ @java.lang.Override - public java.lang.String getPath() { - java.lang.Object ref = path_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - path_ = s; - return s; - } + public com.google.protobuf.Parser getParserForType() { + return PARSER; } - /** - * string path = 11; - * @return The bytes for path. - */ + @java.lang.Override - public com.google.protobuf.ByteString - getPathBytes() { - java.lang.Object ref = path_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - path_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } + public com.dd.cws.adv1.pb.SecDumpProto.Credentials getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - public static final int BASENAME_FIELD_NUMBER = 12; - @SuppressWarnings("serial") - private volatile java.lang.Object basename_ = ""; + } + + public interface SocketNodeOrBuilder extends + // @@protoc_insertion_point(interface_extends:datadog.cws.dumpsv1.SocketNode) + com.google.protobuf.MessageOrBuilder { + /** - * string basename = 12; - * @return The basename. + * string family = 1; + * @return The family. */ - @java.lang.Override - public java.lang.String getBasename() { - java.lang.Object ref = basename_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - basename_ = s; - return s; - } - } + java.lang.String getFamily(); /** - * string basename = 12; - * @return The bytes for basename. + * string family = 1; + * @return The bytes for family. */ - @java.lang.Override - public com.google.protobuf.ByteString - getBasenameBytes() { - java.lang.Object ref = basename_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - basename_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + com.google.protobuf.ByteString + getFamilyBytes(); - public static final int FILESYSTEM_FIELD_NUMBER = 13; - @SuppressWarnings("serial") - private volatile java.lang.Object filesystem_ = ""; /** - * string filesystem = 13; - * @return The filesystem. + * repeated .datadog.cws.dumpsv1.BindNode bind = 2; */ - @java.lang.Override - public java.lang.String getFilesystem() { - java.lang.Object ref = filesystem_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - filesystem_ = s; - return s; - } - } + java.util.List + getBindList(); /** - * string filesystem = 13; - * @return The bytes for filesystem. - */ - @java.lang.Override - public com.google.protobuf.ByteString - getFilesystemBytes() { - java.lang.Object ref = filesystem_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - filesystem_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int PACKAGE_NAME_FIELD_NUMBER = 14; - @SuppressWarnings("serial") - private volatile java.lang.Object packageName_ = ""; + * repeated .datadog.cws.dumpsv1.BindNode bind = 2; + */ + com.dd.cws.adv1.pb.SecDumpProto.BindNode getBind(int index); /** - * string package_name = 14; - * @return The packageName. + * repeated .datadog.cws.dumpsv1.BindNode bind = 2; */ - @java.lang.Override - public java.lang.String getPackageName() { - java.lang.Object ref = packageName_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - packageName_ = s; - return s; - } - } + int getBindCount(); /** - * string package_name = 14; - * @return The bytes for packageName. + * repeated .datadog.cws.dumpsv1.BindNode bind = 2; + */ + java.util.List + getBindOrBuilderList(); + /** + * repeated .datadog.cws.dumpsv1.BindNode bind = 2; */ + com.dd.cws.adv1.pb.SecDumpProto.BindNodeOrBuilder getBindOrBuilder( + int index); + } + /** + * Protobuf type {@code datadog.cws.dumpsv1.SocketNode} + */ + public static final class SocketNode extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:datadog.cws.dumpsv1.SocketNode) + SocketNodeOrBuilder { + private static final long serialVersionUID = 0L; + // Use SocketNode.newBuilder() to construct. + private SocketNode(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private SocketNode() { + family_ = ""; + bind_ = java.util.Collections.emptyList(); + } + @java.lang.Override - public com.google.protobuf.ByteString - getPackageNameBytes() { - java.lang.Object ref = packageName_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - packageName_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new SocketNode(); } - public static final int PACKAGE_VERSION_FIELD_NUMBER = 15; - @SuppressWarnings("serial") - private volatile java.lang.Object packageVersion_ = ""; - /** - * string package_version = 15; - * @return The packageVersion. - */ @java.lang.Override - public java.lang.String getPackageVersion() { - java.lang.Object ref = packageVersion_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - packageVersion_ = s; - return s; - } + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; } - /** - * string package_version = 15; - * @return The bytes for packageVersion. - */ + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_SocketNode_descriptor; + } + @java.lang.Override - public com.google.protobuf.ByteString - getPackageVersionBytes() { - java.lang.Object ref = packageVersion_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - packageVersion_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_SocketNode_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.dd.cws.adv1.pb.SecDumpProto.SocketNode.class, com.dd.cws.adv1.pb.SecDumpProto.SocketNode.Builder.class); } - public static final int PACKAGE_SRCVERSION_FIELD_NUMBER = 16; + public static final int FAMILY_FIELD_NUMBER = 1; @SuppressWarnings("serial") - private volatile java.lang.Object packageSrcversion_ = ""; + private volatile java.lang.Object family_ = ""; /** - * string package_srcversion = 16; - * @return The packageSrcversion. + * string family = 1; + * @return The family. */ @java.lang.Override - public java.lang.String getPackageSrcversion() { - java.lang.Object ref = packageSrcversion_; + public java.lang.String getFamily() { + java.lang.Object ref = family_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); - packageSrcversion_ = s; + family_ = s; return s; } } /** - * string package_srcversion = 16; - * @return The bytes for packageSrcversion. + * string family = 1; + * @return The bytes for family. */ @java.lang.Override public com.google.protobuf.ByteString - getPackageSrcversionBytes() { - java.lang.Object ref = packageSrcversion_; + getFamilyBytes() { + java.lang.Object ref = family_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); - packageSrcversion_ = b; + family_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } - public static final int HASHES_FIELD_NUMBER = 17; + public static final int BIND_FIELD_NUMBER = 2; @SuppressWarnings("serial") - private com.google.protobuf.LazyStringList hashes_; - /** - * repeated string hashes = 17; - * @return A list containing the hashes. - */ - public com.google.protobuf.ProtocolStringList - getHashesList() { - return hashes_; - } - /** - * repeated string hashes = 17; - * @return The count of hashes. - */ - public int getHashesCount() { - return hashes_.size(); - } + private java.util.List bind_; /** - * repeated string hashes = 17; - * @param index The index of the element to return. - * @return The hashes at the given index. + * repeated .datadog.cws.dumpsv1.BindNode bind = 2; */ - public java.lang.String getHashes(int index) { - return hashes_.get(index); + @java.lang.Override + public java.util.List getBindList() { + return bind_; } /** - * repeated string hashes = 17; - * @param index The index of the value to return. - * @return The bytes of the hashes at the given index. + * repeated .datadog.cws.dumpsv1.BindNode bind = 2; */ - public com.google.protobuf.ByteString - getHashesBytes(int index) { - return hashes_.getByteString(index); + @java.lang.Override + public java.util.List + getBindOrBuilderList() { + return bind_; } - - public static final int HASH_STATE_FIELD_NUMBER = 18; - private int hashState_ = 0; /** - * .datadog.cws.dumpsv1.HashState hash_state = 18; - * @return The enum numeric value on the wire for hashState. + * repeated .datadog.cws.dumpsv1.BindNode bind = 2; */ - @java.lang.Override public int getHashStateValue() { - return hashState_; + @java.lang.Override + public int getBindCount() { + return bind_.size(); } /** - * .datadog.cws.dumpsv1.HashState hash_state = 18; - * @return The hashState. + * repeated .datadog.cws.dumpsv1.BindNode bind = 2; */ - @java.lang.Override public com.dd.cws.adv1.pb.SecDumpProto.HashState getHashState() { - com.dd.cws.adv1.pb.SecDumpProto.HashState result = com.dd.cws.adv1.pb.SecDumpProto.HashState.forNumber(hashState_); - return result == null ? com.dd.cws.adv1.pb.SecDumpProto.HashState.UNRECOGNIZED : result; - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (uid_ != 0) { - output.writeUInt32(1, uid_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(user_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, user_); - } - if (gid_ != 0) { - output.writeUInt32(3, gid_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(group_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 4, group_); - } - if (mode_ != 0) { - output.writeUInt32(5, mode_); - } - if (ctime_ != 0L) { - output.writeUInt64(6, ctime_); - } - if (mtime_ != 0L) { - output.writeUInt64(7, mtime_); - } - if (mountId_ != 0) { - output.writeUInt32(8, mountId_); - } - if (inode_ != 0L) { - output.writeUInt64(9, inode_); - } - if (inUpperLayer_ != false) { - output.writeBool(10, inUpperLayer_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 11, path_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(basename_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 12, basename_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filesystem_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 13, filesystem_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(packageName_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 14, packageName_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(packageVersion_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 15, packageVersion_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(packageSrcversion_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 16, packageSrcversion_); - } - for (int i = 0; i < hashes_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 17, hashes_.getRaw(i)); + public com.dd.cws.adv1.pb.SecDumpProto.BindNode getBind(int index) { + return bind_.get(index); + } + /** + * repeated .datadog.cws.dumpsv1.BindNode bind = 2; + */ + @java.lang.Override + public com.dd.cws.adv1.pb.SecDumpProto.BindNodeOrBuilder getBindOrBuilder( + int index) { + return bind_.get(index); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(family_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, family_); } - if (hashState_ != com.dd.cws.adv1.pb.SecDumpProto.HashState.NO_HASH.getNumber()) { - output.writeEnum(18, hashState_); + for (int i = 0; i < bind_.size(); i++) { + output.writeMessage(2, bind_.get(i)); } getUnknownFields().writeTo(output); } @@ -24873,73 +30133,12 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (uid_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(1, uid_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(user_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, user_); - } - if (gid_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(3, gid_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(group_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, group_); - } - if (mode_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(5, mode_); - } - if (ctime_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeUInt64Size(6, ctime_); - } - if (mtime_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeUInt64Size(7, mtime_); - } - if (mountId_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(8, mountId_); - } - if (inode_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeUInt64Size(9, inode_); - } - if (inUpperLayer_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(10, inUpperLayer_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, path_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(basename_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, basename_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filesystem_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, filesystem_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(packageName_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, packageName_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(packageVersion_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(15, packageVersion_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(packageSrcversion_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(16, packageSrcversion_); - } - { - int dataSize = 0; - for (int i = 0; i < hashes_.size(); i++) { - dataSize += computeStringSizeNoTag(hashes_.getRaw(i)); - } - size += dataSize; - size += 2 * getHashesList().size(); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(family_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, family_); } - if (hashState_ != com.dd.cws.adv1.pb.SecDumpProto.HashState.NO_HASH.getNumber()) { + for (int i = 0; i < bind_.size(); i++) { size += com.google.protobuf.CodedOutputStream - .computeEnumSize(18, hashState_); + .computeMessageSize(2, bind_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -24951,46 +30150,15 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof com.dd.cws.adv1.pb.SecDumpProto.FileInfo)) { + if (!(obj instanceof com.dd.cws.adv1.pb.SecDumpProto.SocketNode)) { return super.equals(obj); } - com.dd.cws.adv1.pb.SecDumpProto.FileInfo other = (com.dd.cws.adv1.pb.SecDumpProto.FileInfo) obj; + com.dd.cws.adv1.pb.SecDumpProto.SocketNode other = (com.dd.cws.adv1.pb.SecDumpProto.SocketNode) obj; - if (getUid() - != other.getUid()) return false; - if (!getUser() - .equals(other.getUser())) return false; - if (getGid() - != other.getGid()) return false; - if (!getGroup() - .equals(other.getGroup())) return false; - if (getMode() - != other.getMode()) return false; - if (getCtime() - != other.getCtime()) return false; - if (getMtime() - != other.getMtime()) return false; - if (getMountId() - != other.getMountId()) return false; - if (getInode() - != other.getInode()) return false; - if (getInUpperLayer() - != other.getInUpperLayer()) return false; - if (!getPath() - .equals(other.getPath())) return false; - if (!getBasename() - .equals(other.getBasename())) return false; - if (!getFilesystem() - .equals(other.getFilesystem())) return false; - if (!getPackageName() - .equals(other.getPackageName())) return false; - if (!getPackageVersion() - .equals(other.getPackageVersion())) return false; - if (!getPackageSrcversion() - .equals(other.getPackageSrcversion())) return false; - if (!getHashesList() - .equals(other.getHashesList())) return false; - if (hashState_ != other.hashState_) return false; + if (!getFamily() + .equals(other.getFamily())) return false; + if (!getBindList() + .equals(other.getBindList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -25002,116 +30170,80 @@ public int hashCode() { } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + UID_FIELD_NUMBER; - hash = (53 * hash) + getUid(); - hash = (37 * hash) + USER_FIELD_NUMBER; - hash = (53 * hash) + getUser().hashCode(); - hash = (37 * hash) + GID_FIELD_NUMBER; - hash = (53 * hash) + getGid(); - hash = (37 * hash) + GROUP_FIELD_NUMBER; - hash = (53 * hash) + getGroup().hashCode(); - hash = (37 * hash) + MODE_FIELD_NUMBER; - hash = (53 * hash) + getMode(); - hash = (37 * hash) + CTIME_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getCtime()); - hash = (37 * hash) + MTIME_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getMtime()); - hash = (37 * hash) + MOUNT_ID_FIELD_NUMBER; - hash = (53 * hash) + getMountId(); - hash = (37 * hash) + INODE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getInode()); - hash = (37 * hash) + IN_UPPER_LAYER_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getInUpperLayer()); - hash = (37 * hash) + PATH_FIELD_NUMBER; - hash = (53 * hash) + getPath().hashCode(); - hash = (37 * hash) + BASENAME_FIELD_NUMBER; - hash = (53 * hash) + getBasename().hashCode(); - hash = (37 * hash) + FILESYSTEM_FIELD_NUMBER; - hash = (53 * hash) + getFilesystem().hashCode(); - hash = (37 * hash) + PACKAGE_NAME_FIELD_NUMBER; - hash = (53 * hash) + getPackageName().hashCode(); - hash = (37 * hash) + PACKAGE_VERSION_FIELD_NUMBER; - hash = (53 * hash) + getPackageVersion().hashCode(); - hash = (37 * hash) + PACKAGE_SRCVERSION_FIELD_NUMBER; - hash = (53 * hash) + getPackageSrcversion().hashCode(); - if (getHashesCount() > 0) { - hash = (37 * hash) + HASHES_FIELD_NUMBER; - hash = (53 * hash) + getHashesList().hashCode(); + hash = (37 * hash) + FAMILY_FIELD_NUMBER; + hash = (53 * hash) + getFamily().hashCode(); + if (getBindCount() > 0) { + hash = (37 * hash) + BIND_FIELD_NUMBER; + hash = (53 * hash) + getBindList().hashCode(); } - hash = (37 * hash) + HASH_STATE_FIELD_NUMBER; - hash = (53 * hash) + hashState_; hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.dd.cws.adv1.pb.SecDumpProto.FileInfo parseFrom( + public static com.dd.cws.adv1.pb.SecDumpProto.SocketNode parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.dd.cws.adv1.pb.SecDumpProto.FileInfo parseFrom( + public static com.dd.cws.adv1.pb.SecDumpProto.SocketNode parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.dd.cws.adv1.pb.SecDumpProto.FileInfo parseFrom( + public static com.dd.cws.adv1.pb.SecDumpProto.SocketNode parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.dd.cws.adv1.pb.SecDumpProto.FileInfo parseFrom( + public static com.dd.cws.adv1.pb.SecDumpProto.SocketNode parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.dd.cws.adv1.pb.SecDumpProto.FileInfo parseFrom(byte[] data) + public static com.dd.cws.adv1.pb.SecDumpProto.SocketNode parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.dd.cws.adv1.pb.SecDumpProto.FileInfo parseFrom( + public static com.dd.cws.adv1.pb.SecDumpProto.SocketNode parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.dd.cws.adv1.pb.SecDumpProto.FileInfo parseFrom(java.io.InputStream input) + public static com.dd.cws.adv1.pb.SecDumpProto.SocketNode parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static com.dd.cws.adv1.pb.SecDumpProto.FileInfo parseFrom( + public static com.dd.cws.adv1.pb.SecDumpProto.SocketNode parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.dd.cws.adv1.pb.SecDumpProto.FileInfo parseDelimitedFrom(java.io.InputStream input) + public static com.dd.cws.adv1.pb.SecDumpProto.SocketNode parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } - public static com.dd.cws.adv1.pb.SecDumpProto.FileInfo parseDelimitedFrom( + public static com.dd.cws.adv1.pb.SecDumpProto.SocketNode parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.dd.cws.adv1.pb.SecDumpProto.FileInfo parseFrom( + public static com.dd.cws.adv1.pb.SecDumpProto.SocketNode parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static com.dd.cws.adv1.pb.SecDumpProto.FileInfo parseFrom( + public static com.dd.cws.adv1.pb.SecDumpProto.SocketNode parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -25124,7 +30256,7 @@ public static com.dd.cws.adv1.pb.SecDumpProto.FileInfo parseFrom( public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.dd.cws.adv1.pb.SecDumpProto.FileInfo prototype) { + public static Builder newBuilder(com.dd.cws.adv1.pb.SecDumpProto.SocketNode prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override @@ -25140,26 +30272,26 @@ protected Builder newBuilderForType( return builder; } /** - * Protobuf type {@code datadog.cws.dumpsv1.FileInfo} + * Protobuf type {@code datadog.cws.dumpsv1.SocketNode} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:datadog.cws.dumpsv1.FileInfo) - com.dd.cws.adv1.pb.SecDumpProto.FileInfoOrBuilder { + // @@protoc_insertion_point(builder_implements:datadog.cws.dumpsv1.SocketNode) + com.dd.cws.adv1.pb.SecDumpProto.SocketNodeOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_FileInfo_descriptor; + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_SocketNode_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_FileInfo_fieldAccessorTable + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_SocketNode_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.dd.cws.adv1.pb.SecDumpProto.FileInfo.class, com.dd.cws.adv1.pb.SecDumpProto.FileInfo.Builder.class); + com.dd.cws.adv1.pb.SecDumpProto.SocketNode.class, com.dd.cws.adv1.pb.SecDumpProto.SocketNode.Builder.class); } - // Construct using com.dd.cws.adv1.pb.SecDumpProto.FileInfo.newBuilder() + // Construct using com.dd.cws.adv1.pb.SecDumpProto.SocketNode.newBuilder() private Builder() { } @@ -25173,42 +30305,31 @@ private Builder( public Builder clear() { super.clear(); bitField0_ = 0; - uid_ = 0; - user_ = ""; - gid_ = 0; - group_ = ""; - mode_ = 0; - ctime_ = 0L; - mtime_ = 0L; - mountId_ = 0; - inode_ = 0L; - inUpperLayer_ = false; - path_ = ""; - basename_ = ""; - filesystem_ = ""; - packageName_ = ""; - packageVersion_ = ""; - packageSrcversion_ = ""; - hashes_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00010000); - hashState_ = 0; + family_ = ""; + if (bindBuilder_ == null) { + bind_ = java.util.Collections.emptyList(); + } else { + bind_ = null; + bindBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000002); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_FileInfo_descriptor; + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_SocketNode_descriptor; } @java.lang.Override - public com.dd.cws.adv1.pb.SecDumpProto.FileInfo getDefaultInstanceForType() { - return com.dd.cws.adv1.pb.SecDumpProto.FileInfo.getDefaultInstance(); + public com.dd.cws.adv1.pb.SecDumpProto.SocketNode getDefaultInstanceForType() { + return com.dd.cws.adv1.pb.SecDumpProto.SocketNode.getDefaultInstance(); } @java.lang.Override - public com.dd.cws.adv1.pb.SecDumpProto.FileInfo build() { - com.dd.cws.adv1.pb.SecDumpProto.FileInfo result = buildPartial(); + public com.dd.cws.adv1.pb.SecDumpProto.SocketNode build() { + com.dd.cws.adv1.pb.SecDumpProto.SocketNode result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -25216,1329 +30337,1760 @@ public com.dd.cws.adv1.pb.SecDumpProto.FileInfo build() { } @java.lang.Override - public com.dd.cws.adv1.pb.SecDumpProto.FileInfo buildPartial() { - com.dd.cws.adv1.pb.SecDumpProto.FileInfo result = new com.dd.cws.adv1.pb.SecDumpProto.FileInfo(this); + public com.dd.cws.adv1.pb.SecDumpProto.SocketNode buildPartial() { + com.dd.cws.adv1.pb.SecDumpProto.SocketNode result = new com.dd.cws.adv1.pb.SecDumpProto.SocketNode(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.dd.cws.adv1.pb.SecDumpProto.FileInfo result) { - if (((bitField0_ & 0x00010000) != 0)) { - hashes_ = hashes_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00010000); + private void buildPartialRepeatedFields(com.dd.cws.adv1.pb.SecDumpProto.SocketNode result) { + if (bindBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0)) { + bind_ = java.util.Collections.unmodifiableList(bind_); + bitField0_ = (bitField0_ & ~0x00000002); + } + result.bind_ = bind_; + } else { + result.bind_ = bindBuilder_.build(); } - result.hashes_ = hashes_; } - private void buildPartial0(com.dd.cws.adv1.pb.SecDumpProto.FileInfo result) { + private void buildPartial0(com.dd.cws.adv1.pb.SecDumpProto.SocketNode result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.uid_ = uid_; + result.family_ = family_; } - if (((from_bitField0_ & 0x00000002) != 0)) { - result.user_ = user_; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.dd.cws.adv1.pb.SecDumpProto.SocketNode) { + return mergeFrom((com.dd.cws.adv1.pb.SecDumpProto.SocketNode)other); + } else { + super.mergeFrom(other); + return this; } - if (((from_bitField0_ & 0x00000004) != 0)) { - result.gid_ = gid_; + } + + public Builder mergeFrom(com.dd.cws.adv1.pb.SecDumpProto.SocketNode other) { + if (other == com.dd.cws.adv1.pb.SecDumpProto.SocketNode.getDefaultInstance()) return this; + if (!other.getFamily().isEmpty()) { + family_ = other.family_; + bitField0_ |= 0x00000001; + onChanged(); } - if (((from_bitField0_ & 0x00000008) != 0)) { - result.group_ = group_; + if (bindBuilder_ == null) { + if (!other.bind_.isEmpty()) { + if (bind_.isEmpty()) { + bind_ = other.bind_; + bitField0_ = (bitField0_ & ~0x00000002); + } else { + ensureBindIsMutable(); + bind_.addAll(other.bind_); + } + onChanged(); + } + } else { + if (!other.bind_.isEmpty()) { + if (bindBuilder_.isEmpty()) { + bindBuilder_.dispose(); + bindBuilder_ = null; + bind_ = other.bind_; + bitField0_ = (bitField0_ & ~0x00000002); + bindBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getBindFieldBuilder() : null; + } else { + bindBuilder_.addAllMessages(other.bind_); + } + } } - if (((from_bitField0_ & 0x00000010) != 0)) { - result.mode_ = mode_; + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + family_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + com.dd.cws.adv1.pb.SecDumpProto.BindNode m = + input.readMessage( + com.dd.cws.adv1.pb.SecDumpProto.BindNode.parser(), + extensionRegistry); + if (bindBuilder_ == null) { + ensureBindIsMutable(); + bind_.add(m); + } else { + bindBuilder_.addMessage(m); + } + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object family_ = ""; + /** + * string family = 1; + * @return The family. + */ + public java.lang.String getFamily() { + java.lang.Object ref = family_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + family_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string family = 1; + * @return The bytes for family. + */ + public com.google.protobuf.ByteString + getFamilyBytes() { + java.lang.Object ref = family_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + family_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string family = 1; + * @param value The family to set. + * @return This builder for chaining. + */ + public Builder setFamily( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + family_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string family = 1; + * @return This builder for chaining. + */ + public Builder clearFamily() { + family_ = getDefaultInstance().getFamily(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string family = 1; + * @param value The bytes for family to set. + * @return This builder for chaining. + */ + public Builder setFamilyBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + family_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.util.List bind_ = + java.util.Collections.emptyList(); + private void ensureBindIsMutable() { + if (!((bitField0_ & 0x00000002) != 0)) { + bind_ = new java.util.ArrayList(bind_); + bitField0_ |= 0x00000002; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.dd.cws.adv1.pb.SecDumpProto.BindNode, com.dd.cws.adv1.pb.SecDumpProto.BindNode.Builder, com.dd.cws.adv1.pb.SecDumpProto.BindNodeOrBuilder> bindBuilder_; + + /** + * repeated .datadog.cws.dumpsv1.BindNode bind = 2; + */ + public java.util.List getBindList() { + if (bindBuilder_ == null) { + return java.util.Collections.unmodifiableList(bind_); + } else { + return bindBuilder_.getMessageList(); } - if (((from_bitField0_ & 0x00000020) != 0)) { - result.ctime_ = ctime_; + } + /** + * repeated .datadog.cws.dumpsv1.BindNode bind = 2; + */ + public int getBindCount() { + if (bindBuilder_ == null) { + return bind_.size(); + } else { + return bindBuilder_.getCount(); } - if (((from_bitField0_ & 0x00000040) != 0)) { - result.mtime_ = mtime_; + } + /** + * repeated .datadog.cws.dumpsv1.BindNode bind = 2; + */ + public com.dd.cws.adv1.pb.SecDumpProto.BindNode getBind(int index) { + if (bindBuilder_ == null) { + return bind_.get(index); + } else { + return bindBuilder_.getMessage(index); } - if (((from_bitField0_ & 0x00000080) != 0)) { - result.mountId_ = mountId_; + } + /** + * repeated .datadog.cws.dumpsv1.BindNode bind = 2; + */ + public Builder setBind( + int index, com.dd.cws.adv1.pb.SecDumpProto.BindNode value) { + if (bindBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureBindIsMutable(); + bind_.set(index, value); + onChanged(); + } else { + bindBuilder_.setMessage(index, value); } - if (((from_bitField0_ & 0x00000100) != 0)) { - result.inode_ = inode_; + return this; + } + /** + * repeated .datadog.cws.dumpsv1.BindNode bind = 2; + */ + public Builder setBind( + int index, com.dd.cws.adv1.pb.SecDumpProto.BindNode.Builder builderForValue) { + if (bindBuilder_ == null) { + ensureBindIsMutable(); + bind_.set(index, builderForValue.build()); + onChanged(); + } else { + bindBuilder_.setMessage(index, builderForValue.build()); } - if (((from_bitField0_ & 0x00000200) != 0)) { - result.inUpperLayer_ = inUpperLayer_; + return this; + } + /** + * repeated .datadog.cws.dumpsv1.BindNode bind = 2; + */ + public Builder addBind(com.dd.cws.adv1.pb.SecDumpProto.BindNode value) { + if (bindBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureBindIsMutable(); + bind_.add(value); + onChanged(); + } else { + bindBuilder_.addMessage(value); } - if (((from_bitField0_ & 0x00000400) != 0)) { - result.path_ = path_; + return this; + } + /** + * repeated .datadog.cws.dumpsv1.BindNode bind = 2; + */ + public Builder addBind( + int index, com.dd.cws.adv1.pb.SecDumpProto.BindNode value) { + if (bindBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureBindIsMutable(); + bind_.add(index, value); + onChanged(); + } else { + bindBuilder_.addMessage(index, value); } - if (((from_bitField0_ & 0x00000800) != 0)) { - result.basename_ = basename_; + return this; + } + /** + * repeated .datadog.cws.dumpsv1.BindNode bind = 2; + */ + public Builder addBind( + com.dd.cws.adv1.pb.SecDumpProto.BindNode.Builder builderForValue) { + if (bindBuilder_ == null) { + ensureBindIsMutable(); + bind_.add(builderForValue.build()); + onChanged(); + } else { + bindBuilder_.addMessage(builderForValue.build()); } - if (((from_bitField0_ & 0x00001000) != 0)) { - result.filesystem_ = filesystem_; + return this; + } + /** + * repeated .datadog.cws.dumpsv1.BindNode bind = 2; + */ + public Builder addBind( + int index, com.dd.cws.adv1.pb.SecDumpProto.BindNode.Builder builderForValue) { + if (bindBuilder_ == null) { + ensureBindIsMutable(); + bind_.add(index, builderForValue.build()); + onChanged(); + } else { + bindBuilder_.addMessage(index, builderForValue.build()); } - if (((from_bitField0_ & 0x00002000) != 0)) { - result.packageName_ = packageName_; + return this; + } + /** + * repeated .datadog.cws.dumpsv1.BindNode bind = 2; + */ + public Builder addAllBind( + java.lang.Iterable values) { + if (bindBuilder_ == null) { + ensureBindIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, bind_); + onChanged(); + } else { + bindBuilder_.addAllMessages(values); } - if (((from_bitField0_ & 0x00004000) != 0)) { - result.packageVersion_ = packageVersion_; + return this; + } + /** + * repeated .datadog.cws.dumpsv1.BindNode bind = 2; + */ + public Builder clearBind() { + if (bindBuilder_ == null) { + bind_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + } else { + bindBuilder_.clear(); } - if (((from_bitField0_ & 0x00008000) != 0)) { - result.packageSrcversion_ = packageSrcversion_; + return this; + } + /** + * repeated .datadog.cws.dumpsv1.BindNode bind = 2; + */ + public Builder removeBind(int index) { + if (bindBuilder_ == null) { + ensureBindIsMutable(); + bind_.remove(index); + onChanged(); + } else { + bindBuilder_.remove(index); } - if (((from_bitField0_ & 0x00020000) != 0)) { - result.hashState_ = hashState_; + return this; + } + /** + * repeated .datadog.cws.dumpsv1.BindNode bind = 2; + */ + public com.dd.cws.adv1.pb.SecDumpProto.BindNode.Builder getBindBuilder( + int index) { + return getBindFieldBuilder().getBuilder(index); + } + /** + * repeated .datadog.cws.dumpsv1.BindNode bind = 2; + */ + public com.dd.cws.adv1.pb.SecDumpProto.BindNodeOrBuilder getBindOrBuilder( + int index) { + if (bindBuilder_ == null) { + return bind_.get(index); } else { + return bindBuilder_.getMessageOrBuilder(index); } } - - @java.lang.Override - public Builder clone() { - return super.clone(); + /** + * repeated .datadog.cws.dumpsv1.BindNode bind = 2; + */ + public java.util.List + getBindOrBuilderList() { + if (bindBuilder_ != null) { + return bindBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(bind_); + } } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); + /** + * repeated .datadog.cws.dumpsv1.BindNode bind = 2; + */ + public com.dd.cws.adv1.pb.SecDumpProto.BindNode.Builder addBindBuilder() { + return getBindFieldBuilder().addBuilder( + com.dd.cws.adv1.pb.SecDumpProto.BindNode.getDefaultInstance()); } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); + /** + * repeated .datadog.cws.dumpsv1.BindNode bind = 2; + */ + public com.dd.cws.adv1.pb.SecDumpProto.BindNode.Builder addBindBuilder( + int index) { + return getBindFieldBuilder().addBuilder( + index, com.dd.cws.adv1.pb.SecDumpProto.BindNode.getDefaultInstance()); } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); + /** + * repeated .datadog.cws.dumpsv1.BindNode bind = 2; + */ + public java.util.List + getBindBuilderList() { + return getBindFieldBuilder().getBuilderList(); } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); + private com.google.protobuf.RepeatedFieldBuilderV3< + com.dd.cws.adv1.pb.SecDumpProto.BindNode, com.dd.cws.adv1.pb.SecDumpProto.BindNode.Builder, com.dd.cws.adv1.pb.SecDumpProto.BindNodeOrBuilder> + getBindFieldBuilder() { + if (bindBuilder_ == null) { + bindBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.dd.cws.adv1.pb.SecDumpProto.BindNode, com.dd.cws.adv1.pb.SecDumpProto.BindNode.Builder, com.dd.cws.adv1.pb.SecDumpProto.BindNodeOrBuilder>( + bind_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); + bind_ = null; + } + return bindBuilder_; } @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); } + @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.dd.cws.adv1.pb.SecDumpProto.FileInfo) { - return mergeFrom((com.dd.cws.adv1.pb.SecDumpProto.FileInfo)other); - } else { - super.mergeFrom(other); - return this; - } + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); } - public Builder mergeFrom(com.dd.cws.adv1.pb.SecDumpProto.FileInfo other) { - if (other == com.dd.cws.adv1.pb.SecDumpProto.FileInfo.getDefaultInstance()) return this; - if (other.getUid() != 0) { - setUid(other.getUid()); - } - if (!other.getUser().isEmpty()) { - user_ = other.user_; - bitField0_ |= 0x00000002; - onChanged(); - } - if (other.getGid() != 0) { - setGid(other.getGid()); - } - if (!other.getGroup().isEmpty()) { - group_ = other.group_; - bitField0_ |= 0x00000008; - onChanged(); - } - if (other.getMode() != 0) { - setMode(other.getMode()); - } - if (other.getCtime() != 0L) { - setCtime(other.getCtime()); - } - if (other.getMtime() != 0L) { - setMtime(other.getMtime()); - } - if (other.getMountId() != 0) { - setMountId(other.getMountId()); - } - if (other.getInode() != 0L) { - setInode(other.getInode()); - } - if (other.getInUpperLayer() != false) { - setInUpperLayer(other.getInUpperLayer()); - } - if (!other.getPath().isEmpty()) { - path_ = other.path_; - bitField0_ |= 0x00000400; - onChanged(); - } - if (!other.getBasename().isEmpty()) { - basename_ = other.basename_; - bitField0_ |= 0x00000800; - onChanged(); - } - if (!other.getFilesystem().isEmpty()) { - filesystem_ = other.filesystem_; - bitField0_ |= 0x00001000; - onChanged(); - } - if (!other.getPackageName().isEmpty()) { - packageName_ = other.packageName_; - bitField0_ |= 0x00002000; - onChanged(); - } - if (!other.getPackageVersion().isEmpty()) { - packageVersion_ = other.packageVersion_; - bitField0_ |= 0x00004000; - onChanged(); - } - if (!other.getPackageSrcversion().isEmpty()) { - packageSrcversion_ = other.packageSrcversion_; - bitField0_ |= 0x00008000; - onChanged(); - } - if (!other.hashes_.isEmpty()) { - if (hashes_.isEmpty()) { - hashes_ = other.hashes_; - bitField0_ = (bitField0_ & ~0x00010000); - } else { - ensureHashesIsMutable(); - hashes_.addAll(other.hashes_); - } - onChanged(); - } - if (other.hashState_ != 0) { - setHashStateValue(other.getHashStateValue()); + + // @@protoc_insertion_point(builder_scope:datadog.cws.dumpsv1.SocketNode) + } + + // @@protoc_insertion_point(class_scope:datadog.cws.dumpsv1.SocketNode) + private static final com.dd.cws.adv1.pb.SecDumpProto.SocketNode DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.dd.cws.adv1.pb.SecDumpProto.SocketNode(); + } + + public static com.dd.cws.adv1.pb.SecDumpProto.SocketNode getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SocketNode parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; + return builder.buildPartial(); } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.dd.cws.adv1.pb.SecDumpProto.SocketNode getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface BindNodeOrBuilder extends + // @@protoc_insertion_point(interface_extends:datadog.cws.dumpsv1.BindNode) + com.google.protobuf.MessageOrBuilder { + + /** + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 3; + */ + java.util.List + getMatchedRulesList(); + /** + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 3; + */ + com.dd.cws.adv1.pb.SecDumpProto.MatchedRule getMatchedRules(int index); + /** + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 3; + */ + int getMatchedRulesCount(); + /** + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 3; + */ + java.util.List + getMatchedRulesOrBuilderList(); + /** + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 3; + */ + com.dd.cws.adv1.pb.SecDumpProto.MatchedRuleOrBuilder getMatchedRulesOrBuilder( + int index); + + /** + * repeated string image_tags = 4; + * @return A list containing the imageTags. + */ + java.util.List + getImageTagsList(); + /** + * repeated string image_tags = 4; + * @return The count of imageTags. + */ + int getImageTagsCount(); + /** + * repeated string image_tags = 4; + * @param index The index of the element to return. + * @return The imageTags at the given index. + */ + java.lang.String getImageTags(int index); + /** + * repeated string image_tags = 4; + * @param index The index of the value to return. + * @return The bytes of the imageTags at the given index. + */ + com.google.protobuf.ByteString + getImageTagsBytes(int index); + + /** + * uint32 port = 1; + * @return The port. + */ + int getPort(); + + /** + * string ip = 2; + * @return The ip. + */ + java.lang.String getIp(); + /** + * string ip = 2; + * @return The bytes for ip. + */ + com.google.protobuf.ByteString + getIpBytes(); + + /** + * uint32 protocol = 5; + * @return The protocol. + */ + int getProtocol(); + } + /** + * Protobuf type {@code datadog.cws.dumpsv1.BindNode} + */ + public static final class BindNode extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:datadog.cws.dumpsv1.BindNode) + BindNodeOrBuilder { + private static final long serialVersionUID = 0L; + // Use BindNode.newBuilder() to construct. + private BindNode(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private BindNode() { + matchedRules_ = java.util.Collections.emptyList(); + imageTags_ = com.google.protobuf.LazyStringArrayList.EMPTY; + ip_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new BindNode(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_BindNode_descriptor; + } - @java.lang.Override - public final boolean isInitialized() { - return true; - } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_BindNode_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.dd.cws.adv1.pb.SecDumpProto.BindNode.class, com.dd.cws.adv1.pb.SecDumpProto.BindNode.Builder.class); + } - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 8: { - uid_ = input.readUInt32(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: { - user_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: { - gid_ = input.readUInt32(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 34: { - group_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 40: { - mode_ = input.readUInt32(); - bitField0_ |= 0x00000010; - break; - } // case 40 - case 48: { - ctime_ = input.readUInt64(); - bitField0_ |= 0x00000020; - break; - } // case 48 - case 56: { - mtime_ = input.readUInt64(); - bitField0_ |= 0x00000040; - break; - } // case 56 - case 64: { - mountId_ = input.readUInt32(); - bitField0_ |= 0x00000080; - break; - } // case 64 - case 72: { - inode_ = input.readUInt64(); - bitField0_ |= 0x00000100; - break; - } // case 72 - case 80: { - inUpperLayer_ = input.readBool(); - bitField0_ |= 0x00000200; - break; - } // case 80 - case 90: { - path_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000400; - break; - } // case 90 - case 98: { - basename_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000800; - break; - } // case 98 - case 106: { - filesystem_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00001000; - break; - } // case 106 - case 114: { - packageName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00002000; - break; - } // case 114 - case 122: { - packageVersion_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00004000; - break; - } // case 122 - case 130: { - packageSrcversion_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00008000; - break; - } // case 130 - case 138: { - java.lang.String s = input.readStringRequireUtf8(); - ensureHashesIsMutable(); - hashes_.add(s); - break; - } // case 138 - case 144: { - hashState_ = input.readEnum(); - bitField0_ |= 0x00020000; - break; - } // case 144 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - private int bitField0_; + public static final int MATCHED_RULES_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private java.util.List matchedRules_; + /** + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 3; + */ + @java.lang.Override + public java.util.List getMatchedRulesList() { + return matchedRules_; + } + /** + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 3; + */ + @java.lang.Override + public java.util.List + getMatchedRulesOrBuilderList() { + return matchedRules_; + } + /** + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 3; + */ + @java.lang.Override + public int getMatchedRulesCount() { + return matchedRules_.size(); + } + /** + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 3; + */ + @java.lang.Override + public com.dd.cws.adv1.pb.SecDumpProto.MatchedRule getMatchedRules(int index) { + return matchedRules_.get(index); + } + /** + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 3; + */ + @java.lang.Override + public com.dd.cws.adv1.pb.SecDumpProto.MatchedRuleOrBuilder getMatchedRulesOrBuilder( + int index) { + return matchedRules_.get(index); + } - private int uid_ ; - /** - * uint32 uid = 1; - * @return The uid. - */ - @java.lang.Override - public int getUid() { - return uid_; - } - /** - * uint32 uid = 1; - * @param value The uid to set. - * @return This builder for chaining. - */ - public Builder setUid(int value) { - - uid_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; + public static final int IMAGE_TAGS_FIELD_NUMBER = 4; + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringList imageTags_; + /** + * repeated string image_tags = 4; + * @return A list containing the imageTags. + */ + public com.google.protobuf.ProtocolStringList + getImageTagsList() { + return imageTags_; + } + /** + * repeated string image_tags = 4; + * @return The count of imageTags. + */ + public int getImageTagsCount() { + return imageTags_.size(); + } + /** + * repeated string image_tags = 4; + * @param index The index of the element to return. + * @return The imageTags at the given index. + */ + public java.lang.String getImageTags(int index) { + return imageTags_.get(index); + } + /** + * repeated string image_tags = 4; + * @param index The index of the value to return. + * @return The bytes of the imageTags at the given index. + */ + public com.google.protobuf.ByteString + getImageTagsBytes(int index) { + return imageTags_.getByteString(index); + } + + public static final int PORT_FIELD_NUMBER = 1; + private int port_ = 0; + /** + * uint32 port = 1; + * @return The port. + */ + @java.lang.Override + public int getPort() { + return port_; + } + + public static final int IP_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object ip_ = ""; + /** + * string ip = 2; + * @return The ip. + */ + @java.lang.Override + public java.lang.String getIp() { + java.lang.Object ref = ip_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + ip_ = s; + return s; } - /** - * uint32 uid = 1; - * @return This builder for chaining. - */ - public Builder clearUid() { - bitField0_ = (bitField0_ & ~0x00000001); - uid_ = 0; - onChanged(); - return this; + } + /** + * string ip = 2; + * @return The bytes for ip. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getIpBytes() { + java.lang.Object ref = ip_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + ip_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; } + } - private java.lang.Object user_ = ""; - /** - * string user = 2; - * @return The user. - */ - public java.lang.String getUser() { - java.lang.Object ref = user_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - user_ = s; - return s; - } else { - return (java.lang.String) ref; - } + public static final int PROTOCOL_FIELD_NUMBER = 5; + private int protocol_ = 0; + /** + * uint32 protocol = 5; + * @return The protocol. + */ + @java.lang.Override + public int getProtocol() { + return protocol_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (port_ != 0) { + output.writeUInt32(1, port_); } - /** - * string user = 2; - * @return The bytes for user. - */ - public com.google.protobuf.ByteString - getUserBytes() { - java.lang.Object ref = user_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - user_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ip_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, ip_); } - /** - * string user = 2; - * @param value The user to set. - * @return This builder for chaining. - */ - public Builder setUser( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } - user_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; + for (int i = 0; i < matchedRules_.size(); i++) { + output.writeMessage(3, matchedRules_.get(i)); } - /** - * string user = 2; - * @return This builder for chaining. - */ - public Builder clearUser() { - user_ = getDefaultInstance().getUser(); - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - return this; + for (int i = 0; i < imageTags_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, imageTags_.getRaw(i)); } - /** - * string user = 2; - * @param value The bytes for user to set. - * @return This builder for chaining. - */ - public Builder setUserBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } - checkByteStringIsUtf8(value); - user_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; + if (protocol_ != 0) { + output.writeUInt32(5, protocol_); } + getUnknownFields().writeTo(output); + } - private int gid_ ; - /** - * uint32 gid = 3; - * @return The gid. - */ - @java.lang.Override - public int getGid() { - return gid_; - } - /** - * uint32 gid = 3; - * @param value The gid to set. - * @return This builder for chaining. - */ - public Builder setGid(int value) { - - gid_ = value; - bitField0_ |= 0x00000004; - onChanged(); - return this; - } - /** - * uint32 gid = 3; - * @return This builder for chaining. - */ - public Builder clearGid() { - bitField0_ = (bitField0_ & ~0x00000004); - gid_ = 0; - onChanged(); - return this; - } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; - private java.lang.Object group_ = ""; - /** - * string group = 4; - * @return The group. - */ - public java.lang.String getGroup() { - java.lang.Object ref = group_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - group_ = s; - return s; - } else { - return (java.lang.String) ref; - } + size = 0; + if (port_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(1, port_); } - /** - * string group = 4; - * @return The bytes for group. - */ - public com.google.protobuf.ByteString - getGroupBytes() { - java.lang.Object ref = group_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - group_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ip_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, ip_); } - /** - * string group = 4; - * @param value The group to set. - * @return This builder for chaining. - */ - public Builder setGroup( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } - group_ = value; - bitField0_ |= 0x00000008; - onChanged(); - return this; + for (int i = 0; i < matchedRules_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, matchedRules_.get(i)); } - /** - * string group = 4; - * @return This builder for chaining. - */ - public Builder clearGroup() { - group_ = getDefaultInstance().getGroup(); - bitField0_ = (bitField0_ & ~0x00000008); - onChanged(); - return this; + { + int dataSize = 0; + for (int i = 0; i < imageTags_.size(); i++) { + dataSize += computeStringSizeNoTag(imageTags_.getRaw(i)); + } + size += dataSize; + size += 1 * getImageTagsList().size(); } - /** - * string group = 4; - * @param value The bytes for group to set. - * @return This builder for chaining. - */ - public Builder setGroupBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } - checkByteStringIsUtf8(value); - group_ = value; - bitField0_ |= 0x00000008; - onChanged(); - return this; + if (protocol_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(5, protocol_); } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - private int mode_ ; - /** - *
-       * TODO: check conversion with uint16
-       * 
- * - * uint32 mode = 5; - * @return The mode. - */ - @java.lang.Override - public int getMode() { - return mode_; - } - /** - *
-       * TODO: check conversion with uint16
-       * 
- * - * uint32 mode = 5; - * @param value The mode to set. - * @return This builder for chaining. - */ - public Builder setMode(int value) { - - mode_ = value; - bitField0_ |= 0x00000010; - onChanged(); - return this; + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; } - /** - *
-       * TODO: check conversion with uint16
-       * 
- * - * uint32 mode = 5; - * @return This builder for chaining. - */ - public Builder clearMode() { - bitField0_ = (bitField0_ & ~0x00000010); - mode_ = 0; - onChanged(); - return this; + if (!(obj instanceof com.dd.cws.adv1.pb.SecDumpProto.BindNode)) { + return super.equals(obj); } + com.dd.cws.adv1.pb.SecDumpProto.BindNode other = (com.dd.cws.adv1.pb.SecDumpProto.BindNode) obj; - private long ctime_ ; - /** - * uint64 ctime = 6; - * @return The ctime. - */ - @java.lang.Override - public long getCtime() { - return ctime_; + if (!getMatchedRulesList() + .equals(other.getMatchedRulesList())) return false; + if (!getImageTagsList() + .equals(other.getImageTagsList())) return false; + if (getPort() + != other.getPort()) return false; + if (!getIp() + .equals(other.getIp())) return false; + if (getProtocol() + != other.getProtocol()) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; } - /** - * uint64 ctime = 6; - * @param value The ctime to set. - * @return This builder for chaining. - */ - public Builder setCtime(long value) { - - ctime_ = value; - bitField0_ |= 0x00000020; - onChanged(); - return this; + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getMatchedRulesCount() > 0) { + hash = (37 * hash) + MATCHED_RULES_FIELD_NUMBER; + hash = (53 * hash) + getMatchedRulesList().hashCode(); } - /** - * uint64 ctime = 6; - * @return This builder for chaining. - */ - public Builder clearCtime() { - bitField0_ = (bitField0_ & ~0x00000020); - ctime_ = 0L; - onChanged(); - return this; + if (getImageTagsCount() > 0) { + hash = (37 * hash) + IMAGE_TAGS_FIELD_NUMBER; + hash = (53 * hash) + getImageTagsList().hashCode(); } + hash = (37 * hash) + PORT_FIELD_NUMBER; + hash = (53 * hash) + getPort(); + hash = (37 * hash) + IP_FIELD_NUMBER; + hash = (53 * hash) + getIp().hashCode(); + hash = (37 * hash) + PROTOCOL_FIELD_NUMBER; + hash = (53 * hash) + getProtocol(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - private long mtime_ ; - /** - * uint64 mtime = 7; - * @return The mtime. - */ - @java.lang.Override - public long getMtime() { - return mtime_; - } - /** - * uint64 mtime = 7; - * @param value The mtime to set. - * @return This builder for chaining. - */ - public Builder setMtime(long value) { - - mtime_ = value; - bitField0_ |= 0x00000040; - onChanged(); - return this; + public static com.dd.cws.adv1.pb.SecDumpProto.BindNode parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.dd.cws.adv1.pb.SecDumpProto.BindNode parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.dd.cws.adv1.pb.SecDumpProto.BindNode parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.dd.cws.adv1.pb.SecDumpProto.BindNode parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.dd.cws.adv1.pb.SecDumpProto.BindNode parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.dd.cws.adv1.pb.SecDumpProto.BindNode parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.dd.cws.adv1.pb.SecDumpProto.BindNode parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.dd.cws.adv1.pb.SecDumpProto.BindNode parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.dd.cws.adv1.pb.SecDumpProto.BindNode parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.dd.cws.adv1.pb.SecDumpProto.BindNode parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.dd.cws.adv1.pb.SecDumpProto.BindNode parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.dd.cws.adv1.pb.SecDumpProto.BindNode parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.dd.cws.adv1.pb.SecDumpProto.BindNode prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code datadog.cws.dumpsv1.BindNode} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:datadog.cws.dumpsv1.BindNode) + com.dd.cws.adv1.pb.SecDumpProto.BindNodeOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_BindNode_descriptor; } - /** - * uint64 mtime = 7; - * @return This builder for chaining. - */ - public Builder clearMtime() { - bitField0_ = (bitField0_ & ~0x00000040); - mtime_ = 0L; - onChanged(); - return this; + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_BindNode_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.dd.cws.adv1.pb.SecDumpProto.BindNode.class, com.dd.cws.adv1.pb.SecDumpProto.BindNode.Builder.class); } - private int mountId_ ; - /** - * uint32 mount_id = 8; - * @return The mountId. - */ - @java.lang.Override - public int getMountId() { - return mountId_; + // Construct using com.dd.cws.adv1.pb.SecDumpProto.BindNode.newBuilder() + private Builder() { + } - /** - * uint32 mount_id = 8; - * @param value The mountId to set. - * @return This builder for chaining. - */ - public Builder setMountId(int value) { - - mountId_ = value; - bitField0_ |= 0x00000080; - onChanged(); - return this; + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } - /** - * uint32 mount_id = 8; - * @return This builder for chaining. - */ - public Builder clearMountId() { - bitField0_ = (bitField0_ & ~0x00000080); - mountId_ = 0; - onChanged(); + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + if (matchedRulesBuilder_ == null) { + matchedRules_ = java.util.Collections.emptyList(); + } else { + matchedRules_ = null; + matchedRulesBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + imageTags_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000002); + port_ = 0; + ip_ = ""; + protocol_ = 0; return this; } - private long inode_ ; - /** - * uint64 inode = 9; - * @return The inode. - */ @java.lang.Override - public long getInode() { - return inode_; - } - /** - * uint64 inode = 9; - * @param value The inode to set. - * @return This builder for chaining. - */ - public Builder setInode(long value) { - - inode_ = value; - bitField0_ |= 0x00000100; - onChanged(); - return this; - } - /** - * uint64 inode = 9; - * @return This builder for chaining. - */ - public Builder clearInode() { - bitField0_ = (bitField0_ & ~0x00000100); - inode_ = 0L; - onChanged(); - return this; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_BindNode_descriptor; } - private boolean inUpperLayer_ ; - /** - * bool in_upper_layer = 10; - * @return The inUpperLayer. - */ @java.lang.Override - public boolean getInUpperLayer() { - return inUpperLayer_; + public com.dd.cws.adv1.pb.SecDumpProto.BindNode getDefaultInstanceForType() { + return com.dd.cws.adv1.pb.SecDumpProto.BindNode.getDefaultInstance(); } - /** - * bool in_upper_layer = 10; - * @param value The inUpperLayer to set. - * @return This builder for chaining. - */ - public Builder setInUpperLayer(boolean value) { - - inUpperLayer_ = value; - bitField0_ |= 0x00000200; - onChanged(); - return this; + + @java.lang.Override + public com.dd.cws.adv1.pb.SecDumpProto.BindNode build() { + com.dd.cws.adv1.pb.SecDumpProto.BindNode result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; } - /** - * bool in_upper_layer = 10; - * @return This builder for chaining. - */ - public Builder clearInUpperLayer() { - bitField0_ = (bitField0_ & ~0x00000200); - inUpperLayer_ = false; - onChanged(); - return this; + + @java.lang.Override + public com.dd.cws.adv1.pb.SecDumpProto.BindNode buildPartial() { + com.dd.cws.adv1.pb.SecDumpProto.BindNode result = new com.dd.cws.adv1.pb.SecDumpProto.BindNode(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; } - private java.lang.Object path_ = ""; - /** - * string path = 11; - * @return The path. - */ - public java.lang.String getPath() { - java.lang.Object ref = path_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - path_ = s; - return s; + private void buildPartialRepeatedFields(com.dd.cws.adv1.pb.SecDumpProto.BindNode result) { + if (matchedRulesBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + matchedRules_ = java.util.Collections.unmodifiableList(matchedRules_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.matchedRules_ = matchedRules_; } else { - return (java.lang.String) ref; + result.matchedRules_ = matchedRulesBuilder_.build(); + } + if (((bitField0_ & 0x00000002) != 0)) { + imageTags_ = imageTags_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000002); } + result.imageTags_ = imageTags_; } - /** - * string path = 11; - * @return The bytes for path. - */ - public com.google.protobuf.ByteString - getPathBytes() { - java.lang.Object ref = path_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - path_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; + + private void buildPartial0(com.dd.cws.adv1.pb.SecDumpProto.BindNode result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000004) != 0)) { + result.port_ = port_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.ip_ = ip_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.protocol_ = protocol_; } } - /** - * string path = 11; - * @param value The path to set. - * @return This builder for chaining. - */ - public Builder setPath( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } - path_ = value; - bitField0_ |= 0x00000400; - onChanged(); - return this; + + @java.lang.Override + public Builder clone() { + return super.clone(); } - /** - * string path = 11; - * @return This builder for chaining. - */ - public Builder clearPath() { - path_ = getDefaultInstance().getPath(); - bitField0_ = (bitField0_ & ~0x00000400); - onChanged(); - return this; + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); } - /** - * string path = 11; - * @param value The bytes for path to set. - * @return This builder for chaining. - */ - public Builder setPathBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } - checkByteStringIsUtf8(value); - path_ = value; - bitField0_ |= 0x00000400; - onChanged(); - return this; + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); } - - private java.lang.Object basename_ = ""; - /** - * string basename = 12; - * @return The basename. - */ - public java.lang.String getBasename() { - java.lang.Object ref = basename_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - basename_ = s; - return s; + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.dd.cws.adv1.pb.SecDumpProto.BindNode) { + return mergeFrom((com.dd.cws.adv1.pb.SecDumpProto.BindNode)other); } else { - return (java.lang.String) ref; + super.mergeFrom(other); + return this; } } - /** - * string basename = 12; - * @return The bytes for basename. - */ - public com.google.protobuf.ByteString - getBasenameBytes() { - java.lang.Object ref = basename_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - basename_ = b; - return b; + + public Builder mergeFrom(com.dd.cws.adv1.pb.SecDumpProto.BindNode other) { + if (other == com.dd.cws.adv1.pb.SecDumpProto.BindNode.getDefaultInstance()) return this; + if (matchedRulesBuilder_ == null) { + if (!other.matchedRules_.isEmpty()) { + if (matchedRules_.isEmpty()) { + matchedRules_ = other.matchedRules_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureMatchedRulesIsMutable(); + matchedRules_.addAll(other.matchedRules_); + } + onChanged(); + } } else { - return (com.google.protobuf.ByteString) ref; + if (!other.matchedRules_.isEmpty()) { + if (matchedRulesBuilder_.isEmpty()) { + matchedRulesBuilder_.dispose(); + matchedRulesBuilder_ = null; + matchedRules_ = other.matchedRules_; + bitField0_ = (bitField0_ & ~0x00000001); + matchedRulesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getMatchedRulesFieldBuilder() : null; + } else { + matchedRulesBuilder_.addAllMessages(other.matchedRules_); + } + } } - } - /** - * string basename = 12; - * @param value The basename to set. - * @return This builder for chaining. - */ - public Builder setBasename( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } - basename_ = value; - bitField0_ |= 0x00000800; + if (!other.imageTags_.isEmpty()) { + if (imageTags_.isEmpty()) { + imageTags_ = other.imageTags_; + bitField0_ = (bitField0_ & ~0x00000002); + } else { + ensureImageTagsIsMutable(); + imageTags_.addAll(other.imageTags_); + } + onChanged(); + } + if (other.getPort() != 0) { + setPort(other.getPort()); + } + if (!other.getIp().isEmpty()) { + ip_ = other.ip_; + bitField0_ |= 0x00000008; + onChanged(); + } + if (other.getProtocol() != 0) { + setProtocol(other.getProtocol()); + } + this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } - /** - * string basename = 12; - * @return This builder for chaining. - */ - public Builder clearBasename() { - basename_ = getDefaultInstance().getBasename(); - bitField0_ = (bitField0_ & ~0x00000800); - onChanged(); - return this; + + @java.lang.Override + public final boolean isInitialized() { + return true; } - /** - * string basename = 12; - * @param value The bytes for basename to set. - * @return This builder for chaining. - */ - public Builder setBasenameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } - checkByteStringIsUtf8(value); - basename_ = value; - bitField0_ |= 0x00000800; - onChanged(); + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + port_ = input.readUInt32(); + bitField0_ |= 0x00000004; + break; + } // case 8 + case 18: { + ip_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 18 + case 26: { + com.dd.cws.adv1.pb.SecDumpProto.MatchedRule m = + input.readMessage( + com.dd.cws.adv1.pb.SecDumpProto.MatchedRule.parser(), + extensionRegistry); + if (matchedRulesBuilder_ == null) { + ensureMatchedRulesIsMutable(); + matchedRules_.add(m); + } else { + matchedRulesBuilder_.addMessage(m); + } + break; + } // case 26 + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + ensureImageTagsIsMutable(); + imageTags_.add(s); + break; + } // case 34 + case 40: { + protocol_ = input.readUInt32(); + bitField0_ |= 0x00000010; + break; + } // case 40 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally return this; } + private int bitField0_; + + private java.util.List matchedRules_ = + java.util.Collections.emptyList(); + private void ensureMatchedRulesIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + matchedRules_ = new java.util.ArrayList(matchedRules_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.dd.cws.adv1.pb.SecDumpProto.MatchedRule, com.dd.cws.adv1.pb.SecDumpProto.MatchedRule.Builder, com.dd.cws.adv1.pb.SecDumpProto.MatchedRuleOrBuilder> matchedRulesBuilder_; - private java.lang.Object filesystem_ = ""; /** - * string filesystem = 13; - * @return The filesystem. + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 3; */ - public java.lang.String getFilesystem() { - java.lang.Object ref = filesystem_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - filesystem_ = s; - return s; + public java.util.List getMatchedRulesList() { + if (matchedRulesBuilder_ == null) { + return java.util.Collections.unmodifiableList(matchedRules_); } else { - return (java.lang.String) ref; + return matchedRulesBuilder_.getMessageList(); } } /** - * string filesystem = 13; - * @return The bytes for filesystem. + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 3; */ - public com.google.protobuf.ByteString - getFilesystemBytes() { - java.lang.Object ref = filesystem_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - filesystem_ = b; - return b; + public int getMatchedRulesCount() { + if (matchedRulesBuilder_ == null) { + return matchedRules_.size(); } else { - return (com.google.protobuf.ByteString) ref; + return matchedRulesBuilder_.getCount(); } } /** - * string filesystem = 13; - * @param value The filesystem to set. - * @return This builder for chaining. - */ - public Builder setFilesystem( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } - filesystem_ = value; - bitField0_ |= 0x00001000; - onChanged(); - return this; - } - /** - * string filesystem = 13; - * @return This builder for chaining. - */ - public Builder clearFilesystem() { - filesystem_ = getDefaultInstance().getFilesystem(); - bitField0_ = (bitField0_ & ~0x00001000); - onChanged(); - return this; - } - /** - * string filesystem = 13; - * @param value The bytes for filesystem to set. - * @return This builder for chaining. + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 3; */ - public Builder setFilesystemBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } - checkByteStringIsUtf8(value); - filesystem_ = value; - bitField0_ |= 0x00001000; - onChanged(); - return this; + public com.dd.cws.adv1.pb.SecDumpProto.MatchedRule getMatchedRules(int index) { + if (matchedRulesBuilder_ == null) { + return matchedRules_.get(index); + } else { + return matchedRulesBuilder_.getMessage(index); + } } - - private java.lang.Object packageName_ = ""; /** - * string package_name = 14; - * @return The packageName. + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 3; */ - public java.lang.String getPackageName() { - java.lang.Object ref = packageName_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - packageName_ = s; - return s; + public Builder setMatchedRules( + int index, com.dd.cws.adv1.pb.SecDumpProto.MatchedRule value) { + if (matchedRulesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureMatchedRulesIsMutable(); + matchedRules_.set(index, value); + onChanged(); } else { - return (java.lang.String) ref; + matchedRulesBuilder_.setMessage(index, value); } + return this; } /** - * string package_name = 14; - * @return The bytes for packageName. + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 3; */ - public com.google.protobuf.ByteString - getPackageNameBytes() { - java.lang.Object ref = packageName_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - packageName_ = b; - return b; + public Builder setMatchedRules( + int index, com.dd.cws.adv1.pb.SecDumpProto.MatchedRule.Builder builderForValue) { + if (matchedRulesBuilder_ == null) { + ensureMatchedRulesIsMutable(); + matchedRules_.set(index, builderForValue.build()); + onChanged(); } else { - return (com.google.protobuf.ByteString) ref; + matchedRulesBuilder_.setMessage(index, builderForValue.build()); } + return this; } /** - * string package_name = 14; - * @param value The packageName to set. - * @return This builder for chaining. + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 3; */ - public Builder setPackageName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } - packageName_ = value; - bitField0_ |= 0x00002000; - onChanged(); + public Builder addMatchedRules(com.dd.cws.adv1.pb.SecDumpProto.MatchedRule value) { + if (matchedRulesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureMatchedRulesIsMutable(); + matchedRules_.add(value); + onChanged(); + } else { + matchedRulesBuilder_.addMessage(value); + } return this; } /** - * string package_name = 14; - * @return This builder for chaining. + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 3; */ - public Builder clearPackageName() { - packageName_ = getDefaultInstance().getPackageName(); - bitField0_ = (bitField0_ & ~0x00002000); - onChanged(); + public Builder addMatchedRules( + int index, com.dd.cws.adv1.pb.SecDumpProto.MatchedRule value) { + if (matchedRulesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureMatchedRulesIsMutable(); + matchedRules_.add(index, value); + onChanged(); + } else { + matchedRulesBuilder_.addMessage(index, value); + } return this; } /** - * string package_name = 14; - * @param value The bytes for packageName to set. - * @return This builder for chaining. + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 3; */ - public Builder setPackageNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } - checkByteStringIsUtf8(value); - packageName_ = value; - bitField0_ |= 0x00002000; - onChanged(); + public Builder addMatchedRules( + com.dd.cws.adv1.pb.SecDumpProto.MatchedRule.Builder builderForValue) { + if (matchedRulesBuilder_ == null) { + ensureMatchedRulesIsMutable(); + matchedRules_.add(builderForValue.build()); + onChanged(); + } else { + matchedRulesBuilder_.addMessage(builderForValue.build()); + } return this; } - - private java.lang.Object packageVersion_ = ""; /** - * string package_version = 15; - * @return The packageVersion. + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 3; */ - public java.lang.String getPackageVersion() { - java.lang.Object ref = packageVersion_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - packageVersion_ = s; - return s; + public Builder addMatchedRules( + int index, com.dd.cws.adv1.pb.SecDumpProto.MatchedRule.Builder builderForValue) { + if (matchedRulesBuilder_ == null) { + ensureMatchedRulesIsMutable(); + matchedRules_.add(index, builderForValue.build()); + onChanged(); } else { - return (java.lang.String) ref; + matchedRulesBuilder_.addMessage(index, builderForValue.build()); } + return this; } /** - * string package_version = 15; - * @return The bytes for packageVersion. + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 3; */ - public com.google.protobuf.ByteString - getPackageVersionBytes() { - java.lang.Object ref = packageVersion_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - packageVersion_ = b; - return b; + public Builder addAllMatchedRules( + java.lang.Iterable values) { + if (matchedRulesBuilder_ == null) { + ensureMatchedRulesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, matchedRules_); + onChanged(); } else { - return (com.google.protobuf.ByteString) ref; + matchedRulesBuilder_.addAllMessages(values); } + return this; } /** - * string package_version = 15; - * @param value The packageVersion to set. - * @return This builder for chaining. + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 3; */ - public Builder setPackageVersion( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } - packageVersion_ = value; - bitField0_ |= 0x00004000; - onChanged(); + public Builder clearMatchedRules() { + if (matchedRulesBuilder_ == null) { + matchedRules_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + matchedRulesBuilder_.clear(); + } return this; } /** - * string package_version = 15; - * @return This builder for chaining. + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 3; */ - public Builder clearPackageVersion() { - packageVersion_ = getDefaultInstance().getPackageVersion(); - bitField0_ = (bitField0_ & ~0x00004000); - onChanged(); + public Builder removeMatchedRules(int index) { + if (matchedRulesBuilder_ == null) { + ensureMatchedRulesIsMutable(); + matchedRules_.remove(index); + onChanged(); + } else { + matchedRulesBuilder_.remove(index); + } return this; } /** - * string package_version = 15; - * @param value The bytes for packageVersion to set. - * @return This builder for chaining. + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 3; */ - public Builder setPackageVersionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } - checkByteStringIsUtf8(value); - packageVersion_ = value; - bitField0_ |= 0x00004000; - onChanged(); - return this; + public com.dd.cws.adv1.pb.SecDumpProto.MatchedRule.Builder getMatchedRulesBuilder( + int index) { + return getMatchedRulesFieldBuilder().getBuilder(index); } - - private java.lang.Object packageSrcversion_ = ""; /** - * string package_srcversion = 16; - * @return The packageSrcversion. + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 3; */ - public java.lang.String getPackageSrcversion() { - java.lang.Object ref = packageSrcversion_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - packageSrcversion_ = s; - return s; - } else { - return (java.lang.String) ref; + public com.dd.cws.adv1.pb.SecDumpProto.MatchedRuleOrBuilder getMatchedRulesOrBuilder( + int index) { + if (matchedRulesBuilder_ == null) { + return matchedRules_.get(index); } else { + return matchedRulesBuilder_.getMessageOrBuilder(index); } } /** - * string package_srcversion = 16; - * @return The bytes for packageSrcversion. + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 3; */ - public com.google.protobuf.ByteString - getPackageSrcversionBytes() { - java.lang.Object ref = packageSrcversion_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - packageSrcversion_ = b; - return b; + public java.util.List + getMatchedRulesOrBuilderList() { + if (matchedRulesBuilder_ != null) { + return matchedRulesBuilder_.getMessageOrBuilderList(); } else { - return (com.google.protobuf.ByteString) ref; + return java.util.Collections.unmodifiableList(matchedRules_); } } /** - * string package_srcversion = 16; - * @param value The packageSrcversion to set. - * @return This builder for chaining. + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 3; */ - public Builder setPackageSrcversion( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } - packageSrcversion_ = value; - bitField0_ |= 0x00008000; - onChanged(); - return this; + public com.dd.cws.adv1.pb.SecDumpProto.MatchedRule.Builder addMatchedRulesBuilder() { + return getMatchedRulesFieldBuilder().addBuilder( + com.dd.cws.adv1.pb.SecDumpProto.MatchedRule.getDefaultInstance()); } - /** - * string package_srcversion = 16; - * @return This builder for chaining. + /** + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 3; */ - public Builder clearPackageSrcversion() { - packageSrcversion_ = getDefaultInstance().getPackageSrcversion(); - bitField0_ = (bitField0_ & ~0x00008000); - onChanged(); - return this; + public com.dd.cws.adv1.pb.SecDumpProto.MatchedRule.Builder addMatchedRulesBuilder( + int index) { + return getMatchedRulesFieldBuilder().addBuilder( + index, com.dd.cws.adv1.pb.SecDumpProto.MatchedRule.getDefaultInstance()); } /** - * string package_srcversion = 16; - * @param value The bytes for packageSrcversion to set. - * @return This builder for chaining. + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 3; */ - public Builder setPackageSrcversionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } - checkByteStringIsUtf8(value); - packageSrcversion_ = value; - bitField0_ |= 0x00008000; - onChanged(); - return this; + public java.util.List + getMatchedRulesBuilderList() { + return getMatchedRulesFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.dd.cws.adv1.pb.SecDumpProto.MatchedRule, com.dd.cws.adv1.pb.SecDumpProto.MatchedRule.Builder, com.dd.cws.adv1.pb.SecDumpProto.MatchedRuleOrBuilder> + getMatchedRulesFieldBuilder() { + if (matchedRulesBuilder_ == null) { + matchedRulesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.dd.cws.adv1.pb.SecDumpProto.MatchedRule, com.dd.cws.adv1.pb.SecDumpProto.MatchedRule.Builder, com.dd.cws.adv1.pb.SecDumpProto.MatchedRuleOrBuilder>( + matchedRules_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + matchedRules_ = null; + } + return matchedRulesBuilder_; } - private com.google.protobuf.LazyStringList hashes_ = com.google.protobuf.LazyStringArrayList.EMPTY; - private void ensureHashesIsMutable() { - if (!((bitField0_ & 0x00010000) != 0)) { - hashes_ = new com.google.protobuf.LazyStringArrayList(hashes_); - bitField0_ |= 0x00010000; + private com.google.protobuf.LazyStringList imageTags_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureImageTagsIsMutable() { + if (!((bitField0_ & 0x00000002) != 0)) { + imageTags_ = new com.google.protobuf.LazyStringArrayList(imageTags_); + bitField0_ |= 0x00000002; } } /** - * repeated string hashes = 17; - * @return A list containing the hashes. + * repeated string image_tags = 4; + * @return A list containing the imageTags. */ public com.google.protobuf.ProtocolStringList - getHashesList() { - return hashes_.getUnmodifiableView(); + getImageTagsList() { + return imageTags_.getUnmodifiableView(); } /** - * repeated string hashes = 17; - * @return The count of hashes. + * repeated string image_tags = 4; + * @return The count of imageTags. */ - public int getHashesCount() { - return hashes_.size(); + public int getImageTagsCount() { + return imageTags_.size(); } /** - * repeated string hashes = 17; + * repeated string image_tags = 4; * @param index The index of the element to return. - * @return The hashes at the given index. + * @return The imageTags at the given index. */ - public java.lang.String getHashes(int index) { - return hashes_.get(index); + public java.lang.String getImageTags(int index) { + return imageTags_.get(index); } /** - * repeated string hashes = 17; + * repeated string image_tags = 4; * @param index The index of the value to return. - * @return The bytes of the hashes at the given index. + * @return The bytes of the imageTags at the given index. */ public com.google.protobuf.ByteString - getHashesBytes(int index) { - return hashes_.getByteString(index); + getImageTagsBytes(int index) { + return imageTags_.getByteString(index); } /** - * repeated string hashes = 17; + * repeated string image_tags = 4; * @param index The index to set the value at. - * @param value The hashes to set. + * @param value The imageTags to set. * @return This builder for chaining. */ - public Builder setHashes( + public Builder setImageTags( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } - ensureHashesIsMutable(); - hashes_.set(index, value); + ensureImageTagsIsMutable(); + imageTags_.set(index, value); onChanged(); return this; } /** - * repeated string hashes = 17; - * @param value The hashes to add. + * repeated string image_tags = 4; + * @param value The imageTags to add. * @return This builder for chaining. */ - public Builder addHashes( + public Builder addImageTags( java.lang.String value) { if (value == null) { throw new NullPointerException(); } - ensureHashesIsMutable(); - hashes_.add(value); + ensureImageTagsIsMutable(); + imageTags_.add(value); onChanged(); return this; } /** - * repeated string hashes = 17; - * @param values The hashes to add. + * repeated string image_tags = 4; + * @param values The imageTags to add. * @return This builder for chaining. */ - public Builder addAllHashes( + public Builder addAllImageTags( java.lang.Iterable values) { - ensureHashesIsMutable(); + ensureImageTagsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, hashes_); + values, imageTags_); onChanged(); return this; } /** - * repeated string hashes = 17; + * repeated string image_tags = 4; * @return This builder for chaining. */ - public Builder clearHashes() { - hashes_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00010000); + public Builder clearImageTags() { + imageTags_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** - * repeated string hashes = 17; - * @param value The bytes of the hashes to add. + * repeated string image_tags = 4; + * @param value The bytes of the imageTags to add. * @return This builder for chaining. */ - public Builder addHashesBytes( + public Builder addImageTagsBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); - ensureHashesIsMutable(); - hashes_.add(value); + ensureImageTagsIsMutable(); + imageTags_.add(value); onChanged(); return this; } - private int hashState_ = 0; + private int port_ ; /** - * .datadog.cws.dumpsv1.HashState hash_state = 18; - * @return The enum numeric value on the wire for hashState. + * uint32 port = 1; + * @return The port. */ - @java.lang.Override public int getHashStateValue() { - return hashState_; + @java.lang.Override + public int getPort() { + return port_; } /** - * .datadog.cws.dumpsv1.HashState hash_state = 18; - * @param value The enum numeric value on the wire for hashState to set. + * uint32 port = 1; + * @param value The port to set. * @return This builder for chaining. */ - public Builder setHashStateValue(int value) { - hashState_ = value; - bitField0_ |= 0x00020000; + public Builder setPort(int value) { + + port_ = value; + bitField0_ |= 0x00000004; onChanged(); return this; } /** - * .datadog.cws.dumpsv1.HashState hash_state = 18; - * @return The hashState. + * uint32 port = 1; + * @return This builder for chaining. */ - @java.lang.Override - public com.dd.cws.adv1.pb.SecDumpProto.HashState getHashState() { - com.dd.cws.adv1.pb.SecDumpProto.HashState result = com.dd.cws.adv1.pb.SecDumpProto.HashState.forNumber(hashState_); - return result == null ? com.dd.cws.adv1.pb.SecDumpProto.HashState.UNRECOGNIZED : result; + public Builder clearPort() { + bitField0_ = (bitField0_ & ~0x00000004); + port_ = 0; + onChanged(); + return this; } + + private java.lang.Object ip_ = ""; /** - * .datadog.cws.dumpsv1.HashState hash_state = 18; - * @param value The hashState to set. - * @return This builder for chaining. + * string ip = 2; + * @return The ip. */ - public Builder setHashState(com.dd.cws.adv1.pb.SecDumpProto.HashState value) { - if (value == null) { - throw new NullPointerException(); + public java.lang.String getIp() { + java.lang.Object ref = ip_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + ip_ = s; + return s; + } else { + return (java.lang.String) ref; } - bitField0_ |= 0x00020000; - hashState_ = value.getNumber(); + } + /** + * string ip = 2; + * @return The bytes for ip. + */ + public com.google.protobuf.ByteString + getIpBytes() { + java.lang.Object ref = ip_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + ip_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string ip = 2; + * @param value The ip to set. + * @return This builder for chaining. + */ + public Builder setIp( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ip_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * string ip = 2; + * @return This builder for chaining. + */ + public Builder clearIp() { + ip_ = getDefaultInstance().getIp(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + /** + * string ip = 2; + * @param value The bytes for ip to set. + * @return This builder for chaining. + */ + public Builder setIpBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ip_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + private int protocol_ ; + /** + * uint32 protocol = 5; + * @return The protocol. + */ + @java.lang.Override + public int getProtocol() { + return protocol_; + } + /** + * uint32 protocol = 5; + * @param value The protocol to set. + * @return This builder for chaining. + */ + public Builder setProtocol(int value) { + + protocol_ = value; + bitField0_ |= 0x00000010; onChanged(); return this; } /** - * .datadog.cws.dumpsv1.HashState hash_state = 18; + * uint32 protocol = 5; * @return This builder for chaining. */ - public Builder clearHashState() { - bitField0_ = (bitField0_ & ~0x00020000); - hashState_ = 0; + public Builder clearProtocol() { + bitField0_ = (bitField0_ & ~0x00000010); + protocol_ = 0; onChanged(); return this; } @@ -26555,23 +32107,23 @@ public final Builder mergeUnknownFields( } - // @@protoc_insertion_point(builder_scope:datadog.cws.dumpsv1.FileInfo) + // @@protoc_insertion_point(builder_scope:datadog.cws.dumpsv1.BindNode) } - // @@protoc_insertion_point(class_scope:datadog.cws.dumpsv1.FileInfo) - private static final com.dd.cws.adv1.pb.SecDumpProto.FileInfo DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:datadog.cws.dumpsv1.BindNode) + private static final com.dd.cws.adv1.pb.SecDumpProto.BindNode DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new com.dd.cws.adv1.pb.SecDumpProto.FileInfo(); + DEFAULT_INSTANCE = new com.dd.cws.adv1.pb.SecDumpProto.BindNode(); } - public static com.dd.cws.adv1.pb.SecDumpProto.FileInfo getDefaultInstance() { + public static com.dd.cws.adv1.pb.SecDumpProto.BindNode getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override - public FileInfo parsePartialFrom( + public BindNode parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -26590,512 +32142,282 @@ public FileInfo parsePartialFrom( } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public com.dd.cws.adv1.pb.SecDumpProto.FileInfo getDefaultInstanceForType() { + public com.dd.cws.adv1.pb.SecDumpProto.BindNode getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } - public interface CredentialsOrBuilder extends - // @@protoc_insertion_point(interface_extends:datadog.cws.dumpsv1.Credentials) + public interface NetworkDeviceNodeOrBuilder extends + // @@protoc_insertion_point(interface_extends:datadog.cws.dumpsv1.NetworkDeviceNode) com.google.protobuf.MessageOrBuilder { /** - * uint32 uid = 1; - * @return The uid. - */ - int getUid(); - - /** - * uint32 gid = 2; - * @return The gid. - */ - int getGid(); - - /** - * string user = 3; - * @return The user. + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 1; */ - java.lang.String getUser(); + java.util.List + getMatchedRulesList(); /** - * string user = 3; - * @return The bytes for user. + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 1; */ - com.google.protobuf.ByteString - getUserBytes(); - + com.dd.cws.adv1.pb.SecDumpProto.MatchedRule getMatchedRules(int index); /** - * string group = 4; - * @return The group. + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 1; */ - java.lang.String getGroup(); + int getMatchedRulesCount(); /** - * string group = 4; - * @return The bytes for group. + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 1; */ - com.google.protobuf.ByteString - getGroupBytes(); - + java.util.List + getMatchedRulesOrBuilderList(); /** - * uint32 effective_uid = 5; - * @return The effectiveUid. + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 1; */ - int getEffectiveUid(); + com.dd.cws.adv1.pb.SecDumpProto.MatchedRuleOrBuilder getMatchedRulesOrBuilder( + int index); /** - * uint32 effective_gid = 6; - * @return The effectiveGid. + * uint32 netns = 2; + * @return The netns. */ - int getEffectiveGid(); + int getNetns(); /** - * string effective_user = 7; - * @return The effectiveUser. - */ - java.lang.String getEffectiveUser(); - /** - * string effective_user = 7; - * @return The bytes for effectiveUser. + * uint32 ifindex = 3; + * @return The ifindex. */ - com.google.protobuf.ByteString - getEffectiveUserBytes(); + int getIfindex(); /** - * string effective_group = 8; - * @return The effectiveGroup. + * string ifname = 4; + * @return The ifname. */ - java.lang.String getEffectiveGroup(); + java.lang.String getIfname(); /** - * string effective_group = 8; - * @return The bytes for effectiveGroup. + * string ifname = 4; + * @return The bytes for ifname. */ com.google.protobuf.ByteString - getEffectiveGroupBytes(); - - /** - * uint32 fs_uid = 9; - * @return The fsUid. - */ - int getFsUid(); - - /** - * uint32 fs_gid = 10; - * @return The fsGid. - */ - int getFsGid(); + getIfnameBytes(); /** - * string fs_user = 11; - * @return The fsUser. - */ - java.lang.String getFsUser(); - /** - * string fs_user = 11; - * @return The bytes for fsUser. + * repeated .datadog.cws.dumpsv1.FlowNode flow_nodes = 5; */ - com.google.protobuf.ByteString - getFsUserBytes(); - + java.util.List + getFlowNodesList(); /** - * string fs_group = 12; - * @return The fsGroup. + * repeated .datadog.cws.dumpsv1.FlowNode flow_nodes = 5; */ - java.lang.String getFsGroup(); + com.dd.cws.adv1.pb.SecDumpProto.FlowNode getFlowNodes(int index); /** - * string fs_group = 12; - * @return The bytes for fsGroup. + * repeated .datadog.cws.dumpsv1.FlowNode flow_nodes = 5; */ - com.google.protobuf.ByteString - getFsGroupBytes(); - + int getFlowNodesCount(); /** - * uint64 cap_effective = 13; - * @return The capEffective. + * repeated .datadog.cws.dumpsv1.FlowNode flow_nodes = 5; */ - long getCapEffective(); - + java.util.List + getFlowNodesOrBuilderList(); /** - * uint64 cap_permitted = 14; - * @return The capPermitted. + * repeated .datadog.cws.dumpsv1.FlowNode flow_nodes = 5; */ - long getCapPermitted(); + com.dd.cws.adv1.pb.SecDumpProto.FlowNodeOrBuilder getFlowNodesOrBuilder( + int index); } /** - * Protobuf type {@code datadog.cws.dumpsv1.Credentials} + * Protobuf type {@code datadog.cws.dumpsv1.NetworkDeviceNode} */ - public static final class Credentials extends + public static final class NetworkDeviceNode extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:datadog.cws.dumpsv1.Credentials) - CredentialsOrBuilder { + // @@protoc_insertion_point(message_implements:datadog.cws.dumpsv1.NetworkDeviceNode) + NetworkDeviceNodeOrBuilder { private static final long serialVersionUID = 0L; - // Use Credentials.newBuilder() to construct. - private Credentials(com.google.protobuf.GeneratedMessageV3.Builder builder) { + // Use NetworkDeviceNode.newBuilder() to construct. + private NetworkDeviceNode(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Credentials() { - user_ = ""; - group_ = ""; - effectiveUser_ = ""; - effectiveGroup_ = ""; - fsUser_ = ""; - fsGroup_ = ""; + private NetworkDeviceNode() { + matchedRules_ = java.util.Collections.emptyList(); + ifname_ = ""; + flowNodes_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { - return new Credentials(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_Credentials_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_Credentials_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.dd.cws.adv1.pb.SecDumpProto.Credentials.class, com.dd.cws.adv1.pb.SecDumpProto.Credentials.Builder.class); - } - - public static final int UID_FIELD_NUMBER = 1; - private int uid_ = 0; - /** - * uint32 uid = 1; - * @return The uid. - */ - @java.lang.Override - public int getUid() { - return uid_; - } - - public static final int GID_FIELD_NUMBER = 2; - private int gid_ = 0; - /** - * uint32 gid = 2; - * @return The gid. - */ - @java.lang.Override - public int getGid() { - return gid_; + return new NetworkDeviceNode(); } - - public static final int USER_FIELD_NUMBER = 3; - @SuppressWarnings("serial") - private volatile java.lang.Object user_ = ""; - /** - * string user = 3; - * @return The user. - */ - @java.lang.Override - public java.lang.String getUser() { - java.lang.Object ref = user_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - user_ = s; - return s; - } - } - /** - * string user = 3; - * @return The bytes for user. - */ - @java.lang.Override - public com.google.protobuf.ByteString - getUserBytes() { - java.lang.Object ref = user_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - user_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int GROUP_FIELD_NUMBER = 4; - @SuppressWarnings("serial") - private volatile java.lang.Object group_ = ""; - /** - * string group = 4; - * @return The group. - */ - @java.lang.Override - public java.lang.String getGroup() { - java.lang.Object ref = group_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - group_ = s; - return s; - } - } - /** - * string group = 4; - * @return The bytes for group. - */ + @java.lang.Override - public com.google.protobuf.ByteString - getGroupBytes() { - java.lang.Object ref = group_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - group_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_NetworkDeviceNode_descriptor; } - public static final int EFFECTIVE_UID_FIELD_NUMBER = 5; - private int effectiveUid_ = 0; - /** - * uint32 effective_uid = 5; - * @return The effectiveUid. - */ @java.lang.Override - public int getEffectiveUid() { - return effectiveUid_; + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_NetworkDeviceNode_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.dd.cws.adv1.pb.SecDumpProto.NetworkDeviceNode.class, com.dd.cws.adv1.pb.SecDumpProto.NetworkDeviceNode.Builder.class); } - public static final int EFFECTIVE_GID_FIELD_NUMBER = 6; - private int effectiveGid_ = 0; + public static final int MATCHED_RULES_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private java.util.List matchedRules_; /** - * uint32 effective_gid = 6; - * @return The effectiveGid. + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 1; */ @java.lang.Override - public int getEffectiveGid() { - return effectiveGid_; + public java.util.List getMatchedRulesList() { + return matchedRules_; } - - public static final int EFFECTIVE_USER_FIELD_NUMBER = 7; - @SuppressWarnings("serial") - private volatile java.lang.Object effectiveUser_ = ""; /** - * string effective_user = 7; - * @return The effectiveUser. + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 1; */ @java.lang.Override - public java.lang.String getEffectiveUser() { - java.lang.Object ref = effectiveUser_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - effectiveUser_ = s; - return s; - } + public java.util.List + getMatchedRulesOrBuilderList() { + return matchedRules_; } /** - * string effective_user = 7; - * @return The bytes for effectiveUser. + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 1; */ @java.lang.Override - public com.google.protobuf.ByteString - getEffectiveUserBytes() { - java.lang.Object ref = effectiveUser_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - effectiveUser_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } + public int getMatchedRulesCount() { + return matchedRules_.size(); } - - public static final int EFFECTIVE_GROUP_FIELD_NUMBER = 8; - @SuppressWarnings("serial") - private volatile java.lang.Object effectiveGroup_ = ""; /** - * string effective_group = 8; - * @return The effectiveGroup. + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 1; */ @java.lang.Override - public java.lang.String getEffectiveGroup() { - java.lang.Object ref = effectiveGroup_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - effectiveGroup_ = s; - return s; - } + public com.dd.cws.adv1.pb.SecDumpProto.MatchedRule getMatchedRules(int index) { + return matchedRules_.get(index); } /** - * string effective_group = 8; - * @return The bytes for effectiveGroup. + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 1; */ @java.lang.Override - public com.google.protobuf.ByteString - getEffectiveGroupBytes() { - java.lang.Object ref = effectiveGroup_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - effectiveGroup_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } + public com.dd.cws.adv1.pb.SecDumpProto.MatchedRuleOrBuilder getMatchedRulesOrBuilder( + int index) { + return matchedRules_.get(index); } - public static final int FS_UID_FIELD_NUMBER = 9; - private int fsUid_ = 0; + public static final int NETNS_FIELD_NUMBER = 2; + private int netns_ = 0; /** - * uint32 fs_uid = 9; - * @return The fsUid. + * uint32 netns = 2; + * @return The netns. */ @java.lang.Override - public int getFsUid() { - return fsUid_; + public int getNetns() { + return netns_; } - public static final int FS_GID_FIELD_NUMBER = 10; - private int fsGid_ = 0; + public static final int IFINDEX_FIELD_NUMBER = 3; + private int ifindex_ = 0; /** - * uint32 fs_gid = 10; - * @return The fsGid. + * uint32 ifindex = 3; + * @return The ifindex. */ @java.lang.Override - public int getFsGid() { - return fsGid_; + public int getIfindex() { + return ifindex_; } - public static final int FS_USER_FIELD_NUMBER = 11; + public static final int IFNAME_FIELD_NUMBER = 4; @SuppressWarnings("serial") - private volatile java.lang.Object fsUser_ = ""; + private volatile java.lang.Object ifname_ = ""; /** - * string fs_user = 11; - * @return The fsUser. + * string ifname = 4; + * @return The ifname. */ @java.lang.Override - public java.lang.String getFsUser() { - java.lang.Object ref = fsUser_; + public java.lang.String getIfname() { + java.lang.Object ref = ifname_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); - fsUser_ = s; + ifname_ = s; return s; } } /** - * string fs_user = 11; - * @return The bytes for fsUser. + * string ifname = 4; + * @return The bytes for ifname. */ @java.lang.Override public com.google.protobuf.ByteString - getFsUserBytes() { - java.lang.Object ref = fsUser_; + getIfnameBytes() { + java.lang.Object ref = ifname_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); - fsUser_ = b; + ifname_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } - public static final int FS_GROUP_FIELD_NUMBER = 12; + public static final int FLOW_NODES_FIELD_NUMBER = 5; @SuppressWarnings("serial") - private volatile java.lang.Object fsGroup_ = ""; + private java.util.List flowNodes_; /** - * string fs_group = 12; - * @return The fsGroup. + * repeated .datadog.cws.dumpsv1.FlowNode flow_nodes = 5; */ @java.lang.Override - public java.lang.String getFsGroup() { - java.lang.Object ref = fsGroup_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - fsGroup_ = s; - return s; - } + public java.util.List getFlowNodesList() { + return flowNodes_; } /** - * string fs_group = 12; - * @return The bytes for fsGroup. + * repeated .datadog.cws.dumpsv1.FlowNode flow_nodes = 5; */ @java.lang.Override - public com.google.protobuf.ByteString - getFsGroupBytes() { - java.lang.Object ref = fsGroup_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - fsGroup_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } + public java.util.List + getFlowNodesOrBuilderList() { + return flowNodes_; } - - public static final int CAP_EFFECTIVE_FIELD_NUMBER = 13; - private long capEffective_ = 0L; /** - * uint64 cap_effective = 13; - * @return The capEffective. + * repeated .datadog.cws.dumpsv1.FlowNode flow_nodes = 5; */ @java.lang.Override - public long getCapEffective() { - return capEffective_; + public int getFlowNodesCount() { + return flowNodes_.size(); } - - public static final int CAP_PERMITTED_FIELD_NUMBER = 14; - private long capPermitted_ = 0L; /** - * uint64 cap_permitted = 14; - * @return The capPermitted. + * repeated .datadog.cws.dumpsv1.FlowNode flow_nodes = 5; */ @java.lang.Override - public long getCapPermitted() { - return capPermitted_; + public com.dd.cws.adv1.pb.SecDumpProto.FlowNode getFlowNodes(int index) { + return flowNodes_.get(index); + } + /** + * repeated .datadog.cws.dumpsv1.FlowNode flow_nodes = 5; + */ + @java.lang.Override + public com.dd.cws.adv1.pb.SecDumpProto.FlowNodeOrBuilder getFlowNodesOrBuilder( + int index) { + return flowNodes_.get(index); } private byte memoizedIsInitialized = -1; @@ -27112,106 +32434,48 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (uid_ != 0) { - output.writeUInt32(1, uid_); - } - if (gid_ != 0) { - output.writeUInt32(2, gid_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(user_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, user_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(group_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 4, group_); - } - if (effectiveUid_ != 0) { - output.writeUInt32(5, effectiveUid_); - } - if (effectiveGid_ != 0) { - output.writeUInt32(6, effectiveGid_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(effectiveUser_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 7, effectiveUser_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(effectiveGroup_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 8, effectiveGroup_); - } - if (fsUid_ != 0) { - output.writeUInt32(9, fsUid_); - } - if (fsGid_ != 0) { - output.writeUInt32(10, fsGid_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fsUser_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 11, fsUser_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fsGroup_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 12, fsGroup_); - } - if (capEffective_ != 0L) { - output.writeUInt64(13, capEffective_); - } - if (capPermitted_ != 0L) { - output.writeUInt64(14, capPermitted_); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (uid_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(1, uid_); - } - if (gid_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(2, gid_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(user_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, user_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(group_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, group_); + for (int i = 0; i < matchedRules_.size(); i++) { + output.writeMessage(1, matchedRules_.get(i)); } - if (effectiveUid_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(5, effectiveUid_); + if (netns_ != 0) { + output.writeUInt32(2, netns_); } - if (effectiveGid_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(6, effectiveGid_); + if (ifindex_ != 0) { + output.writeUInt32(3, ifindex_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(effectiveUser_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, effectiveUser_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ifname_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, ifname_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(effectiveGroup_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, effectiveGroup_); + for (int i = 0; i < flowNodes_.size(); i++) { + output.writeMessage(5, flowNodes_.get(i)); } - if (fsUid_ != 0) { + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (int i = 0; i < matchedRules_.size(); i++) { size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(9, fsUid_); + .computeMessageSize(1, matchedRules_.get(i)); } - if (fsGid_ != 0) { + if (netns_ != 0) { size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(10, fsGid_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fsUser_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, fsUser_); + .computeUInt32Size(2, netns_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fsGroup_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, fsGroup_); - } - if (capEffective_ != 0L) { + if (ifindex_ != 0) { size += com.google.protobuf.CodedOutputStream - .computeUInt64Size(13, capEffective_); + .computeUInt32Size(3, ifindex_); } - if (capPermitted_ != 0L) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ifname_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, ifname_); + } + for (int i = 0; i < flowNodes_.size(); i++) { size += com.google.protobuf.CodedOutputStream - .computeUInt64Size(14, capPermitted_); + .computeMessageSize(5, flowNodes_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -27223,39 +32487,21 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof com.dd.cws.adv1.pb.SecDumpProto.Credentials)) { + if (!(obj instanceof com.dd.cws.adv1.pb.SecDumpProto.NetworkDeviceNode)) { return super.equals(obj); } - com.dd.cws.adv1.pb.SecDumpProto.Credentials other = (com.dd.cws.adv1.pb.SecDumpProto.Credentials) obj; + com.dd.cws.adv1.pb.SecDumpProto.NetworkDeviceNode other = (com.dd.cws.adv1.pb.SecDumpProto.NetworkDeviceNode) obj; - if (getUid() - != other.getUid()) return false; - if (getGid() - != other.getGid()) return false; - if (!getUser() - .equals(other.getUser())) return false; - if (!getGroup() - .equals(other.getGroup())) return false; - if (getEffectiveUid() - != other.getEffectiveUid()) return false; - if (getEffectiveGid() - != other.getEffectiveGid()) return false; - if (!getEffectiveUser() - .equals(other.getEffectiveUser())) return false; - if (!getEffectiveGroup() - .equals(other.getEffectiveGroup())) return false; - if (getFsUid() - != other.getFsUid()) return false; - if (getFsGid() - != other.getFsGid()) return false; - if (!getFsUser() - .equals(other.getFsUser())) return false; - if (!getFsGroup() - .equals(other.getFsGroup())) return false; - if (getCapEffective() - != other.getCapEffective()) return false; - if (getCapPermitted() - != other.getCapPermitted()) return false; + if (!getMatchedRulesList() + .equals(other.getMatchedRulesList())) return false; + if (getNetns() + != other.getNetns()) return false; + if (getIfindex() + != other.getIfindex()) return false; + if (!getIfname() + .equals(other.getIfname())) return false; + if (!getFlowNodesList() + .equals(other.getFlowNodesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -27267,104 +32513,88 @@ public int hashCode() { } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + UID_FIELD_NUMBER; - hash = (53 * hash) + getUid(); - hash = (37 * hash) + GID_FIELD_NUMBER; - hash = (53 * hash) + getGid(); - hash = (37 * hash) + USER_FIELD_NUMBER; - hash = (53 * hash) + getUser().hashCode(); - hash = (37 * hash) + GROUP_FIELD_NUMBER; - hash = (53 * hash) + getGroup().hashCode(); - hash = (37 * hash) + EFFECTIVE_UID_FIELD_NUMBER; - hash = (53 * hash) + getEffectiveUid(); - hash = (37 * hash) + EFFECTIVE_GID_FIELD_NUMBER; - hash = (53 * hash) + getEffectiveGid(); - hash = (37 * hash) + EFFECTIVE_USER_FIELD_NUMBER; - hash = (53 * hash) + getEffectiveUser().hashCode(); - hash = (37 * hash) + EFFECTIVE_GROUP_FIELD_NUMBER; - hash = (53 * hash) + getEffectiveGroup().hashCode(); - hash = (37 * hash) + FS_UID_FIELD_NUMBER; - hash = (53 * hash) + getFsUid(); - hash = (37 * hash) + FS_GID_FIELD_NUMBER; - hash = (53 * hash) + getFsGid(); - hash = (37 * hash) + FS_USER_FIELD_NUMBER; - hash = (53 * hash) + getFsUser().hashCode(); - hash = (37 * hash) + FS_GROUP_FIELD_NUMBER; - hash = (53 * hash) + getFsGroup().hashCode(); - hash = (37 * hash) + CAP_EFFECTIVE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getCapEffective()); - hash = (37 * hash) + CAP_PERMITTED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getCapPermitted()); + if (getMatchedRulesCount() > 0) { + hash = (37 * hash) + MATCHED_RULES_FIELD_NUMBER; + hash = (53 * hash) + getMatchedRulesList().hashCode(); + } + hash = (37 * hash) + NETNS_FIELD_NUMBER; + hash = (53 * hash) + getNetns(); + hash = (37 * hash) + IFINDEX_FIELD_NUMBER; + hash = (53 * hash) + getIfindex(); + hash = (37 * hash) + IFNAME_FIELD_NUMBER; + hash = (53 * hash) + getIfname().hashCode(); + if (getFlowNodesCount() > 0) { + hash = (37 * hash) + FLOW_NODES_FIELD_NUMBER; + hash = (53 * hash) + getFlowNodesList().hashCode(); + } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.dd.cws.adv1.pb.SecDumpProto.Credentials parseFrom( + public static com.dd.cws.adv1.pb.SecDumpProto.NetworkDeviceNode parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.dd.cws.adv1.pb.SecDumpProto.Credentials parseFrom( + public static com.dd.cws.adv1.pb.SecDumpProto.NetworkDeviceNode parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.dd.cws.adv1.pb.SecDumpProto.Credentials parseFrom( + public static com.dd.cws.adv1.pb.SecDumpProto.NetworkDeviceNode parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.dd.cws.adv1.pb.SecDumpProto.Credentials parseFrom( + public static com.dd.cws.adv1.pb.SecDumpProto.NetworkDeviceNode parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.dd.cws.adv1.pb.SecDumpProto.Credentials parseFrom(byte[] data) + public static com.dd.cws.adv1.pb.SecDumpProto.NetworkDeviceNode parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.dd.cws.adv1.pb.SecDumpProto.Credentials parseFrom( + public static com.dd.cws.adv1.pb.SecDumpProto.NetworkDeviceNode parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.dd.cws.adv1.pb.SecDumpProto.Credentials parseFrom(java.io.InputStream input) + public static com.dd.cws.adv1.pb.SecDumpProto.NetworkDeviceNode parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static com.dd.cws.adv1.pb.SecDumpProto.Credentials parseFrom( + public static com.dd.cws.adv1.pb.SecDumpProto.NetworkDeviceNode parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.dd.cws.adv1.pb.SecDumpProto.Credentials parseDelimitedFrom(java.io.InputStream input) + public static com.dd.cws.adv1.pb.SecDumpProto.NetworkDeviceNode parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } - public static com.dd.cws.adv1.pb.SecDumpProto.Credentials parseDelimitedFrom( + public static com.dd.cws.adv1.pb.SecDumpProto.NetworkDeviceNode parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.dd.cws.adv1.pb.SecDumpProto.Credentials parseFrom( + public static com.dd.cws.adv1.pb.SecDumpProto.NetworkDeviceNode parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static com.dd.cws.adv1.pb.SecDumpProto.Credentials parseFrom( + public static com.dd.cws.adv1.pb.SecDumpProto.NetworkDeviceNode parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -27377,7 +32607,7 @@ public static com.dd.cws.adv1.pb.SecDumpProto.Credentials parseFrom( public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.dd.cws.adv1.pb.SecDumpProto.Credentials prototype) { + public static Builder newBuilder(com.dd.cws.adv1.pb.SecDumpProto.NetworkDeviceNode prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override @@ -27393,26 +32623,26 @@ protected Builder newBuilderForType( return builder; } /** - * Protobuf type {@code datadog.cws.dumpsv1.Credentials} + * Protobuf type {@code datadog.cws.dumpsv1.NetworkDeviceNode} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:datadog.cws.dumpsv1.Credentials) - com.dd.cws.adv1.pb.SecDumpProto.CredentialsOrBuilder { + // @@protoc_insertion_point(builder_implements:datadog.cws.dumpsv1.NetworkDeviceNode) + com.dd.cws.adv1.pb.SecDumpProto.NetworkDeviceNodeOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_Credentials_descriptor; + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_NetworkDeviceNode_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_Credentials_fieldAccessorTable + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_NetworkDeviceNode_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.dd.cws.adv1.pb.SecDumpProto.Credentials.class, com.dd.cws.adv1.pb.SecDumpProto.Credentials.Builder.class); + com.dd.cws.adv1.pb.SecDumpProto.NetworkDeviceNode.class, com.dd.cws.adv1.pb.SecDumpProto.NetworkDeviceNode.Builder.class); } - // Construct using com.dd.cws.adv1.pb.SecDumpProto.Credentials.newBuilder() + // Construct using com.dd.cws.adv1.pb.SecDumpProto.NetworkDeviceNode.newBuilder() private Builder() { } @@ -27426,37 +32656,40 @@ private Builder( public Builder clear() { super.clear(); bitField0_ = 0; - uid_ = 0; - gid_ = 0; - user_ = ""; - group_ = ""; - effectiveUid_ = 0; - effectiveGid_ = 0; - effectiveUser_ = ""; - effectiveGroup_ = ""; - fsUid_ = 0; - fsGid_ = 0; - fsUser_ = ""; - fsGroup_ = ""; - capEffective_ = 0L; - capPermitted_ = 0L; + if (matchedRulesBuilder_ == null) { + matchedRules_ = java.util.Collections.emptyList(); + } else { + matchedRules_ = null; + matchedRulesBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + netns_ = 0; + ifindex_ = 0; + ifname_ = ""; + if (flowNodesBuilder_ == null) { + flowNodes_ = java.util.Collections.emptyList(); + } else { + flowNodes_ = null; + flowNodesBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000010); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_Credentials_descriptor; + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_NetworkDeviceNode_descriptor; } @java.lang.Override - public com.dd.cws.adv1.pb.SecDumpProto.Credentials getDefaultInstanceForType() { - return com.dd.cws.adv1.pb.SecDumpProto.Credentials.getDefaultInstance(); + public com.dd.cws.adv1.pb.SecDumpProto.NetworkDeviceNode getDefaultInstanceForType() { + return com.dd.cws.adv1.pb.SecDumpProto.NetworkDeviceNode.getDefaultInstance(); } @java.lang.Override - public com.dd.cws.adv1.pb.SecDumpProto.Credentials build() { - com.dd.cws.adv1.pb.SecDumpProto.Credentials result = buildPartial(); + public com.dd.cws.adv1.pb.SecDumpProto.NetworkDeviceNode build() { + com.dd.cws.adv1.pb.SecDumpProto.NetworkDeviceNode result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -27464,56 +32697,45 @@ public com.dd.cws.adv1.pb.SecDumpProto.Credentials build() { } @java.lang.Override - public com.dd.cws.adv1.pb.SecDumpProto.Credentials buildPartial() { - com.dd.cws.adv1.pb.SecDumpProto.Credentials result = new com.dd.cws.adv1.pb.SecDumpProto.Credentials(this); + public com.dd.cws.adv1.pb.SecDumpProto.NetworkDeviceNode buildPartial() { + com.dd.cws.adv1.pb.SecDumpProto.NetworkDeviceNode result = new com.dd.cws.adv1.pb.SecDumpProto.NetworkDeviceNode(this); + buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0(com.dd.cws.adv1.pb.SecDumpProto.Credentials result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.uid_ = uid_; + private void buildPartialRepeatedFields(com.dd.cws.adv1.pb.SecDumpProto.NetworkDeviceNode result) { + if (matchedRulesBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + matchedRules_ = java.util.Collections.unmodifiableList(matchedRules_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.matchedRules_ = matchedRules_; + } else { + result.matchedRules_ = matchedRulesBuilder_.build(); + } + if (flowNodesBuilder_ == null) { + if (((bitField0_ & 0x00000010) != 0)) { + flowNodes_ = java.util.Collections.unmodifiableList(flowNodes_); + bitField0_ = (bitField0_ & ~0x00000010); + } + result.flowNodes_ = flowNodes_; + } else { + result.flowNodes_ = flowNodesBuilder_.build(); } + } + + private void buildPartial0(com.dd.cws.adv1.pb.SecDumpProto.NetworkDeviceNode result) { + int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { - result.gid_ = gid_; + result.netns_ = netns_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.user_ = user_; + result.ifindex_ = ifindex_; } if (((from_bitField0_ & 0x00000008) != 0)) { - result.group_ = group_; - } - if (((from_bitField0_ & 0x00000010) != 0)) { - result.effectiveUid_ = effectiveUid_; - } - if (((from_bitField0_ & 0x00000020) != 0)) { - result.effectiveGid_ = effectiveGid_; - } - if (((from_bitField0_ & 0x00000040) != 0)) { - result.effectiveUser_ = effectiveUser_; - } - if (((from_bitField0_ & 0x00000080) != 0)) { - result.effectiveGroup_ = effectiveGroup_; - } - if (((from_bitField0_ & 0x00000100) != 0)) { - result.fsUid_ = fsUid_; - } - if (((from_bitField0_ & 0x00000200) != 0)) { - result.fsGid_ = fsGid_; - } - if (((from_bitField0_ & 0x00000400) != 0)) { - result.fsUser_ = fsUser_; - } - if (((from_bitField0_ & 0x00000800) != 0)) { - result.fsGroup_ = fsGroup_; - } - if (((from_bitField0_ & 0x00001000) != 0)) { - result.capEffective_ = capEffective_; - } - if (((from_bitField0_ & 0x00002000) != 0)) { - result.capPermitted_ = capPermitted_; + result.ifname_ = ifname_; } } @@ -27551,69 +32773,78 @@ public Builder addRepeatedField( } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.dd.cws.adv1.pb.SecDumpProto.Credentials) { - return mergeFrom((com.dd.cws.adv1.pb.SecDumpProto.Credentials)other); + if (other instanceof com.dd.cws.adv1.pb.SecDumpProto.NetworkDeviceNode) { + return mergeFrom((com.dd.cws.adv1.pb.SecDumpProto.NetworkDeviceNode)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.dd.cws.adv1.pb.SecDumpProto.Credentials other) { - if (other == com.dd.cws.adv1.pb.SecDumpProto.Credentials.getDefaultInstance()) return this; - if (other.getUid() != 0) { - setUid(other.getUid()); - } - if (other.getGid() != 0) { - setGid(other.getGid()); - } - if (!other.getUser().isEmpty()) { - user_ = other.user_; - bitField0_ |= 0x00000004; - onChanged(); - } - if (!other.getGroup().isEmpty()) { - group_ = other.group_; - bitField0_ |= 0x00000008; - onChanged(); - } - if (other.getEffectiveUid() != 0) { - setEffectiveUid(other.getEffectiveUid()); - } - if (other.getEffectiveGid() != 0) { - setEffectiveGid(other.getEffectiveGid()); - } - if (!other.getEffectiveUser().isEmpty()) { - effectiveUser_ = other.effectiveUser_; - bitField0_ |= 0x00000040; - onChanged(); - } - if (!other.getEffectiveGroup().isEmpty()) { - effectiveGroup_ = other.effectiveGroup_; - bitField0_ |= 0x00000080; - onChanged(); - } - if (other.getFsUid() != 0) { - setFsUid(other.getFsUid()); + public Builder mergeFrom(com.dd.cws.adv1.pb.SecDumpProto.NetworkDeviceNode other) { + if (other == com.dd.cws.adv1.pb.SecDumpProto.NetworkDeviceNode.getDefaultInstance()) return this; + if (matchedRulesBuilder_ == null) { + if (!other.matchedRules_.isEmpty()) { + if (matchedRules_.isEmpty()) { + matchedRules_ = other.matchedRules_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureMatchedRulesIsMutable(); + matchedRules_.addAll(other.matchedRules_); + } + onChanged(); + } + } else { + if (!other.matchedRules_.isEmpty()) { + if (matchedRulesBuilder_.isEmpty()) { + matchedRulesBuilder_.dispose(); + matchedRulesBuilder_ = null; + matchedRules_ = other.matchedRules_; + bitField0_ = (bitField0_ & ~0x00000001); + matchedRulesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getMatchedRulesFieldBuilder() : null; + } else { + matchedRulesBuilder_.addAllMessages(other.matchedRules_); + } + } } - if (other.getFsGid() != 0) { - setFsGid(other.getFsGid()); + if (other.getNetns() != 0) { + setNetns(other.getNetns()); } - if (!other.getFsUser().isEmpty()) { - fsUser_ = other.fsUser_; - bitField0_ |= 0x00000400; - onChanged(); + if (other.getIfindex() != 0) { + setIfindex(other.getIfindex()); } - if (!other.getFsGroup().isEmpty()) { - fsGroup_ = other.fsGroup_; - bitField0_ |= 0x00000800; + if (!other.getIfname().isEmpty()) { + ifname_ = other.ifname_; + bitField0_ |= 0x00000008; onChanged(); } - if (other.getCapEffective() != 0L) { - setCapEffective(other.getCapEffective()); - } - if (other.getCapPermitted() != 0L) { - setCapPermitted(other.getCapPermitted()); + if (flowNodesBuilder_ == null) { + if (!other.flowNodes_.isEmpty()) { + if (flowNodes_.isEmpty()) { + flowNodes_ = other.flowNodes_; + bitField0_ = (bitField0_ & ~0x00000010); + } else { + ensureFlowNodesIsMutable(); + flowNodes_.addAll(other.flowNodes_); + } + onChanged(); + } + } else { + if (!other.flowNodes_.isEmpty()) { + if (flowNodesBuilder_.isEmpty()) { + flowNodesBuilder_.dispose(); + flowNodesBuilder_ = null; + flowNodes_ = other.flowNodes_; + bitField0_ = (bitField0_ & ~0x00000010); + flowNodesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getFlowNodesFieldBuilder() : null; + } else { + flowNodesBuilder_.addAllMessages(other.flowNodes_); + } + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -27641,76 +32872,47 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - uid_ = input.readUInt32(); - bitField0_ |= 0x00000001; + case 10: { + com.dd.cws.adv1.pb.SecDumpProto.MatchedRule m = + input.readMessage( + com.dd.cws.adv1.pb.SecDumpProto.MatchedRule.parser(), + extensionRegistry); + if (matchedRulesBuilder_ == null) { + ensureMatchedRulesIsMutable(); + matchedRules_.add(m); + } else { + matchedRulesBuilder_.addMessage(m); + } break; - } // case 8 + } // case 10 case 16: { - gid_ = input.readUInt32(); + netns_ = input.readUInt32(); bitField0_ |= 0x00000002; break; } // case 16 - case 26: { - user_ = input.readStringRequireUtf8(); + case 24: { + ifindex_ = input.readUInt32(); bitField0_ |= 0x00000004; break; - } // case 26 + } // case 24 case 34: { - group_ = input.readStringRequireUtf8(); + ifname_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000008; break; } // case 34 - case 40: { - effectiveUid_ = input.readUInt32(); - bitField0_ |= 0x00000010; - break; - } // case 40 - case 48: { - effectiveGid_ = input.readUInt32(); - bitField0_ |= 0x00000020; - break; - } // case 48 - case 58: { - effectiveUser_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000040; - break; - } // case 58 - case 66: { - effectiveGroup_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000080; - break; - } // case 66 - case 72: { - fsUid_ = input.readUInt32(); - bitField0_ |= 0x00000100; - break; - } // case 72 - case 80: { - fsGid_ = input.readUInt32(); - bitField0_ |= 0x00000200; - break; - } // case 80 - case 90: { - fsUser_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000400; - break; - } // case 90 - case 98: { - fsGroup_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000800; - break; - } // case 98 - case 104: { - capEffective_ = input.readUInt64(); - bitField0_ |= 0x00001000; - break; - } // case 104 - case 112: { - capPermitted_ = input.readUInt64(); - bitField0_ |= 0x00002000; + case 42: { + com.dd.cws.adv1.pb.SecDumpProto.FlowNode m = + input.readMessage( + com.dd.cws.adv1.pb.SecDumpProto.FlowNode.parser(), + extensionRegistry); + if (flowNodesBuilder_ == null) { + ensureFlowNodesIsMutable(); + flowNodes_.add(m); + } else { + flowNodesBuilder_.addMessage(m); + } break; - } // case 112 + } // case 42 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag @@ -27728,692 +32930,620 @@ public Builder mergeFrom( } private int bitField0_; - private int uid_ ; - /** - * uint32 uid = 1; - * @return The uid. - */ - @java.lang.Override - public int getUid() { - return uid_; - } - /** - * uint32 uid = 1; - * @param value The uid to set. - * @return This builder for chaining. - */ - public Builder setUid(int value) { - - uid_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - /** - * uint32 uid = 1; - * @return This builder for chaining. - */ - public Builder clearUid() { - bitField0_ = (bitField0_ & ~0x00000001); - uid_ = 0; - onChanged(); - return this; - } - - private int gid_ ; - /** - * uint32 gid = 2; - * @return The gid. - */ - @java.lang.Override - public int getGid() { - return gid_; - } - /** - * uint32 gid = 2; - * @param value The gid to set. - * @return This builder for chaining. - */ - public Builder setGid(int value) { - - gid_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - /** - * uint32 gid = 2; - * @return This builder for chaining. - */ - public Builder clearGid() { - bitField0_ = (bitField0_ & ~0x00000002); - gid_ = 0; - onChanged(); - return this; - } - - private java.lang.Object user_ = ""; - /** - * string user = 3; - * @return The user. - */ - public java.lang.String getUser() { - java.lang.Object ref = user_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - user_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * string user = 3; - * @return The bytes for user. - */ - public com.google.protobuf.ByteString - getUserBytes() { - java.lang.Object ref = user_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - user_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * string user = 3; - * @param value The user to set. - * @return This builder for chaining. - */ - public Builder setUser( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } - user_ = value; - bitField0_ |= 0x00000004; - onChanged(); - return this; - } - /** - * string user = 3; - * @return This builder for chaining. - */ - public Builder clearUser() { - user_ = getDefaultInstance().getUser(); - bitField0_ = (bitField0_ & ~0x00000004); - onChanged(); - return this; - } - /** - * string user = 3; - * @param value The bytes for user to set. - * @return This builder for chaining. - */ - public Builder setUserBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } - checkByteStringIsUtf8(value); - user_ = value; - bitField0_ |= 0x00000004; - onChanged(); - return this; + private java.util.List matchedRules_ = + java.util.Collections.emptyList(); + private void ensureMatchedRulesIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + matchedRules_ = new java.util.ArrayList(matchedRules_); + bitField0_ |= 0x00000001; + } } - private java.lang.Object group_ = ""; + private com.google.protobuf.RepeatedFieldBuilderV3< + com.dd.cws.adv1.pb.SecDumpProto.MatchedRule, com.dd.cws.adv1.pb.SecDumpProto.MatchedRule.Builder, com.dd.cws.adv1.pb.SecDumpProto.MatchedRuleOrBuilder> matchedRulesBuilder_; + /** - * string group = 4; - * @return The group. + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 1; */ - public java.lang.String getGroup() { - java.lang.Object ref = group_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - group_ = s; - return s; + public java.util.List getMatchedRulesList() { + if (matchedRulesBuilder_ == null) { + return java.util.Collections.unmodifiableList(matchedRules_); } else { - return (java.lang.String) ref; + return matchedRulesBuilder_.getMessageList(); } } /** - * string group = 4; - * @return The bytes for group. + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 1; */ - public com.google.protobuf.ByteString - getGroupBytes() { - java.lang.Object ref = group_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - group_ = b; - return b; + public int getMatchedRulesCount() { + if (matchedRulesBuilder_ == null) { + return matchedRules_.size(); } else { - return (com.google.protobuf.ByteString) ref; + return matchedRulesBuilder_.getCount(); } } /** - * string group = 4; - * @param value The group to set. - * @return This builder for chaining. + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 1; */ - public Builder setGroup( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } - group_ = value; - bitField0_ |= 0x00000008; - onChanged(); - return this; + public com.dd.cws.adv1.pb.SecDumpProto.MatchedRule getMatchedRules(int index) { + if (matchedRulesBuilder_ == null) { + return matchedRules_.get(index); + } else { + return matchedRulesBuilder_.getMessage(index); + } } /** - * string group = 4; - * @return This builder for chaining. + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 1; */ - public Builder clearGroup() { - group_ = getDefaultInstance().getGroup(); - bitField0_ = (bitField0_ & ~0x00000008); - onChanged(); + public Builder setMatchedRules( + int index, com.dd.cws.adv1.pb.SecDumpProto.MatchedRule value) { + if (matchedRulesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureMatchedRulesIsMutable(); + matchedRules_.set(index, value); + onChanged(); + } else { + matchedRulesBuilder_.setMessage(index, value); + } return this; } /** - * string group = 4; - * @param value The bytes for group to set. - * @return This builder for chaining. + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 1; */ - public Builder setGroupBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } - checkByteStringIsUtf8(value); - group_ = value; - bitField0_ |= 0x00000008; - onChanged(); + public Builder setMatchedRules( + int index, com.dd.cws.adv1.pb.SecDumpProto.MatchedRule.Builder builderForValue) { + if (matchedRulesBuilder_ == null) { + ensureMatchedRulesIsMutable(); + matchedRules_.set(index, builderForValue.build()); + onChanged(); + } else { + matchedRulesBuilder_.setMessage(index, builderForValue.build()); + } return this; } - - private int effectiveUid_ ; - /** - * uint32 effective_uid = 5; - * @return The effectiveUid. - */ - @java.lang.Override - public int getEffectiveUid() { - return effectiveUid_; - } /** - * uint32 effective_uid = 5; - * @param value The effectiveUid to set. - * @return This builder for chaining. + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 1; */ - public Builder setEffectiveUid(int value) { - - effectiveUid_ = value; - bitField0_ |= 0x00000010; - onChanged(); + public Builder addMatchedRules(com.dd.cws.adv1.pb.SecDumpProto.MatchedRule value) { + if (matchedRulesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureMatchedRulesIsMutable(); + matchedRules_.add(value); + onChanged(); + } else { + matchedRulesBuilder_.addMessage(value); + } return this; } /** - * uint32 effective_uid = 5; - * @return This builder for chaining. + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 1; */ - public Builder clearEffectiveUid() { - bitField0_ = (bitField0_ & ~0x00000010); - effectiveUid_ = 0; - onChanged(); + public Builder addMatchedRules( + int index, com.dd.cws.adv1.pb.SecDumpProto.MatchedRule value) { + if (matchedRulesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureMatchedRulesIsMutable(); + matchedRules_.add(index, value); + onChanged(); + } else { + matchedRulesBuilder_.addMessage(index, value); + } return this; } - - private int effectiveGid_ ; - /** - * uint32 effective_gid = 6; - * @return The effectiveGid. - */ - @java.lang.Override - public int getEffectiveGid() { - return effectiveGid_; - } /** - * uint32 effective_gid = 6; - * @param value The effectiveGid to set. - * @return This builder for chaining. + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 1; */ - public Builder setEffectiveGid(int value) { - - effectiveGid_ = value; - bitField0_ |= 0x00000020; - onChanged(); + public Builder addMatchedRules( + com.dd.cws.adv1.pb.SecDumpProto.MatchedRule.Builder builderForValue) { + if (matchedRulesBuilder_ == null) { + ensureMatchedRulesIsMutable(); + matchedRules_.add(builderForValue.build()); + onChanged(); + } else { + matchedRulesBuilder_.addMessage(builderForValue.build()); + } return this; } /** - * uint32 effective_gid = 6; - * @return This builder for chaining. + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 1; */ - public Builder clearEffectiveGid() { - bitField0_ = (bitField0_ & ~0x00000020); - effectiveGid_ = 0; - onChanged(); + public Builder addMatchedRules( + int index, com.dd.cws.adv1.pb.SecDumpProto.MatchedRule.Builder builderForValue) { + if (matchedRulesBuilder_ == null) { + ensureMatchedRulesIsMutable(); + matchedRules_.add(index, builderForValue.build()); + onChanged(); + } else { + matchedRulesBuilder_.addMessage(index, builderForValue.build()); + } return this; } - - private java.lang.Object effectiveUser_ = ""; /** - * string effective_user = 7; - * @return The effectiveUser. + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 1; */ - public java.lang.String getEffectiveUser() { - java.lang.Object ref = effectiveUser_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - effectiveUser_ = s; - return s; + public Builder addAllMatchedRules( + java.lang.Iterable values) { + if (matchedRulesBuilder_ == null) { + ensureMatchedRulesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, matchedRules_); + onChanged(); } else { - return (java.lang.String) ref; + matchedRulesBuilder_.addAllMessages(values); } + return this; } /** - * string effective_user = 7; - * @return The bytes for effectiveUser. + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 1; */ - public com.google.protobuf.ByteString - getEffectiveUserBytes() { - java.lang.Object ref = effectiveUser_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - effectiveUser_ = b; - return b; + public Builder clearMatchedRules() { + if (matchedRulesBuilder_ == null) { + matchedRules_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); } else { - return (com.google.protobuf.ByteString) ref; + matchedRulesBuilder_.clear(); } - } - /** - * string effective_user = 7; - * @param value The effectiveUser to set. - * @return This builder for chaining. - */ - public Builder setEffectiveUser( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } - effectiveUser_ = value; - bitField0_ |= 0x00000040; - onChanged(); return this; } /** - * string effective_user = 7; - * @return This builder for chaining. + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 1; */ - public Builder clearEffectiveUser() { - effectiveUser_ = getDefaultInstance().getEffectiveUser(); - bitField0_ = (bitField0_ & ~0x00000040); - onChanged(); + public Builder removeMatchedRules(int index) { + if (matchedRulesBuilder_ == null) { + ensureMatchedRulesIsMutable(); + matchedRules_.remove(index); + onChanged(); + } else { + matchedRulesBuilder_.remove(index); + } return this; } /** - * string effective_user = 7; - * @param value The bytes for effectiveUser to set. - * @return This builder for chaining. + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 1; */ - public Builder setEffectiveUserBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } - checkByteStringIsUtf8(value); - effectiveUser_ = value; - bitField0_ |= 0x00000040; - onChanged(); - return this; + public com.dd.cws.adv1.pb.SecDumpProto.MatchedRule.Builder getMatchedRulesBuilder( + int index) { + return getMatchedRulesFieldBuilder().getBuilder(index); } - - private java.lang.Object effectiveGroup_ = ""; /** - * string effective_group = 8; - * @return The effectiveGroup. + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 1; */ - public java.lang.String getEffectiveGroup() { - java.lang.Object ref = effectiveGroup_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - effectiveGroup_ = s; - return s; - } else { - return (java.lang.String) ref; + public com.dd.cws.adv1.pb.SecDumpProto.MatchedRuleOrBuilder getMatchedRulesOrBuilder( + int index) { + if (matchedRulesBuilder_ == null) { + return matchedRules_.get(index); } else { + return matchedRulesBuilder_.getMessageOrBuilder(index); } } /** - * string effective_group = 8; - * @return The bytes for effectiveGroup. + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 1; */ - public com.google.protobuf.ByteString - getEffectiveGroupBytes() { - java.lang.Object ref = effectiveGroup_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - effectiveGroup_ = b; - return b; + public java.util.List + getMatchedRulesOrBuilderList() { + if (matchedRulesBuilder_ != null) { + return matchedRulesBuilder_.getMessageOrBuilderList(); } else { - return (com.google.protobuf.ByteString) ref; + return java.util.Collections.unmodifiableList(matchedRules_); } } /** - * string effective_group = 8; - * @param value The effectiveGroup to set. - * @return This builder for chaining. + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 1; */ - public Builder setEffectiveGroup( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } - effectiveGroup_ = value; - bitField0_ |= 0x00000080; - onChanged(); - return this; + public com.dd.cws.adv1.pb.SecDumpProto.MatchedRule.Builder addMatchedRulesBuilder() { + return getMatchedRulesFieldBuilder().addBuilder( + com.dd.cws.adv1.pb.SecDumpProto.MatchedRule.getDefaultInstance()); } /** - * string effective_group = 8; - * @return This builder for chaining. + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 1; */ - public Builder clearEffectiveGroup() { - effectiveGroup_ = getDefaultInstance().getEffectiveGroup(); - bitField0_ = (bitField0_ & ~0x00000080); - onChanged(); - return this; + public com.dd.cws.adv1.pb.SecDumpProto.MatchedRule.Builder addMatchedRulesBuilder( + int index) { + return getMatchedRulesFieldBuilder().addBuilder( + index, com.dd.cws.adv1.pb.SecDumpProto.MatchedRule.getDefaultInstance()); } /** - * string effective_group = 8; - * @param value The bytes for effectiveGroup to set. - * @return This builder for chaining. + * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 1; */ - public Builder setEffectiveGroupBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } - checkByteStringIsUtf8(value); - effectiveGroup_ = value; - bitField0_ |= 0x00000080; - onChanged(); - return this; + public java.util.List + getMatchedRulesBuilderList() { + return getMatchedRulesFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.dd.cws.adv1.pb.SecDumpProto.MatchedRule, com.dd.cws.adv1.pb.SecDumpProto.MatchedRule.Builder, com.dd.cws.adv1.pb.SecDumpProto.MatchedRuleOrBuilder> + getMatchedRulesFieldBuilder() { + if (matchedRulesBuilder_ == null) { + matchedRulesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.dd.cws.adv1.pb.SecDumpProto.MatchedRule, com.dd.cws.adv1.pb.SecDumpProto.MatchedRule.Builder, com.dd.cws.adv1.pb.SecDumpProto.MatchedRuleOrBuilder>( + matchedRules_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + matchedRules_ = null; + } + return matchedRulesBuilder_; } - private int fsUid_ ; + private int netns_ ; /** - * uint32 fs_uid = 9; - * @return The fsUid. + * uint32 netns = 2; + * @return The netns. */ @java.lang.Override - public int getFsUid() { - return fsUid_; + public int getNetns() { + return netns_; } /** - * uint32 fs_uid = 9; - * @param value The fsUid to set. + * uint32 netns = 2; + * @param value The netns to set. * @return This builder for chaining. */ - public Builder setFsUid(int value) { + public Builder setNetns(int value) { - fsUid_ = value; - bitField0_ |= 0x00000100; + netns_ = value; + bitField0_ |= 0x00000002; onChanged(); return this; } /** - * uint32 fs_uid = 9; + * uint32 netns = 2; * @return This builder for chaining. */ - public Builder clearFsUid() { - bitField0_ = (bitField0_ & ~0x00000100); - fsUid_ = 0; + public Builder clearNetns() { + bitField0_ = (bitField0_ & ~0x00000002); + netns_ = 0; onChanged(); return this; } - private int fsGid_ ; + private int ifindex_ ; /** - * uint32 fs_gid = 10; - * @return The fsGid. + * uint32 ifindex = 3; + * @return The ifindex. */ @java.lang.Override - public int getFsGid() { - return fsGid_; + public int getIfindex() { + return ifindex_; } /** - * uint32 fs_gid = 10; - * @param value The fsGid to set. + * uint32 ifindex = 3; + * @param value The ifindex to set. * @return This builder for chaining. */ - public Builder setFsGid(int value) { + public Builder setIfindex(int value) { - fsGid_ = value; - bitField0_ |= 0x00000200; + ifindex_ = value; + bitField0_ |= 0x00000004; onChanged(); return this; } /** - * uint32 fs_gid = 10; + * uint32 ifindex = 3; * @return This builder for chaining. */ - public Builder clearFsGid() { - bitField0_ = (bitField0_ & ~0x00000200); - fsGid_ = 0; + public Builder clearIfindex() { + bitField0_ = (bitField0_ & ~0x00000004); + ifindex_ = 0; onChanged(); return this; } - private java.lang.Object fsUser_ = ""; + private java.lang.Object ifname_ = ""; /** - * string fs_user = 11; - * @return The fsUser. + * string ifname = 4; + * @return The ifname. */ - public java.lang.String getFsUser() { - java.lang.Object ref = fsUser_; + public java.lang.String getIfname() { + java.lang.Object ref = ifname_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); - fsUser_ = s; + ifname_ = s; return s; } else { return (java.lang.String) ref; } } /** - * string fs_user = 11; - * @return The bytes for fsUser. + * string ifname = 4; + * @return The bytes for ifname. */ public com.google.protobuf.ByteString - getFsUserBytes() { - java.lang.Object ref = fsUser_; + getIfnameBytes() { + java.lang.Object ref = ifname_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); - fsUser_ = b; + ifname_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** - * string fs_user = 11; - * @param value The fsUser to set. + * string ifname = 4; + * @param value The ifname to set. * @return This builder for chaining. */ - public Builder setFsUser( + public Builder setIfname( java.lang.String value) { if (value == null) { throw new NullPointerException(); } - fsUser_ = value; - bitField0_ |= 0x00000400; + ifname_ = value; + bitField0_ |= 0x00000008; onChanged(); return this; } /** - * string fs_user = 11; + * string ifname = 4; * @return This builder for chaining. */ - public Builder clearFsUser() { - fsUser_ = getDefaultInstance().getFsUser(); - bitField0_ = (bitField0_ & ~0x00000400); + public Builder clearIfname() { + ifname_ = getDefaultInstance().getIfname(); + bitField0_ = (bitField0_ & ~0x00000008); onChanged(); return this; } /** - * string fs_user = 11; - * @param value The bytes for fsUser to set. + * string ifname = 4; + * @param value The bytes for ifname to set. * @return This builder for chaining. */ - public Builder setFsUserBytes( + public Builder setIfnameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); - fsUser_ = value; - bitField0_ |= 0x00000400; + ifname_ = value; + bitField0_ |= 0x00000008; onChanged(); return this; } - private java.lang.Object fsGroup_ = ""; + private java.util.List flowNodes_ = + java.util.Collections.emptyList(); + private void ensureFlowNodesIsMutable() { + if (!((bitField0_ & 0x00000010) != 0)) { + flowNodes_ = new java.util.ArrayList(flowNodes_); + bitField0_ |= 0x00000010; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.dd.cws.adv1.pb.SecDumpProto.FlowNode, com.dd.cws.adv1.pb.SecDumpProto.FlowNode.Builder, com.dd.cws.adv1.pb.SecDumpProto.FlowNodeOrBuilder> flowNodesBuilder_; + /** - * string fs_group = 12; - * @return The fsGroup. + * repeated .datadog.cws.dumpsv1.FlowNode flow_nodes = 5; */ - public java.lang.String getFsGroup() { - java.lang.Object ref = fsGroup_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - fsGroup_ = s; - return s; + public java.util.List getFlowNodesList() { + if (flowNodesBuilder_ == null) { + return java.util.Collections.unmodifiableList(flowNodes_); } else { - return (java.lang.String) ref; + return flowNodesBuilder_.getMessageList(); } } /** - * string fs_group = 12; - * @return The bytes for fsGroup. + * repeated .datadog.cws.dumpsv1.FlowNode flow_nodes = 5; */ - public com.google.protobuf.ByteString - getFsGroupBytes() { - java.lang.Object ref = fsGroup_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - fsGroup_ = b; - return b; + public int getFlowNodesCount() { + if (flowNodesBuilder_ == null) { + return flowNodes_.size(); + } else { + return flowNodesBuilder_.getCount(); + } + } + /** + * repeated .datadog.cws.dumpsv1.FlowNode flow_nodes = 5; + */ + public com.dd.cws.adv1.pb.SecDumpProto.FlowNode getFlowNodes(int index) { + if (flowNodesBuilder_ == null) { + return flowNodes_.get(index); + } else { + return flowNodesBuilder_.getMessage(index); + } + } + /** + * repeated .datadog.cws.dumpsv1.FlowNode flow_nodes = 5; + */ + public Builder setFlowNodes( + int index, com.dd.cws.adv1.pb.SecDumpProto.FlowNode value) { + if (flowNodesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureFlowNodesIsMutable(); + flowNodes_.set(index, value); + onChanged(); + } else { + flowNodesBuilder_.setMessage(index, value); + } + return this; + } + /** + * repeated .datadog.cws.dumpsv1.FlowNode flow_nodes = 5; + */ + public Builder setFlowNodes( + int index, com.dd.cws.adv1.pb.SecDumpProto.FlowNode.Builder builderForValue) { + if (flowNodesBuilder_ == null) { + ensureFlowNodesIsMutable(); + flowNodes_.set(index, builderForValue.build()); + onChanged(); + } else { + flowNodesBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .datadog.cws.dumpsv1.FlowNode flow_nodes = 5; + */ + public Builder addFlowNodes(com.dd.cws.adv1.pb.SecDumpProto.FlowNode value) { + if (flowNodesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureFlowNodesIsMutable(); + flowNodes_.add(value); + onChanged(); + } else { + flowNodesBuilder_.addMessage(value); + } + return this; + } + /** + * repeated .datadog.cws.dumpsv1.FlowNode flow_nodes = 5; + */ + public Builder addFlowNodes( + int index, com.dd.cws.adv1.pb.SecDumpProto.FlowNode value) { + if (flowNodesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureFlowNodesIsMutable(); + flowNodes_.add(index, value); + onChanged(); + } else { + flowNodesBuilder_.addMessage(index, value); + } + return this; + } + /** + * repeated .datadog.cws.dumpsv1.FlowNode flow_nodes = 5; + */ + public Builder addFlowNodes( + com.dd.cws.adv1.pb.SecDumpProto.FlowNode.Builder builderForValue) { + if (flowNodesBuilder_ == null) { + ensureFlowNodesIsMutable(); + flowNodes_.add(builderForValue.build()); + onChanged(); + } else { + flowNodesBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * repeated .datadog.cws.dumpsv1.FlowNode flow_nodes = 5; + */ + public Builder addFlowNodes( + int index, com.dd.cws.adv1.pb.SecDumpProto.FlowNode.Builder builderForValue) { + if (flowNodesBuilder_ == null) { + ensureFlowNodesIsMutable(); + flowNodes_.add(index, builderForValue.build()); + onChanged(); } else { - return (com.google.protobuf.ByteString) ref; + flowNodesBuilder_.addMessage(index, builderForValue.build()); } + return this; } /** - * string fs_group = 12; - * @param value The fsGroup to set. - * @return This builder for chaining. + * repeated .datadog.cws.dumpsv1.FlowNode flow_nodes = 5; */ - public Builder setFsGroup( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } - fsGroup_ = value; - bitField0_ |= 0x00000800; - onChanged(); + public Builder addAllFlowNodes( + java.lang.Iterable values) { + if (flowNodesBuilder_ == null) { + ensureFlowNodesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, flowNodes_); + onChanged(); + } else { + flowNodesBuilder_.addAllMessages(values); + } return this; } /** - * string fs_group = 12; - * @return This builder for chaining. + * repeated .datadog.cws.dumpsv1.FlowNode flow_nodes = 5; */ - public Builder clearFsGroup() { - fsGroup_ = getDefaultInstance().getFsGroup(); - bitField0_ = (bitField0_ & ~0x00000800); - onChanged(); + public Builder clearFlowNodes() { + if (flowNodesBuilder_ == null) { + flowNodes_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + } else { + flowNodesBuilder_.clear(); + } return this; } /** - * string fs_group = 12; - * @param value The bytes for fsGroup to set. - * @return This builder for chaining. + * repeated .datadog.cws.dumpsv1.FlowNode flow_nodes = 5; */ - public Builder setFsGroupBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } - checkByteStringIsUtf8(value); - fsGroup_ = value; - bitField0_ |= 0x00000800; - onChanged(); + public Builder removeFlowNodes(int index) { + if (flowNodesBuilder_ == null) { + ensureFlowNodesIsMutable(); + flowNodes_.remove(index); + onChanged(); + } else { + flowNodesBuilder_.remove(index); + } return this; } - - private long capEffective_ ; /** - * uint64 cap_effective = 13; - * @return The capEffective. + * repeated .datadog.cws.dumpsv1.FlowNode flow_nodes = 5; */ - @java.lang.Override - public long getCapEffective() { - return capEffective_; + public com.dd.cws.adv1.pb.SecDumpProto.FlowNode.Builder getFlowNodesBuilder( + int index) { + return getFlowNodesFieldBuilder().getBuilder(index); } /** - * uint64 cap_effective = 13; - * @param value The capEffective to set. - * @return This builder for chaining. + * repeated .datadog.cws.dumpsv1.FlowNode flow_nodes = 5; */ - public Builder setCapEffective(long value) { - - capEffective_ = value; - bitField0_ |= 0x00001000; - onChanged(); - return this; + public com.dd.cws.adv1.pb.SecDumpProto.FlowNodeOrBuilder getFlowNodesOrBuilder( + int index) { + if (flowNodesBuilder_ == null) { + return flowNodes_.get(index); } else { + return flowNodesBuilder_.getMessageOrBuilder(index); + } } /** - * uint64 cap_effective = 13; - * @return This builder for chaining. + * repeated .datadog.cws.dumpsv1.FlowNode flow_nodes = 5; */ - public Builder clearCapEffective() { - bitField0_ = (bitField0_ & ~0x00001000); - capEffective_ = 0L; - onChanged(); - return this; + public java.util.List + getFlowNodesOrBuilderList() { + if (flowNodesBuilder_ != null) { + return flowNodesBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(flowNodes_); + } } - - private long capPermitted_ ; /** - * uint64 cap_permitted = 14; - * @return The capPermitted. + * repeated .datadog.cws.dumpsv1.FlowNode flow_nodes = 5; */ - @java.lang.Override - public long getCapPermitted() { - return capPermitted_; + public com.dd.cws.adv1.pb.SecDumpProto.FlowNode.Builder addFlowNodesBuilder() { + return getFlowNodesFieldBuilder().addBuilder( + com.dd.cws.adv1.pb.SecDumpProto.FlowNode.getDefaultInstance()); } /** - * uint64 cap_permitted = 14; - * @param value The capPermitted to set. - * @return This builder for chaining. + * repeated .datadog.cws.dumpsv1.FlowNode flow_nodes = 5; */ - public Builder setCapPermitted(long value) { - - capPermitted_ = value; - bitField0_ |= 0x00002000; - onChanged(); - return this; + public com.dd.cws.adv1.pb.SecDumpProto.FlowNode.Builder addFlowNodesBuilder( + int index) { + return getFlowNodesFieldBuilder().addBuilder( + index, com.dd.cws.adv1.pb.SecDumpProto.FlowNode.getDefaultInstance()); } /** - * uint64 cap_permitted = 14; - * @return This builder for chaining. + * repeated .datadog.cws.dumpsv1.FlowNode flow_nodes = 5; */ - public Builder clearCapPermitted() { - bitField0_ = (bitField0_ & ~0x00002000); - capPermitted_ = 0L; - onChanged(); - return this; + public java.util.List + getFlowNodesBuilderList() { + return getFlowNodesFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.dd.cws.adv1.pb.SecDumpProto.FlowNode, com.dd.cws.adv1.pb.SecDumpProto.FlowNode.Builder, com.dd.cws.adv1.pb.SecDumpProto.FlowNodeOrBuilder> + getFlowNodesFieldBuilder() { + if (flowNodesBuilder_ == null) { + flowNodesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.dd.cws.adv1.pb.SecDumpProto.FlowNode, com.dd.cws.adv1.pb.SecDumpProto.FlowNode.Builder, com.dd.cws.adv1.pb.SecDumpProto.FlowNodeOrBuilder>( + flowNodes_, + ((bitField0_ & 0x00000010) != 0), + getParentForChildren(), + isClean()); + flowNodes_ = null; + } + return flowNodesBuilder_; } @java.lang.Override public final Builder setUnknownFields( @@ -28428,23 +33558,23 @@ public final Builder mergeUnknownFields( } - // @@protoc_insertion_point(builder_scope:datadog.cws.dumpsv1.Credentials) + // @@protoc_insertion_point(builder_scope:datadog.cws.dumpsv1.NetworkDeviceNode) } - // @@protoc_insertion_point(class_scope:datadog.cws.dumpsv1.Credentials) - private static final com.dd.cws.adv1.pb.SecDumpProto.Credentials DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:datadog.cws.dumpsv1.NetworkDeviceNode) + private static final com.dd.cws.adv1.pb.SecDumpProto.NetworkDeviceNode DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new com.dd.cws.adv1.pb.SecDumpProto.Credentials(); + DEFAULT_INSTANCE = new com.dd.cws.adv1.pb.SecDumpProto.NetworkDeviceNode(); } - public static com.dd.cws.adv1.pb.SecDumpProto.Credentials getDefaultInstance() { + public static com.dd.cws.adv1.pb.SecDumpProto.NetworkDeviceNode getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override - public Credentials parsePartialFrom( + public NetworkDeviceNode parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -28463,890 +33593,1502 @@ public Credentials parsePartialFrom( } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public com.dd.cws.adv1.pb.SecDumpProto.Credentials getDefaultInstanceForType() { + public com.dd.cws.adv1.pb.SecDumpProto.NetworkDeviceNode getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } - public interface SocketNodeOrBuilder extends - // @@protoc_insertion_point(interface_extends:datadog.cws.dumpsv1.SocketNode) + public interface FlowNodeOrBuilder extends + // @@protoc_insertion_point(interface_extends:datadog.cws.dumpsv1.FlowNode) com.google.protobuf.MessageOrBuilder { /** - * string family = 1; - * @return The family. + * repeated string image_tags = 1; + * @return A list containing the imageTags. + */ + java.util.List + getImageTagsList(); + /** + * repeated string image_tags = 1; + * @return The count of imageTags. + */ + int getImageTagsCount(); + /** + * repeated string image_tags = 1; + * @param index The index of the element to return. + * @return The imageTags at the given index. + */ + java.lang.String getImageTags(int index); + /** + * repeated string image_tags = 1; + * @param index The index of the value to return. + * @return The bytes of the imageTags at the given index. + */ + com.google.protobuf.ByteString + getImageTagsBytes(int index); + + /** + * .datadog.cws.dumpsv1.IPPortContext source = 2; + * @return Whether the source field is set. + */ + boolean hasSource(); + /** + * .datadog.cws.dumpsv1.IPPortContext source = 2; + * @return The source. + */ + com.dd.cws.adv1.pb.SecDumpProto.IPPortContext getSource(); + /** + * .datadog.cws.dumpsv1.IPPortContext source = 2; + */ + com.dd.cws.adv1.pb.SecDumpProto.IPPortContextOrBuilder getSourceOrBuilder(); + + /** + * .datadog.cws.dumpsv1.IPPortContext destination = 3; + * @return Whether the destination field is set. + */ + boolean hasDestination(); + /** + * .datadog.cws.dumpsv1.IPPortContext destination = 3; + * @return The destination. + */ + com.dd.cws.adv1.pb.SecDumpProto.IPPortContext getDestination(); + /** + * .datadog.cws.dumpsv1.IPPortContext destination = 3; + */ + com.dd.cws.adv1.pb.SecDumpProto.IPPortContextOrBuilder getDestinationOrBuilder(); + + /** + * uint32 l3_protocol = 4; + * @return The l3Protocol. + */ + int getL3Protocol(); + + /** + * uint32 l4_protocol = 5; + * @return The l4Protocol. + */ + int getL4Protocol(); + + /** + * .datadog.cws.dumpsv1.NetworkStats ingress = 6; + * @return Whether the ingress field is set. + */ + boolean hasIngress(); + /** + * .datadog.cws.dumpsv1.NetworkStats ingress = 6; + * @return The ingress. + */ + com.dd.cws.adv1.pb.SecDumpProto.NetworkStats getIngress(); + /** + * .datadog.cws.dumpsv1.NetworkStats ingress = 6; + */ + com.dd.cws.adv1.pb.SecDumpProto.NetworkStatsOrBuilder getIngressOrBuilder(); + + /** + * .datadog.cws.dumpsv1.NetworkStats egress = 7; + * @return Whether the egress field is set. + */ + boolean hasEgress(); + /** + * .datadog.cws.dumpsv1.NetworkStats egress = 7; + * @return The egress. + */ + com.dd.cws.adv1.pb.SecDumpProto.NetworkStats getEgress(); + /** + * .datadog.cws.dumpsv1.NetworkStats egress = 7; + */ + com.dd.cws.adv1.pb.SecDumpProto.NetworkStatsOrBuilder getEgressOrBuilder(); + } + /** + * Protobuf type {@code datadog.cws.dumpsv1.FlowNode} + */ + public static final class FlowNode extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:datadog.cws.dumpsv1.FlowNode) + FlowNodeOrBuilder { + private static final long serialVersionUID = 0L; + // Use FlowNode.newBuilder() to construct. + private FlowNode(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private FlowNode() { + imageTags_ = com.google.protobuf.LazyStringArrayList.EMPTY; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new FlowNode(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_FlowNode_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_FlowNode_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.dd.cws.adv1.pb.SecDumpProto.FlowNode.class, com.dd.cws.adv1.pb.SecDumpProto.FlowNode.Builder.class); + } + + public static final int IMAGE_TAGS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringList imageTags_; + /** + * repeated string image_tags = 1; + * @return A list containing the imageTags. + */ + public com.google.protobuf.ProtocolStringList + getImageTagsList() { + return imageTags_; + } + /** + * repeated string image_tags = 1; + * @return The count of imageTags. + */ + public int getImageTagsCount() { + return imageTags_.size(); + } + /** + * repeated string image_tags = 1; + * @param index The index of the element to return. + * @return The imageTags at the given index. + */ + public java.lang.String getImageTags(int index) { + return imageTags_.get(index); + } + /** + * repeated string image_tags = 1; + * @param index The index of the value to return. + * @return The bytes of the imageTags at the given index. + */ + public com.google.protobuf.ByteString + getImageTagsBytes(int index) { + return imageTags_.getByteString(index); + } + + public static final int SOURCE_FIELD_NUMBER = 2; + private com.dd.cws.adv1.pb.SecDumpProto.IPPortContext source_; + /** + * .datadog.cws.dumpsv1.IPPortContext source = 2; + * @return Whether the source field is set. + */ + @java.lang.Override + public boolean hasSource() { + return source_ != null; + } + /** + * .datadog.cws.dumpsv1.IPPortContext source = 2; + * @return The source. + */ + @java.lang.Override + public com.dd.cws.adv1.pb.SecDumpProto.IPPortContext getSource() { + return source_ == null ? com.dd.cws.adv1.pb.SecDumpProto.IPPortContext.getDefaultInstance() : source_; + } + /** + * .datadog.cws.dumpsv1.IPPortContext source = 2; + */ + @java.lang.Override + public com.dd.cws.adv1.pb.SecDumpProto.IPPortContextOrBuilder getSourceOrBuilder() { + return source_ == null ? com.dd.cws.adv1.pb.SecDumpProto.IPPortContext.getDefaultInstance() : source_; + } + + public static final int DESTINATION_FIELD_NUMBER = 3; + private com.dd.cws.adv1.pb.SecDumpProto.IPPortContext destination_; + /** + * .datadog.cws.dumpsv1.IPPortContext destination = 3; + * @return Whether the destination field is set. + */ + @java.lang.Override + public boolean hasDestination() { + return destination_ != null; + } + /** + * .datadog.cws.dumpsv1.IPPortContext destination = 3; + * @return The destination. + */ + @java.lang.Override + public com.dd.cws.adv1.pb.SecDumpProto.IPPortContext getDestination() { + return destination_ == null ? com.dd.cws.adv1.pb.SecDumpProto.IPPortContext.getDefaultInstance() : destination_; + } + /** + * .datadog.cws.dumpsv1.IPPortContext destination = 3; + */ + @java.lang.Override + public com.dd.cws.adv1.pb.SecDumpProto.IPPortContextOrBuilder getDestinationOrBuilder() { + return destination_ == null ? com.dd.cws.adv1.pb.SecDumpProto.IPPortContext.getDefaultInstance() : destination_; + } + + public static final int L3_PROTOCOL_FIELD_NUMBER = 4; + private int l3Protocol_ = 0; + /** + * uint32 l3_protocol = 4; + * @return The l3Protocol. */ - java.lang.String getFamily(); + @java.lang.Override + public int getL3Protocol() { + return l3Protocol_; + } + + public static final int L4_PROTOCOL_FIELD_NUMBER = 5; + private int l4Protocol_ = 0; /** - * string family = 1; - * @return The bytes for family. + * uint32 l4_protocol = 5; + * @return The l4Protocol. */ - com.google.protobuf.ByteString - getFamilyBytes(); + @java.lang.Override + public int getL4Protocol() { + return l4Protocol_; + } + public static final int INGRESS_FIELD_NUMBER = 6; + private com.dd.cws.adv1.pb.SecDumpProto.NetworkStats ingress_; /** - * repeated .datadog.cws.dumpsv1.BindNode bind = 2; + * .datadog.cws.dumpsv1.NetworkStats ingress = 6; + * @return Whether the ingress field is set. */ - java.util.List - getBindList(); + @java.lang.Override + public boolean hasIngress() { + return ingress_ != null; + } /** - * repeated .datadog.cws.dumpsv1.BindNode bind = 2; + * .datadog.cws.dumpsv1.NetworkStats ingress = 6; + * @return The ingress. */ - com.dd.cws.adv1.pb.SecDumpProto.BindNode getBind(int index); + @java.lang.Override + public com.dd.cws.adv1.pb.SecDumpProto.NetworkStats getIngress() { + return ingress_ == null ? com.dd.cws.adv1.pb.SecDumpProto.NetworkStats.getDefaultInstance() : ingress_; + } /** - * repeated .datadog.cws.dumpsv1.BindNode bind = 2; + * .datadog.cws.dumpsv1.NetworkStats ingress = 6; */ - int getBindCount(); + @java.lang.Override + public com.dd.cws.adv1.pb.SecDumpProto.NetworkStatsOrBuilder getIngressOrBuilder() { + return ingress_ == null ? com.dd.cws.adv1.pb.SecDumpProto.NetworkStats.getDefaultInstance() : ingress_; + } + + public static final int EGRESS_FIELD_NUMBER = 7; + private com.dd.cws.adv1.pb.SecDumpProto.NetworkStats egress_; /** - * repeated .datadog.cws.dumpsv1.BindNode bind = 2; + * .datadog.cws.dumpsv1.NetworkStats egress = 7; + * @return Whether the egress field is set. */ - java.util.List - getBindOrBuilderList(); + @java.lang.Override + public boolean hasEgress() { + return egress_ != null; + } /** - * repeated .datadog.cws.dumpsv1.BindNode bind = 2; + * .datadog.cws.dumpsv1.NetworkStats egress = 7; + * @return The egress. */ - com.dd.cws.adv1.pb.SecDumpProto.BindNodeOrBuilder getBindOrBuilder( - int index); - } - /** - * Protobuf type {@code datadog.cws.dumpsv1.SocketNode} - */ - public static final class SocketNode extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:datadog.cws.dumpsv1.SocketNode) - SocketNodeOrBuilder { - private static final long serialVersionUID = 0L; - // Use SocketNode.newBuilder() to construct. - private SocketNode(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); + @java.lang.Override + public com.dd.cws.adv1.pb.SecDumpProto.NetworkStats getEgress() { + return egress_ == null ? com.dd.cws.adv1.pb.SecDumpProto.NetworkStats.getDefaultInstance() : egress_; } - private SocketNode() { - family_ = ""; - bind_ = java.util.Collections.emptyList(); + /** + * .datadog.cws.dumpsv1.NetworkStats egress = 7; + */ + @java.lang.Override + public com.dd.cws.adv1.pb.SecDumpProto.NetworkStatsOrBuilder getEgressOrBuilder() { + return egress_ == null ? com.dd.cws.adv1.pb.SecDumpProto.NetworkStats.getDefaultInstance() : egress_; } + private byte memoizedIsInitialized = -1; @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new SocketNode(); + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_SocketNode_descriptor; + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + for (int i = 0; i < imageTags_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, imageTags_.getRaw(i)); + } + if (source_ != null) { + output.writeMessage(2, getSource()); + } + if (destination_ != null) { + output.writeMessage(3, getDestination()); + } + if (l3Protocol_ != 0) { + output.writeUInt32(4, l3Protocol_); + } + if (l4Protocol_ != 0) { + output.writeUInt32(5, l4Protocol_); + } + if (ingress_ != null) { + output.writeMessage(6, getIngress()); + } + if (egress_ != null) { + output.writeMessage(7, getEgress()); + } + getUnknownFields().writeTo(output); } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_SocketNode_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.dd.cws.adv1.pb.SecDumpProto.SocketNode.class, com.dd.cws.adv1.pb.SecDumpProto.SocketNode.Builder.class); + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + { + int dataSize = 0; + for (int i = 0; i < imageTags_.size(); i++) { + dataSize += computeStringSizeNoTag(imageTags_.getRaw(i)); + } + size += dataSize; + size += 1 * getImageTagsList().size(); + } + if (source_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getSource()); + } + if (destination_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getDestination()); + } + if (l3Protocol_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(4, l3Protocol_); + } + if (l4Protocol_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(5, l4Protocol_); + } + if (ingress_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getIngress()); + } + if (egress_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getEgress()); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; } - public static final int FAMILY_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private volatile java.lang.Object family_ = ""; - /** - * string family = 1; - * @return The family. - */ @java.lang.Override - public java.lang.String getFamily() { - java.lang.Object ref = family_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - family_ = s; - return s; + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.dd.cws.adv1.pb.SecDumpProto.FlowNode)) { + return super.equals(obj); } + com.dd.cws.adv1.pb.SecDumpProto.FlowNode other = (com.dd.cws.adv1.pb.SecDumpProto.FlowNode) obj; + + if (!getImageTagsList() + .equals(other.getImageTagsList())) return false; + if (hasSource() != other.hasSource()) return false; + if (hasSource()) { + if (!getSource() + .equals(other.getSource())) return false; + } + if (hasDestination() != other.hasDestination()) return false; + if (hasDestination()) { + if (!getDestination() + .equals(other.getDestination())) return false; + } + if (getL3Protocol() + != other.getL3Protocol()) return false; + if (getL4Protocol() + != other.getL4Protocol()) return false; + if (hasIngress() != other.hasIngress()) return false; + if (hasIngress()) { + if (!getIngress() + .equals(other.getIngress())) return false; + } + if (hasEgress() != other.hasEgress()) return false; + if (hasEgress()) { + if (!getEgress() + .equals(other.getEgress())) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; } - /** - * string family = 1; - * @return The bytes for family. - */ + @java.lang.Override - public com.google.protobuf.ByteString - getFamilyBytes() { - java.lang.Object ref = family_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - family_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getImageTagsCount() > 0) { + hash = (37 * hash) + IMAGE_TAGS_FIELD_NUMBER; + hash = (53 * hash) + getImageTagsList().hashCode(); + } + if (hasSource()) { + hash = (37 * hash) + SOURCE_FIELD_NUMBER; + hash = (53 * hash) + getSource().hashCode(); } + if (hasDestination()) { + hash = (37 * hash) + DESTINATION_FIELD_NUMBER; + hash = (53 * hash) + getDestination().hashCode(); + } + hash = (37 * hash) + L3_PROTOCOL_FIELD_NUMBER; + hash = (53 * hash) + getL3Protocol(); + hash = (37 * hash) + L4_PROTOCOL_FIELD_NUMBER; + hash = (53 * hash) + getL4Protocol(); + if (hasIngress()) { + hash = (37 * hash) + INGRESS_FIELD_NUMBER; + hash = (53 * hash) + getIngress().hashCode(); + } + if (hasEgress()) { + hash = (37 * hash) + EGRESS_FIELD_NUMBER; + hash = (53 * hash) + getEgress().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; } - public static final int BIND_FIELD_NUMBER = 2; - @SuppressWarnings("serial") - private java.util.List bind_; - /** - * repeated .datadog.cws.dumpsv1.BindNode bind = 2; - */ - @java.lang.Override - public java.util.List getBindList() { - return bind_; + public static com.dd.cws.adv1.pb.SecDumpProto.FlowNode parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); } - /** - * repeated .datadog.cws.dumpsv1.BindNode bind = 2; - */ + public static com.dd.cws.adv1.pb.SecDumpProto.FlowNode parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.dd.cws.adv1.pb.SecDumpProto.FlowNode parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.dd.cws.adv1.pb.SecDumpProto.FlowNode parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.dd.cws.adv1.pb.SecDumpProto.FlowNode parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.dd.cws.adv1.pb.SecDumpProto.FlowNode parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.dd.cws.adv1.pb.SecDumpProto.FlowNode parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.dd.cws.adv1.pb.SecDumpProto.FlowNode parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.dd.cws.adv1.pb.SecDumpProto.FlowNode parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.dd.cws.adv1.pb.SecDumpProto.FlowNode parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.dd.cws.adv1.pb.SecDumpProto.FlowNode parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.dd.cws.adv1.pb.SecDumpProto.FlowNode parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + @java.lang.Override - public java.util.List - getBindOrBuilderList() { - return bind_; + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.dd.cws.adv1.pb.SecDumpProto.FlowNode prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - /** - * repeated .datadog.cws.dumpsv1.BindNode bind = 2; - */ @java.lang.Override - public int getBindCount() { - return bind_.size(); + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - /** - * repeated .datadog.cws.dumpsv1.BindNode bind = 2; - */ + @java.lang.Override - public com.dd.cws.adv1.pb.SecDumpProto.BindNode getBind(int index) { - return bind_.get(index); + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; } /** - * repeated .datadog.cws.dumpsv1.BindNode bind = 2; + * Protobuf type {@code datadog.cws.dumpsv1.FlowNode} */ - @java.lang.Override - public com.dd.cws.adv1.pb.SecDumpProto.BindNodeOrBuilder getBindOrBuilder( - int index) { - return bind_.get(index); - } + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:datadog.cws.dumpsv1.FlowNode) + com.dd.cws.adv1.pb.SecDumpProto.FlowNodeOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_FlowNode_descriptor; + } - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_FlowNode_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.dd.cws.adv1.pb.SecDumpProto.FlowNode.class, com.dd.cws.adv1.pb.SecDumpProto.FlowNode.Builder.class); + } - memoizedIsInitialized = 1; - return true; - } + // Construct using com.dd.cws.adv1.pb.SecDumpProto.FlowNode.newBuilder() + private Builder() { - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(family_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, family_); } - for (int i = 0; i < bind_.size(); i++) { - output.writeMessage(2, bind_.get(i)); + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + imageTags_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000001); + source_ = null; + if (sourceBuilder_ != null) { + sourceBuilder_.dispose(); + sourceBuilder_ = null; + } + destination_ = null; + if (destinationBuilder_ != null) { + destinationBuilder_.dispose(); + destinationBuilder_ = null; + } + l3Protocol_ = 0; + l4Protocol_ = 0; + ingress_ = null; + if (ingressBuilder_ != null) { + ingressBuilder_.dispose(); + ingressBuilder_ = null; + } + egress_ = null; + if (egressBuilder_ != null) { + egressBuilder_.dispose(); + egressBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_FlowNode_descriptor; + } + + @java.lang.Override + public com.dd.cws.adv1.pb.SecDumpProto.FlowNode getDefaultInstanceForType() { + return com.dd.cws.adv1.pb.SecDumpProto.FlowNode.getDefaultInstance(); + } + + @java.lang.Override + public com.dd.cws.adv1.pb.SecDumpProto.FlowNode build() { + com.dd.cws.adv1.pb.SecDumpProto.FlowNode result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.dd.cws.adv1.pb.SecDumpProto.FlowNode buildPartial() { + com.dd.cws.adv1.pb.SecDumpProto.FlowNode result = new com.dd.cws.adv1.pb.SecDumpProto.FlowNode(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(com.dd.cws.adv1.pb.SecDumpProto.FlowNode result) { + if (((bitField0_ & 0x00000001) != 0)) { + imageTags_ = imageTags_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.imageTags_ = imageTags_; + } + + private void buildPartial0(com.dd.cws.adv1.pb.SecDumpProto.FlowNode result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000002) != 0)) { + result.source_ = sourceBuilder_ == null + ? source_ + : sourceBuilder_.build(); + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.destination_ = destinationBuilder_ == null + ? destination_ + : destinationBuilder_.build(); + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.l3Protocol_ = l3Protocol_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.l4Protocol_ = l4Protocol_; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.ingress_ = ingressBuilder_ == null + ? ingress_ + : ingressBuilder_.build(); + } + if (((from_bitField0_ & 0x00000040) != 0)) { + result.egress_ = egressBuilder_ == null + ? egress_ + : egressBuilder_.build(); + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.dd.cws.adv1.pb.SecDumpProto.FlowNode) { + return mergeFrom((com.dd.cws.adv1.pb.SecDumpProto.FlowNode)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.dd.cws.adv1.pb.SecDumpProto.FlowNode other) { + if (other == com.dd.cws.adv1.pb.SecDumpProto.FlowNode.getDefaultInstance()) return this; + if (!other.imageTags_.isEmpty()) { + if (imageTags_.isEmpty()) { + imageTags_ = other.imageTags_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureImageTagsIsMutable(); + imageTags_.addAll(other.imageTags_); + } + onChanged(); + } + if (other.hasSource()) { + mergeSource(other.getSource()); + } + if (other.hasDestination()) { + mergeDestination(other.getDestination()); + } + if (other.getL3Protocol() != 0) { + setL3Protocol(other.getL3Protocol()); + } + if (other.getL4Protocol() != 0) { + setL4Protocol(other.getL4Protocol()); + } + if (other.hasIngress()) { + mergeIngress(other.getIngress()); + } + if (other.hasEgress()) { + mergeEgress(other.getEgress()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + ensureImageTagsIsMutable(); + imageTags_.add(s); + break; + } // case 10 + case 18: { + input.readMessage( + getSourceFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getDestinationFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: { + l3Protocol_ = input.readUInt32(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 40: { + l4Protocol_ = input.readUInt32(); + bitField0_ |= 0x00000010; + break; + } // case 40 + case 50: { + input.readMessage( + getIngressFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000020; + break; + } // case 50 + case 58: { + input.readMessage( + getEgressFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000040; + break; + } // case 58 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private com.google.protobuf.LazyStringList imageTags_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureImageTagsIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + imageTags_ = new com.google.protobuf.LazyStringArrayList(imageTags_); + bitField0_ |= 0x00000001; + } + } + /** + * repeated string image_tags = 1; + * @return A list containing the imageTags. + */ + public com.google.protobuf.ProtocolStringList + getImageTagsList() { + return imageTags_.getUnmodifiableView(); } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(family_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, family_); + /** + * repeated string image_tags = 1; + * @return The count of imageTags. + */ + public int getImageTagsCount() { + return imageTags_.size(); } - for (int i = 0; i < bind_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, bind_.get(i)); + /** + * repeated string image_tags = 1; + * @param index The index of the element to return. + * @return The imageTags at the given index. + */ + public java.lang.String getImageTags(int index) { + return imageTags_.get(index); } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; + /** + * repeated string image_tags = 1; + * @param index The index of the value to return. + * @return The bytes of the imageTags at the given index. + */ + public com.google.protobuf.ByteString + getImageTagsBytes(int index) { + return imageTags_.getByteString(index); } - if (!(obj instanceof com.dd.cws.adv1.pb.SecDumpProto.SocketNode)) { - return super.equals(obj); + /** + * repeated string image_tags = 1; + * @param index The index to set the value at. + * @param value The imageTags to set. + * @return This builder for chaining. + */ + public Builder setImageTags( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureImageTagsIsMutable(); + imageTags_.set(index, value); + onChanged(); + return this; } - com.dd.cws.adv1.pb.SecDumpProto.SocketNode other = (com.dd.cws.adv1.pb.SecDumpProto.SocketNode) obj; - - if (!getFamily() - .equals(other.getFamily())) return false; - if (!getBindList() - .equals(other.getBindList())) return false; - if (!getUnknownFields().equals(other.getUnknownFields())) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; + /** + * repeated string image_tags = 1; + * @param value The imageTags to add. + * @return This builder for chaining. + */ + public Builder addImageTags( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureImageTagsIsMutable(); + imageTags_.add(value); + onChanged(); + return this; } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + FAMILY_FIELD_NUMBER; - hash = (53 * hash) + getFamily().hashCode(); - if (getBindCount() > 0) { - hash = (37 * hash) + BIND_FIELD_NUMBER; - hash = (53 * hash) + getBindList().hashCode(); + /** + * repeated string image_tags = 1; + * @param values The imageTags to add. + * @return This builder for chaining. + */ + public Builder addAllImageTags( + java.lang.Iterable values) { + ensureImageTagsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, imageTags_); + onChanged(); + return this; } - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.dd.cws.adv1.pb.SecDumpProto.SocketNode parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static com.dd.cws.adv1.pb.SecDumpProto.SocketNode parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static com.dd.cws.adv1.pb.SecDumpProto.SocketNode parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static com.dd.cws.adv1.pb.SecDumpProto.SocketNode parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static com.dd.cws.adv1.pb.SecDumpProto.SocketNode parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static com.dd.cws.adv1.pb.SecDumpProto.SocketNode parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static com.dd.cws.adv1.pb.SecDumpProto.SocketNode parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static com.dd.cws.adv1.pb.SecDumpProto.SocketNode parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static com.dd.cws.adv1.pb.SecDumpProto.SocketNode parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static com.dd.cws.adv1.pb.SecDumpProto.SocketNode parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static com.dd.cws.adv1.pb.SecDumpProto.SocketNode parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static com.dd.cws.adv1.pb.SecDumpProto.SocketNode parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(com.dd.cws.adv1.pb.SecDumpProto.SocketNode prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * Protobuf type {@code datadog.cws.dumpsv1.SocketNode} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:datadog.cws.dumpsv1.SocketNode) - com.dd.cws.adv1.pb.SecDumpProto.SocketNodeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_SocketNode_descriptor; + /** + * repeated string image_tags = 1; + * @return This builder for chaining. + */ + public Builder clearImageTags() { + imageTags_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_SocketNode_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.dd.cws.adv1.pb.SecDumpProto.SocketNode.class, com.dd.cws.adv1.pb.SecDumpProto.SocketNode.Builder.class); + /** + * repeated string image_tags = 1; + * @param value The bytes of the imageTags to add. + * @return This builder for chaining. + */ + public Builder addImageTagsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ensureImageTagsIsMutable(); + imageTags_.add(value); + onChanged(); + return this; } - // Construct using com.dd.cws.adv1.pb.SecDumpProto.SocketNode.newBuilder() - private Builder() { - + private com.dd.cws.adv1.pb.SecDumpProto.IPPortContext source_; + private com.google.protobuf.SingleFieldBuilderV3< + com.dd.cws.adv1.pb.SecDumpProto.IPPortContext, com.dd.cws.adv1.pb.SecDumpProto.IPPortContext.Builder, com.dd.cws.adv1.pb.SecDumpProto.IPPortContextOrBuilder> sourceBuilder_; + /** + * .datadog.cws.dumpsv1.IPPortContext source = 2; + * @return Whether the source field is set. + */ + public boolean hasSource() { + return ((bitField0_ & 0x00000002) != 0); } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - + /** + * .datadog.cws.dumpsv1.IPPortContext source = 2; + * @return The source. + */ + public com.dd.cws.adv1.pb.SecDumpProto.IPPortContext getSource() { + if (sourceBuilder_ == null) { + return source_ == null ? com.dd.cws.adv1.pb.SecDumpProto.IPPortContext.getDefaultInstance() : source_; + } else { + return sourceBuilder_.getMessage(); + } } - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - family_ = ""; - if (bindBuilder_ == null) { - bind_ = java.util.Collections.emptyList(); + /** + * .datadog.cws.dumpsv1.IPPortContext source = 2; + */ + public Builder setSource(com.dd.cws.adv1.pb.SecDumpProto.IPPortContext value) { + if (sourceBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + source_ = value; } else { - bind_ = null; - bindBuilder_.clear(); + sourceBuilder_.setMessage(value); } - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ |= 0x00000002; + onChanged(); return this; } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_SocketNode_descriptor; - } - - @java.lang.Override - public com.dd.cws.adv1.pb.SecDumpProto.SocketNode getDefaultInstanceForType() { - return com.dd.cws.adv1.pb.SecDumpProto.SocketNode.getDefaultInstance(); - } - - @java.lang.Override - public com.dd.cws.adv1.pb.SecDumpProto.SocketNode build() { - com.dd.cws.adv1.pb.SecDumpProto.SocketNode result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); + /** + * .datadog.cws.dumpsv1.IPPortContext source = 2; + */ + public Builder setSource( + com.dd.cws.adv1.pb.SecDumpProto.IPPortContext.Builder builderForValue) { + if (sourceBuilder_ == null) { + source_ = builderForValue.build(); + } else { + sourceBuilder_.setMessage(builderForValue.build()); } - return result; - } - - @java.lang.Override - public com.dd.cws.adv1.pb.SecDumpProto.SocketNode buildPartial() { - com.dd.cws.adv1.pb.SecDumpProto.SocketNode result = new com.dd.cws.adv1.pb.SecDumpProto.SocketNode(this); - buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } - onBuilt(); - return result; + bitField0_ |= 0x00000002; + onChanged(); + return this; } - - private void buildPartialRepeatedFields(com.dd.cws.adv1.pb.SecDumpProto.SocketNode result) { - if (bindBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0)) { - bind_ = java.util.Collections.unmodifiableList(bind_); - bitField0_ = (bitField0_ & ~0x00000002); + /** + * .datadog.cws.dumpsv1.IPPortContext source = 2; + */ + public Builder mergeSource(com.dd.cws.adv1.pb.SecDumpProto.IPPortContext value) { + if (sourceBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0) && + source_ != null && + source_ != com.dd.cws.adv1.pb.SecDumpProto.IPPortContext.getDefaultInstance()) { + getSourceBuilder().mergeFrom(value); + } else { + source_ = value; } - result.bind_ = bind_; } else { - result.bind_ = bindBuilder_.build(); + sourceBuilder_.mergeFrom(value); } + bitField0_ |= 0x00000002; + onChanged(); + return this; } - - private void buildPartial0(com.dd.cws.adv1.pb.SecDumpProto.SocketNode result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.family_ = family_; + /** + * .datadog.cws.dumpsv1.IPPortContext source = 2; + */ + public Builder clearSource() { + bitField0_ = (bitField0_ & ~0x00000002); + source_ = null; + if (sourceBuilder_ != null) { + sourceBuilder_.dispose(); + sourceBuilder_ = null; } + onChanged(); + return this; } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); + /** + * .datadog.cws.dumpsv1.IPPortContext source = 2; + */ + public com.dd.cws.adv1.pb.SecDumpProto.IPPortContext.Builder getSourceBuilder() { + bitField0_ |= 0x00000002; + onChanged(); + return getSourceFieldBuilder().getBuilder(); } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); + /** + * .datadog.cws.dumpsv1.IPPortContext source = 2; + */ + public com.dd.cws.adv1.pb.SecDumpProto.IPPortContextOrBuilder getSourceOrBuilder() { + if (sourceBuilder_ != null) { + return sourceBuilder_.getMessageOrBuilder(); + } else { + return source_ == null ? + com.dd.cws.adv1.pb.SecDumpProto.IPPortContext.getDefaultInstance() : source_; + } } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); + /** + * .datadog.cws.dumpsv1.IPPortContext source = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.dd.cws.adv1.pb.SecDumpProto.IPPortContext, com.dd.cws.adv1.pb.SecDumpProto.IPPortContext.Builder, com.dd.cws.adv1.pb.SecDumpProto.IPPortContextOrBuilder> + getSourceFieldBuilder() { + if (sourceBuilder_ == null) { + sourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.dd.cws.adv1.pb.SecDumpProto.IPPortContext, com.dd.cws.adv1.pb.SecDumpProto.IPPortContext.Builder, com.dd.cws.adv1.pb.SecDumpProto.IPPortContextOrBuilder>( + getSource(), + getParentForChildren(), + isClean()); + source_ = null; + } + return sourceBuilder_; } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); + + private com.dd.cws.adv1.pb.SecDumpProto.IPPortContext destination_; + private com.google.protobuf.SingleFieldBuilderV3< + com.dd.cws.adv1.pb.SecDumpProto.IPPortContext, com.dd.cws.adv1.pb.SecDumpProto.IPPortContext.Builder, com.dd.cws.adv1.pb.SecDumpProto.IPPortContextOrBuilder> destinationBuilder_; + /** + * .datadog.cws.dumpsv1.IPPortContext destination = 3; + * @return Whether the destination field is set. + */ + public boolean hasDestination() { + return ((bitField0_ & 0x00000004) != 0); } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); + /** + * .datadog.cws.dumpsv1.IPPortContext destination = 3; + * @return The destination. + */ + public com.dd.cws.adv1.pb.SecDumpProto.IPPortContext getDestination() { + if (destinationBuilder_ == null) { + return destination_ == null ? com.dd.cws.adv1.pb.SecDumpProto.IPPortContext.getDefaultInstance() : destination_; + } else { + return destinationBuilder_.getMessage(); + } } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.dd.cws.adv1.pb.SecDumpProto.SocketNode) { - return mergeFrom((com.dd.cws.adv1.pb.SecDumpProto.SocketNode)other); + /** + * .datadog.cws.dumpsv1.IPPortContext destination = 3; + */ + public Builder setDestination(com.dd.cws.adv1.pb.SecDumpProto.IPPortContext value) { + if (destinationBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + destination_ = value; } else { - super.mergeFrom(other); - return this; + destinationBuilder_.setMessage(value); } + bitField0_ |= 0x00000004; + onChanged(); + return this; } - - public Builder mergeFrom(com.dd.cws.adv1.pb.SecDumpProto.SocketNode other) { - if (other == com.dd.cws.adv1.pb.SecDumpProto.SocketNode.getDefaultInstance()) return this; - if (!other.getFamily().isEmpty()) { - family_ = other.family_; - bitField0_ |= 0x00000001; - onChanged(); + /** + * .datadog.cws.dumpsv1.IPPortContext destination = 3; + */ + public Builder setDestination( + com.dd.cws.adv1.pb.SecDumpProto.IPPortContext.Builder builderForValue) { + if (destinationBuilder_ == null) { + destination_ = builderForValue.build(); + } else { + destinationBuilder_.setMessage(builderForValue.build()); } - if (bindBuilder_ == null) { - if (!other.bind_.isEmpty()) { - if (bind_.isEmpty()) { - bind_ = other.bind_; - bitField0_ = (bitField0_ & ~0x00000002); - } else { - ensureBindIsMutable(); - bind_.addAll(other.bind_); - } - onChanged(); + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * .datadog.cws.dumpsv1.IPPortContext destination = 3; + */ + public Builder mergeDestination(com.dd.cws.adv1.pb.SecDumpProto.IPPortContext value) { + if (destinationBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0) && + destination_ != null && + destination_ != com.dd.cws.adv1.pb.SecDumpProto.IPPortContext.getDefaultInstance()) { + getDestinationBuilder().mergeFrom(value); + } else { + destination_ = value; } } else { - if (!other.bind_.isEmpty()) { - if (bindBuilder_.isEmpty()) { - bindBuilder_.dispose(); - bindBuilder_ = null; - bind_ = other.bind_; - bitField0_ = (bitField0_ & ~0x00000002); - bindBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getBindFieldBuilder() : null; - } else { - bindBuilder_.addAllMessages(other.bind_); - } - } + destinationBuilder_.mergeFrom(value); } - this.mergeUnknownFields(other.getUnknownFields()); + bitField0_ |= 0x00000004; onChanged(); return this; } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); + /** + * .datadog.cws.dumpsv1.IPPortContext destination = 3; + */ + public Builder clearDestination() { + bitField0_ = (bitField0_ & ~0x00000004); + destination_ = null; + if (destinationBuilder_ != null) { + destinationBuilder_.dispose(); + destinationBuilder_ = null; } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - family_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - com.dd.cws.adv1.pb.SecDumpProto.BindNode m = - input.readMessage( - com.dd.cws.adv1.pb.SecDumpProto.BindNode.parser(), - extensionRegistry); - if (bindBuilder_ == null) { - ensureBindIsMutable(); - bind_.add(m); - } else { - bindBuilder_.addMessage(m); - } - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally + onChanged(); return this; } - private int bitField0_; - - private java.lang.Object family_ = ""; /** - * string family = 1; - * @return The family. + * .datadog.cws.dumpsv1.IPPortContext destination = 3; */ - public java.lang.String getFamily() { - java.lang.Object ref = family_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - family_ = s; - return s; + public com.dd.cws.adv1.pb.SecDumpProto.IPPortContext.Builder getDestinationBuilder() { + bitField0_ |= 0x00000004; + onChanged(); + return getDestinationFieldBuilder().getBuilder(); + } + /** + * .datadog.cws.dumpsv1.IPPortContext destination = 3; + */ + public com.dd.cws.adv1.pb.SecDumpProto.IPPortContextOrBuilder getDestinationOrBuilder() { + if (destinationBuilder_ != null) { + return destinationBuilder_.getMessageOrBuilder(); } else { - return (java.lang.String) ref; + return destination_ == null ? + com.dd.cws.adv1.pb.SecDumpProto.IPPortContext.getDefaultInstance() : destination_; + } + } + /** + * .datadog.cws.dumpsv1.IPPortContext destination = 3; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.dd.cws.adv1.pb.SecDumpProto.IPPortContext, com.dd.cws.adv1.pb.SecDumpProto.IPPortContext.Builder, com.dd.cws.adv1.pb.SecDumpProto.IPPortContextOrBuilder> + getDestinationFieldBuilder() { + if (destinationBuilder_ == null) { + destinationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.dd.cws.adv1.pb.SecDumpProto.IPPortContext, com.dd.cws.adv1.pb.SecDumpProto.IPPortContext.Builder, com.dd.cws.adv1.pb.SecDumpProto.IPPortContextOrBuilder>( + getDestination(), + getParentForChildren(), + isClean()); + destination_ = null; } + return destinationBuilder_; } + + private int l3Protocol_ ; /** - * string family = 1; - * @return The bytes for family. + * uint32 l3_protocol = 4; + * @return The l3Protocol. */ - public com.google.protobuf.ByteString - getFamilyBytes() { - java.lang.Object ref = family_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - family_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } + @java.lang.Override + public int getL3Protocol() { + return l3Protocol_; } /** - * string family = 1; - * @param value The family to set. + * uint32 l3_protocol = 4; + * @param value The l3Protocol to set. * @return This builder for chaining. */ - public Builder setFamily( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } - family_ = value; - bitField0_ |= 0x00000001; + public Builder setL3Protocol(int value) { + + l3Protocol_ = value; + bitField0_ |= 0x00000008; onChanged(); return this; } /** - * string family = 1; + * uint32 l3_protocol = 4; * @return This builder for chaining. */ - public Builder clearFamily() { - family_ = getDefaultInstance().getFamily(); - bitField0_ = (bitField0_ & ~0x00000001); + public Builder clearL3Protocol() { + bitField0_ = (bitField0_ & ~0x00000008); + l3Protocol_ = 0; onChanged(); return this; } + + private int l4Protocol_ ; /** - * string family = 1; - * @param value The bytes for family to set. + * uint32 l4_protocol = 5; + * @return The l4Protocol. + */ + @java.lang.Override + public int getL4Protocol() { + return l4Protocol_; + } + /** + * uint32 l4_protocol = 5; + * @param value The l4Protocol to set. * @return This builder for chaining. */ - public Builder setFamilyBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } - checkByteStringIsUtf8(value); - family_ = value; - bitField0_ |= 0x00000001; + public Builder setL4Protocol(int value) { + + l4Protocol_ = value; + bitField0_ |= 0x00000010; onChanged(); return this; } - - private java.util.List bind_ = - java.util.Collections.emptyList(); - private void ensureBindIsMutable() { - if (!((bitField0_ & 0x00000002) != 0)) { - bind_ = new java.util.ArrayList(bind_); - bitField0_ |= 0x00000002; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.dd.cws.adv1.pb.SecDumpProto.BindNode, com.dd.cws.adv1.pb.SecDumpProto.BindNode.Builder, com.dd.cws.adv1.pb.SecDumpProto.BindNodeOrBuilder> bindBuilder_; - /** - * repeated .datadog.cws.dumpsv1.BindNode bind = 2; + * uint32 l4_protocol = 5; + * @return This builder for chaining. */ - public java.util.List getBindList() { - if (bindBuilder_ == null) { - return java.util.Collections.unmodifiableList(bind_); - } else { - return bindBuilder_.getMessageList(); - } + public Builder clearL4Protocol() { + bitField0_ = (bitField0_ & ~0x00000010); + l4Protocol_ = 0; + onChanged(); + return this; } + + private com.dd.cws.adv1.pb.SecDumpProto.NetworkStats ingress_; + private com.google.protobuf.SingleFieldBuilderV3< + com.dd.cws.adv1.pb.SecDumpProto.NetworkStats, com.dd.cws.adv1.pb.SecDumpProto.NetworkStats.Builder, com.dd.cws.adv1.pb.SecDumpProto.NetworkStatsOrBuilder> ingressBuilder_; /** - * repeated .datadog.cws.dumpsv1.BindNode bind = 2; + * .datadog.cws.dumpsv1.NetworkStats ingress = 6; + * @return Whether the ingress field is set. */ - public int getBindCount() { - if (bindBuilder_ == null) { - return bind_.size(); - } else { - return bindBuilder_.getCount(); - } + public boolean hasIngress() { + return ((bitField0_ & 0x00000020) != 0); } /** - * repeated .datadog.cws.dumpsv1.BindNode bind = 2; + * .datadog.cws.dumpsv1.NetworkStats ingress = 6; + * @return The ingress. */ - public com.dd.cws.adv1.pb.SecDumpProto.BindNode getBind(int index) { - if (bindBuilder_ == null) { - return bind_.get(index); + public com.dd.cws.adv1.pb.SecDumpProto.NetworkStats getIngress() { + if (ingressBuilder_ == null) { + return ingress_ == null ? com.dd.cws.adv1.pb.SecDumpProto.NetworkStats.getDefaultInstance() : ingress_; } else { - return bindBuilder_.getMessage(index); + return ingressBuilder_.getMessage(); } } /** - * repeated .datadog.cws.dumpsv1.BindNode bind = 2; + * .datadog.cws.dumpsv1.NetworkStats ingress = 6; */ - public Builder setBind( - int index, com.dd.cws.adv1.pb.SecDumpProto.BindNode value) { - if (bindBuilder_ == null) { + public Builder setIngress(com.dd.cws.adv1.pb.SecDumpProto.NetworkStats value) { + if (ingressBuilder_ == null) { if (value == null) { throw new NullPointerException(); } - ensureBindIsMutable(); - bind_.set(index, value); - onChanged(); + ingress_ = value; } else { - bindBuilder_.setMessage(index, value); + ingressBuilder_.setMessage(value); } + bitField0_ |= 0x00000020; + onChanged(); return this; } /** - * repeated .datadog.cws.dumpsv1.BindNode bind = 2; + * .datadog.cws.dumpsv1.NetworkStats ingress = 6; */ - public Builder setBind( - int index, com.dd.cws.adv1.pb.SecDumpProto.BindNode.Builder builderForValue) { - if (bindBuilder_ == null) { - ensureBindIsMutable(); - bind_.set(index, builderForValue.build()); - onChanged(); + public Builder setIngress( + com.dd.cws.adv1.pb.SecDumpProto.NetworkStats.Builder builderForValue) { + if (ingressBuilder_ == null) { + ingress_ = builderForValue.build(); } else { - bindBuilder_.setMessage(index, builderForValue.build()); + ingressBuilder_.setMessage(builderForValue.build()); } + bitField0_ |= 0x00000020; + onChanged(); return this; } /** - * repeated .datadog.cws.dumpsv1.BindNode bind = 2; + * .datadog.cws.dumpsv1.NetworkStats ingress = 6; */ - public Builder addBind(com.dd.cws.adv1.pb.SecDumpProto.BindNode value) { - if (bindBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); + public Builder mergeIngress(com.dd.cws.adv1.pb.SecDumpProto.NetworkStats value) { + if (ingressBuilder_ == null) { + if (((bitField0_ & 0x00000020) != 0) && + ingress_ != null && + ingress_ != com.dd.cws.adv1.pb.SecDumpProto.NetworkStats.getDefaultInstance()) { + getIngressBuilder().mergeFrom(value); + } else { + ingress_ = value; } - ensureBindIsMutable(); - bind_.add(value); - onChanged(); } else { - bindBuilder_.addMessage(value); + ingressBuilder_.mergeFrom(value); } + bitField0_ |= 0x00000020; + onChanged(); return this; } /** - * repeated .datadog.cws.dumpsv1.BindNode bind = 2; + * .datadog.cws.dumpsv1.NetworkStats ingress = 6; */ - public Builder addBind( - int index, com.dd.cws.adv1.pb.SecDumpProto.BindNode value) { - if (bindBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureBindIsMutable(); - bind_.add(index, value); - onChanged(); - } else { - bindBuilder_.addMessage(index, value); + public Builder clearIngress() { + bitField0_ = (bitField0_ & ~0x00000020); + ingress_ = null; + if (ingressBuilder_ != null) { + ingressBuilder_.dispose(); + ingressBuilder_ = null; } + onChanged(); return this; } /** - * repeated .datadog.cws.dumpsv1.BindNode bind = 2; + * .datadog.cws.dumpsv1.NetworkStats ingress = 6; */ - public Builder addBind( - com.dd.cws.adv1.pb.SecDumpProto.BindNode.Builder builderForValue) { - if (bindBuilder_ == null) { - ensureBindIsMutable(); - bind_.add(builderForValue.build()); - onChanged(); - } else { - bindBuilder_.addMessage(builderForValue.build()); - } - return this; + public com.dd.cws.adv1.pb.SecDumpProto.NetworkStats.Builder getIngressBuilder() { + bitField0_ |= 0x00000020; + onChanged(); + return getIngressFieldBuilder().getBuilder(); } /** - * repeated .datadog.cws.dumpsv1.BindNode bind = 2; + * .datadog.cws.dumpsv1.NetworkStats ingress = 6; */ - public Builder addBind( - int index, com.dd.cws.adv1.pb.SecDumpProto.BindNode.Builder builderForValue) { - if (bindBuilder_ == null) { - ensureBindIsMutable(); - bind_.add(index, builderForValue.build()); - onChanged(); + public com.dd.cws.adv1.pb.SecDumpProto.NetworkStatsOrBuilder getIngressOrBuilder() { + if (ingressBuilder_ != null) { + return ingressBuilder_.getMessageOrBuilder(); } else { - bindBuilder_.addMessage(index, builderForValue.build()); + return ingress_ == null ? + com.dd.cws.adv1.pb.SecDumpProto.NetworkStats.getDefaultInstance() : ingress_; } - return this; } /** - * repeated .datadog.cws.dumpsv1.BindNode bind = 2; + * .datadog.cws.dumpsv1.NetworkStats ingress = 6; */ - public Builder addAllBind( - java.lang.Iterable values) { - if (bindBuilder_ == null) { - ensureBindIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, bind_); - onChanged(); - } else { - bindBuilder_.addAllMessages(values); + private com.google.protobuf.SingleFieldBuilderV3< + com.dd.cws.adv1.pb.SecDumpProto.NetworkStats, com.dd.cws.adv1.pb.SecDumpProto.NetworkStats.Builder, com.dd.cws.adv1.pb.SecDumpProto.NetworkStatsOrBuilder> + getIngressFieldBuilder() { + if (ingressBuilder_ == null) { + ingressBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.dd.cws.adv1.pb.SecDumpProto.NetworkStats, com.dd.cws.adv1.pb.SecDumpProto.NetworkStats.Builder, com.dd.cws.adv1.pb.SecDumpProto.NetworkStatsOrBuilder>( + getIngress(), + getParentForChildren(), + isClean()); + ingress_ = null; } - return this; + return ingressBuilder_; } + + private com.dd.cws.adv1.pb.SecDumpProto.NetworkStats egress_; + private com.google.protobuf.SingleFieldBuilderV3< + com.dd.cws.adv1.pb.SecDumpProto.NetworkStats, com.dd.cws.adv1.pb.SecDumpProto.NetworkStats.Builder, com.dd.cws.adv1.pb.SecDumpProto.NetworkStatsOrBuilder> egressBuilder_; /** - * repeated .datadog.cws.dumpsv1.BindNode bind = 2; + * .datadog.cws.dumpsv1.NetworkStats egress = 7; + * @return Whether the egress field is set. */ - public Builder clearBind() { - if (bindBuilder_ == null) { - bind_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - } else { - bindBuilder_.clear(); - } - return this; + public boolean hasEgress() { + return ((bitField0_ & 0x00000040) != 0); } /** - * repeated .datadog.cws.dumpsv1.BindNode bind = 2; + * .datadog.cws.dumpsv1.NetworkStats egress = 7; + * @return The egress. */ - public Builder removeBind(int index) { - if (bindBuilder_ == null) { - ensureBindIsMutable(); - bind_.remove(index); - onChanged(); + public com.dd.cws.adv1.pb.SecDumpProto.NetworkStats getEgress() { + if (egressBuilder_ == null) { + return egress_ == null ? com.dd.cws.adv1.pb.SecDumpProto.NetworkStats.getDefaultInstance() : egress_; } else { - bindBuilder_.remove(index); + return egressBuilder_.getMessage(); } - return this; } /** - * repeated .datadog.cws.dumpsv1.BindNode bind = 2; - */ - public com.dd.cws.adv1.pb.SecDumpProto.BindNode.Builder getBindBuilder( - int index) { - return getBindFieldBuilder().getBuilder(index); - } - /** - * repeated .datadog.cws.dumpsv1.BindNode bind = 2; + * .datadog.cws.dumpsv1.NetworkStats egress = 7; */ - public com.dd.cws.adv1.pb.SecDumpProto.BindNodeOrBuilder getBindOrBuilder( - int index) { - if (bindBuilder_ == null) { - return bind_.get(index); } else { - return bindBuilder_.getMessageOrBuilder(index); + public Builder setEgress(com.dd.cws.adv1.pb.SecDumpProto.NetworkStats value) { + if (egressBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + egress_ = value; + } else { + egressBuilder_.setMessage(value); } + bitField0_ |= 0x00000040; + onChanged(); + return this; } /** - * repeated .datadog.cws.dumpsv1.BindNode bind = 2; + * .datadog.cws.dumpsv1.NetworkStats egress = 7; */ - public java.util.List - getBindOrBuilderList() { - if (bindBuilder_ != null) { - return bindBuilder_.getMessageOrBuilderList(); + public Builder setEgress( + com.dd.cws.adv1.pb.SecDumpProto.NetworkStats.Builder builderForValue) { + if (egressBuilder_ == null) { + egress_ = builderForValue.build(); } else { - return java.util.Collections.unmodifiableList(bind_); + egressBuilder_.setMessage(builderForValue.build()); } + bitField0_ |= 0x00000040; + onChanged(); + return this; } /** - * repeated .datadog.cws.dumpsv1.BindNode bind = 2; + * .datadog.cws.dumpsv1.NetworkStats egress = 7; */ - public com.dd.cws.adv1.pb.SecDumpProto.BindNode.Builder addBindBuilder() { - return getBindFieldBuilder().addBuilder( - com.dd.cws.adv1.pb.SecDumpProto.BindNode.getDefaultInstance()); + public Builder mergeEgress(com.dd.cws.adv1.pb.SecDumpProto.NetworkStats value) { + if (egressBuilder_ == null) { + if (((bitField0_ & 0x00000040) != 0) && + egress_ != null && + egress_ != com.dd.cws.adv1.pb.SecDumpProto.NetworkStats.getDefaultInstance()) { + getEgressBuilder().mergeFrom(value); + } else { + egress_ = value; + } + } else { + egressBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000040; + onChanged(); + return this; } /** - * repeated .datadog.cws.dumpsv1.BindNode bind = 2; + * .datadog.cws.dumpsv1.NetworkStats egress = 7; */ - public com.dd.cws.adv1.pb.SecDumpProto.BindNode.Builder addBindBuilder( - int index) { - return getBindFieldBuilder().addBuilder( - index, com.dd.cws.adv1.pb.SecDumpProto.BindNode.getDefaultInstance()); + public Builder clearEgress() { + bitField0_ = (bitField0_ & ~0x00000040); + egress_ = null; + if (egressBuilder_ != null) { + egressBuilder_.dispose(); + egressBuilder_ = null; + } + onChanged(); + return this; } /** - * repeated .datadog.cws.dumpsv1.BindNode bind = 2; + * .datadog.cws.dumpsv1.NetworkStats egress = 7; */ - public java.util.List - getBindBuilderList() { - return getBindFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.dd.cws.adv1.pb.SecDumpProto.BindNode, com.dd.cws.adv1.pb.SecDumpProto.BindNode.Builder, com.dd.cws.adv1.pb.SecDumpProto.BindNodeOrBuilder> - getBindFieldBuilder() { - if (bindBuilder_ == null) { - bindBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.dd.cws.adv1.pb.SecDumpProto.BindNode, com.dd.cws.adv1.pb.SecDumpProto.BindNode.Builder, com.dd.cws.adv1.pb.SecDumpProto.BindNodeOrBuilder>( - bind_, - ((bitField0_ & 0x00000002) != 0), + public com.dd.cws.adv1.pb.SecDumpProto.NetworkStats.Builder getEgressBuilder() { + bitField0_ |= 0x00000040; + onChanged(); + return getEgressFieldBuilder().getBuilder(); + } + /** + * .datadog.cws.dumpsv1.NetworkStats egress = 7; + */ + public com.dd.cws.adv1.pb.SecDumpProto.NetworkStatsOrBuilder getEgressOrBuilder() { + if (egressBuilder_ != null) { + return egressBuilder_.getMessageOrBuilder(); + } else { + return egress_ == null ? + com.dd.cws.adv1.pb.SecDumpProto.NetworkStats.getDefaultInstance() : egress_; + } + } + /** + * .datadog.cws.dumpsv1.NetworkStats egress = 7; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.dd.cws.adv1.pb.SecDumpProto.NetworkStats, com.dd.cws.adv1.pb.SecDumpProto.NetworkStats.Builder, com.dd.cws.adv1.pb.SecDumpProto.NetworkStatsOrBuilder> + getEgressFieldBuilder() { + if (egressBuilder_ == null) { + egressBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.dd.cws.adv1.pb.SecDumpProto.NetworkStats, com.dd.cws.adv1.pb.SecDumpProto.NetworkStats.Builder, com.dd.cws.adv1.pb.SecDumpProto.NetworkStatsOrBuilder>( + getEgress(), getParentForChildren(), isClean()); - bind_ = null; + egress_ = null; } - return bindBuilder_; + return egressBuilder_; } @java.lang.Override public final Builder setUnknownFields( @@ -29361,23 +35103,23 @@ public final Builder mergeUnknownFields( } - // @@protoc_insertion_point(builder_scope:datadog.cws.dumpsv1.SocketNode) + // @@protoc_insertion_point(builder_scope:datadog.cws.dumpsv1.FlowNode) } - // @@protoc_insertion_point(class_scope:datadog.cws.dumpsv1.SocketNode) - private static final com.dd.cws.adv1.pb.SecDumpProto.SocketNode DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:datadog.cws.dumpsv1.FlowNode) + private static final com.dd.cws.adv1.pb.SecDumpProto.FlowNode DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new com.dd.cws.adv1.pb.SecDumpProto.SocketNode(); + DEFAULT_INSTANCE = new com.dd.cws.adv1.pb.SecDumpProto.FlowNode(); } - public static com.dd.cws.adv1.pb.SecDumpProto.SocketNode getDefaultInstance() { + public static com.dd.cws.adv1.pb.SecDumpProto.FlowNode getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override - public SocketNode parsePartialFrom( + public FlowNode parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -29396,114 +35138,57 @@ public SocketNode parsePartialFrom( } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public com.dd.cws.adv1.pb.SecDumpProto.SocketNode getDefaultInstanceForType() { + public com.dd.cws.adv1.pb.SecDumpProto.FlowNode getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } - public interface BindNodeOrBuilder extends - // @@protoc_insertion_point(interface_extends:datadog.cws.dumpsv1.BindNode) + public interface IPPortContextOrBuilder extends + // @@protoc_insertion_point(interface_extends:datadog.cws.dumpsv1.IPPortContext) com.google.protobuf.MessageOrBuilder { /** - * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 3; - */ - java.util.List - getMatchedRulesList(); - /** - * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 3; - */ - com.dd.cws.adv1.pb.SecDumpProto.MatchedRule getMatchedRules(int index); - /** - * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 3; - */ - int getMatchedRulesCount(); - /** - * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 3; - */ - java.util.List - getMatchedRulesOrBuilderList(); - /** - * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 3; - */ - com.dd.cws.adv1.pb.SecDumpProto.MatchedRuleOrBuilder getMatchedRulesOrBuilder( - int index); - - /** - * repeated string image_tags = 4; - * @return A list containing the imageTags. - */ - java.util.List - getImageTagsList(); - /** - * repeated string image_tags = 4; - * @return The count of imageTags. - */ - int getImageTagsCount(); - /** - * repeated string image_tags = 4; - * @param index The index of the element to return. - * @return The imageTags at the given index. - */ - java.lang.String getImageTags(int index); - /** - * repeated string image_tags = 4; - * @param index The index of the value to return. - * @return The bytes of the imageTags at the given index. - */ - com.google.protobuf.ByteString - getImageTagsBytes(int index); - - /** - * uint32 port = 1; - * @return The port. - */ - int getPort(); - - /** - * string ip = 2; + * string ip = 1; * @return The ip. */ java.lang.String getIp(); /** - * string ip = 2; + * string ip = 1; * @return The bytes for ip. */ com.google.protobuf.ByteString getIpBytes(); /** - * uint32 protocol = 5; - * @return The protocol. + * uint32 port = 2; + * @return The port. */ - int getProtocol(); + int getPort(); } /** - * Protobuf type {@code datadog.cws.dumpsv1.BindNode} + * Protobuf type {@code datadog.cws.dumpsv1.IPPortContext} */ - public static final class BindNode extends + public static final class IPPortContext extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:datadog.cws.dumpsv1.BindNode) - BindNodeOrBuilder { + // @@protoc_insertion_point(message_implements:datadog.cws.dumpsv1.IPPortContext) + IPPortContextOrBuilder { private static final long serialVersionUID = 0L; - // Use BindNode.newBuilder() to construct. - private BindNode(com.google.protobuf.GeneratedMessageV3.Builder builder) { + // Use IPPortContext.newBuilder() to construct. + private IPPortContext(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private BindNode() { - matchedRules_ = java.util.Collections.emptyList(); - imageTags_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private IPPortContext() { ip_ = ""; } @@ -29511,7 +35196,7 @@ private BindNode() { @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { - return new BindNode(); + return new IPPortContext(); } @java.lang.Override @@ -29521,110 +35206,22 @@ protected java.lang.Object newInstance( } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_BindNode_descriptor; + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_IPPortContext_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_BindNode_fieldAccessorTable + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_IPPortContext_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.dd.cws.adv1.pb.SecDumpProto.BindNode.class, com.dd.cws.adv1.pb.SecDumpProto.BindNode.Builder.class); - } - - public static final int MATCHED_RULES_FIELD_NUMBER = 3; - @SuppressWarnings("serial") - private java.util.List matchedRules_; - /** - * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 3; - */ - @java.lang.Override - public java.util.List getMatchedRulesList() { - return matchedRules_; - } - /** - * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 3; - */ - @java.lang.Override - public java.util.List - getMatchedRulesOrBuilderList() { - return matchedRules_; - } - /** - * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 3; - */ - @java.lang.Override - public int getMatchedRulesCount() { - return matchedRules_.size(); - } - /** - * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 3; - */ - @java.lang.Override - public com.dd.cws.adv1.pb.SecDumpProto.MatchedRule getMatchedRules(int index) { - return matchedRules_.get(index); - } - /** - * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 3; - */ - @java.lang.Override - public com.dd.cws.adv1.pb.SecDumpProto.MatchedRuleOrBuilder getMatchedRulesOrBuilder( - int index) { - return matchedRules_.get(index); - } - - public static final int IMAGE_TAGS_FIELD_NUMBER = 4; - @SuppressWarnings("serial") - private com.google.protobuf.LazyStringList imageTags_; - /** - * repeated string image_tags = 4; - * @return A list containing the imageTags. - */ - public com.google.protobuf.ProtocolStringList - getImageTagsList() { - return imageTags_; - } - /** - * repeated string image_tags = 4; - * @return The count of imageTags. - */ - public int getImageTagsCount() { - return imageTags_.size(); - } - /** - * repeated string image_tags = 4; - * @param index The index of the element to return. - * @return The imageTags at the given index. - */ - public java.lang.String getImageTags(int index) { - return imageTags_.get(index); - } - /** - * repeated string image_tags = 4; - * @param index The index of the value to return. - * @return The bytes of the imageTags at the given index. - */ - public com.google.protobuf.ByteString - getImageTagsBytes(int index) { - return imageTags_.getByteString(index); - } - - public static final int PORT_FIELD_NUMBER = 1; - private int port_ = 0; - /** - * uint32 port = 1; - * @return The port. - */ - @java.lang.Override - public int getPort() { - return port_; + com.dd.cws.adv1.pb.SecDumpProto.IPPortContext.class, com.dd.cws.adv1.pb.SecDumpProto.IPPortContext.Builder.class); } - public static final int IP_FIELD_NUMBER = 2; + public static final int IP_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object ip_ = ""; /** - * string ip = 2; + * string ip = 1; * @return The ip. */ @java.lang.Override @@ -29641,7 +35238,7 @@ public java.lang.String getIp() { } } /** - * string ip = 2; + * string ip = 1; * @return The bytes for ip. */ @java.lang.Override @@ -29659,15 +35256,15 @@ public java.lang.String getIp() { } } - public static final int PROTOCOL_FIELD_NUMBER = 5; - private int protocol_ = 0; + public static final int PORT_FIELD_NUMBER = 2; + private int port_ = 0; /** - * uint32 protocol = 5; - * @return The protocol. + * uint32 port = 2; + * @return The port. */ @java.lang.Override - public int getProtocol() { - return protocol_; + public int getPort() { + return port_; } private byte memoizedIsInitialized = -1; @@ -29684,20 +35281,11 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (port_ != 0) { - output.writeUInt32(1, port_); - } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ip_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, ip_); - } - for (int i = 0; i < matchedRules_.size(); i++) { - output.writeMessage(3, matchedRules_.get(i)); + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, ip_); } - for (int i = 0; i < imageTags_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 4, imageTags_.getRaw(i)); - } - if (protocol_ != 0) { - output.writeUInt32(5, protocol_); + if (port_ != 0) { + output.writeUInt32(2, port_); } getUnknownFields().writeTo(output); } @@ -29708,28 +35296,12 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (port_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(1, port_); - } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ip_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, ip_); - } - for (int i = 0; i < matchedRules_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, matchedRules_.get(i)); - } - { - int dataSize = 0; - for (int i = 0; i < imageTags_.size(); i++) { - dataSize += computeStringSizeNoTag(imageTags_.getRaw(i)); - } - size += dataSize; - size += 1 * getImageTagsList().size(); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, ip_); } - if (protocol_ != 0) { + if (port_ != 0) { size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(5, protocol_); + .computeUInt32Size(2, port_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -29741,21 +35313,15 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof com.dd.cws.adv1.pb.SecDumpProto.BindNode)) { + if (!(obj instanceof com.dd.cws.adv1.pb.SecDumpProto.IPPortContext)) { return super.equals(obj); } - com.dd.cws.adv1.pb.SecDumpProto.BindNode other = (com.dd.cws.adv1.pb.SecDumpProto.BindNode) obj; + com.dd.cws.adv1.pb.SecDumpProto.IPPortContext other = (com.dd.cws.adv1.pb.SecDumpProto.IPPortContext) obj; - if (!getMatchedRulesList() - .equals(other.getMatchedRulesList())) return false; - if (!getImageTagsList() - .equals(other.getImageTagsList())) return false; - if (getPort() - != other.getPort()) return false; if (!getIp() .equals(other.getIp())) return false; - if (getProtocol() - != other.getProtocol()) return false; + if (getPort() + != other.getPort()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -29767,88 +35333,78 @@ public int hashCode() { } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); - if (getMatchedRulesCount() > 0) { - hash = (37 * hash) + MATCHED_RULES_FIELD_NUMBER; - hash = (53 * hash) + getMatchedRulesList().hashCode(); - } - if (getImageTagsCount() > 0) { - hash = (37 * hash) + IMAGE_TAGS_FIELD_NUMBER; - hash = (53 * hash) + getImageTagsList().hashCode(); - } - hash = (37 * hash) + PORT_FIELD_NUMBER; - hash = (53 * hash) + getPort(); hash = (37 * hash) + IP_FIELD_NUMBER; hash = (53 * hash) + getIp().hashCode(); - hash = (37 * hash) + PROTOCOL_FIELD_NUMBER; - hash = (53 * hash) + getProtocol(); + hash = (37 * hash) + PORT_FIELD_NUMBER; + hash = (53 * hash) + getPort(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.dd.cws.adv1.pb.SecDumpProto.BindNode parseFrom( + public static com.dd.cws.adv1.pb.SecDumpProto.IPPortContext parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.dd.cws.adv1.pb.SecDumpProto.BindNode parseFrom( + public static com.dd.cws.adv1.pb.SecDumpProto.IPPortContext parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.dd.cws.adv1.pb.SecDumpProto.BindNode parseFrom( + public static com.dd.cws.adv1.pb.SecDumpProto.IPPortContext parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.dd.cws.adv1.pb.SecDumpProto.BindNode parseFrom( + public static com.dd.cws.adv1.pb.SecDumpProto.IPPortContext parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.dd.cws.adv1.pb.SecDumpProto.BindNode parseFrom(byte[] data) + public static com.dd.cws.adv1.pb.SecDumpProto.IPPortContext parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.dd.cws.adv1.pb.SecDumpProto.BindNode parseFrom( + public static com.dd.cws.adv1.pb.SecDumpProto.IPPortContext parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.dd.cws.adv1.pb.SecDumpProto.BindNode parseFrom(java.io.InputStream input) + public static com.dd.cws.adv1.pb.SecDumpProto.IPPortContext parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static com.dd.cws.adv1.pb.SecDumpProto.BindNode parseFrom( + public static com.dd.cws.adv1.pb.SecDumpProto.IPPortContext parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.dd.cws.adv1.pb.SecDumpProto.BindNode parseDelimitedFrom(java.io.InputStream input) + public static com.dd.cws.adv1.pb.SecDumpProto.IPPortContext parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } - public static com.dd.cws.adv1.pb.SecDumpProto.BindNode parseDelimitedFrom( + public static com.dd.cws.adv1.pb.SecDumpProto.IPPortContext parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.dd.cws.adv1.pb.SecDumpProto.BindNode parseFrom( + public static com.dd.cws.adv1.pb.SecDumpProto.IPPortContext parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static com.dd.cws.adv1.pb.SecDumpProto.BindNode parseFrom( + public static com.dd.cws.adv1.pb.SecDumpProto.IPPortContext parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -29861,7 +35417,7 @@ public static com.dd.cws.adv1.pb.SecDumpProto.BindNode parseFrom( public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.dd.cws.adv1.pb.SecDumpProto.BindNode prototype) { + public static Builder newBuilder(com.dd.cws.adv1.pb.SecDumpProto.IPPortContext prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override @@ -29877,26 +35433,26 @@ protected Builder newBuilderForType( return builder; } /** - * Protobuf type {@code datadog.cws.dumpsv1.BindNode} + * Protobuf type {@code datadog.cws.dumpsv1.IPPortContext} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:datadog.cws.dumpsv1.BindNode) - com.dd.cws.adv1.pb.SecDumpProto.BindNodeOrBuilder { + // @@protoc_insertion_point(builder_implements:datadog.cws.dumpsv1.IPPortContext) + com.dd.cws.adv1.pb.SecDumpProto.IPPortContextOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_BindNode_descriptor; + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_IPPortContext_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_BindNode_fieldAccessorTable + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_IPPortContext_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.dd.cws.adv1.pb.SecDumpProto.BindNode.class, com.dd.cws.adv1.pb.SecDumpProto.BindNode.Builder.class); + com.dd.cws.adv1.pb.SecDumpProto.IPPortContext.class, com.dd.cws.adv1.pb.SecDumpProto.IPPortContext.Builder.class); } - // Construct using com.dd.cws.adv1.pb.SecDumpProto.BindNode.newBuilder() + // Construct using com.dd.cws.adv1.pb.SecDumpProto.IPPortContext.newBuilder() private Builder() { } @@ -29910,35 +35466,25 @@ private Builder( public Builder clear() { super.clear(); bitField0_ = 0; - if (matchedRulesBuilder_ == null) { - matchedRules_ = java.util.Collections.emptyList(); - } else { - matchedRules_ = null; - matchedRulesBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000001); - imageTags_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000002); - port_ = 0; ip_ = ""; - protocol_ = 0; + port_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_BindNode_descriptor; + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_IPPortContext_descriptor; } @java.lang.Override - public com.dd.cws.adv1.pb.SecDumpProto.BindNode getDefaultInstanceForType() { - return com.dd.cws.adv1.pb.SecDumpProto.BindNode.getDefaultInstance(); + public com.dd.cws.adv1.pb.SecDumpProto.IPPortContext getDefaultInstanceForType() { + return com.dd.cws.adv1.pb.SecDumpProto.IPPortContext.getDefaultInstance(); } @java.lang.Override - public com.dd.cws.adv1.pb.SecDumpProto.BindNode build() { - com.dd.cws.adv1.pb.SecDumpProto.BindNode result = buildPartial(); + public com.dd.cws.adv1.pb.SecDumpProto.IPPortContext build() { + com.dd.cws.adv1.pb.SecDumpProto.IPPortContext result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -29946,41 +35492,20 @@ public com.dd.cws.adv1.pb.SecDumpProto.BindNode build() { } @java.lang.Override - public com.dd.cws.adv1.pb.SecDumpProto.BindNode buildPartial() { - com.dd.cws.adv1.pb.SecDumpProto.BindNode result = new com.dd.cws.adv1.pb.SecDumpProto.BindNode(this); - buildPartialRepeatedFields(result); + public com.dd.cws.adv1.pb.SecDumpProto.IPPortContext buildPartial() { + com.dd.cws.adv1.pb.SecDumpProto.IPPortContext result = new com.dd.cws.adv1.pb.SecDumpProto.IPPortContext(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.dd.cws.adv1.pb.SecDumpProto.BindNode result) { - if (matchedRulesBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0)) { - matchedRules_ = java.util.Collections.unmodifiableList(matchedRules_); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.matchedRules_ = matchedRules_; - } else { - result.matchedRules_ = matchedRulesBuilder_.build(); - } - if (((bitField0_ & 0x00000002) != 0)) { - imageTags_ = imageTags_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000002); - } - result.imageTags_ = imageTags_; - } - - private void buildPartial0(com.dd.cws.adv1.pb.SecDumpProto.BindNode result) { + private void buildPartial0(com.dd.cws.adv1.pb.SecDumpProto.IPPortContext result) { int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000004) != 0)) { - result.port_ = port_; - } - if (((from_bitField0_ & 0x00000008) != 0)) { + if (((from_bitField0_ & 0x00000001) != 0)) { result.ip_ = ip_; } - if (((from_bitField0_ & 0x00000010) != 0)) { - result.protocol_ = protocol_; + if (((from_bitField0_ & 0x00000002) != 0)) { + result.port_ = port_; } } @@ -30018,62 +35543,23 @@ public Builder addRepeatedField( } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.dd.cws.adv1.pb.SecDumpProto.BindNode) { - return mergeFrom((com.dd.cws.adv1.pb.SecDumpProto.BindNode)other); + if (other instanceof com.dd.cws.adv1.pb.SecDumpProto.IPPortContext) { + return mergeFrom((com.dd.cws.adv1.pb.SecDumpProto.IPPortContext)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.dd.cws.adv1.pb.SecDumpProto.BindNode other) { - if (other == com.dd.cws.adv1.pb.SecDumpProto.BindNode.getDefaultInstance()) return this; - if (matchedRulesBuilder_ == null) { - if (!other.matchedRules_.isEmpty()) { - if (matchedRules_.isEmpty()) { - matchedRules_ = other.matchedRules_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureMatchedRulesIsMutable(); - matchedRules_.addAll(other.matchedRules_); - } - onChanged(); - } - } else { - if (!other.matchedRules_.isEmpty()) { - if (matchedRulesBuilder_.isEmpty()) { - matchedRulesBuilder_.dispose(); - matchedRulesBuilder_ = null; - matchedRules_ = other.matchedRules_; - bitField0_ = (bitField0_ & ~0x00000001); - matchedRulesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getMatchedRulesFieldBuilder() : null; - } else { - matchedRulesBuilder_.addAllMessages(other.matchedRules_); - } - } - } - if (!other.imageTags_.isEmpty()) { - if (imageTags_.isEmpty()) { - imageTags_ = other.imageTags_; - bitField0_ = (bitField0_ & ~0x00000002); - } else { - ensureImageTagsIsMutable(); - imageTags_.addAll(other.imageTags_); - } - onChanged(); - } - if (other.getPort() != 0) { - setPort(other.getPort()); - } + public Builder mergeFrom(com.dd.cws.adv1.pb.SecDumpProto.IPPortContext other) { + if (other == com.dd.cws.adv1.pb.SecDumpProto.IPPortContext.getDefaultInstance()) return this; if (!other.getIp().isEmpty()) { ip_ = other.ip_; - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000001; onChanged(); } - if (other.getProtocol() != 0) { - setProtocol(other.getProtocol()); + if (other.getPort() != 0) { + setPort(other.getPort()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -30101,40 +35587,16 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - port_ = input.readUInt32(); - bitField0_ |= 0x00000004; - break; - } // case 8 - case 18: { + case 10: { ip_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 18 - case 26: { - com.dd.cws.adv1.pb.SecDumpProto.MatchedRule m = - input.readMessage( - com.dd.cws.adv1.pb.SecDumpProto.MatchedRule.parser(), - extensionRegistry); - if (matchedRulesBuilder_ == null) { - ensureMatchedRulesIsMutable(); - matchedRules_.add(m); - } else { - matchedRulesBuilder_.addMessage(m); - } - break; - } // case 26 - case 34: { - java.lang.String s = input.readStringRequireUtf8(); - ensureImageTagsIsMutable(); - imageTags_.add(s); + bitField0_ |= 0x00000001; break; - } // case 34 - case 40: { - protocol_ = input.readUInt32(); - bitField0_ |= 0x00000010; + } // case 10 + case 16: { + port_ = input.readUInt32(); + bitField0_ |= 0x00000002; break; - } // case 40 + } // case 16 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag @@ -30152,482 +35614,659 @@ public Builder mergeFrom( } private int bitField0_; - private java.util.List matchedRules_ = - java.util.Collections.emptyList(); - private void ensureMatchedRulesIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - matchedRules_ = new java.util.ArrayList(matchedRules_); - bitField0_ |= 0x00000001; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.dd.cws.adv1.pb.SecDumpProto.MatchedRule, com.dd.cws.adv1.pb.SecDumpProto.MatchedRule.Builder, com.dd.cws.adv1.pb.SecDumpProto.MatchedRuleOrBuilder> matchedRulesBuilder_; - + private java.lang.Object ip_ = ""; /** - * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 3; + * string ip = 1; + * @return The ip. */ - public java.util.List getMatchedRulesList() { - if (matchedRulesBuilder_ == null) { - return java.util.Collections.unmodifiableList(matchedRules_); + public java.lang.String getIp() { + java.lang.Object ref = ip_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + ip_ = s; + return s; } else { - return matchedRulesBuilder_.getMessageList(); + return (java.lang.String) ref; } } /** - * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 3; + * string ip = 1; + * @return The bytes for ip. */ - public int getMatchedRulesCount() { - if (matchedRulesBuilder_ == null) { - return matchedRules_.size(); + public com.google.protobuf.ByteString + getIpBytes() { + java.lang.Object ref = ip_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + ip_ = b; + return b; } else { - return matchedRulesBuilder_.getCount(); + return (com.google.protobuf.ByteString) ref; } } /** - * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 3; + * string ip = 1; + * @param value The ip to set. + * @return This builder for chaining. */ - public com.dd.cws.adv1.pb.SecDumpProto.MatchedRule getMatchedRules(int index) { - if (matchedRulesBuilder_ == null) { - return matchedRules_.get(index); - } else { - return matchedRulesBuilder_.getMessage(index); - } + public Builder setIp( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ip_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; } /** - * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 3; + * string ip = 1; + * @return This builder for chaining. */ - public Builder setMatchedRules( - int index, com.dd.cws.adv1.pb.SecDumpProto.MatchedRule value) { - if (matchedRulesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureMatchedRulesIsMutable(); - matchedRules_.set(index, value); - onChanged(); - } else { - matchedRulesBuilder_.setMessage(index, value); - } + public Builder clearIp() { + ip_ = getDefaultInstance().getIp(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); return this; } /** - * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 3; + * string ip = 1; + * @param value The bytes for ip to set. + * @return This builder for chaining. */ - public Builder setMatchedRules( - int index, com.dd.cws.adv1.pb.SecDumpProto.MatchedRule.Builder builderForValue) { - if (matchedRulesBuilder_ == null) { - ensureMatchedRulesIsMutable(); - matchedRules_.set(index, builderForValue.build()); - onChanged(); - } else { - matchedRulesBuilder_.setMessage(index, builderForValue.build()); - } + public Builder setIpBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ip_ = value; + bitField0_ |= 0x00000001; + onChanged(); return this; } + + private int port_ ; /** - * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 3; + * uint32 port = 2; + * @return The port. */ - public Builder addMatchedRules(com.dd.cws.adv1.pb.SecDumpProto.MatchedRule value) { - if (matchedRulesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureMatchedRulesIsMutable(); - matchedRules_.add(value); - onChanged(); - } else { - matchedRulesBuilder_.addMessage(value); - } - return this; + @java.lang.Override + public int getPort() { + return port_; } /** - * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 3; + * uint32 port = 2; + * @param value The port to set. + * @return This builder for chaining. */ - public Builder addMatchedRules( - int index, com.dd.cws.adv1.pb.SecDumpProto.MatchedRule value) { - if (matchedRulesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureMatchedRulesIsMutable(); - matchedRules_.add(index, value); - onChanged(); - } else { - matchedRulesBuilder_.addMessage(index, value); - } + public Builder setPort(int value) { + + port_ = value; + bitField0_ |= 0x00000002; + onChanged(); return this; } /** - * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 3; + * uint32 port = 2; + * @return This builder for chaining. */ - public Builder addMatchedRules( - com.dd.cws.adv1.pb.SecDumpProto.MatchedRule.Builder builderForValue) { - if (matchedRulesBuilder_ == null) { - ensureMatchedRulesIsMutable(); - matchedRules_.add(builderForValue.build()); - onChanged(); - } else { - matchedRulesBuilder_.addMessage(builderForValue.build()); - } + public Builder clearPort() { + bitField0_ = (bitField0_ & ~0x00000002); + port_ = 0; + onChanged(); return this; } - /** - * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 3; - */ - public Builder addMatchedRules( - int index, com.dd.cws.adv1.pb.SecDumpProto.MatchedRule.Builder builderForValue) { - if (matchedRulesBuilder_ == null) { - ensureMatchedRulesIsMutable(); - matchedRules_.add(index, builderForValue.build()); - onChanged(); - } else { - matchedRulesBuilder_.addMessage(index, builderForValue.build()); - } - return this; + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:datadog.cws.dumpsv1.IPPortContext) + } + + // @@protoc_insertion_point(class_scope:datadog.cws.dumpsv1.IPPortContext) + private static final com.dd.cws.adv1.pb.SecDumpProto.IPPortContext DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.dd.cws.adv1.pb.SecDumpProto.IPPortContext(); + } + + public static com.dd.cws.adv1.pb.SecDumpProto.IPPortContext getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IPPortContext parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.dd.cws.adv1.pb.SecDumpProto.IPPortContext getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface NetworkStatsOrBuilder extends + // @@protoc_insertion_point(interface_extends:datadog.cws.dumpsv1.NetworkStats) + com.google.protobuf.MessageOrBuilder { + + /** + * uint64 data_size = 1; + * @return The dataSize. + */ + long getDataSize(); + + /** + * uint64 packet_count = 2; + * @return The packetCount. + */ + long getPacketCount(); + } + /** + * Protobuf type {@code datadog.cws.dumpsv1.NetworkStats} + */ + public static final class NetworkStats extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:datadog.cws.dumpsv1.NetworkStats) + NetworkStatsOrBuilder { + private static final long serialVersionUID = 0L; + // Use NetworkStats.newBuilder() to construct. + private NetworkStats(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private NetworkStats() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new NetworkStats(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_NetworkStats_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_NetworkStats_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.dd.cws.adv1.pb.SecDumpProto.NetworkStats.class, com.dd.cws.adv1.pb.SecDumpProto.NetworkStats.Builder.class); + } + + public static final int DATA_SIZE_FIELD_NUMBER = 1; + private long dataSize_ = 0L; + /** + * uint64 data_size = 1; + * @return The dataSize. + */ + @java.lang.Override + public long getDataSize() { + return dataSize_; + } + + public static final int PACKET_COUNT_FIELD_NUMBER = 2; + private long packetCount_ = 0L; + /** + * uint64 packet_count = 2; + * @return The packetCount. + */ + @java.lang.Override + public long getPacketCount() { + return packetCount_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (dataSize_ != 0L) { + output.writeUInt64(1, dataSize_); + } + if (packetCount_ != 0L) { + output.writeUInt64(2, packetCount_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (dataSize_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeUInt64Size(1, dataSize_); + } + if (packetCount_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeUInt64Size(2, packetCount_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.dd.cws.adv1.pb.SecDumpProto.NetworkStats)) { + return super.equals(obj); + } + com.dd.cws.adv1.pb.SecDumpProto.NetworkStats other = (com.dd.cws.adv1.pb.SecDumpProto.NetworkStats) obj; + + if (getDataSize() + != other.getDataSize()) return false; + if (getPacketCount() + != other.getPacketCount()) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + DATA_SIZE_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getDataSize()); + hash = (37 * hash) + PACKET_COUNT_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getPacketCount()); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.dd.cws.adv1.pb.SecDumpProto.NetworkStats parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.dd.cws.adv1.pb.SecDumpProto.NetworkStats parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.dd.cws.adv1.pb.SecDumpProto.NetworkStats parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.dd.cws.adv1.pb.SecDumpProto.NetworkStats parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.dd.cws.adv1.pb.SecDumpProto.NetworkStats parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.dd.cws.adv1.pb.SecDumpProto.NetworkStats parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.dd.cws.adv1.pb.SecDumpProto.NetworkStats parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.dd.cws.adv1.pb.SecDumpProto.NetworkStats parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.dd.cws.adv1.pb.SecDumpProto.NetworkStats parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.dd.cws.adv1.pb.SecDumpProto.NetworkStats parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.dd.cws.adv1.pb.SecDumpProto.NetworkStats parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.dd.cws.adv1.pb.SecDumpProto.NetworkStats parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.dd.cws.adv1.pb.SecDumpProto.NetworkStats prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code datadog.cws.dumpsv1.NetworkStats} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:datadog.cws.dumpsv1.NetworkStats) + com.dd.cws.adv1.pb.SecDumpProto.NetworkStatsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_NetworkStats_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_NetworkStats_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.dd.cws.adv1.pb.SecDumpProto.NetworkStats.class, com.dd.cws.adv1.pb.SecDumpProto.NetworkStats.Builder.class); } - /** - * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 3; - */ - public Builder addAllMatchedRules( - java.lang.Iterable values) { - if (matchedRulesBuilder_ == null) { - ensureMatchedRulesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, matchedRules_); - onChanged(); - } else { - matchedRulesBuilder_.addAllMessages(values); - } - return this; + + // Construct using com.dd.cws.adv1.pb.SecDumpProto.NetworkStats.newBuilder() + private Builder() { + } - /** - * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 3; - */ - public Builder clearMatchedRules() { - if (matchedRulesBuilder_ == null) { - matchedRules_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - } else { - matchedRulesBuilder_.clear(); - } - return this; + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } - /** - * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 3; - */ - public Builder removeMatchedRules(int index) { - if (matchedRulesBuilder_ == null) { - ensureMatchedRulesIsMutable(); - matchedRules_.remove(index); - onChanged(); - } else { - matchedRulesBuilder_.remove(index); - } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + dataSize_ = 0L; + packetCount_ = 0L; return this; } - /** - * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 3; - */ - public com.dd.cws.adv1.pb.SecDumpProto.MatchedRule.Builder getMatchedRulesBuilder( - int index) { - return getMatchedRulesFieldBuilder().getBuilder(index); + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_NetworkStats_descriptor; } - /** - * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 3; - */ - public com.dd.cws.adv1.pb.SecDumpProto.MatchedRuleOrBuilder getMatchedRulesOrBuilder( - int index) { - if (matchedRulesBuilder_ == null) { - return matchedRules_.get(index); } else { - return matchedRulesBuilder_.getMessageOrBuilder(index); - } + + @java.lang.Override + public com.dd.cws.adv1.pb.SecDumpProto.NetworkStats getDefaultInstanceForType() { + return com.dd.cws.adv1.pb.SecDumpProto.NetworkStats.getDefaultInstance(); } - /** - * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 3; - */ - public java.util.List - getMatchedRulesOrBuilderList() { - if (matchedRulesBuilder_ != null) { - return matchedRulesBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(matchedRules_); + + @java.lang.Override + public com.dd.cws.adv1.pb.SecDumpProto.NetworkStats build() { + com.dd.cws.adv1.pb.SecDumpProto.NetworkStats result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); } + return result; } - /** - * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 3; - */ - public com.dd.cws.adv1.pb.SecDumpProto.MatchedRule.Builder addMatchedRulesBuilder() { - return getMatchedRulesFieldBuilder().addBuilder( - com.dd.cws.adv1.pb.SecDumpProto.MatchedRule.getDefaultInstance()); - } - /** - * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 3; - */ - public com.dd.cws.adv1.pb.SecDumpProto.MatchedRule.Builder addMatchedRulesBuilder( - int index) { - return getMatchedRulesFieldBuilder().addBuilder( - index, com.dd.cws.adv1.pb.SecDumpProto.MatchedRule.getDefaultInstance()); - } - /** - * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 3; - */ - public java.util.List - getMatchedRulesBuilderList() { - return getMatchedRulesFieldBuilder().getBuilderList(); + + @java.lang.Override + public com.dd.cws.adv1.pb.SecDumpProto.NetworkStats buildPartial() { + com.dd.cws.adv1.pb.SecDumpProto.NetworkStats result = new com.dd.cws.adv1.pb.SecDumpProto.NetworkStats(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.dd.cws.adv1.pb.SecDumpProto.MatchedRule, com.dd.cws.adv1.pb.SecDumpProto.MatchedRule.Builder, com.dd.cws.adv1.pb.SecDumpProto.MatchedRuleOrBuilder> - getMatchedRulesFieldBuilder() { - if (matchedRulesBuilder_ == null) { - matchedRulesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.dd.cws.adv1.pb.SecDumpProto.MatchedRule, com.dd.cws.adv1.pb.SecDumpProto.MatchedRule.Builder, com.dd.cws.adv1.pb.SecDumpProto.MatchedRuleOrBuilder>( - matchedRules_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); - matchedRules_ = null; + + private void buildPartial0(com.dd.cws.adv1.pb.SecDumpProto.NetworkStats result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.dataSize_ = dataSize_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.packetCount_ = packetCount_; } - return matchedRulesBuilder_; } - private com.google.protobuf.LazyStringList imageTags_ = com.google.protobuf.LazyStringArrayList.EMPTY; - private void ensureImageTagsIsMutable() { - if (!((bitField0_ & 0x00000002) != 0)) { - imageTags_ = new com.google.protobuf.LazyStringArrayList(imageTags_); - bitField0_ |= 0x00000002; - } - } - /** - * repeated string image_tags = 4; - * @return A list containing the imageTags. - */ - public com.google.protobuf.ProtocolStringList - getImageTagsList() { - return imageTags_.getUnmodifiableView(); - } - /** - * repeated string image_tags = 4; - * @return The count of imageTags. - */ - public int getImageTagsCount() { - return imageTags_.size(); - } - /** - * repeated string image_tags = 4; - * @param index The index of the element to return. - * @return The imageTags at the given index. - */ - public java.lang.String getImageTags(int index) { - return imageTags_.get(index); - } - /** - * repeated string image_tags = 4; - * @param index The index of the value to return. - * @return The bytes of the imageTags at the given index. - */ - public com.google.protobuf.ByteString - getImageTagsBytes(int index) { - return imageTags_.getByteString(index); - } - /** - * repeated string image_tags = 4; - * @param index The index to set the value at. - * @param value The imageTags to set. - * @return This builder for chaining. - */ - public Builder setImageTags( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } - ensureImageTagsIsMutable(); - imageTags_.set(index, value); - onChanged(); - return this; + @java.lang.Override + public Builder clone() { + return super.clone(); } - /** - * repeated string image_tags = 4; - * @param value The imageTags to add. - * @return This builder for chaining. - */ - public Builder addImageTags( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } - ensureImageTagsIsMutable(); - imageTags_.add(value); - onChanged(); - return this; + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); } - /** - * repeated string image_tags = 4; - * @param values The imageTags to add. - * @return This builder for chaining. - */ - public Builder addAllImageTags( - java.lang.Iterable values) { - ensureImageTagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, imageTags_); - onChanged(); - return this; + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); } - /** - * repeated string image_tags = 4; - * @return This builder for chaining. - */ - public Builder clearImageTags() { - imageTags_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - return this; + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); } - /** - * repeated string image_tags = 4; - * @param value The bytes of the imageTags to add. - * @return This builder for chaining. - */ - public Builder addImageTagsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } - checkByteStringIsUtf8(value); - ensureImageTagsIsMutable(); - imageTags_.add(value); - onChanged(); - return this; + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); } - - private int port_ ; - /** - * uint32 port = 1; - * @return The port. - */ @java.lang.Override - public int getPort() { - return port_; + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); } - /** - * uint32 port = 1; - * @param value The port to set. - * @return This builder for chaining. - */ - public Builder setPort(int value) { - - port_ = value; - bitField0_ |= 0x00000004; - onChanged(); - return this; + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.dd.cws.adv1.pb.SecDumpProto.NetworkStats) { + return mergeFrom((com.dd.cws.adv1.pb.SecDumpProto.NetworkStats)other); + } else { + super.mergeFrom(other); + return this; + } } - /** - * uint32 port = 1; - * @return This builder for chaining. - */ - public Builder clearPort() { - bitField0_ = (bitField0_ & ~0x00000004); - port_ = 0; + + public Builder mergeFrom(com.dd.cws.adv1.pb.SecDumpProto.NetworkStats other) { + if (other == com.dd.cws.adv1.pb.SecDumpProto.NetworkStats.getDefaultInstance()) return this; + if (other.getDataSize() != 0L) { + setDataSize(other.getDataSize()); + } + if (other.getPacketCount() != 0L) { + setPacketCount(other.getPacketCount()); + } + this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } - private java.lang.Object ip_ = ""; - /** - * string ip = 2; - * @return The ip. - */ - public java.lang.String getIp() { - java.lang.Object ref = ip_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - ip_ = s; - return s; - } else { - return (java.lang.String) ref; - } + @java.lang.Override + public final boolean isInitialized() { + return true; } - /** - * string ip = 2; - * @return The bytes for ip. - */ - public com.google.protobuf.ByteString - getIpBytes() { - java.lang.Object ref = ip_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - ip_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + dataSize_ = input.readUInt64(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: { + packetCount_ = input.readUInt64(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; } + private int bitField0_; + + private long dataSize_ ; /** - * string ip = 2; - * @param value The ip to set. - * @return This builder for chaining. + * uint64 data_size = 1; + * @return The dataSize. */ - public Builder setIp( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } - ip_ = value; - bitField0_ |= 0x00000008; - onChanged(); - return this; + @java.lang.Override + public long getDataSize() { + return dataSize_; } /** - * string ip = 2; + * uint64 data_size = 1; + * @param value The dataSize to set. * @return This builder for chaining. */ - public Builder clearIp() { - ip_ = getDefaultInstance().getIp(); - bitField0_ = (bitField0_ & ~0x00000008); + public Builder setDataSize(long value) { + + dataSize_ = value; + bitField0_ |= 0x00000001; onChanged(); return this; } /** - * string ip = 2; - * @param value The bytes for ip to set. + * uint64 data_size = 1; * @return This builder for chaining. */ - public Builder setIpBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } - checkByteStringIsUtf8(value); - ip_ = value; - bitField0_ |= 0x00000008; + public Builder clearDataSize() { + bitField0_ = (bitField0_ & ~0x00000001); + dataSize_ = 0L; onChanged(); return this; } - private int protocol_ ; + private long packetCount_ ; /** - * uint32 protocol = 5; - * @return The protocol. + * uint64 packet_count = 2; + * @return The packetCount. */ @java.lang.Override - public int getProtocol() { - return protocol_; + public long getPacketCount() { + return packetCount_; } /** - * uint32 protocol = 5; - * @param value The protocol to set. + * uint64 packet_count = 2; + * @param value The packetCount to set. * @return This builder for chaining. */ - public Builder setProtocol(int value) { + public Builder setPacketCount(long value) { - protocol_ = value; - bitField0_ |= 0x00000010; + packetCount_ = value; + bitField0_ |= 0x00000002; onChanged(); return this; } /** - * uint32 protocol = 5; + * uint64 packet_count = 2; * @return This builder for chaining. */ - public Builder clearProtocol() { - bitField0_ = (bitField0_ & ~0x00000010); - protocol_ = 0; + public Builder clearPacketCount() { + bitField0_ = (bitField0_ & ~0x00000002); + packetCount_ = 0L; onChanged(); return this; } @@ -30644,23 +36283,23 @@ public final Builder mergeUnknownFields( } - // @@protoc_insertion_point(builder_scope:datadog.cws.dumpsv1.BindNode) + // @@protoc_insertion_point(builder_scope:datadog.cws.dumpsv1.NetworkStats) } - // @@protoc_insertion_point(class_scope:datadog.cws.dumpsv1.BindNode) - private static final com.dd.cws.adv1.pb.SecDumpProto.BindNode DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:datadog.cws.dumpsv1.NetworkStats) + private static final com.dd.cws.adv1.pb.SecDumpProto.NetworkStats DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new com.dd.cws.adv1.pb.SecDumpProto.BindNode(); + DEFAULT_INSTANCE = new com.dd.cws.adv1.pb.SecDumpProto.NetworkStats(); } - public static com.dd.cws.adv1.pb.SecDumpProto.BindNode getDefaultInstance() { + public static com.dd.cws.adv1.pb.SecDumpProto.NetworkStats getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override - public BindNode parsePartialFrom( + public NetworkStats parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -30679,17 +36318,17 @@ public BindNode parsePartialFrom( } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public com.dd.cws.adv1.pb.SecDumpProto.BindNode getDefaultInstanceForType() { + public com.dd.cws.adv1.pb.SecDumpProto.NetworkStats getDefaultInstanceForType() { return DEFAULT_INSTANCE; } @@ -32657,6 +38296,11 @@ public com.dd.cws.adv1.pb.SecDumpProto.event_type_state getDefaultInstanceForTyp private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_datadog_cws_dumpsv1_DNSInfo_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_datadog_cws_dumpsv1_SyscallNode_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_datadog_cws_dumpsv1_SyscallNode_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_datadog_cws_dumpsv1_IMDSNode_descriptor; private static final @@ -32697,6 +38341,26 @@ public com.dd.cws.adv1.pb.SecDumpProto.event_type_state getDefaultInstanceForTyp private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_datadog_cws_dumpsv1_BindNode_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_datadog_cws_dumpsv1_NetworkDeviceNode_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_datadog_cws_dumpsv1_NetworkDeviceNode_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_datadog_cws_dumpsv1_FlowNode_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_datadog_cws_dumpsv1_FlowNode_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_datadog_cws_dumpsv1_IPPortContext_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_datadog_cws_dumpsv1_IPPortContext_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_datadog_cws_dumpsv1_NetworkStats_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_datadog_cws_dumpsv1_NetworkStats_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_datadog_cws_dumpsv1_MatchedRule_descriptor; private static final @@ -32753,7 +38417,7 @@ public com.dd.cws.adv1.pb.SecDumpProto.event_type_state getDefaultInstanceForTyp "\010 \001(\0132$.datadog.cws.dumpsv1.ProfileSelec" + "tor\032[\n\024ProfileContextsEntry\022\013\n\003key\030\001 \001(\t" + "\0222\n\005value\030\002 \001(\0132#.datadog.cws.dumpsv1.Pr" + - "ofileContext:\0028\001\"\364\003\n\023ProcessActivityNode" + + "ofileContext:\0028\001\"\362\004\n\023ProcessActivityNode" + "\0221\n\007process\030\001 \001(\0132 .datadog.cws.dumpsv1." + "ProcessInfo\022<\n\017generation_type\030\010 \001(\0162#.d" + "atadog.cws.dumpsv1.GenerationType\0227\n\rmat" + @@ -32763,93 +38427,111 @@ public com.dd.cws.adv1.pb.SecDumpProto.event_type_state getDefaultInstanceForTyp "\004 \003(\0132%.datadog.cws.dumpsv1.FileActivity" + "Node\022/\n\tdns_names\030\005 \003(\0132\034.datadog.cws.du" + "mpsv1.DNSNode\0220\n\007sockets\030\006 \003(\0132\037.datadog" + - ".cws.dumpsv1.SocketNode\022\020\n\010syscalls\030\007 \003(" + - "\r\022\022\n\nimage_tags\030\n \003(\t\0222\n\013imds_events\030\013 \003" + - "(\0132\035.datadog.cws.dumpsv1.IMDSNodeJ\004\010\002\020\003\"" + - "\331\003\n\013ProcessInfo\022\013\n\003pid\030\001 \001(\r\022\013\n\003tid\030\002 \001(" + - "\r\022\014\n\004ppid\030\003 \001(\r\022\022\n\006cookie\030\004 \001(\rB\002\030\001\022\021\n\ti" + - "s_thread\030\005 \001(\010\022+\n\004file\030\006 \001(\0132\035.datadog.c" + - "ws.dumpsv1.FileInfo\022\024\n\014container_id\030\007 \001(" + - "\t\022\023\n\007span_id\030\010 \001(\004B\002\030\001\022\024\n\010trace_id\030\t \001(\004" + - "B\002\030\001\022\013\n\003tty\030\n \001(\t\022\014\n\004comm\030\013 \001(\t\022\021\n\tfork_" + - "time\030\014 \001(\004\022\021\n\texit_time\030\r \001(\004\022\021\n\texec_ti" + - "me\030\016 \001(\004\0225\n\013credentials\030\017 \001(\0132 .datadog." + - "cws.dumpsv1.Credentials\022\014\n\004args\030\020 \003(\t\022\r\n" + - "\005argv0\030\021 \001(\t\022\026\n\016args_truncated\030\022 \001(\010\022\014\n\004" + - "envs\030\023 \003(\t\022\026\n\016envs_truncated\030\024 \001(\010\022\025\n\ris" + - "_exec_child\030\025 \001(\010\022\020\n\010cookie64\030\026 \001(\004\"\354\002\n\020" + - "FileActivityNode\0227\n\rmatched_rules\030\t \003(\0132" + - " .datadog.cws.dumpsv1.MatchedRule\022\022\n\nima" + - "ge_tags\030\n \003(\t\022\014\n\004name\030\001 \001(\t\022\022\n\nis_patter" + - "n\030\007 \001(\010\022+\n\004file\030\002 \001(\0132\035.datadog.cws.dump" + - "sv1.FileInfo\022<\n\017generation_type\030\010 \001(\0162#." + - "datadog.cws.dumpsv1.GenerationType\022\022\n\nfi" + - "rst_seen\030\004 \001(\004\022+\n\004open\030\005 \001(\0132\035.datadog.c" + - "ws.dumpsv1.OpenNode\0227\n\010children\030\006 \003(\0132%." + - "datadog.cws.dumpsv1.FileActivityNodeJ\004\010\003" + - "\020\004\"7\n\010OpenNode\022\016\n\006retval\030\001 \001(\022\022\r\n\005flags\030" + - "\002 \001(\r\022\014\n\004mode\030\003 \001(\r\"\206\001\n\007DNSNode\0227\n\rmatch" + - "ed_rules\030\002 \003(\0132 .datadog.cws.dumpsv1.Mat" + - "chedRule\022\022\n\nimage_tags\030\003 \003(\t\022.\n\010requests" + - "\030\001 \003(\0132\034.datadog.cws.dumpsv1.DNSInfo\"Q\n\007" + - "DNSInfo\022\014\n\004name\030\001 \001(\t\022\014\n\004type\030\002 \001(\r\022\r\n\005c" + - "lass\030\003 \001(\r\022\014\n\004size\030\004 \001(\r\022\r\n\005count\030\005 \001(\r\"" + - "\206\001\n\010IMDSNode\0227\n\rmatched_rules\030\001 \003(\0132 .da" + - "tadog.cws.dumpsv1.MatchedRule\022\022\n\nimage_t" + - "ags\030\002 \003(\t\022-\n\005event\030\003 \001(\0132\036.datadog.cws.d" + - "umpsv1.IMDSEvent\"\240\001\n\tIMDSEvent\022\014\n\004type\030\001" + - " \001(\t\022\026\n\016cloud_provider\030\002 \001(\t\022\013\n\003url\030\003 \001(" + - "\t\022\014\n\004host\030\004 \001(\t\022\022\n\nuser_agent\030\005 \001(\t\022\016\n\006s" + - "erver\030\006 \001(\t\022.\n\003aws\030\007 \001(\0132!.datadog.cws.d" + - "umpsv1.AWSIMDSEvent\"m\n\014AWSIMDSEvent\022\022\n\ni" + - "s_imds_v2\030\001 \001(\010\022I\n\024security_credentials\030" + - "\002 \001(\0132+.datadog.cws.dumpsv1.AWSSecurityC" + - "redentials\"y\n\026AWSSecurityCredentials\022\014\n\004" + - "code\030\001 \001(\t\022\014\n\004type\030\002 \001(\t\022\025\n\raccess_key_i" + - "d\030\003 \001(\t\022\024\n\014last_updated\030\004 \001(\t\022\026\n\016expirat" + - "ion_raw\030\005 \001(\t\"\351\002\n\010FileInfo\022\013\n\003uid\030\001 \001(\r\022" + - "\014\n\004user\030\002 \001(\t\022\013\n\003gid\030\003 \001(\r\022\r\n\005group\030\004 \001(" + - "\t\022\014\n\004mode\030\005 \001(\r\022\r\n\005ctime\030\006 \001(\004\022\r\n\005mtime\030" + - "\007 \001(\004\022\020\n\010mount_id\030\010 \001(\r\022\r\n\005inode\030\t \001(\004\022\026" + - "\n\016in_upper_layer\030\n \001(\010\022\014\n\004path\030\013 \001(\t\022\020\n\010" + - "basename\030\014 \001(\t\022\022\n\nfilesystem\030\r \001(\t\022\024\n\014pa" + - "ckage_name\030\016 \001(\t\022\027\n\017package_version\030\017 \001(" + - "\t\022\032\n\022package_srcversion\030\020 \001(\t\022\016\n\006hashes\030" + - "\021 \003(\t\0222\n\nhash_state\030\022 \001(\0162\036.datadog.cws." + - "dumpsv1.HashState\"\224\002\n\013Credentials\022\013\n\003uid" + - "\030\001 \001(\r\022\013\n\003gid\030\002 \001(\r\022\014\n\004user\030\003 \001(\t\022\r\n\005gro" + - "up\030\004 \001(\t\022\025\n\reffective_uid\030\005 \001(\r\022\025\n\reffec" + - "tive_gid\030\006 \001(\r\022\026\n\016effective_user\030\007 \001(\t\022\027" + - "\n\017effective_group\030\010 \001(\t\022\016\n\006fs_uid\030\t \001(\r\022" + - "\016\n\006fs_gid\030\n \001(\r\022\017\n\007fs_user\030\013 \001(\t\022\020\n\010fs_g" + - "roup\030\014 \001(\t\022\025\n\rcap_effective\030\r \001(\004\022\025\n\rcap" + - "_permitted\030\016 \001(\004\"I\n\nSocketNode\022\016\n\006family" + - "\030\001 \001(\t\022+\n\004bind\030\002 \003(\0132\035.datadog.cws.dumps" + - "v1.BindNode\"\203\001\n\010BindNode\0227\n\rmatched_rule" + - "s\030\003 \003(\0132 .datadog.cws.dumpsv1.MatchedRul" + - "e\022\022\n\nimage_tags\030\004 \003(\t\022\014\n\004port\030\001 \001(\r\022\n\n\002i" + - "p\030\002 \001(\t\022\020\n\010protocol\030\005 \001(\r\"\325\001\n\013MatchedRul" + - "e\022\017\n\007rule_id\030\001 \001(\t\022\024\n\014rule_version\030\002 \001(\t" + - "\022\023\n\013policy_name\030\003 \001(\t\022\026\n\016policy_version\030" + - "\004 \001(\t\022A\n\trule_tags\030\005 \003(\0132..datadog.cws.d" + - "umpsv1.MatchedRule.RuleTagsEntry\032/\n\rRule" + - "TagsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028" + - "\001\"t\n\020event_type_state\022\031\n\021last_anomaly_na" + - "no\030\001 \001(\004\022E\n\023event_profile_state\030\002 \001(\0162(." + - "datadog.cws.dumpsv1.event_profile_state*" + - "\271\001\n\tHashState\022\013\n\007NO_HASH\020\000\022\010\n\004DONE\020\001\022\022\n\016" + - "FILE_NOT_FOUND\020\002\022\035\n\031PATHNAME_RESOLUTION_" + - "ERROR\020\003\022\020\n\014FILE_TOO_BIG\020\004\022\035\n\031EVENT_TYPE_" + - "NOT_CONFIGURED\020\005\022\031\n\025HASH_WAS_RATE_LIMITE" + - "D\020\006\022\026\n\022UNKNOWN_HASH_ERROR\020\007*8\n\016Generatio" + - "nType\022\013\n\007UNKNOWN\020\000\022\013\n\007RUNTIME\020\001\022\014\n\010SNAPS" + - "HOT\020\002*\220\001\n\023event_profile_state\022\016\n\nNO_PROF" + - "ILE\020\000\022\027\n\023PROFILE_AT_MAX_SIZE\020\001\022\024\n\020UNSTAB" + - "LE_PROFILE\020\002\022\022\n\016STABLE_PROFILE\020\003\022\021\n\rAUTO" + - "_LEARNING\020\004\022\023\n\017WORKLOAD_WARMUP\020\005BU\n\022com." + - "dd.cws.adv1.pbB\014SecDumpProtoP\000Z/github.c" + - "om/DataDog/agent-payload/v5/cws/dumpsv1b" + - "\006proto3" + ".cws.dumpsv1.SocketNode\022\024\n\010syscalls\030\007 \003(" + + "\rB\002\030\001\022\022\n\nimage_tags\030\n \003(\t\0222\n\013imds_events" + + "\030\013 \003(\0132\035.datadog.cws.dumpsv1.IMDSNode\0227\n" + + "\rsyscall_nodes\030\014 \003(\0132 .datadog.cws.dumps" + + "v1.SyscallNode\022?\n\017network_devices\030\r \003(\0132" + + "&.datadog.cws.dumpsv1.NetworkDeviceNodeJ" + + "\004\010\002\020\003\"\331\003\n\013ProcessInfo\022\013\n\003pid\030\001 \001(\r\022\013\n\003ti" + + "d\030\002 \001(\r\022\014\n\004ppid\030\003 \001(\r\022\022\n\006cookie\030\004 \001(\rB\002\030" + + "\001\022\021\n\tis_thread\030\005 \001(\010\022+\n\004file\030\006 \001(\0132\035.dat" + + "adog.cws.dumpsv1.FileInfo\022\024\n\014container_i" + + "d\030\007 \001(\t\022\023\n\007span_id\030\010 \001(\004B\002\030\001\022\024\n\010trace_id" + + "\030\t \001(\004B\002\030\001\022\013\n\003tty\030\n \001(\t\022\014\n\004comm\030\013 \001(\t\022\021\n" + + "\tfork_time\030\014 \001(\004\022\021\n\texit_time\030\r \001(\004\022\021\n\te" + + "xec_time\030\016 \001(\004\0225\n\013credentials\030\017 \001(\0132 .da" + + "tadog.cws.dumpsv1.Credentials\022\014\n\004args\030\020 " + + "\003(\t\022\r\n\005argv0\030\021 \001(\t\022\026\n\016args_truncated\030\022 \001" + + "(\010\022\014\n\004envs\030\023 \003(\t\022\026\n\016envs_truncated\030\024 \001(\010" + + "\022\025\n\ris_exec_child\030\025 \001(\010\022\020\n\010cookie64\030\026 \001(" + + "\004\"\354\002\n\020FileActivityNode\0227\n\rmatched_rules\030" + + "\t \003(\0132 .datadog.cws.dumpsv1.MatchedRule\022" + + "\022\n\nimage_tags\030\n \003(\t\022\014\n\004name\030\001 \001(\t\022\022\n\nis_" + + "pattern\030\007 \001(\010\022+\n\004file\030\002 \001(\0132\035.datadog.cw" + + "s.dumpsv1.FileInfo\022<\n\017generation_type\030\010 " + + "\001(\0162#.datadog.cws.dumpsv1.GenerationType" + + "\022\022\n\nfirst_seen\030\004 \001(\004\022+\n\004open\030\005 \001(\0132\035.dat" + + "adog.cws.dumpsv1.OpenNode\0227\n\010children\030\006 " + + "\003(\0132%.datadog.cws.dumpsv1.FileActivityNo" + + "deJ\004\010\003\020\004\"7\n\010OpenNode\022\016\n\006retval\030\001 \001(\022\022\r\n\005" + + "flags\030\002 \001(\r\022\014\n\004mode\030\003 \001(\r\"\206\001\n\007DNSNode\0227\n" + + "\rmatched_rules\030\002 \003(\0132 .datadog.cws.dumps" + + "v1.MatchedRule\022\022\n\nimage_tags\030\003 \003(\t\022.\n\010re" + + "quests\030\001 \003(\0132\034.datadog.cws.dumpsv1.DNSIn" + + "fo\"Q\n\007DNSInfo\022\014\n\004name\030\001 \001(\t\022\014\n\004type\030\002 \001(" + + "\r\022\r\n\005class\030\003 \001(\r\022\014\n\004size\030\004 \001(\r\022\r\n\005count\030" + + "\005 \001(\r\"2\n\013SyscallNode\022\022\n\nimage_tags\030\001 \003(\t" + + "\022\017\n\007syscall\030\002 \001(\005\"\206\001\n\010IMDSNode\0227\n\rmatche" + + "d_rules\030\001 \003(\0132 .datadog.cws.dumpsv1.Matc" + + "hedRule\022\022\n\nimage_tags\030\002 \003(\t\022-\n\005event\030\003 \001" + + "(\0132\036.datadog.cws.dumpsv1.IMDSEvent\"\240\001\n\tI" + + "MDSEvent\022\014\n\004type\030\001 \001(\t\022\026\n\016cloud_provider" + + "\030\002 \001(\t\022\013\n\003url\030\003 \001(\t\022\014\n\004host\030\004 \001(\t\022\022\n\nuse" + + "r_agent\030\005 \001(\t\022\016\n\006server\030\006 \001(\t\022.\n\003aws\030\007 \001" + + "(\0132!.datadog.cws.dumpsv1.AWSIMDSEvent\"m\n" + + "\014AWSIMDSEvent\022\022\n\nis_imds_v2\030\001 \001(\010\022I\n\024sec" + + "urity_credentials\030\002 \001(\0132+.datadog.cws.du" + + "mpsv1.AWSSecurityCredentials\"y\n\026AWSSecur" + + "ityCredentials\022\014\n\004code\030\001 \001(\t\022\014\n\004type\030\002 \001" + + "(\t\022\025\n\raccess_key_id\030\003 \001(\t\022\024\n\014last_update" + + "d\030\004 \001(\t\022\026\n\016expiration_raw\030\005 \001(\t\"\351\002\n\010File" + + "Info\022\013\n\003uid\030\001 \001(\r\022\014\n\004user\030\002 \001(\t\022\013\n\003gid\030\003" + + " \001(\r\022\r\n\005group\030\004 \001(\t\022\014\n\004mode\030\005 \001(\r\022\r\n\005cti" + + "me\030\006 \001(\004\022\r\n\005mtime\030\007 \001(\004\022\020\n\010mount_id\030\010 \001(" + + "\r\022\r\n\005inode\030\t \001(\004\022\026\n\016in_upper_layer\030\n \001(\010" + + "\022\014\n\004path\030\013 \001(\t\022\020\n\010basename\030\014 \001(\t\022\022\n\nfile" + + "system\030\r \001(\t\022\024\n\014package_name\030\016 \001(\t\022\027\n\017pa" + + "ckage_version\030\017 \001(\t\022\032\n\022package_srcversio" + + "n\030\020 \001(\t\022\016\n\006hashes\030\021 \003(\t\0222\n\nhash_state\030\022 " + + "\001(\0162\036.datadog.cws.dumpsv1.HashState\"\224\002\n\013" + + "Credentials\022\013\n\003uid\030\001 \001(\r\022\013\n\003gid\030\002 \001(\r\022\014\n" + + "\004user\030\003 \001(\t\022\r\n\005group\030\004 \001(\t\022\025\n\reffective_" + + "uid\030\005 \001(\r\022\025\n\reffective_gid\030\006 \001(\r\022\026\n\016effe" + + "ctive_user\030\007 \001(\t\022\027\n\017effective_group\030\010 \001(" + + "\t\022\016\n\006fs_uid\030\t \001(\r\022\016\n\006fs_gid\030\n \001(\r\022\017\n\007fs_" + + "user\030\013 \001(\t\022\020\n\010fs_group\030\014 \001(\t\022\025\n\rcap_effe" + + "ctive\030\r \001(\004\022\025\n\rcap_permitted\030\016 \001(\004\"I\n\nSo" + + "cketNode\022\016\n\006family\030\001 \001(\t\022+\n\004bind\030\002 \003(\0132\035" + + ".datadog.cws.dumpsv1.BindNode\"\203\001\n\010BindNo" + + "de\0227\n\rmatched_rules\030\003 \003(\0132 .datadog.cws." + + "dumpsv1.MatchedRule\022\022\n\nimage_tags\030\004 \003(\t\022" + + "\014\n\004port\030\001 \001(\r\022\n\n\002ip\030\002 \001(\t\022\020\n\010protocol\030\005 " + + "\001(\r\"\257\001\n\021NetworkDeviceNode\0227\n\rmatched_rul" + + "es\030\001 \003(\0132 .datadog.cws.dumpsv1.MatchedRu" + + "le\022\r\n\005netns\030\002 \001(\r\022\017\n\007ifindex\030\003 \001(\r\022\016\n\006if" + + "name\030\004 \001(\t\0221\n\nflow_nodes\030\005 \003(\0132\035.datadog" + + ".cws.dumpsv1.FlowNode\"\234\002\n\010FlowNode\022\022\n\nim" + + "age_tags\030\001 \003(\t\0222\n\006source\030\002 \001(\0132\".datadog" + + ".cws.dumpsv1.IPPortContext\0227\n\013destinatio" + + "n\030\003 \001(\0132\".datadog.cws.dumpsv1.IPPortCont" + + "ext\022\023\n\013l3_protocol\030\004 \001(\r\022\023\n\013l4_protocol\030" + + "\005 \001(\r\0222\n\007ingress\030\006 \001(\0132!.datadog.cws.dum" + + "psv1.NetworkStats\0221\n\006egress\030\007 \001(\0132!.data" + + "dog.cws.dumpsv1.NetworkStats\")\n\rIPPortCo" + + "ntext\022\n\n\002ip\030\001 \001(\t\022\014\n\004port\030\002 \001(\r\"7\n\014Netwo" + + "rkStats\022\021\n\tdata_size\030\001 \001(\004\022\024\n\014packet_cou" + + "nt\030\002 \001(\004\"\325\001\n\013MatchedRule\022\017\n\007rule_id\030\001 \001(" + + "\t\022\024\n\014rule_version\030\002 \001(\t\022\023\n\013policy_name\030\003" + + " \001(\t\022\026\n\016policy_version\030\004 \001(\t\022A\n\trule_tag" + + "s\030\005 \003(\0132..datadog.cws.dumpsv1.MatchedRul" + + "e.RuleTagsEntry\032/\n\rRuleTagsEntry\022\013\n\003key\030" + + "\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"t\n\020event_type_s" + + "tate\022\031\n\021last_anomaly_nano\030\001 \001(\004\022E\n\023event" + + "_profile_state\030\002 \001(\0162(.datadog.cws.dumps" + + "v1.event_profile_state*\271\001\n\tHashState\022\013\n\007" + + "NO_HASH\020\000\022\010\n\004DONE\020\001\022\022\n\016FILE_NOT_FOUND\020\002\022" + + "\035\n\031PATHNAME_RESOLUTION_ERROR\020\003\022\020\n\014FILE_T" + + "OO_BIG\020\004\022\035\n\031EVENT_TYPE_NOT_CONFIGURED\020\005\022" + + "\031\n\025HASH_WAS_RATE_LIMITED\020\006\022\026\n\022UNKNOWN_HA" + + "SH_ERROR\020\007*8\n\016GenerationType\022\013\n\007UNKNOWN\020" + + "\000\022\013\n\007RUNTIME\020\001\022\014\n\010SNAPSHOT\020\002*\220\001\n\023event_p" + + "rofile_state\022\016\n\nNO_PROFILE\020\000\022\027\n\023PROFILE_" + + "AT_MAX_SIZE\020\001\022\024\n\020UNSTABLE_PROFILE\020\002\022\022\n\016S" + + "TABLE_PROFILE\020\003\022\021\n\rAUTO_LEARNING\020\004\022\023\n\017WO" + + "RKLOAD_WARMUP\020\005BU\n\022com.dd.cws.adv1.pbB\014S" + + "ecDumpProtoP\000Z/github.com/DataDog/agent-" + + "payload/v5/cws/dumpsv1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, @@ -32902,7 +38584,7 @@ public com.dd.cws.adv1.pb.SecDumpProto.event_type_state getDefaultInstanceForTyp internal_static_datadog_cws_dumpsv1_ProcessActivityNode_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_datadog_cws_dumpsv1_ProcessActivityNode_descriptor, - new java.lang.String[] { "Process", "GenerationType", "MatchedRules", "Children", "Files", "DnsNames", "Sockets", "Syscalls", "ImageTags", "ImdsEvents", }); + new java.lang.String[] { "Process", "GenerationType", "MatchedRules", "Children", "Files", "DnsNames", "Sockets", "Syscalls", "ImageTags", "ImdsEvents", "SyscallNodes", "NetworkDevices", }); internal_static_datadog_cws_dumpsv1_ProcessInfo_descriptor = getDescriptor().getMessageTypes().get(6); internal_static_datadog_cws_dumpsv1_ProcessInfo_fieldAccessorTable = new @@ -32933,56 +38615,86 @@ public com.dd.cws.adv1.pb.SecDumpProto.event_type_state getDefaultInstanceForTyp com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_datadog_cws_dumpsv1_DNSInfo_descriptor, new java.lang.String[] { "Name", "Type", "Class_", "Size", "Count", }); - internal_static_datadog_cws_dumpsv1_IMDSNode_descriptor = + internal_static_datadog_cws_dumpsv1_SyscallNode_descriptor = getDescriptor().getMessageTypes().get(11); + internal_static_datadog_cws_dumpsv1_SyscallNode_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_datadog_cws_dumpsv1_SyscallNode_descriptor, + new java.lang.String[] { "ImageTags", "Syscall", }); + internal_static_datadog_cws_dumpsv1_IMDSNode_descriptor = + getDescriptor().getMessageTypes().get(12); internal_static_datadog_cws_dumpsv1_IMDSNode_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_datadog_cws_dumpsv1_IMDSNode_descriptor, new java.lang.String[] { "MatchedRules", "ImageTags", "Event", }); internal_static_datadog_cws_dumpsv1_IMDSEvent_descriptor = - getDescriptor().getMessageTypes().get(12); + getDescriptor().getMessageTypes().get(13); internal_static_datadog_cws_dumpsv1_IMDSEvent_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_datadog_cws_dumpsv1_IMDSEvent_descriptor, new java.lang.String[] { "Type", "CloudProvider", "Url", "Host", "UserAgent", "Server", "Aws", }); internal_static_datadog_cws_dumpsv1_AWSIMDSEvent_descriptor = - getDescriptor().getMessageTypes().get(13); + getDescriptor().getMessageTypes().get(14); internal_static_datadog_cws_dumpsv1_AWSIMDSEvent_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_datadog_cws_dumpsv1_AWSIMDSEvent_descriptor, new java.lang.String[] { "IsImdsV2", "SecurityCredentials", }); internal_static_datadog_cws_dumpsv1_AWSSecurityCredentials_descriptor = - getDescriptor().getMessageTypes().get(14); + getDescriptor().getMessageTypes().get(15); internal_static_datadog_cws_dumpsv1_AWSSecurityCredentials_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_datadog_cws_dumpsv1_AWSSecurityCredentials_descriptor, new java.lang.String[] { "Code", "Type", "AccessKeyId", "LastUpdated", "ExpirationRaw", }); internal_static_datadog_cws_dumpsv1_FileInfo_descriptor = - getDescriptor().getMessageTypes().get(15); + getDescriptor().getMessageTypes().get(16); internal_static_datadog_cws_dumpsv1_FileInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_datadog_cws_dumpsv1_FileInfo_descriptor, new java.lang.String[] { "Uid", "User", "Gid", "Group", "Mode", "Ctime", "Mtime", "MountId", "Inode", "InUpperLayer", "Path", "Basename", "Filesystem", "PackageName", "PackageVersion", "PackageSrcversion", "Hashes", "HashState", }); internal_static_datadog_cws_dumpsv1_Credentials_descriptor = - getDescriptor().getMessageTypes().get(16); + getDescriptor().getMessageTypes().get(17); internal_static_datadog_cws_dumpsv1_Credentials_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_datadog_cws_dumpsv1_Credentials_descriptor, new java.lang.String[] { "Uid", "Gid", "User", "Group", "EffectiveUid", "EffectiveGid", "EffectiveUser", "EffectiveGroup", "FsUid", "FsGid", "FsUser", "FsGroup", "CapEffective", "CapPermitted", }); internal_static_datadog_cws_dumpsv1_SocketNode_descriptor = - getDescriptor().getMessageTypes().get(17); + getDescriptor().getMessageTypes().get(18); internal_static_datadog_cws_dumpsv1_SocketNode_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_datadog_cws_dumpsv1_SocketNode_descriptor, new java.lang.String[] { "Family", "Bind", }); internal_static_datadog_cws_dumpsv1_BindNode_descriptor = - getDescriptor().getMessageTypes().get(18); + getDescriptor().getMessageTypes().get(19); internal_static_datadog_cws_dumpsv1_BindNode_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_datadog_cws_dumpsv1_BindNode_descriptor, new java.lang.String[] { "MatchedRules", "ImageTags", "Port", "Ip", "Protocol", }); + internal_static_datadog_cws_dumpsv1_NetworkDeviceNode_descriptor = + getDescriptor().getMessageTypes().get(20); + internal_static_datadog_cws_dumpsv1_NetworkDeviceNode_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_datadog_cws_dumpsv1_NetworkDeviceNode_descriptor, + new java.lang.String[] { "MatchedRules", "Netns", "Ifindex", "Ifname", "FlowNodes", }); + internal_static_datadog_cws_dumpsv1_FlowNode_descriptor = + getDescriptor().getMessageTypes().get(21); + internal_static_datadog_cws_dumpsv1_FlowNode_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_datadog_cws_dumpsv1_FlowNode_descriptor, + new java.lang.String[] { "ImageTags", "Source", "Destination", "L3Protocol", "L4Protocol", "Ingress", "Egress", }); + internal_static_datadog_cws_dumpsv1_IPPortContext_descriptor = + getDescriptor().getMessageTypes().get(22); + internal_static_datadog_cws_dumpsv1_IPPortContext_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_datadog_cws_dumpsv1_IPPortContext_descriptor, + new java.lang.String[] { "Ip", "Port", }); + internal_static_datadog_cws_dumpsv1_NetworkStats_descriptor = + getDescriptor().getMessageTypes().get(23); + internal_static_datadog_cws_dumpsv1_NetworkStats_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_datadog_cws_dumpsv1_NetworkStats_descriptor, + new java.lang.String[] { "DataSize", "PacketCount", }); internal_static_datadog_cws_dumpsv1_MatchedRule_descriptor = - getDescriptor().getMessageTypes().get(19); + getDescriptor().getMessageTypes().get(24); internal_static_datadog_cws_dumpsv1_MatchedRule_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_datadog_cws_dumpsv1_MatchedRule_descriptor, @@ -32994,7 +38706,7 @@ public com.dd.cws.adv1.pb.SecDumpProto.event_type_state getDefaultInstanceForTyp internal_static_datadog_cws_dumpsv1_MatchedRule_RuleTagsEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_datadog_cws_dumpsv1_event_type_state_descriptor = - getDescriptor().getMessageTypes().get(20); + getDescriptor().getMessageTypes().get(25); internal_static_datadog_cws_dumpsv1_event_type_state_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_datadog_cws_dumpsv1_event_type_state_descriptor, diff --git a/proto/cws/dumpsv1/activity_dump.proto b/proto/cws/dumpsv1/activity_dump.proto index e1aaf6d4..a1e6d2d7 100644 --- a/proto/cws/dumpsv1/activity_dump.proto +++ b/proto/cws/dumpsv1/activity_dump.proto @@ -71,9 +71,11 @@ message ProcessActivityNode { repeated FileActivityNode files = 4; repeated DNSNode dns_names = 5; repeated SocketNode sockets = 6; - repeated uint32 syscalls = 7; + repeated uint32 syscalls = 7 [deprecated = true]; repeated string image_tags = 10; repeated IMDSNode imds_events = 11; + repeated SyscallNode syscall_nodes = 12; + repeated NetworkDeviceNode network_devices = 13; } message ProcessInfo { @@ -146,6 +148,12 @@ message DNSInfo { uint32 count = 5; } +message SyscallNode { + repeated string image_tags = 1; + + int32 syscall = 2; +} + message IMDSNode { repeated MatchedRule matched_rules = 1; repeated string image_tags = 2; @@ -248,6 +256,37 @@ message BindNode { uint32 protocol = 5; } +message NetworkDeviceNode { + repeated MatchedRule matched_rules = 1; + + uint32 netns = 2; + uint32 ifindex = 3; + string ifname = 4; + + repeated FlowNode flow_nodes = 5; +} + +message FlowNode { + repeated string image_tags = 1; + + IPPortContext source = 2; + IPPortContext destination = 3; + uint32 l3_protocol = 4; + uint32 l4_protocol = 5; + NetworkStats ingress = 6; + NetworkStats egress = 7; +} + +message IPPortContext { + string ip = 1; + uint32 port = 2; +} + +message NetworkStats { + uint64 data_size = 1; + uint64 packet_count = 2; +} + enum GenerationType { UNKNOWN = 0; RUNTIME = 1;