diff --git a/cws/dumpsv1/activity_dump.pb.go b/cws/dumpsv1/activity_dump.pb.go
index 43acc5fa..2d7dae62 100644
--- a/cws/dumpsv1/activity_dump.pb.go
+++ b/cws/dumpsv1/activity_dump.pb.go
@@ -2482,8 +2482,9 @@ type SocketNode struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- Family string `protobuf:"bytes,1,opt,name=family,proto3" json:"family,omitempty"`
- Bind []*BindNode `protobuf:"bytes,2,rep,name=bind,proto3" json:"bind,omitempty"`
+ Family string `protobuf:"bytes,1,opt,name=family,proto3" json:"family,omitempty"`
+ Bind []*BindNode `protobuf:"bytes,2,rep,name=bind,proto3" json:"bind,omitempty"`
+ Connect []*ConnectNode `protobuf:"bytes,3,rep,name=connect,proto3" json:"connect,omitempty"`
}
func (x *SocketNode) Reset() {
@@ -2532,6 +2533,13 @@ func (x *SocketNode) GetBind() []*BindNode {
return nil
}
+func (x *SocketNode) GetConnect() []*ConnectNode {
+ if x != nil {
+ return x.Connect
+ }
+ return nil
+}
+
type BindNode struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@@ -2621,6 +2629,85 @@ func (x *BindNode) GetProtocol() uint32 {
return 0
}
+type ConnectNode struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ MatchedRules []*MatchedRule `protobuf:"bytes,3,rep,name=matched_rules,json=matchedRules,proto3" json:"matched_rules,omitempty"`
+ NodeBase *NodeBase `protobuf:"bytes,4,opt,name=node_base,json=nodeBase,proto3" json:"node_base,omitempty"`
+ Port uint32 `protobuf:"varint,1,opt,name=port,proto3" json:"port,omitempty"`
+ Ip string `protobuf:"bytes,2,opt,name=ip,proto3" json:"ip,omitempty"`
+ Protocol uint32 `protobuf:"varint,5,opt,name=protocol,proto3" json:"protocol,omitempty"`
+}
+
+func (x *ConnectNode) Reset() {
+ *x = ConnectNode{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[25]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *ConnectNode) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*ConnectNode) ProtoMessage() {}
+
+func (x *ConnectNode) ProtoReflect() protoreflect.Message {
+ 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 {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use ConnectNode.ProtoReflect.Descriptor instead.
+func (*ConnectNode) Descriptor() ([]byte, []int) {
+ return file_proto_cws_dumpsv1_activity_dump_proto_rawDescGZIP(), []int{25}
+}
+
+func (x *ConnectNode) GetMatchedRules() []*MatchedRule {
+ if x != nil {
+ return x.MatchedRules
+ }
+ return nil
+}
+
+func (x *ConnectNode) GetNodeBase() *NodeBase {
+ if x != nil {
+ return x.NodeBase
+ }
+ return nil
+}
+
+func (x *ConnectNode) GetPort() uint32 {
+ if x != nil {
+ return x.Port
+ }
+ return 0
+}
+
+func (x *ConnectNode) GetIp() string {
+ if x != nil {
+ return x.Ip
+ }
+ return ""
+}
+
+func (x *ConnectNode) GetProtocol() uint32 {
+ if x != nil {
+ return x.Protocol
+ }
+ return 0
+}
+
type NetworkDeviceNode struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@@ -2636,7 +2723,7 @@ type NetworkDeviceNode struct {
func (x *NetworkDeviceNode) Reset() {
*x = NetworkDeviceNode{}
if protoimpl.UnsafeEnabled {
- mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[25]
+ mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[26]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2649,7 +2736,7 @@ func (x *NetworkDeviceNode) String() string {
func (*NetworkDeviceNode) ProtoMessage() {}
func (x *NetworkDeviceNode) ProtoReflect() protoreflect.Message {
- mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[25]
+ mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[26]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2662,7 +2749,7 @@ func (x *NetworkDeviceNode) ProtoReflect() protoreflect.Message {
// Deprecated: Use NetworkDeviceNode.ProtoReflect.Descriptor instead.
func (*NetworkDeviceNode) Descriptor() ([]byte, []int) {
- return file_proto_cws_dumpsv1_activity_dump_proto_rawDescGZIP(), []int{25}
+ return file_proto_cws_dumpsv1_activity_dump_proto_rawDescGZIP(), []int{26}
}
func (x *NetworkDeviceNode) GetMatchedRules() []*MatchedRule {
@@ -2719,7 +2806,7 @@ type FlowNode struct {
func (x *FlowNode) Reset() {
*x = FlowNode{}
if protoimpl.UnsafeEnabled {
- mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[26]
+ mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[27]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2732,7 +2819,7 @@ func (x *FlowNode) String() string {
func (*FlowNode) ProtoMessage() {}
func (x *FlowNode) ProtoReflect() protoreflect.Message {
- mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[26]
+ mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[27]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2745,7 +2832,7 @@ func (x *FlowNode) ProtoReflect() protoreflect.Message {
// Deprecated: Use FlowNode.ProtoReflect.Descriptor instead.
func (*FlowNode) Descriptor() ([]byte, []int) {
- return file_proto_cws_dumpsv1_activity_dump_proto_rawDescGZIP(), []int{26}
+ return file_proto_cws_dumpsv1_activity_dump_proto_rawDescGZIP(), []int{27}
}
// Deprecated: Marked as deprecated in proto/cws/dumpsv1/activity_dump.proto.
@@ -2817,7 +2904,7 @@ type IPPortContext struct {
func (x *IPPortContext) Reset() {
*x = IPPortContext{}
if protoimpl.UnsafeEnabled {
- mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[27]
+ mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[28]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2830,7 +2917,7 @@ func (x *IPPortContext) String() string {
func (*IPPortContext) ProtoMessage() {}
func (x *IPPortContext) ProtoReflect() protoreflect.Message {
- mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[27]
+ mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[28]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2843,7 +2930,7 @@ func (x *IPPortContext) ProtoReflect() protoreflect.Message {
// Deprecated: Use IPPortContext.ProtoReflect.Descriptor instead.
func (*IPPortContext) Descriptor() ([]byte, []int) {
- return file_proto_cws_dumpsv1_activity_dump_proto_rawDescGZIP(), []int{27}
+ return file_proto_cws_dumpsv1_activity_dump_proto_rawDescGZIP(), []int{28}
}
func (x *IPPortContext) GetIp() string {
@@ -2872,7 +2959,7 @@ type NetworkStats struct {
func (x *NetworkStats) Reset() {
*x = NetworkStats{}
if protoimpl.UnsafeEnabled {
- mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[28]
+ mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[29]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2885,7 +2972,7 @@ func (x *NetworkStats) String() string {
func (*NetworkStats) ProtoMessage() {}
func (x *NetworkStats) ProtoReflect() protoreflect.Message {
- mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[28]
+ mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[29]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2898,7 +2985,7 @@ func (x *NetworkStats) ProtoReflect() protoreflect.Message {
// Deprecated: Use NetworkStats.ProtoReflect.Descriptor instead.
func (*NetworkStats) Descriptor() ([]byte, []int) {
- return file_proto_cws_dumpsv1_activity_dump_proto_rawDescGZIP(), []int{28}
+ return file_proto_cws_dumpsv1_activity_dump_proto_rawDescGZIP(), []int{29}
}
func (x *NetworkStats) GetDataSize() uint64 {
@@ -2930,7 +3017,7 @@ type MatchedRule struct {
func (x *MatchedRule) Reset() {
*x = MatchedRule{}
if protoimpl.UnsafeEnabled {
- mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[29]
+ mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[30]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2943,7 +3030,7 @@ func (x *MatchedRule) String() string {
func (*MatchedRule) ProtoMessage() {}
func (x *MatchedRule) ProtoReflect() protoreflect.Message {
- mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[29]
+ mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[30]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2956,7 +3043,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{29}
+ return file_proto_cws_dumpsv1_activity_dump_proto_rawDescGZIP(), []int{30}
}
func (x *MatchedRule) GetRuleId() string {
@@ -3006,7 +3093,7 @@ type EventTypeState struct {
func (x *EventTypeState) Reset() {
*x = EventTypeState{}
if protoimpl.UnsafeEnabled {
- mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[30]
+ mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[31]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -3019,7 +3106,7 @@ func (x *EventTypeState) String() string {
func (*EventTypeState) ProtoMessage() {}
func (x *EventTypeState) ProtoReflect() protoreflect.Message {
- mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[30]
+ mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[31]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3032,7 +3119,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{30}
+ return file_proto_cws_dumpsv1_activity_dump_proto_rawDescGZIP(), []int{31}
}
func (x *EventTypeState) GetLastAnomalyNano() uint64 {
@@ -3508,21 +3595,38 @@ var file_proto_cws_dumpsv1_activity_dump_proto_rawDesc = []byte{
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, 0xf0, 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, 0x21, 0x0a, 0x0a, 0x69,
- 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x61, 0x67, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x42,
- 0x02, 0x18, 0x01, 0x52, 0x09, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x54, 0x61, 0x67, 0x73, 0x12, 0x3a,
- 0x0a, 0x09, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x62, 0x61, 0x73, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28,
+ 0x52, 0x0c, 0x63, 0x61, 0x70, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x64, 0x22, 0x93,
+ 0x01, 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, 0x12, 0x3a, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x6e,
+ 0x65, 0x63, 0x74, 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,
+ 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x07, 0x63, 0x6f, 0x6e,
+ 0x6e, 0x65, 0x63, 0x74, 0x22, 0xf0, 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, 0x21, 0x0a, 0x0a, 0x69, 0x6d, 0x61, 0x67,
+ 0x65, 0x5f, 0x74, 0x61, 0x67, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x42, 0x02, 0x18, 0x01,
+ 0x52, 0x09, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x54, 0x61, 0x67, 0x73, 0x12, 0x3a, 0x0a, 0x09, 0x6e,
+ 0x6f, 0x64, 0x65, 0x5f, 0x62, 0x61, 0x73, 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, 0x4e, 0x6f, 0x64, 0x65, 0x42, 0x61, 0x73, 0x65, 0x52, 0x08, 0x6e,
+ 0x6f, 0x64, 0x65, 0x42, 0x61, 0x73, 0x65, 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, 0xd0, 0x01, 0x0a, 0x0b, 0x43, 0x6f, 0x6e, 0x6e,
+ 0x65, 0x63, 0x74, 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, 0x3a,
+ 0x0a, 0x09, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x62, 0x61, 0x73, 0x65, 0x18, 0x04, 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, 0x4e, 0x6f, 0x64, 0x65, 0x42, 0x61, 0x73, 0x65,
0x52, 0x08, 0x6e, 0x6f, 0x64, 0x65, 0x42, 0x61, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x6f,
@@ -3652,7 +3756,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, 35)
+var file_proto_cws_dumpsv1_activity_dump_proto_msgTypes = make([]protoimpl.MessageInfo, 36)
var file_proto_cws_dumpsv1_activity_dump_proto_goTypes = []interface{}{
(HashState)(0), // 0: datadog.cws.dumpsv1.HashState
(GenerationType)(0), // 1: datadog.cws.dumpsv1.GenerationType
@@ -3682,32 +3786,33 @@ var file_proto_cws_dumpsv1_activity_dump_proto_goTypes = []interface{}{
(*Credentials)(nil), // 25: datadog.cws.dumpsv1.Credentials
(*SocketNode)(nil), // 26: datadog.cws.dumpsv1.SocketNode
(*BindNode)(nil), // 27: datadog.cws.dumpsv1.BindNode
- (*NetworkDeviceNode)(nil), // 28: datadog.cws.dumpsv1.NetworkDeviceNode
- (*FlowNode)(nil), // 29: datadog.cws.dumpsv1.FlowNode
- (*IPPortContext)(nil), // 30: datadog.cws.dumpsv1.IPPortContext
- (*NetworkStats)(nil), // 31: datadog.cws.dumpsv1.NetworkStats
- (*MatchedRule)(nil), // 32: datadog.cws.dumpsv1.MatchedRule
- (*EventTypeState)(nil), // 33: datadog.cws.dumpsv1.event_type_state
- nil, // 34: datadog.cws.dumpsv1.ProfileContext.EventTypeStateEntry
- nil, // 35: datadog.cws.dumpsv1.NodeBase.SeenEntry
- nil, // 36: datadog.cws.dumpsv1.SecurityProfile.ProfileContextsEntry
- nil, // 37: datadog.cws.dumpsv1.MatchedRule.RuleTagsEntry
+ (*ConnectNode)(nil), // 28: datadog.cws.dumpsv1.ConnectNode
+ (*NetworkDeviceNode)(nil), // 29: datadog.cws.dumpsv1.NetworkDeviceNode
+ (*FlowNode)(nil), // 30: datadog.cws.dumpsv1.FlowNode
+ (*IPPortContext)(nil), // 31: datadog.cws.dumpsv1.IPPortContext
+ (*NetworkStats)(nil), // 32: datadog.cws.dumpsv1.NetworkStats
+ (*MatchedRule)(nil), // 33: datadog.cws.dumpsv1.MatchedRule
+ (*EventTypeState)(nil), // 34: datadog.cws.dumpsv1.event_type_state
+ nil, // 35: datadog.cws.dumpsv1.ProfileContext.EventTypeStateEntry
+ nil, // 36: datadog.cws.dumpsv1.NodeBase.SeenEntry
+ nil, // 37: datadog.cws.dumpsv1.SecurityProfile.ProfileContextsEntry
+ nil, // 38: 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
11, // 1: datadog.cws.dumpsv1.SecDump.tree:type_name -> datadog.cws.dumpsv1.ProcessActivityNode
10, // 2: datadog.cws.dumpsv1.SecDump.mounts:type_name -> datadog.cws.dumpsv1.MountNode
- 34, // 3: datadog.cws.dumpsv1.ProfileContext.event_type_state:type_name -> datadog.cws.dumpsv1.ProfileContext.EventTypeStateEntry
- 35, // 4: datadog.cws.dumpsv1.NodeBase.seen:type_name -> datadog.cws.dumpsv1.NodeBase.SeenEntry
+ 35, // 3: datadog.cws.dumpsv1.ProfileContext.event_type_state:type_name -> datadog.cws.dumpsv1.ProfileContext.EventTypeStateEntry
+ 36, // 4: datadog.cws.dumpsv1.NodeBase.seen:type_name -> datadog.cws.dumpsv1.NodeBase.SeenEntry
4, // 5: datadog.cws.dumpsv1.SecurityProfile.metadata:type_name -> datadog.cws.dumpsv1.Metadata
11, // 6: datadog.cws.dumpsv1.SecurityProfile.tree:type_name -> datadog.cws.dumpsv1.ProcessActivityNode
- 36, // 7: datadog.cws.dumpsv1.SecurityProfile.profile_contexts:type_name -> datadog.cws.dumpsv1.SecurityProfile.ProfileContextsEntry
+ 37, // 7: datadog.cws.dumpsv1.SecurityProfile.profile_contexts:type_name -> datadog.cws.dumpsv1.SecurityProfile.ProfileContextsEntry
5, // 8: datadog.cws.dumpsv1.SecurityProfile.selector:type_name -> datadog.cws.dumpsv1.ProfileSelector
10, // 9: datadog.cws.dumpsv1.SecurityProfile.mounts:type_name -> datadog.cws.dumpsv1.MountNode
8, // 10: datadog.cws.dumpsv1.MountNode.node_base:type_name -> datadog.cws.dumpsv1.NodeBase
12, // 11: datadog.cws.dumpsv1.ProcessActivityNode.process:type_name -> datadog.cws.dumpsv1.ProcessInfo
1, // 12: datadog.cws.dumpsv1.ProcessActivityNode.generation_type:type_name -> datadog.cws.dumpsv1.GenerationType
- 32, // 13: datadog.cws.dumpsv1.ProcessActivityNode.matched_rules:type_name -> datadog.cws.dumpsv1.MatchedRule
+ 33, // 13: datadog.cws.dumpsv1.ProcessActivityNode.matched_rules:type_name -> datadog.cws.dumpsv1.MatchedRule
11, // 14: datadog.cws.dumpsv1.ProcessActivityNode.children:type_name -> datadog.cws.dumpsv1.ProcessActivityNode
13, // 15: datadog.cws.dumpsv1.ProcessActivityNode.files:type_name -> datadog.cws.dumpsv1.FileActivityNode
15, // 16: datadog.cws.dumpsv1.ProcessActivityNode.dns_names:type_name -> datadog.cws.dumpsv1.DNSNode
@@ -3715,48 +3820,51 @@ var file_proto_cws_dumpsv1_activity_dump_proto_depIdxs = []int32{
8, // 18: datadog.cws.dumpsv1.ProcessActivityNode.node_base:type_name -> datadog.cws.dumpsv1.NodeBase
20, // 19: datadog.cws.dumpsv1.ProcessActivityNode.imds_events:type_name -> datadog.cws.dumpsv1.IMDSNode
18, // 20: datadog.cws.dumpsv1.ProcessActivityNode.syscall_nodes:type_name -> datadog.cws.dumpsv1.SyscallNode
- 28, // 21: datadog.cws.dumpsv1.ProcessActivityNode.network_devices:type_name -> datadog.cws.dumpsv1.NetworkDeviceNode
+ 29, // 21: datadog.cws.dumpsv1.ProcessActivityNode.network_devices:type_name -> datadog.cws.dumpsv1.NetworkDeviceNode
19, // 22: datadog.cws.dumpsv1.ProcessActivityNode.capability_nodes:type_name -> datadog.cws.dumpsv1.CapabilityNode
24, // 23: datadog.cws.dumpsv1.ProcessInfo.file:type_name -> datadog.cws.dumpsv1.FileInfo
25, // 24: datadog.cws.dumpsv1.ProcessInfo.credentials:type_name -> datadog.cws.dumpsv1.Credentials
- 32, // 25: datadog.cws.dumpsv1.FileActivityNode.matched_rules:type_name -> datadog.cws.dumpsv1.MatchedRule
+ 33, // 25: datadog.cws.dumpsv1.FileActivityNode.matched_rules:type_name -> datadog.cws.dumpsv1.MatchedRule
8, // 26: datadog.cws.dumpsv1.FileActivityNode.node_base:type_name -> datadog.cws.dumpsv1.NodeBase
24, // 27: datadog.cws.dumpsv1.FileActivityNode.file:type_name -> datadog.cws.dumpsv1.FileInfo
1, // 28: datadog.cws.dumpsv1.FileActivityNode.generation_type:type_name -> datadog.cws.dumpsv1.GenerationType
14, // 29: datadog.cws.dumpsv1.FileActivityNode.open:type_name -> datadog.cws.dumpsv1.OpenNode
13, // 30: datadog.cws.dumpsv1.FileActivityNode.children:type_name -> datadog.cws.dumpsv1.FileActivityNode
- 32, // 31: datadog.cws.dumpsv1.DNSNode.matched_rules:type_name -> datadog.cws.dumpsv1.MatchedRule
+ 33, // 31: datadog.cws.dumpsv1.DNSNode.matched_rules:type_name -> datadog.cws.dumpsv1.MatchedRule
8, // 32: datadog.cws.dumpsv1.DNSNode.node_base:type_name -> datadog.cws.dumpsv1.NodeBase
16, // 33: datadog.cws.dumpsv1.DNSNode.requests:type_name -> datadog.cws.dumpsv1.DNSInfo
17, // 34: datadog.cws.dumpsv1.DNSInfo.response:type_name -> datadog.cws.dumpsv1.DNSResponseInfo
8, // 35: datadog.cws.dumpsv1.SyscallNode.node_base:type_name -> datadog.cws.dumpsv1.NodeBase
8, // 36: datadog.cws.dumpsv1.CapabilityNode.node_base:type_name -> datadog.cws.dumpsv1.NodeBase
- 32, // 37: datadog.cws.dumpsv1.IMDSNode.matched_rules:type_name -> datadog.cws.dumpsv1.MatchedRule
+ 33, // 37: datadog.cws.dumpsv1.IMDSNode.matched_rules:type_name -> datadog.cws.dumpsv1.MatchedRule
8, // 38: datadog.cws.dumpsv1.IMDSNode.node_base:type_name -> datadog.cws.dumpsv1.NodeBase
21, // 39: datadog.cws.dumpsv1.IMDSNode.event:type_name -> datadog.cws.dumpsv1.IMDSEvent
22, // 40: datadog.cws.dumpsv1.IMDSEvent.aws:type_name -> datadog.cws.dumpsv1.AWSIMDSEvent
23, // 41: datadog.cws.dumpsv1.AWSIMDSEvent.security_credentials:type_name -> datadog.cws.dumpsv1.AWSSecurityCredentials
0, // 42: datadog.cws.dumpsv1.FileInfo.hash_state:type_name -> datadog.cws.dumpsv1.HashState
27, // 43: datadog.cws.dumpsv1.SocketNode.bind:type_name -> datadog.cws.dumpsv1.BindNode
- 32, // 44: datadog.cws.dumpsv1.BindNode.matched_rules:type_name -> datadog.cws.dumpsv1.MatchedRule
- 8, // 45: datadog.cws.dumpsv1.BindNode.node_base:type_name -> datadog.cws.dumpsv1.NodeBase
- 32, // 46: datadog.cws.dumpsv1.NetworkDeviceNode.matched_rules:type_name -> datadog.cws.dumpsv1.MatchedRule
- 29, // 47: datadog.cws.dumpsv1.NetworkDeviceNode.flow_nodes:type_name -> datadog.cws.dumpsv1.FlowNode
- 8, // 48: datadog.cws.dumpsv1.FlowNode.node_base:type_name -> datadog.cws.dumpsv1.NodeBase
- 30, // 49: datadog.cws.dumpsv1.FlowNode.source:type_name -> datadog.cws.dumpsv1.IPPortContext
- 30, // 50: datadog.cws.dumpsv1.FlowNode.destination:type_name -> datadog.cws.dumpsv1.IPPortContext
- 31, // 51: datadog.cws.dumpsv1.FlowNode.ingress:type_name -> datadog.cws.dumpsv1.NetworkStats
- 31, // 52: datadog.cws.dumpsv1.FlowNode.egress:type_name -> datadog.cws.dumpsv1.NetworkStats
- 37, // 53: datadog.cws.dumpsv1.MatchedRule.rule_tags:type_name -> datadog.cws.dumpsv1.MatchedRule.RuleTagsEntry
- 2, // 54: datadog.cws.dumpsv1.event_type_state.event_profile_state:type_name -> datadog.cws.dumpsv1.event_profile_state
- 33, // 55: datadog.cws.dumpsv1.ProfileContext.EventTypeStateEntry.value:type_name -> datadog.cws.dumpsv1.event_type_state
- 7, // 56: datadog.cws.dumpsv1.NodeBase.SeenEntry.value:type_name -> datadog.cws.dumpsv1.ImageTagTimes
- 6, // 57: datadog.cws.dumpsv1.SecurityProfile.ProfileContextsEntry.value:type_name -> datadog.cws.dumpsv1.ProfileContext
- 58, // [58:58] is the sub-list for method output_type
- 58, // [58:58] is the sub-list for method input_type
- 58, // [58:58] is the sub-list for extension type_name
- 58, // [58:58] is the sub-list for extension extendee
- 0, // [0:58] is the sub-list for field type_name
+ 28, // 44: datadog.cws.dumpsv1.SocketNode.connect:type_name -> datadog.cws.dumpsv1.ConnectNode
+ 33, // 45: datadog.cws.dumpsv1.BindNode.matched_rules:type_name -> datadog.cws.dumpsv1.MatchedRule
+ 8, // 46: datadog.cws.dumpsv1.BindNode.node_base:type_name -> datadog.cws.dumpsv1.NodeBase
+ 33, // 47: datadog.cws.dumpsv1.ConnectNode.matched_rules:type_name -> datadog.cws.dumpsv1.MatchedRule
+ 8, // 48: datadog.cws.dumpsv1.ConnectNode.node_base:type_name -> datadog.cws.dumpsv1.NodeBase
+ 33, // 49: datadog.cws.dumpsv1.NetworkDeviceNode.matched_rules:type_name -> datadog.cws.dumpsv1.MatchedRule
+ 30, // 50: datadog.cws.dumpsv1.NetworkDeviceNode.flow_nodes:type_name -> datadog.cws.dumpsv1.FlowNode
+ 8, // 51: datadog.cws.dumpsv1.FlowNode.node_base:type_name -> datadog.cws.dumpsv1.NodeBase
+ 31, // 52: datadog.cws.dumpsv1.FlowNode.source:type_name -> datadog.cws.dumpsv1.IPPortContext
+ 31, // 53: datadog.cws.dumpsv1.FlowNode.destination:type_name -> datadog.cws.dumpsv1.IPPortContext
+ 32, // 54: datadog.cws.dumpsv1.FlowNode.ingress:type_name -> datadog.cws.dumpsv1.NetworkStats
+ 32, // 55: datadog.cws.dumpsv1.FlowNode.egress:type_name -> datadog.cws.dumpsv1.NetworkStats
+ 38, // 56: datadog.cws.dumpsv1.MatchedRule.rule_tags:type_name -> datadog.cws.dumpsv1.MatchedRule.RuleTagsEntry
+ 2, // 57: datadog.cws.dumpsv1.event_type_state.event_profile_state:type_name -> datadog.cws.dumpsv1.event_profile_state
+ 34, // 58: datadog.cws.dumpsv1.ProfileContext.EventTypeStateEntry.value:type_name -> datadog.cws.dumpsv1.event_type_state
+ 7, // 59: datadog.cws.dumpsv1.NodeBase.SeenEntry.value:type_name -> datadog.cws.dumpsv1.ImageTagTimes
+ 6, // 60: datadog.cws.dumpsv1.SecurityProfile.ProfileContextsEntry.value:type_name -> datadog.cws.dumpsv1.ProfileContext
+ 61, // [61:61] is the sub-list for method output_type
+ 61, // [61:61] is the sub-list for method input_type
+ 61, // [61:61] is the sub-list for extension type_name
+ 61, // [61:61] is the sub-list for extension extendee
+ 0, // [0:61] is the sub-list for field type_name
}
func init() { file_proto_cws_dumpsv1_activity_dump_proto_init() }
@@ -4066,7 +4174,7 @@ func file_proto_cws_dumpsv1_activity_dump_proto_init() {
}
}
file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*NetworkDeviceNode); i {
+ switch v := v.(*ConnectNode); i {
case 0:
return &v.state
case 1:
@@ -4078,7 +4186,7 @@ func file_proto_cws_dumpsv1_activity_dump_proto_init() {
}
}
file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*FlowNode); i {
+ switch v := v.(*NetworkDeviceNode); i {
case 0:
return &v.state
case 1:
@@ -4090,7 +4198,7 @@ func file_proto_cws_dumpsv1_activity_dump_proto_init() {
}
}
file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*IPPortContext); i {
+ switch v := v.(*FlowNode); i {
case 0:
return &v.state
case 1:
@@ -4102,7 +4210,7 @@ func file_proto_cws_dumpsv1_activity_dump_proto_init() {
}
}
file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*NetworkStats); i {
+ switch v := v.(*IPPortContext); i {
case 0:
return &v.state
case 1:
@@ -4114,7 +4222,7 @@ func file_proto_cws_dumpsv1_activity_dump_proto_init() {
}
}
file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*MatchedRule); i {
+ switch v := v.(*NetworkStats); i {
case 0:
return &v.state
case 1:
@@ -4126,6 +4234,18 @@ func file_proto_cws_dumpsv1_activity_dump_proto_init() {
}
}
file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[30].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[31].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*EventTypeState); i {
case 0:
return &v.state
@@ -4145,7 +4265,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: 35,
+ NumMessages: 36,
NumExtensions: 0,
NumServices: 0,
},
diff --git a/cws/dumpsv1/activity_dump_vtproto.pb.go b/cws/dumpsv1/activity_dump_vtproto.pb.go
index 62a924f5..254a1be8 100644
--- a/cws/dumpsv1/activity_dump_vtproto.pb.go
+++ b/cws/dumpsv1/activity_dump_vtproto.pb.go
@@ -2218,6 +2218,18 @@ func (m *SocketNode) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
i -= len(m.unknownFields)
copy(dAtA[i:], m.unknownFields)
}
+ if len(m.Connect) > 0 {
+ for iNdEx := len(m.Connect) - 1; iNdEx >= 0; iNdEx-- {
+ size, err := m.Connect[iNdEx].MarshalToSizedBufferVT(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarint(dAtA, i, uint64(size))
+ i--
+ dAtA[i] = 0x1a
+ }
+ }
if len(m.Bind) > 0 {
for iNdEx := len(m.Bind) - 1; iNdEx >= 0; iNdEx-- {
size, err := m.Bind[iNdEx].MarshalToSizedBufferVT(dAtA[:i])
@@ -2321,6 +2333,78 @@ func (m *BindNode) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
return len(dAtA) - i, nil
}
+func (m *ConnectNode) 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 *ConnectNode) MarshalToVT(dAtA []byte) (int, error) {
+ size := m.SizeVT()
+ return m.MarshalToSizedBufferVT(dAtA[:size])
+}
+
+func (m *ConnectNode) 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.Protocol != 0 {
+ i = encodeVarint(dAtA, i, uint64(m.Protocol))
+ i--
+ dAtA[i] = 0x28
+ }
+ if m.NodeBase != nil {
+ size, err := m.NodeBase.MarshalToSizedBufferVT(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarint(dAtA, i, uint64(size))
+ i--
+ dAtA[i] = 0x22
+ }
+ 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] = 0x1a
+ }
+ }
+ 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] = 0x12
+ }
+ if m.Port != 0 {
+ i = encodeVarint(dAtA, i, uint64(m.Port))
+ i--
+ dAtA[i] = 0x8
+ }
+ return len(dAtA) - i, nil
+}
+
func (m *NetworkDeviceNode) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
@@ -3860,6 +3944,12 @@ func (m *SocketNode) SizeVT() (n int) {
n += 1 + l + sov(uint64(l))
}
}
+ if len(m.Connect) > 0 {
+ for _, e := range m.Connect {
+ l = e.SizeVT()
+ n += 1 + l + sov(uint64(l))
+ }
+ }
n += len(m.unknownFields)
return n
}
@@ -3900,6 +3990,36 @@ func (m *BindNode) SizeVT() (n int) {
return n
}
+func (m *ConnectNode) SizeVT() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if m.Port != 0 {
+ n += 1 + sov(uint64(m.Port))
+ }
+ l = len(m.Ip)
+ 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))
+ }
+ }
+ if m.NodeBase != nil {
+ l = m.NodeBase.SizeVT()
+ n += 1 + l + sov(uint64(l))
+ }
+ if m.Protocol != 0 {
+ n += 1 + sov(uint64(m.Protocol))
+ }
+ n += len(m.unknownFields)
+ return n
+}
+
func (m *NetworkDeviceNode) SizeVT() (n int) {
if m == nil {
return 0
@@ -10620,6 +10740,40 @@ func (m *SocketNode) UnmarshalVT(dAtA []byte) error {
return err
}
iNdEx = postIndex
+ case 3:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Connect", 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.Connect = append(m.Connect, &ConnectNode{})
+ if err := m.Connect[len(m.Connect)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
default:
iNdEx = preIndex
skippy, err := skip(dAtA[iNdEx:])
@@ -10865,6 +11019,197 @@ func (m *BindNode) UnmarshalVT(dAtA []byte) error {
}
return nil
}
+func (m *ConnectNode) 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: ConnectNode: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: ConnectNode: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ 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
+ }
+ }
+ case 2:
+ 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 3:
+ 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 4:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field NodeBase", 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.NodeBase == nil {
+ m.NodeBase = &NodeBase{}
+ }
+ if err := m.NodeBase.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 5:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Protocol", wireType)
+ }
+ m.Protocol = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflow
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.Protocol |= 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 *NetworkDeviceNode) 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 67a08725..5987b0cd 100644
--- a/java/com/dd/cws/adv1/pb/SecDumpProto.java
+++ b/java/com/dd/cws/adv1/pb/SecDumpProto.java
@@ -37416,6 +37416,30 @@ public interface SocketNodeOrBuilder extends
*/
com.dd.cws.adv1.pb.SecDumpProto.BindNodeOrBuilder getBindOrBuilder(
int index);
+
+ /**
+ * repeated .datadog.cws.dumpsv1.ConnectNode connect = 3;
+ */
+ java.util.List
+ getConnectList();
+ /**
+ * repeated .datadog.cws.dumpsv1.ConnectNode connect = 3;
+ */
+ com.dd.cws.adv1.pb.SecDumpProto.ConnectNode getConnect(int index);
+ /**
+ * repeated .datadog.cws.dumpsv1.ConnectNode connect = 3;
+ */
+ int getConnectCount();
+ /**
+ * repeated .datadog.cws.dumpsv1.ConnectNode connect = 3;
+ */
+ java.util.List extends com.dd.cws.adv1.pb.SecDumpProto.ConnectNodeOrBuilder>
+ getConnectOrBuilderList();
+ /**
+ * repeated .datadog.cws.dumpsv1.ConnectNode connect = 3;
+ */
+ com.dd.cws.adv1.pb.SecDumpProto.ConnectNodeOrBuilder getConnectOrBuilder(
+ int index);
}
/**
* Protobuf type {@code datadog.cws.dumpsv1.SocketNode}
@@ -37432,6 +37456,7 @@ private SocketNode(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
private SocketNode() {
family_ = "";
bind_ = java.util.Collections.emptyList();
+ connect_ = java.util.Collections.emptyList();
}
@java.lang.Override
@@ -37539,6 +37564,47 @@ public com.dd.cws.adv1.pb.SecDumpProto.BindNodeOrBuilder getBindOrBuilder(
return bind_.get(index);
}
+ public static final int CONNECT_FIELD_NUMBER = 3;
+ @SuppressWarnings("serial")
+ private java.util.List connect_;
+ /**
+ * repeated .datadog.cws.dumpsv1.ConnectNode connect = 3;
+ */
+ @java.lang.Override
+ public java.util.List getConnectList() {
+ return connect_;
+ }
+ /**
+ * repeated .datadog.cws.dumpsv1.ConnectNode connect = 3;
+ */
+ @java.lang.Override
+ public java.util.List extends com.dd.cws.adv1.pb.SecDumpProto.ConnectNodeOrBuilder>
+ getConnectOrBuilderList() {
+ return connect_;
+ }
+ /**
+ * repeated .datadog.cws.dumpsv1.ConnectNode connect = 3;
+ */
+ @java.lang.Override
+ public int getConnectCount() {
+ return connect_.size();
+ }
+ /**
+ * repeated .datadog.cws.dumpsv1.ConnectNode connect = 3;
+ */
+ @java.lang.Override
+ public com.dd.cws.adv1.pb.SecDumpProto.ConnectNode getConnect(int index) {
+ return connect_.get(index);
+ }
+ /**
+ * repeated .datadog.cws.dumpsv1.ConnectNode connect = 3;
+ */
+ @java.lang.Override
+ public com.dd.cws.adv1.pb.SecDumpProto.ConnectNodeOrBuilder getConnectOrBuilder(
+ int index) {
+ return connect_.get(index);
+ }
+
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
@@ -37559,6 +37625,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
for (int i = 0; i < bind_.size(); i++) {
output.writeMessage(2, bind_.get(i));
}
+ for (int i = 0; i < connect_.size(); i++) {
+ output.writeMessage(3, connect_.get(i));
+ }
getUnknownFields().writeTo(output);
}
@@ -37575,6 +37644,10 @@ public int getSerializedSize() {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, bind_.get(i));
}
+ for (int i = 0; i < connect_.size(); i++) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(3, connect_.get(i));
+ }
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
@@ -37594,6 +37667,8 @@ public boolean equals(final java.lang.Object obj) {
.equals(other.getFamily())) return false;
if (!getBindList()
.equals(other.getBindList())) return false;
+ if (!getConnectList()
+ .equals(other.getConnectList())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@@ -37611,6 +37686,10 @@ public int hashCode() {
hash = (37 * hash) + BIND_FIELD_NUMBER;
hash = (53 * hash) + getBindList().hashCode();
}
+ if (getConnectCount() > 0) {
+ hash = (37 * hash) + CONNECT_FIELD_NUMBER;
+ hash = (53 * hash) + getConnectList().hashCode();
+ }
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
@@ -37748,6 +37827,13 @@ public Builder clear() {
bindBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
+ if (connectBuilder_ == null) {
+ connect_ = java.util.Collections.emptyList();
+ } else {
+ connect_ = null;
+ connectBuilder_.clear();
+ }
+ bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
@@ -37790,6 +37876,15 @@ private void buildPartialRepeatedFields(com.dd.cws.adv1.pb.SecDumpProto.SocketNo
} else {
result.bind_ = bindBuilder_.build();
}
+ if (connectBuilder_ == null) {
+ if (((bitField0_ & 0x00000004) != 0)) {
+ connect_ = java.util.Collections.unmodifiableList(connect_);
+ bitField0_ = (bitField0_ & ~0x00000004);
+ }
+ result.connect_ = connect_;
+ } else {
+ result.connect_ = connectBuilder_.build();
+ }
}
private void buildPartial0(com.dd.cws.adv1.pb.SecDumpProto.SocketNode result) {
@@ -37874,6 +37969,32 @@ public Builder mergeFrom(com.dd.cws.adv1.pb.SecDumpProto.SocketNode other) {
}
}
}
+ if (connectBuilder_ == null) {
+ if (!other.connect_.isEmpty()) {
+ if (connect_.isEmpty()) {
+ connect_ = other.connect_;
+ bitField0_ = (bitField0_ & ~0x00000004);
+ } else {
+ ensureConnectIsMutable();
+ connect_.addAll(other.connect_);
+ }
+ onChanged();
+ }
+ } else {
+ if (!other.connect_.isEmpty()) {
+ if (connectBuilder_.isEmpty()) {
+ connectBuilder_.dispose();
+ connectBuilder_ = null;
+ connect_ = other.connect_;
+ bitField0_ = (bitField0_ & ~0x00000004);
+ connectBuilder_ =
+ com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+ getConnectFieldBuilder() : null;
+ } else {
+ connectBuilder_.addAllMessages(other.connect_);
+ }
+ }
+ }
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
@@ -37918,6 +38039,19 @@ public Builder mergeFrom(
}
break;
} // case 18
+ case 26: {
+ com.dd.cws.adv1.pb.SecDumpProto.ConnectNode m =
+ input.readMessage(
+ com.dd.cws.adv1.pb.SecDumpProto.ConnectNode.parser(),
+ extensionRegistry);
+ if (connectBuilder_ == null) {
+ ensureConnectIsMutable();
+ connect_.add(m);
+ } else {
+ connectBuilder_.addMessage(m);
+ }
+ break;
+ } // case 26
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
@@ -38246,6 +38380,246 @@ public com.dd.cws.adv1.pb.SecDumpProto.BindNode.Builder addBindBuilder(
}
return bindBuilder_;
}
+
+ private java.util.List connect_ =
+ java.util.Collections.emptyList();
+ private void ensureConnectIsMutable() {
+ if (!((bitField0_ & 0x00000004) != 0)) {
+ connect_ = new java.util.ArrayList(connect_);
+ bitField0_ |= 0x00000004;
+ }
+ }
+
+ private com.google.protobuf.RepeatedFieldBuilderV3<
+ com.dd.cws.adv1.pb.SecDumpProto.ConnectNode, com.dd.cws.adv1.pb.SecDumpProto.ConnectNode.Builder, com.dd.cws.adv1.pb.SecDumpProto.ConnectNodeOrBuilder> connectBuilder_;
+
+ /**
+ * repeated .datadog.cws.dumpsv1.ConnectNode connect = 3;
+ */
+ public java.util.List getConnectList() {
+ if (connectBuilder_ == null) {
+ return java.util.Collections.unmodifiableList(connect_);
+ } else {
+ return connectBuilder_.getMessageList();
+ }
+ }
+ /**
+ * repeated .datadog.cws.dumpsv1.ConnectNode connect = 3;
+ */
+ public int getConnectCount() {
+ if (connectBuilder_ == null) {
+ return connect_.size();
+ } else {
+ return connectBuilder_.getCount();
+ }
+ }
+ /**
+ * repeated .datadog.cws.dumpsv1.ConnectNode connect = 3;
+ */
+ public com.dd.cws.adv1.pb.SecDumpProto.ConnectNode getConnect(int index) {
+ if (connectBuilder_ == null) {
+ return connect_.get(index);
+ } else {
+ return connectBuilder_.getMessage(index);
+ }
+ }
+ /**
+ * repeated .datadog.cws.dumpsv1.ConnectNode connect = 3;
+ */
+ public Builder setConnect(
+ int index, com.dd.cws.adv1.pb.SecDumpProto.ConnectNode value) {
+ if (connectBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureConnectIsMutable();
+ connect_.set(index, value);
+ onChanged();
+ } else {
+ connectBuilder_.setMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ * repeated .datadog.cws.dumpsv1.ConnectNode connect = 3;
+ */
+ public Builder setConnect(
+ int index, com.dd.cws.adv1.pb.SecDumpProto.ConnectNode.Builder builderForValue) {
+ if (connectBuilder_ == null) {
+ ensureConnectIsMutable();
+ connect_.set(index, builderForValue.build());
+ onChanged();
+ } else {
+ connectBuilder_.setMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * repeated .datadog.cws.dumpsv1.ConnectNode connect = 3;
+ */
+ public Builder addConnect(com.dd.cws.adv1.pb.SecDumpProto.ConnectNode value) {
+ if (connectBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureConnectIsMutable();
+ connect_.add(value);
+ onChanged();
+ } else {
+ connectBuilder_.addMessage(value);
+ }
+ return this;
+ }
+ /**
+ * repeated .datadog.cws.dumpsv1.ConnectNode connect = 3;
+ */
+ public Builder addConnect(
+ int index, com.dd.cws.adv1.pb.SecDumpProto.ConnectNode value) {
+ if (connectBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureConnectIsMutable();
+ connect_.add(index, value);
+ onChanged();
+ } else {
+ connectBuilder_.addMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ * repeated .datadog.cws.dumpsv1.ConnectNode connect = 3;
+ */
+ public Builder addConnect(
+ com.dd.cws.adv1.pb.SecDumpProto.ConnectNode.Builder builderForValue) {
+ if (connectBuilder_ == null) {
+ ensureConnectIsMutable();
+ connect_.add(builderForValue.build());
+ onChanged();
+ } else {
+ connectBuilder_.addMessage(builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * repeated .datadog.cws.dumpsv1.ConnectNode connect = 3;
+ */
+ public Builder addConnect(
+ int index, com.dd.cws.adv1.pb.SecDumpProto.ConnectNode.Builder builderForValue) {
+ if (connectBuilder_ == null) {
+ ensureConnectIsMutable();
+ connect_.add(index, builderForValue.build());
+ onChanged();
+ } else {
+ connectBuilder_.addMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * repeated .datadog.cws.dumpsv1.ConnectNode connect = 3;
+ */
+ public Builder addAllConnect(
+ java.lang.Iterable extends com.dd.cws.adv1.pb.SecDumpProto.ConnectNode> values) {
+ if (connectBuilder_ == null) {
+ ensureConnectIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(
+ values, connect_);
+ onChanged();
+ } else {
+ connectBuilder_.addAllMessages(values);
+ }
+ return this;
+ }
+ /**
+ * repeated .datadog.cws.dumpsv1.ConnectNode connect = 3;
+ */
+ public Builder clearConnect() {
+ if (connectBuilder_ == null) {
+ connect_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000004);
+ onChanged();
+ } else {
+ connectBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ * repeated .datadog.cws.dumpsv1.ConnectNode connect = 3;
+ */
+ public Builder removeConnect(int index) {
+ if (connectBuilder_ == null) {
+ ensureConnectIsMutable();
+ connect_.remove(index);
+ onChanged();
+ } else {
+ connectBuilder_.remove(index);
+ }
+ return this;
+ }
+ /**
+ * repeated .datadog.cws.dumpsv1.ConnectNode connect = 3;
+ */
+ public com.dd.cws.adv1.pb.SecDumpProto.ConnectNode.Builder getConnectBuilder(
+ int index) {
+ return getConnectFieldBuilder().getBuilder(index);
+ }
+ /**
+ * repeated .datadog.cws.dumpsv1.ConnectNode connect = 3;
+ */
+ public com.dd.cws.adv1.pb.SecDumpProto.ConnectNodeOrBuilder getConnectOrBuilder(
+ int index) {
+ if (connectBuilder_ == null) {
+ return connect_.get(index); } else {
+ return connectBuilder_.getMessageOrBuilder(index);
+ }
+ }
+ /**
+ * repeated .datadog.cws.dumpsv1.ConnectNode connect = 3;
+ */
+ public java.util.List extends com.dd.cws.adv1.pb.SecDumpProto.ConnectNodeOrBuilder>
+ getConnectOrBuilderList() {
+ if (connectBuilder_ != null) {
+ return connectBuilder_.getMessageOrBuilderList();
+ } else {
+ return java.util.Collections.unmodifiableList(connect_);
+ }
+ }
+ /**
+ * repeated .datadog.cws.dumpsv1.ConnectNode connect = 3;
+ */
+ public com.dd.cws.adv1.pb.SecDumpProto.ConnectNode.Builder addConnectBuilder() {
+ return getConnectFieldBuilder().addBuilder(
+ com.dd.cws.adv1.pb.SecDumpProto.ConnectNode.getDefaultInstance());
+ }
+ /**
+ * repeated .datadog.cws.dumpsv1.ConnectNode connect = 3;
+ */
+ public com.dd.cws.adv1.pb.SecDumpProto.ConnectNode.Builder addConnectBuilder(
+ int index) {
+ return getConnectFieldBuilder().addBuilder(
+ index, com.dd.cws.adv1.pb.SecDumpProto.ConnectNode.getDefaultInstance());
+ }
+ /**
+ * repeated .datadog.cws.dumpsv1.ConnectNode connect = 3;
+ */
+ public java.util.List
+ getConnectBuilderList() {
+ return getConnectFieldBuilder().getBuilderList();
+ }
+ private com.google.protobuf.RepeatedFieldBuilderV3<
+ com.dd.cws.adv1.pb.SecDumpProto.ConnectNode, com.dd.cws.adv1.pb.SecDumpProto.ConnectNode.Builder, com.dd.cws.adv1.pb.SecDumpProto.ConnectNodeOrBuilder>
+ getConnectFieldBuilder() {
+ if (connectBuilder_ == null) {
+ connectBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+ com.dd.cws.adv1.pb.SecDumpProto.ConnectNode, com.dd.cws.adv1.pb.SecDumpProto.ConnectNode.Builder, com.dd.cws.adv1.pb.SecDumpProto.ConnectNodeOrBuilder>(
+ connect_,
+ ((bitField0_ & 0x00000004) != 0),
+ getParentForChildren(),
+ isClean());
+ connect_ = null;
+ }
+ return connectBuilder_;
+ }
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -38341,7 +38715,7 @@ com.dd.cws.adv1.pb.SecDumpProto.MatchedRuleOrBuilder getMatchedRulesOrBuilder(
/**
* repeated string image_tags = 4 [deprecated = true];
* @deprecated datadog.cws.dumpsv1.BindNode.image_tags is deprecated.
- * See proto/cws/dumpsv1/activity_dump.proto;l=303
+ * See proto/cws/dumpsv1/activity_dump.proto;l=304
* @return A list containing the imageTags.
*/
@java.lang.Deprecated java.util.List
@@ -38349,14 +38723,14 @@ com.dd.cws.adv1.pb.SecDumpProto.MatchedRuleOrBuilder getMatchedRulesOrBuilder(
/**
* repeated string image_tags = 4 [deprecated = true];
* @deprecated datadog.cws.dumpsv1.BindNode.image_tags is deprecated.
- * See proto/cws/dumpsv1/activity_dump.proto;l=303
+ * See proto/cws/dumpsv1/activity_dump.proto;l=304
* @return The count of imageTags.
*/
@java.lang.Deprecated int getImageTagsCount();
/**
* repeated string image_tags = 4 [deprecated = true];
* @deprecated datadog.cws.dumpsv1.BindNode.image_tags is deprecated.
- * See proto/cws/dumpsv1/activity_dump.proto;l=303
+ * See proto/cws/dumpsv1/activity_dump.proto;l=304
* @param index The index of the element to return.
* @return The imageTags at the given index.
*/
@@ -38364,7 +38738,7 @@ com.dd.cws.adv1.pb.SecDumpProto.MatchedRuleOrBuilder getMatchedRulesOrBuilder(
/**
* repeated string image_tags = 4 [deprecated = true];
* @deprecated datadog.cws.dumpsv1.BindNode.image_tags is deprecated.
- * See proto/cws/dumpsv1/activity_dump.proto;l=303
+ * See proto/cws/dumpsv1/activity_dump.proto;l=304
* @param index The index of the value to return.
* @return The bytes of the imageTags at the given index.
*/
@@ -38500,7 +38874,7 @@ public com.dd.cws.adv1.pb.SecDumpProto.MatchedRuleOrBuilder getMatchedRulesOrBui
/**
* repeated string image_tags = 4 [deprecated = true];
* @deprecated datadog.cws.dumpsv1.BindNode.image_tags is deprecated.
- * See proto/cws/dumpsv1/activity_dump.proto;l=303
+ * See proto/cws/dumpsv1/activity_dump.proto;l=304
* @return A list containing the imageTags.
*/
@java.lang.Deprecated public com.google.protobuf.ProtocolStringList
@@ -38510,7 +38884,7 @@ public com.dd.cws.adv1.pb.SecDumpProto.MatchedRuleOrBuilder getMatchedRulesOrBui
/**
* repeated string image_tags = 4 [deprecated = true];
* @deprecated datadog.cws.dumpsv1.BindNode.image_tags is deprecated.
- * See proto/cws/dumpsv1/activity_dump.proto;l=303
+ * See proto/cws/dumpsv1/activity_dump.proto;l=304
* @return The count of imageTags.
*/
@java.lang.Deprecated public int getImageTagsCount() {
@@ -38519,7 +38893,7 @@ public com.dd.cws.adv1.pb.SecDumpProto.MatchedRuleOrBuilder getMatchedRulesOrBui
/**
* repeated string image_tags = 4 [deprecated = true];
* @deprecated datadog.cws.dumpsv1.BindNode.image_tags is deprecated.
- * See proto/cws/dumpsv1/activity_dump.proto;l=303
+ * See proto/cws/dumpsv1/activity_dump.proto;l=304
* @param index The index of the element to return.
* @return The imageTags at the given index.
*/
@@ -38529,7 +38903,7 @@ public com.dd.cws.adv1.pb.SecDumpProto.MatchedRuleOrBuilder getMatchedRulesOrBui
/**
* repeated string image_tags = 4 [deprecated = true];
* @deprecated datadog.cws.dumpsv1.BindNode.image_tags is deprecated.
- * See proto/cws/dumpsv1/activity_dump.proto;l=303
+ * See proto/cws/dumpsv1/activity_dump.proto;l=304
* @param index The index of the value to return.
* @return The bytes of the imageTags at the given index.
*/
@@ -38819,7 +39193,1425 @@ public static com.dd.cws.adv1.pb.SecDumpProto.BindNode parseFrom(
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.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;
+ }
+
+ @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);
+ }
+
+ // Construct using com.dd.cws.adv1.pb.SecDumpProto.BindNode.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);
+ nodeBase_ = null;
+ if (nodeBaseBuilder_ != null) {
+ nodeBaseBuilder_.dispose();
+ nodeBaseBuilder_ = null;
+ }
+ port_ = 0;
+ ip_ = "";
+ protocol_ = 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;
+ }
+
+ @java.lang.Override
+ public com.dd.cws.adv1.pb.SecDumpProto.BindNode getDefaultInstanceForType() {
+ return com.dd.cws.adv1.pb.SecDumpProto.BindNode.getDefaultInstance();
+ }
+
+ @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;
+ }
+
+ @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 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) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000004) != 0)) {
+ result.nodeBase_ = nodeBaseBuilder_ == null
+ ? nodeBase_
+ : nodeBaseBuilder_.build();
+ }
+ if (((from_bitField0_ & 0x00000008) != 0)) {
+ result.port_ = port_;
+ }
+ if (((from_bitField0_ & 0x00000010) != 0)) {
+ result.ip_ = ip_;
+ }
+ if (((from_bitField0_ & 0x00000020) != 0)) {
+ result.protocol_ = protocol_;
+ }
+ }
+
+ @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.BindNode) {
+ return mergeFrom((com.dd.cws.adv1.pb.SecDumpProto.BindNode)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.hasNodeBase()) {
+ mergeNodeBase(other.getNodeBase());
+ }
+ if (other.getPort() != 0) {
+ setPort(other.getPort());
+ }
+ if (!other.getIp().isEmpty()) {
+ ip_ = other.ip_;
+ bitField0_ |= 0x00000010;
+ onChanged();
+ }
+ if (other.getProtocol() != 0) {
+ setProtocol(other.getProtocol());
+ }
+ 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: {
+ port_ = input.readUInt32();
+ bitField0_ |= 0x00000008;
+ break;
+ } // case 8
+ case 18: {
+ ip_ = input.readStringRequireUtf8();
+ bitField0_ |= 0x00000010;
+ 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_ |= 0x00000020;
+ break;
+ } // case 40
+ case 50: {
+ input.readMessage(
+ getNodeBaseFieldBuilder().getBuilder(),
+ extensionRegistry);
+ bitField0_ |= 0x00000004;
+ break;
+ } // case 50
+ 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 = 3;
+ */
+ 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 = 3;
+ */
+ public int getMatchedRulesCount() {
+ if (matchedRulesBuilder_ == null) {
+ return matchedRules_.size();
+ } else {
+ return matchedRulesBuilder_.getCount();
+ }
+ }
+ /**
+ * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 3;
+ */
+ 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 = 3;
+ */
+ 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 = 3;
+ */
+ 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 = 3;
+ */
+ 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 = 3;
+ */
+ 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 = 3;
+ */
+ 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;
+ }
+ /**
+ * 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;
+ }
+ /**
+ * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 3;
+ */
+ public Builder addAllMatchedRules(
+ java.lang.Iterable extends com.dd.cws.adv1.pb.SecDumpProto.MatchedRule> values) {
+ if (matchedRulesBuilder_ == null) {
+ ensureMatchedRulesIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(
+ values, matchedRules_);
+ onChanged();
+ } else {
+ matchedRulesBuilder_.addAllMessages(values);
+ }
+ return this;
+ }
+ /**
+ * 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;
+ }
+ /**
+ * 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);
+ }
+ 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);
+ }
+ /**
+ * 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);
+ }
+ }
+ /**
+ * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 3;
+ */
+ public java.util.List extends com.dd.cws.adv1.pb.SecDumpProto.MatchedRuleOrBuilder>
+ getMatchedRulesOrBuilderList() {
+ if (matchedRulesBuilder_ != null) {
+ return matchedRulesBuilder_.getMessageOrBuilderList();
+ } else {
+ return java.util.Collections.unmodifiableList(matchedRules_);
+ }
+ }
+ /**
+ * 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();
+ }
+ 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;
+ }
+ }
+ /**
+ * repeated string image_tags = 4 [deprecated = true];
+ * @deprecated datadog.cws.dumpsv1.BindNode.image_tags is deprecated.
+ * See proto/cws/dumpsv1/activity_dump.proto;l=304
+ * @return A list containing the imageTags.
+ */
+ @java.lang.Deprecated public com.google.protobuf.ProtocolStringList
+ getImageTagsList() {
+ return imageTags_.getUnmodifiableView();
+ }
+ /**
+ * repeated string image_tags = 4 [deprecated = true];
+ * @deprecated datadog.cws.dumpsv1.BindNode.image_tags is deprecated.
+ * See proto/cws/dumpsv1/activity_dump.proto;l=304
+ * @return The count of imageTags.
+ */
+ @java.lang.Deprecated public int getImageTagsCount() {
+ return imageTags_.size();
+ }
+ /**
+ * repeated string image_tags = 4 [deprecated = true];
+ * @deprecated datadog.cws.dumpsv1.BindNode.image_tags is deprecated.
+ * See proto/cws/dumpsv1/activity_dump.proto;l=304
+ * @param index The index of the element to return.
+ * @return The imageTags at the given index.
+ */
+ @java.lang.Deprecated public java.lang.String getImageTags(int index) {
+ return imageTags_.get(index);
+ }
+ /**
+ * repeated string image_tags = 4 [deprecated = true];
+ * @deprecated datadog.cws.dumpsv1.BindNode.image_tags is deprecated.
+ * See proto/cws/dumpsv1/activity_dump.proto;l=304
+ * @param index The index of the value to return.
+ * @return The bytes of the imageTags at the given index.
+ */
+ @java.lang.Deprecated public com.google.protobuf.ByteString
+ getImageTagsBytes(int index) {
+ return imageTags_.getByteString(index);
+ }
+ /**
+ * repeated string image_tags = 4 [deprecated = true];
+ * @deprecated datadog.cws.dumpsv1.BindNode.image_tags is deprecated.
+ * See proto/cws/dumpsv1/activity_dump.proto;l=304
+ * @param index The index to set the value at.
+ * @param value The imageTags to set.
+ * @return This builder for chaining.
+ */
+ @java.lang.Deprecated public Builder setImageTags(
+ int index, java.lang.String value) {
+ if (value == null) { throw new NullPointerException(); }
+ ensureImageTagsIsMutable();
+ imageTags_.set(index, value);
+ onChanged();
+ return this;
+ }
+ /**
+ * repeated string image_tags = 4 [deprecated = true];
+ * @deprecated datadog.cws.dumpsv1.BindNode.image_tags is deprecated.
+ * See proto/cws/dumpsv1/activity_dump.proto;l=304
+ * @param value The imageTags to add.
+ * @return This builder for chaining.
+ */
+ @java.lang.Deprecated public Builder addImageTags(
+ java.lang.String value) {
+ if (value == null) { throw new NullPointerException(); }
+ ensureImageTagsIsMutable();
+ imageTags_.add(value);
+ onChanged();
+ return this;
+ }
+ /**
+ * repeated string image_tags = 4 [deprecated = true];
+ * @deprecated datadog.cws.dumpsv1.BindNode.image_tags is deprecated.
+ * See proto/cws/dumpsv1/activity_dump.proto;l=304
+ * @param values The imageTags to add.
+ * @return This builder for chaining.
+ */
+ @java.lang.Deprecated public Builder addAllImageTags(
+ java.lang.Iterable values) {
+ ensureImageTagsIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(
+ values, imageTags_);
+ onChanged();
+ return this;
+ }
+ /**
+ * repeated string image_tags = 4 [deprecated = true];
+ * @deprecated datadog.cws.dumpsv1.BindNode.image_tags is deprecated.
+ * See proto/cws/dumpsv1/activity_dump.proto;l=304
+ * @return This builder for chaining.
+ */
+ @java.lang.Deprecated public Builder clearImageTags() {
+ imageTags_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+ bitField0_ = (bitField0_ & ~0x00000002);
+ onChanged();
+ return this;
+ }
+ /**
+ * repeated string image_tags = 4 [deprecated = true];
+ * @deprecated datadog.cws.dumpsv1.BindNode.image_tags is deprecated.
+ * See proto/cws/dumpsv1/activity_dump.proto;l=304
+ * @param value The bytes of the imageTags to add.
+ * @return This builder for chaining.
+ */
+ @java.lang.Deprecated public Builder addImageTagsBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) { throw new NullPointerException(); }
+ checkByteStringIsUtf8(value);
+ ensureImageTagsIsMutable();
+ imageTags_.add(value);
+ onChanged();
+ return this;
+ }
+
+ private com.dd.cws.adv1.pb.SecDumpProto.NodeBase nodeBase_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.dd.cws.adv1.pb.SecDumpProto.NodeBase, com.dd.cws.adv1.pb.SecDumpProto.NodeBase.Builder, com.dd.cws.adv1.pb.SecDumpProto.NodeBaseOrBuilder> nodeBaseBuilder_;
+ /**
+ * .datadog.cws.dumpsv1.NodeBase node_base = 6;
+ * @return Whether the nodeBase field is set.
+ */
+ public boolean hasNodeBase() {
+ return ((bitField0_ & 0x00000004) != 0);
+ }
+ /**
+ * .datadog.cws.dumpsv1.NodeBase node_base = 6;
+ * @return The nodeBase.
+ */
+ public com.dd.cws.adv1.pb.SecDumpProto.NodeBase getNodeBase() {
+ if (nodeBaseBuilder_ == null) {
+ return nodeBase_ == null ? com.dd.cws.adv1.pb.SecDumpProto.NodeBase.getDefaultInstance() : nodeBase_;
+ } else {
+ return nodeBaseBuilder_.getMessage();
+ }
+ }
+ /**
+ * .datadog.cws.dumpsv1.NodeBase node_base = 6;
+ */
+ public Builder setNodeBase(com.dd.cws.adv1.pb.SecDumpProto.NodeBase value) {
+ if (nodeBaseBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ nodeBase_ = value;
+ } else {
+ nodeBaseBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00000004;
+ onChanged();
+ return this;
+ }
+ /**
+ * .datadog.cws.dumpsv1.NodeBase node_base = 6;
+ */
+ public Builder setNodeBase(
+ com.dd.cws.adv1.pb.SecDumpProto.NodeBase.Builder builderForValue) {
+ if (nodeBaseBuilder_ == null) {
+ nodeBase_ = builderForValue.build();
+ } else {
+ nodeBaseBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00000004;
+ onChanged();
+ return this;
+ }
+ /**
+ * .datadog.cws.dumpsv1.NodeBase node_base = 6;
+ */
+ public Builder mergeNodeBase(com.dd.cws.adv1.pb.SecDumpProto.NodeBase value) {
+ if (nodeBaseBuilder_ == null) {
+ if (((bitField0_ & 0x00000004) != 0) &&
+ nodeBase_ != null &&
+ nodeBase_ != com.dd.cws.adv1.pb.SecDumpProto.NodeBase.getDefaultInstance()) {
+ getNodeBaseBuilder().mergeFrom(value);
+ } else {
+ nodeBase_ = value;
+ }
+ } else {
+ nodeBaseBuilder_.mergeFrom(value);
+ }
+ bitField0_ |= 0x00000004;
+ onChanged();
+ return this;
+ }
+ /**
+ * .datadog.cws.dumpsv1.NodeBase node_base = 6;
+ */
+ public Builder clearNodeBase() {
+ bitField0_ = (bitField0_ & ~0x00000004);
+ nodeBase_ = null;
+ if (nodeBaseBuilder_ != null) {
+ nodeBaseBuilder_.dispose();
+ nodeBaseBuilder_ = null;
+ }
+ onChanged();
+ return this;
+ }
+ /**
+ * .datadog.cws.dumpsv1.NodeBase node_base = 6;
+ */
+ public com.dd.cws.adv1.pb.SecDumpProto.NodeBase.Builder getNodeBaseBuilder() {
+ bitField0_ |= 0x00000004;
+ onChanged();
+ return getNodeBaseFieldBuilder().getBuilder();
+ }
+ /**
+ * .datadog.cws.dumpsv1.NodeBase node_base = 6;
+ */
+ public com.dd.cws.adv1.pb.SecDumpProto.NodeBaseOrBuilder getNodeBaseOrBuilder() {
+ if (nodeBaseBuilder_ != null) {
+ return nodeBaseBuilder_.getMessageOrBuilder();
+ } else {
+ return nodeBase_ == null ?
+ com.dd.cws.adv1.pb.SecDumpProto.NodeBase.getDefaultInstance() : nodeBase_;
+ }
+ }
+ /**
+ * .datadog.cws.dumpsv1.NodeBase node_base = 6;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.dd.cws.adv1.pb.SecDumpProto.NodeBase, com.dd.cws.adv1.pb.SecDumpProto.NodeBase.Builder, com.dd.cws.adv1.pb.SecDumpProto.NodeBaseOrBuilder>
+ getNodeBaseFieldBuilder() {
+ if (nodeBaseBuilder_ == null) {
+ nodeBaseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ com.dd.cws.adv1.pb.SecDumpProto.NodeBase, com.dd.cws.adv1.pb.SecDumpProto.NodeBase.Builder, com.dd.cws.adv1.pb.SecDumpProto.NodeBaseOrBuilder>(
+ getNodeBase(),
+ getParentForChildren(),
+ isClean());
+ nodeBase_ = null;
+ }
+ return nodeBaseBuilder_;
+ }
+
+ private int port_ ;
+ /**
+ * uint32 port = 1;
+ * @return The port.
+ */
+ @java.lang.Override
+ public int getPort() {
+ return port_;
+ }
+ /**
+ * uint32 port = 1;
+ * @param value The port to set.
+ * @return This builder for chaining.
+ */
+ public Builder setPort(int value) {
+
+ port_ = value;
+ bitField0_ |= 0x00000008;
+ onChanged();
+ return this;
+ }
+ /**
+ * uint32 port = 1;
+ * @return This builder for chaining.
+ */
+ public Builder clearPort() {
+ bitField0_ = (bitField0_ & ~0x00000008);
+ port_ = 0;
+ 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;
+ }
+ }
+ /**
+ * 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_ |= 0x00000010;
+ onChanged();
+ return this;
+ }
+ /**
+ * string ip = 2;
+ * @return This builder for chaining.
+ */
+ public Builder clearIp() {
+ ip_ = getDefaultInstance().getIp();
+ bitField0_ = (bitField0_ & ~0x00000010);
+ 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_ |= 0x00000010;
+ 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_ |= 0x00000020;
+ onChanged();
+ return this;
+ }
+ /**
+ * uint32 protocol = 5;
+ * @return This builder for chaining.
+ */
+ public Builder clearProtocol() {
+ bitField0_ = (bitField0_ & ~0x00000020);
+ protocol_ = 0;
+ 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.BindNode)
+ }
+
+ // @@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.BindNode();
+ }
+
+ 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() {
+ @java.lang.Override
+ public BindNode 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.BindNode getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+
+ }
+
+ public interface ConnectNodeOrBuilder extends
+ // @@protoc_insertion_point(interface_extends:datadog.cws.dumpsv1.ConnectNode)
+ 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 extends com.dd.cws.adv1.pb.SecDumpProto.MatchedRuleOrBuilder>
+ getMatchedRulesOrBuilderList();
+ /**
+ * repeated .datadog.cws.dumpsv1.MatchedRule matched_rules = 3;
+ */
+ com.dd.cws.adv1.pb.SecDumpProto.MatchedRuleOrBuilder getMatchedRulesOrBuilder(
+ int index);
+
+ /**
+ * .datadog.cws.dumpsv1.NodeBase node_base = 4;
+ * @return Whether the nodeBase field is set.
+ */
+ boolean hasNodeBase();
+ /**
+ * .datadog.cws.dumpsv1.NodeBase node_base = 4;
+ * @return The nodeBase.
+ */
+ com.dd.cws.adv1.pb.SecDumpProto.NodeBase getNodeBase();
+ /**
+ * .datadog.cws.dumpsv1.NodeBase node_base = 4;
+ */
+ com.dd.cws.adv1.pb.SecDumpProto.NodeBaseOrBuilder getNodeBaseOrBuilder();
+
+ /**
+ * 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.ConnectNode}
+ */
+ public static final class ConnectNode extends
+ com.google.protobuf.GeneratedMessageV3 implements
+ // @@protoc_insertion_point(message_implements:datadog.cws.dumpsv1.ConnectNode)
+ ConnectNodeOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use ConnectNode.newBuilder() to construct.
+ private ConnectNode(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+ private ConnectNode() {
+ matchedRules_ = java.util.Collections.emptyList();
+ ip_ = "";
+ }
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(
+ UnusedPrivateParameter unused) {
+ return new ConnectNode();
+ }
+
+ @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_ConnectNode_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_ConnectNode_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.dd.cws.adv1.pb.SecDumpProto.ConnectNode.class, com.dd.cws.adv1.pb.SecDumpProto.ConnectNode.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 extends com.dd.cws.adv1.pb.SecDumpProto.MatchedRuleOrBuilder>
+ 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 NODE_BASE_FIELD_NUMBER = 4;
+ private com.dd.cws.adv1.pb.SecDumpProto.NodeBase nodeBase_;
+ /**
+ * .datadog.cws.dumpsv1.NodeBase node_base = 4;
+ * @return Whether the nodeBase field is set.
+ */
+ @java.lang.Override
+ public boolean hasNodeBase() {
+ return nodeBase_ != null;
+ }
+ /**
+ * .datadog.cws.dumpsv1.NodeBase node_base = 4;
+ * @return The nodeBase.
+ */
+ @java.lang.Override
+ public com.dd.cws.adv1.pb.SecDumpProto.NodeBase getNodeBase() {
+ return nodeBase_ == null ? com.dd.cws.adv1.pb.SecDumpProto.NodeBase.getDefaultInstance() : nodeBase_;
+ }
+ /**
+ * .datadog.cws.dumpsv1.NodeBase node_base = 4;
+ */
+ @java.lang.Override
+ public com.dd.cws.adv1.pb.SecDumpProto.NodeBaseOrBuilder getNodeBaseOrBuilder() {
+ return nodeBase_ == null ? com.dd.cws.adv1.pb.SecDumpProto.NodeBase.getDefaultInstance() : nodeBase_;
+ }
+
+ 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;
+ }
+ }
+ /**
+ * 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;
+ }
+ }
+
+ 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_);
+ }
+ 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));
+ }
+ if (nodeBase_ != null) {
+ output.writeMessage(4, getNodeBase());
+ }
+ if (protocol_ != 0) {
+ output.writeUInt32(5, protocol_);
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ 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));
+ }
+ if (nodeBase_ != null) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(4, getNodeBase());
+ }
+ if (protocol_ != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt32Size(5, protocol_);
+ }
+ 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.ConnectNode)) {
+ return super.equals(obj);
+ }
+ com.dd.cws.adv1.pb.SecDumpProto.ConnectNode other = (com.dd.cws.adv1.pb.SecDumpProto.ConnectNode) obj;
+
+ if (!getMatchedRulesList()
+ .equals(other.getMatchedRulesList())) return false;
+ if (hasNodeBase() != other.hasNodeBase()) return false;
+ if (hasNodeBase()) {
+ if (!getNodeBase()
+ .equals(other.getNodeBase())) 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;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ if (getMatchedRulesCount() > 0) {
+ hash = (37 * hash) + MATCHED_RULES_FIELD_NUMBER;
+ hash = (53 * hash) + getMatchedRulesList().hashCode();
+ }
+ if (hasNodeBase()) {
+ hash = (37 * hash) + NODE_BASE_FIELD_NUMBER;
+ hash = (53 * hash) + getNodeBase().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;
+ }
+
+ public static com.dd.cws.adv1.pb.SecDumpProto.ConnectNode parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.dd.cws.adv1.pb.SecDumpProto.ConnectNode 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.ConnectNode parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.dd.cws.adv1.pb.SecDumpProto.ConnectNode 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.ConnectNode parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.dd.cws.adv1.pb.SecDumpProto.ConnectNode 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.ConnectNode 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.ConnectNode 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.ConnectNode 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.ConnectNode 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.ConnectNode 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.ConnectNode parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
@@ -38832,7 +40624,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.ConnectNode prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
@@ -38848,26 +40640,26 @@ protected Builder newBuilderForType(
return builder;
}
/**
- * Protobuf type {@code datadog.cws.dumpsv1.BindNode}
+ * Protobuf type {@code datadog.cws.dumpsv1.ConnectNode}
*/
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.ConnectNode)
+ com.dd.cws.adv1.pb.SecDumpProto.ConnectNodeOrBuilder {
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_ConnectNode_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_ConnectNode_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.ConnectNode.class, com.dd.cws.adv1.pb.SecDumpProto.ConnectNode.Builder.class);
}
- // Construct using com.dd.cws.adv1.pb.SecDumpProto.BindNode.newBuilder()
+ // Construct using com.dd.cws.adv1.pb.SecDumpProto.ConnectNode.newBuilder()
private Builder() {
}
@@ -38888,8 +40680,6 @@ public Builder clear() {
matchedRulesBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
- imageTags_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000002);
nodeBase_ = null;
if (nodeBaseBuilder_ != null) {
nodeBaseBuilder_.dispose();
@@ -38904,17 +40694,17 @@ public Builder clear() {
@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_ConnectNode_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.ConnectNode getDefaultInstanceForType() {
+ return com.dd.cws.adv1.pb.SecDumpProto.ConnectNode.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.ConnectNode build() {
+ com.dd.cws.adv1.pb.SecDumpProto.ConnectNode result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
@@ -38922,15 +40712,15 @@ 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);
+ public com.dd.cws.adv1.pb.SecDumpProto.ConnectNode buildPartial() {
+ com.dd.cws.adv1.pb.SecDumpProto.ConnectNode result = new com.dd.cws.adv1.pb.SecDumpProto.ConnectNode(this);
buildPartialRepeatedFields(result);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
- private void buildPartialRepeatedFields(com.dd.cws.adv1.pb.SecDumpProto.BindNode result) {
+ private void buildPartialRepeatedFields(com.dd.cws.adv1.pb.SecDumpProto.ConnectNode result) {
if (matchedRulesBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
matchedRules_ = java.util.Collections.unmodifiableList(matchedRules_);
@@ -38940,27 +40730,22 @@ private void buildPartialRepeatedFields(com.dd.cws.adv1.pb.SecDumpProto.BindNode
} 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.ConnectNode result) {
int from_bitField0_ = bitField0_;
- if (((from_bitField0_ & 0x00000004) != 0)) {
+ if (((from_bitField0_ & 0x00000002) != 0)) {
result.nodeBase_ = nodeBaseBuilder_ == null
? nodeBase_
: nodeBaseBuilder_.build();
}
- if (((from_bitField0_ & 0x00000008) != 0)) {
+ if (((from_bitField0_ & 0x00000004) != 0)) {
result.port_ = port_;
}
- if (((from_bitField0_ & 0x00000010) != 0)) {
+ if (((from_bitField0_ & 0x00000008) != 0)) {
result.ip_ = ip_;
}
- if (((from_bitField0_ & 0x00000020) != 0)) {
+ if (((from_bitField0_ & 0x00000010) != 0)) {
result.protocol_ = protocol_;
}
}
@@ -38999,16 +40784,16 @@ 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.ConnectNode) {
+ return mergeFrom((com.dd.cws.adv1.pb.SecDumpProto.ConnectNode)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;
+ public Builder mergeFrom(com.dd.cws.adv1.pb.SecDumpProto.ConnectNode other) {
+ if (other == com.dd.cws.adv1.pb.SecDumpProto.ConnectNode.getDefaultInstance()) return this;
if (matchedRulesBuilder_ == null) {
if (!other.matchedRules_.isEmpty()) {
if (matchedRules_.isEmpty()) {
@@ -39035,16 +40820,6 @@ public Builder mergeFrom(com.dd.cws.adv1.pb.SecDumpProto.BindNode other) {
}
}
}
- if (!other.imageTags_.isEmpty()) {
- if (imageTags_.isEmpty()) {
- imageTags_ = other.imageTags_;
- bitField0_ = (bitField0_ & ~0x00000002);
- } else {
- ensureImageTagsIsMutable();
- imageTags_.addAll(other.imageTags_);
- }
- onChanged();
- }
if (other.hasNodeBase()) {
mergeNodeBase(other.getNodeBase());
}
@@ -39053,7 +40828,7 @@ public Builder mergeFrom(com.dd.cws.adv1.pb.SecDumpProto.BindNode other) {
}
if (!other.getIp().isEmpty()) {
ip_ = other.ip_;
- bitField0_ |= 0x00000010;
+ bitField0_ |= 0x00000008;
onChanged();
}
if (other.getProtocol() != 0) {
@@ -39087,12 +40862,12 @@ public Builder mergeFrom(
break;
case 8: {
port_ = input.readUInt32();
- bitField0_ |= 0x00000008;
+ bitField0_ |= 0x00000004;
break;
} // case 8
case 18: {
ip_ = input.readStringRequireUtf8();
- bitField0_ |= 0x00000010;
+ bitField0_ |= 0x00000008;
break;
} // case 18
case 26: {
@@ -39109,23 +40884,17 @@ public Builder mergeFrom(
break;
} // case 26
case 34: {
- java.lang.String s = input.readStringRequireUtf8();
- ensureImageTagsIsMutable();
- imageTags_.add(s);
+ input.readMessage(
+ getNodeBaseFieldBuilder().getBuilder(),
+ extensionRegistry);
+ bitField0_ |= 0x00000002;
break;
} // case 34
case 40: {
protocol_ = input.readUInt32();
- bitField0_ |= 0x00000020;
+ bitField0_ |= 0x00000010;
break;
} // case 40
- case 50: {
- input.readMessage(
- getNodeBaseFieldBuilder().getBuilder(),
- extensionRegistry);
- bitField0_ |= 0x00000004;
- break;
- } // case 50
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
@@ -39383,140 +41152,18 @@ public com.dd.cws.adv1.pb.SecDumpProto.MatchedRule.Builder addMatchedRulesBuilde
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 [deprecated = true];
- * @deprecated datadog.cws.dumpsv1.BindNode.image_tags is deprecated.
- * See proto/cws/dumpsv1/activity_dump.proto;l=303
- * @return A list containing the imageTags.
- */
- @java.lang.Deprecated public com.google.protobuf.ProtocolStringList
- getImageTagsList() {
- return imageTags_.getUnmodifiableView();
- }
- /**
- * repeated string image_tags = 4 [deprecated = true];
- * @deprecated datadog.cws.dumpsv1.BindNode.image_tags is deprecated.
- * See proto/cws/dumpsv1/activity_dump.proto;l=303
- * @return The count of imageTags.
- */
- @java.lang.Deprecated public int getImageTagsCount() {
- return imageTags_.size();
- }
- /**
- * repeated string image_tags = 4 [deprecated = true];
- * @deprecated datadog.cws.dumpsv1.BindNode.image_tags is deprecated.
- * See proto/cws/dumpsv1/activity_dump.proto;l=303
- * @param index The index of the element to return.
- * @return The imageTags at the given index.
- */
- @java.lang.Deprecated public java.lang.String getImageTags(int index) {
- return imageTags_.get(index);
- }
- /**
- * repeated string image_tags = 4 [deprecated = true];
- * @deprecated datadog.cws.dumpsv1.BindNode.image_tags is deprecated.
- * See proto/cws/dumpsv1/activity_dump.proto;l=303
- * @param index The index of the value to return.
- * @return The bytes of the imageTags at the given index.
- */
- @java.lang.Deprecated public com.google.protobuf.ByteString
- getImageTagsBytes(int index) {
- return imageTags_.getByteString(index);
- }
- /**
- * repeated string image_tags = 4 [deprecated = true];
- * @deprecated datadog.cws.dumpsv1.BindNode.image_tags is deprecated.
- * See proto/cws/dumpsv1/activity_dump.proto;l=303
- * @param index The index to set the value at.
- * @param value The imageTags to set.
- * @return This builder for chaining.
- */
- @java.lang.Deprecated public Builder setImageTags(
- int index, java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
- ensureImageTagsIsMutable();
- imageTags_.set(index, value);
- onChanged();
- return this;
- }
- /**
- * repeated string image_tags = 4 [deprecated = true];
- * @deprecated datadog.cws.dumpsv1.BindNode.image_tags is deprecated.
- * See proto/cws/dumpsv1/activity_dump.proto;l=303
- * @param value The imageTags to add.
- * @return This builder for chaining.
- */
- @java.lang.Deprecated public Builder addImageTags(
- java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
- ensureImageTagsIsMutable();
- imageTags_.add(value);
- onChanged();
- return this;
- }
- /**
- * repeated string image_tags = 4 [deprecated = true];
- * @deprecated datadog.cws.dumpsv1.BindNode.image_tags is deprecated.
- * See proto/cws/dumpsv1/activity_dump.proto;l=303
- * @param values The imageTags to add.
- * @return This builder for chaining.
- */
- @java.lang.Deprecated public Builder addAllImageTags(
- java.lang.Iterable values) {
- ensureImageTagsIsMutable();
- com.google.protobuf.AbstractMessageLite.Builder.addAll(
- values, imageTags_);
- onChanged();
- return this;
- }
- /**
- * repeated string image_tags = 4 [deprecated = true];
- * @deprecated datadog.cws.dumpsv1.BindNode.image_tags is deprecated.
- * See proto/cws/dumpsv1/activity_dump.proto;l=303
- * @return This builder for chaining.
- */
- @java.lang.Deprecated public Builder clearImageTags() {
- imageTags_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000002);
- onChanged();
- return this;
- }
- /**
- * repeated string image_tags = 4 [deprecated = true];
- * @deprecated datadog.cws.dumpsv1.BindNode.image_tags is deprecated.
- * See proto/cws/dumpsv1/activity_dump.proto;l=303
- * @param value The bytes of the imageTags to add.
- * @return This builder for chaining.
- */
- @java.lang.Deprecated public Builder addImageTagsBytes(
- com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
- checkByteStringIsUtf8(value);
- ensureImageTagsIsMutable();
- imageTags_.add(value);
- onChanged();
- return this;
- }
-
private com.dd.cws.adv1.pb.SecDumpProto.NodeBase nodeBase_;
private com.google.protobuf.SingleFieldBuilderV3<
com.dd.cws.adv1.pb.SecDumpProto.NodeBase, com.dd.cws.adv1.pb.SecDumpProto.NodeBase.Builder, com.dd.cws.adv1.pb.SecDumpProto.NodeBaseOrBuilder> nodeBaseBuilder_;
/**
- * .datadog.cws.dumpsv1.NodeBase node_base = 6;
+ * .datadog.cws.dumpsv1.NodeBase node_base = 4;
* @return Whether the nodeBase field is set.
*/
public boolean hasNodeBase() {
- return ((bitField0_ & 0x00000004) != 0);
+ return ((bitField0_ & 0x00000002) != 0);
}
/**
- * .datadog.cws.dumpsv1.NodeBase node_base = 6;
+ * .datadog.cws.dumpsv1.NodeBase node_base = 4;
* @return The nodeBase.
*/
public com.dd.cws.adv1.pb.SecDumpProto.NodeBase getNodeBase() {
@@ -39527,7 +41174,7 @@ public com.dd.cws.adv1.pb.SecDumpProto.NodeBase getNodeBase() {
}
}
/**
- * .datadog.cws.dumpsv1.NodeBase node_base = 6;
+ * .datadog.cws.dumpsv1.NodeBase node_base = 4;
*/
public Builder setNodeBase(com.dd.cws.adv1.pb.SecDumpProto.NodeBase value) {
if (nodeBaseBuilder_ == null) {
@@ -39538,12 +41185,12 @@ public Builder setNodeBase(com.dd.cws.adv1.pb.SecDumpProto.NodeBase value) {
} else {
nodeBaseBuilder_.setMessage(value);
}
- bitField0_ |= 0x00000004;
+ bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
- * .datadog.cws.dumpsv1.NodeBase node_base = 6;
+ * .datadog.cws.dumpsv1.NodeBase node_base = 4;
*/
public Builder setNodeBase(
com.dd.cws.adv1.pb.SecDumpProto.NodeBase.Builder builderForValue) {
@@ -39552,16 +41199,16 @@ public Builder setNodeBase(
} else {
nodeBaseBuilder_.setMessage(builderForValue.build());
}
- bitField0_ |= 0x00000004;
+ bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
- * .datadog.cws.dumpsv1.NodeBase node_base = 6;
+ * .datadog.cws.dumpsv1.NodeBase node_base = 4;
*/
public Builder mergeNodeBase(com.dd.cws.adv1.pb.SecDumpProto.NodeBase value) {
if (nodeBaseBuilder_ == null) {
- if (((bitField0_ & 0x00000004) != 0) &&
+ if (((bitField0_ & 0x00000002) != 0) &&
nodeBase_ != null &&
nodeBase_ != com.dd.cws.adv1.pb.SecDumpProto.NodeBase.getDefaultInstance()) {
getNodeBaseBuilder().mergeFrom(value);
@@ -39571,15 +41218,15 @@ public Builder mergeNodeBase(com.dd.cws.adv1.pb.SecDumpProto.NodeBase value) {
} else {
nodeBaseBuilder_.mergeFrom(value);
}
- bitField0_ |= 0x00000004;
+ bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
- * .datadog.cws.dumpsv1.NodeBase node_base = 6;
+ * .datadog.cws.dumpsv1.NodeBase node_base = 4;
*/
public Builder clearNodeBase() {
- bitField0_ = (bitField0_ & ~0x00000004);
+ bitField0_ = (bitField0_ & ~0x00000002);
nodeBase_ = null;
if (nodeBaseBuilder_ != null) {
nodeBaseBuilder_.dispose();
@@ -39589,15 +41236,15 @@ public Builder clearNodeBase() {
return this;
}
/**
- * .datadog.cws.dumpsv1.NodeBase node_base = 6;
+ * .datadog.cws.dumpsv1.NodeBase node_base = 4;
*/
public com.dd.cws.adv1.pb.SecDumpProto.NodeBase.Builder getNodeBaseBuilder() {
- bitField0_ |= 0x00000004;
+ bitField0_ |= 0x00000002;
onChanged();
return getNodeBaseFieldBuilder().getBuilder();
}
/**
- * .datadog.cws.dumpsv1.NodeBase node_base = 6;
+ * .datadog.cws.dumpsv1.NodeBase node_base = 4;
*/
public com.dd.cws.adv1.pb.SecDumpProto.NodeBaseOrBuilder getNodeBaseOrBuilder() {
if (nodeBaseBuilder_ != null) {
@@ -39608,7 +41255,7 @@ public com.dd.cws.adv1.pb.SecDumpProto.NodeBaseOrBuilder getNodeBaseOrBuilder()
}
}
/**
- * .datadog.cws.dumpsv1.NodeBase node_base = 6;
+ * .datadog.cws.dumpsv1.NodeBase node_base = 4;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.dd.cws.adv1.pb.SecDumpProto.NodeBase, com.dd.cws.adv1.pb.SecDumpProto.NodeBase.Builder, com.dd.cws.adv1.pb.SecDumpProto.NodeBaseOrBuilder>
@@ -39641,7 +41288,7 @@ public int getPort() {
public Builder setPort(int value) {
port_ = value;
- bitField0_ |= 0x00000008;
+ bitField0_ |= 0x00000004;
onChanged();
return this;
}
@@ -39650,7 +41297,7 @@ public Builder setPort(int value) {
* @return This builder for chaining.
*/
public Builder clearPort() {
- bitField0_ = (bitField0_ & ~0x00000008);
+ bitField0_ = (bitField0_ & ~0x00000004);
port_ = 0;
onChanged();
return this;
@@ -39699,7 +41346,7 @@ public Builder setIp(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ip_ = value;
- bitField0_ |= 0x00000010;
+ bitField0_ |= 0x00000008;
onChanged();
return this;
}
@@ -39709,7 +41356,7 @@ public Builder setIp(
*/
public Builder clearIp() {
ip_ = getDefaultInstance().getIp();
- bitField0_ = (bitField0_ & ~0x00000010);
+ bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
return this;
}
@@ -39723,7 +41370,7 @@ public Builder setIpBytes(
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
ip_ = value;
- bitField0_ |= 0x00000010;
+ bitField0_ |= 0x00000008;
onChanged();
return this;
}
@@ -39745,7 +41392,7 @@ public int getProtocol() {
public Builder setProtocol(int value) {
protocol_ = value;
- bitField0_ |= 0x00000020;
+ bitField0_ |= 0x00000010;
onChanged();
return this;
}
@@ -39754,7 +41401,7 @@ public Builder setProtocol(int value) {
* @return This builder for chaining.
*/
public Builder clearProtocol() {
- bitField0_ = (bitField0_ & ~0x00000020);
+ bitField0_ = (bitField0_ & ~0x00000010);
protocol_ = 0;
onChanged();
return this;
@@ -39772,23 +41419,23 @@ public final Builder mergeUnknownFields(
}
- // @@protoc_insertion_point(builder_scope:datadog.cws.dumpsv1.BindNode)
+ // @@protoc_insertion_point(builder_scope:datadog.cws.dumpsv1.ConnectNode)
}
- // @@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.ConnectNode)
+ private static final com.dd.cws.adv1.pb.SecDumpProto.ConnectNode DEFAULT_INSTANCE;
static {
- DEFAULT_INSTANCE = new com.dd.cws.adv1.pb.SecDumpProto.BindNode();
+ DEFAULT_INSTANCE = new com.dd.cws.adv1.pb.SecDumpProto.ConnectNode();
}
- public static com.dd.cws.adv1.pb.SecDumpProto.BindNode getDefaultInstance() {
+ public static com.dd.cws.adv1.pb.SecDumpProto.ConnectNode 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 ConnectNode parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
@@ -39807,17 +41454,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.ConnectNode getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
@@ -41281,7 +42928,7 @@ public interface FlowNodeOrBuilder extends
/**
* repeated string image_tags = 1 [deprecated = true];
* @deprecated datadog.cws.dumpsv1.FlowNode.image_tags is deprecated.
- * See proto/cws/dumpsv1/activity_dump.proto;l=323
+ * See proto/cws/dumpsv1/activity_dump.proto;l=333
* @return A list containing the imageTags.
*/
@java.lang.Deprecated java.util.List
@@ -41289,14 +42936,14 @@ public interface FlowNodeOrBuilder extends
/**
* repeated string image_tags = 1 [deprecated = true];
* @deprecated datadog.cws.dumpsv1.FlowNode.image_tags is deprecated.
- * See proto/cws/dumpsv1/activity_dump.proto;l=323
+ * See proto/cws/dumpsv1/activity_dump.proto;l=333
* @return The count of imageTags.
*/
@java.lang.Deprecated int getImageTagsCount();
/**
* repeated string image_tags = 1 [deprecated = true];
* @deprecated datadog.cws.dumpsv1.FlowNode.image_tags is deprecated.
- * See proto/cws/dumpsv1/activity_dump.proto;l=323
+ * See proto/cws/dumpsv1/activity_dump.proto;l=333
* @param index The index of the element to return.
* @return The imageTags at the given index.
*/
@@ -41304,7 +42951,7 @@ public interface FlowNodeOrBuilder extends
/**
* repeated string image_tags = 1 [deprecated = true];
* @deprecated datadog.cws.dumpsv1.FlowNode.image_tags is deprecated.
- * See proto/cws/dumpsv1/activity_dump.proto;l=323
+ * See proto/cws/dumpsv1/activity_dump.proto;l=333
* @param index The index of the value to return.
* @return The bytes of the imageTags at the given index.
*/
@@ -41445,7 +43092,7 @@ protected java.lang.Object newInstance(
/**
* repeated string image_tags = 1 [deprecated = true];
* @deprecated datadog.cws.dumpsv1.FlowNode.image_tags is deprecated.
- * See proto/cws/dumpsv1/activity_dump.proto;l=323
+ * See proto/cws/dumpsv1/activity_dump.proto;l=333
* @return A list containing the imageTags.
*/
@java.lang.Deprecated public com.google.protobuf.ProtocolStringList
@@ -41455,7 +43102,7 @@ protected java.lang.Object newInstance(
/**
* repeated string image_tags = 1 [deprecated = true];
* @deprecated datadog.cws.dumpsv1.FlowNode.image_tags is deprecated.
- * See proto/cws/dumpsv1/activity_dump.proto;l=323
+ * See proto/cws/dumpsv1/activity_dump.proto;l=333
* @return The count of imageTags.
*/
@java.lang.Deprecated public int getImageTagsCount() {
@@ -41464,7 +43111,7 @@ protected java.lang.Object newInstance(
/**
* repeated string image_tags = 1 [deprecated = true];
* @deprecated datadog.cws.dumpsv1.FlowNode.image_tags is deprecated.
- * See proto/cws/dumpsv1/activity_dump.proto;l=323
+ * See proto/cws/dumpsv1/activity_dump.proto;l=333
* @param index The index of the element to return.
* @return The imageTags at the given index.
*/
@@ -41474,7 +43121,7 @@ protected java.lang.Object newInstance(
/**
* repeated string image_tags = 1 [deprecated = true];
* @deprecated datadog.cws.dumpsv1.FlowNode.image_tags is deprecated.
- * See proto/cws/dumpsv1/activity_dump.proto;l=323
+ * See proto/cws/dumpsv1/activity_dump.proto;l=333
* @param index The index of the value to return.
* @return The bytes of the imageTags at the given index.
*/
@@ -42215,7 +43862,7 @@ private void ensureImageTagsIsMutable() {
/**
* repeated string image_tags = 1 [deprecated = true];
* @deprecated datadog.cws.dumpsv1.FlowNode.image_tags is deprecated.
- * See proto/cws/dumpsv1/activity_dump.proto;l=323
+ * See proto/cws/dumpsv1/activity_dump.proto;l=333
* @return A list containing the imageTags.
*/
@java.lang.Deprecated public com.google.protobuf.ProtocolStringList
@@ -42225,7 +43872,7 @@ private void ensureImageTagsIsMutable() {
/**
* repeated string image_tags = 1 [deprecated = true];
* @deprecated datadog.cws.dumpsv1.FlowNode.image_tags is deprecated.
- * See proto/cws/dumpsv1/activity_dump.proto;l=323
+ * See proto/cws/dumpsv1/activity_dump.proto;l=333
* @return The count of imageTags.
*/
@java.lang.Deprecated public int getImageTagsCount() {
@@ -42234,7 +43881,7 @@ private void ensureImageTagsIsMutable() {
/**
* repeated string image_tags = 1 [deprecated = true];
* @deprecated datadog.cws.dumpsv1.FlowNode.image_tags is deprecated.
- * See proto/cws/dumpsv1/activity_dump.proto;l=323
+ * See proto/cws/dumpsv1/activity_dump.proto;l=333
* @param index The index of the element to return.
* @return The imageTags at the given index.
*/
@@ -42244,7 +43891,7 @@ private void ensureImageTagsIsMutable() {
/**
* repeated string image_tags = 1 [deprecated = true];
* @deprecated datadog.cws.dumpsv1.FlowNode.image_tags is deprecated.
- * See proto/cws/dumpsv1/activity_dump.proto;l=323
+ * See proto/cws/dumpsv1/activity_dump.proto;l=333
* @param index The index of the value to return.
* @return The bytes of the imageTags at the given index.
*/
@@ -42255,7 +43902,7 @@ private void ensureImageTagsIsMutable() {
/**
* repeated string image_tags = 1 [deprecated = true];
* @deprecated datadog.cws.dumpsv1.FlowNode.image_tags is deprecated.
- * See proto/cws/dumpsv1/activity_dump.proto;l=323
+ * See proto/cws/dumpsv1/activity_dump.proto;l=333
* @param index The index to set the value at.
* @param value The imageTags to set.
* @return This builder for chaining.
@@ -42271,7 +43918,7 @@ private void ensureImageTagsIsMutable() {
/**
* repeated string image_tags = 1 [deprecated = true];
* @deprecated datadog.cws.dumpsv1.FlowNode.image_tags is deprecated.
- * See proto/cws/dumpsv1/activity_dump.proto;l=323
+ * See proto/cws/dumpsv1/activity_dump.proto;l=333
* @param value The imageTags to add.
* @return This builder for chaining.
*/
@@ -42286,7 +43933,7 @@ private void ensureImageTagsIsMutable() {
/**
* repeated string image_tags = 1 [deprecated = true];
* @deprecated datadog.cws.dumpsv1.FlowNode.image_tags is deprecated.
- * See proto/cws/dumpsv1/activity_dump.proto;l=323
+ * See proto/cws/dumpsv1/activity_dump.proto;l=333
* @param values The imageTags to add.
* @return This builder for chaining.
*/
@@ -42301,7 +43948,7 @@ private void ensureImageTagsIsMutable() {
/**
* repeated string image_tags = 1 [deprecated = true];
* @deprecated datadog.cws.dumpsv1.FlowNode.image_tags is deprecated.
- * See proto/cws/dumpsv1/activity_dump.proto;l=323
+ * See proto/cws/dumpsv1/activity_dump.proto;l=333
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder clearImageTags() {
@@ -42313,7 +43960,7 @@ private void ensureImageTagsIsMutable() {
/**
* repeated string image_tags = 1 [deprecated = true];
* @deprecated datadog.cws.dumpsv1.FlowNode.image_tags is deprecated.
- * See proto/cws/dumpsv1/activity_dump.proto;l=323
+ * See proto/cws/dumpsv1/activity_dump.proto;l=333
* @param value The bytes of the imageTags to add.
* @return This builder for chaining.
*/
@@ -46266,6 +47913,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_BindNode_fieldAccessorTable;
+ private static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_datadog_cws_dumpsv1_ConnectNode_descriptor;
+ private static final
+ com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_datadog_cws_dumpsv1_ConnectNode_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_datadog_cws_dumpsv1_NetworkDeviceNode_descriptor;
private static final
@@ -46449,49 +48101,55 @@ public com.dd.cws.adv1.pb.SecDumpProto.event_type_state getDefaultInstanceForTyp
"up\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\rc" +
"ap_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.dumpsv1.BindNode\"\271\001\n" +
- "\010BindNode\0227\n\rmatched_rules\030\003 \003(\0132 .datad" +
- "og.cws.dumpsv1.MatchedRule\022\026\n\nimage_tags" +
- "\030\004 \003(\tB\002\030\001\0220\n\tnode_base\030\006 \001(\0132\035.datadog." +
- "cws.dumpsv1.NodeBase\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\021NetworkDevi" +
- "ceNode\0227\n\rmatched_rules\030\001 \003(\0132 .datadog." +
- "cws.dumpsv1.MatchedRule\022\r\n\005netns\030\002 \001(\r\022\017" +
- "\n\007ifindex\030\003 \001(\r\022\016\n\006ifname\030\004 \001(\t\0221\n\nflow_" +
- "nodes\030\005 \003(\0132\035.datadog.cws.dumpsv1.FlowNo" +
- "de\"\322\002\n\010FlowNode\022\026\n\nimage_tags\030\001 \003(\tB\002\030\001\022" +
- "0\n\tnode_base\030\010 \001(\0132\035.datadog.cws.dumpsv1" +
- ".NodeBase\0222\n\006source\030\002 \001(\0132\".datadog.cws." +
- "dumpsv1.IPPortContext\0227\n\013destination\030\003 \001" +
- "(\0132\".datadog.cws.dumpsv1.IPPortContext\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.dumpsv1." +
- "NetworkStats\0221\n\006egress\030\007 \001(\0132!.datadog.c" +
- "ws.dumpsv1.NetworkStats\")\n\rIPPortContext" +
- "\022\n\n\002ip\030\001 \001(\t\022\014\n\004port\030\002 \001(\r\"7\n\014NetworkSta" +
- "ts\022\021\n\tdata_size\030\001 \001(\004\022\024\n\014packet_count\030\002 " +
- "\001(\004\"\325\001\n\013MatchedRule\022\017\n\007rule_id\030\001 \001(\t\022\024\n\014" +
- "rule_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.dumpsv1.MatchedRule.Rul" +
- "eTagsEntry\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_state\022" +
- "\031\n\021last_anomaly_nano\030\001 \001(\004\022E\n\023event_prof" +
- "ile_state\030\002 \001(\0162(.datadog.cws.dumpsv1.ev" +
- "ent_profile_state*\271\001\n\tHashState\022\013\n\007NO_HA" +
- "SH\020\000\022\010\n\004DONE\020\001\022\022\n\016FILE_NOT_FOUND\020\002\022\035\n\031PA" +
- "THNAME_RESOLUTION_ERROR\020\003\022\020\n\014FILE_TOO_BI" +
- "G\020\004\022\035\n\031EVENT_TYPE_NOT_CONFIGURED\020\005\022\031\n\025HA" +
- "SH_WAS_RATE_LIMITED\020\006\022\026\n\022UNKNOWN_HASH_ER" +
- "ROR\020\007*8\n\016GenerationType\022\013\n\007UNKNOWN\020\000\022\013\n\007" +
- "RUNTIME\020\001\022\014\n\010SNAPSHOT\020\002*\220\001\n\023event_profil" +
- "e_state\022\016\n\nNO_PROFILE\020\000\022\027\n\023PROFILE_AT_MA" +
- "X_SIZE\020\001\022\024\n\020UNSTABLE_PROFILE\020\002\022\022\n\016STABLE" +
- "_PROFILE\020\003\022\021\n\rAUTO_LEARNING\020\004\022\023\n\017WORKLOA" +
- "D_WARMUP\020\005BU\n\022com.dd.cws.adv1.pbB\014SecDum" +
- "pProtoP\000Z/github.com/DataDog/agent-paylo" +
- "ad/v5/cws/dumpsv1b\006proto3"
+ "\004\"|\n\nSocketNode\022\016\n\006family\030\001 \001(\t\022+\n\004bind\030" +
+ "\002 \003(\0132\035.datadog.cws.dumpsv1.BindNode\0221\n\007" +
+ "connect\030\003 \003(\0132 .datadog.cws.dumpsv1.Conn" +
+ "ectNode\"\271\001\n\010BindNode\0227\n\rmatched_rules\030\003 " +
+ "\003(\0132 .datadog.cws.dumpsv1.MatchedRule\022\026\n" +
+ "\nimage_tags\030\004 \003(\tB\002\030\001\0220\n\tnode_base\030\006 \001(\013" +
+ "2\035.datadog.cws.dumpsv1.NodeBase\022\014\n\004port\030" +
+ "\001 \001(\r\022\n\n\002ip\030\002 \001(\t\022\020\n\010protocol\030\005 \001(\r\"\244\001\n\013" +
+ "ConnectNode\0227\n\rmatched_rules\030\003 \003(\0132 .dat" +
+ "adog.cws.dumpsv1.MatchedRule\0220\n\tnode_bas" +
+ "e\030\004 \001(\0132\035.datadog.cws.dumpsv1.NodeBase\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_rule" +
+ "s\030\001 \003(\0132 .datadog.cws.dumpsv1.MatchedRul" +
+ "e\022\r\n\005netns\030\002 \001(\r\022\017\n\007ifindex\030\003 \001(\r\022\016\n\006ifn" +
+ "ame\030\004 \001(\t\0221\n\nflow_nodes\030\005 \003(\0132\035.datadog." +
+ "cws.dumpsv1.FlowNode\"\322\002\n\010FlowNode\022\026\n\nima" +
+ "ge_tags\030\001 \003(\tB\002\030\001\0220\n\tnode_base\030\010 \001(\0132\035.d" +
+ "atadog.cws.dumpsv1.NodeBase\0222\n\006source\030\002 " +
+ "\001(\0132\".datadog.cws.dumpsv1.IPPortContext\022" +
+ "7\n\013destination\030\003 \001(\0132\".datadog.cws.dumps" +
+ "v1.IPPortContext\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!.da" +
+ "tadog.cws.dumpsv1.NetworkStats\0221\n\006egress" +
+ "\030\007 \001(\0132!.datadog.cws.dumpsv1.NetworkStat" +
+ "s\")\n\rIPPortContext\022\n\n\002ip\030\001 \001(\t\022\014\n\004port\030\002" +
+ " \001(\r\"7\n\014NetworkStats\022\021\n\tdata_size\030\001 \001(\004\022" +
+ "\024\n\014packet_count\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\013" +
+ "policy_name\030\003 \001(\t\022\026\n\016policy_version\030\004 \001(" +
+ "\t\022A\n\trule_tags\030\005 \003(\0132..datadog.cws.dumps" +
+ "v1.MatchedRule.RuleTagsEntry\032/\n\rRuleTags" +
+ "Entry\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_nano\030\001" +
+ " \001(\004\022E\n\023event_profile_state\030\002 \001(\0162(.data" +
+ "dog.cws.dumpsv1.event_profile_state*\271\001\n\t" +
+ "HashState\022\013\n\007NO_HASH\020\000\022\010\n\004DONE\020\001\022\022\n\016FILE" +
+ "_NOT_FOUND\020\002\022\035\n\031PATHNAME_RESOLUTION_ERRO" +
+ "R\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_LIMITED\020\006\022" +
+ "\026\n\022UNKNOWN_HASH_ERROR\020\007*8\n\016GenerationTyp" +
+ "e\022\013\n\007UNKNOWN\020\000\022\013\n\007RUNTIME\020\001\022\014\n\010SNAPSHOT\020" +
+ "\002*\220\001\n\023event_profile_state\022\016\n\nNO_PROFILE\020" +
+ "\000\022\027\n\023PROFILE_AT_MAX_SIZE\020\001\022\024\n\020UNSTABLE_P" +
+ "ROFILE\020\002\022\022\n\016STABLE_PROFILE\020\003\022\021\n\rAUTO_LEA" +
+ "RNING\020\004\022\023\n\017WORKLOAD_WARMUP\020\005BU\n\022com.dd.c" +
+ "ws.adv1.pbB\014SecDumpProtoP\000Z/github.com/D" +
+ "ataDog/agent-payload/v5/cws/dumpsv1b\006pro" +
+ "to3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
@@ -46658,39 +48316,45 @@ public com.dd.cws.adv1.pb.SecDumpProto.event_type_state getDefaultInstanceForTyp
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", });
+ new java.lang.String[] { "Family", "Bind", "Connect", });
internal_static_datadog_cws_dumpsv1_BindNode_descriptor =
getDescriptor().getMessageTypes().get(24);
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", "NodeBase", "Port", "Ip", "Protocol", });
- internal_static_datadog_cws_dumpsv1_NetworkDeviceNode_descriptor =
+ internal_static_datadog_cws_dumpsv1_ConnectNode_descriptor =
getDescriptor().getMessageTypes().get(25);
+ internal_static_datadog_cws_dumpsv1_ConnectNode_fieldAccessorTable = new
+ com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_datadog_cws_dumpsv1_ConnectNode_descriptor,
+ new java.lang.String[] { "MatchedRules", "NodeBase", "Port", "Ip", "Protocol", });
+ internal_static_datadog_cws_dumpsv1_NetworkDeviceNode_descriptor =
+ getDescriptor().getMessageTypes().get(26);
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(26);
+ getDescriptor().getMessageTypes().get(27);
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", "NodeBase", "Source", "Destination", "L3Protocol", "L4Protocol", "Ingress", "Egress", });
internal_static_datadog_cws_dumpsv1_IPPortContext_descriptor =
- getDescriptor().getMessageTypes().get(27);
+ getDescriptor().getMessageTypes().get(28);
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(28);
+ getDescriptor().getMessageTypes().get(29);
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(29);
+ getDescriptor().getMessageTypes().get(30);
internal_static_datadog_cws_dumpsv1_MatchedRule_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_datadog_cws_dumpsv1_MatchedRule_descriptor,
@@ -46702,7 +48366,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(30);
+ getDescriptor().getMessageTypes().get(31);
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 2b19b15c..04bb0a2d 100644
--- a/proto/cws/dumpsv1/activity_dump.proto
+++ b/proto/cws/dumpsv1/activity_dump.proto
@@ -297,6 +297,7 @@ message Credentials {
message SocketNode {
string family = 1;
repeated BindNode bind = 2;
+ repeated ConnectNode connect = 3;
}
message BindNode {
@@ -310,6 +311,15 @@ message BindNode {
uint32 protocol = 5;
}
+message ConnectNode {
+ repeated MatchedRule matched_rules = 3;
+ NodeBase node_base = 4;
+
+ uint32 port = 1;
+ string ip = 2;
+ uint32 protocol = 5;
+}
+
message NetworkDeviceNode {
repeated MatchedRule matched_rules = 1;