diff --git a/cws/dumpsv1/activity_dump.pb.go b/cws/dumpsv1/activity_dump.pb.go index 2d7dae62..a4e71f4f 100644 --- a/cws/dumpsv1/activity_dump.pb.go +++ b/cws/dumpsv1/activity_dump.pb.go @@ -191,18 +191,71 @@ func (EventProfileState) EnumDescriptor() ([]byte, []int) { return file_proto_cws_dumpsv1_activity_dump_proto_rawDescGZIP(), []int{2} } +type SeccompProfile_Type int32 + +const ( + SeccompProfile_TYPE_UNKNOWN SeccompProfile_Type = 0 + SeccompProfile_TYPE_UNCONFINED SeccompProfile_Type = 1 + SeccompProfile_TYPE_RUNTIME_DEFAULT SeccompProfile_Type = 2 + SeccompProfile_TYPE_LOCALHOST SeccompProfile_Type = 3 +) + +// Enum value maps for SeccompProfile_Type. +var ( + SeccompProfile_Type_name = map[int32]string{ + 0: "TYPE_UNKNOWN", + 1: "TYPE_UNCONFINED", + 2: "TYPE_RUNTIME_DEFAULT", + 3: "TYPE_LOCALHOST", + } + SeccompProfile_Type_value = map[string]int32{ + "TYPE_UNKNOWN": 0, + "TYPE_UNCONFINED": 1, + "TYPE_RUNTIME_DEFAULT": 2, + "TYPE_LOCALHOST": 3, + } +) + +func (x SeccompProfile_Type) Enum() *SeccompProfile_Type { + p := new(SeccompProfile_Type) + *p = x + return p +} + +func (x SeccompProfile_Type) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (SeccompProfile_Type) Descriptor() protoreflect.EnumDescriptor { + return file_proto_cws_dumpsv1_activity_dump_proto_enumTypes[3].Descriptor() +} + +func (SeccompProfile_Type) Type() protoreflect.EnumType { + return &file_proto_cws_dumpsv1_activity_dump_proto_enumTypes[3] +} + +func (x SeccompProfile_Type) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use SeccompProfile_Type.Descriptor instead. +func (SeccompProfile_Type) EnumDescriptor() ([]byte, []int) { + return file_proto_cws_dumpsv1_activity_dump_proto_rawDescGZIP(), []int{2, 0} +} + type SecDump struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"` - Service string `protobuf:"bytes,2,opt,name=service,proto3" json:"service,omitempty"` - Source string `protobuf:"bytes,3,opt,name=source,proto3" json:"source,omitempty"` - Metadata *Metadata `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata,omitempty"` - Tags []string `protobuf:"bytes,5,rep,name=tags,proto3" json:"tags,omitempty"` - Tree []*ProcessActivityNode `protobuf:"bytes,6,rep,name=tree,proto3" json:"tree,omitempty"` - Mounts []*MountNode `protobuf:"bytes,7,rep,name=mounts,proto3" json:"mounts,omitempty"` + Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"` + Service string `protobuf:"bytes,2,opt,name=service,proto3" json:"service,omitempty"` + Source string `protobuf:"bytes,3,opt,name=source,proto3" json:"source,omitempty"` + Metadata *Metadata `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata,omitempty"` + Tags []string `protobuf:"bytes,5,rep,name=tags,proto3" json:"tags,omitempty"` + Tree []*ProcessActivityNode `protobuf:"bytes,6,rep,name=tree,proto3" json:"tree,omitempty"` + Mounts []*MountNode `protobuf:"bytes,7,rep,name=mounts,proto3" json:"mounts,omitempty"` + SecurityContexts []*SecurityContextEntry `protobuf:"bytes,8,rep,name=security_contexts,json=securityContexts,proto3" json:"security_contexts,omitempty"` } func (x *SecDump) Reset() { @@ -286,6 +339,13 @@ func (x *SecDump) GetMounts() []*MountNode { return nil } +func (x *SecDump) GetSecurityContexts() []*SecurityContextEntry { + if x != nil { + return x.SecurityContexts + } + return nil +} + type Metadata struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -453,6 +513,434 @@ func (x *Metadata) GetCgroupManager() string { return "" } +type SeccompProfile struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Type SeccompProfile_Type `protobuf:"varint,1,opt,name=type,proto3,enum=datadog.cws.dumpsv1.SeccompProfile_Type" json:"type,omitempty"` + // Set if type == TYPE_LOCALHOST. + LocalhostProfile *string `protobuf:"bytes,2,opt,name=localhost_profile,json=localhostProfile,proto3,oneof" json:"localhost_profile,omitempty"` + // Effective filter extracted at runtime via ptrace. + Filter *SeccompFilter `protobuf:"bytes,3,opt,name=filter,proto3,oneof" json:"filter,omitempty"` +} + +func (x *SeccompProfile) Reset() { + *x = SeccompProfile{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SeccompProfile) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SeccompProfile) ProtoMessage() {} + +func (x *SeccompProfile) ProtoReflect() protoreflect.Message { + mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[2] + 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 SeccompProfile.ProtoReflect.Descriptor instead. +func (*SeccompProfile) Descriptor() ([]byte, []int) { + return file_proto_cws_dumpsv1_activity_dump_proto_rawDescGZIP(), []int{2} +} + +func (x *SeccompProfile) GetType() SeccompProfile_Type { + if x != nil { + return x.Type + } + return SeccompProfile_TYPE_UNKNOWN +} + +func (x *SeccompProfile) GetLocalhostProfile() string { + if x != nil && x.LocalhostProfile != nil { + return *x.LocalhostProfile + } + return "" +} + +func (x *SeccompProfile) GetFilter() *SeccompFilter { + if x != nil { + return x.Filter + } + return nil +} + +type SeccompFilter struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Default action applied to syscalls not explicitly listed. + DefaultAction string `protobuf:"bytes,1,opt,name=default_action,json=defaultAction,proto3" json:"default_action,omitempty"` + // Per-syscall rule, keyed by syscall name. + Syscalls map[string]*SyscallRule `protobuf:"bytes,2,rep,name=syscalls,proto3" json:"syscalls,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` +} + +func (x *SeccompFilter) Reset() { + *x = SeccompFilter{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SeccompFilter) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SeccompFilter) ProtoMessage() {} + +func (x *SeccompFilter) ProtoReflect() protoreflect.Message { + mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[3] + 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 SeccompFilter.ProtoReflect.Descriptor instead. +func (*SeccompFilter) Descriptor() ([]byte, []int) { + return file_proto_cws_dumpsv1_activity_dump_proto_rawDescGZIP(), []int{3} +} + +func (x *SeccompFilter) GetDefaultAction() string { + if x != nil { + return x.DefaultAction + } + return "" +} + +func (x *SeccompFilter) GetSyscalls() map[string]*SyscallRule { + if x != nil { + return x.Syscalls + } + return nil +} + +type SyscallRule struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Base action (evaluated with args=0). + Action string `protobuf:"bytes,1,opt,name=action,proto3" json:"action,omitempty"` + // Argument-level conditions extracted from the BPF filter. + Conditions []*ArgCondition `protobuf:"bytes,2,rep,name=conditions,proto3" json:"conditions,omitempty"` +} + +func (x *SyscallRule) Reset() { + *x = SyscallRule{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SyscallRule) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SyscallRule) ProtoMessage() {} + +func (x *SyscallRule) ProtoReflect() protoreflect.Message { + mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[4] + 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 SyscallRule.ProtoReflect.Descriptor instead. +func (*SyscallRule) Descriptor() ([]byte, []int) { + return file_proto_cws_dumpsv1_activity_dump_proto_rawDescGZIP(), []int{4} +} + +func (x *SyscallRule) GetAction() string { + if x != nil { + return x.Action + } + return "" +} + +func (x *SyscallRule) GetConditions() []*ArgCondition { + if x != nil { + return x.Conditions + } + return nil +} + +type ArgCondition struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Argument index (0..5). + ArgIndex int32 `protobuf:"varint,1,opt,name=arg_index,json=argIndex,proto3" json:"arg_index,omitempty"` + // Comparison operator: "==", "!=", "&", ">", ">=", "<", "<=". + Op string `protobuf:"bytes,2,opt,name=op,proto3" json:"op,omitempty"` + // Constant value compared against. + Value uint64 `protobuf:"varint,3,opt,name=value,proto3" json:"value,omitempty"` + // Action when condition matches. + Action string `protobuf:"bytes,4,opt,name=action,proto3" json:"action,omitempty"` +} + +func (x *ArgCondition) Reset() { + *x = ArgCondition{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ArgCondition) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ArgCondition) ProtoMessage() {} + +func (x *ArgCondition) ProtoReflect() protoreflect.Message { + mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[5] + 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 ArgCondition.ProtoReflect.Descriptor instead. +func (*ArgCondition) Descriptor() ([]byte, []int) { + return file_proto_cws_dumpsv1_activity_dump_proto_rawDescGZIP(), []int{5} +} + +func (x *ArgCondition) GetArgIndex() int32 { + if x != nil { + return x.ArgIndex + } + return 0 +} + +func (x *ArgCondition) GetOp() string { + if x != nil { + return x.Op + } + return "" +} + +func (x *ArgCondition) GetValue() uint64 { + if x != nil { + return x.Value + } + return 0 +} + +func (x *ArgCondition) GetAction() string { + if x != nil { + return x.Action + } + return "" +} + +type SecurityContext struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Privileged bool `protobuf:"varint,1,opt,name=privileged,proto3" json:"privileged,omitempty"` + Seccomp *SeccompProfile `protobuf:"bytes,2,opt,name=seccomp,proto3" json:"seccomp,omitempty"` + CapabilitiesAdd []string `protobuf:"bytes,3,rep,name=capabilities_add,json=capabilitiesAdd,proto3" json:"capabilities_add,omitempty"` + CapabilitiesDrop []string `protobuf:"bytes,4,rep,name=capabilities_drop,json=capabilitiesDrop,proto3" json:"capabilities_drop,omitempty"` + RunAsNonRoot *bool `protobuf:"varint,5,opt,name=run_as_non_root,json=runAsNonRoot,proto3,oneof" json:"run_as_non_root,omitempty"` + AllowPrivilegeEscalation *bool `protobuf:"varint,6,opt,name=allow_privilege_escalation,json=allowPrivilegeEscalation,proto3,oneof" json:"allow_privilege_escalation,omitempty"` + ReadOnlyRootFilesystem *bool `protobuf:"varint,7,opt,name=read_only_root_filesystem,json=readOnlyRootFilesystem,proto3,oneof" json:"read_only_root_filesystem,omitempty"` +} + +func (x *SecurityContext) Reset() { + *x = SecurityContext{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SecurityContext) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SecurityContext) ProtoMessage() {} + +func (x *SecurityContext) ProtoReflect() protoreflect.Message { + mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[6] + 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 SecurityContext.ProtoReflect.Descriptor instead. +func (*SecurityContext) Descriptor() ([]byte, []int) { + return file_proto_cws_dumpsv1_activity_dump_proto_rawDescGZIP(), []int{6} +} + +func (x *SecurityContext) GetPrivileged() bool { + if x != nil { + return x.Privileged + } + return false +} + +func (x *SecurityContext) GetSeccomp() *SeccompProfile { + if x != nil { + return x.Seccomp + } + return nil +} + +func (x *SecurityContext) GetCapabilitiesAdd() []string { + if x != nil { + return x.CapabilitiesAdd + } + return nil +} + +func (x *SecurityContext) GetCapabilitiesDrop() []string { + if x != nil { + return x.CapabilitiesDrop + } + return nil +} + +func (x *SecurityContext) GetRunAsNonRoot() bool { + if x != nil && x.RunAsNonRoot != nil { + return *x.RunAsNonRoot + } + return false +} + +func (x *SecurityContext) GetAllowPrivilegeEscalation() bool { + if x != nil && x.AllowPrivilegeEscalation != nil { + return *x.AllowPrivilegeEscalation + } + return false +} + +func (x *SecurityContext) GetReadOnlyRootFilesystem() bool { + if x != nil && x.ReadOnlyRootFilesystem != nil { + return *x.ReadOnlyRootFilesystem + } + return false +} + +type SecurityContextEntry struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` + OwnerKind string `protobuf:"bytes,2,opt,name=owner_kind,json=ownerKind,proto3" json:"owner_kind,omitempty"` + OwnerName string `protobuf:"bytes,3,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"` + ContainerName string `protobuf:"bytes,4,opt,name=container_name,json=containerName,proto3" json:"container_name,omitempty"` + SecurityContext *SecurityContext `protobuf:"bytes,5,opt,name=security_context,json=securityContext,proto3" json:"security_context,omitempty"` +} + +func (x *SecurityContextEntry) Reset() { + *x = SecurityContextEntry{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SecurityContextEntry) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SecurityContextEntry) ProtoMessage() {} + +func (x *SecurityContextEntry) ProtoReflect() protoreflect.Message { + mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[7] + 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 SecurityContextEntry.ProtoReflect.Descriptor instead. +func (*SecurityContextEntry) Descriptor() ([]byte, []int) { + return file_proto_cws_dumpsv1_activity_dump_proto_rawDescGZIP(), []int{7} +} + +func (x *SecurityContextEntry) GetNamespace() string { + if x != nil { + return x.Namespace + } + return "" +} + +func (x *SecurityContextEntry) GetOwnerKind() string { + if x != nil { + return x.OwnerKind + } + return "" +} + +func (x *SecurityContextEntry) GetOwnerName() string { + if x != nil { + return x.OwnerName + } + return "" +} + +func (x *SecurityContextEntry) GetContainerName() string { + if x != nil { + return x.ContainerName + } + return "" +} + +func (x *SecurityContextEntry) GetSecurityContext() *SecurityContext { + if x != nil { + return x.SecurityContext + } + return nil +} + type ProfileSelector struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -465,7 +953,7 @@ type ProfileSelector struct { func (x *ProfileSelector) Reset() { *x = ProfileSelector{} if protoimpl.UnsafeEnabled { - mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[2] + mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -478,7 +966,7 @@ func (x *ProfileSelector) String() string { func (*ProfileSelector) ProtoMessage() {} func (x *ProfileSelector) ProtoReflect() protoreflect.Message { - mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[2] + mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[8] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -491,7 +979,7 @@ func (x *ProfileSelector) ProtoReflect() protoreflect.Message { // Deprecated: Use ProfileSelector.ProtoReflect.Descriptor instead. func (*ProfileSelector) Descriptor() ([]byte, []int) { - return file_proto_cws_dumpsv1_activity_dump_proto_rawDescGZIP(), []int{2} + return file_proto_cws_dumpsv1_activity_dump_proto_rawDescGZIP(), []int{8} } func (x *ProfileSelector) GetImageName() string { @@ -523,7 +1011,7 @@ type ProfileContext struct { func (x *ProfileContext) Reset() { *x = ProfileContext{} if protoimpl.UnsafeEnabled { - mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[3] + mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -536,7 +1024,7 @@ func (x *ProfileContext) String() string { func (*ProfileContext) ProtoMessage() {} func (x *ProfileContext) ProtoReflect() protoreflect.Message { - mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[3] + mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[9] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -549,7 +1037,7 @@ func (x *ProfileContext) ProtoReflect() protoreflect.Message { // Deprecated: Use ProfileContext.ProtoReflect.Descriptor instead. func (*ProfileContext) Descriptor() ([]byte, []int) { - return file_proto_cws_dumpsv1_activity_dump_proto_rawDescGZIP(), []int{3} + return file_proto_cws_dumpsv1_activity_dump_proto_rawDescGZIP(), []int{9} } func (x *ProfileContext) GetFirstSeen() uint64 { @@ -599,7 +1087,7 @@ type ImageTagTimes struct { func (x *ImageTagTimes) Reset() { *x = ImageTagTimes{} if protoimpl.UnsafeEnabled { - mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[4] + mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -612,7 +1100,7 @@ func (x *ImageTagTimes) String() string { func (*ImageTagTimes) ProtoMessage() {} func (x *ImageTagTimes) ProtoReflect() protoreflect.Message { - mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[4] + mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[10] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -625,7 +1113,7 @@ func (x *ImageTagTimes) ProtoReflect() protoreflect.Message { // Deprecated: Use ImageTagTimes.ProtoReflect.Descriptor instead. func (*ImageTagTimes) Descriptor() ([]byte, []int) { - return file_proto_cws_dumpsv1_activity_dump_proto_rawDescGZIP(), []int{4} + return file_proto_cws_dumpsv1_activity_dump_proto_rawDescGZIP(), []int{10} } func (x *ImageTagTimes) GetFirstSeen() uint64 { @@ -653,7 +1141,7 @@ type NodeBase struct { func (x *NodeBase) Reset() { *x = NodeBase{} if protoimpl.UnsafeEnabled { - mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[5] + mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -666,7 +1154,7 @@ func (x *NodeBase) String() string { func (*NodeBase) ProtoMessage() {} func (x *NodeBase) ProtoReflect() protoreflect.Message { - mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[5] + mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[11] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -679,7 +1167,7 @@ func (x *NodeBase) ProtoReflect() protoreflect.Message { // Deprecated: Use NodeBase.ProtoReflect.Descriptor instead. func (*NodeBase) Descriptor() ([]byte, []int) { - return file_proto_cws_dumpsv1_activity_dump_proto_rawDescGZIP(), []int{5} + return file_proto_cws_dumpsv1_activity_dump_proto_rawDescGZIP(), []int{11} } func (x *NodeBase) GetSeen() map[string]*ImageTagTimes { @@ -702,18 +1190,19 @@ type SecurityProfile struct { // Deprecated: Marked as deprecated in proto/cws/dumpsv1/activity_dump.proto. Tags []string `protobuf:"bytes,4,rep,name=tags,proto3" json:"tags,omitempty"` // Deprecated: Marked as deprecated in proto/cws/dumpsv1/activity_dump.proto. - Syscalls []uint32 `protobuf:"varint,5,rep,packed,name=syscalls,proto3" json:"syscalls,omitempty"` - Tree []*ProcessActivityNode `protobuf:"bytes,6,rep,name=tree,proto3" json:"tree,omitempty"` - ProfileContexts map[string]*ProfileContext `protobuf:"bytes,7,rep,name=profile_contexts,json=profileContexts,proto3" json:"profile_contexts,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - Selector *ProfileSelector `protobuf:"bytes,8,opt,name=selector,proto3" json:"selector,omitempty"` - Disabled bool `protobuf:"varint,9,opt,name=disabled,proto3" json:"disabled,omitempty"` - Mounts []*MountNode `protobuf:"bytes,10,rep,name=mounts,proto3" json:"mounts,omitempty"` + Syscalls []uint32 `protobuf:"varint,5,rep,packed,name=syscalls,proto3" json:"syscalls,omitempty"` + Tree []*ProcessActivityNode `protobuf:"bytes,6,rep,name=tree,proto3" json:"tree,omitempty"` + ProfileContexts map[string]*ProfileContext `protobuf:"bytes,7,rep,name=profile_contexts,json=profileContexts,proto3" json:"profile_contexts,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Selector *ProfileSelector `protobuf:"bytes,8,opt,name=selector,proto3" json:"selector,omitempty"` + Disabled bool `protobuf:"varint,9,opt,name=disabled,proto3" json:"disabled,omitempty"` + Mounts []*MountNode `protobuf:"bytes,10,rep,name=mounts,proto3" json:"mounts,omitempty"` + SecurityContexts []*SecurityContextEntry `protobuf:"bytes,11,rep,name=security_contexts,json=securityContexts,proto3" json:"security_contexts,omitempty"` } func (x *SecurityProfile) Reset() { *x = SecurityProfile{} if protoimpl.UnsafeEnabled { - mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[6] + mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[12] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -726,7 +1215,7 @@ func (x *SecurityProfile) String() string { func (*SecurityProfile) ProtoMessage() {} func (x *SecurityProfile) ProtoReflect() protoreflect.Message { - mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[6] + mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[12] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -739,7 +1228,7 @@ func (x *SecurityProfile) ProtoReflect() protoreflect.Message { // Deprecated: Use SecurityProfile.ProtoReflect.Descriptor instead. func (*SecurityProfile) Descriptor() ([]byte, []int) { - return file_proto_cws_dumpsv1_activity_dump_proto_rawDescGZIP(), []int{6} + return file_proto_cws_dumpsv1_activity_dump_proto_rawDescGZIP(), []int{12} } // Deprecated: Marked as deprecated in proto/cws/dumpsv1/activity_dump.proto. @@ -816,6 +1305,13 @@ func (x *SecurityProfile) GetMounts() []*MountNode { return nil } +func (x *SecurityProfile) GetSecurityContexts() []*SecurityContextEntry { + if x != nil { + return x.SecurityContexts + } + return nil +} + type MountNode struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -832,7 +1328,7 @@ type MountNode struct { func (x *MountNode) Reset() { *x = MountNode{} if protoimpl.UnsafeEnabled { - mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[7] + mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[13] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -845,7 +1341,7 @@ func (x *MountNode) String() string { func (*MountNode) ProtoMessage() {} func (x *MountNode) ProtoReflect() protoreflect.Message { - mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[7] + mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[13] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -858,7 +1354,7 @@ func (x *MountNode) ProtoReflect() protoreflect.Message { // Deprecated: Use MountNode.ProtoReflect.Descriptor instead. func (*MountNode) Descriptor() ([]byte, []int) { - return file_proto_cws_dumpsv1_activity_dump_proto_rawDescGZIP(), []int{7} + return file_proto_cws_dumpsv1_activity_dump_proto_rawDescGZIP(), []int{13} } func (x *MountNode) GetNodeBase() *NodeBase { @@ -929,7 +1425,7 @@ type ProcessActivityNode struct { func (x *ProcessActivityNode) Reset() { *x = ProcessActivityNode{} if protoimpl.UnsafeEnabled { - mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[8] + mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[14] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -942,7 +1438,7 @@ func (x *ProcessActivityNode) String() string { func (*ProcessActivityNode) ProtoMessage() {} func (x *ProcessActivityNode) ProtoReflect() protoreflect.Message { - mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[8] + mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[14] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -955,7 +1451,7 @@ func (x *ProcessActivityNode) ProtoReflect() protoreflect.Message { // Deprecated: Use ProcessActivityNode.ProtoReflect.Descriptor instead. func (*ProcessActivityNode) Descriptor() ([]byte, []int) { - return file_proto_cws_dumpsv1_activity_dump_proto_rawDescGZIP(), []int{8} + return file_proto_cws_dumpsv1_activity_dump_proto_rawDescGZIP(), []int{14} } func (x *ProcessActivityNode) GetProcess() *ProcessInfo { @@ -1093,7 +1589,7 @@ type ProcessInfo struct { func (x *ProcessInfo) Reset() { *x = ProcessInfo{} if protoimpl.UnsafeEnabled { - mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[9] + mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[15] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1106,7 +1602,7 @@ func (x *ProcessInfo) String() string { func (*ProcessInfo) ProtoMessage() {} func (x *ProcessInfo) ProtoReflect() protoreflect.Message { - mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[9] + mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[15] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1119,7 +1615,7 @@ func (x *ProcessInfo) ProtoReflect() protoreflect.Message { // Deprecated: Use ProcessInfo.ProtoReflect.Descriptor instead. func (*ProcessInfo) Descriptor() ([]byte, []int) { - return file_proto_cws_dumpsv1_activity_dump_proto_rawDescGZIP(), []int{9} + return file_proto_cws_dumpsv1_activity_dump_proto_rawDescGZIP(), []int{15} } func (x *ProcessInfo) GetPid() uint32 { @@ -1300,7 +1796,7 @@ type FileActivityNode struct { func (x *FileActivityNode) Reset() { *x = FileActivityNode{} if protoimpl.UnsafeEnabled { - mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[10] + mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[16] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1313,7 +1809,7 @@ func (x *FileActivityNode) String() string { func (*FileActivityNode) ProtoMessage() {} func (x *FileActivityNode) ProtoReflect() protoreflect.Message { - mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[10] + mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[16] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1326,7 +1822,7 @@ func (x *FileActivityNode) ProtoReflect() protoreflect.Message { // Deprecated: Use FileActivityNode.ProtoReflect.Descriptor instead. func (*FileActivityNode) Descriptor() ([]byte, []int) { - return file_proto_cws_dumpsv1_activity_dump_proto_rawDescGZIP(), []int{10} + return file_proto_cws_dumpsv1_activity_dump_proto_rawDescGZIP(), []int{16} } func (x *FileActivityNode) GetMatchedRules() []*MatchedRule { @@ -1413,7 +1909,7 @@ type OpenNode struct { func (x *OpenNode) Reset() { *x = OpenNode{} if protoimpl.UnsafeEnabled { - mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[11] + mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[17] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1426,7 +1922,7 @@ func (x *OpenNode) String() string { func (*OpenNode) ProtoMessage() {} func (x *OpenNode) ProtoReflect() protoreflect.Message { - mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[11] + mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[17] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1439,7 +1935,7 @@ func (x *OpenNode) ProtoReflect() protoreflect.Message { // Deprecated: Use OpenNode.ProtoReflect.Descriptor instead. func (*OpenNode) Descriptor() ([]byte, []int) { - return file_proto_cws_dumpsv1_activity_dump_proto_rawDescGZIP(), []int{11} + return file_proto_cws_dumpsv1_activity_dump_proto_rawDescGZIP(), []int{17} } func (x *OpenNode) GetRetval() int64 { @@ -1478,7 +1974,7 @@ type DNSNode struct { func (x *DNSNode) Reset() { *x = DNSNode{} if protoimpl.UnsafeEnabled { - mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[12] + mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[18] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1491,7 +1987,7 @@ func (x *DNSNode) String() string { func (*DNSNode) ProtoMessage() {} func (x *DNSNode) ProtoReflect() protoreflect.Message { - mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[12] + mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[18] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1504,7 +2000,7 @@ func (x *DNSNode) ProtoReflect() protoreflect.Message { // Deprecated: Use DNSNode.ProtoReflect.Descriptor instead. func (*DNSNode) Descriptor() ([]byte, []int) { - return file_proto_cws_dumpsv1_activity_dump_proto_rawDescGZIP(), []int{12} + return file_proto_cws_dumpsv1_activity_dump_proto_rawDescGZIP(), []int{18} } func (x *DNSNode) GetMatchedRules() []*MatchedRule { @@ -1552,7 +2048,7 @@ type DNSInfo struct { func (x *DNSInfo) Reset() { *x = DNSInfo{} if protoimpl.UnsafeEnabled { - mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[13] + mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[19] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1565,7 +2061,7 @@ func (x *DNSInfo) String() string { func (*DNSInfo) ProtoMessage() {} func (x *DNSInfo) ProtoReflect() protoreflect.Message { - mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[13] + mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[19] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1578,7 +2074,7 @@ func (x *DNSInfo) ProtoReflect() protoreflect.Message { // Deprecated: Use DNSInfo.ProtoReflect.Descriptor instead. func (*DNSInfo) Descriptor() ([]byte, []int) { - return file_proto_cws_dumpsv1_activity_dump_proto_rawDescGZIP(), []int{13} + return file_proto_cws_dumpsv1_activity_dump_proto_rawDescGZIP(), []int{19} } func (x *DNSInfo) GetName() string { @@ -1638,7 +2134,7 @@ type DNSResponseInfo struct { func (x *DNSResponseInfo) Reset() { *x = DNSResponseInfo{} if protoimpl.UnsafeEnabled { - mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[14] + mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[20] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1651,7 +2147,7 @@ func (x *DNSResponseInfo) String() string { func (*DNSResponseInfo) ProtoMessage() {} func (x *DNSResponseInfo) ProtoReflect() protoreflect.Message { - mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[14] + mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[20] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1664,7 +2160,7 @@ func (x *DNSResponseInfo) ProtoReflect() protoreflect.Message { // Deprecated: Use DNSResponseInfo.ProtoReflect.Descriptor instead. func (*DNSResponseInfo) Descriptor() ([]byte, []int) { - return file_proto_cws_dumpsv1_activity_dump_proto_rawDescGZIP(), []int{14} + return file_proto_cws_dumpsv1_activity_dump_proto_rawDescGZIP(), []int{20} } func (x *DNSResponseInfo) GetIps() []string { @@ -1695,7 +2191,7 @@ type SyscallNode struct { func (x *SyscallNode) Reset() { *x = SyscallNode{} if protoimpl.UnsafeEnabled { - mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[15] + mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[21] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1708,7 +2204,7 @@ func (x *SyscallNode) String() string { func (*SyscallNode) ProtoMessage() {} func (x *SyscallNode) ProtoReflect() protoreflect.Message { - mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[15] + mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[21] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1721,7 +2217,7 @@ func (x *SyscallNode) ProtoReflect() protoreflect.Message { // Deprecated: Use SyscallNode.ProtoReflect.Descriptor instead. func (*SyscallNode) Descriptor() ([]byte, []int) { - return file_proto_cws_dumpsv1_activity_dump_proto_rawDescGZIP(), []int{15} + return file_proto_cws_dumpsv1_activity_dump_proto_rawDescGZIP(), []int{21} } // Deprecated: Marked as deprecated in proto/cws/dumpsv1/activity_dump.proto. @@ -1759,7 +2255,7 @@ type CapabilityNode struct { func (x *CapabilityNode) Reset() { *x = CapabilityNode{} if protoimpl.UnsafeEnabled { - mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[16] + mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[22] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1772,7 +2268,7 @@ func (x *CapabilityNode) String() string { func (*CapabilityNode) ProtoMessage() {} func (x *CapabilityNode) ProtoReflect() protoreflect.Message { - mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[16] + mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[22] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1785,7 +2281,7 @@ func (x *CapabilityNode) ProtoReflect() protoreflect.Message { // Deprecated: Use CapabilityNode.ProtoReflect.Descriptor instead. func (*CapabilityNode) Descriptor() ([]byte, []int) { - return file_proto_cws_dumpsv1_activity_dump_proto_rawDescGZIP(), []int{16} + return file_proto_cws_dumpsv1_activity_dump_proto_rawDescGZIP(), []int{22} } func (x *CapabilityNode) GetNodeBase() *NodeBase { @@ -1824,7 +2320,7 @@ type IMDSNode struct { func (x *IMDSNode) Reset() { *x = IMDSNode{} if protoimpl.UnsafeEnabled { - mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[17] + mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[23] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1837,7 +2333,7 @@ func (x *IMDSNode) String() string { func (*IMDSNode) ProtoMessage() {} func (x *IMDSNode) ProtoReflect() protoreflect.Message { - mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[17] + mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[23] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1850,7 +2346,7 @@ func (x *IMDSNode) ProtoReflect() protoreflect.Message { // Deprecated: Use IMDSNode.ProtoReflect.Descriptor instead. func (*IMDSNode) Descriptor() ([]byte, []int) { - return file_proto_cws_dumpsv1_activity_dump_proto_rawDescGZIP(), []int{17} + return file_proto_cws_dumpsv1_activity_dump_proto_rawDescGZIP(), []int{23} } func (x *IMDSNode) GetMatchedRules() []*MatchedRule { @@ -1899,7 +2395,7 @@ type IMDSEvent struct { func (x *IMDSEvent) Reset() { *x = IMDSEvent{} if protoimpl.UnsafeEnabled { - mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[18] + mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[24] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1912,7 +2408,7 @@ func (x *IMDSEvent) String() string { func (*IMDSEvent) ProtoMessage() {} func (x *IMDSEvent) ProtoReflect() protoreflect.Message { - mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[18] + mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[24] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1925,7 +2421,7 @@ func (x *IMDSEvent) ProtoReflect() protoreflect.Message { // Deprecated: Use IMDSEvent.ProtoReflect.Descriptor instead. func (*IMDSEvent) Descriptor() ([]byte, []int) { - return file_proto_cws_dumpsv1_activity_dump_proto_rawDescGZIP(), []int{18} + return file_proto_cws_dumpsv1_activity_dump_proto_rawDescGZIP(), []int{24} } func (x *IMDSEvent) GetType() string { @@ -1989,7 +2485,7 @@ type AWSIMDSEvent struct { func (x *AWSIMDSEvent) Reset() { *x = AWSIMDSEvent{} if protoimpl.UnsafeEnabled { - mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[19] + mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[25] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2002,7 +2498,7 @@ func (x *AWSIMDSEvent) String() string { func (*AWSIMDSEvent) ProtoMessage() {} func (x *AWSIMDSEvent) ProtoReflect() protoreflect.Message { - mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[19] + 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 { @@ -2015,7 +2511,7 @@ func (x *AWSIMDSEvent) ProtoReflect() protoreflect.Message { // Deprecated: Use AWSIMDSEvent.ProtoReflect.Descriptor instead. func (*AWSIMDSEvent) Descriptor() ([]byte, []int) { - return file_proto_cws_dumpsv1_activity_dump_proto_rawDescGZIP(), []int{19} + return file_proto_cws_dumpsv1_activity_dump_proto_rawDescGZIP(), []int{25} } func (x *AWSIMDSEvent) GetIsImdsV2() bool { @@ -2047,7 +2543,7 @@ type AWSSecurityCredentials struct { func (x *AWSSecurityCredentials) Reset() { *x = AWSSecurityCredentials{} if protoimpl.UnsafeEnabled { - mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[20] + mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[26] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2060,7 +2556,7 @@ func (x *AWSSecurityCredentials) String() string { func (*AWSSecurityCredentials) ProtoMessage() {} func (x *AWSSecurityCredentials) ProtoReflect() protoreflect.Message { - mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[20] + 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 { @@ -2073,7 +2569,7 @@ func (x *AWSSecurityCredentials) ProtoReflect() protoreflect.Message { // Deprecated: Use AWSSecurityCredentials.ProtoReflect.Descriptor instead. func (*AWSSecurityCredentials) Descriptor() ([]byte, []int) { - return file_proto_cws_dumpsv1_activity_dump_proto_rawDescGZIP(), []int{20} + return file_proto_cws_dumpsv1_activity_dump_proto_rawDescGZIP(), []int{26} } func (x *AWSSecurityCredentials) GetCode() string { @@ -2143,7 +2639,7 @@ type FileInfo struct { func (x *FileInfo) Reset() { *x = FileInfo{} if protoimpl.UnsafeEnabled { - mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[21] + mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[27] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2156,7 +2652,7 @@ func (x *FileInfo) String() string { func (*FileInfo) ProtoMessage() {} func (x *FileInfo) ProtoReflect() protoreflect.Message { - mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[21] + 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 { @@ -2169,7 +2665,7 @@ func (x *FileInfo) ProtoReflect() protoreflect.Message { // Deprecated: Use FileInfo.ProtoReflect.Descriptor instead. func (*FileInfo) Descriptor() ([]byte, []int) { - return file_proto_cws_dumpsv1_activity_dump_proto_rawDescGZIP(), []int{21} + return file_proto_cws_dumpsv1_activity_dump_proto_rawDescGZIP(), []int{27} } func (x *FileInfo) GetUid() uint32 { @@ -2350,7 +2846,7 @@ type Credentials struct { func (x *Credentials) Reset() { *x = Credentials{} if protoimpl.UnsafeEnabled { - mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[22] + mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[28] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2363,7 +2859,7 @@ func (x *Credentials) String() string { func (*Credentials) ProtoMessage() {} func (x *Credentials) ProtoReflect() protoreflect.Message { - mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[22] + 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 { @@ -2376,7 +2872,7 @@ func (x *Credentials) ProtoReflect() protoreflect.Message { // Deprecated: Use Credentials.ProtoReflect.Descriptor instead. func (*Credentials) Descriptor() ([]byte, []int) { - return file_proto_cws_dumpsv1_activity_dump_proto_rawDescGZIP(), []int{22} + return file_proto_cws_dumpsv1_activity_dump_proto_rawDescGZIP(), []int{28} } func (x *Credentials) GetUid() uint32 { @@ -2490,7 +2986,7 @@ type SocketNode struct { func (x *SocketNode) Reset() { *x = SocketNode{} if protoimpl.UnsafeEnabled { - mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[23] + mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[29] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2503,7 +2999,7 @@ func (x *SocketNode) String() string { func (*SocketNode) ProtoMessage() {} func (x *SocketNode) ProtoReflect() protoreflect.Message { - mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[23] + 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 { @@ -2516,7 +3012,7 @@ func (x *SocketNode) ProtoReflect() protoreflect.Message { // Deprecated: Use SocketNode.ProtoReflect.Descriptor instead. func (*SocketNode) Descriptor() ([]byte, []int) { - return file_proto_cws_dumpsv1_activity_dump_proto_rawDescGZIP(), []int{23} + return file_proto_cws_dumpsv1_activity_dump_proto_rawDescGZIP(), []int{29} } func (x *SocketNode) GetFamily() string { @@ -2557,7 +3053,7 @@ type BindNode struct { func (x *BindNode) Reset() { *x = BindNode{} if protoimpl.UnsafeEnabled { - mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[24] + mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[30] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2570,7 +3066,7 @@ func (x *BindNode) String() string { func (*BindNode) ProtoMessage() {} func (x *BindNode) ProtoReflect() protoreflect.Message { - mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[24] + 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 { @@ -2583,7 +3079,7 @@ func (x *BindNode) ProtoReflect() protoreflect.Message { // Deprecated: Use BindNode.ProtoReflect.Descriptor instead. func (*BindNode) Descriptor() ([]byte, []int) { - return file_proto_cws_dumpsv1_activity_dump_proto_rawDescGZIP(), []int{24} + return file_proto_cws_dumpsv1_activity_dump_proto_rawDescGZIP(), []int{30} } func (x *BindNode) GetMatchedRules() []*MatchedRule { @@ -2644,7 +3140,7 @@ type ConnectNode struct { func (x *ConnectNode) Reset() { *x = ConnectNode{} if protoimpl.UnsafeEnabled { - mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[25] + mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[31] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2657,7 +3153,7 @@ func (x *ConnectNode) String() string { func (*ConnectNode) ProtoMessage() {} func (x *ConnectNode) ProtoReflect() protoreflect.Message { - mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[25] + 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 { @@ -2670,7 +3166,7 @@ func (x *ConnectNode) ProtoReflect() protoreflect.Message { // Deprecated: Use ConnectNode.ProtoReflect.Descriptor instead. func (*ConnectNode) Descriptor() ([]byte, []int) { - return file_proto_cws_dumpsv1_activity_dump_proto_rawDescGZIP(), []int{25} + return file_proto_cws_dumpsv1_activity_dump_proto_rawDescGZIP(), []int{31} } func (x *ConnectNode) GetMatchedRules() []*MatchedRule { @@ -2723,7 +3219,7 @@ type NetworkDeviceNode struct { func (x *NetworkDeviceNode) Reset() { *x = NetworkDeviceNode{} if protoimpl.UnsafeEnabled { - mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[26] + mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[32] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2736,7 +3232,7 @@ func (x *NetworkDeviceNode) String() string { func (*NetworkDeviceNode) ProtoMessage() {} func (x *NetworkDeviceNode) ProtoReflect() protoreflect.Message { - mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[26] + mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[32] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2749,7 +3245,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{26} + return file_proto_cws_dumpsv1_activity_dump_proto_rawDescGZIP(), []int{32} } func (x *NetworkDeviceNode) GetMatchedRules() []*MatchedRule { @@ -2806,7 +3302,7 @@ type FlowNode struct { func (x *FlowNode) Reset() { *x = FlowNode{} if protoimpl.UnsafeEnabled { - mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[27] + mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[33] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2819,7 +3315,7 @@ func (x *FlowNode) String() string { func (*FlowNode) ProtoMessage() {} func (x *FlowNode) ProtoReflect() protoreflect.Message { - mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[27] + mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[33] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2832,7 +3328,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{27} + return file_proto_cws_dumpsv1_activity_dump_proto_rawDescGZIP(), []int{33} } // Deprecated: Marked as deprecated in proto/cws/dumpsv1/activity_dump.proto. @@ -2904,7 +3400,7 @@ type IPPortContext struct { func (x *IPPortContext) Reset() { *x = IPPortContext{} if protoimpl.UnsafeEnabled { - mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[28] + mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[34] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2917,7 +3413,7 @@ func (x *IPPortContext) String() string { func (*IPPortContext) ProtoMessage() {} func (x *IPPortContext) ProtoReflect() protoreflect.Message { - mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[28] + mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[34] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2930,7 +3426,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{28} + return file_proto_cws_dumpsv1_activity_dump_proto_rawDescGZIP(), []int{34} } func (x *IPPortContext) GetIp() string { @@ -2959,7 +3455,7 @@ type NetworkStats struct { func (x *NetworkStats) Reset() { *x = NetworkStats{} if protoimpl.UnsafeEnabled { - mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[29] + mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[35] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2972,7 +3468,7 @@ func (x *NetworkStats) String() string { func (*NetworkStats) ProtoMessage() {} func (x *NetworkStats) ProtoReflect() protoreflect.Message { - mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[29] + mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[35] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2985,7 +3481,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{29} + return file_proto_cws_dumpsv1_activity_dump_proto_rawDescGZIP(), []int{35} } func (x *NetworkStats) GetDataSize() uint64 { @@ -3017,7 +3513,7 @@ type MatchedRule struct { func (x *MatchedRule) Reset() { *x = MatchedRule{} if protoimpl.UnsafeEnabled { - mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[30] + mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[36] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3030,7 +3526,7 @@ func (x *MatchedRule) String() string { func (*MatchedRule) ProtoMessage() {} func (x *MatchedRule) ProtoReflect() protoreflect.Message { - mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[30] + mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[36] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3043,7 +3539,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{30} + return file_proto_cws_dumpsv1_activity_dump_proto_rawDescGZIP(), []int{36} } func (x *MatchedRule) GetRuleId() string { @@ -3093,7 +3589,7 @@ type EventTypeState struct { func (x *EventTypeState) Reset() { *x = EventTypeState{} if protoimpl.UnsafeEnabled { - mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[31] + mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[37] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3106,7 +3602,7 @@ func (x *EventTypeState) String() string { func (*EventTypeState) ProtoMessage() {} func (x *EventTypeState) ProtoReflect() protoreflect.Message { - mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[31] + mi := &file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[37] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3119,7 +3615,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{31} + return file_proto_cws_dumpsv1_activity_dump_proto_rawDescGZIP(), []int{37} } func (x *EventTypeState) GetLastAnomalyNano() uint64 { @@ -3142,7 +3638,7 @@ var file_proto_cws_dumpsv1_activity_dump_proto_rawDesc = []byte{ 0x0a, 0x25, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x77, 0x73, 0x2f, 0x64, 0x75, 0x6d, 0x70, 0x73, 0x76, 0x31, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x5f, 0x64, 0x75, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x13, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, - 0x2e, 0x63, 0x77, 0x73, 0x2e, 0x64, 0x75, 0x6d, 0x70, 0x73, 0x76, 0x31, 0x22, 0x94, 0x02, 0x0a, + 0x2e, 0x63, 0x77, 0x73, 0x2e, 0x64, 0x75, 0x6d, 0x70, 0x73, 0x76, 0x31, 0x22, 0xec, 0x02, 0x0a, 0x07, 0x53, 0x65, 0x63, 0x44, 0x75, 0x6d, 0x70, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, @@ -3160,587 +3656,689 @@ var file_proto_cws_dumpsv1_activity_dump_proto_rawDesc = []byte{ 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x63, 0x77, 0x73, 0x2e, 0x64, 0x75, 0x6d, 0x70, 0x73, 0x76, 0x31, 0x2e, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x06, 0x6d, 0x6f, 0x75, - 0x6e, 0x74, 0x73, 0x22, 0x87, 0x04, 0x0a, 0x08, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, - 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, - 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x56, 0x65, - 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x21, 0x0a, 0x0c, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x63, - 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x61, 0x67, 0x65, - 0x6e, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x6b, 0x65, 0x72, 0x6e, - 0x65, 0x6c, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x0d, 0x6b, 0x65, 0x72, 0x6e, 0x65, 0x6c, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, - 0x2d, 0x0a, 0x12, 0x6c, 0x69, 0x6e, 0x75, 0x78, 0x5f, 0x64, 0x69, 0x73, 0x74, 0x72, 0x69, 0x62, - 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x6c, 0x69, 0x6e, - 0x75, 0x78, 0x44, 0x69, 0x73, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, - 0x0a, 0x04, 0x61, 0x72, 0x63, 0x68, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x61, 0x72, - 0x63, 0x68, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x29, 0x0a, 0x10, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, - 0x75, 0x66, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x0f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, - 0x6e, 0x12, 0x2d, 0x0a, 0x12, 0x64, 0x69, 0x66, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x74, 0x69, 0x61, - 0x74, 0x65, 0x5f, 0x61, 0x72, 0x67, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x64, - 0x69, 0x66, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x74, 0x65, 0x41, 0x72, 0x67, 0x73, - 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x6d, 0x6d, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, - 0x63, 0x6f, 0x6d, 0x6d, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, - 0x72, 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x74, - 0x61, 0x69, 0x6e, 0x65, 0x72, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74, - 0x18, 0x0a, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74, 0x12, 0x10, 0x0a, - 0x03, 0x65, 0x6e, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x04, 0x52, 0x03, 0x65, 0x6e, 0x64, 0x12, - 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x73, - 0x69, 0x7a, 0x65, 0x12, 0x24, 0x0a, 0x0d, 0x73, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x73, 0x65, 0x72, 0x69, - 0x61, 0x6c, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x67, 0x72, - 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x67, - 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x67, 0x72, 0x6f, 0x75, 0x70, - 0x5f, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x18, 0x10, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, - 0x63, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x22, 0x4d, 0x0a, - 0x0f, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, - 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, - 0x1b, 0x0a, 0x09, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x61, 0x67, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x08, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x54, 0x61, 0x67, 0x22, 0xc9, 0x02, 0x0a, - 0x0e, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12, - 0x1d, 0x0a, 0x0a, 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, 0x73, 0x65, 0x65, 0x6e, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x04, 0x52, 0x09, 0x66, 0x69, 0x72, 0x73, 0x74, 0x53, 0x65, 0x65, 0x6e, 0x12, 0x1b, - 0x0a, 0x09, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x73, 0x65, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x04, 0x52, 0x08, 0x6c, 0x61, 0x73, 0x74, 0x53, 0x65, 0x65, 0x6e, 0x12, 0x61, 0x0a, 0x10, 0x65, - 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, - 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, - 0x63, 0x77, 0x73, 0x2e, 0x64, 0x75, 0x6d, 0x70, 0x73, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x66, - 0x69, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, - 0x54, 0x79, 0x70, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0e, - 0x65, 0x76, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1a, - 0x0a, 0x08, 0x73, 0x79, 0x73, 0x63, 0x61, 0x6c, 0x6c, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0d, - 0x52, 0x08, 0x73, 0x79, 0x73, 0x63, 0x61, 0x6c, 0x6c, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x61, - 0x67, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x1a, 0x68, - 0x0a, 0x13, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, - 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x3b, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, - 0x2e, 0x63, 0x77, 0x73, 0x2e, 0x64, 0x75, 0x6d, 0x70, 0x73, 0x76, 0x31, 0x2e, 0x65, 0x76, 0x65, - 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x76, - 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x4b, 0x0a, 0x0d, 0x49, 0x6d, 0x61, 0x67, - 0x65, 0x54, 0x61, 0x67, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x66, 0x69, 0x72, - 0x73, 0x74, 0x5f, 0x73, 0x65, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x66, - 0x69, 0x72, 0x73, 0x74, 0x53, 0x65, 0x65, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x6c, 0x61, 0x73, 0x74, - 0x5f, 0x73, 0x65, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x6c, 0x61, 0x73, - 0x74, 0x53, 0x65, 0x65, 0x6e, 0x22, 0xa4, 0x01, 0x0a, 0x08, 0x4e, 0x6f, 0x64, 0x65, 0x42, 0x61, - 0x73, 0x65, 0x12, 0x3b, 0x0a, 0x04, 0x73, 0x65, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x27, 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, 0x2e, - 0x53, 0x65, 0x65, 0x6e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x04, 0x73, 0x65, 0x65, 0x6e, 0x1a, - 0x5b, 0x0a, 0x09, 0x53, 0x65, 0x65, 0x6e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, - 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x38, - 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, - 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x63, 0x77, 0x73, 0x2e, 0x64, 0x75, 0x6d, 0x70, - 0x73, 0x76, 0x31, 0x2e, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x54, 0x61, 0x67, 0x54, 0x69, 0x6d, 0x65, - 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xe1, 0x04, 0x0a, - 0x0f, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, - 0x12, 0x1a, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, - 0x42, 0x02, 0x18, 0x01, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1c, 0x0a, 0x07, - 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x02, 0x18, - 0x01, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x39, 0x0a, 0x08, 0x6d, 0x65, - 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 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, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, - 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x16, 0x0a, 0x04, 0x74, 0x61, 0x67, 0x73, 0x18, 0x04, 0x20, - 0x03, 0x28, 0x09, 0x42, 0x02, 0x18, 0x01, 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x12, 0x1e, 0x0a, - 0x08, 0x73, 0x79, 0x73, 0x63, 0x61, 0x6c, 0x6c, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0d, 0x42, - 0x02, 0x18, 0x01, 0x52, 0x08, 0x73, 0x79, 0x73, 0x63, 0x61, 0x6c, 0x6c, 0x73, 0x12, 0x3c, 0x0a, - 0x04, 0x74, 0x72, 0x65, 0x65, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x64, 0x61, - 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x63, 0x77, 0x73, 0x2e, 0x64, 0x75, 0x6d, 0x70, 0x73, 0x76, - 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, - 0x79, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x74, 0x72, 0x65, 0x65, 0x12, 0x64, 0x0a, 0x10, 0x70, - 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x18, - 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, - 0x63, 0x77, 0x73, 0x2e, 0x64, 0x75, 0x6d, 0x70, 0x73, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x63, 0x75, - 0x72, 0x69, 0x74, 0x79, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x2e, 0x50, 0x72, 0x6f, 0x66, - 0x69, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, - 0x52, 0x0f, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, - 0x73, 0x12, 0x40, 0x0a, 0x08, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x18, 0x08, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x63, 0x77, - 0x73, 0x2e, 0x64, 0x75, 0x6d, 0x70, 0x73, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, - 0x65, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x08, 0x73, 0x65, 0x6c, 0x65, 0x63, - 0x74, 0x6f, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, - 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, - 0x36, 0x0a, 0x06, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x1e, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x63, 0x77, 0x73, 0x2e, 0x64, 0x75, - 0x6d, 0x70, 0x73, 0x76, 0x31, 0x2e, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x52, - 0x06, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x1a, 0x67, 0x0a, 0x14, 0x50, 0x72, 0x6f, 0x66, 0x69, - 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, + 0x6e, 0x74, 0x73, 0x12, 0x56, 0x0a, 0x11, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x5f, + 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, + 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x63, 0x77, 0x73, 0x2e, 0x64, 0x75, 0x6d, + 0x70, 0x73, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x43, 0x6f, 0x6e, + 0x74, 0x65, 0x78, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x10, 0x73, 0x65, 0x63, 0x75, 0x72, + 0x69, 0x74, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x22, 0x87, 0x04, 0x0a, 0x08, + 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x67, 0x65, 0x6e, + 0x74, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0c, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x21, 0x0a, + 0x0c, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0b, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, + 0x12, 0x25, 0x0a, 0x0e, 0x6b, 0x65, 0x72, 0x6e, 0x65, 0x6c, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, + 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6b, 0x65, 0x72, 0x6e, 0x65, 0x6c, + 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2d, 0x0a, 0x12, 0x6c, 0x69, 0x6e, 0x75, 0x78, + 0x5f, 0x64, 0x69, 0x73, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x11, 0x6c, 0x69, 0x6e, 0x75, 0x78, 0x44, 0x69, 0x73, 0x74, 0x72, 0x69, + 0x62, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x61, 0x72, 0x63, 0x68, 0x18, 0x0d, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x61, 0x72, 0x63, 0x68, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, + 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x29, + 0x0a, 0x10, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, + 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x75, 0x66, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2d, 0x0a, 0x12, 0x64, 0x69, 0x66, + 0x66, 0x65, 0x72, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x74, 0x65, 0x5f, 0x61, 0x72, 0x67, 0x73, 0x18, + 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x64, 0x69, 0x66, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x74, + 0x69, 0x61, 0x74, 0x65, 0x41, 0x72, 0x67, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x6d, 0x6d, + 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x6f, 0x6d, 0x6d, 0x12, 0x21, 0x0a, 0x0c, + 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x49, 0x64, 0x12, + 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, + 0x73, 0x74, 0x61, 0x72, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x65, 0x6e, 0x64, 0x18, 0x0b, 0x20, 0x01, + 0x28, 0x04, 0x52, 0x03, 0x65, 0x6e, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, + 0x0c, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x12, 0x24, 0x0a, 0x0d, 0x73, + 0x65, 0x72, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0e, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0d, 0x73, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x0f, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x25, + 0x0a, 0x0e, 0x63, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, + 0x18, 0x10, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x63, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x61, + 0x6e, 0x61, 0x67, 0x65, 0x72, 0x22, 0xbf, 0x02, 0x0a, 0x0e, 0x53, 0x65, 0x63, 0x63, 0x6f, 0x6d, + 0x70, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x12, 0x3c, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x28, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, + 0x2e, 0x63, 0x77, 0x73, 0x2e, 0x64, 0x75, 0x6d, 0x70, 0x73, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x63, + 0x63, 0x6f, 0x6d, 0x70, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x2e, 0x54, 0x79, 0x70, 0x65, + 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x30, 0x0a, 0x11, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x68, + 0x6f, 0x73, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x48, 0x00, 0x52, 0x10, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x68, 0x6f, 0x73, 0x74, 0x50, 0x72, + 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x88, 0x01, 0x01, 0x12, 0x3f, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, + 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, + 0x6f, 0x67, 0x2e, 0x63, 0x77, 0x73, 0x2e, 0x64, 0x75, 0x6d, 0x70, 0x73, 0x76, 0x31, 0x2e, 0x53, + 0x65, 0x63, 0x63, 0x6f, 0x6d, 0x70, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x48, 0x01, 0x52, 0x06, + 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x88, 0x01, 0x01, 0x22, 0x5b, 0x0a, 0x04, 0x54, 0x79, 0x70, + 0x65, 0x12, 0x10, 0x0a, 0x0c, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, + 0x4e, 0x10, 0x00, 0x12, 0x13, 0x0a, 0x0f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x43, 0x4f, + 0x4e, 0x46, 0x49, 0x4e, 0x45, 0x44, 0x10, 0x01, 0x12, 0x18, 0x0a, 0x14, 0x54, 0x59, 0x50, 0x45, + 0x5f, 0x52, 0x55, 0x4e, 0x54, 0x49, 0x4d, 0x45, 0x5f, 0x44, 0x45, 0x46, 0x41, 0x55, 0x4c, 0x54, + 0x10, 0x02, 0x12, 0x12, 0x0a, 0x0e, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4c, 0x4f, 0x43, 0x41, 0x4c, + 0x48, 0x4f, 0x53, 0x54, 0x10, 0x03, 0x42, 0x14, 0x0a, 0x12, 0x5f, 0x6c, 0x6f, 0x63, 0x61, 0x6c, + 0x68, 0x6f, 0x73, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x42, 0x09, 0x0a, 0x07, + 0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x22, 0xe3, 0x01, 0x0a, 0x0d, 0x53, 0x65, 0x63, 0x63, + 0x6f, 0x6d, 0x70, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x25, 0x0a, 0x0e, 0x64, 0x65, 0x66, + 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0d, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x12, 0x4c, 0x0a, 0x08, 0x73, 0x79, 0x73, 0x63, 0x61, 0x6c, 0x6c, 0x73, 0x18, 0x02, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x63, 0x77, 0x73, + 0x2e, 0x64, 0x75, 0x6d, 0x70, 0x73, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x63, 0x63, 0x6f, 0x6d, 0x70, + 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x2e, 0x53, 0x79, 0x73, 0x63, 0x61, 0x6c, 0x6c, 0x73, 0x45, + 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x73, 0x79, 0x73, 0x63, 0x61, 0x6c, 0x6c, 0x73, 0x1a, 0x5d, + 0x0a, 0x0d, 0x53, 0x79, 0x73, 0x63, 0x61, 0x6c, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, - 0x79, 0x12, 0x39, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x23, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x63, 0x77, 0x73, 0x2e, 0x64, - 0x75, 0x6d, 0x70, 0x73, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x43, 0x6f, - 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, - 0x22, 0xef, 0x01, 0x0a, 0x09, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x3a, - 0x0a, 0x09, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x62, 0x61, 0x73, 0x65, 0x18, 0x01, 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, 0x1f, 0x0a, 0x0b, 0x6d, 0x6f, - 0x75, 0x6e, 0x74, 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x0a, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, - 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x09, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x6f, 0x6f, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x66, 0x69, - 0x6c, 0x65, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, - 0x66, 0x69, 0x6c, 0x65, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x12, 0x1f, 0x0a, 0x0b, 0x6d, 0x6f, - 0x75, 0x6e, 0x74, 0x5f, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, - 0x0a, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x46, 0x6c, 0x61, 0x67, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x62, - 0x61, 0x73, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x06, 0x20, - 0x01, 0x28, 0x08, 0x52, 0x0d, 0x62, 0x61, 0x73, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, - 0x63, 0x65, 0x22, 0x8c, 0x07, 0x0a, 0x13, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x41, 0x63, - 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x3a, 0x0a, 0x07, 0x70, 0x72, - 0x6f, 0x63, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x64, 0x61, - 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x63, 0x77, 0x73, 0x2e, 0x64, 0x75, 0x6d, 0x70, 0x73, 0x76, - 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x07, 0x70, - 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x12, 0x4c, 0x0a, 0x0f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, - 0x23, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x63, 0x77, 0x73, 0x2e, 0x64, 0x75, - 0x6d, 0x70, 0x73, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x54, 0x79, 0x70, 0x65, 0x52, 0x0e, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x54, 0x79, 0x70, 0x65, 0x12, 0x45, 0x0a, 0x0d, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x64, 0x5f, - 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x64, 0x61, - 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x63, 0x77, 0x73, 0x2e, 0x64, 0x75, 0x6d, 0x70, 0x73, 0x76, - 0x31, 0x2e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x64, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x0c, 0x6d, - 0x61, 0x74, 0x63, 0x68, 0x65, 0x64, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x44, 0x0a, 0x08, 0x63, - 0x68, 0x69, 0x6c, 0x64, 0x72, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, + 0x79, 0x12, 0x36, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x20, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x63, 0x77, 0x73, 0x2e, 0x64, + 0x75, 0x6d, 0x70, 0x73, 0x76, 0x31, 0x2e, 0x53, 0x79, 0x73, 0x63, 0x61, 0x6c, 0x6c, 0x52, 0x75, + 0x6c, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x68, 0x0a, + 0x0b, 0x53, 0x79, 0x73, 0x63, 0x61, 0x6c, 0x6c, 0x52, 0x75, 0x6c, 0x65, 0x12, 0x16, 0x0a, 0x06, + 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x61, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x41, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, + 0x6f, 0x67, 0x2e, 0x63, 0x77, 0x73, 0x2e, 0x64, 0x75, 0x6d, 0x70, 0x73, 0x76, 0x31, 0x2e, 0x41, + 0x72, 0x67, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x63, 0x6f, 0x6e, + 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x69, 0x0a, 0x0c, 0x41, 0x72, 0x67, 0x43, 0x6f, + 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x61, 0x72, 0x67, 0x5f, 0x69, + 0x6e, 0x64, 0x65, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x61, 0x72, 0x67, 0x49, + 0x6e, 0x64, 0x65, 0x78, 0x12, 0x0e, 0x0a, 0x02, 0x6f, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x02, 0x6f, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x04, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x61, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x22, 0xc8, 0x03, 0x0a, 0x0f, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x43, + 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x72, 0x69, 0x76, 0x69, 0x6c, + 0x65, 0x67, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x70, 0x72, 0x69, 0x76, + 0x69, 0x6c, 0x65, 0x67, 0x65, 0x64, 0x12, 0x3d, 0x0a, 0x07, 0x73, 0x65, 0x63, 0x63, 0x6f, 0x6d, + 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, + 0x67, 0x2e, 0x63, 0x77, 0x73, 0x2e, 0x64, 0x75, 0x6d, 0x70, 0x73, 0x76, 0x31, 0x2e, 0x53, 0x65, + 0x63, 0x63, 0x6f, 0x6d, 0x70, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x52, 0x07, 0x73, 0x65, + 0x63, 0x63, 0x6f, 0x6d, 0x70, 0x12, 0x29, 0x0a, 0x10, 0x63, 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, + 0x69, 0x74, 0x69, 0x65, 0x73, 0x5f, 0x61, 0x64, 0x64, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, + 0x0f, 0x63, 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x41, 0x64, 0x64, + 0x12, 0x2b, 0x0a, 0x11, 0x63, 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, + 0x5f, 0x64, 0x72, 0x6f, 0x70, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x10, 0x63, 0x61, 0x70, + 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x44, 0x72, 0x6f, 0x70, 0x12, 0x2a, 0x0a, + 0x0f, 0x72, 0x75, 0x6e, 0x5f, 0x61, 0x73, 0x5f, 0x6e, 0x6f, 0x6e, 0x5f, 0x72, 0x6f, 0x6f, 0x74, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x0c, 0x72, 0x75, 0x6e, 0x41, 0x73, 0x4e, + 0x6f, 0x6e, 0x52, 0x6f, 0x6f, 0x74, 0x88, 0x01, 0x01, 0x12, 0x41, 0x0a, 0x1a, 0x61, 0x6c, 0x6c, + 0x6f, 0x77, 0x5f, 0x70, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x5f, 0x65, 0x73, 0x63, + 0x61, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x48, 0x01, 0x52, + 0x18, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x45, + 0x73, 0x63, 0x61, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x88, 0x01, 0x01, 0x12, 0x3e, 0x0a, 0x19, + 0x72, 0x65, 0x61, 0x64, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x5f, 0x72, 0x6f, 0x6f, 0x74, 0x5f, 0x66, + 0x69, 0x6c, 0x65, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x48, + 0x02, 0x52, 0x16, 0x72, 0x65, 0x61, 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x52, 0x6f, 0x6f, 0x74, 0x46, + 0x69, 0x6c, 0x65, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x88, 0x01, 0x01, 0x42, 0x12, 0x0a, 0x10, + 0x5f, 0x72, 0x75, 0x6e, 0x5f, 0x61, 0x73, 0x5f, 0x6e, 0x6f, 0x6e, 0x5f, 0x72, 0x6f, 0x6f, 0x74, + 0x42, 0x1d, 0x0a, 0x1b, 0x5f, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x70, 0x72, 0x69, 0x76, 0x69, + 0x6c, 0x65, 0x67, 0x65, 0x5f, 0x65, 0x73, 0x63, 0x61, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, + 0x1c, 0x0a, 0x1a, 0x5f, 0x72, 0x65, 0x61, 0x64, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x5f, 0x72, 0x6f, + 0x6f, 0x74, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x22, 0xea, 0x01, + 0x0a, 0x14, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, + 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x6b, 0x69, + 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x4b, + 0x69, 0x6e, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, + 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x4e, 0x61, + 0x6d, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x5f, + 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x63, 0x6f, 0x6e, 0x74, + 0x61, 0x69, 0x6e, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x4f, 0x0a, 0x10, 0x73, 0x65, 0x63, + 0x75, 0x72, 0x69, 0x74, 0x79, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x18, 0x05, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x63, 0x77, + 0x73, 0x2e, 0x64, 0x75, 0x6d, 0x70, 0x73, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, + 0x74, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x0f, 0x73, 0x65, 0x63, 0x75, 0x72, + 0x69, 0x74, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x22, 0x4d, 0x0a, 0x0f, 0x50, 0x72, + 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x12, 0x1d, 0x0a, + 0x0a, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x09, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, + 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x61, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x08, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x54, 0x61, 0x67, 0x22, 0xc9, 0x02, 0x0a, 0x0e, 0x50, 0x72, + 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12, 0x1d, 0x0a, 0x0a, + 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, 0x73, 0x65, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, + 0x52, 0x09, 0x66, 0x69, 0x72, 0x73, 0x74, 0x53, 0x65, 0x65, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x6c, + 0x61, 0x73, 0x74, 0x5f, 0x73, 0x65, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, + 0x6c, 0x61, 0x73, 0x74, 0x53, 0x65, 0x65, 0x6e, 0x12, 0x61, 0x0a, 0x10, 0x65, 0x76, 0x65, 0x6e, + 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x63, 0x77, 0x73, + 0x2e, 0x64, 0x75, 0x6d, 0x70, 0x73, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, + 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, + 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0e, 0x65, 0x76, 0x65, + 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x73, + 0x79, 0x73, 0x63, 0x61, 0x6c, 0x6c, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x08, 0x73, + 0x79, 0x73, 0x63, 0x61, 0x6c, 0x6c, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x61, 0x67, 0x73, 0x18, + 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x1a, 0x68, 0x0a, 0x13, 0x45, + 0x76, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x74, + 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x03, 0x6b, 0x65, 0x79, 0x12, 0x3b, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x63, 0x77, + 0x73, 0x2e, 0x64, 0x75, 0x6d, 0x70, 0x73, 0x76, 0x31, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, + 0x74, 0x79, 0x70, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x4b, 0x0a, 0x0d, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x54, 0x61, + 0x67, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, + 0x73, 0x65, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x66, 0x69, 0x72, 0x73, + 0x74, 0x53, 0x65, 0x65, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x73, 0x65, + 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x6c, 0x61, 0x73, 0x74, 0x53, 0x65, + 0x65, 0x6e, 0x22, 0xa4, 0x01, 0x0a, 0x08, 0x4e, 0x6f, 0x64, 0x65, 0x42, 0x61, 0x73, 0x65, 0x12, + 0x3b, 0x0a, 0x04, 0x73, 0x65, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x63, 0x77, 0x73, 0x2e, 0x64, 0x75, 0x6d, 0x70, - 0x73, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x41, 0x63, 0x74, 0x69, 0x76, - 0x69, 0x74, 0x79, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x08, 0x63, 0x68, 0x69, 0x6c, 0x64, 0x72, 0x65, - 0x6e, 0x12, 0x3b, 0x0a, 0x05, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x25, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x63, 0x77, 0x73, 0x2e, 0x64, - 0x75, 0x6d, 0x70, 0x73, 0x76, 0x31, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x41, 0x63, 0x74, 0x69, 0x76, - 0x69, 0x74, 0x79, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x05, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x12, 0x39, - 0x0a, 0x09, 0x64, 0x6e, 0x73, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x1c, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x63, 0x77, 0x73, 0x2e, - 0x64, 0x75, 0x6d, 0x70, 0x73, 0x76, 0x31, 0x2e, 0x44, 0x4e, 0x53, 0x4e, 0x6f, 0x64, 0x65, 0x52, - 0x08, 0x64, 0x6e, 0x73, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x39, 0x0a, 0x07, 0x73, 0x6f, 0x63, - 0x6b, 0x65, 0x74, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x64, 0x61, 0x74, + 0x73, 0x76, 0x31, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x42, 0x61, 0x73, 0x65, 0x2e, 0x53, 0x65, 0x65, + 0x6e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x04, 0x73, 0x65, 0x65, 0x6e, 0x1a, 0x5b, 0x0a, 0x09, + 0x53, 0x65, 0x65, 0x6e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x38, 0x0a, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x63, 0x77, 0x73, 0x2e, 0x64, 0x75, 0x6d, 0x70, 0x73, 0x76, 0x31, - 0x2e, 0x53, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x07, 0x73, 0x6f, 0x63, - 0x6b, 0x65, 0x74, 0x73, 0x12, 0x1e, 0x0a, 0x08, 0x73, 0x79, 0x73, 0x63, 0x61, 0x6c, 0x6c, 0x73, - 0x18, 0x07, 0x20, 0x03, 0x28, 0x0d, 0x42, 0x02, 0x18, 0x01, 0x52, 0x08, 0x73, 0x79, 0x73, 0x63, - 0x61, 0x6c, 0x6c, 0x73, 0x12, 0x21, 0x0a, 0x0a, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x61, - 0x67, 0x73, 0x18, 0x0a, 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, 0x0e, 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, 0x3e, 0x0a, 0x0b, 0x69, 0x6d, 0x64, 0x73, 0x5f, 0x65, 0x76, 0x65, 0x6e, - 0x74, 0x73, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, - 0x6f, 0x67, 0x2e, 0x63, 0x77, 0x73, 0x2e, 0x64, 0x75, 0x6d, 0x70, 0x73, 0x76, 0x31, 0x2e, 0x49, - 0x4d, 0x44, 0x53, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x0a, 0x69, 0x6d, 0x64, 0x73, 0x45, 0x76, 0x65, - 0x6e, 0x74, 0x73, 0x12, 0x45, 0x0a, 0x0d, 0x73, 0x79, 0x73, 0x63, 0x61, 0x6c, 0x6c, 0x5f, 0x6e, - 0x6f, 0x64, 0x65, 0x73, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x64, 0x61, 0x74, - 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x63, 0x77, 0x73, 0x2e, 0x64, 0x75, 0x6d, 0x70, 0x73, 0x76, 0x31, - 0x2e, 0x53, 0x79, 0x73, 0x63, 0x61, 0x6c, 0x6c, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x0c, 0x73, 0x79, - 0x73, 0x63, 0x61, 0x6c, 0x6c, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x12, 0x4f, 0x0a, 0x0f, 0x6e, 0x65, - 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x5f, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x18, 0x0d, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x63, 0x77, - 0x73, 0x2e, 0x64, 0x75, 0x6d, 0x70, 0x73, 0x76, 0x31, 0x2e, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, - 0x6b, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x0e, 0x6e, 0x65, 0x74, - 0x77, 0x6f, 0x72, 0x6b, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x12, 0x4e, 0x0a, 0x10, 0x63, - 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x18, - 0x0f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, - 0x63, 0x77, 0x73, 0x2e, 0x64, 0x75, 0x6d, 0x70, 0x73, 0x76, 0x31, 0x2e, 0x43, 0x61, 0x70, 0x61, - 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x0f, 0x63, 0x61, 0x70, 0x61, - 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x4a, 0x04, 0x08, 0x02, 0x10, - 0x03, 0x22, 0x9d, 0x05, 0x0a, 0x0b, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, - 0x6f, 0x12, 0x10, 0x0a, 0x03, 0x70, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, - 0x70, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x74, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, - 0x52, 0x03, 0x74, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x70, 0x69, 0x64, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x0d, 0x52, 0x04, 0x70, 0x70, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x06, 0x63, 0x6f, 0x6f, - 0x6b, 0x69, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x42, 0x02, 0x18, 0x01, 0x52, 0x06, 0x63, - 0x6f, 0x6f, 0x6b, 0x69, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x73, 0x5f, 0x74, 0x68, 0x72, 0x65, - 0x61, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x54, 0x68, 0x72, 0x65, - 0x61, 0x64, 0x12, 0x31, 0x0a, 0x04, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x1d, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x63, 0x77, 0x73, 0x2e, 0x64, - 0x75, 0x6d, 0x70, 0x73, 0x76, 0x31, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, - 0x04, 0x66, 0x69, 0x6c, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, - 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6f, 0x6e, - 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x07, 0x73, 0x70, 0x61, 0x6e, - 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x04, 0x42, 0x02, 0x18, 0x01, 0x52, 0x06, 0x73, - 0x70, 0x61, 0x6e, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x08, 0x74, 0x72, 0x61, 0x63, 0x65, 0x5f, 0x69, - 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x04, 0x42, 0x02, 0x18, 0x01, 0x52, 0x07, 0x74, 0x72, 0x61, - 0x63, 0x65, 0x49, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x74, 0x74, 0x79, 0x18, 0x0a, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x03, 0x74, 0x74, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x6d, 0x6d, 0x18, 0x0b, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x6f, 0x6d, 0x6d, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x6f, - 0x72, 0x6b, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x66, - 0x6f, 0x72, 0x6b, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x78, 0x69, 0x74, 0x5f, - 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x65, 0x78, 0x69, 0x74, - 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x78, 0x65, 0x63, 0x5f, 0x74, 0x69, 0x6d, - 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x65, 0x78, 0x65, 0x63, 0x54, 0x69, 0x6d, - 0x65, 0x12, 0x42, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x73, - 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, - 0x2e, 0x63, 0x77, 0x73, 0x2e, 0x64, 0x75, 0x6d, 0x70, 0x73, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, - 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x73, 0x52, 0x0b, 0x63, 0x72, 0x65, 0x64, 0x65, 0x6e, - 0x74, 0x69, 0x61, 0x6c, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x61, 0x72, 0x67, 0x73, 0x18, 0x10, 0x20, - 0x03, 0x28, 0x09, 0x52, 0x04, 0x61, 0x72, 0x67, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x72, 0x67, - 0x76, 0x30, 0x18, 0x11, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x72, 0x67, 0x76, 0x30, 0x12, - 0x25, 0x0a, 0x0e, 0x61, 0x72, 0x67, 0x73, 0x5f, 0x74, 0x72, 0x75, 0x6e, 0x63, 0x61, 0x74, 0x65, - 0x64, 0x18, 0x12, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x61, 0x72, 0x67, 0x73, 0x54, 0x72, 0x75, - 0x6e, 0x63, 0x61, 0x74, 0x65, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x65, 0x6e, 0x76, 0x73, 0x18, 0x13, - 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x65, 0x6e, 0x76, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x65, 0x6e, - 0x76, 0x73, 0x5f, 0x74, 0x72, 0x75, 0x6e, 0x63, 0x61, 0x74, 0x65, 0x64, 0x18, 0x14, 0x20, 0x01, - 0x28, 0x08, 0x52, 0x0d, 0x65, 0x6e, 0x76, 0x73, 0x54, 0x72, 0x75, 0x6e, 0x63, 0x61, 0x74, 0x65, - 0x64, 0x12, 0x22, 0x0a, 0x0d, 0x69, 0x73, 0x5f, 0x65, 0x78, 0x65, 0x63, 0x5f, 0x63, 0x68, 0x69, - 0x6c, 0x64, 0x18, 0x15, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x69, 0x73, 0x45, 0x78, 0x65, 0x63, - 0x43, 0x68, 0x69, 0x6c, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x6f, 0x6f, 0x6b, 0x69, 0x65, 0x36, - 0x34, 0x18, 0x16, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x63, 0x6f, 0x6f, 0x6b, 0x69, 0x65, 0x36, - 0x34, 0x22, 0x87, 0x04, 0x0a, 0x10, 0x46, 0x69, 0x6c, 0x65, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, - 0x74, 0x79, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x45, 0x0a, 0x0d, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, - 0x64, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, - 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x63, 0x77, 0x73, 0x2e, 0x64, 0x75, 0x6d, 0x70, - 0x73, 0x76, 0x31, 0x2e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x64, 0x52, 0x75, 0x6c, 0x65, 0x52, - 0x0c, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x64, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x21, 0x0a, - 0x0a, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x61, 0x67, 0x73, 0x18, 0x0a, 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, 0x0b, 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, - 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, - 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x73, 0x5f, 0x70, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x18, 0x07, - 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x69, 0x73, 0x50, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x12, - 0x31, 0x0a, 0x04, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, - 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x63, 0x77, 0x73, 0x2e, 0x64, 0x75, 0x6d, 0x70, - 0x73, 0x76, 0x31, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x66, 0x69, - 0x6c, 0x65, 0x12, 0x4c, 0x0a, 0x0f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x23, 0x2e, 0x64, 0x61, - 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x63, 0x77, 0x73, 0x2e, 0x64, 0x75, 0x6d, 0x70, 0x73, 0x76, - 0x31, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, - 0x52, 0x0e, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, - 0x12, 0x1d, 0x0a, 0x0a, 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, 0x73, 0x65, 0x65, 0x6e, 0x18, 0x04, - 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x66, 0x69, 0x72, 0x73, 0x74, 0x53, 0x65, 0x65, 0x6e, 0x12, - 0x31, 0x0a, 0x04, 0x6f, 0x70, 0x65, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, - 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x63, 0x77, 0x73, 0x2e, 0x64, 0x75, 0x6d, 0x70, - 0x73, 0x76, 0x31, 0x2e, 0x4f, 0x70, 0x65, 0x6e, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x6f, 0x70, - 0x65, 0x6e, 0x12, 0x41, 0x0a, 0x08, 0x63, 0x68, 0x69, 0x6c, 0x64, 0x72, 0x65, 0x6e, 0x18, 0x06, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x63, - 0x77, 0x73, 0x2e, 0x64, 0x75, 0x6d, 0x70, 0x73, 0x76, 0x31, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x41, - 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x08, 0x63, 0x68, 0x69, - 0x6c, 0x64, 0x72, 0x65, 0x6e, 0x4a, 0x04, 0x08, 0x03, 0x10, 0x04, 0x22, 0x4c, 0x0a, 0x08, 0x4f, - 0x70, 0x65, 0x6e, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x74, 0x76, 0x61, - 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x12, 0x52, 0x06, 0x72, 0x65, 0x74, 0x76, 0x61, 0x6c, 0x12, - 0x14, 0x0a, 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, - 0x66, 0x6c, 0x61, 0x67, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x0d, 0x52, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x22, 0xe9, 0x01, 0x0a, 0x07, 0x44, 0x4e, - 0x53, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x45, 0x0a, 0x0d, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x64, - 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x64, + 0x2e, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x54, 0x61, 0x67, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x52, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xb9, 0x05, 0x0a, 0x0f, 0x53, 0x65, + 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x12, 0x1a, 0x0a, + 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x42, 0x02, 0x18, + 0x01, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1c, 0x0a, 0x07, 0x76, 0x65, 0x72, + 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x02, 0x18, 0x01, 0x52, 0x07, + 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x39, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, + 0x61, 0x74, 0x61, 0x18, 0x03, 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, + 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, + 0x74, 0x61, 0x12, 0x16, 0x0a, 0x04, 0x74, 0x61, 0x67, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, + 0x42, 0x02, 0x18, 0x01, 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x12, 0x1e, 0x0a, 0x08, 0x73, 0x79, + 0x73, 0x63, 0x61, 0x6c, 0x6c, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0d, 0x42, 0x02, 0x18, 0x01, + 0x52, 0x08, 0x73, 0x79, 0x73, 0x63, 0x61, 0x6c, 0x6c, 0x73, 0x12, 0x3c, 0x0a, 0x04, 0x74, 0x72, + 0x65, 0x65, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, + 0x6f, 0x67, 0x2e, 0x63, 0x77, 0x73, 0x2e, 0x64, 0x75, 0x6d, 0x70, 0x73, 0x76, 0x31, 0x2e, 0x50, + 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x4e, 0x6f, + 0x64, 0x65, 0x52, 0x04, 0x74, 0x72, 0x65, 0x65, 0x12, 0x64, 0x0a, 0x10, 0x70, 0x72, 0x6f, 0x66, + 0x69, 0x6c, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x18, 0x07, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x63, 0x77, 0x73, + 0x2e, 0x64, 0x75, 0x6d, 0x70, 0x73, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, + 0x79, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x2e, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, + 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0f, 0x70, + 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x12, 0x40, + 0x0a, 0x08, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x24, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x63, 0x77, 0x73, 0x2e, 0x64, + 0x75, 0x6d, 0x70, 0x73, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x53, 0x65, + 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x08, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, + 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x09, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x08, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x36, 0x0a, 0x06, + 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x63, 0x77, 0x73, 0x2e, 0x64, 0x75, 0x6d, 0x70, 0x73, - 0x76, 0x31, 0x2e, 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, 0x03, 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, 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, 0x38, 0x0a, 0x08, 0x72, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, + 0x76, 0x31, 0x2e, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x06, 0x6d, 0x6f, + 0x75, 0x6e, 0x74, 0x73, 0x12, 0x56, 0x0a, 0x11, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, + 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x29, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x63, 0x77, 0x73, 0x2e, 0x64, 0x75, + 0x6d, 0x70, 0x73, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x43, 0x6f, + 0x6e, 0x74, 0x65, 0x78, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x10, 0x73, 0x65, 0x63, 0x75, + 0x72, 0x69, 0x74, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x1a, 0x67, 0x0a, 0x14, + 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x45, + 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x39, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, + 0x63, 0x77, 0x73, 0x2e, 0x64, 0x75, 0x6d, 0x70, 0x73, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x66, + 0x69, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xef, 0x01, 0x0a, 0x09, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x4e, + 0x6f, 0x64, 0x65, 0x12, 0x3a, 0x0a, 0x09, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x62, 0x61, 0x73, 0x65, + 0x18, 0x01, 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, + 0x1f, 0x0a, 0x0b, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, + 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x6f, 0x6f, 0x74, 0x12, + 0x1e, 0x0a, 0x0a, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0a, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x12, + 0x1f, 0x0a, 0x0b, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x46, 0x6c, 0x61, 0x67, 0x73, + 0x12, 0x25, 0x0a, 0x0e, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x62, 0x61, 0x73, 0x65, 0x4e, 0x61, + 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x22, 0x8c, 0x07, 0x0a, 0x13, 0x50, 0x72, 0x6f, 0x63, + 0x65, 0x73, 0x73, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x4e, 0x6f, 0x64, 0x65, 0x12, + 0x3a, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x20, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x63, 0x77, 0x73, 0x2e, 0x64, + 0x75, 0x6d, 0x70, 0x73, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x49, 0x6e, + 0x66, 0x6f, 0x52, 0x07, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x12, 0x4c, 0x0a, 0x0f, 0x67, + 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x08, + 0x20, 0x01, 0x28, 0x0e, 0x32, 0x23, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x63, + 0x77, 0x73, 0x2e, 0x64, 0x75, 0x6d, 0x70, 0x73, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0e, 0x67, 0x65, 0x6e, 0x65, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x45, 0x0a, 0x0d, 0x6d, 0x61, 0x74, + 0x63, 0x68, 0x65, 0x64, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x20, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x63, 0x77, 0x73, 0x2e, 0x64, + 0x75, 0x6d, 0x70, 0x73, 0x76, 0x31, 0x2e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x64, 0x52, 0x75, + 0x6c, 0x65, 0x52, 0x0c, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x64, 0x52, 0x75, 0x6c, 0x65, 0x73, + 0x12, 0x44, 0x0a, 0x08, 0x63, 0x68, 0x69, 0x6c, 0x64, 0x72, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x63, 0x77, 0x73, + 0x2e, 0x64, 0x75, 0x6d, 0x70, 0x73, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, + 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x08, 0x63, 0x68, + 0x69, 0x6c, 0x64, 0x72, 0x65, 0x6e, 0x12, 0x3b, 0x0a, 0x05, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x18, + 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, + 0x63, 0x77, 0x73, 0x2e, 0x64, 0x75, 0x6d, 0x70, 0x73, 0x76, 0x31, 0x2e, 0x46, 0x69, 0x6c, 0x65, + 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x05, 0x66, 0x69, + 0x6c, 0x65, 0x73, 0x12, 0x39, 0x0a, 0x09, 0x64, 0x6e, 0x73, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, + 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, + 0x2e, 0x63, 0x77, 0x73, 0x2e, 0x64, 0x75, 0x6d, 0x70, 0x73, 0x76, 0x31, 0x2e, 0x44, 0x4e, 0x53, + 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x08, 0x64, 0x6e, 0x73, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x39, + 0x0a, 0x07, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x1f, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x63, 0x77, 0x73, 0x2e, 0x64, 0x75, + 0x6d, 0x70, 0x73, 0x76, 0x31, 0x2e, 0x53, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x4e, 0x6f, 0x64, 0x65, + 0x52, 0x07, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x73, 0x12, 0x1e, 0x0a, 0x08, 0x73, 0x79, 0x73, + 0x63, 0x61, 0x6c, 0x6c, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0d, 0x42, 0x02, 0x18, 0x01, 0x52, + 0x08, 0x73, 0x79, 0x73, 0x63, 0x61, 0x6c, 0x6c, 0x73, 0x12, 0x21, 0x0a, 0x0a, 0x69, 0x6d, 0x61, + 0x67, 0x65, 0x5f, 0x74, 0x61, 0x67, 0x73, 0x18, 0x0a, 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, 0x0e, 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, 0x3e, 0x0a, 0x0b, 0x69, 0x6d, 0x64, 0x73, + 0x5f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x63, 0x77, 0x73, 0x2e, 0x64, 0x75, 0x6d, 0x70, - 0x73, 0x76, 0x31, 0x2e, 0x44, 0x4e, 0x53, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x08, 0x72, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x73, 0x22, 0xb3, 0x01, 0x0a, 0x07, 0x44, 0x4e, 0x53, 0x49, 0x6e, 0x66, - 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x0d, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6c, 0x61, - 0x73, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x12, - 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x73, - 0x69, 0x7a, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, - 0x28, 0x0d, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x40, 0x0a, 0x08, 0x72, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x64, 0x61, + 0x73, 0x76, 0x31, 0x2e, 0x49, 0x4d, 0x44, 0x53, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x0a, 0x69, 0x6d, + 0x64, 0x73, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x45, 0x0a, 0x0d, 0x73, 0x79, 0x73, 0x63, + 0x61, 0x6c, 0x6c, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x20, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x63, 0x77, 0x73, 0x2e, 0x64, 0x75, + 0x6d, 0x70, 0x73, 0x76, 0x31, 0x2e, 0x53, 0x79, 0x73, 0x63, 0x61, 0x6c, 0x6c, 0x4e, 0x6f, 0x64, + 0x65, 0x52, 0x0c, 0x73, 0x79, 0x73, 0x63, 0x61, 0x6c, 0x6c, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x12, + 0x4f, 0x0a, 0x0f, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x5f, 0x64, 0x65, 0x76, 0x69, 0x63, + 0x65, 0x73, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, + 0x6f, 0x67, 0x2e, 0x63, 0x77, 0x73, 0x2e, 0x64, 0x75, 0x6d, 0x70, 0x73, 0x76, 0x31, 0x2e, 0x4e, + 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x4e, 0x6f, 0x64, 0x65, + 0x52, 0x0e, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, + 0x12, 0x4e, 0x0a, 0x10, 0x63, 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x5f, 0x6e, + 0x6f, 0x64, 0x65, 0x73, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x64, 0x61, 0x74, + 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x63, 0x77, 0x73, 0x2e, 0x64, 0x75, 0x6d, 0x70, 0x73, 0x76, 0x31, + 0x2e, 0x43, 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x4e, 0x6f, 0x64, 0x65, 0x52, + 0x0f, 0x63, 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x4e, 0x6f, 0x64, 0x65, 0x73, + 0x4a, 0x04, 0x08, 0x02, 0x10, 0x03, 0x22, 0x9d, 0x05, 0x0a, 0x0b, 0x50, 0x72, 0x6f, 0x63, 0x65, + 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x10, 0x0a, 0x03, 0x70, 0x69, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x03, 0x70, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x74, 0x69, 0x64, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x74, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x70, + 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x70, 0x70, 0x69, 0x64, 0x12, 0x1a, + 0x0a, 0x06, 0x63, 0x6f, 0x6f, 0x6b, 0x69, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x42, 0x02, + 0x18, 0x01, 0x52, 0x06, 0x63, 0x6f, 0x6f, 0x6b, 0x69, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x73, + 0x5f, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, + 0x73, 0x54, 0x68, 0x72, 0x65, 0x61, 0x64, 0x12, 0x31, 0x0a, 0x04, 0x66, 0x69, 0x6c, 0x65, 0x18, + 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, + 0x63, 0x77, 0x73, 0x2e, 0x64, 0x75, 0x6d, 0x70, 0x73, 0x76, 0x31, 0x2e, 0x46, 0x69, 0x6c, 0x65, + 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x66, 0x69, 0x6c, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x6f, + 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1b, 0x0a, + 0x07, 0x73, 0x70, 0x61, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x04, 0x42, 0x02, + 0x18, 0x01, 0x52, 0x06, 0x73, 0x70, 0x61, 0x6e, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x08, 0x74, 0x72, + 0x61, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x04, 0x42, 0x02, 0x18, 0x01, + 0x52, 0x07, 0x74, 0x72, 0x61, 0x63, 0x65, 0x49, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x74, 0x74, 0x79, + 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x74, 0x74, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x63, + 0x6f, 0x6d, 0x6d, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x6f, 0x6d, 0x6d, 0x12, + 0x1b, 0x0a, 0x09, 0x66, 0x6f, 0x72, 0x6b, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0c, 0x20, 0x01, + 0x28, 0x04, 0x52, 0x08, 0x66, 0x6f, 0x72, 0x6b, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, + 0x65, 0x78, 0x69, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x04, 0x52, + 0x08, 0x65, 0x78, 0x69, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x78, 0x65, + 0x63, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x65, 0x78, + 0x65, 0x63, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x42, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x64, 0x65, 0x6e, + 0x74, 0x69, 0x61, 0x6c, 0x73, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x63, 0x77, 0x73, 0x2e, 0x64, 0x75, 0x6d, 0x70, 0x73, 0x76, - 0x31, 0x2e, 0x44, 0x4e, 0x53, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x49, 0x6e, 0x66, - 0x6f, 0x52, 0x08, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3b, 0x0a, 0x0f, 0x44, - 0x4e, 0x53, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x10, - 0x0a, 0x03, 0x69, 0x70, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x03, 0x69, 0x70, 0x73, - 0x12, 0x16, 0x0a, 0x06, 0x63, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, - 0x52, 0x06, 0x63, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x22, 0x86, 0x01, 0x0a, 0x0b, 0x53, 0x79, 0x73, - 0x63, 0x61, 0x6c, 0x6c, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x21, 0x0a, 0x0a, 0x69, 0x6d, 0x61, 0x67, - 0x65, 0x5f, 0x74, 0x61, 0x67, 0x73, 0x18, 0x01, 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, 0x03, 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, 0x18, 0x0a, 0x07, 0x73, 0x79, 0x73, 0x63, 0x61, - 0x6c, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x73, 0x79, 0x73, 0x63, 0x61, 0x6c, - 0x6c, 0x22, 0x8b, 0x01, 0x0a, 0x0e, 0x43, 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, - 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x3a, 0x0a, 0x09, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x62, 0x61, 0x73, - 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, + 0x31, 0x2e, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x73, 0x52, 0x0b, 0x63, + 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x61, 0x72, + 0x67, 0x73, 0x18, 0x10, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x61, 0x72, 0x67, 0x73, 0x12, 0x14, + 0x0a, 0x05, 0x61, 0x72, 0x67, 0x76, 0x30, 0x18, 0x11, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, + 0x72, 0x67, 0x76, 0x30, 0x12, 0x25, 0x0a, 0x0e, 0x61, 0x72, 0x67, 0x73, 0x5f, 0x74, 0x72, 0x75, + 0x6e, 0x63, 0x61, 0x74, 0x65, 0x64, 0x18, 0x12, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x61, 0x72, + 0x67, 0x73, 0x54, 0x72, 0x75, 0x6e, 0x63, 0x61, 0x74, 0x65, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x65, + 0x6e, 0x76, 0x73, 0x18, 0x13, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x65, 0x6e, 0x76, 0x73, 0x12, + 0x25, 0x0a, 0x0e, 0x65, 0x6e, 0x76, 0x73, 0x5f, 0x74, 0x72, 0x75, 0x6e, 0x63, 0x61, 0x74, 0x65, + 0x64, 0x18, 0x14, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x65, 0x6e, 0x76, 0x73, 0x54, 0x72, 0x75, + 0x6e, 0x63, 0x61, 0x74, 0x65, 0x64, 0x12, 0x22, 0x0a, 0x0d, 0x69, 0x73, 0x5f, 0x65, 0x78, 0x65, + 0x63, 0x5f, 0x63, 0x68, 0x69, 0x6c, 0x64, 0x18, 0x15, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x69, + 0x73, 0x45, 0x78, 0x65, 0x63, 0x43, 0x68, 0x69, 0x6c, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x6f, + 0x6f, 0x6b, 0x69, 0x65, 0x36, 0x34, 0x18, 0x16, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x63, 0x6f, + 0x6f, 0x6b, 0x69, 0x65, 0x36, 0x34, 0x22, 0x87, 0x04, 0x0a, 0x10, 0x46, 0x69, 0x6c, 0x65, 0x41, + 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x45, 0x0a, 0x0d, 0x6d, + 0x61, 0x74, 0x63, 0x68, 0x65, 0x64, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x09, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x63, 0x77, 0x73, + 0x2e, 0x64, 0x75, 0x6d, 0x70, 0x73, 0x76, 0x31, 0x2e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x64, + 0x52, 0x75, 0x6c, 0x65, 0x52, 0x0c, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x64, 0x52, 0x75, 0x6c, + 0x65, 0x73, 0x12, 0x21, 0x0a, 0x0a, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x61, 0x67, 0x73, + 0x18, 0x0a, 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, 0x0b, 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, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x73, 0x5f, 0x70, 0x61, 0x74, 0x74, + 0x65, 0x72, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x69, 0x73, 0x50, 0x61, 0x74, + 0x74, 0x65, 0x72, 0x6e, 0x12, 0x31, 0x0a, 0x04, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x63, 0x77, 0x73, + 0x2e, 0x64, 0x75, 0x6d, 0x70, 0x73, 0x76, 0x31, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x49, 0x6e, 0x66, + 0x6f, 0x52, 0x04, 0x66, 0x69, 0x6c, 0x65, 0x12, 0x4c, 0x0a, 0x0f, 0x67, 0x65, 0x6e, 0x65, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, + 0x32, 0x23, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x63, 0x77, 0x73, 0x2e, 0x64, + 0x75, 0x6d, 0x70, 0x73, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0e, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, 0x73, + 0x65, 0x65, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x66, 0x69, 0x72, 0x73, 0x74, + 0x53, 0x65, 0x65, 0x6e, 0x12, 0x31, 0x0a, 0x04, 0x6f, 0x70, 0x65, 0x6e, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x63, 0x77, 0x73, + 0x2e, 0x64, 0x75, 0x6d, 0x70, 0x73, 0x76, 0x31, 0x2e, 0x4f, 0x70, 0x65, 0x6e, 0x4e, 0x6f, 0x64, + 0x65, 0x52, 0x04, 0x6f, 0x70, 0x65, 0x6e, 0x12, 0x41, 0x0a, 0x08, 0x63, 0x68, 0x69, 0x6c, 0x64, + 0x72, 0x65, 0x6e, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x64, 0x61, 0x74, 0x61, + 0x64, 0x6f, 0x67, 0x2e, 0x63, 0x77, 0x73, 0x2e, 0x64, 0x75, 0x6d, 0x70, 0x73, 0x76, 0x31, 0x2e, + 0x46, 0x69, 0x6c, 0x65, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x4e, 0x6f, 0x64, 0x65, + 0x52, 0x08, 0x63, 0x68, 0x69, 0x6c, 0x64, 0x72, 0x65, 0x6e, 0x4a, 0x04, 0x08, 0x03, 0x10, 0x04, + 0x22, 0x4c, 0x0a, 0x08, 0x4f, 0x70, 0x65, 0x6e, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x16, 0x0a, 0x06, + 0x72, 0x65, 0x74, 0x76, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x12, 0x52, 0x06, 0x72, 0x65, + 0x74, 0x76, 0x61, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6d, 0x6f, + 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x22, 0xe9, + 0x01, 0x0a, 0x07, 0x44, 0x4e, 0x53, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x45, 0x0a, 0x0d, 0x6d, 0x61, + 0x74, 0x63, 0x68, 0x65, 0x64, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x20, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x63, 0x77, 0x73, 0x2e, + 0x64, 0x75, 0x6d, 0x70, 0x73, 0x76, 0x31, 0x2e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x64, 0x52, + 0x75, 0x6c, 0x65, 0x52, 0x0c, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x64, 0x52, 0x75, 0x6c, 0x65, + 0x73, 0x12, 0x21, 0x0a, 0x0a, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x61, 0x67, 0x73, 0x18, + 0x03, 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, 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, 0x1e, 0x0a, 0x0a, 0x63, 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x63, 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, - 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x73, 0x5f, 0x63, 0x61, 0x70, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x69, 0x73, 0x43, 0x61, 0x70, 0x61, 0x62, 0x6c, 0x65, 0x22, - 0xe6, 0x01, 0x0a, 0x08, 0x49, 0x4d, 0x44, 0x53, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x45, 0x0a, 0x0d, - 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x64, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x63, 0x77, - 0x73, 0x2e, 0x64, 0x75, 0x6d, 0x70, 0x73, 0x76, 0x31, 0x2e, 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, 0x02, 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, 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, 0x34, 0x0a, 0x05, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x1e, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x63, 0x77, 0x73, 0x2e, - 0x64, 0x75, 0x6d, 0x70, 0x73, 0x76, 0x31, 0x2e, 0x49, 0x4d, 0x44, 0x53, 0x45, 0x76, 0x65, 0x6e, - 0x74, 0x52, 0x05, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x22, 0xd8, 0x01, 0x0a, 0x09, 0x49, 0x4d, 0x44, - 0x53, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x6c, - 0x6f, 0x75, 0x64, 0x5f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x0d, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, - 0x72, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, - 0x75, 0x72, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x75, 0x73, 0x65, 0x72, 0x5f, - 0x61, 0x67, 0x65, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x75, 0x73, 0x65, - 0x72, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, - 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x12, 0x33, - 0x0a, 0x03, 0x61, 0x77, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x64, 0x61, - 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x63, 0x77, 0x73, 0x2e, 0x64, 0x75, 0x6d, 0x70, 0x73, 0x76, - 0x31, 0x2e, 0x41, 0x57, 0x53, 0x49, 0x4d, 0x44, 0x53, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x03, - 0x61, 0x77, 0x73, 0x22, 0x8c, 0x01, 0x0a, 0x0c, 0x41, 0x57, 0x53, 0x49, 0x4d, 0x44, 0x53, 0x45, - 0x76, 0x65, 0x6e, 0x74, 0x12, 0x1c, 0x0a, 0x0a, 0x69, 0x73, 0x5f, 0x69, 0x6d, 0x64, 0x73, 0x5f, - 0x76, 0x32, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x49, 0x6d, 0x64, 0x73, - 0x56, 0x32, 0x12, 0x5e, 0x0a, 0x14, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x5f, 0x63, - 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x2b, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x63, 0x77, 0x73, 0x2e, 0x64, - 0x75, 0x6d, 0x70, 0x73, 0x76, 0x31, 0x2e, 0x41, 0x57, 0x53, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, - 0x74, 0x79, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x73, 0x52, 0x13, 0x73, - 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, - 0x6c, 0x73, 0x22, 0xae, 0x01, 0x0a, 0x16, 0x41, 0x57, 0x53, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, - 0x74, 0x79, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x73, 0x12, 0x12, 0x0a, - 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x6f, 0x64, - 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x22, 0x0a, 0x0d, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, - 0x6b, 0x65, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x61, 0x63, - 0x63, 0x65, 0x73, 0x73, 0x4b, 0x65, 0x79, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x6c, 0x61, 0x73, - 0x74, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x0b, 0x6c, 0x61, 0x73, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x12, 0x25, 0x0a, 0x0e, - 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x72, 0x61, 0x77, 0x18, 0x05, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x52, 0x61, 0x77, 0x22, 0xa4, 0x06, 0x0a, 0x08, 0x46, 0x69, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, - 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x75, - 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x10, 0x0a, 0x03, 0x67, 0x69, 0x64, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x0d, 0x52, 0x03, 0x67, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x67, 0x72, 0x6f, 0x75, - 0x70, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x12, - 0x0a, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x6d, 0x6f, - 0x64, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, - 0x04, 0x52, 0x05, 0x63, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x6d, 0x74, 0x69, 0x6d, - 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x6d, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x19, - 0x0a, 0x08, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, - 0x52, 0x07, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x6f, - 0x64, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x69, 0x6e, 0x6f, 0x64, 0x65, 0x12, - 0x24, 0x0a, 0x0e, 0x69, 0x6e, 0x5f, 0x75, 0x70, 0x70, 0x65, 0x72, 0x5f, 0x6c, 0x61, 0x79, 0x65, - 0x72, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x69, 0x6e, 0x55, 0x70, 0x70, 0x65, 0x72, - 0x4c, 0x61, 0x79, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x0b, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x1a, 0x0a, 0x08, 0x62, 0x61, 0x73, - 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x62, 0x61, 0x73, - 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x79, 0x73, - 0x74, 0x65, 0x6d, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x66, 0x69, 0x6c, 0x65, 0x73, - 0x79, 0x73, 0x74, 0x65, 0x6d, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, - 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x61, 0x63, - 0x6b, 0x61, 0x67, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x70, 0x61, 0x63, 0x6b, - 0x61, 0x67, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x0f, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x0e, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, - 0x6e, 0x12, 0x28, 0x0a, 0x0d, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x5f, 0x65, 0x70, 0x6f, - 0x63, 0x68, 0x18, 0x13, 0x20, 0x01, 0x28, 0x0d, 0x48, 0x00, 0x52, 0x0c, 0x70, 0x61, 0x63, 0x6b, - 0x61, 0x67, 0x65, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x88, 0x01, 0x01, 0x12, 0x2c, 0x0a, 0x0f, 0x70, - 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x5f, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x18, 0x14, - 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x0e, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x52, - 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x88, 0x01, 0x01, 0x12, 0x2e, 0x0a, 0x13, 0x70, 0x61, 0x63, - 0x6b, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x72, 0x63, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, - 0x18, 0x10, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x53, - 0x72, 0x63, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2f, 0x0a, 0x11, 0x70, 0x61, 0x63, - 0x6b, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x72, 0x63, 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 0x15, - 0x20, 0x01, 0x28, 0x0d, 0x48, 0x02, 0x52, 0x0f, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x53, - 0x72, 0x63, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x88, 0x01, 0x01, 0x12, 0x33, 0x0a, 0x13, 0x70, 0x61, - 0x63, 0x6b, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x72, 0x63, 0x5f, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, - 0x65, 0x18, 0x16, 0x20, 0x01, 0x28, 0x09, 0x48, 0x03, 0x52, 0x11, 0x70, 0x61, 0x63, 0x6b, 0x61, - 0x67, 0x65, 0x53, 0x72, 0x63, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x88, 0x01, 0x01, 0x12, - 0x16, 0x0a, 0x06, 0x68, 0x61, 0x73, 0x68, 0x65, 0x73, 0x18, 0x11, 0x20, 0x03, 0x28, 0x09, 0x52, - 0x06, 0x68, 0x61, 0x73, 0x68, 0x65, 0x73, 0x12, 0x3d, 0x0a, 0x0a, 0x68, 0x61, 0x73, 0x68, 0x5f, - 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x12, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x64, 0x61, - 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x63, 0x77, 0x73, 0x2e, 0x64, 0x75, 0x6d, 0x70, 0x73, 0x76, - 0x31, 0x2e, 0x48, 0x61, 0x73, 0x68, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x09, 0x68, 0x61, 0x73, - 0x68, 0x53, 0x74, 0x61, 0x74, 0x65, 0x42, 0x10, 0x0a, 0x0e, 0x5f, 0x70, 0x61, 0x63, 0x6b, 0x61, - 0x67, 0x65, 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x42, 0x12, 0x0a, 0x10, 0x5f, 0x70, 0x61, 0x63, - 0x6b, 0x61, 0x67, 0x65, 0x5f, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x42, 0x14, 0x0a, 0x12, - 0x5f, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x72, 0x63, 0x5f, 0x65, 0x70, 0x6f, - 0x63, 0x68, 0x42, 0x16, 0x0a, 0x14, 0x5f, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x5f, 0x73, - 0x72, 0x63, 0x5f, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x22, 0xa1, 0x03, 0x0a, 0x0b, 0x43, - 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, - 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, - 0x67, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x67, 0x69, 0x64, 0x12, 0x12, - 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x75, 0x73, - 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x23, 0x0a, 0x0d, 0x65, 0x66, 0x66, 0x65, - 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x75, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, - 0x0c, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x55, 0x69, 0x64, 0x12, 0x23, 0x0a, - 0x0d, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x67, 0x69, 0x64, 0x18, 0x06, - 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x47, - 0x69, 0x64, 0x12, 0x25, 0x0a, 0x0e, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, - 0x75, 0x73, 0x65, 0x72, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x65, 0x66, 0x66, 0x65, - 0x63, 0x74, 0x69, 0x76, 0x65, 0x55, 0x73, 0x65, 0x72, 0x12, 0x27, 0x0a, 0x0f, 0x65, 0x66, 0x66, - 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x08, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x0e, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x47, 0x72, 0x6f, - 0x75, 0x70, 0x12, 0x15, 0x0a, 0x06, 0x66, 0x73, 0x5f, 0x75, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, - 0x28, 0x0d, 0x52, 0x05, 0x66, 0x73, 0x55, 0x69, 0x64, 0x12, 0x15, 0x0a, 0x06, 0x66, 0x73, 0x5f, - 0x67, 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x66, 0x73, 0x47, 0x69, 0x64, - 0x12, 0x17, 0x0a, 0x07, 0x66, 0x73, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x18, 0x0b, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x06, 0x66, 0x73, 0x55, 0x73, 0x65, 0x72, 0x12, 0x19, 0x0a, 0x08, 0x66, 0x73, 0x5f, - 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x66, 0x73, 0x47, - 0x72, 0x6f, 0x75, 0x70, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x61, 0x70, 0x5f, 0x65, 0x66, 0x66, 0x65, - 0x63, 0x74, 0x69, 0x76, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0c, 0x63, 0x61, 0x70, - 0x45, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x61, 0x70, - 0x5f, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x04, - 0x52, 0x0c, 0x63, 0x61, 0x70, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x64, 0x22, 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, + 0x12, 0x38, 0x0a, 0x08, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x63, 0x77, 0x73, + 0x2e, 0x64, 0x75, 0x6d, 0x70, 0x73, 0x76, 0x31, 0x2e, 0x44, 0x4e, 0x53, 0x49, 0x6e, 0x66, 0x6f, + 0x52, 0x08, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x22, 0xb3, 0x01, 0x0a, 0x07, 0x44, + 0x4e, 0x53, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, + 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x14, + 0x0a, 0x05, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x63, + 0x6c, 0x61, 0x73, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, + 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x40, + 0x0a, 0x08, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x24, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x63, 0x77, 0x73, 0x2e, 0x64, + 0x75, 0x6d, 0x70, 0x73, 0x76, 0x31, 0x2e, 0x44, 0x4e, 0x53, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x08, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x3b, 0x0a, 0x0f, 0x44, 0x4e, 0x53, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x49, + 0x6e, 0x66, 0x6f, 0x12, 0x10, 0x0a, 0x03, 0x69, 0x70, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, + 0x52, 0x03, 0x69, 0x70, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, + 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x63, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x22, 0x86, 0x01, + 0x0a, 0x0b, 0x53, 0x79, 0x73, 0x63, 0x61, 0x6c, 0x6c, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x21, 0x0a, + 0x0a, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x61, 0x67, 0x73, 0x18, 0x01, 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, 0x03, 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, 0x18, 0x0a, 0x07, + 0x73, 0x79, 0x73, 0x63, 0x61, 0x6c, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x73, + 0x79, 0x73, 0x63, 0x61, 0x6c, 0x6c, 0x22, 0x8b, 0x01, 0x0a, 0x0e, 0x43, 0x61, 0x70, 0x61, 0x62, + 0x69, 0x6c, 0x69, 0x74, 0x79, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x3a, 0x0a, 0x09, 0x6e, 0x6f, 0x64, + 0x65, 0x5f, 0x62, 0x61, 0x73, 0x65, 0x18, 0x01, 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, 0x1e, 0x0a, 0x0a, 0x63, 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, + 0x69, 0x74, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x63, 0x61, 0x70, 0x61, 0x62, + 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x73, 0x5f, 0x63, 0x61, 0x70, 0x61, + 0x62, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x69, 0x73, 0x43, 0x61, 0x70, + 0x61, 0x62, 0x6c, 0x65, 0x22, 0xe6, 0x01, 0x0a, 0x08, 0x49, 0x4d, 0x44, 0x53, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x45, 0x0a, 0x0d, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x64, 0x5f, 0x72, 0x75, 0x6c, - 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, + 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x63, 0x77, 0x73, 0x2e, 0x64, 0x75, 0x6d, 0x70, 0x73, 0x76, 0x31, 0x2e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x64, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x0c, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x64, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x21, 0x0a, 0x0a, 0x69, 0x6d, 0x61, 0x67, - 0x65, 0x5f, 0x74, 0x61, 0x67, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x42, 0x02, 0x18, 0x01, + 0x65, 0x5f, 0x74, 0x61, 0x67, 0x73, 0x18, 0x02, 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, + 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, 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, + 0x6f, 0x64, 0x65, 0x42, 0x61, 0x73, 0x65, 0x12, 0x34, 0x0a, 0x05, 0x65, 0x76, 0x65, 0x6e, 0x74, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, + 0x2e, 0x63, 0x77, 0x73, 0x2e, 0x64, 0x75, 0x6d, 0x70, 0x73, 0x76, 0x31, 0x2e, 0x49, 0x4d, 0x44, + 0x53, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x05, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x22, 0xd8, 0x01, + 0x0a, 0x09, 0x49, 0x4d, 0x44, 0x53, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x74, + 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, + 0x25, 0x0a, 0x0e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x5f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, + 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x50, 0x72, + 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x6f, 0x73, 0x74, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, + 0x75, 0x73, 0x65, 0x72, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x09, 0x75, 0x73, 0x65, 0x72, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, + 0x65, 0x72, 0x76, 0x65, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x65, 0x72, + 0x76, 0x65, 0x72, 0x12, 0x33, 0x0a, 0x03, 0x61, 0x77, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x21, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x63, 0x77, 0x73, 0x2e, 0x64, + 0x75, 0x6d, 0x70, 0x73, 0x76, 0x31, 0x2e, 0x41, 0x57, 0x53, 0x49, 0x4d, 0x44, 0x53, 0x45, 0x76, + 0x65, 0x6e, 0x74, 0x52, 0x03, 0x61, 0x77, 0x73, 0x22, 0x8c, 0x01, 0x0a, 0x0c, 0x41, 0x57, 0x53, + 0x49, 0x4d, 0x44, 0x53, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x1c, 0x0a, 0x0a, 0x69, 0x73, 0x5f, + 0x69, 0x6d, 0x64, 0x73, 0x5f, 0x76, 0x32, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, + 0x73, 0x49, 0x6d, 0x64, 0x73, 0x56, 0x32, 0x12, 0x5e, 0x0a, 0x14, 0x73, 0x65, 0x63, 0x75, 0x72, + 0x69, 0x74, 0x79, 0x5f, 0x63, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x73, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, + 0x63, 0x77, 0x73, 0x2e, 0x64, 0x75, 0x6d, 0x70, 0x73, 0x76, 0x31, 0x2e, 0x41, 0x57, 0x53, 0x53, + 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, + 0x6c, 0x73, 0x52, 0x13, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x43, 0x72, 0x65, 0x64, + 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x73, 0x22, 0xae, 0x01, 0x0a, 0x16, 0x41, 0x57, 0x53, 0x53, + 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, + 0x6c, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x22, 0x0a, 0x0d, 0x61, 0x63, + 0x63, 0x65, 0x73, 0x73, 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0b, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x4b, 0x65, 0x79, 0x49, 0x64, 0x12, 0x21, + 0x0a, 0x0c, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6c, 0x61, 0x73, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x64, 0x12, 0x25, 0x0a, 0x0e, 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, + 0x72, 0x61, 0x77, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x65, 0x78, 0x70, 0x69, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x61, 0x77, 0x22, 0xa4, 0x06, 0x0a, 0x08, 0x46, 0x69, 0x6c, + 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x10, 0x0a, 0x03, 0x67, + 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x67, 0x69, 0x64, 0x12, 0x14, 0x0a, + 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x67, 0x72, + 0x6f, 0x75, 0x70, 0x12, 0x12, 0x0a, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x74, 0x69, 0x6d, 0x65, + 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x63, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x14, 0x0a, + 0x05, 0x6d, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x6d, 0x74, + 0x69, 0x6d, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, + 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x14, + 0x0a, 0x05, 0x69, 0x6e, 0x6f, 0x64, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x69, + 0x6e, 0x6f, 0x64, 0x65, 0x12, 0x24, 0x0a, 0x0e, 0x69, 0x6e, 0x5f, 0x75, 0x70, 0x70, 0x65, 0x72, + 0x5f, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x69, 0x6e, + 0x55, 0x70, 0x70, 0x65, 0x72, 0x4c, 0x61, 0x79, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, + 0x74, 0x68, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x1a, + 0x0a, 0x08, 0x62, 0x61, 0x73, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x08, 0x62, 0x61, 0x73, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x66, 0x69, + 0x6c, 0x65, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, + 0x66, 0x69, 0x6c, 0x65, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x61, + 0x63, 0x6b, 0x61, 0x67, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0b, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x27, 0x0a, + 0x0f, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, + 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x56, + 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x28, 0x0a, 0x0d, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, + 0x65, 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 0x13, 0x20, 0x01, 0x28, 0x0d, 0x48, 0x00, 0x52, + 0x0c, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x88, 0x01, 0x01, + 0x12, 0x2c, 0x0a, 0x0f, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x5f, 0x72, 0x65, 0x6c, 0x65, + 0x61, 0x73, 0x65, 0x18, 0x14, 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x0e, 0x70, 0x61, 0x63, + 0x6b, 0x61, 0x67, 0x65, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x88, 0x01, 0x01, 0x12, 0x2e, + 0x0a, 0x13, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x72, 0x63, 0x5f, 0x76, 0x65, + 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x10, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x70, 0x61, 0x63, + 0x6b, 0x61, 0x67, 0x65, 0x53, 0x72, 0x63, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2f, + 0x0a, 0x11, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x72, 0x63, 0x5f, 0x65, 0x70, + 0x6f, 0x63, 0x68, 0x18, 0x15, 0x20, 0x01, 0x28, 0x0d, 0x48, 0x02, 0x52, 0x0f, 0x70, 0x61, 0x63, + 0x6b, 0x61, 0x67, 0x65, 0x53, 0x72, 0x63, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x88, 0x01, 0x01, 0x12, + 0x33, 0x0a, 0x13, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x72, 0x63, 0x5f, 0x72, + 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x18, 0x16, 0x20, 0x01, 0x28, 0x09, 0x48, 0x03, 0x52, 0x11, + 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x53, 0x72, 0x63, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, + 0x65, 0x88, 0x01, 0x01, 0x12, 0x16, 0x0a, 0x06, 0x68, 0x61, 0x73, 0x68, 0x65, 0x73, 0x18, 0x11, + 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x68, 0x61, 0x73, 0x68, 0x65, 0x73, 0x12, 0x3d, 0x0a, 0x0a, + 0x68, 0x61, 0x73, 0x68, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x12, 0x20, 0x01, 0x28, 0x0e, + 0x32, 0x1e, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x63, 0x77, 0x73, 0x2e, 0x64, + 0x75, 0x6d, 0x70, 0x73, 0x76, 0x31, 0x2e, 0x48, 0x61, 0x73, 0x68, 0x53, 0x74, 0x61, 0x74, 0x65, + 0x52, 0x09, 0x68, 0x61, 0x73, 0x68, 0x53, 0x74, 0x61, 0x74, 0x65, 0x42, 0x10, 0x0a, 0x0e, 0x5f, + 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x42, 0x12, 0x0a, + 0x10, 0x5f, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x5f, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, + 0x65, 0x42, 0x14, 0x0a, 0x12, 0x5f, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x72, + 0x63, 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x42, 0x16, 0x0a, 0x14, 0x5f, 0x70, 0x61, 0x63, 0x6b, + 0x61, 0x67, 0x65, 0x5f, 0x73, 0x72, 0x63, 0x5f, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x22, + 0xa1, 0x03, 0x0a, 0x0b, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x73, 0x12, + 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x75, 0x69, + 0x64, 0x12, 0x10, 0x0a, 0x03, 0x67, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, + 0x67, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x23, 0x0a, + 0x0d, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x75, 0x69, 0x64, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x55, + 0x69, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, + 0x67, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x65, 0x66, 0x66, 0x65, 0x63, + 0x74, 0x69, 0x76, 0x65, 0x47, 0x69, 0x64, 0x12, 0x25, 0x0a, 0x0e, 0x65, 0x66, 0x66, 0x65, 0x63, + 0x74, 0x69, 0x76, 0x65, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0d, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x55, 0x73, 0x65, 0x72, 0x12, 0x27, + 0x0a, 0x0f, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x67, 0x72, 0x6f, 0x75, + 0x70, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, + 0x76, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x15, 0x0a, 0x06, 0x66, 0x73, 0x5f, 0x75, 0x69, + 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x66, 0x73, 0x55, 0x69, 0x64, 0x12, 0x15, + 0x0a, 0x06, 0x66, 0x73, 0x5f, 0x67, 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, + 0x66, 0x73, 0x47, 0x69, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x66, 0x73, 0x5f, 0x75, 0x73, 0x65, 0x72, + 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x73, 0x55, 0x73, 0x65, 0x72, 0x12, 0x19, + 0x0a, 0x08, 0x66, 0x73, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x07, 0x66, 0x73, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x61, 0x70, + 0x5f, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x04, + 0x52, 0x0c, 0x63, 0x61, 0x70, 0x45, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x12, 0x23, + 0x0a, 0x0d, 0x63, 0x61, 0x70, 0x5f, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x64, 0x18, + 0x0e, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0c, 0x63, 0x61, 0x70, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x74, + 0x74, 0x65, 0x64, 0x22, 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, 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, - 0x72, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x0e, - 0x0a, 0x02, 0x69, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x70, 0x12, 0x1a, - 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, - 0x52, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x22, 0xe0, 0x01, 0x0a, 0x11, 0x4e, - 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x4e, 0x6f, 0x64, 0x65, - 0x12, 0x45, 0x0a, 0x0d, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x64, 0x5f, 0x72, 0x75, 0x6c, 0x65, - 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, - 0x67, 0x2e, 0x63, 0x77, 0x73, 0x2e, 0x64, 0x75, 0x6d, 0x70, 0x73, 0x76, 0x31, 0x2e, 0x4d, 0x61, - 0x74, 0x63, 0x68, 0x65, 0x64, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x0c, 0x6d, 0x61, 0x74, 0x63, 0x68, - 0x65, 0x64, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x6e, 0x65, 0x74, 0x6e, 0x73, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6e, 0x65, 0x74, 0x6e, 0x73, 0x12, 0x18, 0x0a, - 0x07, 0x69, 0x66, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, - 0x69, 0x66, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x16, 0x0a, 0x06, 0x69, 0x66, 0x6e, 0x61, 0x6d, - 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x69, 0x66, 0x6e, 0x61, 0x6d, 0x65, 0x12, - 0x3c, 0x0a, 0x0a, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x05, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x63, 0x77, - 0x73, 0x2e, 0x64, 0x75, 0x6d, 0x70, 0x73, 0x76, 0x31, 0x2e, 0x46, 0x6c, 0x6f, 0x77, 0x4e, 0x6f, - 0x64, 0x65, 0x52, 0x09, 0x66, 0x6c, 0x6f, 0x77, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x22, 0xa5, 0x03, - 0x0a, 0x08, 0x46, 0x6c, 0x6f, 0x77, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x21, 0x0a, 0x0a, 0x69, 0x6d, - 0x61, 0x67, 0x65, 0x5f, 0x74, 0x61, 0x67, 0x73, 0x18, 0x01, 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, 0x08, 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, 0x3a, 0x0a, 0x06, 0x73, 0x6f, 0x75, - 0x72, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x64, 0x61, 0x74, 0x61, - 0x64, 0x6f, 0x67, 0x2e, 0x63, 0x77, 0x73, 0x2e, 0x64, 0x75, 0x6d, 0x70, 0x73, 0x76, 0x31, 0x2e, - 0x49, 0x50, 0x50, 0x6f, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x06, 0x73, - 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x44, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x64, 0x61, 0x74, - 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x63, 0x77, 0x73, 0x2e, 0x64, 0x75, 0x6d, 0x70, 0x73, 0x76, 0x31, - 0x2e, 0x49, 0x50, 0x50, 0x6f, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x0b, - 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x6c, - 0x33, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, - 0x52, 0x0a, 0x6c, 0x33, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0x1f, 0x0a, 0x0b, - 0x6c, 0x34, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, - 0x0d, 0x52, 0x0a, 0x6c, 0x34, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0x3b, 0x0a, - 0x07, 0x69, 0x6e, 0x67, 0x72, 0x65, 0x73, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, + 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, 0x72, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x70, + 0x6f, 0x72, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x02, 0x69, 0x70, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x18, + 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x22, + 0xe0, 0x01, 0x0a, 0x11, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x44, 0x65, 0x76, 0x69, 0x63, + 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x45, 0x0a, 0x0d, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x64, + 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x64, + 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x63, 0x77, 0x73, 0x2e, 0x64, 0x75, 0x6d, 0x70, 0x73, + 0x76, 0x31, 0x2e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x64, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x0c, + 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x64, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x14, 0x0a, 0x05, + 0x6e, 0x65, 0x74, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6e, 0x65, 0x74, + 0x6e, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x69, 0x66, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x07, 0x69, 0x66, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x16, 0x0a, 0x06, + 0x69, 0x66, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x69, 0x66, + 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3c, 0x0a, 0x0a, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x6e, 0x6f, 0x64, + 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, + 0x6f, 0x67, 0x2e, 0x63, 0x77, 0x73, 0x2e, 0x64, 0x75, 0x6d, 0x70, 0x73, 0x76, 0x31, 0x2e, 0x46, + 0x6c, 0x6f, 0x77, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x09, 0x66, 0x6c, 0x6f, 0x77, 0x4e, 0x6f, 0x64, + 0x65, 0x73, 0x22, 0xa5, 0x03, 0x0a, 0x08, 0x46, 0x6c, 0x6f, 0x77, 0x4e, 0x6f, 0x64, 0x65, 0x12, + 0x21, 0x0a, 0x0a, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x61, 0x67, 0x73, 0x18, 0x01, 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, + 0x08, 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, 0x3a, + 0x0a, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x63, 0x77, 0x73, 0x2e, 0x64, 0x75, 0x6d, - 0x70, 0x73, 0x76, 0x31, 0x2e, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x53, 0x74, 0x61, 0x74, - 0x73, 0x52, 0x07, 0x69, 0x6e, 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x39, 0x0a, 0x06, 0x65, 0x67, - 0x72, 0x65, 0x73, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x64, 0x61, 0x74, - 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x63, 0x77, 0x73, 0x2e, 0x64, 0x75, 0x6d, 0x70, 0x73, 0x76, 0x31, - 0x2e, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x06, 0x65, - 0x67, 0x72, 0x65, 0x73, 0x73, 0x22, 0x33, 0x0a, 0x0d, 0x49, 0x50, 0x50, 0x6f, 0x72, 0x74, 0x43, - 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x70, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x02, 0x69, 0x70, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x22, 0x4e, 0x0a, 0x0c, 0x4e, 0x65, - 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x64, 0x61, - 0x74, 0x61, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x64, - 0x61, 0x74, 0x61, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x61, 0x63, 0x6b, 0x65, - 0x74, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x70, - 0x61, 0x63, 0x6b, 0x65, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x9b, 0x02, 0x0a, 0x0b, 0x4d, - 0x61, 0x74, 0x63, 0x68, 0x65, 0x64, 0x52, 0x75, 0x6c, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x72, 0x75, - 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x75, 0x6c, - 0x65, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x73, - 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x72, 0x75, 0x6c, 0x65, 0x56, - 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, - 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x6f, 0x6c, - 0x69, 0x63, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x70, 0x6f, 0x6c, 0x69, 0x63, - 0x79, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x0d, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x4b, - 0x0a, 0x09, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x74, 0x61, 0x67, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x2e, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x63, 0x77, 0x73, 0x2e, - 0x64, 0x75, 0x6d, 0x70, 0x73, 0x76, 0x31, 0x2e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x64, 0x52, - 0x75, 0x6c, 0x65, 0x2e, 0x52, 0x75, 0x6c, 0x65, 0x54, 0x61, 0x67, 0x73, 0x45, 0x6e, 0x74, 0x72, - 0x79, 0x52, 0x08, 0x72, 0x75, 0x6c, 0x65, 0x54, 0x61, 0x67, 0x73, 0x1a, 0x3b, 0x0a, 0x0d, 0x52, - 0x75, 0x6c, 0x65, 0x54, 0x61, 0x67, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, - 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, - 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, - 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x98, 0x01, 0x0a, 0x10, 0x65, 0x76, 0x65, - 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x2a, 0x0a, - 0x11, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x61, 0x6e, 0x6f, 0x6d, 0x61, 0x6c, 0x79, 0x5f, 0x6e, 0x61, - 0x6e, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0f, 0x6c, 0x61, 0x73, 0x74, 0x41, 0x6e, - 0x6f, 0x6d, 0x61, 0x6c, 0x79, 0x4e, 0x61, 0x6e, 0x6f, 0x12, 0x58, 0x0a, 0x13, 0x65, 0x76, 0x65, - 0x6e, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x28, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, - 0x2e, 0x63, 0x77, 0x73, 0x2e, 0x64, 0x75, 0x6d, 0x70, 0x73, 0x76, 0x31, 0x2e, 0x65, 0x76, 0x65, - 0x6e, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, - 0x52, 0x11, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x53, 0x74, - 0x61, 0x74, 0x65, 0x2a, 0xb9, 0x01, 0x0a, 0x09, 0x48, 0x61, 0x73, 0x68, 0x53, 0x74, 0x61, 0x74, - 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x4e, 0x4f, 0x5f, 0x48, 0x41, 0x53, 0x48, 0x10, 0x00, 0x12, 0x08, - 0x0a, 0x04, 0x44, 0x4f, 0x4e, 0x45, 0x10, 0x01, 0x12, 0x12, 0x0a, 0x0e, 0x46, 0x49, 0x4c, 0x45, - 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x46, 0x4f, 0x55, 0x4e, 0x44, 0x10, 0x02, 0x12, 0x1d, 0x0a, 0x19, - 0x50, 0x41, 0x54, 0x48, 0x4e, 0x41, 0x4d, 0x45, 0x5f, 0x52, 0x45, 0x53, 0x4f, 0x4c, 0x55, 0x54, - 0x49, 0x4f, 0x4e, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x03, 0x12, 0x10, 0x0a, 0x0c, 0x46, - 0x49, 0x4c, 0x45, 0x5f, 0x54, 0x4f, 0x4f, 0x5f, 0x42, 0x49, 0x47, 0x10, 0x04, 0x12, 0x1d, 0x0a, - 0x19, 0x45, 0x56, 0x45, 0x4e, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, - 0x43, 0x4f, 0x4e, 0x46, 0x49, 0x47, 0x55, 0x52, 0x45, 0x44, 0x10, 0x05, 0x12, 0x19, 0x0a, 0x15, - 0x48, 0x41, 0x53, 0x48, 0x5f, 0x57, 0x41, 0x53, 0x5f, 0x52, 0x41, 0x54, 0x45, 0x5f, 0x4c, 0x49, - 0x4d, 0x49, 0x54, 0x45, 0x44, 0x10, 0x06, 0x12, 0x16, 0x0a, 0x12, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, - 0x57, 0x4e, 0x5f, 0x48, 0x41, 0x53, 0x48, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x07, 0x2a, - 0x38, 0x0a, 0x0e, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, - 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0b, - 0x0a, 0x07, 0x52, 0x55, 0x4e, 0x54, 0x49, 0x4d, 0x45, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x53, - 0x4e, 0x41, 0x50, 0x53, 0x48, 0x4f, 0x54, 0x10, 0x02, 0x2a, 0x90, 0x01, 0x0a, 0x13, 0x65, 0x76, - 0x65, 0x6e, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x74, - 0x65, 0x12, 0x0e, 0x0a, 0x0a, 0x4e, 0x4f, 0x5f, 0x50, 0x52, 0x4f, 0x46, 0x49, 0x4c, 0x45, 0x10, - 0x00, 0x12, 0x17, 0x0a, 0x13, 0x50, 0x52, 0x4f, 0x46, 0x49, 0x4c, 0x45, 0x5f, 0x41, 0x54, 0x5f, - 0x4d, 0x41, 0x58, 0x5f, 0x53, 0x49, 0x5a, 0x45, 0x10, 0x01, 0x12, 0x14, 0x0a, 0x10, 0x55, 0x4e, - 0x53, 0x54, 0x41, 0x42, 0x4c, 0x45, 0x5f, 0x50, 0x52, 0x4f, 0x46, 0x49, 0x4c, 0x45, 0x10, 0x02, - 0x12, 0x12, 0x0a, 0x0e, 0x53, 0x54, 0x41, 0x42, 0x4c, 0x45, 0x5f, 0x50, 0x52, 0x4f, 0x46, 0x49, - 0x4c, 0x45, 0x10, 0x03, 0x12, 0x11, 0x0a, 0x0d, 0x41, 0x55, 0x54, 0x4f, 0x5f, 0x4c, 0x45, 0x41, - 0x52, 0x4e, 0x49, 0x4e, 0x47, 0x10, 0x04, 0x12, 0x13, 0x0a, 0x0f, 0x57, 0x4f, 0x52, 0x4b, 0x4c, - 0x4f, 0x41, 0x44, 0x5f, 0x57, 0x41, 0x52, 0x4d, 0x55, 0x50, 0x10, 0x05, 0x42, 0x55, 0x0a, 0x12, - 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x64, 0x2e, 0x63, 0x77, 0x73, 0x2e, 0x61, 0x64, 0x76, 0x31, 0x2e, - 0x70, 0x62, 0x42, 0x0c, 0x53, 0x65, 0x63, 0x44, 0x75, 0x6d, 0x70, 0x50, 0x72, 0x6f, 0x74, 0x6f, - 0x50, 0x00, 0x5a, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x44, - 0x61, 0x74, 0x61, 0x44, 0x6f, 0x67, 0x2f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2d, 0x70, 0x61, 0x79, - 0x6c, 0x6f, 0x61, 0x64, 0x2f, 0x76, 0x35, 0x2f, 0x63, 0x77, 0x73, 0x2f, 0x64, 0x75, 0x6d, 0x70, - 0x73, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x70, 0x73, 0x76, 0x31, 0x2e, 0x49, 0x50, 0x50, 0x6f, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, + 0x78, 0x74, 0x52, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x44, 0x0a, 0x0b, 0x64, 0x65, + 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x22, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x63, 0x77, 0x73, 0x2e, 0x64, 0x75, + 0x6d, 0x70, 0x73, 0x76, 0x31, 0x2e, 0x49, 0x50, 0x50, 0x6f, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x74, + 0x65, 0x78, 0x74, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x12, 0x1f, 0x0a, 0x0b, 0x6c, 0x33, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x6c, 0x33, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x12, 0x1f, 0x0a, 0x0b, 0x6c, 0x34, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x6c, 0x34, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x12, 0x3b, 0x0a, 0x07, 0x69, 0x6e, 0x67, 0x72, 0x65, 0x73, 0x73, 0x18, 0x06, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x63, 0x77, + 0x73, 0x2e, 0x64, 0x75, 0x6d, 0x70, 0x73, 0x76, 0x31, 0x2e, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, + 0x6b, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x07, 0x69, 0x6e, 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, + 0x39, 0x0a, 0x06, 0x65, 0x67, 0x72, 0x65, 0x73, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x21, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x63, 0x77, 0x73, 0x2e, 0x64, 0x75, + 0x6d, 0x70, 0x73, 0x76, 0x31, 0x2e, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x53, 0x74, 0x61, + 0x74, 0x73, 0x52, 0x06, 0x65, 0x67, 0x72, 0x65, 0x73, 0x73, 0x22, 0x33, 0x0a, 0x0d, 0x49, 0x50, + 0x50, 0x6f, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, + 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x70, 0x12, 0x12, 0x0a, 0x04, 0x70, + 0x6f, 0x72, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x22, + 0x4e, 0x0a, 0x0c, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, + 0x1b, 0x0a, 0x09, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x04, 0x52, 0x08, 0x64, 0x61, 0x74, 0x61, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x21, 0x0a, 0x0c, + 0x70, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x04, 0x52, 0x0b, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x22, + 0x9b, 0x02, 0x0a, 0x0b, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x64, 0x52, 0x75, 0x6c, 0x65, 0x12, + 0x17, 0x0a, 0x07, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x06, 0x72, 0x75, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x72, 0x75, 0x6c, 0x65, + 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, + 0x72, 0x75, 0x6c, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x70, + 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0a, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x25, 0x0a, 0x0e, + 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x56, 0x65, 0x72, 0x73, + 0x69, 0x6f, 0x6e, 0x12, 0x4b, 0x0a, 0x09, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x74, 0x61, 0x67, 0x73, + 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, + 0x2e, 0x63, 0x77, 0x73, 0x2e, 0x64, 0x75, 0x6d, 0x70, 0x73, 0x76, 0x31, 0x2e, 0x4d, 0x61, 0x74, + 0x63, 0x68, 0x65, 0x64, 0x52, 0x75, 0x6c, 0x65, 0x2e, 0x52, 0x75, 0x6c, 0x65, 0x54, 0x61, 0x67, + 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x72, 0x75, 0x6c, 0x65, 0x54, 0x61, 0x67, 0x73, + 0x1a, 0x3b, 0x0a, 0x0d, 0x52, 0x75, 0x6c, 0x65, 0x54, 0x61, 0x67, 0x73, 0x45, 0x6e, 0x74, 0x72, + 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, + 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x98, 0x01, + 0x0a, 0x10, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x73, 0x74, 0x61, + 0x74, 0x65, 0x12, 0x2a, 0x0a, 0x11, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x61, 0x6e, 0x6f, 0x6d, 0x61, + 0x6c, 0x79, 0x5f, 0x6e, 0x61, 0x6e, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0f, 0x6c, + 0x61, 0x73, 0x74, 0x41, 0x6e, 0x6f, 0x6d, 0x61, 0x6c, 0x79, 0x4e, 0x61, 0x6e, 0x6f, 0x12, 0x58, + 0x0a, 0x13, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x5f, + 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x28, 0x2e, 0x64, 0x61, + 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x63, 0x77, 0x73, 0x2e, 0x64, 0x75, 0x6d, 0x70, 0x73, 0x76, + 0x31, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x5f, + 0x73, 0x74, 0x61, 0x74, 0x65, 0x52, 0x11, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x66, + 0x69, 0x6c, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x2a, 0xb9, 0x01, 0x0a, 0x09, 0x48, 0x61, 0x73, + 0x68, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x4e, 0x4f, 0x5f, 0x48, 0x41, 0x53, + 0x48, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x44, 0x4f, 0x4e, 0x45, 0x10, 0x01, 0x12, 0x12, 0x0a, + 0x0e, 0x46, 0x49, 0x4c, 0x45, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x46, 0x4f, 0x55, 0x4e, 0x44, 0x10, + 0x02, 0x12, 0x1d, 0x0a, 0x19, 0x50, 0x41, 0x54, 0x48, 0x4e, 0x41, 0x4d, 0x45, 0x5f, 0x52, 0x45, + 0x53, 0x4f, 0x4c, 0x55, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x03, + 0x12, 0x10, 0x0a, 0x0c, 0x46, 0x49, 0x4c, 0x45, 0x5f, 0x54, 0x4f, 0x4f, 0x5f, 0x42, 0x49, 0x47, + 0x10, 0x04, 0x12, 0x1d, 0x0a, 0x19, 0x45, 0x56, 0x45, 0x4e, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, + 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x43, 0x4f, 0x4e, 0x46, 0x49, 0x47, 0x55, 0x52, 0x45, 0x44, 0x10, + 0x05, 0x12, 0x19, 0x0a, 0x15, 0x48, 0x41, 0x53, 0x48, 0x5f, 0x57, 0x41, 0x53, 0x5f, 0x52, 0x41, + 0x54, 0x45, 0x5f, 0x4c, 0x49, 0x4d, 0x49, 0x54, 0x45, 0x44, 0x10, 0x06, 0x12, 0x16, 0x0a, 0x12, + 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x5f, 0x48, 0x41, 0x53, 0x48, 0x5f, 0x45, 0x52, 0x52, + 0x4f, 0x52, 0x10, 0x07, 0x2a, 0x38, 0x0a, 0x0e, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, + 0x4e, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x52, 0x55, 0x4e, 0x54, 0x49, 0x4d, 0x45, 0x10, 0x01, + 0x12, 0x0c, 0x0a, 0x08, 0x53, 0x4e, 0x41, 0x50, 0x53, 0x48, 0x4f, 0x54, 0x10, 0x02, 0x2a, 0x90, + 0x01, 0x0a, 0x13, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, + 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x0e, 0x0a, 0x0a, 0x4e, 0x4f, 0x5f, 0x50, 0x52, 0x4f, + 0x46, 0x49, 0x4c, 0x45, 0x10, 0x00, 0x12, 0x17, 0x0a, 0x13, 0x50, 0x52, 0x4f, 0x46, 0x49, 0x4c, + 0x45, 0x5f, 0x41, 0x54, 0x5f, 0x4d, 0x41, 0x58, 0x5f, 0x53, 0x49, 0x5a, 0x45, 0x10, 0x01, 0x12, + 0x14, 0x0a, 0x10, 0x55, 0x4e, 0x53, 0x54, 0x41, 0x42, 0x4c, 0x45, 0x5f, 0x50, 0x52, 0x4f, 0x46, + 0x49, 0x4c, 0x45, 0x10, 0x02, 0x12, 0x12, 0x0a, 0x0e, 0x53, 0x54, 0x41, 0x42, 0x4c, 0x45, 0x5f, + 0x50, 0x52, 0x4f, 0x46, 0x49, 0x4c, 0x45, 0x10, 0x03, 0x12, 0x11, 0x0a, 0x0d, 0x41, 0x55, 0x54, + 0x4f, 0x5f, 0x4c, 0x45, 0x41, 0x52, 0x4e, 0x49, 0x4e, 0x47, 0x10, 0x04, 0x12, 0x13, 0x0a, 0x0f, + 0x57, 0x4f, 0x52, 0x4b, 0x4c, 0x4f, 0x41, 0x44, 0x5f, 0x57, 0x41, 0x52, 0x4d, 0x55, 0x50, 0x10, + 0x05, 0x42, 0x55, 0x0a, 0x12, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x64, 0x2e, 0x63, 0x77, 0x73, 0x2e, + 0x61, 0x64, 0x76, 0x31, 0x2e, 0x70, 0x62, 0x42, 0x0c, 0x53, 0x65, 0x63, 0x44, 0x75, 0x6d, 0x70, + 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x00, 0x5a, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, + 0x63, 0x6f, 0x6d, 0x2f, 0x44, 0x61, 0x74, 0x61, 0x44, 0x6f, 0x67, 0x2f, 0x61, 0x67, 0x65, 0x6e, + 0x74, 0x2d, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x2f, 0x76, 0x35, 0x2f, 0x63, 0x77, 0x73, + 0x2f, 0x64, 0x75, 0x6d, 0x70, 0x73, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -3755,116 +4353,133 @@ func file_proto_cws_dumpsv1_activity_dump_proto_rawDescGZIP() []byte { return file_proto_cws_dumpsv1_activity_dump_proto_rawDescData } -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, 36) +var file_proto_cws_dumpsv1_activity_dump_proto_enumTypes = make([]protoimpl.EnumInfo, 4) +var file_proto_cws_dumpsv1_activity_dump_proto_msgTypes = make([]protoimpl.MessageInfo, 43) var file_proto_cws_dumpsv1_activity_dump_proto_goTypes = []interface{}{ (HashState)(0), // 0: datadog.cws.dumpsv1.HashState (GenerationType)(0), // 1: datadog.cws.dumpsv1.GenerationType (EventProfileState)(0), // 2: datadog.cws.dumpsv1.event_profile_state - (*SecDump)(nil), // 3: datadog.cws.dumpsv1.SecDump - (*Metadata)(nil), // 4: datadog.cws.dumpsv1.Metadata - (*ProfileSelector)(nil), // 5: datadog.cws.dumpsv1.ProfileSelector - (*ProfileContext)(nil), // 6: datadog.cws.dumpsv1.ProfileContext - (*ImageTagTimes)(nil), // 7: datadog.cws.dumpsv1.ImageTagTimes - (*NodeBase)(nil), // 8: datadog.cws.dumpsv1.NodeBase - (*SecurityProfile)(nil), // 9: datadog.cws.dumpsv1.SecurityProfile - (*MountNode)(nil), // 10: datadog.cws.dumpsv1.MountNode - (*ProcessActivityNode)(nil), // 11: datadog.cws.dumpsv1.ProcessActivityNode - (*ProcessInfo)(nil), // 12: datadog.cws.dumpsv1.ProcessInfo - (*FileActivityNode)(nil), // 13: datadog.cws.dumpsv1.FileActivityNode - (*OpenNode)(nil), // 14: datadog.cws.dumpsv1.OpenNode - (*DNSNode)(nil), // 15: datadog.cws.dumpsv1.DNSNode - (*DNSInfo)(nil), // 16: datadog.cws.dumpsv1.DNSInfo - (*DNSResponseInfo)(nil), // 17: datadog.cws.dumpsv1.DNSResponseInfo - (*SyscallNode)(nil), // 18: datadog.cws.dumpsv1.SyscallNode - (*CapabilityNode)(nil), // 19: datadog.cws.dumpsv1.CapabilityNode - (*IMDSNode)(nil), // 20: datadog.cws.dumpsv1.IMDSNode - (*IMDSEvent)(nil), // 21: datadog.cws.dumpsv1.IMDSEvent - (*AWSIMDSEvent)(nil), // 22: datadog.cws.dumpsv1.AWSIMDSEvent - (*AWSSecurityCredentials)(nil), // 23: datadog.cws.dumpsv1.AWSSecurityCredentials - (*FileInfo)(nil), // 24: datadog.cws.dumpsv1.FileInfo - (*Credentials)(nil), // 25: datadog.cws.dumpsv1.Credentials - (*SocketNode)(nil), // 26: datadog.cws.dumpsv1.SocketNode - (*BindNode)(nil), // 27: datadog.cws.dumpsv1.BindNode - (*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 + (SeccompProfile_Type)(0), // 3: datadog.cws.dumpsv1.SeccompProfile.Type + (*SecDump)(nil), // 4: datadog.cws.dumpsv1.SecDump + (*Metadata)(nil), // 5: datadog.cws.dumpsv1.Metadata + (*SeccompProfile)(nil), // 6: datadog.cws.dumpsv1.SeccompProfile + (*SeccompFilter)(nil), // 7: datadog.cws.dumpsv1.SeccompFilter + (*SyscallRule)(nil), // 8: datadog.cws.dumpsv1.SyscallRule + (*ArgCondition)(nil), // 9: datadog.cws.dumpsv1.ArgCondition + (*SecurityContext)(nil), // 10: datadog.cws.dumpsv1.SecurityContext + (*SecurityContextEntry)(nil), // 11: datadog.cws.dumpsv1.SecurityContextEntry + (*ProfileSelector)(nil), // 12: datadog.cws.dumpsv1.ProfileSelector + (*ProfileContext)(nil), // 13: datadog.cws.dumpsv1.ProfileContext + (*ImageTagTimes)(nil), // 14: datadog.cws.dumpsv1.ImageTagTimes + (*NodeBase)(nil), // 15: datadog.cws.dumpsv1.NodeBase + (*SecurityProfile)(nil), // 16: datadog.cws.dumpsv1.SecurityProfile + (*MountNode)(nil), // 17: datadog.cws.dumpsv1.MountNode + (*ProcessActivityNode)(nil), // 18: datadog.cws.dumpsv1.ProcessActivityNode + (*ProcessInfo)(nil), // 19: datadog.cws.dumpsv1.ProcessInfo + (*FileActivityNode)(nil), // 20: datadog.cws.dumpsv1.FileActivityNode + (*OpenNode)(nil), // 21: datadog.cws.dumpsv1.OpenNode + (*DNSNode)(nil), // 22: datadog.cws.dumpsv1.DNSNode + (*DNSInfo)(nil), // 23: datadog.cws.dumpsv1.DNSInfo + (*DNSResponseInfo)(nil), // 24: datadog.cws.dumpsv1.DNSResponseInfo + (*SyscallNode)(nil), // 25: datadog.cws.dumpsv1.SyscallNode + (*CapabilityNode)(nil), // 26: datadog.cws.dumpsv1.CapabilityNode + (*IMDSNode)(nil), // 27: datadog.cws.dumpsv1.IMDSNode + (*IMDSEvent)(nil), // 28: datadog.cws.dumpsv1.IMDSEvent + (*AWSIMDSEvent)(nil), // 29: datadog.cws.dumpsv1.AWSIMDSEvent + (*AWSSecurityCredentials)(nil), // 30: datadog.cws.dumpsv1.AWSSecurityCredentials + (*FileInfo)(nil), // 31: datadog.cws.dumpsv1.FileInfo + (*Credentials)(nil), // 32: datadog.cws.dumpsv1.Credentials + (*SocketNode)(nil), // 33: datadog.cws.dumpsv1.SocketNode + (*BindNode)(nil), // 34: datadog.cws.dumpsv1.BindNode + (*ConnectNode)(nil), // 35: datadog.cws.dumpsv1.ConnectNode + (*NetworkDeviceNode)(nil), // 36: datadog.cws.dumpsv1.NetworkDeviceNode + (*FlowNode)(nil), // 37: datadog.cws.dumpsv1.FlowNode + (*IPPortContext)(nil), // 38: datadog.cws.dumpsv1.IPPortContext + (*NetworkStats)(nil), // 39: datadog.cws.dumpsv1.NetworkStats + (*MatchedRule)(nil), // 40: datadog.cws.dumpsv1.MatchedRule + (*EventTypeState)(nil), // 41: datadog.cws.dumpsv1.event_type_state + nil, // 42: datadog.cws.dumpsv1.SeccompFilter.SyscallsEntry + nil, // 43: datadog.cws.dumpsv1.ProfileContext.EventTypeStateEntry + nil, // 44: datadog.cws.dumpsv1.NodeBase.SeenEntry + nil, // 45: datadog.cws.dumpsv1.SecurityProfile.ProfileContextsEntry + nil, // 46: 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 - 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 - 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 - 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 - 26, // 17: datadog.cws.dumpsv1.ProcessActivityNode.sockets:type_name -> datadog.cws.dumpsv1.SocketNode - 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 - 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 - 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 - 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 - 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 - 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 + 5, // 0: datadog.cws.dumpsv1.SecDump.metadata:type_name -> datadog.cws.dumpsv1.Metadata + 18, // 1: datadog.cws.dumpsv1.SecDump.tree:type_name -> datadog.cws.dumpsv1.ProcessActivityNode + 17, // 2: datadog.cws.dumpsv1.SecDump.mounts:type_name -> datadog.cws.dumpsv1.MountNode + 11, // 3: datadog.cws.dumpsv1.SecDump.security_contexts:type_name -> datadog.cws.dumpsv1.SecurityContextEntry + 3, // 4: datadog.cws.dumpsv1.SeccompProfile.type:type_name -> datadog.cws.dumpsv1.SeccompProfile.Type + 7, // 5: datadog.cws.dumpsv1.SeccompProfile.filter:type_name -> datadog.cws.dumpsv1.SeccompFilter + 42, // 6: datadog.cws.dumpsv1.SeccompFilter.syscalls:type_name -> datadog.cws.dumpsv1.SeccompFilter.SyscallsEntry + 9, // 7: datadog.cws.dumpsv1.SyscallRule.conditions:type_name -> datadog.cws.dumpsv1.ArgCondition + 6, // 8: datadog.cws.dumpsv1.SecurityContext.seccomp:type_name -> datadog.cws.dumpsv1.SeccompProfile + 10, // 9: datadog.cws.dumpsv1.SecurityContextEntry.security_context:type_name -> datadog.cws.dumpsv1.SecurityContext + 43, // 10: datadog.cws.dumpsv1.ProfileContext.event_type_state:type_name -> datadog.cws.dumpsv1.ProfileContext.EventTypeStateEntry + 44, // 11: datadog.cws.dumpsv1.NodeBase.seen:type_name -> datadog.cws.dumpsv1.NodeBase.SeenEntry + 5, // 12: datadog.cws.dumpsv1.SecurityProfile.metadata:type_name -> datadog.cws.dumpsv1.Metadata + 18, // 13: datadog.cws.dumpsv1.SecurityProfile.tree:type_name -> datadog.cws.dumpsv1.ProcessActivityNode + 45, // 14: datadog.cws.dumpsv1.SecurityProfile.profile_contexts:type_name -> datadog.cws.dumpsv1.SecurityProfile.ProfileContextsEntry + 12, // 15: datadog.cws.dumpsv1.SecurityProfile.selector:type_name -> datadog.cws.dumpsv1.ProfileSelector + 17, // 16: datadog.cws.dumpsv1.SecurityProfile.mounts:type_name -> datadog.cws.dumpsv1.MountNode + 11, // 17: datadog.cws.dumpsv1.SecurityProfile.security_contexts:type_name -> datadog.cws.dumpsv1.SecurityContextEntry + 15, // 18: datadog.cws.dumpsv1.MountNode.node_base:type_name -> datadog.cws.dumpsv1.NodeBase + 19, // 19: datadog.cws.dumpsv1.ProcessActivityNode.process:type_name -> datadog.cws.dumpsv1.ProcessInfo + 1, // 20: datadog.cws.dumpsv1.ProcessActivityNode.generation_type:type_name -> datadog.cws.dumpsv1.GenerationType + 40, // 21: datadog.cws.dumpsv1.ProcessActivityNode.matched_rules:type_name -> datadog.cws.dumpsv1.MatchedRule + 18, // 22: datadog.cws.dumpsv1.ProcessActivityNode.children:type_name -> datadog.cws.dumpsv1.ProcessActivityNode + 20, // 23: datadog.cws.dumpsv1.ProcessActivityNode.files:type_name -> datadog.cws.dumpsv1.FileActivityNode + 22, // 24: datadog.cws.dumpsv1.ProcessActivityNode.dns_names:type_name -> datadog.cws.dumpsv1.DNSNode + 33, // 25: datadog.cws.dumpsv1.ProcessActivityNode.sockets:type_name -> datadog.cws.dumpsv1.SocketNode + 15, // 26: datadog.cws.dumpsv1.ProcessActivityNode.node_base:type_name -> datadog.cws.dumpsv1.NodeBase + 27, // 27: datadog.cws.dumpsv1.ProcessActivityNode.imds_events:type_name -> datadog.cws.dumpsv1.IMDSNode + 25, // 28: datadog.cws.dumpsv1.ProcessActivityNode.syscall_nodes:type_name -> datadog.cws.dumpsv1.SyscallNode + 36, // 29: datadog.cws.dumpsv1.ProcessActivityNode.network_devices:type_name -> datadog.cws.dumpsv1.NetworkDeviceNode + 26, // 30: datadog.cws.dumpsv1.ProcessActivityNode.capability_nodes:type_name -> datadog.cws.dumpsv1.CapabilityNode + 31, // 31: datadog.cws.dumpsv1.ProcessInfo.file:type_name -> datadog.cws.dumpsv1.FileInfo + 32, // 32: datadog.cws.dumpsv1.ProcessInfo.credentials:type_name -> datadog.cws.dumpsv1.Credentials + 40, // 33: datadog.cws.dumpsv1.FileActivityNode.matched_rules:type_name -> datadog.cws.dumpsv1.MatchedRule + 15, // 34: datadog.cws.dumpsv1.FileActivityNode.node_base:type_name -> datadog.cws.dumpsv1.NodeBase + 31, // 35: datadog.cws.dumpsv1.FileActivityNode.file:type_name -> datadog.cws.dumpsv1.FileInfo + 1, // 36: datadog.cws.dumpsv1.FileActivityNode.generation_type:type_name -> datadog.cws.dumpsv1.GenerationType + 21, // 37: datadog.cws.dumpsv1.FileActivityNode.open:type_name -> datadog.cws.dumpsv1.OpenNode + 20, // 38: datadog.cws.dumpsv1.FileActivityNode.children:type_name -> datadog.cws.dumpsv1.FileActivityNode + 40, // 39: datadog.cws.dumpsv1.DNSNode.matched_rules:type_name -> datadog.cws.dumpsv1.MatchedRule + 15, // 40: datadog.cws.dumpsv1.DNSNode.node_base:type_name -> datadog.cws.dumpsv1.NodeBase + 23, // 41: datadog.cws.dumpsv1.DNSNode.requests:type_name -> datadog.cws.dumpsv1.DNSInfo + 24, // 42: datadog.cws.dumpsv1.DNSInfo.response:type_name -> datadog.cws.dumpsv1.DNSResponseInfo + 15, // 43: datadog.cws.dumpsv1.SyscallNode.node_base:type_name -> datadog.cws.dumpsv1.NodeBase + 15, // 44: datadog.cws.dumpsv1.CapabilityNode.node_base:type_name -> datadog.cws.dumpsv1.NodeBase + 40, // 45: datadog.cws.dumpsv1.IMDSNode.matched_rules:type_name -> datadog.cws.dumpsv1.MatchedRule + 15, // 46: datadog.cws.dumpsv1.IMDSNode.node_base:type_name -> datadog.cws.dumpsv1.NodeBase + 28, // 47: datadog.cws.dumpsv1.IMDSNode.event:type_name -> datadog.cws.dumpsv1.IMDSEvent + 29, // 48: datadog.cws.dumpsv1.IMDSEvent.aws:type_name -> datadog.cws.dumpsv1.AWSIMDSEvent + 30, // 49: datadog.cws.dumpsv1.AWSIMDSEvent.security_credentials:type_name -> datadog.cws.dumpsv1.AWSSecurityCredentials + 0, // 50: datadog.cws.dumpsv1.FileInfo.hash_state:type_name -> datadog.cws.dumpsv1.HashState + 34, // 51: datadog.cws.dumpsv1.SocketNode.bind:type_name -> datadog.cws.dumpsv1.BindNode + 35, // 52: datadog.cws.dumpsv1.SocketNode.connect:type_name -> datadog.cws.dumpsv1.ConnectNode + 40, // 53: datadog.cws.dumpsv1.BindNode.matched_rules:type_name -> datadog.cws.dumpsv1.MatchedRule + 15, // 54: datadog.cws.dumpsv1.BindNode.node_base:type_name -> datadog.cws.dumpsv1.NodeBase + 40, // 55: datadog.cws.dumpsv1.ConnectNode.matched_rules:type_name -> datadog.cws.dumpsv1.MatchedRule + 15, // 56: datadog.cws.dumpsv1.ConnectNode.node_base:type_name -> datadog.cws.dumpsv1.NodeBase + 40, // 57: datadog.cws.dumpsv1.NetworkDeviceNode.matched_rules:type_name -> datadog.cws.dumpsv1.MatchedRule + 37, // 58: datadog.cws.dumpsv1.NetworkDeviceNode.flow_nodes:type_name -> datadog.cws.dumpsv1.FlowNode + 15, // 59: datadog.cws.dumpsv1.FlowNode.node_base:type_name -> datadog.cws.dumpsv1.NodeBase + 38, // 60: datadog.cws.dumpsv1.FlowNode.source:type_name -> datadog.cws.dumpsv1.IPPortContext + 38, // 61: datadog.cws.dumpsv1.FlowNode.destination:type_name -> datadog.cws.dumpsv1.IPPortContext + 39, // 62: datadog.cws.dumpsv1.FlowNode.ingress:type_name -> datadog.cws.dumpsv1.NetworkStats + 39, // 63: datadog.cws.dumpsv1.FlowNode.egress:type_name -> datadog.cws.dumpsv1.NetworkStats + 46, // 64: datadog.cws.dumpsv1.MatchedRule.rule_tags:type_name -> datadog.cws.dumpsv1.MatchedRule.RuleTagsEntry + 2, // 65: datadog.cws.dumpsv1.event_type_state.event_profile_state:type_name -> datadog.cws.dumpsv1.event_profile_state + 8, // 66: datadog.cws.dumpsv1.SeccompFilter.SyscallsEntry.value:type_name -> datadog.cws.dumpsv1.SyscallRule + 41, // 67: datadog.cws.dumpsv1.ProfileContext.EventTypeStateEntry.value:type_name -> datadog.cws.dumpsv1.event_type_state + 14, // 68: datadog.cws.dumpsv1.NodeBase.SeenEntry.value:type_name -> datadog.cws.dumpsv1.ImageTagTimes + 13, // 69: datadog.cws.dumpsv1.SecurityProfile.ProfileContextsEntry.value:type_name -> datadog.cws.dumpsv1.ProfileContext + 70, // [70:70] is the sub-list for method output_type + 70, // [70:70] is the sub-list for method input_type + 70, // [70:70] is the sub-list for extension type_name + 70, // [70:70] is the sub-list for extension extendee + 0, // [0:70] is the sub-list for field type_name } func init() { file_proto_cws_dumpsv1_activity_dump_proto_init() } @@ -3898,7 +4513,7 @@ func file_proto_cws_dumpsv1_activity_dump_proto_init() { } } file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ProfileSelector); i { + switch v := v.(*SeccompProfile); i { case 0: return &v.state case 1: @@ -3910,7 +4525,7 @@ func file_proto_cws_dumpsv1_activity_dump_proto_init() { } } file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ProfileContext); i { + switch v := v.(*SeccompFilter); i { case 0: return &v.state case 1: @@ -3922,7 +4537,7 @@ func file_proto_cws_dumpsv1_activity_dump_proto_init() { } } file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ImageTagTimes); i { + switch v := v.(*SyscallRule); i { case 0: return &v.state case 1: @@ -3934,7 +4549,7 @@ func file_proto_cws_dumpsv1_activity_dump_proto_init() { } } file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NodeBase); i { + switch v := v.(*ArgCondition); i { case 0: return &v.state case 1: @@ -3946,7 +4561,7 @@ func file_proto_cws_dumpsv1_activity_dump_proto_init() { } } file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SecurityProfile); i { + switch v := v.(*SecurityContext); i { case 0: return &v.state case 1: @@ -3958,7 +4573,7 @@ func file_proto_cws_dumpsv1_activity_dump_proto_init() { } } file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MountNode); i { + switch v := v.(*SecurityContextEntry); i { case 0: return &v.state case 1: @@ -3970,7 +4585,7 @@ func file_proto_cws_dumpsv1_activity_dump_proto_init() { } } file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ProcessActivityNode); i { + switch v := v.(*ProfileSelector); i { case 0: return &v.state case 1: @@ -3982,7 +4597,7 @@ func file_proto_cws_dumpsv1_activity_dump_proto_init() { } } file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ProcessInfo); i { + switch v := v.(*ProfileContext); i { case 0: return &v.state case 1: @@ -3994,7 +4609,7 @@ func file_proto_cws_dumpsv1_activity_dump_proto_init() { } } file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FileActivityNode); i { + switch v := v.(*ImageTagTimes); i { case 0: return &v.state case 1: @@ -4006,7 +4621,7 @@ func file_proto_cws_dumpsv1_activity_dump_proto_init() { } } file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*OpenNode); i { + switch v := v.(*NodeBase); i { case 0: return &v.state case 1: @@ -4018,7 +4633,7 @@ func file_proto_cws_dumpsv1_activity_dump_proto_init() { } } file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DNSNode); i { + switch v := v.(*SecurityProfile); i { case 0: return &v.state case 1: @@ -4030,7 +4645,7 @@ func file_proto_cws_dumpsv1_activity_dump_proto_init() { } } file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DNSInfo); i { + switch v := v.(*MountNode); i { case 0: return &v.state case 1: @@ -4042,7 +4657,7 @@ func file_proto_cws_dumpsv1_activity_dump_proto_init() { } } file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DNSResponseInfo); i { + switch v := v.(*ProcessActivityNode); i { case 0: return &v.state case 1: @@ -4054,7 +4669,7 @@ func file_proto_cws_dumpsv1_activity_dump_proto_init() { } } file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SyscallNode); i { + switch v := v.(*ProcessInfo); i { case 0: return &v.state case 1: @@ -4066,7 +4681,7 @@ func file_proto_cws_dumpsv1_activity_dump_proto_init() { } } file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CapabilityNode); i { + switch v := v.(*FileActivityNode); i { case 0: return &v.state case 1: @@ -4078,7 +4693,7 @@ func file_proto_cws_dumpsv1_activity_dump_proto_init() { } } file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IMDSNode); i { + switch v := v.(*OpenNode); i { case 0: return &v.state case 1: @@ -4090,7 +4705,7 @@ func file_proto_cws_dumpsv1_activity_dump_proto_init() { } } file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IMDSEvent); i { + switch v := v.(*DNSNode); i { case 0: return &v.state case 1: @@ -4102,7 +4717,7 @@ func file_proto_cws_dumpsv1_activity_dump_proto_init() { } } file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AWSIMDSEvent); i { + switch v := v.(*DNSInfo); i { case 0: return &v.state case 1: @@ -4114,7 +4729,7 @@ func file_proto_cws_dumpsv1_activity_dump_proto_init() { } } file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AWSSecurityCredentials); i { + switch v := v.(*DNSResponseInfo); i { case 0: return &v.state case 1: @@ -4126,7 +4741,7 @@ func file_proto_cws_dumpsv1_activity_dump_proto_init() { } } file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FileInfo); i { + switch v := v.(*SyscallNode); i { case 0: return &v.state case 1: @@ -4138,7 +4753,7 @@ func file_proto_cws_dumpsv1_activity_dump_proto_init() { } } file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Credentials); i { + switch v := v.(*CapabilityNode); i { case 0: return &v.state case 1: @@ -4150,7 +4765,7 @@ func file_proto_cws_dumpsv1_activity_dump_proto_init() { } } file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SocketNode); i { + switch v := v.(*IMDSNode); i { case 0: return &v.state case 1: @@ -4162,7 +4777,7 @@ func file_proto_cws_dumpsv1_activity_dump_proto_init() { } } file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BindNode); i { + switch v := v.(*IMDSEvent); i { case 0: return &v.state case 1: @@ -4174,7 +4789,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.(*ConnectNode); i { + switch v := v.(*AWSIMDSEvent); i { case 0: return &v.state case 1: @@ -4186,7 +4801,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.(*NetworkDeviceNode); i { + switch v := v.(*AWSSecurityCredentials); i { case 0: return &v.state case 1: @@ -4198,7 +4813,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.(*FlowNode); i { + switch v := v.(*FileInfo); i { case 0: return &v.state case 1: @@ -4210,7 +4825,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.(*IPPortContext); i { + switch v := v.(*Credentials); i { case 0: return &v.state case 1: @@ -4222,7 +4837,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.(*NetworkStats); i { + switch v := v.(*SocketNode); i { case 0: return &v.state case 1: @@ -4234,7 +4849,7 @@ 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 { + switch v := v.(*BindNode); i { case 0: return &v.state case 1: @@ -4246,6 +4861,78 @@ func file_proto_cws_dumpsv1_activity_dump_proto_init() { } } file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ConnectNode); 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[32].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NetworkDeviceNode); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FlowNode); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IPPortContext); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NetworkStats); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[36].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[37].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*EventTypeState); i { case 0: return &v.state @@ -4258,14 +4945,16 @@ func file_proto_cws_dumpsv1_activity_dump_proto_init() { } } } - file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[21].OneofWrappers = []interface{}{} + file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[2].OneofWrappers = []interface{}{} + file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[6].OneofWrappers = []interface{}{} + file_proto_cws_dumpsv1_activity_dump_proto_msgTypes[27].OneofWrappers = []interface{}{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_proto_cws_dumpsv1_activity_dump_proto_rawDesc, - NumEnums: 3, - NumMessages: 36, + NumEnums: 4, + NumMessages: 43, NumExtensions: 0, NumServices: 0, }, diff --git a/cws/dumpsv1/activity_dump_vtproto.pb.go b/cws/dumpsv1/activity_dump_vtproto.pb.go index 254a1be8..996a8163 100644 --- a/cws/dumpsv1/activity_dump_vtproto.pb.go +++ b/cws/dumpsv1/activity_dump_vtproto.pb.go @@ -49,6 +49,18 @@ func (m *SecDump) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } + if len(m.SecurityContexts) > 0 { + for iNdEx := len(m.SecurityContexts) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.SecurityContexts[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x42 + } + } if len(m.Mounts) > 0 { for iNdEx := len(m.Mounts) - 1; iNdEx >= 0; iNdEx-- { size, err := m.Mounts[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) @@ -260,7 +272,7 @@ func (m *Metadata) MarshalToSizedBufferVT(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *ProfileSelector) MarshalVT() (dAtA []byte, err error) { +func (m *SeccompProfile) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -273,12 +285,12 @@ func (m *ProfileSelector) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *ProfileSelector) MarshalToVT(dAtA []byte) (int, error) { +func (m *SeccompProfile) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *ProfileSelector) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *SeccompProfile) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -290,24 +302,32 @@ func (m *ProfileSelector) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if len(m.ImageTag) > 0 { - i -= len(m.ImageTag) - copy(dAtA[i:], m.ImageTag) - i = encodeVarint(dAtA, i, uint64(len(m.ImageTag))) + if m.Filter != nil { + size, err := m.Filter.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x1a + } + if m.LocalhostProfile != nil { + i -= len(*m.LocalhostProfile) + copy(dAtA[i:], *m.LocalhostProfile) + i = encodeVarint(dAtA, i, uint64(len(*m.LocalhostProfile))) i-- dAtA[i] = 0x12 } - if len(m.ImageName) > 0 { - i -= len(m.ImageName) - copy(dAtA[i:], m.ImageName) - i = encodeVarint(dAtA, i, uint64(len(m.ImageName))) + if m.Type != 0 { + i = encodeVarint(dAtA, i, uint64(m.Type)) i-- - dAtA[i] = 0xa + dAtA[i] = 0x8 } return len(dAtA) - i, nil } -func (m *ProfileContext) MarshalVT() (dAtA []byte, err error) { +func (m *SeccompFilter) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -320,12 +340,12 @@ func (m *ProfileContext) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *ProfileContext) MarshalToVT(dAtA []byte) (int, error) { +func (m *SeccompFilter) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *ProfileContext) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *SeccompFilter) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -337,38 +357,9 @@ func (m *ProfileContext) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if len(m.Tags) > 0 { - for iNdEx := len(m.Tags) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.Tags[iNdEx]) - copy(dAtA[i:], m.Tags[iNdEx]) - i = encodeVarint(dAtA, i, uint64(len(m.Tags[iNdEx]))) - i-- - dAtA[i] = 0x2a - } - } if len(m.Syscalls) > 0 { - var pksize2 int - for _, num := range m.Syscalls { - pksize2 += sov(uint64(num)) - } - i -= pksize2 - j1 := i - for _, num := range m.Syscalls { - for num >= 1<<7 { - dAtA[j1] = uint8(uint64(num)&0x7f | 0x80) - num >>= 7 - j1++ - } - dAtA[j1] = uint8(num) - j1++ - } - i = encodeVarint(dAtA, i, uint64(pksize2)) - i-- - dAtA[i] = 0x22 - } - if len(m.EventTypeState) > 0 { - for k := range m.EventTypeState { - v := m.EventTypeState[k] + for k := range m.Syscalls { + v := m.Syscalls[k] baseI := i size, err := v.MarshalToSizedBufferVT(dAtA[:i]) if err != nil { @@ -378,28 +369,27 @@ func (m *ProfileContext) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i = encodeVarint(dAtA, i, uint64(size)) i-- dAtA[i] = 0x12 - i = encodeVarint(dAtA, i, uint64(k)) + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarint(dAtA, i, uint64(len(k))) i-- - dAtA[i] = 0x8 + dAtA[i] = 0xa i = encodeVarint(dAtA, i, uint64(baseI-i)) i-- - dAtA[i] = 0x1a + dAtA[i] = 0x12 } } - if m.LastSeen != 0 { - i = encodeVarint(dAtA, i, uint64(m.LastSeen)) - i-- - dAtA[i] = 0x10 - } - if m.FirstSeen != 0 { - i = encodeVarint(dAtA, i, uint64(m.FirstSeen)) + if len(m.DefaultAction) > 0 { + i -= len(m.DefaultAction) + copy(dAtA[i:], m.DefaultAction) + i = encodeVarint(dAtA, i, uint64(len(m.DefaultAction))) i-- - dAtA[i] = 0x8 + dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *ImageTagTimes) MarshalVT() (dAtA []byte, err error) { +func (m *SyscallRule) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -412,12 +402,12 @@ func (m *ImageTagTimes) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *ImageTagTimes) MarshalToVT(dAtA []byte) (int, error) { +func (m *SyscallRule) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *ImageTagTimes) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *SyscallRule) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -429,20 +419,29 @@ func (m *ImageTagTimes) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if m.LastSeen != 0 { - i = encodeVarint(dAtA, i, uint64(m.LastSeen)) - i-- - dAtA[i] = 0x10 + if len(m.Conditions) > 0 { + for iNdEx := len(m.Conditions) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.Conditions[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + } } - if m.FirstSeen != 0 { - i = encodeVarint(dAtA, i, uint64(m.FirstSeen)) + if len(m.Action) > 0 { + i -= len(m.Action) + copy(dAtA[i:], m.Action) + i = encodeVarint(dAtA, i, uint64(len(m.Action))) i-- - dAtA[i] = 0x8 + dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *NodeBase) MarshalVT() (dAtA []byte, err error) { +func (m *ArgCondition) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -455,12 +454,12 @@ func (m *NodeBase) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *NodeBase) MarshalToVT(dAtA []byte) (int, error) { +func (m *ArgCondition) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *NodeBase) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *ArgCondition) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -472,32 +471,34 @@ func (m *NodeBase) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if len(m.Seen) > 0 { - for k := range m.Seen { - v := m.Seen[k] - baseI := i - size, err := v.MarshalToSizedBufferVT(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarint(dAtA, i, uint64(size)) - i-- - dAtA[i] = 0x12 - i -= len(k) - copy(dAtA[i:], k) - i = encodeVarint(dAtA, i, uint64(len(k))) - i-- - dAtA[i] = 0xa - i = encodeVarint(dAtA, i, uint64(baseI-i)) - i-- - dAtA[i] = 0xa - } + if len(m.Action) > 0 { + i -= len(m.Action) + copy(dAtA[i:], m.Action) + i = encodeVarint(dAtA, i, uint64(len(m.Action))) + i-- + dAtA[i] = 0x22 + } + if m.Value != 0 { + i = encodeVarint(dAtA, i, uint64(m.Value)) + i-- + dAtA[i] = 0x18 + } + if len(m.Op) > 0 { + i -= len(m.Op) + copy(dAtA[i:], m.Op) + i = encodeVarint(dAtA, i, uint64(len(m.Op))) + i-- + dAtA[i] = 0x12 + } + if m.ArgIndex != 0 { + i = encodeVarint(dAtA, i, uint64(m.ArgIndex)) + i-- + dAtA[i] = 0x8 } return len(dAtA) - i, nil } -func (m *SecurityProfile) MarshalVT() (dAtA []byte, err error) { +func (m *SecurityContext) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -510,12 +511,12 @@ func (m *SecurityProfile) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *SecurityProfile) MarshalToVT(dAtA []byte) (int, error) { +func (m *SecurityContext) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *SecurityProfile) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *SecurityContext) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -527,127 +528,78 @@ func (m *SecurityProfile) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if len(m.Mounts) > 0 { - for iNdEx := len(m.Mounts) - 1; iNdEx >= 0; iNdEx-- { - size, err := m.Mounts[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarint(dAtA, i, uint64(size)) - i-- - dAtA[i] = 0x52 - } - } - if m.Disabled { + if m.ReadOnlyRootFilesystem != nil { i-- - if m.Disabled { + if *m.ReadOnlyRootFilesystem { dAtA[i] = 1 } else { dAtA[i] = 0 } i-- - dAtA[i] = 0x48 + dAtA[i] = 0x38 } - if m.Selector != nil { - size, err := m.Selector.MarshalToSizedBufferVT(dAtA[:i]) - if err != nil { - return 0, err + if m.AllowPrivilegeEscalation != nil { + i-- + if *m.AllowPrivilegeEscalation { + dAtA[i] = 1 + } else { + dAtA[i] = 0 } - i -= size - i = encodeVarint(dAtA, i, uint64(size)) i-- - dAtA[i] = 0x42 + dAtA[i] = 0x30 } - if len(m.ProfileContexts) > 0 { - for k := range m.ProfileContexts { - v := m.ProfileContexts[k] - baseI := i - size, err := v.MarshalToSizedBufferVT(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarint(dAtA, i, uint64(size)) - i-- - dAtA[i] = 0x12 - i -= len(k) - copy(dAtA[i:], k) - i = encodeVarint(dAtA, i, uint64(len(k))) - i-- - dAtA[i] = 0xa - i = encodeVarint(dAtA, i, uint64(baseI-i)) - i-- - dAtA[i] = 0x3a + if m.RunAsNonRoot != nil { + i-- + if *m.RunAsNonRoot { + dAtA[i] = 1 + } else { + dAtA[i] = 0 } + i-- + dAtA[i] = 0x28 } - if len(m.Tree) > 0 { - for iNdEx := len(m.Tree) - 1; iNdEx >= 0; iNdEx-- { - size, err := m.Tree[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarint(dAtA, i, uint64(size)) + if len(m.CapabilitiesDrop) > 0 { + for iNdEx := len(m.CapabilitiesDrop) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.CapabilitiesDrop[iNdEx]) + copy(dAtA[i:], m.CapabilitiesDrop[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.CapabilitiesDrop[iNdEx]))) i-- - dAtA[i] = 0x32 - } - } - if len(m.Syscalls) > 0 { - var pksize2 int - for _, num := range m.Syscalls { - pksize2 += sov(uint64(num)) - } - i -= pksize2 - j1 := i - for _, num := range m.Syscalls { - for num >= 1<<7 { - dAtA[j1] = uint8(uint64(num)&0x7f | 0x80) - num >>= 7 - j1++ - } - dAtA[j1] = uint8(num) - j1++ + dAtA[i] = 0x22 } - i = encodeVarint(dAtA, i, uint64(pksize2)) - i-- - dAtA[i] = 0x2a } - if len(m.Tags) > 0 { - for iNdEx := len(m.Tags) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.Tags[iNdEx]) - copy(dAtA[i:], m.Tags[iNdEx]) - i = encodeVarint(dAtA, i, uint64(len(m.Tags[iNdEx]))) + if len(m.CapabilitiesAdd) > 0 { + for iNdEx := len(m.CapabilitiesAdd) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.CapabilitiesAdd[iNdEx]) + copy(dAtA[i:], m.CapabilitiesAdd[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.CapabilitiesAdd[iNdEx]))) i-- - dAtA[i] = 0x22 + dAtA[i] = 0x1a } } - if m.Metadata != nil { - size, err := m.Metadata.MarshalToSizedBufferVT(dAtA[:i]) + if m.Seccomp != nil { + size, err := m.Seccomp.MarshalToSizedBufferVT(dAtA[:i]) if err != nil { return 0, err } i -= size i = encodeVarint(dAtA, i, uint64(size)) i-- - dAtA[i] = 0x1a - } - if len(m.Version) > 0 { - i -= len(m.Version) - copy(dAtA[i:], m.Version) - i = encodeVarint(dAtA, i, uint64(len(m.Version))) - i-- dAtA[i] = 0x12 } - if m.Status != 0 { - i = encodeVarint(dAtA, i, uint64(m.Status)) + if m.Privileged { + i-- + if m.Privileged { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } i-- dAtA[i] = 0x8 } return len(dAtA) - i, nil } -func (m *MountNode) MarshalVT() (dAtA []byte, err error) { +func (m *SecurityContextEntry) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -660,12 +612,12 @@ func (m *MountNode) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *MountNode) MarshalToVT(dAtA []byte) (int, error) { +func (m *SecurityContextEntry) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *MountNode) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *SecurityContextEntry) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -677,56 +629,48 @@ func (m *MountNode) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if m.BaseNamespace { + if m.SecurityContext != nil { + size, err := m.SecurityContext.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) i-- - if m.BaseNamespace { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x30 - } - if m.MountFlags != 0 { - i = encodeVarint(dAtA, i, uint64(m.MountFlags)) - i-- - dAtA[i] = 0x28 + dAtA[i] = 0x2a } - if len(m.Filesystem) > 0 { - i -= len(m.Filesystem) - copy(dAtA[i:], m.Filesystem) - i = encodeVarint(dAtA, i, uint64(len(m.Filesystem))) + if len(m.ContainerName) > 0 { + i -= len(m.ContainerName) + copy(dAtA[i:], m.ContainerName) + i = encodeVarint(dAtA, i, uint64(len(m.ContainerName))) i-- dAtA[i] = 0x22 } - if len(m.MountRoot) > 0 { - i -= len(m.MountRoot) - copy(dAtA[i:], m.MountRoot) - i = encodeVarint(dAtA, i, uint64(len(m.MountRoot))) + if len(m.OwnerName) > 0 { + i -= len(m.OwnerName) + copy(dAtA[i:], m.OwnerName) + i = encodeVarint(dAtA, i, uint64(len(m.OwnerName))) i-- dAtA[i] = 0x1a } - if len(m.MountPoint) > 0 { - i -= len(m.MountPoint) - copy(dAtA[i:], m.MountPoint) - i = encodeVarint(dAtA, i, uint64(len(m.MountPoint))) + if len(m.OwnerKind) > 0 { + i -= len(m.OwnerKind) + copy(dAtA[i:], m.OwnerKind) + i = encodeVarint(dAtA, i, uint64(len(m.OwnerKind))) i-- dAtA[i] = 0x12 } - 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)) + if len(m.Namespace) > 0 { + i -= len(m.Namespace) + copy(dAtA[i:], m.Namespace) + i = encodeVarint(dAtA, i, uint64(len(m.Namespace))) i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *ProcessActivityNode) MarshalVT() (dAtA []byte, err error) { +func (m *ProfileSelector) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -739,12 +683,12 @@ func (m *ProcessActivityNode) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *ProcessActivityNode) MarshalToVT(dAtA []byte) (int, error) { +func (m *ProfileSelector) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *ProcessActivityNode) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *ProfileSelector) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -756,90 +700,62 @@ func (m *ProcessActivityNode) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if len(m.CapabilityNodes) > 0 { - for iNdEx := len(m.CapabilityNodes) - 1; iNdEx >= 0; iNdEx-- { - size, err := m.CapabilityNodes[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarint(dAtA, i, uint64(size)) - i-- - dAtA[i] = 0x7a - } + if len(m.ImageTag) > 0 { + i -= len(m.ImageTag) + copy(dAtA[i:], m.ImageTag) + i = encodeVarint(dAtA, i, uint64(len(m.ImageTag))) + i-- + dAtA[i] = 0x12 } - 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)) + if len(m.ImageName) > 0 { + i -= len(m.ImageName) + copy(dAtA[i:], m.ImageName) + i = encodeVarint(dAtA, i, uint64(len(m.ImageName))) i-- - dAtA[i] = 0x72 + dAtA[i] = 0xa } - if len(m.NetworkDevices) > 0 { - for iNdEx := len(m.NetworkDevices) - 1; iNdEx >= 0; iNdEx-- { - size, err := m.NetworkDevices[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarint(dAtA, i, uint64(size)) - i-- - dAtA[i] = 0x6a - } + return len(dAtA) - i, nil +} + +func (m *ProfileContext) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil } - if len(m.SyscallNodes) > 0 { - for iNdEx := len(m.SyscallNodes) - 1; iNdEx >= 0; iNdEx-- { - size, err := m.SyscallNodes[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarint(dAtA, i, uint64(size)) - i-- - dAtA[i] = 0x62 - } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err } - if len(m.ImdsEvents) > 0 { - for iNdEx := len(m.ImdsEvents) - 1; iNdEx >= 0; iNdEx-- { - size, err := m.ImdsEvents[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarint(dAtA, i, uint64(size)) - i-- - dAtA[i] = 0x5a - } + return dAtA[:n], nil +} + +func (m *ProfileContext) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ProfileContext) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil } - if len(m.ImageTags) > 0 { - for iNdEx := len(m.ImageTags) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.ImageTags[iNdEx]) - copy(dAtA[i:], m.ImageTags[iNdEx]) - i = encodeVarint(dAtA, i, uint64(len(m.ImageTags[iNdEx]))) - i-- - dAtA[i] = 0x52 - } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) } - 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)) + if len(m.Tags) > 0 { + for iNdEx := len(m.Tags) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Tags[iNdEx]) + copy(dAtA[i:], m.Tags[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.Tags[iNdEx]))) i-- - dAtA[i] = 0x4a + dAtA[i] = 0x2a } } - if m.GenerationType != 0 { - i = encodeVarint(dAtA, i, uint64(m.GenerationType)) - i-- - dAtA[i] = 0x40 - } if len(m.Syscalls) > 0 { var pksize2 int for _, num := range m.Syscalls { @@ -858,70 +774,42 @@ func (m *ProcessActivityNode) MarshalToSizedBufferVT(dAtA []byte) (int, error) { } i = encodeVarint(dAtA, i, uint64(pksize2)) i-- - dAtA[i] = 0x3a - } - if len(m.Sockets) > 0 { - for iNdEx := len(m.Sockets) - 1; iNdEx >= 0; iNdEx-- { - size, err := m.Sockets[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarint(dAtA, i, uint64(size)) - i-- - dAtA[i] = 0x32 - } + dAtA[i] = 0x22 } - if len(m.DnsNames) > 0 { - for iNdEx := len(m.DnsNames) - 1; iNdEx >= 0; iNdEx-- { - size, err := m.DnsNames[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if len(m.EventTypeState) > 0 { + for k := range m.EventTypeState { + v := m.EventTypeState[k] + baseI := i + size, err := v.MarshalToSizedBufferVT(dAtA[:i]) if err != nil { return 0, err } i -= size i = encodeVarint(dAtA, i, uint64(size)) i-- - dAtA[i] = 0x2a - } - } - if len(m.Files) > 0 { - for iNdEx := len(m.Files) - 1; iNdEx >= 0; iNdEx-- { - size, err := m.Files[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarint(dAtA, i, uint64(size)) + dAtA[i] = 0x12 + i = encodeVarint(dAtA, i, uint64(k)) i-- - dAtA[i] = 0x22 - } - } - if len(m.Children) > 0 { - for iNdEx := len(m.Children) - 1; iNdEx >= 0; iNdEx-- { - size, err := m.Children[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarint(dAtA, i, uint64(size)) + dAtA[i] = 0x8 + i = encodeVarint(dAtA, i, uint64(baseI-i)) i-- dAtA[i] = 0x1a } } - if m.Process != nil { - size, err := m.Process.MarshalToSizedBufferVT(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarint(dAtA, i, uint64(size)) + if m.LastSeen != 0 { + i = encodeVarint(dAtA, i, uint64(m.LastSeen)) i-- - dAtA[i] = 0xa + dAtA[i] = 0x10 + } + if m.FirstSeen != 0 { + i = encodeVarint(dAtA, i, uint64(m.FirstSeen)) + i-- + dAtA[i] = 0x8 } return len(dAtA) - i, nil } -func (m *ProcessInfo) MarshalVT() (dAtA []byte, err error) { +func (m *ImageTagTimes) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -934,12 +822,12 @@ func (m *ProcessInfo) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *ProcessInfo) MarshalToVT(dAtA []byte) (int, error) { +func (m *ImageTagTimes) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *ProcessInfo) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *ImageTagTimes) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -951,180 +839,20 @@ func (m *ProcessInfo) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if m.Cookie64 != 0 { - i = encodeVarint(dAtA, i, uint64(m.Cookie64)) - i-- - dAtA[i] = 0x1 + if m.LastSeen != 0 { + i = encodeVarint(dAtA, i, uint64(m.LastSeen)) i-- - dAtA[i] = 0xb0 + dAtA[i] = 0x10 } - if m.IsExecChild { - i-- - if m.IsExecChild { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x1 + if m.FirstSeen != 0 { + i = encodeVarint(dAtA, i, uint64(m.FirstSeen)) i-- - dAtA[i] = 0xa8 - } - if m.EnvsTruncated { - i-- - if m.EnvsTruncated { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0xa0 - } - if len(m.Envs) > 0 { - for iNdEx := len(m.Envs) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.Envs[iNdEx]) - copy(dAtA[i:], m.Envs[iNdEx]) - i = encodeVarint(dAtA, i, uint64(len(m.Envs[iNdEx]))) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0x9a - } - } - if m.ArgsTruncated { - i-- - if m.ArgsTruncated { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0x90 - } - if len(m.Argv0) > 0 { - i -= len(m.Argv0) - copy(dAtA[i:], m.Argv0) - i = encodeVarint(dAtA, i, uint64(len(m.Argv0))) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0x8a - } - if len(m.Args) > 0 { - for iNdEx := len(m.Args) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.Args[iNdEx]) - copy(dAtA[i:], m.Args[iNdEx]) - i = encodeVarint(dAtA, i, uint64(len(m.Args[iNdEx]))) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0x82 - } - } - if m.Credentials != nil { - size, err := m.Credentials.MarshalToSizedBufferVT(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarint(dAtA, i, uint64(size)) - i-- - dAtA[i] = 0x7a - } - if m.ExecTime != 0 { - i = encodeVarint(dAtA, i, uint64(m.ExecTime)) - i-- - dAtA[i] = 0x70 - } - if m.ExitTime != 0 { - i = encodeVarint(dAtA, i, uint64(m.ExitTime)) - i-- - dAtA[i] = 0x68 - } - if m.ForkTime != 0 { - i = encodeVarint(dAtA, i, uint64(m.ForkTime)) - i-- - dAtA[i] = 0x60 - } - if len(m.Comm) > 0 { - i -= len(m.Comm) - copy(dAtA[i:], m.Comm) - i = encodeVarint(dAtA, i, uint64(len(m.Comm))) - i-- - dAtA[i] = 0x5a - } - if len(m.Tty) > 0 { - i -= len(m.Tty) - copy(dAtA[i:], m.Tty) - i = encodeVarint(dAtA, i, uint64(len(m.Tty))) - i-- - dAtA[i] = 0x52 - } - if m.TraceId != 0 { - i = encodeVarint(dAtA, i, uint64(m.TraceId)) - i-- - dAtA[i] = 0x48 - } - if m.SpanId != 0 { - i = encodeVarint(dAtA, i, uint64(m.SpanId)) - i-- - dAtA[i] = 0x40 - } - if len(m.ContainerId) > 0 { - i -= len(m.ContainerId) - copy(dAtA[i:], m.ContainerId) - i = encodeVarint(dAtA, i, uint64(len(m.ContainerId))) - i-- - dAtA[i] = 0x3a - } - if m.File != nil { - size, err := m.File.MarshalToSizedBufferVT(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarint(dAtA, i, uint64(size)) - i-- - dAtA[i] = 0x32 - } - if m.IsThread { - i-- - if m.IsThread { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x28 - } - if m.Cookie != 0 { - i = encodeVarint(dAtA, i, uint64(m.Cookie)) - i-- - dAtA[i] = 0x20 - } - if m.Ppid != 0 { - i = encodeVarint(dAtA, i, uint64(m.Ppid)) - i-- - dAtA[i] = 0x18 - } - if m.Tid != 0 { - i = encodeVarint(dAtA, i, uint64(m.Tid)) - i-- - dAtA[i] = 0x10 - } - if m.Pid != 0 { - i = encodeVarint(dAtA, i, uint64(m.Pid)) - i-- - dAtA[i] = 0x8 + dAtA[i] = 0x8 } return len(dAtA) - i, nil } -func (m *FileActivityNode) MarshalVT() (dAtA []byte, err error) { +func (m *NodeBase) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -1137,12 +865,12 @@ func (m *FileActivityNode) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *FileActivityNode) MarshalToVT(dAtA []byte) (int, error) { +func (m *NodeBase) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *FileActivityNode) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *NodeBase) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -1154,100 +882,32 @@ func (m *FileActivityNode) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - 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] = 0x5a - } - if len(m.ImageTags) > 0 { - for iNdEx := len(m.ImageTags) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.ImageTags[iNdEx]) - copy(dAtA[i:], m.ImageTags[iNdEx]) - i = encodeVarint(dAtA, i, uint64(len(m.ImageTags[iNdEx]))) - i-- - dAtA[i] = 0x52 - } - } - if len(m.MatchedRules) > 0 { - for iNdEx := len(m.MatchedRules) - 1; iNdEx >= 0; iNdEx-- { - size, err := m.MatchedRules[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if len(m.Seen) > 0 { + for k := range m.Seen { + v := m.Seen[k] + baseI := i + size, err := v.MarshalToSizedBufferVT(dAtA[:i]) if err != nil { return 0, err } i -= size i = encodeVarint(dAtA, i, uint64(size)) i-- - dAtA[i] = 0x4a - } - } - if m.GenerationType != 0 { - i = encodeVarint(dAtA, i, uint64(m.GenerationType)) - i-- - dAtA[i] = 0x40 - } - if m.IsPattern { - i-- - if m.IsPattern { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x38 - } - if len(m.Children) > 0 { - for iNdEx := len(m.Children) - 1; iNdEx >= 0; iNdEx-- { - size, err := m.Children[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarint(dAtA, i, uint64(size)) + dAtA[i] = 0x12 + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarint(dAtA, i, uint64(len(k))) i-- - dAtA[i] = 0x32 - } - } - if m.Open != nil { - size, err := m.Open.MarshalToSizedBufferVT(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarint(dAtA, i, uint64(size)) - i-- - dAtA[i] = 0x2a - } - if m.FirstSeen != 0 { - i = encodeVarint(dAtA, i, uint64(m.FirstSeen)) - i-- - dAtA[i] = 0x20 - } - if m.File != nil { - size, err := m.File.MarshalToSizedBufferVT(dAtA[:i]) - if err != nil { - return 0, err + dAtA[i] = 0xa + i = encodeVarint(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0xa } - i -= size - i = encodeVarint(dAtA, i, uint64(size)) - i-- - dAtA[i] = 0x12 - } - if len(m.Name) > 0 { - i -= len(m.Name) - copy(dAtA[i:], m.Name) - i = encodeVarint(dAtA, i, uint64(len(m.Name))) - i-- - dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *OpenNode) MarshalVT() (dAtA []byte, err error) { +func (m *SecurityProfile) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -1260,12 +920,12 @@ func (m *OpenNode) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *OpenNode) MarshalToVT(dAtA []byte) (int, error) { +func (m *SecurityProfile) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *OpenNode) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *SecurityProfile) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -1277,76 +937,55 @@ func (m *OpenNode) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if m.Mode != 0 { - i = encodeVarint(dAtA, i, uint64(m.Mode)) - i-- - dAtA[i] = 0x18 - } - if m.Flags != 0 { - i = encodeVarint(dAtA, i, uint64(m.Flags)) - i-- - dAtA[i] = 0x10 - } - if m.Retval != 0 { - i = encodeVarint(dAtA, i, uint64((uint64(m.Retval)<<1)^uint64((m.Retval>>63)))) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *DNSNode) 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 + if len(m.SecurityContexts) > 0 { + for iNdEx := len(m.SecurityContexts) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.SecurityContexts[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x5a + } } - return dAtA[:n], nil -} - -func (m *DNSNode) MarshalToVT(dAtA []byte) (int, error) { - size := m.SizeVT() - return m.MarshalToSizedBufferVT(dAtA[:size]) -} - -func (m *DNSNode) MarshalToSizedBufferVT(dAtA []byte) (int, error) { - if m == nil { - return 0, nil + if len(m.Mounts) > 0 { + for iNdEx := len(m.Mounts) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.Mounts[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x52 + } } - i := len(dAtA) - _ = i - var l int - _ = l - if m.unknownFields != nil { - i -= len(m.unknownFields) - copy(dAtA[i:], m.unknownFields) + if m.Disabled { + i-- + if m.Disabled { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x48 } - if m.NodeBase != nil { - size, err := m.NodeBase.MarshalToSizedBufferVT(dAtA[:i]) + if m.Selector != nil { + size, err := m.Selector.MarshalToSizedBufferVT(dAtA[:i]) if err != nil { return 0, err } i -= size i = encodeVarint(dAtA, i, uint64(size)) i-- - dAtA[i] = 0x22 - } - if len(m.ImageTags) > 0 { - for iNdEx := len(m.ImageTags) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.ImageTags[iNdEx]) - copy(dAtA[i:], m.ImageTags[iNdEx]) - i = encodeVarint(dAtA, i, uint64(len(m.ImageTags[iNdEx]))) - i-- - dAtA[i] = 0x1a - } + dAtA[i] = 0x42 } - if len(m.MatchedRules) > 0 { - for iNdEx := len(m.MatchedRules) - 1; iNdEx >= 0; iNdEx-- { - size, err := m.MatchedRules[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if len(m.ProfileContexts) > 0 { + for k := range m.ProfileContexts { + v := m.ProfileContexts[k] + baseI := i + size, err := v.MarshalToSizedBufferVT(dAtA[:i]) if err != nil { return 0, err } @@ -1354,24 +993,83 @@ func (m *DNSNode) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i = encodeVarint(dAtA, i, uint64(size)) i-- dAtA[i] = 0x12 + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarint(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarint(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0x3a } } - if len(m.Requests) > 0 { - for iNdEx := len(m.Requests) - 1; iNdEx >= 0; iNdEx-- { - size, err := m.Requests[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if len(m.Tree) > 0 { + for iNdEx := len(m.Tree) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.Tree[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) if err != nil { return 0, err } i -= size i = encodeVarint(dAtA, i, uint64(size)) i-- - dAtA[i] = 0xa + dAtA[i] = 0x32 + } + } + if len(m.Syscalls) > 0 { + var pksize2 int + for _, num := range m.Syscalls { + pksize2 += sov(uint64(num)) + } + i -= pksize2 + j1 := i + for _, num := range m.Syscalls { + for num >= 1<<7 { + dAtA[j1] = uint8(uint64(num)&0x7f | 0x80) + num >>= 7 + j1++ + } + dAtA[j1] = uint8(num) + j1++ + } + i = encodeVarint(dAtA, i, uint64(pksize2)) + i-- + dAtA[i] = 0x2a + } + if len(m.Tags) > 0 { + for iNdEx := len(m.Tags) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Tags[iNdEx]) + copy(dAtA[i:], m.Tags[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.Tags[iNdEx]))) + i-- + dAtA[i] = 0x22 + } + } + if m.Metadata != nil { + size, err := m.Metadata.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x1a + } + if len(m.Version) > 0 { + i -= len(m.Version) + copy(dAtA[i:], m.Version) + i = encodeVarint(dAtA, i, uint64(len(m.Version))) + i-- + dAtA[i] = 0x12 + } + if m.Status != 0 { + i = encodeVarint(dAtA, i, uint64(m.Status)) + i-- + dAtA[i] = 0x8 } return len(dAtA) - i, nil } -func (m *DNSInfo) MarshalVT() (dAtA []byte, err error) { +func (m *MountNode) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -1384,12 +1082,12 @@ func (m *DNSInfo) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *DNSInfo) MarshalToVT(dAtA []byte) (int, error) { +func (m *MountNode) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *DNSInfo) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *MountNode) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -1401,47 +1099,56 @@ func (m *DNSInfo) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if m.Response != nil { - size, err := m.Response.MarshalToSizedBufferVT(dAtA[:i]) - if err != nil { - return 0, err + if m.BaseNamespace { + i-- + if m.BaseNamespace { + dAtA[i] = 1 + } else { + dAtA[i] = 0 } - i -= size - i = encodeVarint(dAtA, i, uint64(size)) i-- - dAtA[i] = 0x32 + dAtA[i] = 0x30 } - if m.Count != 0 { - i = encodeVarint(dAtA, i, uint64(m.Count)) + if m.MountFlags != 0 { + i = encodeVarint(dAtA, i, uint64(m.MountFlags)) i-- dAtA[i] = 0x28 } - if m.Size != 0 { - i = encodeVarint(dAtA, i, uint64(m.Size)) + if len(m.Filesystem) > 0 { + i -= len(m.Filesystem) + copy(dAtA[i:], m.Filesystem) + i = encodeVarint(dAtA, i, uint64(len(m.Filesystem))) i-- - dAtA[i] = 0x20 + dAtA[i] = 0x22 } - if m.Class != 0 { - i = encodeVarint(dAtA, i, uint64(m.Class)) + if len(m.MountRoot) > 0 { + i -= len(m.MountRoot) + copy(dAtA[i:], m.MountRoot) + i = encodeVarint(dAtA, i, uint64(len(m.MountRoot))) i-- - dAtA[i] = 0x18 + dAtA[i] = 0x1a } - if m.Type != 0 { - i = encodeVarint(dAtA, i, uint64(m.Type)) + if len(m.MountPoint) > 0 { + i -= len(m.MountPoint) + copy(dAtA[i:], m.MountPoint) + i = encodeVarint(dAtA, i, uint64(len(m.MountPoint))) i-- - dAtA[i] = 0x10 + dAtA[i] = 0x12 } - if len(m.Name) > 0 { - i -= len(m.Name) - copy(dAtA[i:], m.Name) - i = encodeVarint(dAtA, i, uint64(len(m.Name))) + 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] = 0xa } return len(dAtA) - i, nil } -func (m *DNSResponseInfo) MarshalVT() (dAtA []byte, err error) { +func (m *ProcessActivityNode) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -1454,12 +1161,12 @@ func (m *DNSResponseInfo) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *DNSResponseInfo) MarshalToVT(dAtA []byte) (int, error) { +func (m *ProcessActivityNode) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *DNSResponseInfo) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *ProcessActivityNode) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -1471,71 +1178,63 @@ func (m *DNSResponseInfo) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if len(m.Cnames) > 0 { - for iNdEx := len(m.Cnames) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.Cnames[iNdEx]) - copy(dAtA[i:], m.Cnames[iNdEx]) - i = encodeVarint(dAtA, i, uint64(len(m.Cnames[iNdEx]))) + if len(m.CapabilityNodes) > 0 { + for iNdEx := len(m.CapabilityNodes) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.CapabilityNodes[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) i-- - dAtA[i] = 0x12 + dAtA[i] = 0x7a } } - if len(m.Ips) > 0 { - for iNdEx := len(m.Ips) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.Ips[iNdEx]) - copy(dAtA[i:], m.Ips[iNdEx]) - i = encodeVarint(dAtA, i, uint64(len(m.Ips[iNdEx]))) - i-- - dAtA[i] = 0xa + 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] = 0x72 } - return len(dAtA) - i, nil -} - -func (m *SyscallNode) MarshalVT() (dAtA []byte, err error) { - if m == nil { - return nil, nil - } - size := m.SizeVT() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBufferVT(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *SyscallNode) MarshalToVT(dAtA []byte) (int, error) { - size := m.SizeVT() - return m.MarshalToSizedBufferVT(dAtA[:size]) -} - -func (m *SyscallNode) MarshalToSizedBufferVT(dAtA []byte) (int, error) { - if m == nil { - return 0, nil - } - i := len(dAtA) - _ = i - var l int - _ = l - if m.unknownFields != nil { - i -= len(m.unknownFields) - copy(dAtA[i:], m.unknownFields) + if len(m.NetworkDevices) > 0 { + for iNdEx := len(m.NetworkDevices) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.NetworkDevices[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x6a + } } - if m.NodeBase != nil { - size, err := m.NodeBase.MarshalToSizedBufferVT(dAtA[:i]) - if err != nil { - return 0, err + if len(m.SyscallNodes) > 0 { + for iNdEx := len(m.SyscallNodes) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.SyscallNodes[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x62 } - i -= size - i = encodeVarint(dAtA, i, uint64(size)) - i-- - dAtA[i] = 0x1a } - if m.Syscall != 0 { - i = encodeVarint(dAtA, i, uint64(m.Syscall)) - i-- - dAtA[i] = 0x10 + if len(m.ImdsEvents) > 0 { + for iNdEx := len(m.ImdsEvents) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.ImdsEvents[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x5a + } } if len(m.ImageTags) > 0 { for iNdEx := len(m.ImageTags) - 1; iNdEx >= 0; iNdEx-- { @@ -1543,59 +1242,96 @@ func (m *SyscallNode) MarshalToSizedBufferVT(dAtA []byte) (int, error) { copy(dAtA[i:], m.ImageTags[iNdEx]) i = encodeVarint(dAtA, i, uint64(len(m.ImageTags[iNdEx]))) i-- - dAtA[i] = 0xa + dAtA[i] = 0x52 } } - return len(dAtA) - i, nil -} - -func (m *CapabilityNode) MarshalVT() (dAtA []byte, err error) { - if m == nil { - return nil, nil + 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] = 0x4a + } } - size := m.SizeVT() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBufferVT(dAtA[:size]) - if err != nil { - return nil, err + if m.GenerationType != 0 { + i = encodeVarint(dAtA, i, uint64(m.GenerationType)) + i-- + dAtA[i] = 0x40 } - return dAtA[:n], nil -} - -func (m *CapabilityNode) MarshalToVT(dAtA []byte) (int, error) { - size := m.SizeVT() - return m.MarshalToSizedBufferVT(dAtA[:size]) -} - -func (m *CapabilityNode) MarshalToSizedBufferVT(dAtA []byte) (int, error) { - if m == nil { - return 0, nil + if len(m.Syscalls) > 0 { + var pksize2 int + for _, num := range m.Syscalls { + pksize2 += sov(uint64(num)) + } + i -= pksize2 + j1 := i + for _, num := range m.Syscalls { + for num >= 1<<7 { + dAtA[j1] = uint8(uint64(num)&0x7f | 0x80) + num >>= 7 + j1++ + } + dAtA[j1] = uint8(num) + j1++ + } + i = encodeVarint(dAtA, i, uint64(pksize2)) + i-- + dAtA[i] = 0x3a } - i := len(dAtA) - _ = i - var l int - _ = l - if m.unknownFields != nil { - i -= len(m.unknownFields) - copy(dAtA[i:], m.unknownFields) + if len(m.Sockets) > 0 { + for iNdEx := len(m.Sockets) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.Sockets[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x32 + } } - if m.IsCapable { - i-- - if m.IsCapable { - dAtA[i] = 1 - } else { - dAtA[i] = 0 + if len(m.DnsNames) > 0 { + for iNdEx := len(m.DnsNames) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.DnsNames[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x2a } - i-- - dAtA[i] = 0x18 } - if m.Capability != 0 { - i = encodeVarint(dAtA, i, uint64(m.Capability)) - i-- - dAtA[i] = 0x10 + if len(m.Files) > 0 { + for iNdEx := len(m.Files) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.Files[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x22 + } } - if m.NodeBase != nil { - size, err := m.NodeBase.MarshalToSizedBufferVT(dAtA[:i]) + if len(m.Children) > 0 { + for iNdEx := len(m.Children) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.Children[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x1a + } + } + if m.Process != nil { + size, err := m.Process.MarshalToSizedBufferVT(dAtA[:i]) if err != nil { return 0, err } @@ -1607,7 +1343,7 @@ func (m *CapabilityNode) MarshalToSizedBufferVT(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *IMDSNode) MarshalVT() (dAtA []byte, err error) { +func (m *ProcessInfo) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -1620,12 +1356,12 @@ func (m *IMDSNode) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *IMDSNode) MarshalToVT(dAtA []byte) (int, error) { +func (m *ProcessInfo) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *IMDSNode) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *ProcessInfo) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -1637,51 +1373,180 @@ func (m *IMDSNode) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if m.NodeBase != nil { - size, err := m.NodeBase.MarshalToSizedBufferVT(dAtA[:i]) - if err != nil { - return 0, err + if m.Cookie64 != 0 { + i = encodeVarint(dAtA, i, uint64(m.Cookie64)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xb0 + } + if m.IsExecChild { + i-- + if m.IsExecChild { + dAtA[i] = 1 + } else { + dAtA[i] = 0 } - i -= size - i = encodeVarint(dAtA, i, uint64(size)) i-- - dAtA[i] = 0x22 + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xa8 } - if m.Event != nil { - size, err := m.Event.MarshalToSizedBufferVT(dAtA[:i]) - if err != nil { - return 0, err + if m.EnvsTruncated { + i-- + if m.EnvsTruncated { + dAtA[i] = 1 + } else { + dAtA[i] = 0 } - i -= size - i = encodeVarint(dAtA, i, uint64(size)) i-- - dAtA[i] = 0x1a + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xa0 } - if len(m.ImageTags) > 0 { - for iNdEx := len(m.ImageTags) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.ImageTags[iNdEx]) - copy(dAtA[i:], m.ImageTags[iNdEx]) - i = encodeVarint(dAtA, i, uint64(len(m.ImageTags[iNdEx]))) + if len(m.Envs) > 0 { + for iNdEx := len(m.Envs) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Envs[iNdEx]) + copy(dAtA[i:], m.Envs[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.Envs[iNdEx]))) i-- - dAtA[i] = 0x12 + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x9a } } - 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)) + if m.ArgsTruncated { + i-- + if m.ArgsTruncated { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x90 + } + if len(m.Argv0) > 0 { + i -= len(m.Argv0) + copy(dAtA[i:], m.Argv0) + i = encodeVarint(dAtA, i, uint64(len(m.Argv0))) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x8a + } + if len(m.Args) > 0 { + for iNdEx := len(m.Args) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Args[iNdEx]) + copy(dAtA[i:], m.Args[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.Args[iNdEx]))) i-- - dAtA[i] = 0xa + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x82 + } + } + if m.Credentials != nil { + size, err := m.Credentials.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x7a + } + if m.ExecTime != 0 { + i = encodeVarint(dAtA, i, uint64(m.ExecTime)) + i-- + dAtA[i] = 0x70 + } + if m.ExitTime != 0 { + i = encodeVarint(dAtA, i, uint64(m.ExitTime)) + i-- + dAtA[i] = 0x68 + } + if m.ForkTime != 0 { + i = encodeVarint(dAtA, i, uint64(m.ForkTime)) + i-- + dAtA[i] = 0x60 + } + if len(m.Comm) > 0 { + i -= len(m.Comm) + copy(dAtA[i:], m.Comm) + i = encodeVarint(dAtA, i, uint64(len(m.Comm))) + i-- + dAtA[i] = 0x5a + } + if len(m.Tty) > 0 { + i -= len(m.Tty) + copy(dAtA[i:], m.Tty) + i = encodeVarint(dAtA, i, uint64(len(m.Tty))) + i-- + dAtA[i] = 0x52 + } + if m.TraceId != 0 { + i = encodeVarint(dAtA, i, uint64(m.TraceId)) + i-- + dAtA[i] = 0x48 + } + if m.SpanId != 0 { + i = encodeVarint(dAtA, i, uint64(m.SpanId)) + i-- + dAtA[i] = 0x40 + } + if len(m.ContainerId) > 0 { + i -= len(m.ContainerId) + copy(dAtA[i:], m.ContainerId) + i = encodeVarint(dAtA, i, uint64(len(m.ContainerId))) + i-- + dAtA[i] = 0x3a + } + if m.File != nil { + size, err := m.File.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x32 + } + if m.IsThread { + i-- + if m.IsThread { + dAtA[i] = 1 + } else { + dAtA[i] = 0 } + i-- + dAtA[i] = 0x28 + } + if m.Cookie != 0 { + i = encodeVarint(dAtA, i, uint64(m.Cookie)) + i-- + dAtA[i] = 0x20 + } + if m.Ppid != 0 { + i = encodeVarint(dAtA, i, uint64(m.Ppid)) + i-- + dAtA[i] = 0x18 + } + if m.Tid != 0 { + i = encodeVarint(dAtA, i, uint64(m.Tid)) + i-- + dAtA[i] = 0x10 + } + if m.Pid != 0 { + i = encodeVarint(dAtA, i, uint64(m.Pid)) + i-- + dAtA[i] = 0x8 } return len(dAtA) - i, nil } -func (m *IMDSEvent) MarshalVT() (dAtA []byte, err error) { +func (m *FileActivityNode) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -1694,12 +1559,12 @@ func (m *IMDSEvent) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *IMDSEvent) MarshalToVT(dAtA []byte) (int, error) { +func (m *FileActivityNode) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *IMDSEvent) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *FileActivityNode) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -1711,62 +1576,100 @@ func (m *IMDSEvent) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if m.Aws != nil { - size, err := m.Aws.MarshalToSizedBufferVT(dAtA[:i]) + 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] = 0x3a + dAtA[i] = 0x5a } - if len(m.Server) > 0 { - i -= len(m.Server) - copy(dAtA[i:], m.Server) - i = encodeVarint(dAtA, i, uint64(len(m.Server))) + if len(m.ImageTags) > 0 { + for iNdEx := len(m.ImageTags) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.ImageTags[iNdEx]) + copy(dAtA[i:], m.ImageTags[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.ImageTags[iNdEx]))) + i-- + dAtA[i] = 0x52 + } + } + 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] = 0x4a + } + } + if m.GenerationType != 0 { + i = encodeVarint(dAtA, i, uint64(m.GenerationType)) i-- - dAtA[i] = 0x32 + dAtA[i] = 0x40 } - if len(m.UserAgent) > 0 { - i -= len(m.UserAgent) - copy(dAtA[i:], m.UserAgent) - i = encodeVarint(dAtA, i, uint64(len(m.UserAgent))) + if m.IsPattern { i-- - dAtA[i] = 0x2a + if m.IsPattern { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x38 } - if len(m.Host) > 0 { - i -= len(m.Host) - copy(dAtA[i:], m.Host) - i = encodeVarint(dAtA, i, uint64(len(m.Host))) + if len(m.Children) > 0 { + for iNdEx := len(m.Children) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.Children[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x32 + } + } + if m.Open != nil { + size, err := m.Open.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) i-- - dAtA[i] = 0x22 + dAtA[i] = 0x2a } - if len(m.Url) > 0 { - i -= len(m.Url) - copy(dAtA[i:], m.Url) - i = encodeVarint(dAtA, i, uint64(len(m.Url))) + if m.FirstSeen != 0 { + i = encodeVarint(dAtA, i, uint64(m.FirstSeen)) i-- - dAtA[i] = 0x1a + dAtA[i] = 0x20 } - if len(m.CloudProvider) > 0 { - i -= len(m.CloudProvider) - copy(dAtA[i:], m.CloudProvider) - i = encodeVarint(dAtA, i, uint64(len(m.CloudProvider))) + if m.File != nil { + size, err := m.File.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) i-- dAtA[i] = 0x12 } - if len(m.Type) > 0 { - i -= len(m.Type) - copy(dAtA[i:], m.Type) - i = encodeVarint(dAtA, i, uint64(len(m.Type))) + if len(m.Name) > 0 { + i -= len(m.Name) + copy(dAtA[i:], m.Name) + i = encodeVarint(dAtA, i, uint64(len(m.Name))) i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *AWSIMDSEvent) MarshalVT() (dAtA []byte, err error) { +func (m *OpenNode) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -1779,12 +1682,12 @@ func (m *AWSIMDSEvent) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *AWSIMDSEvent) MarshalToVT(dAtA []byte) (int, error) { +func (m *OpenNode) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *AWSIMDSEvent) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *OpenNode) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -1796,30 +1699,25 @@ func (m *AWSIMDSEvent) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if m.SecurityCredentials != nil { - size, err := m.SecurityCredentials.MarshalToSizedBufferVT(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarint(dAtA, i, uint64(size)) + if m.Mode != 0 { + i = encodeVarint(dAtA, i, uint64(m.Mode)) i-- - dAtA[i] = 0x12 + dAtA[i] = 0x18 } - if m.IsImdsV2 { + if m.Flags != 0 { + i = encodeVarint(dAtA, i, uint64(m.Flags)) i-- - if m.IsImdsV2 { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } + dAtA[i] = 0x10 + } + if m.Retval != 0 { + i = encodeVarint(dAtA, i, uint64((uint64(m.Retval)<<1)^uint64((m.Retval>>63)))) i-- dAtA[i] = 0x8 } return len(dAtA) - i, nil } -func (m *AWSSecurityCredentials) MarshalVT() (dAtA []byte, err error) { +func (m *DNSNode) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -1832,12 +1730,12 @@ func (m *AWSSecurityCredentials) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *AWSSecurityCredentials) MarshalToVT(dAtA []byte) (int, error) { +func (m *DNSNode) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *AWSSecurityCredentials) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *DNSNode) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -1849,45 +1747,53 @@ func (m *AWSSecurityCredentials) MarshalToSizedBufferVT(dAtA []byte) (int, error i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if len(m.ExpirationRaw) > 0 { - i -= len(m.ExpirationRaw) - copy(dAtA[i:], m.ExpirationRaw) - i = encodeVarint(dAtA, i, uint64(len(m.ExpirationRaw))) - i-- - dAtA[i] = 0x2a - } - if len(m.LastUpdated) > 0 { - i -= len(m.LastUpdated) - copy(dAtA[i:], m.LastUpdated) - i = encodeVarint(dAtA, i, uint64(len(m.LastUpdated))) + 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.AccessKeyId) > 0 { - i -= len(m.AccessKeyId) - copy(dAtA[i:], m.AccessKeyId) - i = encodeVarint(dAtA, i, uint64(len(m.AccessKeyId))) - i-- - dAtA[i] = 0x1a + if len(m.ImageTags) > 0 { + for iNdEx := len(m.ImageTags) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.ImageTags[iNdEx]) + copy(dAtA[i:], m.ImageTags[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.ImageTags[iNdEx]))) + i-- + dAtA[i] = 0x1a + } } - if len(m.Type) > 0 { - i -= len(m.Type) - copy(dAtA[i:], m.Type) - i = encodeVarint(dAtA, i, uint64(len(m.Type))) - i-- - dAtA[i] = 0x12 + 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] = 0x12 + } } - if len(m.Code) > 0 { - i -= len(m.Code) - copy(dAtA[i:], m.Code) - i = encodeVarint(dAtA, i, uint64(len(m.Code))) - i-- - dAtA[i] = 0xa + if len(m.Requests) > 0 { + for iNdEx := len(m.Requests) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.Requests[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0xa + } } return len(dAtA) - i, nil } -func (m *FileInfo) MarshalVT() (dAtA []byte, err error) { +func (m *DNSInfo) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -1900,12 +1806,12 @@ func (m *FileInfo) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *FileInfo) MarshalToVT(dAtA []byte) (int, error) { +func (m *DNSInfo) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *FileInfo) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *DNSInfo) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -1917,163 +1823,47 @@ func (m *FileInfo) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if m.PackageSrcRelease != nil { - i -= len(*m.PackageSrcRelease) - copy(dAtA[i:], *m.PackageSrcRelease) - i = encodeVarint(dAtA, i, uint64(len(*m.PackageSrcRelease))) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0xb2 - } - if m.PackageSrcEpoch != nil { - i = encodeVarint(dAtA, i, uint64(*m.PackageSrcEpoch)) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0xa8 - } - if m.PackageRelease != nil { - i -= len(*m.PackageRelease) - copy(dAtA[i:], *m.PackageRelease) - i = encodeVarint(dAtA, i, uint64(len(*m.PackageRelease))) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0xa2 - } - if m.PackageEpoch != nil { - i = encodeVarint(dAtA, i, uint64(*m.PackageEpoch)) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0x98 - } - if m.HashState != 0 { - i = encodeVarint(dAtA, i, uint64(m.HashState)) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0x90 - } - if len(m.Hashes) > 0 { - for iNdEx := len(m.Hashes) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.Hashes[iNdEx]) - copy(dAtA[i:], m.Hashes[iNdEx]) - i = encodeVarint(dAtA, i, uint64(len(m.Hashes[iNdEx]))) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0x8a - } - } - if len(m.PackageSrcVersion) > 0 { - i -= len(m.PackageSrcVersion) - copy(dAtA[i:], m.PackageSrcVersion) - i = encodeVarint(dAtA, i, uint64(len(m.PackageSrcVersion))) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0x82 - } - if len(m.PackageVersion) > 0 { - i -= len(m.PackageVersion) - copy(dAtA[i:], m.PackageVersion) - i = encodeVarint(dAtA, i, uint64(len(m.PackageVersion))) - i-- - dAtA[i] = 0x7a - } - if len(m.PackageName) > 0 { - i -= len(m.PackageName) - copy(dAtA[i:], m.PackageName) - i = encodeVarint(dAtA, i, uint64(len(m.PackageName))) - i-- - dAtA[i] = 0x72 - } - if len(m.Filesystem) > 0 { - i -= len(m.Filesystem) - copy(dAtA[i:], m.Filesystem) - i = encodeVarint(dAtA, i, uint64(len(m.Filesystem))) - i-- - dAtA[i] = 0x6a - } - if len(m.Basename) > 0 { - i -= len(m.Basename) - copy(dAtA[i:], m.Basename) - i = encodeVarint(dAtA, i, uint64(len(m.Basename))) - i-- - dAtA[i] = 0x62 - } - if len(m.Path) > 0 { - i -= len(m.Path) - copy(dAtA[i:], m.Path) - i = encodeVarint(dAtA, i, uint64(len(m.Path))) - i-- - dAtA[i] = 0x5a - } - if m.InUpperLayer { - i-- - if m.InUpperLayer { - dAtA[i] = 1 - } else { - dAtA[i] = 0 + if m.Response != nil { + size, err := m.Response.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) i-- - dAtA[i] = 0x50 - } - if m.Inode != 0 { - i = encodeVarint(dAtA, i, uint64(m.Inode)) - i-- - dAtA[i] = 0x48 - } - if m.MountId != 0 { - i = encodeVarint(dAtA, i, uint64(m.MountId)) - i-- - dAtA[i] = 0x40 - } - if m.Mtime != 0 { - i = encodeVarint(dAtA, i, uint64(m.Mtime)) - i-- - dAtA[i] = 0x38 - } - if m.Ctime != 0 { - i = encodeVarint(dAtA, i, uint64(m.Ctime)) - i-- - dAtA[i] = 0x30 + dAtA[i] = 0x32 } - if m.Mode != 0 { - i = encodeVarint(dAtA, i, uint64(m.Mode)) + if m.Count != 0 { + i = encodeVarint(dAtA, i, uint64(m.Count)) i-- dAtA[i] = 0x28 } - if len(m.Group) > 0 { - i -= len(m.Group) - copy(dAtA[i:], m.Group) - i = encodeVarint(dAtA, i, uint64(len(m.Group))) + if m.Size != 0 { + i = encodeVarint(dAtA, i, uint64(m.Size)) i-- - dAtA[i] = 0x22 + dAtA[i] = 0x20 } - if m.Gid != 0 { - i = encodeVarint(dAtA, i, uint64(m.Gid)) + if m.Class != 0 { + i = encodeVarint(dAtA, i, uint64(m.Class)) i-- dAtA[i] = 0x18 } - if len(m.User) > 0 { - i -= len(m.User) - copy(dAtA[i:], m.User) - i = encodeVarint(dAtA, i, uint64(len(m.User))) + if m.Type != 0 { + i = encodeVarint(dAtA, i, uint64(m.Type)) i-- - dAtA[i] = 0x12 + dAtA[i] = 0x10 } - if m.Uid != 0 { - i = encodeVarint(dAtA, i, uint64(m.Uid)) + if len(m.Name) > 0 { + i -= len(m.Name) + copy(dAtA[i:], m.Name) + i = encodeVarint(dAtA, i, uint64(len(m.Name))) i-- - dAtA[i] = 0x8 + dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *Credentials) MarshalVT() (dAtA []byte, err error) { +func (m *DNSResponseInfo) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -2086,12 +1876,12 @@ func (m *Credentials) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *Credentials) MarshalToVT(dAtA []byte) (int, error) { +func (m *DNSResponseInfo) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *Credentials) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *DNSResponseInfo) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -2103,92 +1893,85 @@ func (m *Credentials) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if m.CapPermitted != 0 { - i = encodeVarint(dAtA, i, uint64(m.CapPermitted)) - i-- - dAtA[i] = 0x70 - } - if m.CapEffective != 0 { - i = encodeVarint(dAtA, i, uint64(m.CapEffective)) - i-- - dAtA[i] = 0x68 - } - if len(m.FsGroup) > 0 { - i -= len(m.FsGroup) - copy(dAtA[i:], m.FsGroup) - i = encodeVarint(dAtA, i, uint64(len(m.FsGroup))) - i-- - dAtA[i] = 0x62 - } - if len(m.FsUser) > 0 { - i -= len(m.FsUser) - copy(dAtA[i:], m.FsUser) - i = encodeVarint(dAtA, i, uint64(len(m.FsUser))) - i-- - dAtA[i] = 0x5a - } - if m.FsGid != 0 { - i = encodeVarint(dAtA, i, uint64(m.FsGid)) - i-- - dAtA[i] = 0x50 - } - if m.FsUid != 0 { - i = encodeVarint(dAtA, i, uint64(m.FsUid)) - i-- - dAtA[i] = 0x48 + if len(m.Cnames) > 0 { + for iNdEx := len(m.Cnames) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Cnames[iNdEx]) + copy(dAtA[i:], m.Cnames[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.Cnames[iNdEx]))) + i-- + dAtA[i] = 0x12 + } } - if len(m.EffectiveGroup) > 0 { - i -= len(m.EffectiveGroup) - copy(dAtA[i:], m.EffectiveGroup) - i = encodeVarint(dAtA, i, uint64(len(m.EffectiveGroup))) - i-- - dAtA[i] = 0x42 + if len(m.Ips) > 0 { + for iNdEx := len(m.Ips) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Ips[iNdEx]) + copy(dAtA[i:], m.Ips[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.Ips[iNdEx]))) + i-- + dAtA[i] = 0xa + } } - if len(m.EffectiveUser) > 0 { - i -= len(m.EffectiveUser) - copy(dAtA[i:], m.EffectiveUser) - i = encodeVarint(dAtA, i, uint64(len(m.EffectiveUser))) - i-- - dAtA[i] = 0x3a + return len(dAtA) - i, nil +} + +func (m *SyscallNode) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil } - if m.EffectiveGid != 0 { - i = encodeVarint(dAtA, i, uint64(m.EffectiveGid)) - i-- - dAtA[i] = 0x30 + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err } - if m.EffectiveUid != 0 { - i = encodeVarint(dAtA, i, uint64(m.EffectiveUid)) - i-- - dAtA[i] = 0x28 + return dAtA[:n], nil +} + +func (m *SyscallNode) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *SyscallNode) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil } - if len(m.Group) > 0 { - i -= len(m.Group) - copy(dAtA[i:], m.Group) - i = encodeVarint(dAtA, i, uint64(len(m.Group))) - i-- - dAtA[i] = 0x22 + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) } - if len(m.User) > 0 { - i -= len(m.User) - copy(dAtA[i:], m.User) - i = encodeVarint(dAtA, i, uint64(len(m.User))) + 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] = 0x1a } - if m.Gid != 0 { - i = encodeVarint(dAtA, i, uint64(m.Gid)) + if m.Syscall != 0 { + i = encodeVarint(dAtA, i, uint64(m.Syscall)) i-- dAtA[i] = 0x10 } - if m.Uid != 0 { - i = encodeVarint(dAtA, i, uint64(m.Uid)) - i-- - dAtA[i] = 0x8 + if len(m.ImageTags) > 0 { + for iNdEx := len(m.ImageTags) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.ImageTags[iNdEx]) + copy(dAtA[i:], m.ImageTags[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.ImageTags[iNdEx]))) + i-- + dAtA[i] = 0xa + } } return len(dAtA) - i, nil } -func (m *SocketNode) MarshalVT() (dAtA []byte, err error) { +func (m *CapabilityNode) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -2201,12 +1984,12 @@ func (m *SocketNode) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *SocketNode) MarshalToVT(dAtA []byte) (int, error) { +func (m *CapabilityNode) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *SocketNode) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *CapabilityNode) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -2218,41 +2001,35 @@ 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 m.IsCapable { + i-- + if m.IsCapable { + dAtA[i] = 1 + } else { + dAtA[i] = 0 } + i-- + dAtA[i] = 0x18 } - if len(m.Bind) > 0 { - for iNdEx := len(m.Bind) - 1; iNdEx >= 0; iNdEx-- { - size, err := m.Bind[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarint(dAtA, i, uint64(size)) - i-- - dAtA[i] = 0x12 - } + if m.Capability != 0 { + i = encodeVarint(dAtA, i, uint64(m.Capability)) + i-- + dAtA[i] = 0x10 } - if len(m.Family) > 0 { - i -= len(m.Family) - copy(dAtA[i:], m.Family) - i = encodeVarint(dAtA, i, uint64(len(m.Family))) + 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] = 0xa } return len(dAtA) - i, nil } -func (m *BindNode) MarshalVT() (dAtA []byte, err error) { +func (m *IMDSNode) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -2265,12 +2042,12 @@ func (m *BindNode) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *BindNode) MarshalToVT(dAtA []byte) (int, error) { +func (m *IMDSNode) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *BindNode) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *IMDSNode) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -2290,12 +2067,17 @@ func (m *BindNode) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i -= size i = encodeVarint(dAtA, i, uint64(size)) i-- - dAtA[i] = 0x32 + dAtA[i] = 0x22 } - if m.Protocol != 0 { - i = encodeVarint(dAtA, i, uint64(m.Protocol)) + if m.Event != nil { + size, err := m.Event.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) i-- - dAtA[i] = 0x28 + dAtA[i] = 0x1a } if len(m.ImageTags) > 0 { for iNdEx := len(m.ImageTags) - 1; iNdEx >= 0; iNdEx-- { @@ -2303,7 +2085,7 @@ func (m *BindNode) MarshalToSizedBufferVT(dAtA []byte) (int, error) { copy(dAtA[i:], m.ImageTags[iNdEx]) i = encodeVarint(dAtA, i, uint64(len(m.ImageTags[iNdEx]))) i-- - dAtA[i] = 0x22 + dAtA[i] = 0x12 } } if len(m.MatchedRules) > 0 { @@ -2315,25 +2097,13 @@ func (m *BindNode) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i -= size i = encodeVarint(dAtA, i, uint64(size)) i-- - dAtA[i] = 0x1a + dAtA[i] = 0xa } } - 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 *ConnectNode) MarshalVT() (dAtA []byte, err error) { +func (m *IMDSEvent) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -2346,12 +2116,12 @@ func (m *ConnectNode) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *ConnectNode) MarshalToVT(dAtA []byte) (int, error) { +func (m *IMDSEvent) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *ConnectNode) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *IMDSEvent) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -2363,123 +2133,62 @@ func (m *ConnectNode) MarshalToSizedBufferVT(dAtA []byte) (int, error) { 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 m.Aws != nil { + size, err := m.Aws.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 - } + dAtA[i] = 0x3a } - if len(m.Ip) > 0 { - i -= len(m.Ip) - copy(dAtA[i:], m.Ip) - i = encodeVarint(dAtA, i, uint64(len(m.Ip))) + if len(m.Server) > 0 { + i -= len(m.Server) + copy(dAtA[i:], m.Server) + i = encodeVarint(dAtA, i, uint64(len(m.Server))) i-- - dAtA[i] = 0x12 + dAtA[i] = 0x32 } - if m.Port != 0 { - i = encodeVarint(dAtA, i, uint64(m.Port)) + if len(m.UserAgent) > 0 { + i -= len(m.UserAgent) + copy(dAtA[i:], m.UserAgent) + i = encodeVarint(dAtA, i, uint64(len(m.UserAgent))) i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *NetworkDeviceNode) 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 *NetworkDeviceNode) MarshalToVT(dAtA []byte) (int, error) { - size := m.SizeVT() - return m.MarshalToSizedBufferVT(dAtA[:size]) -} - -func (m *NetworkDeviceNode) MarshalToSizedBufferVT(dAtA []byte) (int, error) { - if m == nil { - return 0, nil - } - i := len(dAtA) - _ = i - var l int - _ = l - if m.unknownFields != nil { - i -= len(m.unknownFields) - copy(dAtA[i:], m.unknownFields) - } - if len(m.FlowNodes) > 0 { - for iNdEx := len(m.FlowNodes) - 1; iNdEx >= 0; iNdEx-- { - size, err := m.FlowNodes[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarint(dAtA, i, uint64(size)) - i-- - dAtA[i] = 0x2a - } + dAtA[i] = 0x2a } - if len(m.Ifname) > 0 { - i -= len(m.Ifname) - copy(dAtA[i:], m.Ifname) - i = encodeVarint(dAtA, i, uint64(len(m.Ifname))) + if len(m.Host) > 0 { + i -= len(m.Host) + copy(dAtA[i:], m.Host) + i = encodeVarint(dAtA, i, uint64(len(m.Host))) i-- dAtA[i] = 0x22 } - if m.Ifindex != 0 { - i = encodeVarint(dAtA, i, uint64(m.Ifindex)) + if len(m.Url) > 0 { + i -= len(m.Url) + copy(dAtA[i:], m.Url) + i = encodeVarint(dAtA, i, uint64(len(m.Url))) i-- - dAtA[i] = 0x18 + dAtA[i] = 0x1a } - if m.Netns != 0 { - i = encodeVarint(dAtA, i, uint64(m.Netns)) + if len(m.CloudProvider) > 0 { + i -= len(m.CloudProvider) + copy(dAtA[i:], m.CloudProvider) + i = encodeVarint(dAtA, i, uint64(len(m.CloudProvider))) i-- - dAtA[i] = 0x10 + dAtA[i] = 0x12 } - if len(m.MatchedRules) > 0 { - for iNdEx := len(m.MatchedRules) - 1; iNdEx >= 0; iNdEx-- { - size, err := m.MatchedRules[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarint(dAtA, i, uint64(size)) - i-- - dAtA[i] = 0xa - } + if len(m.Type) > 0 { + i -= len(m.Type) + copy(dAtA[i:], m.Type) + i = encodeVarint(dAtA, i, uint64(len(m.Type))) + i-- + dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *FlowNode) MarshalVT() (dAtA []byte, err error) { +func (m *AWSIMDSEvent) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -2492,12 +2201,12 @@ func (m *FlowNode) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *FlowNode) MarshalToVT(dAtA []byte) (int, error) { +func (m *AWSIMDSEvent) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *FlowNode) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *AWSIMDSEvent) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -2509,79 +2218,30 @@ func (m *FlowNode) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - 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] = 0x42 - } - if m.Egress != nil { - size, err := m.Egress.MarshalToSizedBufferVT(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarint(dAtA, i, uint64(size)) - i-- - dAtA[i] = 0x3a - } - if m.Ingress != nil { - size, err := m.Ingress.MarshalToSizedBufferVT(dAtA[:i]) + if m.SecurityCredentials != nil { + size, err := m.SecurityCredentials.MarshalToSizedBufferVT(dAtA[:i]) if err != nil { return 0, err } i -= size i = encodeVarint(dAtA, i, uint64(size)) i-- - dAtA[i] = 0x32 - } - if m.L4Protocol != 0 { - i = encodeVarint(dAtA, i, uint64(m.L4Protocol)) - i-- - dAtA[i] = 0x28 - } - if m.L3Protocol != 0 { - i = encodeVarint(dAtA, i, uint64(m.L3Protocol)) - i-- - dAtA[i] = 0x20 + dAtA[i] = 0x12 } - if m.Destination != nil { - size, err := m.Destination.MarshalToSizedBufferVT(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarint(dAtA, i, uint64(size)) + if m.IsImdsV2 { i-- - dAtA[i] = 0x1a - } - if m.Source != nil { - size, err := m.Source.MarshalToSizedBufferVT(dAtA[:i]) - if err != nil { - return 0, err + if m.IsImdsV2 { + dAtA[i] = 1 + } else { + dAtA[i] = 0 } - i -= size - i = encodeVarint(dAtA, i, uint64(size)) i-- - dAtA[i] = 0x12 - } - if len(m.ImageTags) > 0 { - for iNdEx := len(m.ImageTags) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.ImageTags[iNdEx]) - copy(dAtA[i:], m.ImageTags[iNdEx]) - i = encodeVarint(dAtA, i, uint64(len(m.ImageTags[iNdEx]))) - i-- - dAtA[i] = 0xa - } + dAtA[i] = 0x8 } return len(dAtA) - i, nil } -func (m *IPPortContext) MarshalVT() (dAtA []byte, err error) { +func (m *AWSSecurityCredentials) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -2594,12 +2254,12 @@ func (m *IPPortContext) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *IPPortContext) MarshalToVT(dAtA []byte) (int, error) { +func (m *AWSSecurityCredentials) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *IPPortContext) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *AWSSecurityCredentials) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -2611,22 +2271,45 @@ func (m *IPPortContext) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if m.Port != 0 { - i = encodeVarint(dAtA, i, uint64(m.Port)) + if len(m.ExpirationRaw) > 0 { + i -= len(m.ExpirationRaw) + copy(dAtA[i:], m.ExpirationRaw) + i = encodeVarint(dAtA, i, uint64(len(m.ExpirationRaw))) i-- - dAtA[i] = 0x10 + dAtA[i] = 0x2a } - if len(m.Ip) > 0 { - i -= len(m.Ip) - copy(dAtA[i:], m.Ip) - i = encodeVarint(dAtA, i, uint64(len(m.Ip))) + if len(m.LastUpdated) > 0 { + i -= len(m.LastUpdated) + copy(dAtA[i:], m.LastUpdated) + i = encodeVarint(dAtA, i, uint64(len(m.LastUpdated))) + i-- + dAtA[i] = 0x22 + } + if len(m.AccessKeyId) > 0 { + i -= len(m.AccessKeyId) + copy(dAtA[i:], m.AccessKeyId) + i = encodeVarint(dAtA, i, uint64(len(m.AccessKeyId))) + i-- + dAtA[i] = 0x1a + } + if len(m.Type) > 0 { + i -= len(m.Type) + copy(dAtA[i:], m.Type) + i = encodeVarint(dAtA, i, uint64(len(m.Type))) + i-- + dAtA[i] = 0x12 + } + if len(m.Code) > 0 { + i -= len(m.Code) + copy(dAtA[i:], m.Code) + i = encodeVarint(dAtA, i, uint64(len(m.Code))) i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *NetworkStats) MarshalVT() (dAtA []byte, err error) { +func (m *FileInfo) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -2639,12 +2322,12 @@ func (m *NetworkStats) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *NetworkStats) MarshalToVT(dAtA []byte) (int, error) { +func (m *FileInfo) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *NetworkStats) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *FileInfo) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -2656,100 +2339,163 @@ func (m *NetworkStats) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if m.PacketCount != 0 { - i = encodeVarint(dAtA, i, uint64(m.PacketCount)) + if m.PackageSrcRelease != nil { + i -= len(*m.PackageSrcRelease) + copy(dAtA[i:], *m.PackageSrcRelease) + i = encodeVarint(dAtA, i, uint64(len(*m.PackageSrcRelease))) i-- - dAtA[i] = 0x10 - } - if m.DataSize != 0 { - i = encodeVarint(dAtA, i, uint64(m.DataSize)) + dAtA[i] = 0x1 i-- - dAtA[i] = 0x8 + dAtA[i] = 0xb2 } - return len(dAtA) - i, nil -} - -func (m *MatchedRule) MarshalVT() (dAtA []byte, err error) { - if m == nil { - return nil, nil + if m.PackageSrcEpoch != nil { + i = encodeVarint(dAtA, i, uint64(*m.PackageSrcEpoch)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xa8 } - size := m.SizeVT() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBufferVT(dAtA[:size]) - if err != nil { - return nil, err + if m.PackageRelease != nil { + i -= len(*m.PackageRelease) + copy(dAtA[i:], *m.PackageRelease) + i = encodeVarint(dAtA, i, uint64(len(*m.PackageRelease))) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xa2 } - return dAtA[:n], nil -} - -func (m *MatchedRule) MarshalToVT(dAtA []byte) (int, error) { - size := m.SizeVT() - return m.MarshalToSizedBufferVT(dAtA[:size]) -} - -func (m *MatchedRule) MarshalToSizedBufferVT(dAtA []byte) (int, error) { - if m == nil { - return 0, nil + if m.PackageEpoch != nil { + i = encodeVarint(dAtA, i, uint64(*m.PackageEpoch)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x98 } - i := len(dAtA) - _ = i - var l int - _ = l - if m.unknownFields != nil { - i -= len(m.unknownFields) - copy(dAtA[i:], m.unknownFields) + if m.HashState != 0 { + i = encodeVarint(dAtA, i, uint64(m.HashState)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x90 } - if len(m.RuleTags) > 0 { - for k := range m.RuleTags { - v := m.RuleTags[k] - baseI := i - i -= len(v) - copy(dAtA[i:], v) - i = encodeVarint(dAtA, i, uint64(len(v))) - i-- - dAtA[i] = 0x12 - i -= len(k) - copy(dAtA[i:], k) - i = encodeVarint(dAtA, i, uint64(len(k))) + if len(m.Hashes) > 0 { + for iNdEx := len(m.Hashes) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Hashes[iNdEx]) + copy(dAtA[i:], m.Hashes[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.Hashes[iNdEx]))) i-- - dAtA[i] = 0xa - i = encodeVarint(dAtA, i, uint64(baseI-i)) + dAtA[i] = 0x1 i-- - dAtA[i] = 0x2a + dAtA[i] = 0x8a } } - if len(m.PolicyVersion) > 0 { - i -= len(m.PolicyVersion) - copy(dAtA[i:], m.PolicyVersion) - i = encodeVarint(dAtA, i, uint64(len(m.PolicyVersion))) + if len(m.PackageSrcVersion) > 0 { + i -= len(m.PackageSrcVersion) + copy(dAtA[i:], m.PackageSrcVersion) + i = encodeVarint(dAtA, i, uint64(len(m.PackageSrcVersion))) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x82 + } + if len(m.PackageVersion) > 0 { + i -= len(m.PackageVersion) + copy(dAtA[i:], m.PackageVersion) + i = encodeVarint(dAtA, i, uint64(len(m.PackageVersion))) + i-- + dAtA[i] = 0x7a + } + if len(m.PackageName) > 0 { + i -= len(m.PackageName) + copy(dAtA[i:], m.PackageName) + i = encodeVarint(dAtA, i, uint64(len(m.PackageName))) + i-- + dAtA[i] = 0x72 + } + if len(m.Filesystem) > 0 { + i -= len(m.Filesystem) + copy(dAtA[i:], m.Filesystem) + i = encodeVarint(dAtA, i, uint64(len(m.Filesystem))) + i-- + dAtA[i] = 0x6a + } + if len(m.Basename) > 0 { + i -= len(m.Basename) + copy(dAtA[i:], m.Basename) + i = encodeVarint(dAtA, i, uint64(len(m.Basename))) + i-- + dAtA[i] = 0x62 + } + if len(m.Path) > 0 { + i -= len(m.Path) + copy(dAtA[i:], m.Path) + i = encodeVarint(dAtA, i, uint64(len(m.Path))) + i-- + dAtA[i] = 0x5a + } + if m.InUpperLayer { + i-- + if m.InUpperLayer { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x50 + } + if m.Inode != 0 { + i = encodeVarint(dAtA, i, uint64(m.Inode)) + i-- + dAtA[i] = 0x48 + } + if m.MountId != 0 { + i = encodeVarint(dAtA, i, uint64(m.MountId)) + i-- + dAtA[i] = 0x40 + } + if m.Mtime != 0 { + i = encodeVarint(dAtA, i, uint64(m.Mtime)) + i-- + dAtA[i] = 0x38 + } + if m.Ctime != 0 { + i = encodeVarint(dAtA, i, uint64(m.Ctime)) + i-- + dAtA[i] = 0x30 + } + if m.Mode != 0 { + i = encodeVarint(dAtA, i, uint64(m.Mode)) + i-- + dAtA[i] = 0x28 + } + if len(m.Group) > 0 { + i -= len(m.Group) + copy(dAtA[i:], m.Group) + i = encodeVarint(dAtA, i, uint64(len(m.Group))) i-- dAtA[i] = 0x22 } - if len(m.PolicyName) > 0 { - i -= len(m.PolicyName) - copy(dAtA[i:], m.PolicyName) - i = encodeVarint(dAtA, i, uint64(len(m.PolicyName))) + if m.Gid != 0 { + i = encodeVarint(dAtA, i, uint64(m.Gid)) i-- - dAtA[i] = 0x1a + dAtA[i] = 0x18 } - if len(m.RuleVersion) > 0 { - i -= len(m.RuleVersion) - copy(dAtA[i:], m.RuleVersion) - i = encodeVarint(dAtA, i, uint64(len(m.RuleVersion))) + if len(m.User) > 0 { + i -= len(m.User) + copy(dAtA[i:], m.User) + i = encodeVarint(dAtA, i, uint64(len(m.User))) i-- dAtA[i] = 0x12 } - if len(m.RuleId) > 0 { - i -= len(m.RuleId) - copy(dAtA[i:], m.RuleId) - i = encodeVarint(dAtA, i, uint64(len(m.RuleId))) + if m.Uid != 0 { + i = encodeVarint(dAtA, i, uint64(m.Uid)) i-- - dAtA[i] = 0xa + dAtA[i] = 0x8 } return len(dAtA) - i, nil } -func (m *EventTypeState) MarshalVT() (dAtA []byte, err error) { +func (m *Credentials) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -2762,12 +2508,12 @@ func (m *EventTypeState) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *EventTypeState) MarshalToVT(dAtA []byte) (int, error) { +func (m *Credentials) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *EventTypeState) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *Credentials) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -2779,1193 +2525,1630 @@ func (m *EventTypeState) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if m.EventProfileState != 0 { - i = encodeVarint(dAtA, i, uint64(m.EventProfileState)) + if m.CapPermitted != 0 { + i = encodeVarint(dAtA, i, uint64(m.CapPermitted)) + i-- + dAtA[i] = 0x70 + } + if m.CapEffective != 0 { + i = encodeVarint(dAtA, i, uint64(m.CapEffective)) + i-- + dAtA[i] = 0x68 + } + if len(m.FsGroup) > 0 { + i -= len(m.FsGroup) + copy(dAtA[i:], m.FsGroup) + i = encodeVarint(dAtA, i, uint64(len(m.FsGroup))) + i-- + dAtA[i] = 0x62 + } + if len(m.FsUser) > 0 { + i -= len(m.FsUser) + copy(dAtA[i:], m.FsUser) + i = encodeVarint(dAtA, i, uint64(len(m.FsUser))) + i-- + dAtA[i] = 0x5a + } + if m.FsGid != 0 { + i = encodeVarint(dAtA, i, uint64(m.FsGid)) + i-- + dAtA[i] = 0x50 + } + if m.FsUid != 0 { + i = encodeVarint(dAtA, i, uint64(m.FsUid)) + i-- + dAtA[i] = 0x48 + } + if len(m.EffectiveGroup) > 0 { + i -= len(m.EffectiveGroup) + copy(dAtA[i:], m.EffectiveGroup) + i = encodeVarint(dAtA, i, uint64(len(m.EffectiveGroup))) + i-- + dAtA[i] = 0x42 + } + if len(m.EffectiveUser) > 0 { + i -= len(m.EffectiveUser) + copy(dAtA[i:], m.EffectiveUser) + i = encodeVarint(dAtA, i, uint64(len(m.EffectiveUser))) + i-- + dAtA[i] = 0x3a + } + if m.EffectiveGid != 0 { + i = encodeVarint(dAtA, i, uint64(m.EffectiveGid)) + i-- + dAtA[i] = 0x30 + } + if m.EffectiveUid != 0 { + i = encodeVarint(dAtA, i, uint64(m.EffectiveUid)) + i-- + dAtA[i] = 0x28 + } + if len(m.Group) > 0 { + i -= len(m.Group) + copy(dAtA[i:], m.Group) + i = encodeVarint(dAtA, i, uint64(len(m.Group))) + i-- + dAtA[i] = 0x22 + } + if len(m.User) > 0 { + i -= len(m.User) + copy(dAtA[i:], m.User) + i = encodeVarint(dAtA, i, uint64(len(m.User))) + i-- + dAtA[i] = 0x1a + } + if m.Gid != 0 { + i = encodeVarint(dAtA, i, uint64(m.Gid)) i-- dAtA[i] = 0x10 } - if m.LastAnomalyNano != 0 { - i = encodeVarint(dAtA, i, uint64(m.LastAnomalyNano)) + if m.Uid != 0 { + i = encodeVarint(dAtA, i, uint64(m.Uid)) i-- dAtA[i] = 0x8 } return len(dAtA) - i, nil } -func encodeVarint(dAtA []byte, offset int, v uint64) int { - offset -= sov(v) - base := offset - for v >= 1<<7 { - dAtA[offset] = uint8(v&0x7f | 0x80) - v >>= 7 - offset++ +func (m *SocketNode) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil } - dAtA[offset] = uint8(v) - return base + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil } -var vtprotoPool_SecDump = sync.Pool{ - New: func() interface{} { - return &SecDump{} - }, +func (m *SocketNode) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *SecDump) ResetVT() { - f0 := m.Tags[:0] - for _, mm := range m.Tree { - mm.ResetVT() +func (m *SocketNode) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil } - f1 := m.Tree[:0] - for _, mm := range m.Mounts { - mm.Reset() + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) } - f2 := m.Mounts[:0] - m.Reset() - m.Tags = f0 - m.Tree = f1 - m.Mounts = f2 -} -func (m *SecDump) ReturnToVTPool() { - if m != nil { - m.ResetVT() - vtprotoPool_SecDump.Put(m) + 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]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + } + } + if len(m.Family) > 0 { + i -= len(m.Family) + copy(dAtA[i:], m.Family) + i = encodeVarint(dAtA, i, uint64(len(m.Family))) + i-- + dAtA[i] = 0xa } + return len(dAtA) - i, nil } -func SecDumpFromVTPool() *SecDump { - return vtprotoPool_SecDump.Get().(*SecDump) + +func (m *BindNode) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil } -var vtprotoPool_ProcessActivityNode = sync.Pool{ - New: func() interface{} { - return &ProcessActivityNode{} - }, +func (m *BindNode) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *ProcessActivityNode) ResetVT() { - m.Process.ReturnToVTPool() - for _, mm := range m.Children { - mm.ResetVT() - } - f0 := m.Children[:0] - for _, mm := range m.Files { - mm.ResetVT() - } - f1 := m.Files[:0] - for _, mm := range m.DnsNames { - mm.Reset() +func (m *BindNode) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil } - f2 := m.DnsNames[:0] - for _, mm := range m.Sockets { - mm.Reset() + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) } - f3 := m.Sockets[:0] - f4 := m.Syscalls[:0] - for _, mm := range m.MatchedRules { - mm.Reset() + 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] = 0x32 } - f5 := m.MatchedRules[:0] - f6 := m.ImageTags[:0] - for _, mm := range m.ImdsEvents { - mm.Reset() + if m.Protocol != 0 { + i = encodeVarint(dAtA, i, uint64(m.Protocol)) + i-- + dAtA[i] = 0x28 } - f7 := m.ImdsEvents[:0] - for _, mm := range m.SyscallNodes { - mm.Reset() + if len(m.ImageTags) > 0 { + for iNdEx := len(m.ImageTags) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.ImageTags[iNdEx]) + copy(dAtA[i:], m.ImageTags[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.ImageTags[iNdEx]))) + i-- + dAtA[i] = 0x22 + } } - f8 := m.SyscallNodes[:0] - for _, mm := range m.NetworkDevices { - mm.Reset() + 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 + } } - f9 := m.NetworkDevices[:0] - for _, mm := range m.CapabilityNodes { - mm.Reset() + 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 } - f10 := m.CapabilityNodes[:0] - m.Reset() - m.Children = f0 - m.Files = f1 - m.DnsNames = f2 - m.Sockets = f3 - m.Syscalls = f4 - m.MatchedRules = f5 - m.ImageTags = f6 - m.ImdsEvents = f7 - m.SyscallNodes = f8 - m.NetworkDevices = f9 - m.CapabilityNodes = f10 -} -func (m *ProcessActivityNode) ReturnToVTPool() { - if m != nil { - m.ResetVT() - vtprotoPool_ProcessActivityNode.Put(m) + if m.Port != 0 { + i = encodeVarint(dAtA, i, uint64(m.Port)) + i-- + dAtA[i] = 0x8 } -} -func ProcessActivityNodeFromVTPool() *ProcessActivityNode { - return vtprotoPool_ProcessActivityNode.Get().(*ProcessActivityNode) -} - -var vtprotoPool_ProcessInfo = sync.Pool{ - New: func() interface{} { - return &ProcessInfo{} - }, + return len(dAtA) - i, nil } -func (m *ProcessInfo) ResetVT() { - m.File.ReturnToVTPool() - f0 := m.Args[:0] - f1 := m.Envs[:0] - m.Reset() - m.Args = f0 - m.Envs = f1 -} -func (m *ProcessInfo) ReturnToVTPool() { - if m != nil { - m.ResetVT() - vtprotoPool_ProcessInfo.Put(m) +func (m *ConnectNode) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil } -} -func ProcessInfoFromVTPool() *ProcessInfo { - return vtprotoPool_ProcessInfo.Get().(*ProcessInfo) + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil } -var vtprotoPool_FileActivityNode = sync.Pool{ - New: func() interface{} { - return &FileActivityNode{} - }, +func (m *ConnectNode) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *FileActivityNode) ResetVT() { - m.File.ReturnToVTPool() - for _, mm := range m.Children { - mm.ResetVT() +func (m *ConnectNode) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil } - f0 := m.Children[:0] - for _, mm := range m.MatchedRules { - mm.Reset() + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) } - f1 := m.MatchedRules[:0] - f2 := m.ImageTags[:0] - m.Reset() - m.Children = f0 - m.MatchedRules = f1 - m.ImageTags = f2 -} -func (m *FileActivityNode) ReturnToVTPool() { - if m != nil { - m.ResetVT() - vtprotoPool_FileActivityNode.Put(m) + if m.Protocol != 0 { + i = encodeVarint(dAtA, i, uint64(m.Protocol)) + i-- + dAtA[i] = 0x28 } -} -func FileActivityNodeFromVTPool() *FileActivityNode { - return vtprotoPool_FileActivityNode.Get().(*FileActivityNode) -} - -var vtprotoPool_FileInfo = sync.Pool{ - New: func() interface{} { - return &FileInfo{} - }, + 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 *FileInfo) ResetVT() { - f0 := m.Hashes[:0] - m.Reset() - m.Hashes = f0 -} -func (m *FileInfo) ReturnToVTPool() { - if m != nil { - m.ResetVT() - vtprotoPool_FileInfo.Put(m) +func (m *NetworkDeviceNode) 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 FileInfoFromVTPool() *FileInfo { - return vtprotoPool_FileInfo.Get().(*FileInfo) + +func (m *NetworkDeviceNode) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *SecDump) SizeVT() (n int) { + +func (m *NetworkDeviceNode) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { - return 0 + return 0, nil } + i := len(dAtA) + _ = i var l int _ = l - l = len(m.Host) - if l > 0 { - n += 1 + l + sov(uint64(l)) + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) } - l = len(m.Service) - if l > 0 { - n += 1 + l + sov(uint64(l)) + if len(m.FlowNodes) > 0 { + for iNdEx := len(m.FlowNodes) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.FlowNodes[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x2a + } } - l = len(m.Source) - if l > 0 { - n += 1 + l + sov(uint64(l)) + if len(m.Ifname) > 0 { + i -= len(m.Ifname) + copy(dAtA[i:], m.Ifname) + i = encodeVarint(dAtA, i, uint64(len(m.Ifname))) + i-- + dAtA[i] = 0x22 } - if m.Metadata != nil { - l = m.Metadata.SizeVT() - n += 1 + l + sov(uint64(l)) + if m.Ifindex != 0 { + i = encodeVarint(dAtA, i, uint64(m.Ifindex)) + i-- + dAtA[i] = 0x18 } - if len(m.Tags) > 0 { - for _, s := range m.Tags { - l = len(s) - n += 1 + l + sov(uint64(l)) - } + if m.Netns != 0 { + i = encodeVarint(dAtA, i, uint64(m.Netns)) + i-- + dAtA[i] = 0x10 } - if len(m.Tree) > 0 { - for _, e := range m.Tree { - l = e.SizeVT() - n += 1 + l + sov(uint64(l)) + if len(m.MatchedRules) > 0 { + for iNdEx := len(m.MatchedRules) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.MatchedRules[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0xa } } - if len(m.Mounts) > 0 { - for _, e := range m.Mounts { - l = e.SizeVT() - n += 1 + l + sov(uint64(l)) - } + return len(dAtA) - i, nil +} + +func (m *FlowNode) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil } - n += len(m.unknownFields) - return n + 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 *Metadata) SizeVT() (n int) { +func (m *FlowNode) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *FlowNode) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { - return 0 + return 0, nil } + i := len(dAtA) + _ = i var l int _ = l - l = len(m.AgentVersion) - if l > 0 { - n += 1 + l + sov(uint64(l)) - } - l = len(m.AgentCommit) - if l > 0 { - n += 1 + l + sov(uint64(l)) - } - l = len(m.KernelVersion) - if l > 0 { - n += 1 + l + sov(uint64(l)) + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) } - l = len(m.LinuxDistribution) - if l > 0 { - n += 1 + l + sov(uint64(l)) + 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] = 0x42 } - l = len(m.Name) - if l > 0 { - n += 1 + l + sov(uint64(l)) + if m.Egress != nil { + size, err := m.Egress.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x3a } - l = len(m.ProtobufVersion) - if l > 0 { - n += 1 + l + sov(uint64(l)) + if m.Ingress != nil { + size, err := m.Ingress.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x32 } - if m.DifferentiateArgs { - n += 2 + if m.L4Protocol != 0 { + i = encodeVarint(dAtA, i, uint64(m.L4Protocol)) + i-- + dAtA[i] = 0x28 } - l = len(m.Comm) - if l > 0 { - n += 1 + l + sov(uint64(l)) + if m.L3Protocol != 0 { + i = encodeVarint(dAtA, i, uint64(m.L3Protocol)) + i-- + dAtA[i] = 0x20 } - l = len(m.ContainerId) - if l > 0 { - n += 1 + l + sov(uint64(l)) + if m.Destination != nil { + size, err := m.Destination.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x1a } - if m.Start != 0 { - n += 1 + sov(uint64(m.Start)) - } - if m.End != 0 { - n += 1 + sov(uint64(m.End)) - } - if m.Size != 0 { - n += 1 + sov(uint64(m.Size)) - } - l = len(m.Arch) - if l > 0 { - n += 1 + l + sov(uint64(l)) - } - l = len(m.Serialization) - if l > 0 { - n += 1 + l + sov(uint64(l)) - } - l = len(m.CgroupId) - if l > 0 { - n += 1 + l + sov(uint64(l)) + if m.Source != nil { + size, err := m.Source.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 } - l = len(m.CgroupManager) - if l > 0 { - n += 2 + l + sov(uint64(l)) + if len(m.ImageTags) > 0 { + for iNdEx := len(m.ImageTags) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.ImageTags[iNdEx]) + copy(dAtA[i:], m.ImageTags[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.ImageTags[iNdEx]))) + i-- + dAtA[i] = 0xa + } } - n += len(m.unknownFields) - return n + return len(dAtA) - i, nil } -func (m *ProfileSelector) SizeVT() (n int) { +func (m *IPPortContext) MarshalVT() (dAtA []byte, err error) { if m == nil { - return 0 - } - var l int - _ = l - l = len(m.ImageName) - if l > 0 { - n += 1 + l + sov(uint64(l)) + return nil, nil } - l = len(m.ImageTag) - if l > 0 { - n += 1 + l + sov(uint64(l)) + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err } - n += len(m.unknownFields) - return n + return dAtA[:n], nil } -func (m *ProfileContext) SizeVT() (n int) { +func (m *IPPortContext) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *IPPortContext) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { - return 0 + return 0, nil } + i := len(dAtA) + _ = i var l int _ = l - if m.FirstSeen != 0 { - n += 1 + sov(uint64(m.FirstSeen)) + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) } - if m.LastSeen != 0 { - n += 1 + sov(uint64(m.LastSeen)) + if m.Port != 0 { + i = encodeVarint(dAtA, i, uint64(m.Port)) + i-- + dAtA[i] = 0x10 } - if len(m.EventTypeState) > 0 { - for k, v := range m.EventTypeState { - _ = k - _ = v - l = 0 - if v != nil { - l = v.SizeVT() - } - l += 1 + sov(uint64(l)) - mapEntrySize := 1 + sov(uint64(k)) + l - n += mapEntrySize + 1 + sov(uint64(mapEntrySize)) - } + if len(m.Ip) > 0 { + i -= len(m.Ip) + copy(dAtA[i:], m.Ip) + i = encodeVarint(dAtA, i, uint64(len(m.Ip))) + i-- + dAtA[i] = 0xa } - if len(m.Syscalls) > 0 { - l = 0 - for _, e := range m.Syscalls { - l += sov(uint64(e)) - } - n += 1 + sov(uint64(l)) + l + return len(dAtA) - i, nil +} + +func (m *NetworkStats) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil } - if len(m.Tags) > 0 { - for _, s := range m.Tags { - l = len(s) - n += 1 + l + sov(uint64(l)) - } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err } - n += len(m.unknownFields) - return n + return dAtA[:n], nil } -func (m *ImageTagTimes) SizeVT() (n int) { +func (m *NetworkStats) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *NetworkStats) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { - return 0 + return 0, nil } + i := len(dAtA) + _ = i var l int _ = l - if m.FirstSeen != 0 { - n += 1 + sov(uint64(m.FirstSeen)) + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) } - if m.LastSeen != 0 { - n += 1 + sov(uint64(m.LastSeen)) + if m.PacketCount != 0 { + i = encodeVarint(dAtA, i, uint64(m.PacketCount)) + i-- + dAtA[i] = 0x10 } - n += len(m.unknownFields) - return n + if m.DataSize != 0 { + i = encodeVarint(dAtA, i, uint64(m.DataSize)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil } -func (m *NodeBase) SizeVT() (n int) { +func (m *MatchedRule) MarshalVT() (dAtA []byte, err error) { if m == nil { - return 0 + return nil, nil } - var l int - _ = l - if len(m.Seen) > 0 { - for k, v := range m.Seen { - _ = k - _ = v - l = 0 - if v != nil { - l = v.SizeVT() - } - l += 1 + sov(uint64(l)) - mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + l - n += mapEntrySize + 1 + sov(uint64(mapEntrySize)) - } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err } - n += len(m.unknownFields) - return n + return dAtA[:n], nil } -func (m *SecurityProfile) SizeVT() (n int) { +func (m *MatchedRule) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *MatchedRule) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { - return 0 + return 0, nil } + i := len(dAtA) + _ = i var l int _ = l - if m.Status != 0 { - n += 1 + sov(uint64(m.Status)) - } - l = len(m.Version) - if l > 0 { - n += 1 + l + sov(uint64(l)) - } - if m.Metadata != nil { - l = m.Metadata.SizeVT() - n += 1 + l + sov(uint64(l)) + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) } - if len(m.Tags) > 0 { - for _, s := range m.Tags { - l = len(s) - n += 1 + l + sov(uint64(l)) + if len(m.RuleTags) > 0 { + for k := range m.RuleTags { + v := m.RuleTags[k] + baseI := i + i -= len(v) + copy(dAtA[i:], v) + i = encodeVarint(dAtA, i, uint64(len(v))) + i-- + dAtA[i] = 0x12 + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarint(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarint(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0x2a } } - if len(m.Syscalls) > 0 { - l = 0 - for _, e := range m.Syscalls { - l += sov(uint64(e)) - } - n += 1 + sov(uint64(l)) + l + if len(m.PolicyVersion) > 0 { + i -= len(m.PolicyVersion) + copy(dAtA[i:], m.PolicyVersion) + i = encodeVarint(dAtA, i, uint64(len(m.PolicyVersion))) + i-- + dAtA[i] = 0x22 } - if len(m.Tree) > 0 { - for _, e := range m.Tree { - l = e.SizeVT() - n += 1 + l + sov(uint64(l)) - } + if len(m.PolicyName) > 0 { + i -= len(m.PolicyName) + copy(dAtA[i:], m.PolicyName) + i = encodeVarint(dAtA, i, uint64(len(m.PolicyName))) + i-- + dAtA[i] = 0x1a } - if len(m.ProfileContexts) > 0 { - for k, v := range m.ProfileContexts { - _ = k - _ = v - l = 0 - if v != nil { - l = v.SizeVT() - } - l += 1 + sov(uint64(l)) - mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + l - n += mapEntrySize + 1 + sov(uint64(mapEntrySize)) - } + if len(m.RuleVersion) > 0 { + i -= len(m.RuleVersion) + copy(dAtA[i:], m.RuleVersion) + i = encodeVarint(dAtA, i, uint64(len(m.RuleVersion))) + i-- + dAtA[i] = 0x12 } - if m.Selector != nil { - l = m.Selector.SizeVT() - n += 1 + l + sov(uint64(l)) + if len(m.RuleId) > 0 { + i -= len(m.RuleId) + copy(dAtA[i:], m.RuleId) + i = encodeVarint(dAtA, i, uint64(len(m.RuleId))) + i-- + dAtA[i] = 0xa } - if m.Disabled { - n += 2 + return len(dAtA) - i, nil +} + +func (m *EventTypeState) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil } - if len(m.Mounts) > 0 { - for _, e := range m.Mounts { - l = e.SizeVT() - n += 1 + l + sov(uint64(l)) - } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err } - n += len(m.unknownFields) - return n + return dAtA[:n], nil } -func (m *MountNode) SizeVT() (n int) { +func (m *EventTypeState) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *EventTypeState) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { - return 0 + return 0, nil } + i := len(dAtA) + _ = i var l int _ = l - if m.NodeBase != nil { - l = m.NodeBase.SizeVT() - n += 1 + l + sov(uint64(l)) - } - l = len(m.MountPoint) - if l > 0 { - n += 1 + l + sov(uint64(l)) - } - l = len(m.MountRoot) - if l > 0 { - n += 1 + l + sov(uint64(l)) - } - l = len(m.Filesystem) - if l > 0 { - n += 1 + l + sov(uint64(l)) + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) } - if m.MountFlags != 0 { - n += 1 + sov(uint64(m.MountFlags)) + if m.EventProfileState != 0 { + i = encodeVarint(dAtA, i, uint64(m.EventProfileState)) + i-- + dAtA[i] = 0x10 } - if m.BaseNamespace { - n += 2 + if m.LastAnomalyNano != 0 { + i = encodeVarint(dAtA, i, uint64(m.LastAnomalyNano)) + i-- + dAtA[i] = 0x8 } - n += len(m.unknownFields) - return n + return len(dAtA) - i, nil } -func (m *ProcessActivityNode) SizeVT() (n int) { - if m == nil { - return 0 +func encodeVarint(dAtA []byte, offset int, v uint64) int { + offset -= sov(v) + base := offset + for v >= 1<<7 { + dAtA[offset] = uint8(v&0x7f | 0x80) + v >>= 7 + offset++ } - var l int - _ = l - if m.Process != nil { - l = m.Process.SizeVT() - n += 1 + l + sov(uint64(l)) + dAtA[offset] = uint8(v) + return base +} + +var vtprotoPool_SecDump = sync.Pool{ + New: func() interface{} { + return &SecDump{} + }, +} + +func (m *SecDump) ResetVT() { + f0 := m.Tags[:0] + for _, mm := range m.Tree { + mm.ResetVT() } - if len(m.Children) > 0 { - for _, e := range m.Children { - l = e.SizeVT() - n += 1 + l + sov(uint64(l)) - } + f1 := m.Tree[:0] + for _, mm := range m.Mounts { + mm.Reset() } - if len(m.Files) > 0 { - for _, e := range m.Files { - l = e.SizeVT() - n += 1 + l + sov(uint64(l)) - } + f2 := m.Mounts[:0] + for _, mm := range m.SecurityContexts { + mm.Reset() } - if len(m.DnsNames) > 0 { - for _, e := range m.DnsNames { - l = e.SizeVT() - n += 1 + l + sov(uint64(l)) - } + f3 := m.SecurityContexts[:0] + m.Reset() + m.Tags = f0 + m.Tree = f1 + m.Mounts = f2 + m.SecurityContexts = f3 +} +func (m *SecDump) ReturnToVTPool() { + if m != nil { + m.ResetVT() + vtprotoPool_SecDump.Put(m) } - if len(m.Sockets) > 0 { - for _, e := range m.Sockets { - l = e.SizeVT() - n += 1 + l + sov(uint64(l)) - } +} +func SecDumpFromVTPool() *SecDump { + return vtprotoPool_SecDump.Get().(*SecDump) +} + +var vtprotoPool_ProcessActivityNode = sync.Pool{ + New: func() interface{} { + return &ProcessActivityNode{} + }, +} + +func (m *ProcessActivityNode) ResetVT() { + m.Process.ReturnToVTPool() + for _, mm := range m.Children { + mm.ResetVT() } - if len(m.Syscalls) > 0 { - l = 0 - for _, e := range m.Syscalls { - l += sov(uint64(e)) - } - n += 1 + sov(uint64(l)) + l + f0 := m.Children[:0] + for _, mm := range m.Files { + mm.ResetVT() } - if m.GenerationType != 0 { - n += 1 + sov(uint64(m.GenerationType)) + f1 := m.Files[:0] + for _, mm := range m.DnsNames { + mm.Reset() } - if len(m.MatchedRules) > 0 { - for _, e := range m.MatchedRules { - l = e.SizeVT() - n += 1 + l + sov(uint64(l)) - } + f2 := m.DnsNames[:0] + for _, mm := range m.Sockets { + mm.Reset() } - if len(m.ImageTags) > 0 { - for _, s := range m.ImageTags { - l = len(s) - n += 1 + l + sov(uint64(l)) - } + f3 := m.Sockets[:0] + f4 := m.Syscalls[:0] + for _, mm := range m.MatchedRules { + mm.Reset() } - if len(m.ImdsEvents) > 0 { - for _, e := range m.ImdsEvents { - l = e.SizeVT() - n += 1 + l + sov(uint64(l)) - } + f5 := m.MatchedRules[:0] + f6 := m.ImageTags[:0] + for _, mm := range m.ImdsEvents { + mm.Reset() } - if len(m.SyscallNodes) > 0 { - for _, e := range m.SyscallNodes { - l = e.SizeVT() - n += 1 + l + sov(uint64(l)) - } + f7 := m.ImdsEvents[:0] + for _, mm := range m.SyscallNodes { + mm.Reset() } - if len(m.NetworkDevices) > 0 { - for _, e := range m.NetworkDevices { - l = e.SizeVT() - n += 1 + l + sov(uint64(l)) - } + f8 := m.SyscallNodes[:0] + for _, mm := range m.NetworkDevices { + mm.Reset() } - if m.NodeBase != nil { - l = m.NodeBase.SizeVT() - n += 1 + l + sov(uint64(l)) + f9 := m.NetworkDevices[:0] + for _, mm := range m.CapabilityNodes { + mm.Reset() } - if len(m.CapabilityNodes) > 0 { - for _, e := range m.CapabilityNodes { - l = e.SizeVT() - n += 1 + l + sov(uint64(l)) - } + f10 := m.CapabilityNodes[:0] + m.Reset() + m.Children = f0 + m.Files = f1 + m.DnsNames = f2 + m.Sockets = f3 + m.Syscalls = f4 + m.MatchedRules = f5 + m.ImageTags = f6 + m.ImdsEvents = f7 + m.SyscallNodes = f8 + m.NetworkDevices = f9 + m.CapabilityNodes = f10 +} +func (m *ProcessActivityNode) ReturnToVTPool() { + if m != nil { + m.ResetVT() + vtprotoPool_ProcessActivityNode.Put(m) } - n += len(m.unknownFields) - return n } - -func (m *ProcessInfo) SizeVT() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Pid != 0 { - n += 1 + sov(uint64(m.Pid)) +func ProcessActivityNodeFromVTPool() *ProcessActivityNode { + return vtprotoPool_ProcessActivityNode.Get().(*ProcessActivityNode) +} + +var vtprotoPool_ProcessInfo = sync.Pool{ + New: func() interface{} { + return &ProcessInfo{} + }, +} + +func (m *ProcessInfo) ResetVT() { + m.File.ReturnToVTPool() + f0 := m.Args[:0] + f1 := m.Envs[:0] + m.Reset() + m.Args = f0 + m.Envs = f1 +} +func (m *ProcessInfo) ReturnToVTPool() { + if m != nil { + m.ResetVT() + vtprotoPool_ProcessInfo.Put(m) } - if m.Tid != 0 { - n += 1 + sov(uint64(m.Tid)) +} +func ProcessInfoFromVTPool() *ProcessInfo { + return vtprotoPool_ProcessInfo.Get().(*ProcessInfo) +} + +var vtprotoPool_FileActivityNode = sync.Pool{ + New: func() interface{} { + return &FileActivityNode{} + }, +} + +func (m *FileActivityNode) ResetVT() { + m.File.ReturnToVTPool() + for _, mm := range m.Children { + mm.ResetVT() } - if m.Ppid != 0 { - n += 1 + sov(uint64(m.Ppid)) + f0 := m.Children[:0] + for _, mm := range m.MatchedRules { + mm.Reset() } - if m.Cookie != 0 { - n += 1 + sov(uint64(m.Cookie)) + f1 := m.MatchedRules[:0] + f2 := m.ImageTags[:0] + m.Reset() + m.Children = f0 + m.MatchedRules = f1 + m.ImageTags = f2 +} +func (m *FileActivityNode) ReturnToVTPool() { + if m != nil { + m.ResetVT() + vtprotoPool_FileActivityNode.Put(m) } - if m.IsThread { - n += 2 +} +func FileActivityNodeFromVTPool() *FileActivityNode { + return vtprotoPool_FileActivityNode.Get().(*FileActivityNode) +} + +var vtprotoPool_FileInfo = sync.Pool{ + New: func() interface{} { + return &FileInfo{} + }, +} + +func (m *FileInfo) ResetVT() { + f0 := m.Hashes[:0] + m.Reset() + m.Hashes = f0 +} +func (m *FileInfo) ReturnToVTPool() { + if m != nil { + m.ResetVT() + vtprotoPool_FileInfo.Put(m) } - if m.File != nil { - l = m.File.SizeVT() - n += 1 + l + sov(uint64(l)) +} +func FileInfoFromVTPool() *FileInfo { + return vtprotoPool_FileInfo.Get().(*FileInfo) +} +func (m *SecDump) SizeVT() (n int) { + if m == nil { + return 0 } - l = len(m.ContainerId) + var l int + _ = l + l = len(m.Host) if l > 0 { n += 1 + l + sov(uint64(l)) } - if m.SpanId != 0 { - n += 1 + sov(uint64(m.SpanId)) - } - if m.TraceId != 0 { - n += 1 + sov(uint64(m.TraceId)) - } - l = len(m.Tty) + l = len(m.Service) if l > 0 { n += 1 + l + sov(uint64(l)) } - l = len(m.Comm) + l = len(m.Source) if l > 0 { n += 1 + l + sov(uint64(l)) } - if m.ForkTime != 0 { - n += 1 + sov(uint64(m.ForkTime)) - } - if m.ExitTime != 0 { - n += 1 + sov(uint64(m.ExitTime)) - } - if m.ExecTime != 0 { - n += 1 + sov(uint64(m.ExecTime)) - } - if m.Credentials != nil { - l = m.Credentials.SizeVT() + if m.Metadata != nil { + l = m.Metadata.SizeVT() n += 1 + l + sov(uint64(l)) } - if len(m.Args) > 0 { - for _, s := range m.Args { + if len(m.Tags) > 0 { + for _, s := range m.Tags { l = len(s) - n += 2 + l + sov(uint64(l)) + n += 1 + l + sov(uint64(l)) } } - l = len(m.Argv0) - if l > 0 { - n += 2 + l + sov(uint64(l)) - } - if m.ArgsTruncated { - n += 3 - } - if len(m.Envs) > 0 { - for _, s := range m.Envs { - l = len(s) - n += 2 + l + sov(uint64(l)) + if len(m.Tree) > 0 { + for _, e := range m.Tree { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) } } - if m.EnvsTruncated { - n += 3 - } - if m.IsExecChild { - n += 3 + if len(m.Mounts) > 0 { + for _, e := range m.Mounts { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) + } } - if m.Cookie64 != 0 { - n += 2 + sov(uint64(m.Cookie64)) + if len(m.SecurityContexts) > 0 { + for _, e := range m.SecurityContexts { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) + } } n += len(m.unknownFields) return n } -func (m *FileActivityNode) SizeVT() (n int) { +func (m *Metadata) SizeVT() (n int) { if m == nil { return 0 } var l int _ = l - l = len(m.Name) + l = len(m.AgentVersion) if l > 0 { n += 1 + l + sov(uint64(l)) } - if m.File != nil { - l = m.File.SizeVT() + l = len(m.AgentCommit) + if l > 0 { n += 1 + l + sov(uint64(l)) } - if m.FirstSeen != 0 { - n += 1 + sov(uint64(m.FirstSeen)) + l = len(m.KernelVersion) + if l > 0 { + n += 1 + l + sov(uint64(l)) } - if m.Open != nil { - l = m.Open.SizeVT() + l = len(m.LinuxDistribution) + if l > 0 { n += 1 + l + sov(uint64(l)) } - if len(m.Children) > 0 { - for _, e := range m.Children { - l = e.SizeVT() - n += 1 + l + sov(uint64(l)) - } + l = len(m.Name) + if l > 0 { + n += 1 + l + sov(uint64(l)) } - if m.IsPattern { + l = len(m.ProtobufVersion) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.DifferentiateArgs { n += 2 } - if m.GenerationType != 0 { - n += 1 + sov(uint64(m.GenerationType)) + l = len(m.Comm) + if l > 0 { + n += 1 + l + sov(uint64(l)) } - if len(m.MatchedRules) > 0 { - for _, e := range m.MatchedRules { - l = e.SizeVT() - n += 1 + l + sov(uint64(l)) - } + l = len(m.ContainerId) + if l > 0 { + n += 1 + l + sov(uint64(l)) } - if len(m.ImageTags) > 0 { - for _, s := range m.ImageTags { - l = len(s) - n += 1 + l + sov(uint64(l)) - } + if m.Start != 0 { + n += 1 + sov(uint64(m.Start)) } - if m.NodeBase != nil { - l = m.NodeBase.SizeVT() + if m.End != 0 { + n += 1 + sov(uint64(m.End)) + } + if m.Size != 0 { + n += 1 + sov(uint64(m.Size)) + } + l = len(m.Arch) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Serialization) + if l > 0 { n += 1 + l + sov(uint64(l)) } + l = len(m.CgroupId) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.CgroupManager) + if l > 0 { + n += 2 + l + sov(uint64(l)) + } n += len(m.unknownFields) return n } -func (m *OpenNode) SizeVT() (n int) { +func (m *SeccompProfile) SizeVT() (n int) { if m == nil { return 0 } var l int _ = l - if m.Retval != 0 { - n += 1 + soz(uint64(m.Retval)) + if m.Type != 0 { + n += 1 + sov(uint64(m.Type)) } - if m.Flags != 0 { - n += 1 + sov(uint64(m.Flags)) + if m.LocalhostProfile != nil { + l = len(*m.LocalhostProfile) + n += 1 + l + sov(uint64(l)) } - if m.Mode != 0 { - n += 1 + sov(uint64(m.Mode)) + if m.Filter != nil { + l = m.Filter.SizeVT() + n += 1 + l + sov(uint64(l)) } n += len(m.unknownFields) return n } -func (m *DNSNode) SizeVT() (n int) { +func (m *SeccompFilter) SizeVT() (n int) { if m == nil { return 0 } var l int _ = l - if len(m.Requests) > 0 { - for _, e := range m.Requests { - l = e.SizeVT() - n += 1 + l + sov(uint64(l)) - } + l = len(m.DefaultAction) + 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 len(m.ImageTags) > 0 { - for _, s := range m.ImageTags { - l = len(s) - n += 1 + l + sov(uint64(l)) + if len(m.Syscalls) > 0 { + for k, v := range m.Syscalls { + _ = k + _ = v + l = 0 + if v != nil { + l = v.SizeVT() + } + l += 1 + sov(uint64(l)) + mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + l + n += mapEntrySize + 1 + sov(uint64(mapEntrySize)) } } - if m.NodeBase != nil { - l = m.NodeBase.SizeVT() - n += 1 + l + sov(uint64(l)) - } n += len(m.unknownFields) return n } -func (m *DNSInfo) SizeVT() (n int) { +func (m *SyscallRule) SizeVT() (n int) { if m == nil { return 0 } var l int _ = l - l = len(m.Name) + l = len(m.Action) if l > 0 { n += 1 + l + sov(uint64(l)) } - if m.Type != 0 { - n += 1 + sov(uint64(m.Type)) + if len(m.Conditions) > 0 { + for _, e := range m.Conditions { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) + } } - if m.Class != 0 { - n += 1 + sov(uint64(m.Class)) + n += len(m.unknownFields) + return n +} + +func (m *ArgCondition) SizeVT() (n int) { + if m == nil { + return 0 } - if m.Size != 0 { - n += 1 + sov(uint64(m.Size)) + var l int + _ = l + if m.ArgIndex != 0 { + n += 1 + sov(uint64(m.ArgIndex)) } - if m.Count != 0 { - n += 1 + sov(uint64(m.Count)) + l = len(m.Op) + if l > 0 { + n += 1 + l + sov(uint64(l)) } - if m.Response != nil { - l = m.Response.SizeVT() + if m.Value != 0 { + n += 1 + sov(uint64(m.Value)) + } + l = len(m.Action) + if l > 0 { n += 1 + l + sov(uint64(l)) } n += len(m.unknownFields) return n } -func (m *DNSResponseInfo) SizeVT() (n int) { +func (m *SecurityContext) SizeVT() (n int) { if m == nil { return 0 } var l int _ = l - if len(m.Ips) > 0 { - for _, s := range m.Ips { + if m.Privileged { + n += 2 + } + if m.Seccomp != nil { + l = m.Seccomp.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if len(m.CapabilitiesAdd) > 0 { + for _, s := range m.CapabilitiesAdd { l = len(s) n += 1 + l + sov(uint64(l)) } } - if len(m.Cnames) > 0 { - for _, s := range m.Cnames { + if len(m.CapabilitiesDrop) > 0 { + for _, s := range m.CapabilitiesDrop { l = len(s) n += 1 + l + sov(uint64(l)) } } + if m.RunAsNonRoot != nil { + n += 2 + } + if m.AllowPrivilegeEscalation != nil { + n += 2 + } + if m.ReadOnlyRootFilesystem != nil { + n += 2 + } n += len(m.unknownFields) return n } -func (m *SyscallNode) SizeVT() (n int) { +func (m *SecurityContextEntry) SizeVT() (n int) { if m == nil { return 0 } var l int _ = l - if len(m.ImageTags) > 0 { - for _, s := range m.ImageTags { - l = len(s) - n += 1 + l + sov(uint64(l)) - } + l = len(m.Namespace) + if l > 0 { + n += 1 + l + sov(uint64(l)) } - if m.Syscall != 0 { - n += 1 + sov(uint64(m.Syscall)) + l = len(m.OwnerKind) + if l > 0 { + n += 1 + l + sov(uint64(l)) } - if m.NodeBase != nil { - l = m.NodeBase.SizeVT() + l = len(m.OwnerName) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.ContainerName) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.SecurityContext != nil { + l = m.SecurityContext.SizeVT() n += 1 + l + sov(uint64(l)) } n += len(m.unknownFields) return n } -func (m *CapabilityNode) SizeVT() (n int) { +func (m *ProfileSelector) SizeVT() (n int) { if m == nil { return 0 } var l int _ = l - if m.NodeBase != nil { - l = m.NodeBase.SizeVT() + l = len(m.ImageName) + if l > 0 { n += 1 + l + sov(uint64(l)) } - if m.Capability != 0 { - n += 1 + sov(uint64(m.Capability)) - } - if m.IsCapable { - n += 2 + l = len(m.ImageTag) + if l > 0 { + n += 1 + l + sov(uint64(l)) } n += len(m.unknownFields) return n } -func (m *IMDSNode) SizeVT() (n int) { +func (m *ProfileContext) SizeVT() (n int) { if m == nil { return 0 } var l int _ = l - if len(m.MatchedRules) > 0 { - for _, e := range m.MatchedRules { - l = e.SizeVT() - n += 1 + l + sov(uint64(l)) + if m.FirstSeen != 0 { + n += 1 + sov(uint64(m.FirstSeen)) + } + if m.LastSeen != 0 { + n += 1 + sov(uint64(m.LastSeen)) + } + if len(m.EventTypeState) > 0 { + for k, v := range m.EventTypeState { + _ = k + _ = v + l = 0 + if v != nil { + l = v.SizeVT() + } + l += 1 + sov(uint64(l)) + mapEntrySize := 1 + sov(uint64(k)) + l + n += mapEntrySize + 1 + sov(uint64(mapEntrySize)) } } - if len(m.ImageTags) > 0 { - for _, s := range m.ImageTags { + if len(m.Syscalls) > 0 { + l = 0 + for _, e := range m.Syscalls { + l += sov(uint64(e)) + } + n += 1 + sov(uint64(l)) + l + } + if len(m.Tags) > 0 { + for _, s := range m.Tags { l = len(s) n += 1 + l + sov(uint64(l)) } } - if m.Event != nil { - l = m.Event.SizeVT() - n += 1 + l + sov(uint64(l)) - } - if m.NodeBase != nil { - l = m.NodeBase.SizeVT() - n += 1 + l + sov(uint64(l)) - } n += len(m.unknownFields) return n } -func (m *IMDSEvent) SizeVT() (n int) { +func (m *ImageTagTimes) SizeVT() (n int) { if m == nil { return 0 } var l int _ = l - l = len(m.Type) - if l > 0 { - n += 1 + l + sov(uint64(l)) - } - l = len(m.CloudProvider) - if l > 0 { - n += 1 + l + sov(uint64(l)) - } - l = len(m.Url) - if l > 0 { - n += 1 + l + sov(uint64(l)) - } - l = len(m.Host) - if l > 0 { - n += 1 + l + sov(uint64(l)) - } - l = len(m.UserAgent) - if l > 0 { - n += 1 + l + sov(uint64(l)) - } - l = len(m.Server) - if l > 0 { - n += 1 + l + sov(uint64(l)) + if m.FirstSeen != 0 { + n += 1 + sov(uint64(m.FirstSeen)) } - if m.Aws != nil { - l = m.Aws.SizeVT() - n += 1 + l + sov(uint64(l)) + if m.LastSeen != 0 { + n += 1 + sov(uint64(m.LastSeen)) } n += len(m.unknownFields) return n } -func (m *AWSIMDSEvent) SizeVT() (n int) { +func (m *NodeBase) SizeVT() (n int) { if m == nil { return 0 } var l int _ = l - if m.IsImdsV2 { - n += 2 - } - if m.SecurityCredentials != nil { - l = m.SecurityCredentials.SizeVT() - n += 1 + l + sov(uint64(l)) + if len(m.Seen) > 0 { + for k, v := range m.Seen { + _ = k + _ = v + l = 0 + if v != nil { + l = v.SizeVT() + } + l += 1 + sov(uint64(l)) + mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + l + n += mapEntrySize + 1 + sov(uint64(mapEntrySize)) + } } n += len(m.unknownFields) return n } -func (m *AWSSecurityCredentials) SizeVT() (n int) { +func (m *SecurityProfile) SizeVT() (n int) { if m == nil { return 0 } var l int _ = l - l = len(m.Code) - if l > 0 { - n += 1 + l + sov(uint64(l)) + if m.Status != 0 { + n += 1 + sov(uint64(m.Status)) } - l = len(m.Type) + l = len(m.Version) if l > 0 { n += 1 + l + sov(uint64(l)) } - l = len(m.AccessKeyId) - if l > 0 { + if m.Metadata != nil { + l = m.Metadata.SizeVT() n += 1 + l + sov(uint64(l)) } - l = len(m.LastUpdated) - if l > 0 { - n += 1 + l + sov(uint64(l)) + if len(m.Tags) > 0 { + for _, s := range m.Tags { + l = len(s) + n += 1 + l + sov(uint64(l)) + } } - l = len(m.ExpirationRaw) - if l > 0 { + if len(m.Syscalls) > 0 { + l = 0 + for _, e := range m.Syscalls { + l += sov(uint64(e)) + } + n += 1 + sov(uint64(l)) + l + } + if len(m.Tree) > 0 { + for _, e := range m.Tree { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) + } + } + if len(m.ProfileContexts) > 0 { + for k, v := range m.ProfileContexts { + _ = k + _ = v + l = 0 + if v != nil { + l = v.SizeVT() + } + l += 1 + sov(uint64(l)) + mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + l + n += mapEntrySize + 1 + sov(uint64(mapEntrySize)) + } + } + if m.Selector != nil { + l = m.Selector.SizeVT() n += 1 + l + sov(uint64(l)) } + if m.Disabled { + n += 2 + } + if len(m.Mounts) > 0 { + for _, e := range m.Mounts { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) + } + } + if len(m.SecurityContexts) > 0 { + for _, e := range m.SecurityContexts { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) + } + } n += len(m.unknownFields) return n } -func (m *FileInfo) SizeVT() (n int) { +func (m *MountNode) SizeVT() (n int) { if m == nil { return 0 } var l int _ = l - if m.Uid != 0 { - n += 1 + sov(uint64(m.Uid)) + if m.NodeBase != nil { + l = m.NodeBase.SizeVT() + n += 1 + l + sov(uint64(l)) } - l = len(m.User) + l = len(m.MountPoint) if l > 0 { n += 1 + l + sov(uint64(l)) } - if m.Gid != 0 { - n += 1 + sov(uint64(m.Gid)) - } - l = len(m.Group) + l = len(m.MountRoot) if l > 0 { n += 1 + l + sov(uint64(l)) } - if m.Mode != 0 { - n += 1 + sov(uint64(m.Mode)) + l = len(m.Filesystem) + if l > 0 { + n += 1 + l + sov(uint64(l)) } - if m.Ctime != 0 { - n += 1 + sov(uint64(m.Ctime)) + if m.MountFlags != 0 { + n += 1 + sov(uint64(m.MountFlags)) } - if m.Mtime != 0 { - n += 1 + sov(uint64(m.Mtime)) + if m.BaseNamespace { + n += 2 } - if m.MountId != 0 { - n += 1 + sov(uint64(m.MountId)) + n += len(m.unknownFields) + return n +} + +func (m *ProcessActivityNode) SizeVT() (n int) { + if m == nil { + return 0 } - if m.Inode != 0 { - n += 1 + sov(uint64(m.Inode)) + var l int + _ = l + if m.Process != nil { + l = m.Process.SizeVT() + n += 1 + l + sov(uint64(l)) } - if m.InUpperLayer { - n += 2 + if len(m.Children) > 0 { + for _, e := range m.Children { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) + } } - l = len(m.Path) - if l > 0 { - n += 1 + l + sov(uint64(l)) + if len(m.Files) > 0 { + for _, e := range m.Files { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) + } } - l = len(m.Basename) - if l > 0 { - n += 1 + l + sov(uint64(l)) + if len(m.DnsNames) > 0 { + for _, e := range m.DnsNames { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) + } } - l = len(m.Filesystem) - if l > 0 { - n += 1 + l + sov(uint64(l)) + if len(m.Sockets) > 0 { + for _, e := range m.Sockets { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) + } } - l = len(m.PackageName) - if l > 0 { - n += 1 + l + sov(uint64(l)) + if len(m.Syscalls) > 0 { + l = 0 + for _, e := range m.Syscalls { + l += sov(uint64(e)) + } + n += 1 + sov(uint64(l)) + l } - l = len(m.PackageVersion) - if l > 0 { - n += 1 + l + sov(uint64(l)) + if m.GenerationType != 0 { + n += 1 + sov(uint64(m.GenerationType)) } - l = len(m.PackageSrcVersion) - if l > 0 { - n += 2 + l + sov(uint64(l)) + if len(m.MatchedRules) > 0 { + for _, e := range m.MatchedRules { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) + } } - if len(m.Hashes) > 0 { - for _, s := range m.Hashes { + if len(m.ImageTags) > 0 { + for _, s := range m.ImageTags { l = len(s) - n += 2 + l + sov(uint64(l)) + n += 1 + l + sov(uint64(l)) } } - if m.HashState != 0 { - n += 2 + sov(uint64(m.HashState)) + if len(m.ImdsEvents) > 0 { + for _, e := range m.ImdsEvents { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) + } } - if m.PackageEpoch != nil { - n += 2 + sov(uint64(*m.PackageEpoch)) + if len(m.SyscallNodes) > 0 { + for _, e := range m.SyscallNodes { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) + } } - if m.PackageRelease != nil { - l = len(*m.PackageRelease) - n += 2 + l + sov(uint64(l)) + if len(m.NetworkDevices) > 0 { + for _, e := range m.NetworkDevices { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) + } } - if m.PackageSrcEpoch != nil { - n += 2 + sov(uint64(*m.PackageSrcEpoch)) + if m.NodeBase != nil { + l = m.NodeBase.SizeVT() + n += 1 + l + sov(uint64(l)) } - if m.PackageSrcRelease != nil { - l = len(*m.PackageSrcRelease) - n += 2 + l + sov(uint64(l)) + if len(m.CapabilityNodes) > 0 { + for _, e := range m.CapabilityNodes { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) + } } n += len(m.unknownFields) return n } -func (m *Credentials) SizeVT() (n int) { +func (m *ProcessInfo) SizeVT() (n int) { if m == nil { return 0 } var l int _ = l - if m.Uid != 0 { - n += 1 + sov(uint64(m.Uid)) + if m.Pid != 0 { + n += 1 + sov(uint64(m.Pid)) } - if m.Gid != 0 { - n += 1 + sov(uint64(m.Gid)) + if m.Tid != 0 { + n += 1 + sov(uint64(m.Tid)) } - l = len(m.User) - if l > 0 { + if m.Ppid != 0 { + n += 1 + sov(uint64(m.Ppid)) + } + if m.Cookie != 0 { + n += 1 + sov(uint64(m.Cookie)) + } + if m.IsThread { + n += 2 + } + if m.File != nil { + l = m.File.SizeVT() n += 1 + l + sov(uint64(l)) } - l = len(m.Group) + l = len(m.ContainerId) if l > 0 { n += 1 + l + sov(uint64(l)) } - if m.EffectiveUid != 0 { - n += 1 + sov(uint64(m.EffectiveUid)) + if m.SpanId != 0 { + n += 1 + sov(uint64(m.SpanId)) } - if m.EffectiveGid != 0 { - n += 1 + sov(uint64(m.EffectiveGid)) + if m.TraceId != 0 { + n += 1 + sov(uint64(m.TraceId)) } - l = len(m.EffectiveUser) + l = len(m.Tty) if l > 0 { n += 1 + l + sov(uint64(l)) } - l = len(m.EffectiveGroup) + l = len(m.Comm) if l > 0 { n += 1 + l + sov(uint64(l)) } - if m.FsUid != 0 { - n += 1 + sov(uint64(m.FsUid)) + if m.ForkTime != 0 { + n += 1 + sov(uint64(m.ForkTime)) } - if m.FsGid != 0 { - n += 1 + sov(uint64(m.FsGid)) + if m.ExitTime != 0 { + n += 1 + sov(uint64(m.ExitTime)) } - l = len(m.FsUser) - if l > 0 { + if m.ExecTime != 0 { + n += 1 + sov(uint64(m.ExecTime)) + } + if m.Credentials != nil { + l = m.Credentials.SizeVT() n += 1 + l + sov(uint64(l)) } - l = len(m.FsGroup) + if len(m.Args) > 0 { + for _, s := range m.Args { + l = len(s) + n += 2 + l + sov(uint64(l)) + } + } + l = len(m.Argv0) if l > 0 { - n += 1 + l + sov(uint64(l)) + n += 2 + l + sov(uint64(l)) } - if m.CapEffective != 0 { - n += 1 + sov(uint64(m.CapEffective)) + if m.ArgsTruncated { + n += 3 } - if m.CapPermitted != 0 { - n += 1 + sov(uint64(m.CapPermitted)) + if len(m.Envs) > 0 { + for _, s := range m.Envs { + l = len(s) + n += 2 + l + sov(uint64(l)) + } + } + if m.EnvsTruncated { + n += 3 + } + if m.IsExecChild { + n += 3 + } + if m.Cookie64 != 0 { + n += 2 + sov(uint64(m.Cookie64)) } n += len(m.unknownFields) return n } -func (m *SocketNode) SizeVT() (n int) { +func (m *FileActivityNode) SizeVT() (n int) { if m == nil { return 0 } var l int _ = l - l = len(m.Family) + l = len(m.Name) if l > 0 { n += 1 + l + sov(uint64(l)) } - if len(m.Bind) > 0 { - for _, e := range m.Bind { + if m.File != nil { + l = m.File.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if m.FirstSeen != 0 { + n += 1 + sov(uint64(m.FirstSeen)) + } + if m.Open != nil { + l = m.Open.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if len(m.Children) > 0 { + for _, e := range m.Children { l = e.SizeVT() n += 1 + l + sov(uint64(l)) } } - if len(m.Connect) > 0 { - for _, e := range m.Connect { + if m.IsPattern { + n += 2 + } + if m.GenerationType != 0 { + n += 1 + sov(uint64(m.GenerationType)) + } + if len(m.MatchedRules) > 0 { + for _, e := range m.MatchedRules { l = e.SizeVT() n += 1 + l + sov(uint64(l)) } } + if len(m.ImageTags) > 0 { + for _, s := range m.ImageTags { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + if m.NodeBase != nil { + l = m.NodeBase.SizeVT() + n += 1 + l + sov(uint64(l)) + } n += len(m.unknownFields) return n } -func (m *BindNode) SizeVT() (n int) { +func (m *OpenNode) SizeVT() (n int) { if m == nil { return 0 } var l int _ = l - if m.Port != 0 { - n += 1 + sov(uint64(m.Port)) + if m.Retval != 0 { + n += 1 + soz(uint64(m.Retval)) } - l = len(m.Ip) - if l > 0 { - n += 1 + l + sov(uint64(l)) + if m.Flags != 0 { + n += 1 + sov(uint64(m.Flags)) + } + if m.Mode != 0 { + n += 1 + sov(uint64(m.Mode)) + } + n += len(m.unknownFields) + return n +} + +func (m *DNSNode) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Requests) > 0 { + for _, e := range m.Requests { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) + } } if len(m.MatchedRules) > 0 { for _, e := range m.MatchedRules { @@ -3979,9 +4162,6 @@ func (m *BindNode) SizeVT() (n int) { n += 1 + l + sov(uint64(l)) } } - if m.Protocol != 0 { - n += 1 + sov(uint64(m.Protocol)) - } if m.NodeBase != nil { l = m.NodeBase.SizeVT() n += 1 + l + sov(uint64(l)) @@ -3990,61 +4170,51 @@ func (m *BindNode) SizeVT() (n int) { return n } -func (m *ConnectNode) SizeVT() (n int) { +func (m *DNSInfo) 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) + l = len(m.Name) 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.Type != 0 { + n += 1 + sov(uint64(m.Type)) } - if m.NodeBase != nil { - l = m.NodeBase.SizeVT() - n += 1 + l + sov(uint64(l)) + if m.Class != 0 { + n += 1 + sov(uint64(m.Class)) } - if m.Protocol != 0 { - n += 1 + sov(uint64(m.Protocol)) + if m.Size != 0 { + n += 1 + sov(uint64(m.Size)) + } + if m.Count != 0 { + n += 1 + sov(uint64(m.Count)) + } + if m.Response != nil { + l = m.Response.SizeVT() + n += 1 + l + sov(uint64(l)) } n += len(m.unknownFields) return n } -func (m *NetworkDeviceNode) SizeVT() (n int) { +func (m *DNSResponseInfo) SizeVT() (n int) { if m == nil { return 0 } var l int _ = l - if len(m.MatchedRules) > 0 { - for _, e := range m.MatchedRules { - l = e.SizeVT() + if len(m.Ips) > 0 { + for _, s := range m.Ips { + l = len(s) n += 1 + l + sov(uint64(l)) } } - if m.Netns != 0 { - n += 1 + sov(uint64(m.Netns)) - } - if m.Ifindex != 0 { - n += 1 + sov(uint64(m.Ifindex)) - } - l = len(m.Ifname) - if l > 0 { - n += 1 + l + sov(uint64(l)) - } - if len(m.FlowNodes) > 0 { - for _, e := range m.FlowNodes { - l = e.SizeVT() + if len(m.Cnames) > 0 { + for _, s := range m.Cnames { + l = len(s) n += 1 + l + sov(uint64(l)) } } @@ -4052,7 +4222,7 @@ func (m *NetworkDeviceNode) SizeVT() (n int) { return n } -func (m *FlowNode) SizeVT() (n int) { +func (m *SyscallNode) SizeVT() (n int) { if m == nil { return 0 } @@ -4064,26 +4234,57 @@ func (m *FlowNode) SizeVT() (n int) { n += 1 + l + sov(uint64(l)) } } - if m.Source != nil { - l = m.Source.SizeVT() + if m.Syscall != 0 { + n += 1 + sov(uint64(m.Syscall)) + } + if m.NodeBase != nil { + l = m.NodeBase.SizeVT() n += 1 + l + sov(uint64(l)) } - if m.Destination != nil { - l = m.Destination.SizeVT() + n += len(m.unknownFields) + return n +} + +func (m *CapabilityNode) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.NodeBase != nil { + l = m.NodeBase.SizeVT() n += 1 + l + sov(uint64(l)) } - if m.L3Protocol != 0 { - n += 1 + sov(uint64(m.L3Protocol)) + if m.Capability != 0 { + n += 1 + sov(uint64(m.Capability)) } - if m.L4Protocol != 0 { - n += 1 + sov(uint64(m.L4Protocol)) + if m.IsCapable { + n += 2 } - if m.Ingress != nil { - l = m.Ingress.SizeVT() - n += 1 + l + sov(uint64(l)) + n += len(m.unknownFields) + return n +} + +func (m *IMDSNode) SizeVT() (n int) { + if m == nil { + return 0 } - if m.Egress != nil { - l = m.Egress.SizeVT() + var l int + _ = l + if len(m.MatchedRules) > 0 { + for _, e := range m.MatchedRules { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) + } + } + if len(m.ImageTags) > 0 { + for _, s := range m.ImageTags { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + if m.Event != nil { + l = m.Event.SizeVT() n += 1 + l + sov(uint64(l)) } if m.NodeBase != nil { @@ -4094,96 +4295,1695 @@ func (m *FlowNode) SizeVT() (n int) { return n } -func (m *IPPortContext) SizeVT() (n int) { +func (m *IMDSEvent) SizeVT() (n int) { if m == nil { return 0 } var l int _ = l - l = len(m.Ip) + l = len(m.Type) if l > 0 { n += 1 + l + sov(uint64(l)) } - if m.Port != 0 { - n += 1 + sov(uint64(m.Port)) + l = len(m.CloudProvider) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Url) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Host) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.UserAgent) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Server) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.Aws != nil { + l = m.Aws.SizeVT() + n += 1 + l + sov(uint64(l)) } n += len(m.unknownFields) return n } -func (m *NetworkStats) SizeVT() (n int) { +func (m *AWSIMDSEvent) SizeVT() (n int) { if m == nil { return 0 } var l int _ = l - if m.DataSize != 0 { - n += 1 + sov(uint64(m.DataSize)) + if m.IsImdsV2 { + n += 2 } - if m.PacketCount != 0 { - n += 1 + sov(uint64(m.PacketCount)) + if m.SecurityCredentials != nil { + l = m.SecurityCredentials.SizeVT() + n += 1 + l + sov(uint64(l)) } n += len(m.unknownFields) return n } -func (m *MatchedRule) SizeVT() (n int) { +func (m *AWSSecurityCredentials) SizeVT() (n int) { if m == nil { return 0 } var l int _ = l - l = len(m.RuleId) + l = len(m.Code) if l > 0 { n += 1 + l + sov(uint64(l)) } - l = len(m.RuleVersion) + l = len(m.Type) if l > 0 { n += 1 + l + sov(uint64(l)) } - l = len(m.PolicyName) + l = len(m.AccessKeyId) if l > 0 { n += 1 + l + sov(uint64(l)) } - l = len(m.PolicyVersion) + l = len(m.LastUpdated) if l > 0 { n += 1 + l + sov(uint64(l)) } - if len(m.RuleTags) > 0 { - for k, v := range m.RuleTags { - _ = k - _ = v - mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + 1 + len(v) + sov(uint64(len(v))) - n += mapEntrySize + 1 + sov(uint64(mapEntrySize)) + l = len(m.ExpirationRaw) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *FileInfo) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Uid != 0 { + n += 1 + sov(uint64(m.Uid)) + } + l = len(m.User) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.Gid != 0 { + n += 1 + sov(uint64(m.Gid)) + } + l = len(m.Group) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.Mode != 0 { + n += 1 + sov(uint64(m.Mode)) + } + if m.Ctime != 0 { + n += 1 + sov(uint64(m.Ctime)) + } + if m.Mtime != 0 { + n += 1 + sov(uint64(m.Mtime)) + } + if m.MountId != 0 { + n += 1 + sov(uint64(m.MountId)) + } + if m.Inode != 0 { + n += 1 + sov(uint64(m.Inode)) + } + if m.InUpperLayer { + n += 2 + } + l = len(m.Path) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Basename) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Filesystem) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.PackageName) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.PackageVersion) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.PackageSrcVersion) + if l > 0 { + n += 2 + l + sov(uint64(l)) + } + if len(m.Hashes) > 0 { + for _, s := range m.Hashes { + l = len(s) + n += 2 + l + sov(uint64(l)) + } + } + if m.HashState != 0 { + n += 2 + sov(uint64(m.HashState)) + } + if m.PackageEpoch != nil { + n += 2 + sov(uint64(*m.PackageEpoch)) + } + if m.PackageRelease != nil { + l = len(*m.PackageRelease) + n += 2 + l + sov(uint64(l)) + } + if m.PackageSrcEpoch != nil { + n += 2 + sov(uint64(*m.PackageSrcEpoch)) + } + if m.PackageSrcRelease != nil { + l = len(*m.PackageSrcRelease) + n += 2 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *Credentials) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Uid != 0 { + n += 1 + sov(uint64(m.Uid)) + } + if m.Gid != 0 { + n += 1 + sov(uint64(m.Gid)) + } + l = len(m.User) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Group) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.EffectiveUid != 0 { + n += 1 + sov(uint64(m.EffectiveUid)) + } + if m.EffectiveGid != 0 { + n += 1 + sov(uint64(m.EffectiveGid)) + } + l = len(m.EffectiveUser) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.EffectiveGroup) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.FsUid != 0 { + n += 1 + sov(uint64(m.FsUid)) + } + if m.FsGid != 0 { + n += 1 + sov(uint64(m.FsGid)) + } + l = len(m.FsUser) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.FsGroup) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.CapEffective != 0 { + n += 1 + sov(uint64(m.CapEffective)) + } + if m.CapPermitted != 0 { + n += 1 + sov(uint64(m.CapPermitted)) + } + n += len(m.unknownFields) + return n +} + +func (m *SocketNode) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Family) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if len(m.Bind) > 0 { + for _, e := range m.Bind { + l = e.SizeVT() + 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 +} + +func (m *BindNode) 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 len(m.ImageTags) > 0 { + for _, s := range m.ImageTags { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + if m.Protocol != 0 { + n += 1 + sov(uint64(m.Protocol)) + } + if m.NodeBase != nil { + l = m.NodeBase.SizeVT() + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + 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 + } + var l int + _ = l + if len(m.MatchedRules) > 0 { + for _, e := range m.MatchedRules { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) + } + } + if m.Netns != 0 { + n += 1 + sov(uint64(m.Netns)) + } + if m.Ifindex != 0 { + n += 1 + sov(uint64(m.Ifindex)) + } + l = len(m.Ifname) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if len(m.FlowNodes) > 0 { + for _, e := range m.FlowNodes { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *FlowNode) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.ImageTags) > 0 { + for _, s := range m.ImageTags { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + if m.Source != nil { + l = m.Source.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if m.Destination != nil { + l = m.Destination.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if m.L3Protocol != 0 { + n += 1 + sov(uint64(m.L3Protocol)) + } + if m.L4Protocol != 0 { + n += 1 + sov(uint64(m.L4Protocol)) + } + if m.Ingress != nil { + l = m.Ingress.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if m.Egress != nil { + l = m.Egress.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if m.NodeBase != nil { + l = m.NodeBase.SizeVT() + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *IPPortContext) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Ip) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.Port != 0 { + n += 1 + sov(uint64(m.Port)) + } + n += len(m.unknownFields) + return n +} + +func (m *NetworkStats) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.DataSize != 0 { + n += 1 + sov(uint64(m.DataSize)) + } + if m.PacketCount != 0 { + n += 1 + sov(uint64(m.PacketCount)) + } + n += len(m.unknownFields) + return n +} + +func (m *MatchedRule) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.RuleId) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.RuleVersion) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.PolicyName) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.PolicyVersion) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if len(m.RuleTags) > 0 { + for k, v := range m.RuleTags { + _ = k + _ = v + mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + 1 + len(v) + sov(uint64(len(v))) + n += mapEntrySize + 1 + sov(uint64(mapEntrySize)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *EventTypeState) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.LastAnomalyNano != 0 { + n += 1 + sov(uint64(m.LastAnomalyNano)) + } + if m.EventProfileState != 0 { + n += 1 + sov(uint64(m.EventProfileState)) + } + n += len(m.unknownFields) + return n +} + +func sov(x uint64) (n int) { + return (bits.Len64(x|1) + 6) / 7 +} +func soz(x uint64) (n int) { + return sov(uint64((x << 1) ^ uint64((int64(x) >> 63)))) +} +func (m *SecDump) 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: SecDump: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: SecDump: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Host", 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.Host = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Service", 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.Service = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Source", 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.Source = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Metadata", 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.Metadata == nil { + m.Metadata = &Metadata{} + } + if err := m.Metadata.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Tags", 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.Tags = append(m.Tags, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Tree", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if len(m.Tree) == cap(m.Tree) { + m.Tree = append(m.Tree, &ProcessActivityNode{}) + } else { + m.Tree = m.Tree[:len(m.Tree)+1] + if m.Tree[len(m.Tree)-1] == nil { + m.Tree[len(m.Tree)-1] = &ProcessActivityNode{} + } + } + if err := m.Tree[len(m.Tree)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 7: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Mounts", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if len(m.Mounts) == cap(m.Mounts) { + m.Mounts = append(m.Mounts, &MountNode{}) + } else { + m.Mounts = m.Mounts[:len(m.Mounts)+1] + if m.Mounts[len(m.Mounts)-1] == nil { + m.Mounts[len(m.Mounts)-1] = &MountNode{} + } + } + if err := m.Mounts[len(m.Mounts)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 8: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SecurityContexts", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if len(m.SecurityContexts) == cap(m.SecurityContexts) { + m.SecurityContexts = append(m.SecurityContexts, &SecurityContextEntry{}) + } else { + m.SecurityContexts = m.SecurityContexts[:len(m.SecurityContexts)+1] + if m.SecurityContexts[len(m.SecurityContexts)-1] == nil { + m.SecurityContexts[len(m.SecurityContexts)-1] = &SecurityContextEntry{} + } + } + if err := m.SecurityContexts[len(m.SecurityContexts)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *Metadata) 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: Metadata: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Metadata: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AgentVersion", 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.AgentVersion = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AgentCommit", 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.AgentCommit = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field KernelVersion", 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.KernelVersion = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field LinuxDistribution", 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.LinuxDistribution = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Name", 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.Name = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ProtobufVersion", 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.ProtobufVersion = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 7: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field DifferentiateArgs", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.DifferentiateArgs = bool(v != 0) + case 8: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Comm", 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.Comm = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 9: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ContainerId", 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.ContainerId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 10: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Start", wireType) + } + m.Start = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Start |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 11: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field End", wireType) + } + m.End = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.End |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 12: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Size", wireType) + } + m.Size = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Size |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 13: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Arch", 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.Arch = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 14: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Serialization", 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.Serialization = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 15: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field CgroupId", 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.CgroupId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 16: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field CgroupManager", 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.CgroupManager = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *SeccompProfile) 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: SeccompProfile: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: SeccompProfile: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) + } + m.Type = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Type |= SeccompProfile_Type(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field LocalhostProfile", 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 + } + s := string(dAtA[iNdEx:postIndex]) + m.LocalhostProfile = &s + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Filter", 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.Filter == nil { + m.Filter = &SeccompFilter{} + } + if err := m.Filter.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *SeccompFilter) 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: SeccompFilter: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: SeccompFilter: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field DefaultAction", 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.DefaultAction = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Syscalls", 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.Syscalls == nil { + m.Syscalls = make(map[string]*SyscallRule) + } + var mapkey string + var mapvalue *SyscallRule + for iNdEx < postIndex { + entryPreIndex := 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) + if fieldNum == 1 { + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLength + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLength + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + var mapmsglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + mapmsglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if mapmsglen < 0 { + return ErrInvalidLength + } + postmsgIndex := iNdEx + mapmsglen + if postmsgIndex < 0 { + return ErrInvalidLength + } + if postmsgIndex > l { + return io.ErrUnexpectedEOF + } + mapvalue = &SyscallRule{} + if err := mapvalue.UnmarshalVT(dAtA[iNdEx:postmsgIndex]); err != nil { + return err + } + iNdEx = postmsgIndex + } else { + iNdEx = entryPreIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + m.Syscalls[mapkey] = mapvalue + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy } } - n += len(m.unknownFields) - return n -} -func (m *EventTypeState) SizeVT() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.LastAnomalyNano != 0 { - n += 1 + sov(uint64(m.LastAnomalyNano)) - } - if m.EventProfileState != 0 { - n += 1 + sov(uint64(m.EventProfileState)) + if iNdEx > l { + return io.ErrUnexpectedEOF } - n += len(m.unknownFields) - return n -} - -func sov(x uint64) (n int) { - return (bits.Len64(x|1) + 6) / 7 -} -func soz(x uint64) (n int) { - return sov(uint64((x << 1) ^ uint64((int64(x) >> 63)))) + return nil } -func (m *SecDump) UnmarshalVT(dAtA []byte) error { +func (m *SyscallRule) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -4206,15 +6006,15 @@ func (m *SecDump) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: SecDump: wiretype end group for non-group") + return fmt.Errorf("proto: SyscallRule: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: SecDump: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: SyscallRule: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Host", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Action", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -4242,13 +6042,13 @@ func (m *SecDump) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Host = string(dAtA[iNdEx:postIndex]) + m.Action = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Service", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Conditions", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -4258,61 +6058,82 @@ func (m *SecDump) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLength } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLength } if postIndex > l { return io.ErrUnexpectedEOF } - m.Service = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Source", wireType) + m.Conditions = append(m.Conditions, &ArgCondition{}) + if err := m.Conditions[len(m.Conditions)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err } - 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 - } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err } - intStringLen := int(stringLen) - if intStringLen < 0 { + if (skippy < 0) || (iNdEx+skippy) < 0 { return ErrInvalidLength } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLength + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF } - if postIndex > l { + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ArgCondition) 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 } - m.Source = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Metadata", wireType) + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break } - var msglen int + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ArgCondition: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ArgCondition: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ArgIndex", wireType) + } + m.ArgIndex = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -4322,31 +6143,14 @@ func (m *SecDump) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + m.ArgIndex |= int32(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.Metadata == nil { - m.Metadata = &Metadata{} - } - if err := m.Metadata.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 5: + case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Tags", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Op", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -4374,13 +6178,13 @@ func (m *SecDump) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Tags = append(m.Tags, string(dAtA[iNdEx:postIndex])) + m.Op = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 6: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Tree", wireType) + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) } - var msglen int + m.Value = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -4390,38 +6194,16 @@ func (m *SecDump) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + m.Value |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { - return ErrInvalidLength - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLength - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if len(m.Tree) == cap(m.Tree) { - m.Tree = append(m.Tree, &ProcessActivityNode{}) - } else { - m.Tree = m.Tree[:len(m.Tree)+1] - if m.Tree[len(m.Tree)-1] == nil { - m.Tree[len(m.Tree)-1] = &ProcessActivityNode{} - } - } - if err := m.Tree[len(m.Tree)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 7: + case 4: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Mounts", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Action", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -4431,32 +6213,23 @@ func (m *SecDump) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLength } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLength } if postIndex > l { return io.ErrUnexpectedEOF } - if len(m.Mounts) == cap(m.Mounts) { - m.Mounts = append(m.Mounts, &MountNode{}) - } else { - m.Mounts = m.Mounts[:len(m.Mounts)+1] - if m.Mounts[len(m.Mounts)-1] == nil { - m.Mounts[len(m.Mounts)-1] = &MountNode{} - } - } - if err := m.Mounts[len(m.Mounts)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err - } + m.Action = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -4480,7 +6253,7 @@ func (m *SecDump) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *Metadata) UnmarshalVT(dAtA []byte) error { +func (m *SecurityContext) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -4500,52 +6273,20 @@ func (m *Metadata) UnmarshalVT(dAtA []byte) error { break } } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: Metadata: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Metadata: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AgentVersion", 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.AgentVersion = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AgentCommit", wireType) + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: SecurityContext: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: SecurityContext: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Privileged", wireType) } - var stringLen uint64 + var v int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -4555,29 +6296,17 @@ func (m *Metadata) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + v |= int(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.AgentCommit = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: + m.Privileged = bool(v != 0) + case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field KernelVersion", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Seccomp", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -4587,27 +6316,31 @@ func (m *Metadata) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLength } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLength } if postIndex > l { return io.ErrUnexpectedEOF } - m.KernelVersion = string(dAtA[iNdEx:postIndex]) + if m.Seccomp == nil { + m.Seccomp = &SeccompProfile{} + } + if err := m.Seccomp.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } iNdEx = postIndex - case 4: + case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field LinuxDistribution", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field CapabilitiesAdd", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -4635,11 +6368,11 @@ func (m *Metadata) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.LinuxDistribution = string(dAtA[iNdEx:postIndex]) + m.CapabilitiesAdd = append(m.CapabilitiesAdd, string(dAtA[iNdEx:postIndex])) iNdEx = postIndex - case 5: + case 4: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field CapabilitiesDrop", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -4667,13 +6400,13 @@ func (m *Metadata) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Name = string(dAtA[iNdEx:postIndex]) + m.CapabilitiesDrop = append(m.CapabilitiesDrop, string(dAtA[iNdEx:postIndex])) iNdEx = postIndex - case 6: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ProtobufVersion", wireType) + case 5: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field RunAsNonRoot", wireType) } - var stringLen uint64 + var v int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -4683,27 +6416,16 @@ func (m *Metadata) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + v |= int(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.ProtobufVersion = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 7: + b := bool(v != 0) + m.RunAsNonRoot = &b + case 6: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field DifferentiateArgs", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field AllowPrivilegeEscalation", wireType) } var v int for shift := uint(0); ; shift += 7 { @@ -4720,12 +6442,13 @@ func (m *Metadata) UnmarshalVT(dAtA []byte) error { break } } - m.DifferentiateArgs = bool(v != 0) - case 8: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Comm", wireType) + b := bool(v != 0) + m.AllowPrivilegeEscalation = &b + case 7: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ReadOnlyRootFilesystem", wireType) } - var stringLen uint64 + var v int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -4735,27 +6458,67 @@ func (m *Metadata) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLength + b := bool(v != 0) + m.ReadOnlyRootFilesystem = &b + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err } - postIndex := iNdEx + intStringLen - if postIndex < 0 { + if (skippy < 0) || (iNdEx+skippy) < 0 { return ErrInvalidLength } - if postIndex > l { + if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } - m.Comm = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 9: + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *SecurityContextEntry) 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: SecurityContextEntry: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: SecurityContextEntry: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ContainerId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -4783,68 +6546,11 @@ func (m *Metadata) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.ContainerId = string(dAtA[iNdEx:postIndex]) + m.Namespace = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 10: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Start", wireType) - } - m.Start = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Start |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 11: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field End", wireType) - } - m.End = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.End |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 12: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Size", wireType) - } - m.Size = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Size |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 13: + case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Arch", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field OwnerKind", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -4872,11 +6578,11 @@ func (m *Metadata) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Arch = string(dAtA[iNdEx:postIndex]) + m.OwnerKind = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 14: + case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Serialization", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field OwnerName", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -4904,11 +6610,11 @@ func (m *Metadata) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Serialization = string(dAtA[iNdEx:postIndex]) + m.OwnerName = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 15: + case 4: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field CgroupId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ContainerName", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -4936,13 +6642,13 @@ func (m *Metadata) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.CgroupId = string(dAtA[iNdEx:postIndex]) + m.ContainerName = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 16: + case 5: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field CgroupManager", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field SecurityContext", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -4952,23 +6658,27 @@ func (m *Metadata) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLength } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLength } if postIndex > l { return io.ErrUnexpectedEOF } - m.CgroupManager = string(dAtA[iNdEx:postIndex]) + if m.SecurityContext == nil { + m.SecurityContext = &SecurityContext{} + } + if err := m.SecurityContext.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } iNdEx = postIndex default: iNdEx = preIndex @@ -6165,6 +7875,40 @@ func (m *SecurityProfile) UnmarshalVT(dAtA []byte) error { return err } iNdEx = postIndex + case 11: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SecurityContexts", 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.SecurityContexts = append(m.SecurityContexts, &SecurityContextEntry{}) + if err := m.SecurityContexts[len(m.SecurityContexts)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) diff --git a/java/com/dd/cws/adv1/pb/SecDumpProto.java b/java/com/dd/cws/adv1/pb/SecDumpProto.java index 5987b0cd..483310d2 100644 --- a/java/com/dd/cws/adv1/pb/SecDumpProto.java +++ b/java/com/dd/cws/adv1/pb/SecDumpProto.java @@ -564,6 +564,30 @@ com.dd.cws.adv1.pb.SecDumpProto.ProcessActivityNodeOrBuilder getTreeOrBuilder( */ com.dd.cws.adv1.pb.SecDumpProto.MountNodeOrBuilder getMountsOrBuilder( int index); + + /** + * repeated .datadog.cws.dumpsv1.SecurityContextEntry security_contexts = 8; + */ + java.util.List + getSecurityContextsList(); + /** + * repeated .datadog.cws.dumpsv1.SecurityContextEntry security_contexts = 8; + */ + com.dd.cws.adv1.pb.SecDumpProto.SecurityContextEntry getSecurityContexts(int index); + /** + * repeated .datadog.cws.dumpsv1.SecurityContextEntry security_contexts = 8; + */ + int getSecurityContextsCount(); + /** + * repeated .datadog.cws.dumpsv1.SecurityContextEntry security_contexts = 8; + */ + java.util.List + getSecurityContextsOrBuilderList(); + /** + * repeated .datadog.cws.dumpsv1.SecurityContextEntry security_contexts = 8; + */ + com.dd.cws.adv1.pb.SecDumpProto.SecurityContextEntryOrBuilder getSecurityContextsOrBuilder( + int index); } /** * Protobuf type {@code datadog.cws.dumpsv1.SecDump} @@ -584,6 +608,7 @@ private SecDump() { tags_ = com.google.protobuf.LazyStringArrayList.EMPTY; tree_ = java.util.Collections.emptyList(); mounts_ = java.util.Collections.emptyList(); + securityContexts_ = java.util.Collections.emptyList(); } @java.lang.Override @@ -872,6 +897,47 @@ public com.dd.cws.adv1.pb.SecDumpProto.MountNodeOrBuilder getMountsOrBuilder( return mounts_.get(index); } + public static final int SECURITY_CONTEXTS_FIELD_NUMBER = 8; + @SuppressWarnings("serial") + private java.util.List securityContexts_; + /** + * repeated .datadog.cws.dumpsv1.SecurityContextEntry security_contexts = 8; + */ + @java.lang.Override + public java.util.List getSecurityContextsList() { + return securityContexts_; + } + /** + * repeated .datadog.cws.dumpsv1.SecurityContextEntry security_contexts = 8; + */ + @java.lang.Override + public java.util.List + getSecurityContextsOrBuilderList() { + return securityContexts_; + } + /** + * repeated .datadog.cws.dumpsv1.SecurityContextEntry security_contexts = 8; + */ + @java.lang.Override + public int getSecurityContextsCount() { + return securityContexts_.size(); + } + /** + * repeated .datadog.cws.dumpsv1.SecurityContextEntry security_contexts = 8; + */ + @java.lang.Override + public com.dd.cws.adv1.pb.SecDumpProto.SecurityContextEntry getSecurityContexts(int index) { + return securityContexts_.get(index); + } + /** + * repeated .datadog.cws.dumpsv1.SecurityContextEntry security_contexts = 8; + */ + @java.lang.Override + public com.dd.cws.adv1.pb.SecDumpProto.SecurityContextEntryOrBuilder getSecurityContextsOrBuilder( + int index) { + return securityContexts_.get(index); + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { @@ -907,6 +973,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) for (int i = 0; i < mounts_.size(); i++) { output.writeMessage(7, mounts_.get(i)); } + for (int i = 0; i < securityContexts_.size(); i++) { + output.writeMessage(8, securityContexts_.get(i)); + } getUnknownFields().writeTo(output); } @@ -945,6 +1014,10 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream .computeMessageSize(7, mounts_.get(i)); } + for (int i = 0; i < securityContexts_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, securityContexts_.get(i)); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -977,6 +1050,8 @@ public boolean equals(final java.lang.Object obj) { .equals(other.getTreeList())) return false; if (!getMountsList() .equals(other.getMountsList())) return false; + if (!getSecurityContextsList() + .equals(other.getSecurityContextsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1010,6 +1085,10 @@ public int hashCode() { hash = (37 * hash) + MOUNTS_FIELD_NUMBER; hash = (53 * hash) + getMountsList().hashCode(); } + if (getSecurityContextsCount() > 0) { + hash = (37 * hash) + SECURITY_CONTEXTS_FIELD_NUMBER; + hash = (53 * hash) + getSecurityContextsList().hashCode(); + } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; @@ -1163,6 +1242,13 @@ public Builder clear() { mountsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000040); + if (securityContextsBuilder_ == null) { + securityContexts_ = java.util.Collections.emptyList(); + } else { + securityContexts_ = null; + securityContextsBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000080); return this; } @@ -1219,6 +1305,15 @@ private void buildPartialRepeatedFields(com.dd.cws.adv1.pb.SecDumpProto.SecDump } else { result.mounts_ = mountsBuilder_.build(); } + if (securityContextsBuilder_ == null) { + if (((bitField0_ & 0x00000080) != 0)) { + securityContexts_ = java.util.Collections.unmodifiableList(securityContexts_); + bitField0_ = (bitField0_ & ~0x00000080); + } + result.securityContexts_ = securityContexts_; + } else { + result.securityContexts_ = securityContextsBuilder_.build(); + } } private void buildPartial0(com.dd.cws.adv1.pb.SecDumpProto.SecDump result) { @@ -1363,6 +1458,32 @@ public Builder mergeFrom(com.dd.cws.adv1.pb.SecDumpProto.SecDump other) { } } } + if (securityContextsBuilder_ == null) { + if (!other.securityContexts_.isEmpty()) { + if (securityContexts_.isEmpty()) { + securityContexts_ = other.securityContexts_; + bitField0_ = (bitField0_ & ~0x00000080); + } else { + ensureSecurityContextsIsMutable(); + securityContexts_.addAll(other.securityContexts_); + } + onChanged(); + } + } else { + if (!other.securityContexts_.isEmpty()) { + if (securityContextsBuilder_.isEmpty()) { + securityContextsBuilder_.dispose(); + securityContextsBuilder_ = null; + securityContexts_ = other.securityContexts_; + bitField0_ = (bitField0_ & ~0x00000080); + securityContextsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getSecurityContextsFieldBuilder() : null; + } else { + securityContextsBuilder_.addAllMessages(other.securityContexts_); + } + } + } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -1443,6 +1564,19 @@ public Builder mergeFrom( } break; } // case 58 + case 66: { + com.dd.cws.adv1.pb.SecDumpProto.SecurityContextEntry m = + input.readMessage( + com.dd.cws.adv1.pb.SecDumpProto.SecurityContextEntry.parser(), + extensionRegistry); + if (securityContextsBuilder_ == null) { + ensureSecurityContextsIsMutable(); + securityContexts_.add(m); + } else { + securityContextsBuilder_.addMessage(m); + } + break; + } // case 66 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag @@ -2378,6 +2512,246 @@ public com.dd.cws.adv1.pb.SecDumpProto.MountNode.Builder addMountsBuilder( } return mountsBuilder_; } + + private java.util.List securityContexts_ = + java.util.Collections.emptyList(); + private void ensureSecurityContextsIsMutable() { + if (!((bitField0_ & 0x00000080) != 0)) { + securityContexts_ = new java.util.ArrayList(securityContexts_); + bitField0_ |= 0x00000080; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.dd.cws.adv1.pb.SecDumpProto.SecurityContextEntry, com.dd.cws.adv1.pb.SecDumpProto.SecurityContextEntry.Builder, com.dd.cws.adv1.pb.SecDumpProto.SecurityContextEntryOrBuilder> securityContextsBuilder_; + + /** + * repeated .datadog.cws.dumpsv1.SecurityContextEntry security_contexts = 8; + */ + public java.util.List getSecurityContextsList() { + if (securityContextsBuilder_ == null) { + return java.util.Collections.unmodifiableList(securityContexts_); + } else { + return securityContextsBuilder_.getMessageList(); + } + } + /** + * repeated .datadog.cws.dumpsv1.SecurityContextEntry security_contexts = 8; + */ + public int getSecurityContextsCount() { + if (securityContextsBuilder_ == null) { + return securityContexts_.size(); + } else { + return securityContextsBuilder_.getCount(); + } + } + /** + * repeated .datadog.cws.dumpsv1.SecurityContextEntry security_contexts = 8; + */ + public com.dd.cws.adv1.pb.SecDumpProto.SecurityContextEntry getSecurityContexts(int index) { + if (securityContextsBuilder_ == null) { + return securityContexts_.get(index); + } else { + return securityContextsBuilder_.getMessage(index); + } + } + /** + * repeated .datadog.cws.dumpsv1.SecurityContextEntry security_contexts = 8; + */ + public Builder setSecurityContexts( + int index, com.dd.cws.adv1.pb.SecDumpProto.SecurityContextEntry value) { + if (securityContextsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureSecurityContextsIsMutable(); + securityContexts_.set(index, value); + onChanged(); + } else { + securityContextsBuilder_.setMessage(index, value); + } + return this; + } + /** + * repeated .datadog.cws.dumpsv1.SecurityContextEntry security_contexts = 8; + */ + public Builder setSecurityContexts( + int index, com.dd.cws.adv1.pb.SecDumpProto.SecurityContextEntry.Builder builderForValue) { + if (securityContextsBuilder_ == null) { + ensureSecurityContextsIsMutable(); + securityContexts_.set(index, builderForValue.build()); + onChanged(); + } else { + securityContextsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .datadog.cws.dumpsv1.SecurityContextEntry security_contexts = 8; + */ + public Builder addSecurityContexts(com.dd.cws.adv1.pb.SecDumpProto.SecurityContextEntry value) { + if (securityContextsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureSecurityContextsIsMutable(); + securityContexts_.add(value); + onChanged(); + } else { + securityContextsBuilder_.addMessage(value); + } + return this; + } + /** + * repeated .datadog.cws.dumpsv1.SecurityContextEntry security_contexts = 8; + */ + public Builder addSecurityContexts( + int index, com.dd.cws.adv1.pb.SecDumpProto.SecurityContextEntry value) { + if (securityContextsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureSecurityContextsIsMutable(); + securityContexts_.add(index, value); + onChanged(); + } else { + securityContextsBuilder_.addMessage(index, value); + } + return this; + } + /** + * repeated .datadog.cws.dumpsv1.SecurityContextEntry security_contexts = 8; + */ + public Builder addSecurityContexts( + com.dd.cws.adv1.pb.SecDumpProto.SecurityContextEntry.Builder builderForValue) { + if (securityContextsBuilder_ == null) { + ensureSecurityContextsIsMutable(); + securityContexts_.add(builderForValue.build()); + onChanged(); + } else { + securityContextsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * repeated .datadog.cws.dumpsv1.SecurityContextEntry security_contexts = 8; + */ + public Builder addSecurityContexts( + int index, com.dd.cws.adv1.pb.SecDumpProto.SecurityContextEntry.Builder builderForValue) { + if (securityContextsBuilder_ == null) { + ensureSecurityContextsIsMutable(); + securityContexts_.add(index, builderForValue.build()); + onChanged(); + } else { + securityContextsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .datadog.cws.dumpsv1.SecurityContextEntry security_contexts = 8; + */ + public Builder addAllSecurityContexts( + java.lang.Iterable values) { + if (securityContextsBuilder_ == null) { + ensureSecurityContextsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, securityContexts_); + onChanged(); + } else { + securityContextsBuilder_.addAllMessages(values); + } + return this; + } + /** + * repeated .datadog.cws.dumpsv1.SecurityContextEntry security_contexts = 8; + */ + public Builder clearSecurityContexts() { + if (securityContextsBuilder_ == null) { + securityContexts_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000080); + onChanged(); + } else { + securityContextsBuilder_.clear(); + } + return this; + } + /** + * repeated .datadog.cws.dumpsv1.SecurityContextEntry security_contexts = 8; + */ + public Builder removeSecurityContexts(int index) { + if (securityContextsBuilder_ == null) { + ensureSecurityContextsIsMutable(); + securityContexts_.remove(index); + onChanged(); + } else { + securityContextsBuilder_.remove(index); + } + return this; + } + /** + * repeated .datadog.cws.dumpsv1.SecurityContextEntry security_contexts = 8; + */ + public com.dd.cws.adv1.pb.SecDumpProto.SecurityContextEntry.Builder getSecurityContextsBuilder( + int index) { + return getSecurityContextsFieldBuilder().getBuilder(index); + } + /** + * repeated .datadog.cws.dumpsv1.SecurityContextEntry security_contexts = 8; + */ + public com.dd.cws.adv1.pb.SecDumpProto.SecurityContextEntryOrBuilder getSecurityContextsOrBuilder( + int index) { + if (securityContextsBuilder_ == null) { + return securityContexts_.get(index); } else { + return securityContextsBuilder_.getMessageOrBuilder(index); + } + } + /** + * repeated .datadog.cws.dumpsv1.SecurityContextEntry security_contexts = 8; + */ + public java.util.List + getSecurityContextsOrBuilderList() { + if (securityContextsBuilder_ != null) { + return securityContextsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(securityContexts_); + } + } + /** + * repeated .datadog.cws.dumpsv1.SecurityContextEntry security_contexts = 8; + */ + public com.dd.cws.adv1.pb.SecDumpProto.SecurityContextEntry.Builder addSecurityContextsBuilder() { + return getSecurityContextsFieldBuilder().addBuilder( + com.dd.cws.adv1.pb.SecDumpProto.SecurityContextEntry.getDefaultInstance()); + } + /** + * repeated .datadog.cws.dumpsv1.SecurityContextEntry security_contexts = 8; + */ + public com.dd.cws.adv1.pb.SecDumpProto.SecurityContextEntry.Builder addSecurityContextsBuilder( + int index) { + return getSecurityContextsFieldBuilder().addBuilder( + index, com.dd.cws.adv1.pb.SecDumpProto.SecurityContextEntry.getDefaultInstance()); + } + /** + * repeated .datadog.cws.dumpsv1.SecurityContextEntry security_contexts = 8; + */ + public java.util.List + getSecurityContextsBuilderList() { + return getSecurityContextsFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.dd.cws.adv1.pb.SecDumpProto.SecurityContextEntry, com.dd.cws.adv1.pb.SecDumpProto.SecurityContextEntry.Builder, com.dd.cws.adv1.pb.SecDumpProto.SecurityContextEntryOrBuilder> + getSecurityContextsFieldBuilder() { + if (securityContextsBuilder_ == null) { + securityContextsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.dd.cws.adv1.pb.SecDumpProto.SecurityContextEntry, com.dd.cws.adv1.pb.SecDumpProto.SecurityContextEntry.Builder, com.dd.cws.adv1.pb.SecDumpProto.SecurityContextEntryOrBuilder>( + securityContexts_, + ((bitField0_ & 0x00000080) != 0), + getParentForChildren(), + isClean()); + securityContexts_ = null; + } + return securityContextsBuilder_; + } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -4917,56 +5291,99 @@ public com.dd.cws.adv1.pb.SecDumpProto.Metadata getDefaultInstanceForType() { } - public interface ProfileSelectorOrBuilder extends - // @@protoc_insertion_point(interface_extends:datadog.cws.dumpsv1.ProfileSelector) + public interface SeccompProfileOrBuilder extends + // @@protoc_insertion_point(interface_extends:datadog.cws.dumpsv1.SeccompProfile) com.google.protobuf.MessageOrBuilder { /** - * string image_name = 1; - * @return The imageName. + * .datadog.cws.dumpsv1.SeccompProfile.Type type = 1; + * @return The enum numeric value on the wire for type. */ - java.lang.String getImageName(); + int getTypeValue(); /** - * string image_name = 1; - * @return The bytes for imageName. + * .datadog.cws.dumpsv1.SeccompProfile.Type type = 1; + * @return The type. */ - com.google.protobuf.ByteString - getImageNameBytes(); + com.dd.cws.adv1.pb.SecDumpProto.SeccompProfile.Type getType(); /** - * string image_tag = 2; - * @return The imageTag. + *
+     * Set if type == TYPE_LOCALHOST.
+     * 
+ * + * optional string localhost_profile = 2; + * @return Whether the localhostProfile field is set. */ - java.lang.String getImageTag(); + boolean hasLocalhostProfile(); /** - * string image_tag = 2; - * @return The bytes for imageTag. + *
+     * Set if type == TYPE_LOCALHOST.
+     * 
+ * + * optional string localhost_profile = 2; + * @return The localhostProfile. + */ + java.lang.String getLocalhostProfile(); + /** + *
+     * Set if type == TYPE_LOCALHOST.
+     * 
+ * + * optional string localhost_profile = 2; + * @return The bytes for localhostProfile. */ com.google.protobuf.ByteString - getImageTagBytes(); + getLocalhostProfileBytes(); + + /** + *
+     * Effective filter extracted at runtime via ptrace.
+     * 
+ * + * optional .datadog.cws.dumpsv1.SeccompFilter filter = 3; + * @return Whether the filter field is set. + */ + boolean hasFilter(); + /** + *
+     * Effective filter extracted at runtime via ptrace.
+     * 
+ * + * optional .datadog.cws.dumpsv1.SeccompFilter filter = 3; + * @return The filter. + */ + com.dd.cws.adv1.pb.SecDumpProto.SeccompFilter getFilter(); + /** + *
+     * Effective filter extracted at runtime via ptrace.
+     * 
+ * + * optional .datadog.cws.dumpsv1.SeccompFilter filter = 3; + */ + com.dd.cws.adv1.pb.SecDumpProto.SeccompFilterOrBuilder getFilterOrBuilder(); } /** - * Protobuf type {@code datadog.cws.dumpsv1.ProfileSelector} + * Protobuf type {@code datadog.cws.dumpsv1.SeccompProfile} */ - public static final class ProfileSelector extends + public static final class SeccompProfile extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:datadog.cws.dumpsv1.ProfileSelector) - ProfileSelectorOrBuilder { + // @@protoc_insertion_point(message_implements:datadog.cws.dumpsv1.SeccompProfile) + SeccompProfileOrBuilder { private static final long serialVersionUID = 0L; - // Use ProfileSelector.newBuilder() to construct. - private ProfileSelector(com.google.protobuf.GeneratedMessageV3.Builder builder) { + // Use SeccompProfile.newBuilder() to construct. + private SeccompProfile(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ProfileSelector() { - imageName_ = ""; - imageTag_ = ""; + private SeccompProfile() { + type_ = 0; + localhostProfile_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { - return new ProfileSelector(); + return new SeccompProfile(); } @java.lang.Override @@ -4976,93 +5393,257 @@ protected java.lang.Object newInstance( } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_ProfileSelector_descriptor; + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_SeccompProfile_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_ProfileSelector_fieldAccessorTable + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_SeccompProfile_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.dd.cws.adv1.pb.SecDumpProto.ProfileSelector.class, com.dd.cws.adv1.pb.SecDumpProto.ProfileSelector.Builder.class); + com.dd.cws.adv1.pb.SecDumpProto.SeccompProfile.class, com.dd.cws.adv1.pb.SecDumpProto.SeccompProfile.Builder.class); } - public static final int IMAGE_NAME_FIELD_NUMBER = 1; + /** + * Protobuf enum {@code datadog.cws.dumpsv1.SeccompProfile.Type} + */ + public enum Type + implements com.google.protobuf.ProtocolMessageEnum { + /** + * TYPE_UNKNOWN = 0; + */ + TYPE_UNKNOWN(0), + /** + * TYPE_UNCONFINED = 1; + */ + TYPE_UNCONFINED(1), + /** + * TYPE_RUNTIME_DEFAULT = 2; + */ + TYPE_RUNTIME_DEFAULT(2), + /** + * TYPE_LOCALHOST = 3; + */ + TYPE_LOCALHOST(3), + UNRECOGNIZED(-1), + ; + + /** + * TYPE_UNKNOWN = 0; + */ + public static final int TYPE_UNKNOWN_VALUE = 0; + /** + * TYPE_UNCONFINED = 1; + */ + public static final int TYPE_UNCONFINED_VALUE = 1; + /** + * TYPE_RUNTIME_DEFAULT = 2; + */ + public static final int TYPE_RUNTIME_DEFAULT_VALUE = 2; + /** + * TYPE_LOCALHOST = 3; + */ + public static final int TYPE_LOCALHOST_VALUE = 3; + + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static Type valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static Type forNumber(int value) { + switch (value) { + case 0: return TYPE_UNKNOWN; + case 1: return TYPE_UNCONFINED; + case 2: return TYPE_RUNTIME_DEFAULT; + case 3: return TYPE_LOCALHOST; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + Type> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Type findValueByNumber(int number) { + return Type.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.dd.cws.adv1.pb.SecDumpProto.SeccompProfile.getDescriptor().getEnumTypes().get(0); + } + + private static final Type[] VALUES = values(); + + public static Type valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private Type(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:datadog.cws.dumpsv1.SeccompProfile.Type) + } + + private int bitField0_; + public static final int TYPE_FIELD_NUMBER = 1; + private int type_ = 0; + /** + * .datadog.cws.dumpsv1.SeccompProfile.Type type = 1; + * @return The enum numeric value on the wire for type. + */ + @java.lang.Override public int getTypeValue() { + return type_; + } + /** + * .datadog.cws.dumpsv1.SeccompProfile.Type type = 1; + * @return The type. + */ + @java.lang.Override public com.dd.cws.adv1.pb.SecDumpProto.SeccompProfile.Type getType() { + com.dd.cws.adv1.pb.SecDumpProto.SeccompProfile.Type result = com.dd.cws.adv1.pb.SecDumpProto.SeccompProfile.Type.forNumber(type_); + return result == null ? com.dd.cws.adv1.pb.SecDumpProto.SeccompProfile.Type.UNRECOGNIZED : result; + } + + public static final int LOCALHOST_PROFILE_FIELD_NUMBER = 2; @SuppressWarnings("serial") - private volatile java.lang.Object imageName_ = ""; + private volatile java.lang.Object localhostProfile_ = ""; /** - * string image_name = 1; - * @return The imageName. + *
+     * Set if type == TYPE_LOCALHOST.
+     * 
+ * + * optional string localhost_profile = 2; + * @return Whether the localhostProfile field is set. */ @java.lang.Override - public java.lang.String getImageName() { - java.lang.Object ref = imageName_; + public boolean hasLocalhostProfile() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + *
+     * Set if type == TYPE_LOCALHOST.
+     * 
+ * + * optional string localhost_profile = 2; + * @return The localhostProfile. + */ + @java.lang.Override + public java.lang.String getLocalhostProfile() { + java.lang.Object ref = localhostProfile_; 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(); - imageName_ = s; + localhostProfile_ = s; return s; } } /** - * string image_name = 1; - * @return The bytes for imageName. + *
+     * Set if type == TYPE_LOCALHOST.
+     * 
+ * + * optional string localhost_profile = 2; + * @return The bytes for localhostProfile. */ @java.lang.Override public com.google.protobuf.ByteString - getImageNameBytes() { - java.lang.Object ref = imageName_; + getLocalhostProfileBytes() { + java.lang.Object ref = localhostProfile_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); - imageName_ = b; + localhostProfile_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } - public static final int IMAGE_TAG_FIELD_NUMBER = 2; - @SuppressWarnings("serial") - private volatile java.lang.Object imageTag_ = ""; + public static final int FILTER_FIELD_NUMBER = 3; + private com.dd.cws.adv1.pb.SecDumpProto.SeccompFilter filter_; /** - * string image_tag = 2; - * @return The imageTag. + *
+     * Effective filter extracted at runtime via ptrace.
+     * 
+ * + * optional .datadog.cws.dumpsv1.SeccompFilter filter = 3; + * @return Whether the filter field is set. */ @java.lang.Override - public java.lang.String getImageTag() { - java.lang.Object ref = imageTag_; - 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(); - imageTag_ = s; - return s; - } + public boolean hasFilter() { + return ((bitField0_ & 0x00000002) != 0); } /** - * string image_tag = 2; - * @return The bytes for imageTag. + *
+     * Effective filter extracted at runtime via ptrace.
+     * 
+ * + * optional .datadog.cws.dumpsv1.SeccompFilter filter = 3; + * @return The filter. */ @java.lang.Override - public com.google.protobuf.ByteString - getImageTagBytes() { - java.lang.Object ref = imageTag_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - imageTag_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } + public com.dd.cws.adv1.pb.SecDumpProto.SeccompFilter getFilter() { + return filter_ == null ? com.dd.cws.adv1.pb.SecDumpProto.SeccompFilter.getDefaultInstance() : filter_; + } + /** + *
+     * Effective filter extracted at runtime via ptrace.
+     * 
+ * + * optional .datadog.cws.dumpsv1.SeccompFilter filter = 3; + */ + @java.lang.Override + public com.dd.cws.adv1.pb.SecDumpProto.SeccompFilterOrBuilder getFilterOrBuilder() { + return filter_ == null ? com.dd.cws.adv1.pb.SecDumpProto.SeccompFilter.getDefaultInstance() : filter_; } private byte memoizedIsInitialized = -1; @@ -5079,11 +5660,14 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(imageName_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, imageName_); + if (type_ != com.dd.cws.adv1.pb.SecDumpProto.SeccompProfile.Type.TYPE_UNKNOWN.getNumber()) { + output.writeEnum(1, type_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(imageTag_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, imageTag_); + if (((bitField0_ & 0x00000001) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, localhostProfile_); + } + if (((bitField0_ & 0x00000002) != 0)) { + output.writeMessage(3, getFilter()); } getUnknownFields().writeTo(output); } @@ -5094,11 +5678,16 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(imageName_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, imageName_); + if (type_ != com.dd.cws.adv1.pb.SecDumpProto.SeccompProfile.Type.TYPE_UNKNOWN.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, type_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(imageTag_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, imageTag_); + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, localhostProfile_); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getFilter()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -5110,15 +5699,22 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof com.dd.cws.adv1.pb.SecDumpProto.ProfileSelector)) { + if (!(obj instanceof com.dd.cws.adv1.pb.SecDumpProto.SeccompProfile)) { return super.equals(obj); } - com.dd.cws.adv1.pb.SecDumpProto.ProfileSelector other = (com.dd.cws.adv1.pb.SecDumpProto.ProfileSelector) obj; + com.dd.cws.adv1.pb.SecDumpProto.SeccompProfile other = (com.dd.cws.adv1.pb.SecDumpProto.SeccompProfile) obj; - if (!getImageName() - .equals(other.getImageName())) return false; - if (!getImageTag() - .equals(other.getImageTag())) return false; + if (type_ != other.type_) return false; + if (hasLocalhostProfile() != other.hasLocalhostProfile()) return false; + if (hasLocalhostProfile()) { + if (!getLocalhostProfile() + .equals(other.getLocalhostProfile())) return false; + } + if (hasFilter() != other.hasFilter()) return false; + if (hasFilter()) { + if (!getFilter() + .equals(other.getFilter())) return false; + } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -5130,78 +5726,84 @@ public int hashCode() { } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + IMAGE_NAME_FIELD_NUMBER; - hash = (53 * hash) + getImageName().hashCode(); - hash = (37 * hash) + IMAGE_TAG_FIELD_NUMBER; - hash = (53 * hash) + getImageTag().hashCode(); + hash = (37 * hash) + TYPE_FIELD_NUMBER; + hash = (53 * hash) + type_; + if (hasLocalhostProfile()) { + hash = (37 * hash) + LOCALHOST_PROFILE_FIELD_NUMBER; + hash = (53 * hash) + getLocalhostProfile().hashCode(); + } + if (hasFilter()) { + hash = (37 * hash) + FILTER_FIELD_NUMBER; + hash = (53 * hash) + getFilter().hashCode(); + } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.dd.cws.adv1.pb.SecDumpProto.ProfileSelector parseFrom( + public static com.dd.cws.adv1.pb.SecDumpProto.SeccompProfile parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.dd.cws.adv1.pb.SecDumpProto.ProfileSelector parseFrom( + public static com.dd.cws.adv1.pb.SecDumpProto.SeccompProfile 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.ProfileSelector parseFrom( + public static com.dd.cws.adv1.pb.SecDumpProto.SeccompProfile parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.dd.cws.adv1.pb.SecDumpProto.ProfileSelector parseFrom( + public static com.dd.cws.adv1.pb.SecDumpProto.SeccompProfile 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.ProfileSelector parseFrom(byte[] data) + public static com.dd.cws.adv1.pb.SecDumpProto.SeccompProfile parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.dd.cws.adv1.pb.SecDumpProto.ProfileSelector parseFrom( + public static com.dd.cws.adv1.pb.SecDumpProto.SeccompProfile 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.ProfileSelector parseFrom(java.io.InputStream input) + public static com.dd.cws.adv1.pb.SecDumpProto.SeccompProfile 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.ProfileSelector parseFrom( + public static com.dd.cws.adv1.pb.SecDumpProto.SeccompProfile 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.ProfileSelector parseDelimitedFrom(java.io.InputStream input) + public static com.dd.cws.adv1.pb.SecDumpProto.SeccompProfile 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.ProfileSelector parseDelimitedFrom( + public static com.dd.cws.adv1.pb.SecDumpProto.SeccompProfile 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.ProfileSelector parseFrom( + public static com.dd.cws.adv1.pb.SecDumpProto.SeccompProfile 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.ProfileSelector parseFrom( + public static com.dd.cws.adv1.pb.SecDumpProto.SeccompProfile parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -5214,7 +5816,7 @@ public static com.dd.cws.adv1.pb.SecDumpProto.ProfileSelector parseFrom( public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.dd.cws.adv1.pb.SecDumpProto.ProfileSelector prototype) { + public static Builder newBuilder(com.dd.cws.adv1.pb.SecDumpProto.SeccompProfile prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override @@ -5230,58 +5832,69 @@ protected Builder newBuilderForType( return builder; } /** - * Protobuf type {@code datadog.cws.dumpsv1.ProfileSelector} + * Protobuf type {@code datadog.cws.dumpsv1.SeccompProfile} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:datadog.cws.dumpsv1.ProfileSelector) - com.dd.cws.adv1.pb.SecDumpProto.ProfileSelectorOrBuilder { + // @@protoc_insertion_point(builder_implements:datadog.cws.dumpsv1.SeccompProfile) + com.dd.cws.adv1.pb.SecDumpProto.SeccompProfileOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_ProfileSelector_descriptor; + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_SeccompProfile_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_ProfileSelector_fieldAccessorTable + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_SeccompProfile_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.dd.cws.adv1.pb.SecDumpProto.ProfileSelector.class, com.dd.cws.adv1.pb.SecDumpProto.ProfileSelector.Builder.class); + com.dd.cws.adv1.pb.SecDumpProto.SeccompProfile.class, com.dd.cws.adv1.pb.SecDumpProto.SeccompProfile.Builder.class); } - // Construct using com.dd.cws.adv1.pb.SecDumpProto.ProfileSelector.newBuilder() + // Construct using com.dd.cws.adv1.pb.SecDumpProto.SeccompProfile.newBuilder() private Builder() { - + maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + getFilterFieldBuilder(); + } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; - imageName_ = ""; - imageTag_ = ""; + type_ = 0; + localhostProfile_ = ""; + filter_ = null; + if (filterBuilder_ != null) { + filterBuilder_.dispose(); + filterBuilder_ = null; + } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_ProfileSelector_descriptor; + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_SeccompProfile_descriptor; } @java.lang.Override - public com.dd.cws.adv1.pb.SecDumpProto.ProfileSelector getDefaultInstanceForType() { - return com.dd.cws.adv1.pb.SecDumpProto.ProfileSelector.getDefaultInstance(); + public com.dd.cws.adv1.pb.SecDumpProto.SeccompProfile getDefaultInstanceForType() { + return com.dd.cws.adv1.pb.SecDumpProto.SeccompProfile.getDefaultInstance(); } @java.lang.Override - public com.dd.cws.adv1.pb.SecDumpProto.ProfileSelector build() { - com.dd.cws.adv1.pb.SecDumpProto.ProfileSelector result = buildPartial(); + public com.dd.cws.adv1.pb.SecDumpProto.SeccompProfile build() { + com.dd.cws.adv1.pb.SecDumpProto.SeccompProfile result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -5289,20 +5902,6506 @@ public com.dd.cws.adv1.pb.SecDumpProto.ProfileSelector build() { } @java.lang.Override - public com.dd.cws.adv1.pb.SecDumpProto.ProfileSelector buildPartial() { - com.dd.cws.adv1.pb.SecDumpProto.ProfileSelector result = new com.dd.cws.adv1.pb.SecDumpProto.ProfileSelector(this); + public com.dd.cws.adv1.pb.SecDumpProto.SeccompProfile buildPartial() { + com.dd.cws.adv1.pb.SecDumpProto.SeccompProfile result = new com.dd.cws.adv1.pb.SecDumpProto.SeccompProfile(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0(com.dd.cws.adv1.pb.SecDumpProto.ProfileSelector result) { + private void buildPartial0(com.dd.cws.adv1.pb.SecDumpProto.SeccompProfile result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.imageName_ = imageName_; + result.type_ = type_; } + int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { - result.imageTag_ = imageTag_; + result.localhostProfile_ = localhostProfile_; + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.filter_ = filterBuilder_ == null + ? filter_ + : filterBuilder_.build(); + to_bitField0_ |= 0x00000002; + } + result.bitField0_ |= to_bitField0_; + } + + @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.SeccompProfile) { + return mergeFrom((com.dd.cws.adv1.pb.SecDumpProto.SeccompProfile)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.dd.cws.adv1.pb.SecDumpProto.SeccompProfile other) { + if (other == com.dd.cws.adv1.pb.SecDumpProto.SeccompProfile.getDefaultInstance()) return this; + if (other.type_ != 0) { + setTypeValue(other.getTypeValue()); + } + if (other.hasLocalhostProfile()) { + localhostProfile_ = other.localhostProfile_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (other.hasFilter()) { + mergeFilter(other.getFilter()); + } + 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: { + type_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + localhostProfile_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getFilterFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private int type_ = 0; + /** + * .datadog.cws.dumpsv1.SeccompProfile.Type type = 1; + * @return The enum numeric value on the wire for type. + */ + @java.lang.Override public int getTypeValue() { + return type_; + } + /** + * .datadog.cws.dumpsv1.SeccompProfile.Type type = 1; + * @param value The enum numeric value on the wire for type to set. + * @return This builder for chaining. + */ + public Builder setTypeValue(int value) { + type_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * .datadog.cws.dumpsv1.SeccompProfile.Type type = 1; + * @return The type. + */ + @java.lang.Override + public com.dd.cws.adv1.pb.SecDumpProto.SeccompProfile.Type getType() { + com.dd.cws.adv1.pb.SecDumpProto.SeccompProfile.Type result = com.dd.cws.adv1.pb.SecDumpProto.SeccompProfile.Type.forNumber(type_); + return result == null ? com.dd.cws.adv1.pb.SecDumpProto.SeccompProfile.Type.UNRECOGNIZED : result; + } + /** + * .datadog.cws.dumpsv1.SeccompProfile.Type type = 1; + * @param value The type to set. + * @return This builder for chaining. + */ + public Builder setType(com.dd.cws.adv1.pb.SecDumpProto.SeccompProfile.Type value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + type_ = value.getNumber(); + onChanged(); + return this; + } + /** + * .datadog.cws.dumpsv1.SeccompProfile.Type type = 1; + * @return This builder for chaining. + */ + public Builder clearType() { + bitField0_ = (bitField0_ & ~0x00000001); + type_ = 0; + onChanged(); + return this; + } + + private java.lang.Object localhostProfile_ = ""; + /** + *
+       * Set if type == TYPE_LOCALHOST.
+       * 
+ * + * optional string localhost_profile = 2; + * @return Whether the localhostProfile field is set. + */ + public boolean hasLocalhostProfile() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + *
+       * Set if type == TYPE_LOCALHOST.
+       * 
+ * + * optional string localhost_profile = 2; + * @return The localhostProfile. + */ + public java.lang.String getLocalhostProfile() { + java.lang.Object ref = localhostProfile_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + localhostProfile_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Set if type == TYPE_LOCALHOST.
+       * 
+ * + * optional string localhost_profile = 2; + * @return The bytes for localhostProfile. + */ + public com.google.protobuf.ByteString + getLocalhostProfileBytes() { + java.lang.Object ref = localhostProfile_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + localhostProfile_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Set if type == TYPE_LOCALHOST.
+       * 
+ * + * optional string localhost_profile = 2; + * @param value The localhostProfile to set. + * @return This builder for chaining. + */ + public Builder setLocalhostProfile( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + localhostProfile_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+       * Set if type == TYPE_LOCALHOST.
+       * 
+ * + * optional string localhost_profile = 2; + * @return This builder for chaining. + */ + public Builder clearLocalhostProfile() { + localhostProfile_ = getDefaultInstance().getLocalhostProfile(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + *
+       * Set if type == TYPE_LOCALHOST.
+       * 
+ * + * optional string localhost_profile = 2; + * @param value The bytes for localhostProfile to set. + * @return This builder for chaining. + */ + public Builder setLocalhostProfileBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + localhostProfile_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private com.dd.cws.adv1.pb.SecDumpProto.SeccompFilter filter_; + private com.google.protobuf.SingleFieldBuilderV3< + com.dd.cws.adv1.pb.SecDumpProto.SeccompFilter, com.dd.cws.adv1.pb.SecDumpProto.SeccompFilter.Builder, com.dd.cws.adv1.pb.SecDumpProto.SeccompFilterOrBuilder> filterBuilder_; + /** + *
+       * Effective filter extracted at runtime via ptrace.
+       * 
+ * + * optional .datadog.cws.dumpsv1.SeccompFilter filter = 3; + * @return Whether the filter field is set. + */ + public boolean hasFilter() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + *
+       * Effective filter extracted at runtime via ptrace.
+       * 
+ * + * optional .datadog.cws.dumpsv1.SeccompFilter filter = 3; + * @return The filter. + */ + public com.dd.cws.adv1.pb.SecDumpProto.SeccompFilter getFilter() { + if (filterBuilder_ == null) { + return filter_ == null ? com.dd.cws.adv1.pb.SecDumpProto.SeccompFilter.getDefaultInstance() : filter_; + } else { + return filterBuilder_.getMessage(); + } + } + /** + *
+       * Effective filter extracted at runtime via ptrace.
+       * 
+ * + * optional .datadog.cws.dumpsv1.SeccompFilter filter = 3; + */ + public Builder setFilter(com.dd.cws.adv1.pb.SecDumpProto.SeccompFilter value) { + if (filterBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + filter_ = value; + } else { + filterBuilder_.setMessage(value); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + *
+       * Effective filter extracted at runtime via ptrace.
+       * 
+ * + * optional .datadog.cws.dumpsv1.SeccompFilter filter = 3; + */ + public Builder setFilter( + com.dd.cws.adv1.pb.SecDumpProto.SeccompFilter.Builder builderForValue) { + if (filterBuilder_ == null) { + filter_ = builderForValue.build(); + } else { + filterBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + *
+       * Effective filter extracted at runtime via ptrace.
+       * 
+ * + * optional .datadog.cws.dumpsv1.SeccompFilter filter = 3; + */ + public Builder mergeFilter(com.dd.cws.adv1.pb.SecDumpProto.SeccompFilter value) { + if (filterBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0) && + filter_ != null && + filter_ != com.dd.cws.adv1.pb.SecDumpProto.SeccompFilter.getDefaultInstance()) { + getFilterBuilder().mergeFrom(value); + } else { + filter_ = value; + } + } else { + filterBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + *
+       * Effective filter extracted at runtime via ptrace.
+       * 
+ * + * optional .datadog.cws.dumpsv1.SeccompFilter filter = 3; + */ + public Builder clearFilter() { + bitField0_ = (bitField0_ & ~0x00000004); + filter_ = null; + if (filterBuilder_ != null) { + filterBuilder_.dispose(); + filterBuilder_ = null; + } + onChanged(); + return this; + } + /** + *
+       * Effective filter extracted at runtime via ptrace.
+       * 
+ * + * optional .datadog.cws.dumpsv1.SeccompFilter filter = 3; + */ + public com.dd.cws.adv1.pb.SecDumpProto.SeccompFilter.Builder getFilterBuilder() { + bitField0_ |= 0x00000004; + onChanged(); + return getFilterFieldBuilder().getBuilder(); + } + /** + *
+       * Effective filter extracted at runtime via ptrace.
+       * 
+ * + * optional .datadog.cws.dumpsv1.SeccompFilter filter = 3; + */ + public com.dd.cws.adv1.pb.SecDumpProto.SeccompFilterOrBuilder getFilterOrBuilder() { + if (filterBuilder_ != null) { + return filterBuilder_.getMessageOrBuilder(); + } else { + return filter_ == null ? + com.dd.cws.adv1.pb.SecDumpProto.SeccompFilter.getDefaultInstance() : filter_; + } + } + /** + *
+       * Effective filter extracted at runtime via ptrace.
+       * 
+ * + * optional .datadog.cws.dumpsv1.SeccompFilter filter = 3; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.dd.cws.adv1.pb.SecDumpProto.SeccompFilter, com.dd.cws.adv1.pb.SecDumpProto.SeccompFilter.Builder, com.dd.cws.adv1.pb.SecDumpProto.SeccompFilterOrBuilder> + getFilterFieldBuilder() { + if (filterBuilder_ == null) { + filterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.dd.cws.adv1.pb.SecDumpProto.SeccompFilter, com.dd.cws.adv1.pb.SecDumpProto.SeccompFilter.Builder, com.dd.cws.adv1.pb.SecDumpProto.SeccompFilterOrBuilder>( + getFilter(), + getParentForChildren(), + isClean()); + filter_ = null; + } + return filterBuilder_; + } + @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.SeccompProfile) + } + + // @@protoc_insertion_point(class_scope:datadog.cws.dumpsv1.SeccompProfile) + private static final com.dd.cws.adv1.pb.SecDumpProto.SeccompProfile DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.dd.cws.adv1.pb.SecDumpProto.SeccompProfile(); + } + + public static com.dd.cws.adv1.pb.SecDumpProto.SeccompProfile getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SeccompProfile 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.SeccompProfile getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface SeccompFilterOrBuilder extends + // @@protoc_insertion_point(interface_extends:datadog.cws.dumpsv1.SeccompFilter) + com.google.protobuf.MessageOrBuilder { + + /** + *
+     * Default action applied to syscalls not explicitly listed.
+     * 
+ * + * string default_action = 1; + * @return The defaultAction. + */ + java.lang.String getDefaultAction(); + /** + *
+     * Default action applied to syscalls not explicitly listed.
+     * 
+ * + * string default_action = 1; + * @return The bytes for defaultAction. + */ + com.google.protobuf.ByteString + getDefaultActionBytes(); + + /** + *
+     * Per-syscall rule, keyed by syscall name.
+     * 
+ * + * map<string, .datadog.cws.dumpsv1.SyscallRule> syscalls = 2; + */ + int getSyscallsCount(); + /** + *
+     * Per-syscall rule, keyed by syscall name.
+     * 
+ * + * map<string, .datadog.cws.dumpsv1.SyscallRule> syscalls = 2; + */ + boolean containsSyscalls( + java.lang.String key); + /** + * Use {@link #getSyscallsMap()} instead. + */ + @java.lang.Deprecated + java.util.Map + getSyscalls(); + /** + *
+     * Per-syscall rule, keyed by syscall name.
+     * 
+ * + * map<string, .datadog.cws.dumpsv1.SyscallRule> syscalls = 2; + */ + java.util.Map + getSyscallsMap(); + /** + *
+     * Per-syscall rule, keyed by syscall name.
+     * 
+ * + * map<string, .datadog.cws.dumpsv1.SyscallRule> syscalls = 2; + */ + /* nullable */ +com.dd.cws.adv1.pb.SecDumpProto.SyscallRule getSyscallsOrDefault( + java.lang.String key, + /* nullable */ +com.dd.cws.adv1.pb.SecDumpProto.SyscallRule defaultValue); + /** + *
+     * Per-syscall rule, keyed by syscall name.
+     * 
+ * + * map<string, .datadog.cws.dumpsv1.SyscallRule> syscalls = 2; + */ + com.dd.cws.adv1.pb.SecDumpProto.SyscallRule getSyscallsOrThrow( + java.lang.String key); + } + /** + * Protobuf type {@code datadog.cws.dumpsv1.SeccompFilter} + */ + public static final class SeccompFilter extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:datadog.cws.dumpsv1.SeccompFilter) + SeccompFilterOrBuilder { + private static final long serialVersionUID = 0L; + // Use SeccompFilter.newBuilder() to construct. + private SeccompFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private SeccompFilter() { + defaultAction_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new SeccompFilter(); + } + + @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_SeccompFilter_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + @java.lang.Override + protected com.google.protobuf.MapField internalGetMapField( + int number) { + switch (number) { + case 2: + return internalGetSyscalls(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_SeccompFilter_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.dd.cws.adv1.pb.SecDumpProto.SeccompFilter.class, com.dd.cws.adv1.pb.SecDumpProto.SeccompFilter.Builder.class); + } + + public static final int DEFAULT_ACTION_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object defaultAction_ = ""; + /** + *
+     * Default action applied to syscalls not explicitly listed.
+     * 
+ * + * string default_action = 1; + * @return The defaultAction. + */ + @java.lang.Override + public java.lang.String getDefaultAction() { + java.lang.Object ref = defaultAction_; + 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(); + defaultAction_ = s; + return s; + } + } + /** + *
+     * Default action applied to syscalls not explicitly listed.
+     * 
+ * + * string default_action = 1; + * @return The bytes for defaultAction. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getDefaultActionBytes() { + java.lang.Object ref = defaultAction_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + defaultAction_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SYSCALLS_FIELD_NUMBER = 2; + private static final class SyscallsDefaultEntryHolder { + static final com.google.protobuf.MapEntry< + java.lang.String, com.dd.cws.adv1.pb.SecDumpProto.SyscallRule> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_SeccompFilter_SyscallsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.dd.cws.adv1.pb.SecDumpProto.SyscallRule.getDefaultInstance()); + } + @SuppressWarnings("serial") + private com.google.protobuf.MapField< + java.lang.String, com.dd.cws.adv1.pb.SecDumpProto.SyscallRule> syscalls_; + private com.google.protobuf.MapField + internalGetSyscalls() { + if (syscalls_ == null) { + return com.google.protobuf.MapField.emptyMapField( + SyscallsDefaultEntryHolder.defaultEntry); + } + return syscalls_; + } + public int getSyscallsCount() { + return internalGetSyscalls().getMap().size(); + } + /** + *
+     * Per-syscall rule, keyed by syscall name.
+     * 
+ * + * map<string, .datadog.cws.dumpsv1.SyscallRule> syscalls = 2; + */ + @java.lang.Override + public boolean containsSyscalls( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + return internalGetSyscalls().getMap().containsKey(key); + } + /** + * Use {@link #getSyscallsMap()} instead. + */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getSyscalls() { + return getSyscallsMap(); + } + /** + *
+     * Per-syscall rule, keyed by syscall name.
+     * 
+ * + * map<string, .datadog.cws.dumpsv1.SyscallRule> syscalls = 2; + */ + @java.lang.Override + public java.util.Map getSyscallsMap() { + return internalGetSyscalls().getMap(); + } + /** + *
+     * Per-syscall rule, keyed by syscall name.
+     * 
+ * + * map<string, .datadog.cws.dumpsv1.SyscallRule> syscalls = 2; + */ + @java.lang.Override + public /* nullable */ +com.dd.cws.adv1.pb.SecDumpProto.SyscallRule getSyscallsOrDefault( + java.lang.String key, + /* nullable */ +com.dd.cws.adv1.pb.SecDumpProto.SyscallRule defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetSyscalls().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + *
+     * Per-syscall rule, keyed by syscall name.
+     * 
+ * + * map<string, .datadog.cws.dumpsv1.SyscallRule> syscalls = 2; + */ + @java.lang.Override + public com.dd.cws.adv1.pb.SecDumpProto.SyscallRule getSyscallsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetSyscalls().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(defaultAction_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, defaultAction_); + } + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetSyscalls(), + SyscallsDefaultEntryHolder.defaultEntry, + 2); + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(defaultAction_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, defaultAction_); + } + for (java.util.Map.Entry entry + : internalGetSyscalls().getMap().entrySet()) { + com.google.protobuf.MapEntry + syscalls__ = SyscallsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, syscalls__); + } + 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.SeccompFilter)) { + return super.equals(obj); + } + com.dd.cws.adv1.pb.SecDumpProto.SeccompFilter other = (com.dd.cws.adv1.pb.SecDumpProto.SeccompFilter) obj; + + if (!getDefaultAction() + .equals(other.getDefaultAction())) return false; + if (!internalGetSyscalls().equals( + other.internalGetSyscalls())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + DEFAULT_ACTION_FIELD_NUMBER; + hash = (53 * hash) + getDefaultAction().hashCode(); + if (!internalGetSyscalls().getMap().isEmpty()) { + hash = (37 * hash) + SYSCALLS_FIELD_NUMBER; + hash = (53 * hash) + internalGetSyscalls().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.dd.cws.adv1.pb.SecDumpProto.SeccompFilter parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.dd.cws.adv1.pb.SecDumpProto.SeccompFilter 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.SeccompFilter parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.dd.cws.adv1.pb.SecDumpProto.SeccompFilter 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.SeccompFilter parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.dd.cws.adv1.pb.SecDumpProto.SeccompFilter 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.SeccompFilter 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.SeccompFilter 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.SeccompFilter 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.SeccompFilter 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.SeccompFilter 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.SeccompFilter 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.SeccompFilter 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.SeccompFilter} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:datadog.cws.dumpsv1.SeccompFilter) + com.dd.cws.adv1.pb.SecDumpProto.SeccompFilterOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_SeccompFilter_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapField internalGetMapField( + int number) { + switch (number) { + case 2: + return internalGetSyscalls(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapField internalGetMutableMapField( + int number) { + switch (number) { + case 2: + return internalGetMutableSyscalls(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_SeccompFilter_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.dd.cws.adv1.pb.SecDumpProto.SeccompFilter.class, com.dd.cws.adv1.pb.SecDumpProto.SeccompFilter.Builder.class); + } + + // Construct using com.dd.cws.adv1.pb.SecDumpProto.SeccompFilter.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + defaultAction_ = ""; + internalGetMutableSyscalls().clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_SeccompFilter_descriptor; + } + + @java.lang.Override + public com.dd.cws.adv1.pb.SecDumpProto.SeccompFilter getDefaultInstanceForType() { + return com.dd.cws.adv1.pb.SecDumpProto.SeccompFilter.getDefaultInstance(); + } + + @java.lang.Override + public com.dd.cws.adv1.pb.SecDumpProto.SeccompFilter build() { + com.dd.cws.adv1.pb.SecDumpProto.SeccompFilter result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.dd.cws.adv1.pb.SecDumpProto.SeccompFilter buildPartial() { + com.dd.cws.adv1.pb.SecDumpProto.SeccompFilter result = new com.dd.cws.adv1.pb.SecDumpProto.SeccompFilter(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.dd.cws.adv1.pb.SecDumpProto.SeccompFilter result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.defaultAction_ = defaultAction_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.syscalls_ = internalGetSyscalls(); + result.syscalls_.makeImmutable(); + } + } + + @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.SeccompFilter) { + return mergeFrom((com.dd.cws.adv1.pb.SecDumpProto.SeccompFilter)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.dd.cws.adv1.pb.SecDumpProto.SeccompFilter other) { + if (other == com.dd.cws.adv1.pb.SecDumpProto.SeccompFilter.getDefaultInstance()) return this; + if (!other.getDefaultAction().isEmpty()) { + defaultAction_ = other.defaultAction_; + bitField0_ |= 0x00000001; + onChanged(); + } + internalGetMutableSyscalls().mergeFrom( + other.internalGetSyscalls()); + bitField0_ |= 0x00000002; + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + defaultAction_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + com.google.protobuf.MapEntry + syscalls__ = input.readMessage( + SyscallsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableSyscalls().getMutableMap().put( + syscalls__.getKey(), syscalls__.getValue()); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object defaultAction_ = ""; + /** + *
+       * Default action applied to syscalls not explicitly listed.
+       * 
+ * + * string default_action = 1; + * @return The defaultAction. + */ + public java.lang.String getDefaultAction() { + java.lang.Object ref = defaultAction_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + defaultAction_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Default action applied to syscalls not explicitly listed.
+       * 
+ * + * string default_action = 1; + * @return The bytes for defaultAction. + */ + public com.google.protobuf.ByteString + getDefaultActionBytes() { + java.lang.Object ref = defaultAction_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + defaultAction_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Default action applied to syscalls not explicitly listed.
+       * 
+ * + * string default_action = 1; + * @param value The defaultAction to set. + * @return This builder for chaining. + */ + public Builder setDefaultAction( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + defaultAction_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+       * Default action applied to syscalls not explicitly listed.
+       * 
+ * + * string default_action = 1; + * @return This builder for chaining. + */ + public Builder clearDefaultAction() { + defaultAction_ = getDefaultInstance().getDefaultAction(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + *
+       * Default action applied to syscalls not explicitly listed.
+       * 
+ * + * string default_action = 1; + * @param value The bytes for defaultAction to set. + * @return This builder for chaining. + */ + public Builder setDefaultActionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + defaultAction_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private com.google.protobuf.MapField< + java.lang.String, com.dd.cws.adv1.pb.SecDumpProto.SyscallRule> syscalls_; + private com.google.protobuf.MapField + internalGetSyscalls() { + if (syscalls_ == null) { + return com.google.protobuf.MapField.emptyMapField( + SyscallsDefaultEntryHolder.defaultEntry); + } + return syscalls_; + } + private com.google.protobuf.MapField + internalGetMutableSyscalls() { + if (syscalls_ == null) { + syscalls_ = com.google.protobuf.MapField.newMapField( + SyscallsDefaultEntryHolder.defaultEntry); + } + if (!syscalls_.isMutable()) { + syscalls_ = syscalls_.copy(); + } + bitField0_ |= 0x00000002; + onChanged(); + return syscalls_; + } + public int getSyscallsCount() { + return internalGetSyscalls().getMap().size(); + } + /** + *
+       * Per-syscall rule, keyed by syscall name.
+       * 
+ * + * map<string, .datadog.cws.dumpsv1.SyscallRule> syscalls = 2; + */ + @java.lang.Override + public boolean containsSyscalls( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + return internalGetSyscalls().getMap().containsKey(key); + } + /** + * Use {@link #getSyscallsMap()} instead. + */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getSyscalls() { + return getSyscallsMap(); + } + /** + *
+       * Per-syscall rule, keyed by syscall name.
+       * 
+ * + * map<string, .datadog.cws.dumpsv1.SyscallRule> syscalls = 2; + */ + @java.lang.Override + public java.util.Map getSyscallsMap() { + return internalGetSyscalls().getMap(); + } + /** + *
+       * Per-syscall rule, keyed by syscall name.
+       * 
+ * + * map<string, .datadog.cws.dumpsv1.SyscallRule> syscalls = 2; + */ + @java.lang.Override + public /* nullable */ +com.dd.cws.adv1.pb.SecDumpProto.SyscallRule getSyscallsOrDefault( + java.lang.String key, + /* nullable */ +com.dd.cws.adv1.pb.SecDumpProto.SyscallRule defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetSyscalls().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + *
+       * Per-syscall rule, keyed by syscall name.
+       * 
+ * + * map<string, .datadog.cws.dumpsv1.SyscallRule> syscalls = 2; + */ + @java.lang.Override + public com.dd.cws.adv1.pb.SecDumpProto.SyscallRule getSyscallsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetSyscalls().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + public Builder clearSyscalls() { + bitField0_ = (bitField0_ & ~0x00000002); + internalGetMutableSyscalls().getMutableMap() + .clear(); + return this; + } + /** + *
+       * Per-syscall rule, keyed by syscall name.
+       * 
+ * + * map<string, .datadog.cws.dumpsv1.SyscallRule> syscalls = 2; + */ + public Builder removeSyscalls( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableSyscalls().getMutableMap() + .remove(key); + return this; + } + /** + * Use alternate mutation accessors instead. + */ + @java.lang.Deprecated + public java.util.Map + getMutableSyscalls() { + bitField0_ |= 0x00000002; + return internalGetMutableSyscalls().getMutableMap(); + } + /** + *
+       * Per-syscall rule, keyed by syscall name.
+       * 
+ * + * map<string, .datadog.cws.dumpsv1.SyscallRule> syscalls = 2; + */ + public Builder putSyscalls( + java.lang.String key, + com.dd.cws.adv1.pb.SecDumpProto.SyscallRule value) { + if (key == null) { throw new NullPointerException("map key"); } + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutableSyscalls().getMutableMap() + .put(key, value); + bitField0_ |= 0x00000002; + return this; + } + /** + *
+       * Per-syscall rule, keyed by syscall name.
+       * 
+ * + * map<string, .datadog.cws.dumpsv1.SyscallRule> syscalls = 2; + */ + public Builder putAllSyscalls( + java.util.Map values) { + internalGetMutableSyscalls().getMutableMap() + .putAll(values); + bitField0_ |= 0x00000002; + 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.SeccompFilter) + } + + // @@protoc_insertion_point(class_scope:datadog.cws.dumpsv1.SeccompFilter) + private static final com.dd.cws.adv1.pb.SecDumpProto.SeccompFilter DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.dd.cws.adv1.pb.SecDumpProto.SeccompFilter(); + } + + public static com.dd.cws.adv1.pb.SecDumpProto.SeccompFilter getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SeccompFilter 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.SeccompFilter getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface SyscallRuleOrBuilder extends + // @@protoc_insertion_point(interface_extends:datadog.cws.dumpsv1.SyscallRule) + com.google.protobuf.MessageOrBuilder { + + /** + *
+     * Base action (evaluated with args=0).
+     * 
+ * + * string action = 1; + * @return The action. + */ + java.lang.String getAction(); + /** + *
+     * Base action (evaluated with args=0).
+     * 
+ * + * string action = 1; + * @return The bytes for action. + */ + com.google.protobuf.ByteString + getActionBytes(); + + /** + *
+     * Argument-level conditions extracted from the BPF filter.
+     * 
+ * + * repeated .datadog.cws.dumpsv1.ArgCondition conditions = 2; + */ + java.util.List + getConditionsList(); + /** + *
+     * Argument-level conditions extracted from the BPF filter.
+     * 
+ * + * repeated .datadog.cws.dumpsv1.ArgCondition conditions = 2; + */ + com.dd.cws.adv1.pb.SecDumpProto.ArgCondition getConditions(int index); + /** + *
+     * Argument-level conditions extracted from the BPF filter.
+     * 
+ * + * repeated .datadog.cws.dumpsv1.ArgCondition conditions = 2; + */ + int getConditionsCount(); + /** + *
+     * Argument-level conditions extracted from the BPF filter.
+     * 
+ * + * repeated .datadog.cws.dumpsv1.ArgCondition conditions = 2; + */ + java.util.List + getConditionsOrBuilderList(); + /** + *
+     * Argument-level conditions extracted from the BPF filter.
+     * 
+ * + * repeated .datadog.cws.dumpsv1.ArgCondition conditions = 2; + */ + com.dd.cws.adv1.pb.SecDumpProto.ArgConditionOrBuilder getConditionsOrBuilder( + int index); + } + /** + * Protobuf type {@code datadog.cws.dumpsv1.SyscallRule} + */ + public static final class SyscallRule extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:datadog.cws.dumpsv1.SyscallRule) + SyscallRuleOrBuilder { + private static final long serialVersionUID = 0L; + // Use SyscallRule.newBuilder() to construct. + private SyscallRule(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private SyscallRule() { + action_ = ""; + conditions_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new SyscallRule(); + } + + @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_SyscallRule_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_SyscallRule_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.dd.cws.adv1.pb.SecDumpProto.SyscallRule.class, com.dd.cws.adv1.pb.SecDumpProto.SyscallRule.Builder.class); + } + + public static final int ACTION_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object action_ = ""; + /** + *
+     * Base action (evaluated with args=0).
+     * 
+ * + * string action = 1; + * @return The action. + */ + @java.lang.Override + public java.lang.String getAction() { + java.lang.Object ref = action_; + 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(); + action_ = s; + return s; + } + } + /** + *
+     * Base action (evaluated with args=0).
+     * 
+ * + * string action = 1; + * @return The bytes for action. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getActionBytes() { + java.lang.Object ref = action_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + action_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int CONDITIONS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private java.util.List conditions_; + /** + *
+     * Argument-level conditions extracted from the BPF filter.
+     * 
+ * + * repeated .datadog.cws.dumpsv1.ArgCondition conditions = 2; + */ + @java.lang.Override + public java.util.List getConditionsList() { + return conditions_; + } + /** + *
+     * Argument-level conditions extracted from the BPF filter.
+     * 
+ * + * repeated .datadog.cws.dumpsv1.ArgCondition conditions = 2; + */ + @java.lang.Override + public java.util.List + getConditionsOrBuilderList() { + return conditions_; + } + /** + *
+     * Argument-level conditions extracted from the BPF filter.
+     * 
+ * + * repeated .datadog.cws.dumpsv1.ArgCondition conditions = 2; + */ + @java.lang.Override + public int getConditionsCount() { + return conditions_.size(); + } + /** + *
+     * Argument-level conditions extracted from the BPF filter.
+     * 
+ * + * repeated .datadog.cws.dumpsv1.ArgCondition conditions = 2; + */ + @java.lang.Override + public com.dd.cws.adv1.pb.SecDumpProto.ArgCondition getConditions(int index) { + return conditions_.get(index); + } + /** + *
+     * Argument-level conditions extracted from the BPF filter.
+     * 
+ * + * repeated .datadog.cws.dumpsv1.ArgCondition conditions = 2; + */ + @java.lang.Override + public com.dd.cws.adv1.pb.SecDumpProto.ArgConditionOrBuilder getConditionsOrBuilder( + int index) { + return conditions_.get(index); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(action_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, action_); + } + for (int i = 0; i < conditions_.size(); i++) { + output.writeMessage(2, conditions_.get(i)); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(action_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, action_); + } + for (int i = 0; i < conditions_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, conditions_.get(i)); + } + 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.SyscallRule)) { + return super.equals(obj); + } + com.dd.cws.adv1.pb.SecDumpProto.SyscallRule other = (com.dd.cws.adv1.pb.SecDumpProto.SyscallRule) obj; + + if (!getAction() + .equals(other.getAction())) return false; + if (!getConditionsList() + .equals(other.getConditionsList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + ACTION_FIELD_NUMBER; + hash = (53 * hash) + getAction().hashCode(); + if (getConditionsCount() > 0) { + hash = (37 * hash) + CONDITIONS_FIELD_NUMBER; + hash = (53 * hash) + getConditionsList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.dd.cws.adv1.pb.SecDumpProto.SyscallRule parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.dd.cws.adv1.pb.SecDumpProto.SyscallRule 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.SyscallRule parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.dd.cws.adv1.pb.SecDumpProto.SyscallRule 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.SyscallRule parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.dd.cws.adv1.pb.SecDumpProto.SyscallRule 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.SyscallRule 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.SyscallRule 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.SyscallRule 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.SyscallRule 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.SyscallRule 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.SyscallRule 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.SyscallRule 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.SyscallRule} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:datadog.cws.dumpsv1.SyscallRule) + com.dd.cws.adv1.pb.SecDumpProto.SyscallRuleOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_SyscallRule_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_SyscallRule_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.dd.cws.adv1.pb.SecDumpProto.SyscallRule.class, com.dd.cws.adv1.pb.SecDumpProto.SyscallRule.Builder.class); + } + + // Construct using com.dd.cws.adv1.pb.SecDumpProto.SyscallRule.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + action_ = ""; + if (conditionsBuilder_ == null) { + conditions_ = java.util.Collections.emptyList(); + } else { + conditions_ = null; + conditionsBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000002); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_SyscallRule_descriptor; + } + + @java.lang.Override + public com.dd.cws.adv1.pb.SecDumpProto.SyscallRule getDefaultInstanceForType() { + return com.dd.cws.adv1.pb.SecDumpProto.SyscallRule.getDefaultInstance(); + } + + @java.lang.Override + public com.dd.cws.adv1.pb.SecDumpProto.SyscallRule build() { + com.dd.cws.adv1.pb.SecDumpProto.SyscallRule result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.dd.cws.adv1.pb.SecDumpProto.SyscallRule buildPartial() { + com.dd.cws.adv1.pb.SecDumpProto.SyscallRule result = new com.dd.cws.adv1.pb.SecDumpProto.SyscallRule(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(com.dd.cws.adv1.pb.SecDumpProto.SyscallRule result) { + if (conditionsBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0)) { + conditions_ = java.util.Collections.unmodifiableList(conditions_); + bitField0_ = (bitField0_ & ~0x00000002); + } + result.conditions_ = conditions_; + } else { + result.conditions_ = conditionsBuilder_.build(); + } + } + + private void buildPartial0(com.dd.cws.adv1.pb.SecDumpProto.SyscallRule result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.action_ = action_; + } + } + + @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.SyscallRule) { + return mergeFrom((com.dd.cws.adv1.pb.SecDumpProto.SyscallRule)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.dd.cws.adv1.pb.SecDumpProto.SyscallRule other) { + if (other == com.dd.cws.adv1.pb.SecDumpProto.SyscallRule.getDefaultInstance()) return this; + if (!other.getAction().isEmpty()) { + action_ = other.action_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (conditionsBuilder_ == null) { + if (!other.conditions_.isEmpty()) { + if (conditions_.isEmpty()) { + conditions_ = other.conditions_; + bitField0_ = (bitField0_ & ~0x00000002); + } else { + ensureConditionsIsMutable(); + conditions_.addAll(other.conditions_); + } + onChanged(); + } + } else { + if (!other.conditions_.isEmpty()) { + if (conditionsBuilder_.isEmpty()) { + conditionsBuilder_.dispose(); + conditionsBuilder_ = null; + conditions_ = other.conditions_; + bitField0_ = (bitField0_ & ~0x00000002); + conditionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getConditionsFieldBuilder() : null; + } else { + conditionsBuilder_.addAllMessages(other.conditions_); + } + } + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + action_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + com.dd.cws.adv1.pb.SecDumpProto.ArgCondition m = + input.readMessage( + com.dd.cws.adv1.pb.SecDumpProto.ArgCondition.parser(), + extensionRegistry); + if (conditionsBuilder_ == null) { + ensureConditionsIsMutable(); + conditions_.add(m); + } else { + conditionsBuilder_.addMessage(m); + } + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object action_ = ""; + /** + *
+       * Base action (evaluated with args=0).
+       * 
+ * + * string action = 1; + * @return The action. + */ + public java.lang.String getAction() { + java.lang.Object ref = action_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + action_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Base action (evaluated with args=0).
+       * 
+ * + * string action = 1; + * @return The bytes for action. + */ + public com.google.protobuf.ByteString + getActionBytes() { + java.lang.Object ref = action_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + action_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Base action (evaluated with args=0).
+       * 
+ * + * string action = 1; + * @param value The action to set. + * @return This builder for chaining. + */ + public Builder setAction( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + action_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+       * Base action (evaluated with args=0).
+       * 
+ * + * string action = 1; + * @return This builder for chaining. + */ + public Builder clearAction() { + action_ = getDefaultInstance().getAction(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + *
+       * Base action (evaluated with args=0).
+       * 
+ * + * string action = 1; + * @param value The bytes for action to set. + * @return This builder for chaining. + */ + public Builder setActionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + action_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.util.List conditions_ = + java.util.Collections.emptyList(); + private void ensureConditionsIsMutable() { + if (!((bitField0_ & 0x00000002) != 0)) { + conditions_ = new java.util.ArrayList(conditions_); + bitField0_ |= 0x00000002; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.dd.cws.adv1.pb.SecDumpProto.ArgCondition, com.dd.cws.adv1.pb.SecDumpProto.ArgCondition.Builder, com.dd.cws.adv1.pb.SecDumpProto.ArgConditionOrBuilder> conditionsBuilder_; + + /** + *
+       * Argument-level conditions extracted from the BPF filter.
+       * 
+ * + * repeated .datadog.cws.dumpsv1.ArgCondition conditions = 2; + */ + public java.util.List getConditionsList() { + if (conditionsBuilder_ == null) { + return java.util.Collections.unmodifiableList(conditions_); + } else { + return conditionsBuilder_.getMessageList(); + } + } + /** + *
+       * Argument-level conditions extracted from the BPF filter.
+       * 
+ * + * repeated .datadog.cws.dumpsv1.ArgCondition conditions = 2; + */ + public int getConditionsCount() { + if (conditionsBuilder_ == null) { + return conditions_.size(); + } else { + return conditionsBuilder_.getCount(); + } + } + /** + *
+       * Argument-level conditions extracted from the BPF filter.
+       * 
+ * + * repeated .datadog.cws.dumpsv1.ArgCondition conditions = 2; + */ + public com.dd.cws.adv1.pb.SecDumpProto.ArgCondition getConditions(int index) { + if (conditionsBuilder_ == null) { + return conditions_.get(index); + } else { + return conditionsBuilder_.getMessage(index); + } + } + /** + *
+       * Argument-level conditions extracted from the BPF filter.
+       * 
+ * + * repeated .datadog.cws.dumpsv1.ArgCondition conditions = 2; + */ + public Builder setConditions( + int index, com.dd.cws.adv1.pb.SecDumpProto.ArgCondition value) { + if (conditionsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureConditionsIsMutable(); + conditions_.set(index, value); + onChanged(); + } else { + conditionsBuilder_.setMessage(index, value); + } + return this; + } + /** + *
+       * Argument-level conditions extracted from the BPF filter.
+       * 
+ * + * repeated .datadog.cws.dumpsv1.ArgCondition conditions = 2; + */ + public Builder setConditions( + int index, com.dd.cws.adv1.pb.SecDumpProto.ArgCondition.Builder builderForValue) { + if (conditionsBuilder_ == null) { + ensureConditionsIsMutable(); + conditions_.set(index, builderForValue.build()); + onChanged(); + } else { + conditionsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+       * Argument-level conditions extracted from the BPF filter.
+       * 
+ * + * repeated .datadog.cws.dumpsv1.ArgCondition conditions = 2; + */ + public Builder addConditions(com.dd.cws.adv1.pb.SecDumpProto.ArgCondition value) { + if (conditionsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureConditionsIsMutable(); + conditions_.add(value); + onChanged(); + } else { + conditionsBuilder_.addMessage(value); + } + return this; + } + /** + *
+       * Argument-level conditions extracted from the BPF filter.
+       * 
+ * + * repeated .datadog.cws.dumpsv1.ArgCondition conditions = 2; + */ + public Builder addConditions( + int index, com.dd.cws.adv1.pb.SecDumpProto.ArgCondition value) { + if (conditionsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureConditionsIsMutable(); + conditions_.add(index, value); + onChanged(); + } else { + conditionsBuilder_.addMessage(index, value); + } + return this; + } + /** + *
+       * Argument-level conditions extracted from the BPF filter.
+       * 
+ * + * repeated .datadog.cws.dumpsv1.ArgCondition conditions = 2; + */ + public Builder addConditions( + com.dd.cws.adv1.pb.SecDumpProto.ArgCondition.Builder builderForValue) { + if (conditionsBuilder_ == null) { + ensureConditionsIsMutable(); + conditions_.add(builderForValue.build()); + onChanged(); + } else { + conditionsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + *
+       * Argument-level conditions extracted from the BPF filter.
+       * 
+ * + * repeated .datadog.cws.dumpsv1.ArgCondition conditions = 2; + */ + public Builder addConditions( + int index, com.dd.cws.adv1.pb.SecDumpProto.ArgCondition.Builder builderForValue) { + if (conditionsBuilder_ == null) { + ensureConditionsIsMutable(); + conditions_.add(index, builderForValue.build()); + onChanged(); + } else { + conditionsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+       * Argument-level conditions extracted from the BPF filter.
+       * 
+ * + * repeated .datadog.cws.dumpsv1.ArgCondition conditions = 2; + */ + public Builder addAllConditions( + java.lang.Iterable values) { + if (conditionsBuilder_ == null) { + ensureConditionsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, conditions_); + onChanged(); + } else { + conditionsBuilder_.addAllMessages(values); + } + return this; + } + /** + *
+       * Argument-level conditions extracted from the BPF filter.
+       * 
+ * + * repeated .datadog.cws.dumpsv1.ArgCondition conditions = 2; + */ + public Builder clearConditions() { + if (conditionsBuilder_ == null) { + conditions_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + } else { + conditionsBuilder_.clear(); + } + return this; + } + /** + *
+       * Argument-level conditions extracted from the BPF filter.
+       * 
+ * + * repeated .datadog.cws.dumpsv1.ArgCondition conditions = 2; + */ + public Builder removeConditions(int index) { + if (conditionsBuilder_ == null) { + ensureConditionsIsMutable(); + conditions_.remove(index); + onChanged(); + } else { + conditionsBuilder_.remove(index); + } + return this; + } + /** + *
+       * Argument-level conditions extracted from the BPF filter.
+       * 
+ * + * repeated .datadog.cws.dumpsv1.ArgCondition conditions = 2; + */ + public com.dd.cws.adv1.pb.SecDumpProto.ArgCondition.Builder getConditionsBuilder( + int index) { + return getConditionsFieldBuilder().getBuilder(index); + } + /** + *
+       * Argument-level conditions extracted from the BPF filter.
+       * 
+ * + * repeated .datadog.cws.dumpsv1.ArgCondition conditions = 2; + */ + public com.dd.cws.adv1.pb.SecDumpProto.ArgConditionOrBuilder getConditionsOrBuilder( + int index) { + if (conditionsBuilder_ == null) { + return conditions_.get(index); } else { + return conditionsBuilder_.getMessageOrBuilder(index); + } + } + /** + *
+       * Argument-level conditions extracted from the BPF filter.
+       * 
+ * + * repeated .datadog.cws.dumpsv1.ArgCondition conditions = 2; + */ + public java.util.List + getConditionsOrBuilderList() { + if (conditionsBuilder_ != null) { + return conditionsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(conditions_); + } + } + /** + *
+       * Argument-level conditions extracted from the BPF filter.
+       * 
+ * + * repeated .datadog.cws.dumpsv1.ArgCondition conditions = 2; + */ + public com.dd.cws.adv1.pb.SecDumpProto.ArgCondition.Builder addConditionsBuilder() { + return getConditionsFieldBuilder().addBuilder( + com.dd.cws.adv1.pb.SecDumpProto.ArgCondition.getDefaultInstance()); + } + /** + *
+       * Argument-level conditions extracted from the BPF filter.
+       * 
+ * + * repeated .datadog.cws.dumpsv1.ArgCondition conditions = 2; + */ + public com.dd.cws.adv1.pb.SecDumpProto.ArgCondition.Builder addConditionsBuilder( + int index) { + return getConditionsFieldBuilder().addBuilder( + index, com.dd.cws.adv1.pb.SecDumpProto.ArgCondition.getDefaultInstance()); + } + /** + *
+       * Argument-level conditions extracted from the BPF filter.
+       * 
+ * + * repeated .datadog.cws.dumpsv1.ArgCondition conditions = 2; + */ + public java.util.List + getConditionsBuilderList() { + return getConditionsFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.dd.cws.adv1.pb.SecDumpProto.ArgCondition, com.dd.cws.adv1.pb.SecDumpProto.ArgCondition.Builder, com.dd.cws.adv1.pb.SecDumpProto.ArgConditionOrBuilder> + getConditionsFieldBuilder() { + if (conditionsBuilder_ == null) { + conditionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.dd.cws.adv1.pb.SecDumpProto.ArgCondition, com.dd.cws.adv1.pb.SecDumpProto.ArgCondition.Builder, com.dd.cws.adv1.pb.SecDumpProto.ArgConditionOrBuilder>( + conditions_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); + conditions_ = null; + } + return conditionsBuilder_; + } + @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.SyscallRule) + } + + // @@protoc_insertion_point(class_scope:datadog.cws.dumpsv1.SyscallRule) + private static final com.dd.cws.adv1.pb.SecDumpProto.SyscallRule DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.dd.cws.adv1.pb.SecDumpProto.SyscallRule(); + } + + public static com.dd.cws.adv1.pb.SecDumpProto.SyscallRule getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SyscallRule 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.SyscallRule getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface ArgConditionOrBuilder extends + // @@protoc_insertion_point(interface_extends:datadog.cws.dumpsv1.ArgCondition) + com.google.protobuf.MessageOrBuilder { + + /** + *
+     * Argument index (0..5).
+     * 
+ * + * int32 arg_index = 1; + * @return The argIndex. + */ + int getArgIndex(); + + /** + *
+     * Comparison operator: "==", "!=", "&", ">", ">=", "<", "<=".
+     * 
+ * + * string op = 2; + * @return The op. + */ + java.lang.String getOp(); + /** + *
+     * Comparison operator: "==", "!=", "&", ">", ">=", "<", "<=".
+     * 
+ * + * string op = 2; + * @return The bytes for op. + */ + com.google.protobuf.ByteString + getOpBytes(); + + /** + *
+     * Constant value compared against.
+     * 
+ * + * uint64 value = 3; + * @return The value. + */ + long getValue(); + + /** + *
+     * Action when condition matches.
+     * 
+ * + * string action = 4; + * @return The action. + */ + java.lang.String getAction(); + /** + *
+     * Action when condition matches.
+     * 
+ * + * string action = 4; + * @return The bytes for action. + */ + com.google.protobuf.ByteString + getActionBytes(); + } + /** + * Protobuf type {@code datadog.cws.dumpsv1.ArgCondition} + */ + public static final class ArgCondition extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:datadog.cws.dumpsv1.ArgCondition) + ArgConditionOrBuilder { + private static final long serialVersionUID = 0L; + // Use ArgCondition.newBuilder() to construct. + private ArgCondition(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ArgCondition() { + op_ = ""; + action_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ArgCondition(); + } + + @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_ArgCondition_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_ArgCondition_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.dd.cws.adv1.pb.SecDumpProto.ArgCondition.class, com.dd.cws.adv1.pb.SecDumpProto.ArgCondition.Builder.class); + } + + public static final int ARG_INDEX_FIELD_NUMBER = 1; + private int argIndex_ = 0; + /** + *
+     * Argument index (0..5).
+     * 
+ * + * int32 arg_index = 1; + * @return The argIndex. + */ + @java.lang.Override + public int getArgIndex() { + return argIndex_; + } + + public static final int OP_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object op_ = ""; + /** + *
+     * Comparison operator: "==", "!=", "&", ">", ">=", "<", "<=".
+     * 
+ * + * string op = 2; + * @return The op. + */ + @java.lang.Override + public java.lang.String getOp() { + java.lang.Object ref = op_; + 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(); + op_ = s; + return s; + } + } + /** + *
+     * Comparison operator: "==", "!=", "&", ">", ">=", "<", "<=".
+     * 
+ * + * string op = 2; + * @return The bytes for op. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getOpBytes() { + java.lang.Object ref = op_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + op_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int VALUE_FIELD_NUMBER = 3; + private long value_ = 0L; + /** + *
+     * Constant value compared against.
+     * 
+ * + * uint64 value = 3; + * @return The value. + */ + @java.lang.Override + public long getValue() { + return value_; + } + + public static final int ACTION_FIELD_NUMBER = 4; + @SuppressWarnings("serial") + private volatile java.lang.Object action_ = ""; + /** + *
+     * Action when condition matches.
+     * 
+ * + * string action = 4; + * @return The action. + */ + @java.lang.Override + public java.lang.String getAction() { + java.lang.Object ref = action_; + 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(); + action_ = s; + return s; + } + } + /** + *
+     * Action when condition matches.
+     * 
+ * + * string action = 4; + * @return The bytes for action. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getActionBytes() { + java.lang.Object ref = action_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + action_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + 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 (argIndex_ != 0) { + output.writeInt32(1, argIndex_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(op_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, op_); + } + if (value_ != 0L) { + output.writeUInt64(3, value_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(action_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, action_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (argIndex_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, argIndex_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(op_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, op_); + } + if (value_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeUInt64Size(3, value_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(action_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, action_); + } + 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.ArgCondition)) { + return super.equals(obj); + } + com.dd.cws.adv1.pb.SecDumpProto.ArgCondition other = (com.dd.cws.adv1.pb.SecDumpProto.ArgCondition) obj; + + if (getArgIndex() + != other.getArgIndex()) return false; + if (!getOp() + .equals(other.getOp())) return false; + if (getValue() + != other.getValue()) return false; + if (!getAction() + .equals(other.getAction())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + ARG_INDEX_FIELD_NUMBER; + hash = (53 * hash) + getArgIndex(); + hash = (37 * hash) + OP_FIELD_NUMBER; + hash = (53 * hash) + getOp().hashCode(); + hash = (37 * hash) + VALUE_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getValue()); + hash = (37 * hash) + ACTION_FIELD_NUMBER; + hash = (53 * hash) + getAction().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.dd.cws.adv1.pb.SecDumpProto.ArgCondition parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.dd.cws.adv1.pb.SecDumpProto.ArgCondition 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.ArgCondition parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.dd.cws.adv1.pb.SecDumpProto.ArgCondition 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.ArgCondition parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.dd.cws.adv1.pb.SecDumpProto.ArgCondition 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.ArgCondition 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.ArgCondition 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.ArgCondition 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.ArgCondition 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.ArgCondition 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.ArgCondition 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.ArgCondition 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.ArgCondition} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:datadog.cws.dumpsv1.ArgCondition) + com.dd.cws.adv1.pb.SecDumpProto.ArgConditionOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_ArgCondition_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_ArgCondition_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.dd.cws.adv1.pb.SecDumpProto.ArgCondition.class, com.dd.cws.adv1.pb.SecDumpProto.ArgCondition.Builder.class); + } + + // Construct using com.dd.cws.adv1.pb.SecDumpProto.ArgCondition.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + argIndex_ = 0; + op_ = ""; + value_ = 0L; + action_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_ArgCondition_descriptor; + } + + @java.lang.Override + public com.dd.cws.adv1.pb.SecDumpProto.ArgCondition getDefaultInstanceForType() { + return com.dd.cws.adv1.pb.SecDumpProto.ArgCondition.getDefaultInstance(); + } + + @java.lang.Override + public com.dd.cws.adv1.pb.SecDumpProto.ArgCondition build() { + com.dd.cws.adv1.pb.SecDumpProto.ArgCondition result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.dd.cws.adv1.pb.SecDumpProto.ArgCondition buildPartial() { + com.dd.cws.adv1.pb.SecDumpProto.ArgCondition result = new com.dd.cws.adv1.pb.SecDumpProto.ArgCondition(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.dd.cws.adv1.pb.SecDumpProto.ArgCondition result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.argIndex_ = argIndex_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.op_ = op_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.value_ = value_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.action_ = action_; + } + } + + @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.ArgCondition) { + return mergeFrom((com.dd.cws.adv1.pb.SecDumpProto.ArgCondition)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.dd.cws.adv1.pb.SecDumpProto.ArgCondition other) { + if (other == com.dd.cws.adv1.pb.SecDumpProto.ArgCondition.getDefaultInstance()) return this; + if (other.getArgIndex() != 0) { + setArgIndex(other.getArgIndex()); + } + if (!other.getOp().isEmpty()) { + op_ = other.op_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (other.getValue() != 0L) { + setValue(other.getValue()); + } + if (!other.getAction().isEmpty()) { + action_ = other.action_; + bitField0_ |= 0x00000008; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + argIndex_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + op_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: { + value_ = input.readUInt64(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 34: { + action_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private int argIndex_ ; + /** + *
+       * Argument index (0..5).
+       * 
+ * + * int32 arg_index = 1; + * @return The argIndex. + */ + @java.lang.Override + public int getArgIndex() { + return argIndex_; + } + /** + *
+       * Argument index (0..5).
+       * 
+ * + * int32 arg_index = 1; + * @param value The argIndex to set. + * @return This builder for chaining. + */ + public Builder setArgIndex(int value) { + + argIndex_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+       * Argument index (0..5).
+       * 
+ * + * int32 arg_index = 1; + * @return This builder for chaining. + */ + public Builder clearArgIndex() { + bitField0_ = (bitField0_ & ~0x00000001); + argIndex_ = 0; + onChanged(); + return this; + } + + private java.lang.Object op_ = ""; + /** + *
+       * Comparison operator: "==", "!=", "&", ">", ">=", "<", "<=".
+       * 
+ * + * string op = 2; + * @return The op. + */ + public java.lang.String getOp() { + java.lang.Object ref = op_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + op_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Comparison operator: "==", "!=", "&", ">", ">=", "<", "<=".
+       * 
+ * + * string op = 2; + * @return The bytes for op. + */ + public com.google.protobuf.ByteString + getOpBytes() { + java.lang.Object ref = op_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + op_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Comparison operator: "==", "!=", "&", ">", ">=", "<", "<=".
+       * 
+ * + * string op = 2; + * @param value The op to set. + * @return This builder for chaining. + */ + public Builder setOp( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + op_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+       * Comparison operator: "==", "!=", "&", ">", ">=", "<", "<=".
+       * 
+ * + * string op = 2; + * @return This builder for chaining. + */ + public Builder clearOp() { + op_ = getDefaultInstance().getOp(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + *
+       * Comparison operator: "==", "!=", "&", ">", ">=", "<", "<=".
+       * 
+ * + * string op = 2; + * @param value The bytes for op to set. + * @return This builder for chaining. + */ + public Builder setOpBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + op_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private long value_ ; + /** + *
+       * Constant value compared against.
+       * 
+ * + * uint64 value = 3; + * @return The value. + */ + @java.lang.Override + public long getValue() { + return value_; + } + /** + *
+       * Constant value compared against.
+       * 
+ * + * uint64 value = 3; + * @param value The value to set. + * @return This builder for chaining. + */ + public Builder setValue(long value) { + + value_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + *
+       * Constant value compared against.
+       * 
+ * + * uint64 value = 3; + * @return This builder for chaining. + */ + public Builder clearValue() { + bitField0_ = (bitField0_ & ~0x00000004); + value_ = 0L; + onChanged(); + return this; + } + + private java.lang.Object action_ = ""; + /** + *
+       * Action when condition matches.
+       * 
+ * + * string action = 4; + * @return The action. + */ + public java.lang.String getAction() { + java.lang.Object ref = action_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + action_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Action when condition matches.
+       * 
+ * + * string action = 4; + * @return The bytes for action. + */ + public com.google.protobuf.ByteString + getActionBytes() { + java.lang.Object ref = action_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + action_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Action when condition matches.
+       * 
+ * + * string action = 4; + * @param value The action to set. + * @return This builder for chaining. + */ + public Builder setAction( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + action_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + *
+       * Action when condition matches.
+       * 
+ * + * string action = 4; + * @return This builder for chaining. + */ + public Builder clearAction() { + action_ = getDefaultInstance().getAction(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + /** + *
+       * Action when condition matches.
+       * 
+ * + * string action = 4; + * @param value The bytes for action to set. + * @return This builder for chaining. + */ + public Builder setActionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + action_ = value; + bitField0_ |= 0x00000008; + 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.ArgCondition) + } + + // @@protoc_insertion_point(class_scope:datadog.cws.dumpsv1.ArgCondition) + private static final com.dd.cws.adv1.pb.SecDumpProto.ArgCondition DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.dd.cws.adv1.pb.SecDumpProto.ArgCondition(); + } + + public static com.dd.cws.adv1.pb.SecDumpProto.ArgCondition getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ArgCondition 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.ArgCondition getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface SecurityContextOrBuilder extends + // @@protoc_insertion_point(interface_extends:datadog.cws.dumpsv1.SecurityContext) + com.google.protobuf.MessageOrBuilder { + + /** + * bool privileged = 1; + * @return The privileged. + */ + boolean getPrivileged(); + + /** + * .datadog.cws.dumpsv1.SeccompProfile seccomp = 2; + * @return Whether the seccomp field is set. + */ + boolean hasSeccomp(); + /** + * .datadog.cws.dumpsv1.SeccompProfile seccomp = 2; + * @return The seccomp. + */ + com.dd.cws.adv1.pb.SecDumpProto.SeccompProfile getSeccomp(); + /** + * .datadog.cws.dumpsv1.SeccompProfile seccomp = 2; + */ + com.dd.cws.adv1.pb.SecDumpProto.SeccompProfileOrBuilder getSeccompOrBuilder(); + + /** + * repeated string capabilities_add = 3; + * @return A list containing the capabilitiesAdd. + */ + java.util.List + getCapabilitiesAddList(); + /** + * repeated string capabilities_add = 3; + * @return The count of capabilitiesAdd. + */ + int getCapabilitiesAddCount(); + /** + * repeated string capabilities_add = 3; + * @param index The index of the element to return. + * @return The capabilitiesAdd at the given index. + */ + java.lang.String getCapabilitiesAdd(int index); + /** + * repeated string capabilities_add = 3; + * @param index The index of the value to return. + * @return The bytes of the capabilitiesAdd at the given index. + */ + com.google.protobuf.ByteString + getCapabilitiesAddBytes(int index); + + /** + * repeated string capabilities_drop = 4; + * @return A list containing the capabilitiesDrop. + */ + java.util.List + getCapabilitiesDropList(); + /** + * repeated string capabilities_drop = 4; + * @return The count of capabilitiesDrop. + */ + int getCapabilitiesDropCount(); + /** + * repeated string capabilities_drop = 4; + * @param index The index of the element to return. + * @return The capabilitiesDrop at the given index. + */ + java.lang.String getCapabilitiesDrop(int index); + /** + * repeated string capabilities_drop = 4; + * @param index The index of the value to return. + * @return The bytes of the capabilitiesDrop at the given index. + */ + com.google.protobuf.ByteString + getCapabilitiesDropBytes(int index); + + /** + * optional bool run_as_non_root = 5; + * @return Whether the runAsNonRoot field is set. + */ + boolean hasRunAsNonRoot(); + /** + * optional bool run_as_non_root = 5; + * @return The runAsNonRoot. + */ + boolean getRunAsNonRoot(); + + /** + * optional bool allow_privilege_escalation = 6; + * @return Whether the allowPrivilegeEscalation field is set. + */ + boolean hasAllowPrivilegeEscalation(); + /** + * optional bool allow_privilege_escalation = 6; + * @return The allowPrivilegeEscalation. + */ + boolean getAllowPrivilegeEscalation(); + + /** + * optional bool read_only_root_filesystem = 7; + * @return Whether the readOnlyRootFilesystem field is set. + */ + boolean hasReadOnlyRootFilesystem(); + /** + * optional bool read_only_root_filesystem = 7; + * @return The readOnlyRootFilesystem. + */ + boolean getReadOnlyRootFilesystem(); + } + /** + * Protobuf type {@code datadog.cws.dumpsv1.SecurityContext} + */ + public static final class SecurityContext extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:datadog.cws.dumpsv1.SecurityContext) + SecurityContextOrBuilder { + private static final long serialVersionUID = 0L; + // Use SecurityContext.newBuilder() to construct. + private SecurityContext(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private SecurityContext() { + capabilitiesAdd_ = com.google.protobuf.LazyStringArrayList.EMPTY; + capabilitiesDrop_ = com.google.protobuf.LazyStringArrayList.EMPTY; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new SecurityContext(); + } + + @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_SecurityContext_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_SecurityContext_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.dd.cws.adv1.pb.SecDumpProto.SecurityContext.class, com.dd.cws.adv1.pb.SecDumpProto.SecurityContext.Builder.class); + } + + private int bitField0_; + public static final int PRIVILEGED_FIELD_NUMBER = 1; + private boolean privileged_ = false; + /** + * bool privileged = 1; + * @return The privileged. + */ + @java.lang.Override + public boolean getPrivileged() { + return privileged_; + } + + public static final int SECCOMP_FIELD_NUMBER = 2; + private com.dd.cws.adv1.pb.SecDumpProto.SeccompProfile seccomp_; + /** + * .datadog.cws.dumpsv1.SeccompProfile seccomp = 2; + * @return Whether the seccomp field is set. + */ + @java.lang.Override + public boolean hasSeccomp() { + return seccomp_ != null; + } + /** + * .datadog.cws.dumpsv1.SeccompProfile seccomp = 2; + * @return The seccomp. + */ + @java.lang.Override + public com.dd.cws.adv1.pb.SecDumpProto.SeccompProfile getSeccomp() { + return seccomp_ == null ? com.dd.cws.adv1.pb.SecDumpProto.SeccompProfile.getDefaultInstance() : seccomp_; + } + /** + * .datadog.cws.dumpsv1.SeccompProfile seccomp = 2; + */ + @java.lang.Override + public com.dd.cws.adv1.pb.SecDumpProto.SeccompProfileOrBuilder getSeccompOrBuilder() { + return seccomp_ == null ? com.dd.cws.adv1.pb.SecDumpProto.SeccompProfile.getDefaultInstance() : seccomp_; + } + + public static final int CAPABILITIES_ADD_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringList capabilitiesAdd_; + /** + * repeated string capabilities_add = 3; + * @return A list containing the capabilitiesAdd. + */ + public com.google.protobuf.ProtocolStringList + getCapabilitiesAddList() { + return capabilitiesAdd_; + } + /** + * repeated string capabilities_add = 3; + * @return The count of capabilitiesAdd. + */ + public int getCapabilitiesAddCount() { + return capabilitiesAdd_.size(); + } + /** + * repeated string capabilities_add = 3; + * @param index The index of the element to return. + * @return The capabilitiesAdd at the given index. + */ + public java.lang.String getCapabilitiesAdd(int index) { + return capabilitiesAdd_.get(index); + } + /** + * repeated string capabilities_add = 3; + * @param index The index of the value to return. + * @return The bytes of the capabilitiesAdd at the given index. + */ + public com.google.protobuf.ByteString + getCapabilitiesAddBytes(int index) { + return capabilitiesAdd_.getByteString(index); + } + + public static final int CAPABILITIES_DROP_FIELD_NUMBER = 4; + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringList capabilitiesDrop_; + /** + * repeated string capabilities_drop = 4; + * @return A list containing the capabilitiesDrop. + */ + public com.google.protobuf.ProtocolStringList + getCapabilitiesDropList() { + return capabilitiesDrop_; + } + /** + * repeated string capabilities_drop = 4; + * @return The count of capabilitiesDrop. + */ + public int getCapabilitiesDropCount() { + return capabilitiesDrop_.size(); + } + /** + * repeated string capabilities_drop = 4; + * @param index The index of the element to return. + * @return The capabilitiesDrop at the given index. + */ + public java.lang.String getCapabilitiesDrop(int index) { + return capabilitiesDrop_.get(index); + } + /** + * repeated string capabilities_drop = 4; + * @param index The index of the value to return. + * @return The bytes of the capabilitiesDrop at the given index. + */ + public com.google.protobuf.ByteString + getCapabilitiesDropBytes(int index) { + return capabilitiesDrop_.getByteString(index); + } + + public static final int RUN_AS_NON_ROOT_FIELD_NUMBER = 5; + private boolean runAsNonRoot_ = false; + /** + * optional bool run_as_non_root = 5; + * @return Whether the runAsNonRoot field is set. + */ + @java.lang.Override + public boolean hasRunAsNonRoot() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * optional bool run_as_non_root = 5; + * @return The runAsNonRoot. + */ + @java.lang.Override + public boolean getRunAsNonRoot() { + return runAsNonRoot_; + } + + public static final int ALLOW_PRIVILEGE_ESCALATION_FIELD_NUMBER = 6; + private boolean allowPrivilegeEscalation_ = false; + /** + * optional bool allow_privilege_escalation = 6; + * @return Whether the allowPrivilegeEscalation field is set. + */ + @java.lang.Override + public boolean hasAllowPrivilegeEscalation() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * optional bool allow_privilege_escalation = 6; + * @return The allowPrivilegeEscalation. + */ + @java.lang.Override + public boolean getAllowPrivilegeEscalation() { + return allowPrivilegeEscalation_; + } + + public static final int READ_ONLY_ROOT_FILESYSTEM_FIELD_NUMBER = 7; + private boolean readOnlyRootFilesystem_ = false; + /** + * optional bool read_only_root_filesystem = 7; + * @return Whether the readOnlyRootFilesystem field is set. + */ + @java.lang.Override + public boolean hasReadOnlyRootFilesystem() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * optional bool read_only_root_filesystem = 7; + * @return The readOnlyRootFilesystem. + */ + @java.lang.Override + public boolean getReadOnlyRootFilesystem() { + return readOnlyRootFilesystem_; + } + + 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 (privileged_ != false) { + output.writeBool(1, privileged_); + } + if (seccomp_ != null) { + output.writeMessage(2, getSeccomp()); + } + for (int i = 0; i < capabilitiesAdd_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, capabilitiesAdd_.getRaw(i)); + } + for (int i = 0; i < capabilitiesDrop_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, capabilitiesDrop_.getRaw(i)); + } + if (((bitField0_ & 0x00000001) != 0)) { + output.writeBool(5, runAsNonRoot_); + } + if (((bitField0_ & 0x00000002) != 0)) { + output.writeBool(6, allowPrivilegeEscalation_); + } + if (((bitField0_ & 0x00000004) != 0)) { + output.writeBool(7, readOnlyRootFilesystem_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (privileged_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, privileged_); + } + if (seccomp_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getSeccomp()); + } + { + int dataSize = 0; + for (int i = 0; i < capabilitiesAdd_.size(); i++) { + dataSize += computeStringSizeNoTag(capabilitiesAdd_.getRaw(i)); + } + size += dataSize; + size += 1 * getCapabilitiesAddList().size(); + } + { + int dataSize = 0; + for (int i = 0; i < capabilitiesDrop_.size(); i++) { + dataSize += computeStringSizeNoTag(capabilitiesDrop_.getRaw(i)); + } + size += dataSize; + size += 1 * getCapabilitiesDropList().size(); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(5, runAsNonRoot_); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(6, allowPrivilegeEscalation_); + } + if (((bitField0_ & 0x00000004) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(7, readOnlyRootFilesystem_); + } + 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.SecurityContext)) { + return super.equals(obj); + } + com.dd.cws.adv1.pb.SecDumpProto.SecurityContext other = (com.dd.cws.adv1.pb.SecDumpProto.SecurityContext) obj; + + if (getPrivileged() + != other.getPrivileged()) return false; + if (hasSeccomp() != other.hasSeccomp()) return false; + if (hasSeccomp()) { + if (!getSeccomp() + .equals(other.getSeccomp())) return false; + } + if (!getCapabilitiesAddList() + .equals(other.getCapabilitiesAddList())) return false; + if (!getCapabilitiesDropList() + .equals(other.getCapabilitiesDropList())) return false; + if (hasRunAsNonRoot() != other.hasRunAsNonRoot()) return false; + if (hasRunAsNonRoot()) { + if (getRunAsNonRoot() + != other.getRunAsNonRoot()) return false; + } + if (hasAllowPrivilegeEscalation() != other.hasAllowPrivilegeEscalation()) return false; + if (hasAllowPrivilegeEscalation()) { + if (getAllowPrivilegeEscalation() + != other.getAllowPrivilegeEscalation()) return false; + } + if (hasReadOnlyRootFilesystem() != other.hasReadOnlyRootFilesystem()) return false; + if (hasReadOnlyRootFilesystem()) { + if (getReadOnlyRootFilesystem() + != other.getReadOnlyRootFilesystem()) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + PRIVILEGED_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getPrivileged()); + if (hasSeccomp()) { + hash = (37 * hash) + SECCOMP_FIELD_NUMBER; + hash = (53 * hash) + getSeccomp().hashCode(); + } + if (getCapabilitiesAddCount() > 0) { + hash = (37 * hash) + CAPABILITIES_ADD_FIELD_NUMBER; + hash = (53 * hash) + getCapabilitiesAddList().hashCode(); + } + if (getCapabilitiesDropCount() > 0) { + hash = (37 * hash) + CAPABILITIES_DROP_FIELD_NUMBER; + hash = (53 * hash) + getCapabilitiesDropList().hashCode(); + } + if (hasRunAsNonRoot()) { + hash = (37 * hash) + RUN_AS_NON_ROOT_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getRunAsNonRoot()); + } + if (hasAllowPrivilegeEscalation()) { + hash = (37 * hash) + ALLOW_PRIVILEGE_ESCALATION_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getAllowPrivilegeEscalation()); + } + if (hasReadOnlyRootFilesystem()) { + hash = (37 * hash) + READ_ONLY_ROOT_FILESYSTEM_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getReadOnlyRootFilesystem()); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.dd.cws.adv1.pb.SecDumpProto.SecurityContext parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.dd.cws.adv1.pb.SecDumpProto.SecurityContext 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.SecurityContext parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.dd.cws.adv1.pb.SecDumpProto.SecurityContext 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.SecurityContext parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.dd.cws.adv1.pb.SecDumpProto.SecurityContext 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.SecurityContext 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.SecurityContext 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.SecurityContext 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.SecurityContext 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.SecurityContext 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.SecurityContext 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.SecurityContext 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.SecurityContext} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:datadog.cws.dumpsv1.SecurityContext) + com.dd.cws.adv1.pb.SecDumpProto.SecurityContextOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_SecurityContext_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_SecurityContext_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.dd.cws.adv1.pb.SecDumpProto.SecurityContext.class, com.dd.cws.adv1.pb.SecDumpProto.SecurityContext.Builder.class); + } + + // Construct using com.dd.cws.adv1.pb.SecDumpProto.SecurityContext.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + privileged_ = false; + seccomp_ = null; + if (seccompBuilder_ != null) { + seccompBuilder_.dispose(); + seccompBuilder_ = null; + } + capabilitiesAdd_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000004); + capabilitiesDrop_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000008); + runAsNonRoot_ = false; + allowPrivilegeEscalation_ = false; + readOnlyRootFilesystem_ = false; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_SecurityContext_descriptor; + } + + @java.lang.Override + public com.dd.cws.adv1.pb.SecDumpProto.SecurityContext getDefaultInstanceForType() { + return com.dd.cws.adv1.pb.SecDumpProto.SecurityContext.getDefaultInstance(); + } + + @java.lang.Override + public com.dd.cws.adv1.pb.SecDumpProto.SecurityContext build() { + com.dd.cws.adv1.pb.SecDumpProto.SecurityContext result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.dd.cws.adv1.pb.SecDumpProto.SecurityContext buildPartial() { + com.dd.cws.adv1.pb.SecDumpProto.SecurityContext result = new com.dd.cws.adv1.pb.SecDumpProto.SecurityContext(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(com.dd.cws.adv1.pb.SecDumpProto.SecurityContext result) { + if (((bitField0_ & 0x00000004) != 0)) { + capabilitiesAdd_ = capabilitiesAdd_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000004); + } + result.capabilitiesAdd_ = capabilitiesAdd_; + if (((bitField0_ & 0x00000008) != 0)) { + capabilitiesDrop_ = capabilitiesDrop_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000008); + } + result.capabilitiesDrop_ = capabilitiesDrop_; + } + + private void buildPartial0(com.dd.cws.adv1.pb.SecDumpProto.SecurityContext result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.privileged_ = privileged_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.seccomp_ = seccompBuilder_ == null + ? seccomp_ + : seccompBuilder_.build(); + } + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000010) != 0)) { + result.runAsNonRoot_ = runAsNonRoot_; + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.allowPrivilegeEscalation_ = allowPrivilegeEscalation_; + to_bitField0_ |= 0x00000002; + } + if (((from_bitField0_ & 0x00000040) != 0)) { + result.readOnlyRootFilesystem_ = readOnlyRootFilesystem_; + to_bitField0_ |= 0x00000004; + } + result.bitField0_ |= to_bitField0_; + } + + @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.SecurityContext) { + return mergeFrom((com.dd.cws.adv1.pb.SecDumpProto.SecurityContext)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.dd.cws.adv1.pb.SecDumpProto.SecurityContext other) { + if (other == com.dd.cws.adv1.pb.SecDumpProto.SecurityContext.getDefaultInstance()) return this; + if (other.getPrivileged() != false) { + setPrivileged(other.getPrivileged()); + } + if (other.hasSeccomp()) { + mergeSeccomp(other.getSeccomp()); + } + if (!other.capabilitiesAdd_.isEmpty()) { + if (capabilitiesAdd_.isEmpty()) { + capabilitiesAdd_ = other.capabilitiesAdd_; + bitField0_ = (bitField0_ & ~0x00000004); + } else { + ensureCapabilitiesAddIsMutable(); + capabilitiesAdd_.addAll(other.capabilitiesAdd_); + } + onChanged(); + } + if (!other.capabilitiesDrop_.isEmpty()) { + if (capabilitiesDrop_.isEmpty()) { + capabilitiesDrop_ = other.capabilitiesDrop_; + bitField0_ = (bitField0_ & ~0x00000008); + } else { + ensureCapabilitiesDropIsMutable(); + capabilitiesDrop_.addAll(other.capabilitiesDrop_); + } + onChanged(); + } + if (other.hasRunAsNonRoot()) { + setRunAsNonRoot(other.getRunAsNonRoot()); + } + if (other.hasAllowPrivilegeEscalation()) { + setAllowPrivilegeEscalation(other.getAllowPrivilegeEscalation()); + } + if (other.hasReadOnlyRootFilesystem()) { + setReadOnlyRootFilesystem(other.getReadOnlyRootFilesystem()); + } + 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: { + privileged_ = input.readBool(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + input.readMessage( + getSeccompFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + ensureCapabilitiesAddIsMutable(); + capabilitiesAdd_.add(s); + break; + } // case 26 + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + ensureCapabilitiesDropIsMutable(); + capabilitiesDrop_.add(s); + break; + } // case 34 + case 40: { + runAsNonRoot_ = input.readBool(); + bitField0_ |= 0x00000010; + break; + } // case 40 + case 48: { + allowPrivilegeEscalation_ = input.readBool(); + bitField0_ |= 0x00000020; + break; + } // case 48 + case 56: { + readOnlyRootFilesystem_ = input.readBool(); + bitField0_ |= 0x00000040; + break; + } // case 56 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private boolean privileged_ ; + /** + * bool privileged = 1; + * @return The privileged. + */ + @java.lang.Override + public boolean getPrivileged() { + return privileged_; + } + /** + * bool privileged = 1; + * @param value The privileged to set. + * @return This builder for chaining. + */ + public Builder setPrivileged(boolean value) { + + privileged_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * bool privileged = 1; + * @return This builder for chaining. + */ + public Builder clearPrivileged() { + bitField0_ = (bitField0_ & ~0x00000001); + privileged_ = false; + onChanged(); + return this; + } + + private com.dd.cws.adv1.pb.SecDumpProto.SeccompProfile seccomp_; + private com.google.protobuf.SingleFieldBuilderV3< + com.dd.cws.adv1.pb.SecDumpProto.SeccompProfile, com.dd.cws.adv1.pb.SecDumpProto.SeccompProfile.Builder, com.dd.cws.adv1.pb.SecDumpProto.SeccompProfileOrBuilder> seccompBuilder_; + /** + * .datadog.cws.dumpsv1.SeccompProfile seccomp = 2; + * @return Whether the seccomp field is set. + */ + public boolean hasSeccomp() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * .datadog.cws.dumpsv1.SeccompProfile seccomp = 2; + * @return The seccomp. + */ + public com.dd.cws.adv1.pb.SecDumpProto.SeccompProfile getSeccomp() { + if (seccompBuilder_ == null) { + return seccomp_ == null ? com.dd.cws.adv1.pb.SecDumpProto.SeccompProfile.getDefaultInstance() : seccomp_; + } else { + return seccompBuilder_.getMessage(); + } + } + /** + * .datadog.cws.dumpsv1.SeccompProfile seccomp = 2; + */ + public Builder setSeccomp(com.dd.cws.adv1.pb.SecDumpProto.SeccompProfile value) { + if (seccompBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + seccomp_ = value; + } else { + seccompBuilder_.setMessage(value); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * .datadog.cws.dumpsv1.SeccompProfile seccomp = 2; + */ + public Builder setSeccomp( + com.dd.cws.adv1.pb.SecDumpProto.SeccompProfile.Builder builderForValue) { + if (seccompBuilder_ == null) { + seccomp_ = builderForValue.build(); + } else { + seccompBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * .datadog.cws.dumpsv1.SeccompProfile seccomp = 2; + */ + public Builder mergeSeccomp(com.dd.cws.adv1.pb.SecDumpProto.SeccompProfile value) { + if (seccompBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0) && + seccomp_ != null && + seccomp_ != com.dd.cws.adv1.pb.SecDumpProto.SeccompProfile.getDefaultInstance()) { + getSeccompBuilder().mergeFrom(value); + } else { + seccomp_ = value; + } + } else { + seccompBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * .datadog.cws.dumpsv1.SeccompProfile seccomp = 2; + */ + public Builder clearSeccomp() { + bitField0_ = (bitField0_ & ~0x00000002); + seccomp_ = null; + if (seccompBuilder_ != null) { + seccompBuilder_.dispose(); + seccompBuilder_ = null; + } + onChanged(); + return this; + } + /** + * .datadog.cws.dumpsv1.SeccompProfile seccomp = 2; + */ + public com.dd.cws.adv1.pb.SecDumpProto.SeccompProfile.Builder getSeccompBuilder() { + bitField0_ |= 0x00000002; + onChanged(); + return getSeccompFieldBuilder().getBuilder(); + } + /** + * .datadog.cws.dumpsv1.SeccompProfile seccomp = 2; + */ + public com.dd.cws.adv1.pb.SecDumpProto.SeccompProfileOrBuilder getSeccompOrBuilder() { + if (seccompBuilder_ != null) { + return seccompBuilder_.getMessageOrBuilder(); + } else { + return seccomp_ == null ? + com.dd.cws.adv1.pb.SecDumpProto.SeccompProfile.getDefaultInstance() : seccomp_; + } + } + /** + * .datadog.cws.dumpsv1.SeccompProfile seccomp = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.dd.cws.adv1.pb.SecDumpProto.SeccompProfile, com.dd.cws.adv1.pb.SecDumpProto.SeccompProfile.Builder, com.dd.cws.adv1.pb.SecDumpProto.SeccompProfileOrBuilder> + getSeccompFieldBuilder() { + if (seccompBuilder_ == null) { + seccompBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.dd.cws.adv1.pb.SecDumpProto.SeccompProfile, com.dd.cws.adv1.pb.SecDumpProto.SeccompProfile.Builder, com.dd.cws.adv1.pb.SecDumpProto.SeccompProfileOrBuilder>( + getSeccomp(), + getParentForChildren(), + isClean()); + seccomp_ = null; + } + return seccompBuilder_; + } + + private com.google.protobuf.LazyStringList capabilitiesAdd_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureCapabilitiesAddIsMutable() { + if (!((bitField0_ & 0x00000004) != 0)) { + capabilitiesAdd_ = new com.google.protobuf.LazyStringArrayList(capabilitiesAdd_); + bitField0_ |= 0x00000004; + } + } + /** + * repeated string capabilities_add = 3; + * @return A list containing the capabilitiesAdd. + */ + public com.google.protobuf.ProtocolStringList + getCapabilitiesAddList() { + return capabilitiesAdd_.getUnmodifiableView(); + } + /** + * repeated string capabilities_add = 3; + * @return The count of capabilitiesAdd. + */ + public int getCapabilitiesAddCount() { + return capabilitiesAdd_.size(); + } + /** + * repeated string capabilities_add = 3; + * @param index The index of the element to return. + * @return The capabilitiesAdd at the given index. + */ + public java.lang.String getCapabilitiesAdd(int index) { + return capabilitiesAdd_.get(index); + } + /** + * repeated string capabilities_add = 3; + * @param index The index of the value to return. + * @return The bytes of the capabilitiesAdd at the given index. + */ + public com.google.protobuf.ByteString + getCapabilitiesAddBytes(int index) { + return capabilitiesAdd_.getByteString(index); + } + /** + * repeated string capabilities_add = 3; + * @param index The index to set the value at. + * @param value The capabilitiesAdd to set. + * @return This builder for chaining. + */ + public Builder setCapabilitiesAdd( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureCapabilitiesAddIsMutable(); + capabilitiesAdd_.set(index, value); + onChanged(); + return this; + } + /** + * repeated string capabilities_add = 3; + * @param value The capabilitiesAdd to add. + * @return This builder for chaining. + */ + public Builder addCapabilitiesAdd( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureCapabilitiesAddIsMutable(); + capabilitiesAdd_.add(value); + onChanged(); + return this; + } + /** + * repeated string capabilities_add = 3; + * @param values The capabilitiesAdd to add. + * @return This builder for chaining. + */ + public Builder addAllCapabilitiesAdd( + java.lang.Iterable values) { + ensureCapabilitiesAddIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, capabilitiesAdd_); + onChanged(); + return this; + } + /** + * repeated string capabilities_add = 3; + * @return This builder for chaining. + */ + public Builder clearCapabilitiesAdd() { + capabilitiesAdd_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + * repeated string capabilities_add = 3; + * @param value The bytes of the capabilitiesAdd to add. + * @return This builder for chaining. + */ + public Builder addCapabilitiesAddBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ensureCapabilitiesAddIsMutable(); + capabilitiesAdd_.add(value); + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringList capabilitiesDrop_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureCapabilitiesDropIsMutable() { + if (!((bitField0_ & 0x00000008) != 0)) { + capabilitiesDrop_ = new com.google.protobuf.LazyStringArrayList(capabilitiesDrop_); + bitField0_ |= 0x00000008; + } + } + /** + * repeated string capabilities_drop = 4; + * @return A list containing the capabilitiesDrop. + */ + public com.google.protobuf.ProtocolStringList + getCapabilitiesDropList() { + return capabilitiesDrop_.getUnmodifiableView(); + } + /** + * repeated string capabilities_drop = 4; + * @return The count of capabilitiesDrop. + */ + public int getCapabilitiesDropCount() { + return capabilitiesDrop_.size(); + } + /** + * repeated string capabilities_drop = 4; + * @param index The index of the element to return. + * @return The capabilitiesDrop at the given index. + */ + public java.lang.String getCapabilitiesDrop(int index) { + return capabilitiesDrop_.get(index); + } + /** + * repeated string capabilities_drop = 4; + * @param index The index of the value to return. + * @return The bytes of the capabilitiesDrop at the given index. + */ + public com.google.protobuf.ByteString + getCapabilitiesDropBytes(int index) { + return capabilitiesDrop_.getByteString(index); + } + /** + * repeated string capabilities_drop = 4; + * @param index The index to set the value at. + * @param value The capabilitiesDrop to set. + * @return This builder for chaining. + */ + public Builder setCapabilitiesDrop( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureCapabilitiesDropIsMutable(); + capabilitiesDrop_.set(index, value); + onChanged(); + return this; + } + /** + * repeated string capabilities_drop = 4; + * @param value The capabilitiesDrop to add. + * @return This builder for chaining. + */ + public Builder addCapabilitiesDrop( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureCapabilitiesDropIsMutable(); + capabilitiesDrop_.add(value); + onChanged(); + return this; + } + /** + * repeated string capabilities_drop = 4; + * @param values The capabilitiesDrop to add. + * @return This builder for chaining. + */ + public Builder addAllCapabilitiesDrop( + java.lang.Iterable values) { + ensureCapabilitiesDropIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, capabilitiesDrop_); + onChanged(); + return this; + } + /** + * repeated string capabilities_drop = 4; + * @return This builder for chaining. + */ + public Builder clearCapabilitiesDrop() { + capabilitiesDrop_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + /** + * repeated string capabilities_drop = 4; + * @param value The bytes of the capabilitiesDrop to add. + * @return This builder for chaining. + */ + public Builder addCapabilitiesDropBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ensureCapabilitiesDropIsMutable(); + capabilitiesDrop_.add(value); + onChanged(); + return this; + } + + private boolean runAsNonRoot_ ; + /** + * optional bool run_as_non_root = 5; + * @return Whether the runAsNonRoot field is set. + */ + @java.lang.Override + public boolean hasRunAsNonRoot() { + return ((bitField0_ & 0x00000010) != 0); + } + /** + * optional bool run_as_non_root = 5; + * @return The runAsNonRoot. + */ + @java.lang.Override + public boolean getRunAsNonRoot() { + return runAsNonRoot_; + } + /** + * optional bool run_as_non_root = 5; + * @param value The runAsNonRoot to set. + * @return This builder for chaining. + */ + public Builder setRunAsNonRoot(boolean value) { + + runAsNonRoot_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * optional bool run_as_non_root = 5; + * @return This builder for chaining. + */ + public Builder clearRunAsNonRoot() { + bitField0_ = (bitField0_ & ~0x00000010); + runAsNonRoot_ = false; + onChanged(); + return this; + } + + private boolean allowPrivilegeEscalation_ ; + /** + * optional bool allow_privilege_escalation = 6; + * @return Whether the allowPrivilegeEscalation field is set. + */ + @java.lang.Override + public boolean hasAllowPrivilegeEscalation() { + return ((bitField0_ & 0x00000020) != 0); + } + /** + * optional bool allow_privilege_escalation = 6; + * @return The allowPrivilegeEscalation. + */ + @java.lang.Override + public boolean getAllowPrivilegeEscalation() { + return allowPrivilegeEscalation_; + } + /** + * optional bool allow_privilege_escalation = 6; + * @param value The allowPrivilegeEscalation to set. + * @return This builder for chaining. + */ + public Builder setAllowPrivilegeEscalation(boolean value) { + + allowPrivilegeEscalation_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + * optional bool allow_privilege_escalation = 6; + * @return This builder for chaining. + */ + public Builder clearAllowPrivilegeEscalation() { + bitField0_ = (bitField0_ & ~0x00000020); + allowPrivilegeEscalation_ = false; + onChanged(); + return this; + } + + private boolean readOnlyRootFilesystem_ ; + /** + * optional bool read_only_root_filesystem = 7; + * @return Whether the readOnlyRootFilesystem field is set. + */ + @java.lang.Override + public boolean hasReadOnlyRootFilesystem() { + return ((bitField0_ & 0x00000040) != 0); + } + /** + * optional bool read_only_root_filesystem = 7; + * @return The readOnlyRootFilesystem. + */ + @java.lang.Override + public boolean getReadOnlyRootFilesystem() { + return readOnlyRootFilesystem_; + } + /** + * optional bool read_only_root_filesystem = 7; + * @param value The readOnlyRootFilesystem to set. + * @return This builder for chaining. + */ + public Builder setReadOnlyRootFilesystem(boolean value) { + + readOnlyRootFilesystem_ = value; + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + * optional bool read_only_root_filesystem = 7; + * @return This builder for chaining. + */ + public Builder clearReadOnlyRootFilesystem() { + bitField0_ = (bitField0_ & ~0x00000040); + readOnlyRootFilesystem_ = false; + 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.SecurityContext) + } + + // @@protoc_insertion_point(class_scope:datadog.cws.dumpsv1.SecurityContext) + private static final com.dd.cws.adv1.pb.SecDumpProto.SecurityContext DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.dd.cws.adv1.pb.SecDumpProto.SecurityContext(); + } + + public static com.dd.cws.adv1.pb.SecDumpProto.SecurityContext getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SecurityContext 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.SecurityContext getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface SecurityContextEntryOrBuilder extends + // @@protoc_insertion_point(interface_extends:datadog.cws.dumpsv1.SecurityContextEntry) + com.google.protobuf.MessageOrBuilder { + + /** + * string namespace = 1; + * @return The namespace. + */ + java.lang.String getNamespace(); + /** + * string namespace = 1; + * @return The bytes for namespace. + */ + com.google.protobuf.ByteString + getNamespaceBytes(); + + /** + * string owner_kind = 2; + * @return The ownerKind. + */ + java.lang.String getOwnerKind(); + /** + * string owner_kind = 2; + * @return The bytes for ownerKind. + */ + com.google.protobuf.ByteString + getOwnerKindBytes(); + + /** + * string owner_name = 3; + * @return The ownerName. + */ + java.lang.String getOwnerName(); + /** + * string owner_name = 3; + * @return The bytes for ownerName. + */ + com.google.protobuf.ByteString + getOwnerNameBytes(); + + /** + * string container_name = 4; + * @return The containerName. + */ + java.lang.String getContainerName(); + /** + * string container_name = 4; + * @return The bytes for containerName. + */ + com.google.protobuf.ByteString + getContainerNameBytes(); + + /** + * .datadog.cws.dumpsv1.SecurityContext security_context = 5; + * @return Whether the securityContext field is set. + */ + boolean hasSecurityContext(); + /** + * .datadog.cws.dumpsv1.SecurityContext security_context = 5; + * @return The securityContext. + */ + com.dd.cws.adv1.pb.SecDumpProto.SecurityContext getSecurityContext(); + /** + * .datadog.cws.dumpsv1.SecurityContext security_context = 5; + */ + com.dd.cws.adv1.pb.SecDumpProto.SecurityContextOrBuilder getSecurityContextOrBuilder(); + } + /** + * Protobuf type {@code datadog.cws.dumpsv1.SecurityContextEntry} + */ + public static final class SecurityContextEntry extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:datadog.cws.dumpsv1.SecurityContextEntry) + SecurityContextEntryOrBuilder { + private static final long serialVersionUID = 0L; + // Use SecurityContextEntry.newBuilder() to construct. + private SecurityContextEntry(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private SecurityContextEntry() { + namespace_ = ""; + ownerKind_ = ""; + ownerName_ = ""; + containerName_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new SecurityContextEntry(); + } + + @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_SecurityContextEntry_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_SecurityContextEntry_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.dd.cws.adv1.pb.SecDumpProto.SecurityContextEntry.class, com.dd.cws.adv1.pb.SecDumpProto.SecurityContextEntry.Builder.class); + } + + public static final int NAMESPACE_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object namespace_ = ""; + /** + * string namespace = 1; + * @return The namespace. + */ + @java.lang.Override + public java.lang.String getNamespace() { + java.lang.Object ref = namespace_; + 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(); + namespace_ = s; + return s; + } + } + /** + * string namespace = 1; + * @return The bytes for namespace. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getNamespaceBytes() { + java.lang.Object ref = namespace_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + namespace_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int OWNER_KIND_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object ownerKind_ = ""; + /** + * string owner_kind = 2; + * @return The ownerKind. + */ + @java.lang.Override + public java.lang.String getOwnerKind() { + java.lang.Object ref = ownerKind_; + 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(); + ownerKind_ = s; + return s; + } + } + /** + * string owner_kind = 2; + * @return The bytes for ownerKind. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getOwnerKindBytes() { + java.lang.Object ref = ownerKind_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + ownerKind_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int OWNER_NAME_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private volatile java.lang.Object ownerName_ = ""; + /** + * string owner_name = 3; + * @return The ownerName. + */ + @java.lang.Override + public java.lang.String getOwnerName() { + java.lang.Object ref = ownerName_; + 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(); + ownerName_ = s; + return s; + } + } + /** + * string owner_name = 3; + * @return The bytes for ownerName. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getOwnerNameBytes() { + java.lang.Object ref = ownerName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + ownerName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int CONTAINER_NAME_FIELD_NUMBER = 4; + @SuppressWarnings("serial") + private volatile java.lang.Object containerName_ = ""; + /** + * string container_name = 4; + * @return The containerName. + */ + @java.lang.Override + public java.lang.String getContainerName() { + java.lang.Object ref = containerName_; + 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(); + containerName_ = s; + return s; + } + } + /** + * string container_name = 4; + * @return The bytes for containerName. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getContainerNameBytes() { + java.lang.Object ref = containerName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + containerName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SECURITY_CONTEXT_FIELD_NUMBER = 5; + private com.dd.cws.adv1.pb.SecDumpProto.SecurityContext securityContext_; + /** + * .datadog.cws.dumpsv1.SecurityContext security_context = 5; + * @return Whether the securityContext field is set. + */ + @java.lang.Override + public boolean hasSecurityContext() { + return securityContext_ != null; + } + /** + * .datadog.cws.dumpsv1.SecurityContext security_context = 5; + * @return The securityContext. + */ + @java.lang.Override + public com.dd.cws.adv1.pb.SecDumpProto.SecurityContext getSecurityContext() { + return securityContext_ == null ? com.dd.cws.adv1.pb.SecDumpProto.SecurityContext.getDefaultInstance() : securityContext_; + } + /** + * .datadog.cws.dumpsv1.SecurityContext security_context = 5; + */ + @java.lang.Override + public com.dd.cws.adv1.pb.SecDumpProto.SecurityContextOrBuilder getSecurityContextOrBuilder() { + return securityContext_ == null ? com.dd.cws.adv1.pb.SecDumpProto.SecurityContext.getDefaultInstance() : securityContext_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(namespace_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, namespace_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ownerKind_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, ownerKind_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ownerName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, ownerName_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(containerName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, containerName_); + } + if (securityContext_ != null) { + output.writeMessage(5, getSecurityContext()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(namespace_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, namespace_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ownerKind_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, ownerKind_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ownerName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, ownerName_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(containerName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, containerName_); + } + if (securityContext_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getSecurityContext()); + } + 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.SecurityContextEntry)) { + return super.equals(obj); + } + com.dd.cws.adv1.pb.SecDumpProto.SecurityContextEntry other = (com.dd.cws.adv1.pb.SecDumpProto.SecurityContextEntry) obj; + + if (!getNamespace() + .equals(other.getNamespace())) return false; + if (!getOwnerKind() + .equals(other.getOwnerKind())) return false; + if (!getOwnerName() + .equals(other.getOwnerName())) return false; + if (!getContainerName() + .equals(other.getContainerName())) return false; + if (hasSecurityContext() != other.hasSecurityContext()) return false; + if (hasSecurityContext()) { + if (!getSecurityContext() + .equals(other.getSecurityContext())) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + NAMESPACE_FIELD_NUMBER; + hash = (53 * hash) + getNamespace().hashCode(); + hash = (37 * hash) + OWNER_KIND_FIELD_NUMBER; + hash = (53 * hash) + getOwnerKind().hashCode(); + hash = (37 * hash) + OWNER_NAME_FIELD_NUMBER; + hash = (53 * hash) + getOwnerName().hashCode(); + hash = (37 * hash) + CONTAINER_NAME_FIELD_NUMBER; + hash = (53 * hash) + getContainerName().hashCode(); + if (hasSecurityContext()) { + hash = (37 * hash) + SECURITY_CONTEXT_FIELD_NUMBER; + hash = (53 * hash) + getSecurityContext().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.dd.cws.adv1.pb.SecDumpProto.SecurityContextEntry parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.dd.cws.adv1.pb.SecDumpProto.SecurityContextEntry 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.SecurityContextEntry parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.dd.cws.adv1.pb.SecDumpProto.SecurityContextEntry 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.SecurityContextEntry parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.dd.cws.adv1.pb.SecDumpProto.SecurityContextEntry 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.SecurityContextEntry 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.SecurityContextEntry 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.SecurityContextEntry 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.SecurityContextEntry 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.SecurityContextEntry 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.SecurityContextEntry 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.SecurityContextEntry 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.SecurityContextEntry} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:datadog.cws.dumpsv1.SecurityContextEntry) + com.dd.cws.adv1.pb.SecDumpProto.SecurityContextEntryOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_SecurityContextEntry_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_SecurityContextEntry_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.dd.cws.adv1.pb.SecDumpProto.SecurityContextEntry.class, com.dd.cws.adv1.pb.SecDumpProto.SecurityContextEntry.Builder.class); + } + + // Construct using com.dd.cws.adv1.pb.SecDumpProto.SecurityContextEntry.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + namespace_ = ""; + ownerKind_ = ""; + ownerName_ = ""; + containerName_ = ""; + securityContext_ = null; + if (securityContextBuilder_ != null) { + securityContextBuilder_.dispose(); + securityContextBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_SecurityContextEntry_descriptor; + } + + @java.lang.Override + public com.dd.cws.adv1.pb.SecDumpProto.SecurityContextEntry getDefaultInstanceForType() { + return com.dd.cws.adv1.pb.SecDumpProto.SecurityContextEntry.getDefaultInstance(); + } + + @java.lang.Override + public com.dd.cws.adv1.pb.SecDumpProto.SecurityContextEntry build() { + com.dd.cws.adv1.pb.SecDumpProto.SecurityContextEntry result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.dd.cws.adv1.pb.SecDumpProto.SecurityContextEntry buildPartial() { + com.dd.cws.adv1.pb.SecDumpProto.SecurityContextEntry result = new com.dd.cws.adv1.pb.SecDumpProto.SecurityContextEntry(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.dd.cws.adv1.pb.SecDumpProto.SecurityContextEntry result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.namespace_ = namespace_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.ownerKind_ = ownerKind_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.ownerName_ = ownerName_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.containerName_ = containerName_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.securityContext_ = securityContextBuilder_ == null + ? securityContext_ + : securityContextBuilder_.build(); + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.dd.cws.adv1.pb.SecDumpProto.SecurityContextEntry) { + return mergeFrom((com.dd.cws.adv1.pb.SecDumpProto.SecurityContextEntry)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.dd.cws.adv1.pb.SecDumpProto.SecurityContextEntry other) { + if (other == com.dd.cws.adv1.pb.SecDumpProto.SecurityContextEntry.getDefaultInstance()) return this; + if (!other.getNamespace().isEmpty()) { + namespace_ = other.namespace_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getOwnerKind().isEmpty()) { + ownerKind_ = other.ownerKind_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.getOwnerName().isEmpty()) { + ownerName_ = other.ownerName_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (!other.getContainerName().isEmpty()) { + containerName_ = other.containerName_; + bitField0_ |= 0x00000008; + onChanged(); + } + if (other.hasSecurityContext()) { + mergeSecurityContext(other.getSecurityContext()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + namespace_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + ownerKind_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + ownerName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + containerName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + input.readMessage( + getSecurityContextFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 42 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object namespace_ = ""; + /** + * string namespace = 1; + * @return The namespace. + */ + public java.lang.String getNamespace() { + java.lang.Object ref = namespace_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + namespace_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string namespace = 1; + * @return The bytes for namespace. + */ + public com.google.protobuf.ByteString + getNamespaceBytes() { + java.lang.Object ref = namespace_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + namespace_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string namespace = 1; + * @param value The namespace to set. + * @return This builder for chaining. + */ + public Builder setNamespace( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + namespace_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string namespace = 1; + * @return This builder for chaining. + */ + public Builder clearNamespace() { + namespace_ = getDefaultInstance().getNamespace(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string namespace = 1; + * @param value The bytes for namespace to set. + * @return This builder for chaining. + */ + public Builder setNamespaceBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + namespace_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object ownerKind_ = ""; + /** + * string owner_kind = 2; + * @return The ownerKind. + */ + public java.lang.String getOwnerKind() { + java.lang.Object ref = ownerKind_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + ownerKind_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string owner_kind = 2; + * @return The bytes for ownerKind. + */ + public com.google.protobuf.ByteString + getOwnerKindBytes() { + java.lang.Object ref = ownerKind_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + ownerKind_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string owner_kind = 2; + * @param value The ownerKind to set. + * @return This builder for chaining. + */ + public Builder setOwnerKind( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ownerKind_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * string owner_kind = 2; + * @return This builder for chaining. + */ + public Builder clearOwnerKind() { + ownerKind_ = getDefaultInstance().getOwnerKind(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * string owner_kind = 2; + * @param value The bytes for ownerKind to set. + * @return This builder for chaining. + */ + public Builder setOwnerKindBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ownerKind_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object ownerName_ = ""; + /** + * string owner_name = 3; + * @return The ownerName. + */ + public java.lang.String getOwnerName() { + java.lang.Object ref = ownerName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + ownerName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string owner_name = 3; + * @return The bytes for ownerName. + */ + public com.google.protobuf.ByteString + getOwnerNameBytes() { + java.lang.Object ref = ownerName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + ownerName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string owner_name = 3; + * @param value The ownerName to set. + * @return This builder for chaining. + */ + public Builder setOwnerName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ownerName_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * string owner_name = 3; + * @return This builder for chaining. + */ + public Builder clearOwnerName() { + ownerName_ = getDefaultInstance().getOwnerName(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + * string owner_name = 3; + * @param value The bytes for ownerName to set. + * @return This builder for chaining. + */ + public Builder setOwnerNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ownerName_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private java.lang.Object containerName_ = ""; + /** + * string container_name = 4; + * @return The containerName. + */ + public java.lang.String getContainerName() { + java.lang.Object ref = containerName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + containerName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string container_name = 4; + * @return The bytes for containerName. + */ + public com.google.protobuf.ByteString + getContainerNameBytes() { + java.lang.Object ref = containerName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + containerName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string container_name = 4; + * @param value The containerName to set. + * @return This builder for chaining. + */ + public Builder setContainerName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + containerName_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * string container_name = 4; + * @return This builder for chaining. + */ + public Builder clearContainerName() { + containerName_ = getDefaultInstance().getContainerName(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + /** + * string container_name = 4; + * @param value The bytes for containerName to set. + * @return This builder for chaining. + */ + public Builder setContainerNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + containerName_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + private com.dd.cws.adv1.pb.SecDumpProto.SecurityContext securityContext_; + private com.google.protobuf.SingleFieldBuilderV3< + com.dd.cws.adv1.pb.SecDumpProto.SecurityContext, com.dd.cws.adv1.pb.SecDumpProto.SecurityContext.Builder, com.dd.cws.adv1.pb.SecDumpProto.SecurityContextOrBuilder> securityContextBuilder_; + /** + * .datadog.cws.dumpsv1.SecurityContext security_context = 5; + * @return Whether the securityContext field is set. + */ + public boolean hasSecurityContext() { + return ((bitField0_ & 0x00000010) != 0); + } + /** + * .datadog.cws.dumpsv1.SecurityContext security_context = 5; + * @return The securityContext. + */ + public com.dd.cws.adv1.pb.SecDumpProto.SecurityContext getSecurityContext() { + if (securityContextBuilder_ == null) { + return securityContext_ == null ? com.dd.cws.adv1.pb.SecDumpProto.SecurityContext.getDefaultInstance() : securityContext_; + } else { + return securityContextBuilder_.getMessage(); + } + } + /** + * .datadog.cws.dumpsv1.SecurityContext security_context = 5; + */ + public Builder setSecurityContext(com.dd.cws.adv1.pb.SecDumpProto.SecurityContext value) { + if (securityContextBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + securityContext_ = value; + } else { + securityContextBuilder_.setMessage(value); + } + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * .datadog.cws.dumpsv1.SecurityContext security_context = 5; + */ + public Builder setSecurityContext( + com.dd.cws.adv1.pb.SecDumpProto.SecurityContext.Builder builderForValue) { + if (securityContextBuilder_ == null) { + securityContext_ = builderForValue.build(); + } else { + securityContextBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * .datadog.cws.dumpsv1.SecurityContext security_context = 5; + */ + public Builder mergeSecurityContext(com.dd.cws.adv1.pb.SecDumpProto.SecurityContext value) { + if (securityContextBuilder_ == null) { + if (((bitField0_ & 0x00000010) != 0) && + securityContext_ != null && + securityContext_ != com.dd.cws.adv1.pb.SecDumpProto.SecurityContext.getDefaultInstance()) { + getSecurityContextBuilder().mergeFrom(value); + } else { + securityContext_ = value; + } + } else { + securityContextBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * .datadog.cws.dumpsv1.SecurityContext security_context = 5; + */ + public Builder clearSecurityContext() { + bitField0_ = (bitField0_ & ~0x00000010); + securityContext_ = null; + if (securityContextBuilder_ != null) { + securityContextBuilder_.dispose(); + securityContextBuilder_ = null; + } + onChanged(); + return this; + } + /** + * .datadog.cws.dumpsv1.SecurityContext security_context = 5; + */ + public com.dd.cws.adv1.pb.SecDumpProto.SecurityContext.Builder getSecurityContextBuilder() { + bitField0_ |= 0x00000010; + onChanged(); + return getSecurityContextFieldBuilder().getBuilder(); + } + /** + * .datadog.cws.dumpsv1.SecurityContext security_context = 5; + */ + public com.dd.cws.adv1.pb.SecDumpProto.SecurityContextOrBuilder getSecurityContextOrBuilder() { + if (securityContextBuilder_ != null) { + return securityContextBuilder_.getMessageOrBuilder(); + } else { + return securityContext_ == null ? + com.dd.cws.adv1.pb.SecDumpProto.SecurityContext.getDefaultInstance() : securityContext_; + } + } + /** + * .datadog.cws.dumpsv1.SecurityContext security_context = 5; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.dd.cws.adv1.pb.SecDumpProto.SecurityContext, com.dd.cws.adv1.pb.SecDumpProto.SecurityContext.Builder, com.dd.cws.adv1.pb.SecDumpProto.SecurityContextOrBuilder> + getSecurityContextFieldBuilder() { + if (securityContextBuilder_ == null) { + securityContextBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.dd.cws.adv1.pb.SecDumpProto.SecurityContext, com.dd.cws.adv1.pb.SecDumpProto.SecurityContext.Builder, com.dd.cws.adv1.pb.SecDumpProto.SecurityContextOrBuilder>( + getSecurityContext(), + getParentForChildren(), + isClean()); + securityContext_ = null; + } + return securityContextBuilder_; + } + @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.SecurityContextEntry) + } + + // @@protoc_insertion_point(class_scope:datadog.cws.dumpsv1.SecurityContextEntry) + private static final com.dd.cws.adv1.pb.SecDumpProto.SecurityContextEntry DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.dd.cws.adv1.pb.SecDumpProto.SecurityContextEntry(); + } + + public static com.dd.cws.adv1.pb.SecDumpProto.SecurityContextEntry getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SecurityContextEntry 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.SecurityContextEntry getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface ProfileSelectorOrBuilder extends + // @@protoc_insertion_point(interface_extends:datadog.cws.dumpsv1.ProfileSelector) + com.google.protobuf.MessageOrBuilder { + + /** + * string image_name = 1; + * @return The imageName. + */ + java.lang.String getImageName(); + /** + * string image_name = 1; + * @return The bytes for imageName. + */ + com.google.protobuf.ByteString + getImageNameBytes(); + + /** + * string image_tag = 2; + * @return The imageTag. + */ + java.lang.String getImageTag(); + /** + * string image_tag = 2; + * @return The bytes for imageTag. + */ + com.google.protobuf.ByteString + getImageTagBytes(); + } + /** + * Protobuf type {@code datadog.cws.dumpsv1.ProfileSelector} + */ + public static final class ProfileSelector extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:datadog.cws.dumpsv1.ProfileSelector) + ProfileSelectorOrBuilder { + private static final long serialVersionUID = 0L; + // Use ProfileSelector.newBuilder() to construct. + private ProfileSelector(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ProfileSelector() { + imageName_ = ""; + imageTag_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ProfileSelector(); + } + + @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_ProfileSelector_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_ProfileSelector_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.dd.cws.adv1.pb.SecDumpProto.ProfileSelector.class, com.dd.cws.adv1.pb.SecDumpProto.ProfileSelector.Builder.class); + } + + public static final int IMAGE_NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object imageName_ = ""; + /** + * string image_name = 1; + * @return The imageName. + */ + @java.lang.Override + public java.lang.String getImageName() { + java.lang.Object ref = imageName_; + 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(); + imageName_ = s; + return s; + } + } + /** + * string image_name = 1; + * @return The bytes for imageName. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getImageNameBytes() { + java.lang.Object ref = imageName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + imageName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int IMAGE_TAG_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object imageTag_ = ""; + /** + * string image_tag = 2; + * @return The imageTag. + */ + @java.lang.Override + public java.lang.String getImageTag() { + java.lang.Object ref = imageTag_; + 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(); + imageTag_ = s; + return s; + } + } + /** + * string image_tag = 2; + * @return The bytes for imageTag. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getImageTagBytes() { + java.lang.Object ref = imageTag_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + imageTag_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(imageName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, imageName_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(imageTag_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, imageTag_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(imageName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, imageName_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(imageTag_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, imageTag_); + } + 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.ProfileSelector)) { + return super.equals(obj); + } + com.dd.cws.adv1.pb.SecDumpProto.ProfileSelector other = (com.dd.cws.adv1.pb.SecDumpProto.ProfileSelector) obj; + + if (!getImageName() + .equals(other.getImageName())) return false; + if (!getImageTag() + .equals(other.getImageTag())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + IMAGE_NAME_FIELD_NUMBER; + hash = (53 * hash) + getImageName().hashCode(); + hash = (37 * hash) + IMAGE_TAG_FIELD_NUMBER; + hash = (53 * hash) + getImageTag().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.dd.cws.adv1.pb.SecDumpProto.ProfileSelector parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.dd.cws.adv1.pb.SecDumpProto.ProfileSelector 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.ProfileSelector parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.dd.cws.adv1.pb.SecDumpProto.ProfileSelector 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.ProfileSelector parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.dd.cws.adv1.pb.SecDumpProto.ProfileSelector 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.ProfileSelector 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.ProfileSelector 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.ProfileSelector 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.ProfileSelector 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.ProfileSelector 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.ProfileSelector 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.ProfileSelector 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.ProfileSelector} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:datadog.cws.dumpsv1.ProfileSelector) + com.dd.cws.adv1.pb.SecDumpProto.ProfileSelectorOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_ProfileSelector_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_ProfileSelector_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.dd.cws.adv1.pb.SecDumpProto.ProfileSelector.class, com.dd.cws.adv1.pb.SecDumpProto.ProfileSelector.Builder.class); + } + + // Construct using com.dd.cws.adv1.pb.SecDumpProto.ProfileSelector.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + imageName_ = ""; + imageTag_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.dd.cws.adv1.pb.SecDumpProto.internal_static_datadog_cws_dumpsv1_ProfileSelector_descriptor; + } + + @java.lang.Override + public com.dd.cws.adv1.pb.SecDumpProto.ProfileSelector getDefaultInstanceForType() { + return com.dd.cws.adv1.pb.SecDumpProto.ProfileSelector.getDefaultInstance(); + } + + @java.lang.Override + public com.dd.cws.adv1.pb.SecDumpProto.ProfileSelector build() { + com.dd.cws.adv1.pb.SecDumpProto.ProfileSelector result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.dd.cws.adv1.pb.SecDumpProto.ProfileSelector buildPartial() { + com.dd.cws.adv1.pb.SecDumpProto.ProfileSelector result = new com.dd.cws.adv1.pb.SecDumpProto.ProfileSelector(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.dd.cws.adv1.pb.SecDumpProto.ProfileSelector result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.imageName_ = imageName_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.imageTag_ = imageTag_; } } @@ -8164,7 +15263,7 @@ public interface SecurityProfileOrBuilder extends /** * uint32 status = 1 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.SecurityProfile.status is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=65 + * See proto/cws/dumpsv1/activity_dump.proto;l=128 * @return The status. */ @java.lang.Deprecated int getStatus(); @@ -8172,14 +15271,14 @@ public interface SecurityProfileOrBuilder extends /** * string version = 2 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.SecurityProfile.version is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=66 + * See proto/cws/dumpsv1/activity_dump.proto;l=129 * @return The version. */ @java.lang.Deprecated java.lang.String getVersion(); /** * string version = 2 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.SecurityProfile.version is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=66 + * See proto/cws/dumpsv1/activity_dump.proto;l=129 * @return The bytes for version. */ @java.lang.Deprecated com.google.protobuf.ByteString @@ -8203,7 +15302,7 @@ public interface SecurityProfileOrBuilder extends /** * repeated string tags = 4 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.SecurityProfile.tags is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=68 + * See proto/cws/dumpsv1/activity_dump.proto;l=131 * @return A list containing the tags. */ @java.lang.Deprecated java.util.List @@ -8211,14 +15310,14 @@ public interface SecurityProfileOrBuilder extends /** * repeated string tags = 4 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.SecurityProfile.tags is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=68 + * See proto/cws/dumpsv1/activity_dump.proto;l=131 * @return The count of tags. */ @java.lang.Deprecated int getTagsCount(); /** * repeated string tags = 4 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.SecurityProfile.tags is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=68 + * See proto/cws/dumpsv1/activity_dump.proto;l=131 * @param index The index of the element to return. * @return The tags at the given index. */ @@ -8226,7 +15325,7 @@ public interface SecurityProfileOrBuilder extends /** * repeated string tags = 4 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.SecurityProfile.tags is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=68 + * See proto/cws/dumpsv1/activity_dump.proto;l=131 * @param index The index of the value to return. * @return The bytes of the tags at the given index. */ @@ -8236,21 +15335,21 @@ public interface SecurityProfileOrBuilder extends /** * repeated uint32 syscalls = 5 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.SecurityProfile.syscalls is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=69 + * See proto/cws/dumpsv1/activity_dump.proto;l=132 * @return A list containing the syscalls. */ @java.lang.Deprecated java.util.List getSyscallsList(); /** * repeated uint32 syscalls = 5 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.SecurityProfile.syscalls is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=69 + * See proto/cws/dumpsv1/activity_dump.proto;l=132 * @return The count of syscalls. */ @java.lang.Deprecated int getSyscallsCount(); /** * repeated uint32 syscalls = 5 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.SecurityProfile.syscalls is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=69 + * See proto/cws/dumpsv1/activity_dump.proto;l=132 * @param index The index of the element to return. * @return The syscalls at the given index. */ @@ -8358,6 +15457,30 @@ com.dd.cws.adv1.pb.SecDumpProto.ProfileContext getProfileContextsOrThrow( */ com.dd.cws.adv1.pb.SecDumpProto.MountNodeOrBuilder getMountsOrBuilder( int index); + + /** + * repeated .datadog.cws.dumpsv1.SecurityContextEntry security_contexts = 11; + */ + java.util.List + getSecurityContextsList(); + /** + * repeated .datadog.cws.dumpsv1.SecurityContextEntry security_contexts = 11; + */ + com.dd.cws.adv1.pb.SecDumpProto.SecurityContextEntry getSecurityContexts(int index); + /** + * repeated .datadog.cws.dumpsv1.SecurityContextEntry security_contexts = 11; + */ + int getSecurityContextsCount(); + /** + * repeated .datadog.cws.dumpsv1.SecurityContextEntry security_contexts = 11; + */ + java.util.List + getSecurityContextsOrBuilderList(); + /** + * repeated .datadog.cws.dumpsv1.SecurityContextEntry security_contexts = 11; + */ + com.dd.cws.adv1.pb.SecDumpProto.SecurityContextEntryOrBuilder getSecurityContextsOrBuilder( + int index); } /** * Protobuf type {@code datadog.cws.dumpsv1.SecurityProfile} @@ -8377,6 +15500,7 @@ private SecurityProfile() { syscalls_ = emptyIntList(); tree_ = java.util.Collections.emptyList(); mounts_ = java.util.Collections.emptyList(); + securityContexts_ = java.util.Collections.emptyList(); } @java.lang.Override @@ -8421,7 +15545,7 @@ protected com.google.protobuf.MapField internalGetMapField( /** * uint32 status = 1 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.SecurityProfile.status is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=65 + * See proto/cws/dumpsv1/activity_dump.proto;l=128 * @return The status. */ @java.lang.Override @@ -8435,7 +15559,7 @@ protected com.google.protobuf.MapField internalGetMapField( /** * string version = 2 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.SecurityProfile.version is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=66 + * See proto/cws/dumpsv1/activity_dump.proto;l=129 * @return The version. */ @java.lang.Override @@ -8454,7 +15578,7 @@ protected com.google.protobuf.MapField internalGetMapField( /** * string version = 2 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.SecurityProfile.version is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=66 + * See proto/cws/dumpsv1/activity_dump.proto;l=129 * @return The bytes for version. */ @java.lang.Override @@ -8504,7 +15628,7 @@ public com.dd.cws.adv1.pb.SecDumpProto.MetadataOrBuilder getMetadataOrBuilder() /** * repeated string tags = 4 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.SecurityProfile.tags is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=68 + * See proto/cws/dumpsv1/activity_dump.proto;l=131 * @return A list containing the tags. */ @java.lang.Deprecated public com.google.protobuf.ProtocolStringList @@ -8514,7 +15638,7 @@ public com.dd.cws.adv1.pb.SecDumpProto.MetadataOrBuilder getMetadataOrBuilder() /** * repeated string tags = 4 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.SecurityProfile.tags is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=68 + * See proto/cws/dumpsv1/activity_dump.proto;l=131 * @return The count of tags. */ @java.lang.Deprecated public int getTagsCount() { @@ -8523,7 +15647,7 @@ public com.dd.cws.adv1.pb.SecDumpProto.MetadataOrBuilder getMetadataOrBuilder() /** * repeated string tags = 4 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.SecurityProfile.tags is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=68 + * See proto/cws/dumpsv1/activity_dump.proto;l=131 * @param index The index of the element to return. * @return The tags at the given index. */ @@ -8533,7 +15657,7 @@ public com.dd.cws.adv1.pb.SecDumpProto.MetadataOrBuilder getMetadataOrBuilder() /** * repeated string tags = 4 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.SecurityProfile.tags is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=68 + * See proto/cws/dumpsv1/activity_dump.proto;l=131 * @param index The index of the value to return. * @return The bytes of the tags at the given index. */ @@ -8548,7 +15672,7 @@ public com.dd.cws.adv1.pb.SecDumpProto.MetadataOrBuilder getMetadataOrBuilder() /** * repeated uint32 syscalls = 5 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.SecurityProfile.syscalls is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=69 + * See proto/cws/dumpsv1/activity_dump.proto;l=132 * @return A list containing the syscalls. */ @java.lang.Override @@ -8559,7 +15683,7 @@ public com.dd.cws.adv1.pb.SecDumpProto.MetadataOrBuilder getMetadataOrBuilder() /** * repeated uint32 syscalls = 5 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.SecurityProfile.syscalls is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=69 + * See proto/cws/dumpsv1/activity_dump.proto;l=132 * @return The count of syscalls. */ @java.lang.Deprecated public int getSyscallsCount() { @@ -8568,7 +15692,7 @@ public com.dd.cws.adv1.pb.SecDumpProto.MetadataOrBuilder getMetadataOrBuilder() /** * repeated uint32 syscalls = 5 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.SecurityProfile.syscalls is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=69 + * See proto/cws/dumpsv1/activity_dump.proto;l=132 * @param index The index of the element to return. * @return The syscalls at the given index. */ @@ -8775,6 +15899,47 @@ public com.dd.cws.adv1.pb.SecDumpProto.MountNodeOrBuilder getMountsOrBuilder( return mounts_.get(index); } + public static final int SECURITY_CONTEXTS_FIELD_NUMBER = 11; + @SuppressWarnings("serial") + private java.util.List securityContexts_; + /** + * repeated .datadog.cws.dumpsv1.SecurityContextEntry security_contexts = 11; + */ + @java.lang.Override + public java.util.List getSecurityContextsList() { + return securityContexts_; + } + /** + * repeated .datadog.cws.dumpsv1.SecurityContextEntry security_contexts = 11; + */ + @java.lang.Override + public java.util.List + getSecurityContextsOrBuilderList() { + return securityContexts_; + } + /** + * repeated .datadog.cws.dumpsv1.SecurityContextEntry security_contexts = 11; + */ + @java.lang.Override + public int getSecurityContextsCount() { + return securityContexts_.size(); + } + /** + * repeated .datadog.cws.dumpsv1.SecurityContextEntry security_contexts = 11; + */ + @java.lang.Override + public com.dd.cws.adv1.pb.SecDumpProto.SecurityContextEntry getSecurityContexts(int index) { + return securityContexts_.get(index); + } + /** + * repeated .datadog.cws.dumpsv1.SecurityContextEntry security_contexts = 11; + */ + @java.lang.Override + public com.dd.cws.adv1.pb.SecDumpProto.SecurityContextEntryOrBuilder getSecurityContextsOrBuilder( + int index) { + return securityContexts_.get(index); + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { @@ -8827,6 +15992,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) for (int i = 0; i < mounts_.size(); i++) { output.writeMessage(10, mounts_.get(i)); } + for (int i = 0; i < securityContexts_.size(); i++) { + output.writeMessage(11, securityContexts_.get(i)); + } getUnknownFields().writeTo(output); } @@ -8895,6 +16063,10 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream .computeMessageSize(10, mounts_.get(i)); } + for (int i = 0; i < securityContexts_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(11, securityContexts_.get(i)); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -8936,6 +16108,8 @@ public boolean equals(final java.lang.Object obj) { != other.getDisabled()) return false; if (!getMountsList() .equals(other.getMountsList())) return false; + if (!getSecurityContextsList() + .equals(other.getSecurityContextsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -8982,6 +16156,10 @@ public int hashCode() { hash = (37 * hash) + MOUNTS_FIELD_NUMBER; hash = (53 * hash) + getMountsList().hashCode(); } + if (getSecurityContextsCount() > 0) { + hash = (37 * hash) + SECURITY_CONTEXTS_FIELD_NUMBER; + hash = (53 * hash) + getSecurityContextsList().hashCode(); + } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; @@ -9164,6 +16342,13 @@ public Builder clear() { mountsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000200); + if (securityContextsBuilder_ == null) { + securityContexts_ = java.util.Collections.emptyList(); + } else { + securityContexts_ = null; + securityContextsBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000400); return this; } @@ -9225,6 +16410,15 @@ private void buildPartialRepeatedFields(com.dd.cws.adv1.pb.SecDumpProto.Security } else { result.mounts_ = mountsBuilder_.build(); } + if (securityContextsBuilder_ == null) { + if (((bitField0_ & 0x00000400) != 0)) { + securityContexts_ = java.util.Collections.unmodifiableList(securityContexts_); + bitField0_ = (bitField0_ & ~0x00000400); + } + result.securityContexts_ = securityContexts_; + } else { + result.securityContexts_ = securityContextsBuilder_.build(); + } } private void buildPartial0(com.dd.cws.adv1.pb.SecDumpProto.SecurityProfile result) { @@ -9390,6 +16584,32 @@ public Builder mergeFrom(com.dd.cws.adv1.pb.SecDumpProto.SecurityProfile other) } } } + if (securityContextsBuilder_ == null) { + if (!other.securityContexts_.isEmpty()) { + if (securityContexts_.isEmpty()) { + securityContexts_ = other.securityContexts_; + bitField0_ = (bitField0_ & ~0x00000400); + } else { + ensureSecurityContextsIsMutable(); + securityContexts_.addAll(other.securityContexts_); + } + onChanged(); + } + } else { + if (!other.securityContexts_.isEmpty()) { + if (securityContextsBuilder_.isEmpty()) { + securityContextsBuilder_.dispose(); + securityContextsBuilder_ = null; + securityContexts_ = other.securityContexts_; + bitField0_ = (bitField0_ & ~0x00000400); + securityContextsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getSecurityContextsFieldBuilder() : null; + } else { + securityContextsBuilder_.addAllMessages(other.securityContexts_); + } + } + } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -9502,6 +16722,19 @@ public Builder mergeFrom( } break; } // case 82 + case 90: { + com.dd.cws.adv1.pb.SecDumpProto.SecurityContextEntry m = + input.readMessage( + com.dd.cws.adv1.pb.SecDumpProto.SecurityContextEntry.parser(), + extensionRegistry); + if (securityContextsBuilder_ == null) { + ensureSecurityContextsIsMutable(); + securityContexts_.add(m); + } else { + securityContextsBuilder_.addMessage(m); + } + break; + } // case 90 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag @@ -9523,7 +16756,7 @@ public Builder mergeFrom( /** * uint32 status = 1 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.SecurityProfile.status is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=65 + * See proto/cws/dumpsv1/activity_dump.proto;l=128 * @return The status. */ @java.lang.Override @@ -9533,7 +16766,7 @@ public Builder mergeFrom( /** * uint32 status = 1 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.SecurityProfile.status is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=65 + * See proto/cws/dumpsv1/activity_dump.proto;l=128 * @param value The status to set. * @return This builder for chaining. */ @@ -9547,7 +16780,7 @@ public Builder mergeFrom( /** * uint32 status = 1 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.SecurityProfile.status is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=65 + * See proto/cws/dumpsv1/activity_dump.proto;l=128 * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearStatus() { @@ -9561,7 +16794,7 @@ public Builder mergeFrom( /** * string version = 2 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.SecurityProfile.version is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=66 + * See proto/cws/dumpsv1/activity_dump.proto;l=129 * @return The version. */ @java.lang.Deprecated public java.lang.String getVersion() { @@ -9579,7 +16812,7 @@ public Builder mergeFrom( /** * string version = 2 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.SecurityProfile.version is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=66 + * See proto/cws/dumpsv1/activity_dump.proto;l=129 * @return The bytes for version. */ @java.lang.Deprecated public com.google.protobuf.ByteString @@ -9598,7 +16831,7 @@ public Builder mergeFrom( /** * string version = 2 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.SecurityProfile.version is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=66 + * See proto/cws/dumpsv1/activity_dump.proto;l=129 * @param value The version to set. * @return This builder for chaining. */ @@ -9613,7 +16846,7 @@ public Builder mergeFrom( /** * string version = 2 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.SecurityProfile.version is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=66 + * See proto/cws/dumpsv1/activity_dump.proto;l=129 * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearVersion() { @@ -9625,7 +16858,7 @@ public Builder mergeFrom( /** * string version = 2 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.SecurityProfile.version is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=66 + * See proto/cws/dumpsv1/activity_dump.proto;l=129 * @param value The bytes for version to set. * @return This builder for chaining. */ @@ -9768,7 +17001,7 @@ private void ensureTagsIsMutable() { /** * repeated string tags = 4 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.SecurityProfile.tags is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=68 + * See proto/cws/dumpsv1/activity_dump.proto;l=131 * @return A list containing the tags. */ @java.lang.Deprecated public com.google.protobuf.ProtocolStringList @@ -9778,7 +17011,7 @@ private void ensureTagsIsMutable() { /** * repeated string tags = 4 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.SecurityProfile.tags is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=68 + * See proto/cws/dumpsv1/activity_dump.proto;l=131 * @return The count of tags. */ @java.lang.Deprecated public int getTagsCount() { @@ -9787,7 +17020,7 @@ private void ensureTagsIsMutable() { /** * repeated string tags = 4 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.SecurityProfile.tags is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=68 + * See proto/cws/dumpsv1/activity_dump.proto;l=131 * @param index The index of the element to return. * @return The tags at the given index. */ @@ -9797,7 +17030,7 @@ private void ensureTagsIsMutable() { /** * repeated string tags = 4 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.SecurityProfile.tags is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=68 + * See proto/cws/dumpsv1/activity_dump.proto;l=131 * @param index The index of the value to return. * @return The bytes of the tags at the given index. */ @@ -9808,7 +17041,7 @@ private void ensureTagsIsMutable() { /** * repeated string tags = 4 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.SecurityProfile.tags is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=68 + * See proto/cws/dumpsv1/activity_dump.proto;l=131 * @param index The index to set the value at. * @param value The tags to set. * @return This builder for chaining. @@ -9824,7 +17057,7 @@ private void ensureTagsIsMutable() { /** * repeated string tags = 4 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.SecurityProfile.tags is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=68 + * See proto/cws/dumpsv1/activity_dump.proto;l=131 * @param value The tags to add. * @return This builder for chaining. */ @@ -9839,7 +17072,7 @@ private void ensureTagsIsMutable() { /** * repeated string tags = 4 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.SecurityProfile.tags is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=68 + * See proto/cws/dumpsv1/activity_dump.proto;l=131 * @param values The tags to add. * @return This builder for chaining. */ @@ -9854,7 +17087,7 @@ private void ensureTagsIsMutable() { /** * repeated string tags = 4 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.SecurityProfile.tags is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=68 + * See proto/cws/dumpsv1/activity_dump.proto;l=131 * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearTags() { @@ -9866,7 +17099,7 @@ private void ensureTagsIsMutable() { /** * repeated string tags = 4 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.SecurityProfile.tags is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=68 + * See proto/cws/dumpsv1/activity_dump.proto;l=131 * @param value The bytes of the tags to add. * @return This builder for chaining. */ @@ -9890,7 +17123,7 @@ private void ensureSyscallsIsMutable() { /** * repeated uint32 syscalls = 5 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.SecurityProfile.syscalls is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=69 + * See proto/cws/dumpsv1/activity_dump.proto;l=132 * @return A list containing the syscalls. */ @java.lang.Deprecated public java.util.List @@ -9901,7 +17134,7 @@ private void ensureSyscallsIsMutable() { /** * repeated uint32 syscalls = 5 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.SecurityProfile.syscalls is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=69 + * See proto/cws/dumpsv1/activity_dump.proto;l=132 * @return The count of syscalls. */ @java.lang.Deprecated public int getSyscallsCount() { @@ -9910,7 +17143,7 @@ private void ensureSyscallsIsMutable() { /** * repeated uint32 syscalls = 5 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.SecurityProfile.syscalls is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=69 + * See proto/cws/dumpsv1/activity_dump.proto;l=132 * @param index The index of the element to return. * @return The syscalls at the given index. */ @@ -9920,7 +17153,7 @@ private void ensureSyscallsIsMutable() { /** * repeated uint32 syscalls = 5 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.SecurityProfile.syscalls is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=69 + * See proto/cws/dumpsv1/activity_dump.proto;l=132 * @param index The index to set the value at. * @param value The syscalls to set. * @return This builder for chaining. @@ -9936,7 +17169,7 @@ private void ensureSyscallsIsMutable() { /** * repeated uint32 syscalls = 5 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.SecurityProfile.syscalls is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=69 + * See proto/cws/dumpsv1/activity_dump.proto;l=132 * @param value The syscalls to add. * @return This builder for chaining. */ @@ -9950,7 +17183,7 @@ private void ensureSyscallsIsMutable() { /** * repeated uint32 syscalls = 5 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.SecurityProfile.syscalls is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=69 + * See proto/cws/dumpsv1/activity_dump.proto;l=132 * @param values The syscalls to add. * @return This builder for chaining. */ @@ -9965,7 +17198,7 @@ private void ensureSyscallsIsMutable() { /** * repeated uint32 syscalls = 5 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.SecurityProfile.syscalls is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=69 + * See proto/cws/dumpsv1/activity_dump.proto;l=132 * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearSyscalls() { @@ -10732,6 +17965,246 @@ public com.dd.cws.adv1.pb.SecDumpProto.MountNode.Builder addMountsBuilder( } return mountsBuilder_; } + + private java.util.List securityContexts_ = + java.util.Collections.emptyList(); + private void ensureSecurityContextsIsMutable() { + if (!((bitField0_ & 0x00000400) != 0)) { + securityContexts_ = new java.util.ArrayList(securityContexts_); + bitField0_ |= 0x00000400; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.dd.cws.adv1.pb.SecDumpProto.SecurityContextEntry, com.dd.cws.adv1.pb.SecDumpProto.SecurityContextEntry.Builder, com.dd.cws.adv1.pb.SecDumpProto.SecurityContextEntryOrBuilder> securityContextsBuilder_; + + /** + * repeated .datadog.cws.dumpsv1.SecurityContextEntry security_contexts = 11; + */ + public java.util.List getSecurityContextsList() { + if (securityContextsBuilder_ == null) { + return java.util.Collections.unmodifiableList(securityContexts_); + } else { + return securityContextsBuilder_.getMessageList(); + } + } + /** + * repeated .datadog.cws.dumpsv1.SecurityContextEntry security_contexts = 11; + */ + public int getSecurityContextsCount() { + if (securityContextsBuilder_ == null) { + return securityContexts_.size(); + } else { + return securityContextsBuilder_.getCount(); + } + } + /** + * repeated .datadog.cws.dumpsv1.SecurityContextEntry security_contexts = 11; + */ + public com.dd.cws.adv1.pb.SecDumpProto.SecurityContextEntry getSecurityContexts(int index) { + if (securityContextsBuilder_ == null) { + return securityContexts_.get(index); + } else { + return securityContextsBuilder_.getMessage(index); + } + } + /** + * repeated .datadog.cws.dumpsv1.SecurityContextEntry security_contexts = 11; + */ + public Builder setSecurityContexts( + int index, com.dd.cws.adv1.pb.SecDumpProto.SecurityContextEntry value) { + if (securityContextsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureSecurityContextsIsMutable(); + securityContexts_.set(index, value); + onChanged(); + } else { + securityContextsBuilder_.setMessage(index, value); + } + return this; + } + /** + * repeated .datadog.cws.dumpsv1.SecurityContextEntry security_contexts = 11; + */ + public Builder setSecurityContexts( + int index, com.dd.cws.adv1.pb.SecDumpProto.SecurityContextEntry.Builder builderForValue) { + if (securityContextsBuilder_ == null) { + ensureSecurityContextsIsMutable(); + securityContexts_.set(index, builderForValue.build()); + onChanged(); + } else { + securityContextsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .datadog.cws.dumpsv1.SecurityContextEntry security_contexts = 11; + */ + public Builder addSecurityContexts(com.dd.cws.adv1.pb.SecDumpProto.SecurityContextEntry value) { + if (securityContextsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureSecurityContextsIsMutable(); + securityContexts_.add(value); + onChanged(); + } else { + securityContextsBuilder_.addMessage(value); + } + return this; + } + /** + * repeated .datadog.cws.dumpsv1.SecurityContextEntry security_contexts = 11; + */ + public Builder addSecurityContexts( + int index, com.dd.cws.adv1.pb.SecDumpProto.SecurityContextEntry value) { + if (securityContextsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureSecurityContextsIsMutable(); + securityContexts_.add(index, value); + onChanged(); + } else { + securityContextsBuilder_.addMessage(index, value); + } + return this; + } + /** + * repeated .datadog.cws.dumpsv1.SecurityContextEntry security_contexts = 11; + */ + public Builder addSecurityContexts( + com.dd.cws.adv1.pb.SecDumpProto.SecurityContextEntry.Builder builderForValue) { + if (securityContextsBuilder_ == null) { + ensureSecurityContextsIsMutable(); + securityContexts_.add(builderForValue.build()); + onChanged(); + } else { + securityContextsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * repeated .datadog.cws.dumpsv1.SecurityContextEntry security_contexts = 11; + */ + public Builder addSecurityContexts( + int index, com.dd.cws.adv1.pb.SecDumpProto.SecurityContextEntry.Builder builderForValue) { + if (securityContextsBuilder_ == null) { + ensureSecurityContextsIsMutable(); + securityContexts_.add(index, builderForValue.build()); + onChanged(); + } else { + securityContextsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .datadog.cws.dumpsv1.SecurityContextEntry security_contexts = 11; + */ + public Builder addAllSecurityContexts( + java.lang.Iterable values) { + if (securityContextsBuilder_ == null) { + ensureSecurityContextsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, securityContexts_); + onChanged(); + } else { + securityContextsBuilder_.addAllMessages(values); + } + return this; + } + /** + * repeated .datadog.cws.dumpsv1.SecurityContextEntry security_contexts = 11; + */ + public Builder clearSecurityContexts() { + if (securityContextsBuilder_ == null) { + securityContexts_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000400); + onChanged(); + } else { + securityContextsBuilder_.clear(); + } + return this; + } + /** + * repeated .datadog.cws.dumpsv1.SecurityContextEntry security_contexts = 11; + */ + public Builder removeSecurityContexts(int index) { + if (securityContextsBuilder_ == null) { + ensureSecurityContextsIsMutable(); + securityContexts_.remove(index); + onChanged(); + } else { + securityContextsBuilder_.remove(index); + } + return this; + } + /** + * repeated .datadog.cws.dumpsv1.SecurityContextEntry security_contexts = 11; + */ + public com.dd.cws.adv1.pb.SecDumpProto.SecurityContextEntry.Builder getSecurityContextsBuilder( + int index) { + return getSecurityContextsFieldBuilder().getBuilder(index); + } + /** + * repeated .datadog.cws.dumpsv1.SecurityContextEntry security_contexts = 11; + */ + public com.dd.cws.adv1.pb.SecDumpProto.SecurityContextEntryOrBuilder getSecurityContextsOrBuilder( + int index) { + if (securityContextsBuilder_ == null) { + return securityContexts_.get(index); } else { + return securityContextsBuilder_.getMessageOrBuilder(index); + } + } + /** + * repeated .datadog.cws.dumpsv1.SecurityContextEntry security_contexts = 11; + */ + public java.util.List + getSecurityContextsOrBuilderList() { + if (securityContextsBuilder_ != null) { + return securityContextsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(securityContexts_); + } + } + /** + * repeated .datadog.cws.dumpsv1.SecurityContextEntry security_contexts = 11; + */ + public com.dd.cws.adv1.pb.SecDumpProto.SecurityContextEntry.Builder addSecurityContextsBuilder() { + return getSecurityContextsFieldBuilder().addBuilder( + com.dd.cws.adv1.pb.SecDumpProto.SecurityContextEntry.getDefaultInstance()); + } + /** + * repeated .datadog.cws.dumpsv1.SecurityContextEntry security_contexts = 11; + */ + public com.dd.cws.adv1.pb.SecDumpProto.SecurityContextEntry.Builder addSecurityContextsBuilder( + int index) { + return getSecurityContextsFieldBuilder().addBuilder( + index, com.dd.cws.adv1.pb.SecDumpProto.SecurityContextEntry.getDefaultInstance()); + } + /** + * repeated .datadog.cws.dumpsv1.SecurityContextEntry security_contexts = 11; + */ + public java.util.List + getSecurityContextsBuilderList() { + return getSecurityContextsFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.dd.cws.adv1.pb.SecDumpProto.SecurityContextEntry, com.dd.cws.adv1.pb.SecDumpProto.SecurityContextEntry.Builder, com.dd.cws.adv1.pb.SecDumpProto.SecurityContextEntryOrBuilder> + getSecurityContextsFieldBuilder() { + if (securityContextsBuilder_ == null) { + securityContextsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.dd.cws.adv1.pb.SecDumpProto.SecurityContextEntry, com.dd.cws.adv1.pb.SecDumpProto.SecurityContextEntry.Builder, com.dd.cws.adv1.pb.SecDumpProto.SecurityContextEntryOrBuilder>( + securityContexts_, + ((bitField0_ & 0x00000400) != 0), + getParentForChildren(), + isClean()); + securityContexts_ = null; + } + return securityContextsBuilder_; + } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -12141,21 +19614,21 @@ com.dd.cws.adv1.pb.SecDumpProto.SocketNodeOrBuilder getSocketsOrBuilder( /** * repeated uint32 syscalls = 7 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.ProcessActivityNode.syscalls is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=98 + * See proto/cws/dumpsv1/activity_dump.proto;l=162 * @return A list containing the syscalls. */ @java.lang.Deprecated java.util.List getSyscallsList(); /** * repeated uint32 syscalls = 7 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.ProcessActivityNode.syscalls is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=98 + * See proto/cws/dumpsv1/activity_dump.proto;l=162 * @return The count of syscalls. */ @java.lang.Deprecated int getSyscallsCount(); /** * repeated uint32 syscalls = 7 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.ProcessActivityNode.syscalls is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=98 + * See proto/cws/dumpsv1/activity_dump.proto;l=162 * @param index The index of the element to return. * @return The syscalls at the given index. */ @@ -12164,7 +19637,7 @@ com.dd.cws.adv1.pb.SecDumpProto.SocketNodeOrBuilder getSocketsOrBuilder( /** * repeated string image_tags = 10 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.ProcessActivityNode.image_tags is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=99 + * See proto/cws/dumpsv1/activity_dump.proto;l=163 * @return A list containing the imageTags. */ @java.lang.Deprecated java.util.List @@ -12172,14 +19645,14 @@ com.dd.cws.adv1.pb.SecDumpProto.SocketNodeOrBuilder getSocketsOrBuilder( /** * repeated string image_tags = 10 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.ProcessActivityNode.image_tags is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=99 + * See proto/cws/dumpsv1/activity_dump.proto;l=163 * @return The count of imageTags. */ @java.lang.Deprecated int getImageTagsCount(); /** * repeated string image_tags = 10 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.ProcessActivityNode.image_tags is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=99 + * See proto/cws/dumpsv1/activity_dump.proto;l=163 * @param index The index of the element to return. * @return The imageTags at the given index. */ @@ -12187,7 +19660,7 @@ com.dd.cws.adv1.pb.SecDumpProto.SocketNodeOrBuilder getSocketsOrBuilder( /** * repeated string image_tags = 10 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.ProcessActivityNode.image_tags is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=99 + * See proto/cws/dumpsv1/activity_dump.proto;l=163 * @param index The index of the value to return. * @return The bytes of the imageTags at the given index. */ @@ -12612,7 +20085,7 @@ public com.dd.cws.adv1.pb.SecDumpProto.SocketNodeOrBuilder getSocketsOrBuilder( /** * repeated uint32 syscalls = 7 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.ProcessActivityNode.syscalls is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=98 + * See proto/cws/dumpsv1/activity_dump.proto;l=162 * @return A list containing the syscalls. */ @java.lang.Override @@ -12623,7 +20096,7 @@ public com.dd.cws.adv1.pb.SecDumpProto.SocketNodeOrBuilder getSocketsOrBuilder( /** * repeated uint32 syscalls = 7 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.ProcessActivityNode.syscalls is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=98 + * See proto/cws/dumpsv1/activity_dump.proto;l=162 * @return The count of syscalls. */ @java.lang.Deprecated public int getSyscallsCount() { @@ -12632,7 +20105,7 @@ public com.dd.cws.adv1.pb.SecDumpProto.SocketNodeOrBuilder getSocketsOrBuilder( /** * repeated uint32 syscalls = 7 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.ProcessActivityNode.syscalls is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=98 + * See proto/cws/dumpsv1/activity_dump.proto;l=162 * @param index The index of the element to return. * @return The syscalls at the given index. */ @@ -12647,7 +20120,7 @@ public com.dd.cws.adv1.pb.SecDumpProto.SocketNodeOrBuilder getSocketsOrBuilder( /** * repeated string image_tags = 10 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.ProcessActivityNode.image_tags is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=99 + * See proto/cws/dumpsv1/activity_dump.proto;l=163 * @return A list containing the imageTags. */ @java.lang.Deprecated public com.google.protobuf.ProtocolStringList @@ -12657,7 +20130,7 @@ public com.dd.cws.adv1.pb.SecDumpProto.SocketNodeOrBuilder getSocketsOrBuilder( /** * repeated string image_tags = 10 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.ProcessActivityNode.image_tags is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=99 + * See proto/cws/dumpsv1/activity_dump.proto;l=163 * @return The count of imageTags. */ @java.lang.Deprecated public int getImageTagsCount() { @@ -12666,7 +20139,7 @@ public com.dd.cws.adv1.pb.SecDumpProto.SocketNodeOrBuilder getSocketsOrBuilder( /** * repeated string image_tags = 10 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.ProcessActivityNode.image_tags is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=99 + * See proto/cws/dumpsv1/activity_dump.proto;l=163 * @param index The index of the element to return. * @return The imageTags at the given index. */ @@ -12676,7 +20149,7 @@ public com.dd.cws.adv1.pb.SecDumpProto.SocketNodeOrBuilder getSocketsOrBuilder( /** * repeated string image_tags = 10 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.ProcessActivityNode.image_tags is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=99 + * See proto/cws/dumpsv1/activity_dump.proto;l=163 * @param index The index of the value to return. * @return The bytes of the imageTags at the given index. */ @@ -15367,7 +22840,7 @@ private void ensureSyscallsIsMutable() { /** * repeated uint32 syscalls = 7 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.ProcessActivityNode.syscalls is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=98 + * See proto/cws/dumpsv1/activity_dump.proto;l=162 * @return A list containing the syscalls. */ @java.lang.Deprecated public java.util.List @@ -15378,7 +22851,7 @@ private void ensureSyscallsIsMutable() { /** * repeated uint32 syscalls = 7 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.ProcessActivityNode.syscalls is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=98 + * See proto/cws/dumpsv1/activity_dump.proto;l=162 * @return The count of syscalls. */ @java.lang.Deprecated public int getSyscallsCount() { @@ -15387,7 +22860,7 @@ private void ensureSyscallsIsMutable() { /** * repeated uint32 syscalls = 7 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.ProcessActivityNode.syscalls is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=98 + * See proto/cws/dumpsv1/activity_dump.proto;l=162 * @param index The index of the element to return. * @return The syscalls at the given index. */ @@ -15397,7 +22870,7 @@ private void ensureSyscallsIsMutable() { /** * repeated uint32 syscalls = 7 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.ProcessActivityNode.syscalls is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=98 + * See proto/cws/dumpsv1/activity_dump.proto;l=162 * @param index The index to set the value at. * @param value The syscalls to set. * @return This builder for chaining. @@ -15413,7 +22886,7 @@ private void ensureSyscallsIsMutable() { /** * repeated uint32 syscalls = 7 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.ProcessActivityNode.syscalls is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=98 + * See proto/cws/dumpsv1/activity_dump.proto;l=162 * @param value The syscalls to add. * @return This builder for chaining. */ @@ -15427,7 +22900,7 @@ private void ensureSyscallsIsMutable() { /** * repeated uint32 syscalls = 7 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.ProcessActivityNode.syscalls is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=98 + * See proto/cws/dumpsv1/activity_dump.proto;l=162 * @param values The syscalls to add. * @return This builder for chaining. */ @@ -15442,7 +22915,7 @@ private void ensureSyscallsIsMutable() { /** * repeated uint32 syscalls = 7 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.ProcessActivityNode.syscalls is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=98 + * See proto/cws/dumpsv1/activity_dump.proto;l=162 * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearSyscalls() { @@ -15462,7 +22935,7 @@ private void ensureImageTagsIsMutable() { /** * repeated string image_tags = 10 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.ProcessActivityNode.image_tags is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=99 + * See proto/cws/dumpsv1/activity_dump.proto;l=163 * @return A list containing the imageTags. */ @java.lang.Deprecated public com.google.protobuf.ProtocolStringList @@ -15472,7 +22945,7 @@ private void ensureImageTagsIsMutable() { /** * repeated string image_tags = 10 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.ProcessActivityNode.image_tags is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=99 + * See proto/cws/dumpsv1/activity_dump.proto;l=163 * @return The count of imageTags. */ @java.lang.Deprecated public int getImageTagsCount() { @@ -15481,7 +22954,7 @@ private void ensureImageTagsIsMutable() { /** * repeated string image_tags = 10 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.ProcessActivityNode.image_tags is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=99 + * See proto/cws/dumpsv1/activity_dump.proto;l=163 * @param index The index of the element to return. * @return The imageTags at the given index. */ @@ -15491,7 +22964,7 @@ private void ensureImageTagsIsMutable() { /** * repeated string image_tags = 10 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.ProcessActivityNode.image_tags is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=99 + * See proto/cws/dumpsv1/activity_dump.proto;l=163 * @param index The index of the value to return. * @return The bytes of the imageTags at the given index. */ @@ -15502,7 +22975,7 @@ private void ensureImageTagsIsMutable() { /** * repeated string image_tags = 10 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.ProcessActivityNode.image_tags is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=99 + * See proto/cws/dumpsv1/activity_dump.proto;l=163 * @param index The index to set the value at. * @param value The imageTags to set. * @return This builder for chaining. @@ -15518,7 +22991,7 @@ private void ensureImageTagsIsMutable() { /** * repeated string image_tags = 10 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.ProcessActivityNode.image_tags is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=99 + * See proto/cws/dumpsv1/activity_dump.proto;l=163 * @param value The imageTags to add. * @return This builder for chaining. */ @@ -15533,7 +23006,7 @@ private void ensureImageTagsIsMutable() { /** * repeated string image_tags = 10 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.ProcessActivityNode.image_tags is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=99 + * See proto/cws/dumpsv1/activity_dump.proto;l=163 * @param values The imageTags to add. * @return This builder for chaining. */ @@ -15548,7 +23021,7 @@ private void ensureImageTagsIsMutable() { /** * repeated string image_tags = 10 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.ProcessActivityNode.image_tags is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=99 + * See proto/cws/dumpsv1/activity_dump.proto;l=163 * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearImageTags() { @@ -15560,7 +23033,7 @@ private void ensureImageTagsIsMutable() { /** * repeated string image_tags = 10 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.ProcessActivityNode.image_tags is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=99 + * See proto/cws/dumpsv1/activity_dump.proto;l=163 * @param value The bytes of the imageTags to add. * @return This builder for chaining. */ @@ -16741,7 +24214,7 @@ public interface ProcessInfoOrBuilder extends /** * uint32 cookie = 4 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.ProcessInfo.cookie is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=111 + * See proto/cws/dumpsv1/activity_dump.proto;l=175 * @return The cookie. */ @java.lang.Deprecated int getCookie(); @@ -16782,7 +24255,7 @@ public interface ProcessInfoOrBuilder extends /** * uint64 span_id = 8 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.ProcessInfo.span_id is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=118 + * See proto/cws/dumpsv1/activity_dump.proto;l=182 * @return The spanId. */ @java.lang.Deprecated long getSpanId(); @@ -16790,7 +24263,7 @@ public interface ProcessInfoOrBuilder extends /** * uint64 trace_id = 9 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.ProcessInfo.trace_id is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=119 + * See proto/cws/dumpsv1/activity_dump.proto;l=183 * @return The traceId. */ @java.lang.Deprecated long getTraceId(); @@ -17022,7 +24495,7 @@ public int getPpid() { /** * uint32 cookie = 4 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.ProcessInfo.cookie is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=111 + * See proto/cws/dumpsv1/activity_dump.proto;l=175 * @return The cookie. */ @java.lang.Override @@ -17111,7 +24584,7 @@ public java.lang.String getContainerId() { /** * uint64 span_id = 8 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.ProcessInfo.span_id is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=118 + * See proto/cws/dumpsv1/activity_dump.proto;l=182 * @return The spanId. */ @java.lang.Override @@ -17124,7 +24597,7 @@ public java.lang.String getContainerId() { /** * uint64 trace_id = 9 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.ProcessInfo.trace_id is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=119 + * See proto/cws/dumpsv1/activity_dump.proto;l=183 * @return The traceId. */ @java.lang.Override @@ -18408,7 +25881,7 @@ public Builder clearPpid() { /** * uint32 cookie = 4 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.ProcessInfo.cookie is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=111 + * See proto/cws/dumpsv1/activity_dump.proto;l=175 * @return The cookie. */ @java.lang.Override @@ -18418,7 +25891,7 @@ public Builder clearPpid() { /** * uint32 cookie = 4 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.ProcessInfo.cookie is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=111 + * See proto/cws/dumpsv1/activity_dump.proto;l=175 * @param value The cookie to set. * @return This builder for chaining. */ @@ -18432,7 +25905,7 @@ public Builder clearPpid() { /** * uint32 cookie = 4 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.ProcessInfo.cookie is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=111 + * See proto/cws/dumpsv1/activity_dump.proto;l=175 * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearCookie() { @@ -18669,7 +26142,7 @@ public Builder setContainerIdBytes( /** * uint64 span_id = 8 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.ProcessInfo.span_id is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=118 + * See proto/cws/dumpsv1/activity_dump.proto;l=182 * @return The spanId. */ @java.lang.Override @@ -18679,7 +26152,7 @@ public Builder setContainerIdBytes( /** * uint64 span_id = 8 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.ProcessInfo.span_id is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=118 + * See proto/cws/dumpsv1/activity_dump.proto;l=182 * @param value The spanId to set. * @return This builder for chaining. */ @@ -18693,7 +26166,7 @@ public Builder setContainerIdBytes( /** * uint64 span_id = 8 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.ProcessInfo.span_id is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=118 + * See proto/cws/dumpsv1/activity_dump.proto;l=182 * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearSpanId() { @@ -18707,7 +26180,7 @@ public Builder setContainerIdBytes( /** * uint64 trace_id = 9 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.ProcessInfo.trace_id is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=119 + * See proto/cws/dumpsv1/activity_dump.proto;l=183 * @return The traceId. */ @java.lang.Override @@ -18717,7 +26190,7 @@ public Builder setContainerIdBytes( /** * uint64 trace_id = 9 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.ProcessInfo.trace_id is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=119 + * See proto/cws/dumpsv1/activity_dump.proto;l=183 * @param value The traceId to set. * @return This builder for chaining. */ @@ -18731,7 +26204,7 @@ public Builder setContainerIdBytes( /** * uint64 trace_id = 9 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.ProcessInfo.trace_id is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=119 + * See proto/cws/dumpsv1/activity_dump.proto;l=183 * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearTraceId() { @@ -19602,7 +27075,7 @@ com.dd.cws.adv1.pb.SecDumpProto.MatchedRuleOrBuilder getMatchedRulesOrBuilder( /** * repeated string image_tags = 10 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.FileActivityNode.image_tags is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=142 + * See proto/cws/dumpsv1/activity_dump.proto;l=206 * @return A list containing the imageTags. */ @java.lang.Deprecated java.util.List @@ -19610,14 +27083,14 @@ com.dd.cws.adv1.pb.SecDumpProto.MatchedRuleOrBuilder getMatchedRulesOrBuilder( /** * repeated string image_tags = 10 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.FileActivityNode.image_tags is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=142 + * See proto/cws/dumpsv1/activity_dump.proto;l=206 * @return The count of imageTags. */ @java.lang.Deprecated int getImageTagsCount(); /** * repeated string image_tags = 10 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.FileActivityNode.image_tags is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=142 + * See proto/cws/dumpsv1/activity_dump.proto;l=206 * @param index The index of the element to return. * @return The imageTags at the given index. */ @@ -19625,7 +27098,7 @@ com.dd.cws.adv1.pb.SecDumpProto.MatchedRuleOrBuilder getMatchedRulesOrBuilder( /** * repeated string image_tags = 10 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.FileActivityNode.image_tags is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=142 + * See proto/cws/dumpsv1/activity_dump.proto;l=206 * @param index The index of the value to return. * @return The bytes of the imageTags at the given index. */ @@ -19828,7 +27301,7 @@ public com.dd.cws.adv1.pb.SecDumpProto.MatchedRuleOrBuilder getMatchedRulesOrBui /** * repeated string image_tags = 10 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.FileActivityNode.image_tags is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=142 + * See proto/cws/dumpsv1/activity_dump.proto;l=206 * @return A list containing the imageTags. */ @java.lang.Deprecated public com.google.protobuf.ProtocolStringList @@ -19838,7 +27311,7 @@ public com.dd.cws.adv1.pb.SecDumpProto.MatchedRuleOrBuilder getMatchedRulesOrBui /** * repeated string image_tags = 10 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.FileActivityNode.image_tags is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=142 + * See proto/cws/dumpsv1/activity_dump.proto;l=206 * @return The count of imageTags. */ @java.lang.Deprecated public int getImageTagsCount() { @@ -19847,7 +27320,7 @@ public com.dd.cws.adv1.pb.SecDumpProto.MatchedRuleOrBuilder getMatchedRulesOrBui /** * repeated string image_tags = 10 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.FileActivityNode.image_tags is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=142 + * See proto/cws/dumpsv1/activity_dump.proto;l=206 * @param index The index of the element to return. * @return The imageTags at the given index. */ @@ -19857,7 +27330,7 @@ public com.dd.cws.adv1.pb.SecDumpProto.MatchedRuleOrBuilder getMatchedRulesOrBui /** * repeated string image_tags = 10 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.FileActivityNode.image_tags is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=142 + * See proto/cws/dumpsv1/activity_dump.proto;l=206 * @param index The index of the value to return. * @return The bytes of the imageTags at the given index. */ @@ -20996,7 +28469,7 @@ private void ensureImageTagsIsMutable() { /** * repeated string image_tags = 10 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.FileActivityNode.image_tags is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=142 + * See proto/cws/dumpsv1/activity_dump.proto;l=206 * @return A list containing the imageTags. */ @java.lang.Deprecated public com.google.protobuf.ProtocolStringList @@ -21006,7 +28479,7 @@ private void ensureImageTagsIsMutable() { /** * repeated string image_tags = 10 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.FileActivityNode.image_tags is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=142 + * See proto/cws/dumpsv1/activity_dump.proto;l=206 * @return The count of imageTags. */ @java.lang.Deprecated public int getImageTagsCount() { @@ -21015,7 +28488,7 @@ private void ensureImageTagsIsMutable() { /** * repeated string image_tags = 10 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.FileActivityNode.image_tags is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=142 + * See proto/cws/dumpsv1/activity_dump.proto;l=206 * @param index The index of the element to return. * @return The imageTags at the given index. */ @@ -21025,7 +28498,7 @@ private void ensureImageTagsIsMutable() { /** * repeated string image_tags = 10 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.FileActivityNode.image_tags is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=142 + * See proto/cws/dumpsv1/activity_dump.proto;l=206 * @param index The index of the value to return. * @return The bytes of the imageTags at the given index. */ @@ -21036,7 +28509,7 @@ private void ensureImageTagsIsMutable() { /** * repeated string image_tags = 10 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.FileActivityNode.image_tags is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=142 + * See proto/cws/dumpsv1/activity_dump.proto;l=206 * @param index The index to set the value at. * @param value The imageTags to set. * @return This builder for chaining. @@ -21052,7 +28525,7 @@ private void ensureImageTagsIsMutable() { /** * repeated string image_tags = 10 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.FileActivityNode.image_tags is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=142 + * See proto/cws/dumpsv1/activity_dump.proto;l=206 * @param value The imageTags to add. * @return This builder for chaining. */ @@ -21067,7 +28540,7 @@ private void ensureImageTagsIsMutable() { /** * repeated string image_tags = 10 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.FileActivityNode.image_tags is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=142 + * See proto/cws/dumpsv1/activity_dump.proto;l=206 * @param values The imageTags to add. * @return This builder for chaining. */ @@ -21082,7 +28555,7 @@ private void ensureImageTagsIsMutable() { /** * repeated string image_tags = 10 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.FileActivityNode.image_tags is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=142 + * See proto/cws/dumpsv1/activity_dump.proto;l=206 * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearImageTags() { @@ -21094,7 +28567,7 @@ private void ensureImageTagsIsMutable() { /** * repeated string image_tags = 10 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.FileActivityNode.image_tags is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=142 + * See proto/cws/dumpsv1/activity_dump.proto;l=206 * @param value The bytes of the imageTags to add. * @return This builder for chaining. */ @@ -22612,7 +30085,7 @@ com.dd.cws.adv1.pb.SecDumpProto.MatchedRuleOrBuilder getMatchedRulesOrBuilder( /** * repeated string image_tags = 3 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.DNSNode.image_tags is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=165 + * See proto/cws/dumpsv1/activity_dump.proto;l=229 * @return A list containing the imageTags. */ @java.lang.Deprecated java.util.List @@ -22620,14 +30093,14 @@ com.dd.cws.adv1.pb.SecDumpProto.MatchedRuleOrBuilder getMatchedRulesOrBuilder( /** * repeated string image_tags = 3 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.DNSNode.image_tags is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=165 + * See proto/cws/dumpsv1/activity_dump.proto;l=229 * @return The count of imageTags. */ @java.lang.Deprecated int getImageTagsCount(); /** * repeated string image_tags = 3 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.DNSNode.image_tags is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=165 + * See proto/cws/dumpsv1/activity_dump.proto;l=229 * @param index The index of the element to return. * @return The imageTags at the given index. */ @@ -22635,7 +30108,7 @@ com.dd.cws.adv1.pb.SecDumpProto.MatchedRuleOrBuilder getMatchedRulesOrBuilder( /** * repeated string image_tags = 3 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.DNSNode.image_tags is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=165 + * See proto/cws/dumpsv1/activity_dump.proto;l=229 * @param index The index of the value to return. * @return The bytes of the imageTags at the given index. */ @@ -22771,7 +30244,7 @@ public com.dd.cws.adv1.pb.SecDumpProto.MatchedRuleOrBuilder getMatchedRulesOrBui /** * repeated string image_tags = 3 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.DNSNode.image_tags is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=165 + * See proto/cws/dumpsv1/activity_dump.proto;l=229 * @return A list containing the imageTags. */ @java.lang.Deprecated public com.google.protobuf.ProtocolStringList @@ -22781,7 +30254,7 @@ public com.dd.cws.adv1.pb.SecDumpProto.MatchedRuleOrBuilder getMatchedRulesOrBui /** * repeated string image_tags = 3 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.DNSNode.image_tags is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=165 + * See proto/cws/dumpsv1/activity_dump.proto;l=229 * @return The count of imageTags. */ @java.lang.Deprecated public int getImageTagsCount() { @@ -22790,7 +30263,7 @@ public com.dd.cws.adv1.pb.SecDumpProto.MatchedRuleOrBuilder getMatchedRulesOrBui /** * repeated string image_tags = 3 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.DNSNode.image_tags is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=165 + * See proto/cws/dumpsv1/activity_dump.proto;l=229 * @param index The index of the element to return. * @return The imageTags at the given index. */ @@ -22800,7 +30273,7 @@ public com.dd.cws.adv1.pb.SecDumpProto.MatchedRuleOrBuilder getMatchedRulesOrBui /** * repeated string image_tags = 3 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.DNSNode.image_tags is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=165 + * See proto/cws/dumpsv1/activity_dump.proto;l=229 * @param index The index of the value to return. * @return The bytes of the imageTags at the given index. */ @@ -23642,7 +31115,7 @@ private void ensureImageTagsIsMutable() { /** * repeated string image_tags = 3 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.DNSNode.image_tags is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=165 + * See proto/cws/dumpsv1/activity_dump.proto;l=229 * @return A list containing the imageTags. */ @java.lang.Deprecated public com.google.protobuf.ProtocolStringList @@ -23652,7 +31125,7 @@ private void ensureImageTagsIsMutable() { /** * repeated string image_tags = 3 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.DNSNode.image_tags is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=165 + * See proto/cws/dumpsv1/activity_dump.proto;l=229 * @return The count of imageTags. */ @java.lang.Deprecated public int getImageTagsCount() { @@ -23661,7 +31134,7 @@ private void ensureImageTagsIsMutable() { /** * repeated string image_tags = 3 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.DNSNode.image_tags is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=165 + * See proto/cws/dumpsv1/activity_dump.proto;l=229 * @param index The index of the element to return. * @return The imageTags at the given index. */ @@ -23671,7 +31144,7 @@ private void ensureImageTagsIsMutable() { /** * repeated string image_tags = 3 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.DNSNode.image_tags is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=165 + * See proto/cws/dumpsv1/activity_dump.proto;l=229 * @param index The index of the value to return. * @return The bytes of the imageTags at the given index. */ @@ -23682,7 +31155,7 @@ private void ensureImageTagsIsMutable() { /** * repeated string image_tags = 3 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.DNSNode.image_tags is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=165 + * See proto/cws/dumpsv1/activity_dump.proto;l=229 * @param index The index to set the value at. * @param value The imageTags to set. * @return This builder for chaining. @@ -23698,7 +31171,7 @@ private void ensureImageTagsIsMutable() { /** * repeated string image_tags = 3 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.DNSNode.image_tags is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=165 + * See proto/cws/dumpsv1/activity_dump.proto;l=229 * @param value The imageTags to add. * @return This builder for chaining. */ @@ -23713,7 +31186,7 @@ private void ensureImageTagsIsMutable() { /** * repeated string image_tags = 3 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.DNSNode.image_tags is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=165 + * See proto/cws/dumpsv1/activity_dump.proto;l=229 * @param values The imageTags to add. * @return This builder for chaining. */ @@ -23728,7 +31201,7 @@ private void ensureImageTagsIsMutable() { /** * repeated string image_tags = 3 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.DNSNode.image_tags is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=165 + * See proto/cws/dumpsv1/activity_dump.proto;l=229 * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearImageTags() { @@ -23740,7 +31213,7 @@ private void ensureImageTagsIsMutable() { /** * repeated string image_tags = 3 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.DNSNode.image_tags is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=165 + * See proto/cws/dumpsv1/activity_dump.proto;l=229 * @param value The bytes of the imageTags to add. * @return This builder for chaining. */ @@ -26057,7 +33530,7 @@ public interface SyscallNodeOrBuilder extends /** * repeated string image_tags = 1 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.SyscallNode.image_tags is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=190 + * See proto/cws/dumpsv1/activity_dump.proto;l=254 * @return A list containing the imageTags. */ @java.lang.Deprecated java.util.List @@ -26065,14 +33538,14 @@ public interface SyscallNodeOrBuilder extends /** * repeated string image_tags = 1 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.SyscallNode.image_tags is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=190 + * See proto/cws/dumpsv1/activity_dump.proto;l=254 * @return The count of imageTags. */ @java.lang.Deprecated int getImageTagsCount(); /** * repeated string image_tags = 1 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.SyscallNode.image_tags is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=190 + * See proto/cws/dumpsv1/activity_dump.proto;l=254 * @param index The index of the element to return. * @return The imageTags at the given index. */ @@ -26080,7 +33553,7 @@ public interface SyscallNodeOrBuilder extends /** * repeated string image_tags = 1 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.SyscallNode.image_tags is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=190 + * See proto/cws/dumpsv1/activity_dump.proto;l=254 * @param index The index of the value to return. * @return The bytes of the imageTags at the given index. */ @@ -26155,7 +33628,7 @@ protected java.lang.Object newInstance( /** * repeated string image_tags = 1 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.SyscallNode.image_tags is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=190 + * See proto/cws/dumpsv1/activity_dump.proto;l=254 * @return A list containing the imageTags. */ @java.lang.Deprecated public com.google.protobuf.ProtocolStringList @@ -26165,7 +33638,7 @@ protected java.lang.Object newInstance( /** * repeated string image_tags = 1 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.SyscallNode.image_tags is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=190 + * See proto/cws/dumpsv1/activity_dump.proto;l=254 * @return The count of imageTags. */ @java.lang.Deprecated public int getImageTagsCount() { @@ -26174,7 +33647,7 @@ protected java.lang.Object newInstance( /** * repeated string image_tags = 1 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.SyscallNode.image_tags is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=190 + * See proto/cws/dumpsv1/activity_dump.proto;l=254 * @param index The index of the element to return. * @return The imageTags at the given index. */ @@ -26184,7 +33657,7 @@ protected java.lang.Object newInstance( /** * repeated string image_tags = 1 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.SyscallNode.image_tags is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=190 + * See proto/cws/dumpsv1/activity_dump.proto;l=254 * @param index The index of the value to return. * @return The bytes of the imageTags at the given index. */ @@ -26643,7 +34116,7 @@ private void ensureImageTagsIsMutable() { /** * repeated string image_tags = 1 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.SyscallNode.image_tags is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=190 + * See proto/cws/dumpsv1/activity_dump.proto;l=254 * @return A list containing the imageTags. */ @java.lang.Deprecated public com.google.protobuf.ProtocolStringList @@ -26653,7 +34126,7 @@ private void ensureImageTagsIsMutable() { /** * repeated string image_tags = 1 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.SyscallNode.image_tags is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=190 + * See proto/cws/dumpsv1/activity_dump.proto;l=254 * @return The count of imageTags. */ @java.lang.Deprecated public int getImageTagsCount() { @@ -26662,7 +34135,7 @@ private void ensureImageTagsIsMutable() { /** * repeated string image_tags = 1 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.SyscallNode.image_tags is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=190 + * See proto/cws/dumpsv1/activity_dump.proto;l=254 * @param index The index of the element to return. * @return The imageTags at the given index. */ @@ -26672,7 +34145,7 @@ private void ensureImageTagsIsMutable() { /** * repeated string image_tags = 1 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.SyscallNode.image_tags is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=190 + * See proto/cws/dumpsv1/activity_dump.proto;l=254 * @param index The index of the value to return. * @return The bytes of the imageTags at the given index. */ @@ -26683,7 +34156,7 @@ private void ensureImageTagsIsMutable() { /** * repeated string image_tags = 1 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.SyscallNode.image_tags is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=190 + * See proto/cws/dumpsv1/activity_dump.proto;l=254 * @param index The index to set the value at. * @param value The imageTags to set. * @return This builder for chaining. @@ -26699,7 +34172,7 @@ private void ensureImageTagsIsMutable() { /** * repeated string image_tags = 1 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.SyscallNode.image_tags is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=190 + * See proto/cws/dumpsv1/activity_dump.proto;l=254 * @param value The imageTags to add. * @return This builder for chaining. */ @@ -26714,7 +34187,7 @@ private void ensureImageTagsIsMutable() { /** * repeated string image_tags = 1 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.SyscallNode.image_tags is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=190 + * See proto/cws/dumpsv1/activity_dump.proto;l=254 * @param values The imageTags to add. * @return This builder for chaining. */ @@ -26729,7 +34202,7 @@ private void ensureImageTagsIsMutable() { /** * repeated string image_tags = 1 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.SyscallNode.image_tags is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=190 + * See proto/cws/dumpsv1/activity_dump.proto;l=254 * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearImageTags() { @@ -26741,7 +34214,7 @@ private void ensureImageTagsIsMutable() { /** * repeated string image_tags = 1 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.SyscallNode.image_tags is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=190 + * See proto/cws/dumpsv1/activity_dump.proto;l=254 * @param value The bytes of the imageTags to add. * @return This builder for chaining. */ @@ -27749,7 +35222,7 @@ com.dd.cws.adv1.pb.SecDumpProto.MatchedRuleOrBuilder getMatchedRulesOrBuilder( /** * repeated string image_tags = 2 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.IMDSNode.image_tags is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=205 + * See proto/cws/dumpsv1/activity_dump.proto;l=269 * @return A list containing the imageTags. */ @java.lang.Deprecated java.util.List @@ -27757,14 +35230,14 @@ com.dd.cws.adv1.pb.SecDumpProto.MatchedRuleOrBuilder getMatchedRulesOrBuilder( /** * repeated string image_tags = 2 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.IMDSNode.image_tags is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=205 + * See proto/cws/dumpsv1/activity_dump.proto;l=269 * @return The count of imageTags. */ @java.lang.Deprecated int getImageTagsCount(); /** * repeated string image_tags = 2 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.IMDSNode.image_tags is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=205 + * See proto/cws/dumpsv1/activity_dump.proto;l=269 * @param index The index of the element to return. * @return The imageTags at the given index. */ @@ -27772,7 +35245,7 @@ com.dd.cws.adv1.pb.SecDumpProto.MatchedRuleOrBuilder getMatchedRulesOrBuilder( /** * repeated string image_tags = 2 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.IMDSNode.image_tags is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=205 + * See proto/cws/dumpsv1/activity_dump.proto;l=269 * @param index The index of the value to return. * @return The bytes of the imageTags at the given index. */ @@ -27898,7 +35371,7 @@ public com.dd.cws.adv1.pb.SecDumpProto.MatchedRuleOrBuilder getMatchedRulesOrBui /** * repeated string image_tags = 2 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.IMDSNode.image_tags is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=205 + * See proto/cws/dumpsv1/activity_dump.proto;l=269 * @return A list containing the imageTags. */ @java.lang.Deprecated public com.google.protobuf.ProtocolStringList @@ -27908,7 +35381,7 @@ public com.dd.cws.adv1.pb.SecDumpProto.MatchedRuleOrBuilder getMatchedRulesOrBui /** * repeated string image_tags = 2 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.IMDSNode.image_tags is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=205 + * See proto/cws/dumpsv1/activity_dump.proto;l=269 * @return The count of imageTags. */ @java.lang.Deprecated public int getImageTagsCount() { @@ -27917,7 +35390,7 @@ public com.dd.cws.adv1.pb.SecDumpProto.MatchedRuleOrBuilder getMatchedRulesOrBui /** * repeated string image_tags = 2 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.IMDSNode.image_tags is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=205 + * See proto/cws/dumpsv1/activity_dump.proto;l=269 * @param index The index of the element to return. * @return The imageTags at the given index. */ @@ -27927,7 +35400,7 @@ public com.dd.cws.adv1.pb.SecDumpProto.MatchedRuleOrBuilder getMatchedRulesOrBui /** * repeated string image_tags = 2 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.IMDSNode.image_tags is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=205 + * See proto/cws/dumpsv1/activity_dump.proto;l=269 * @param index The index of the value to return. * @return The bytes of the imageTags at the given index. */ @@ -28722,7 +36195,7 @@ private void ensureImageTagsIsMutable() { /** * repeated string image_tags = 2 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.IMDSNode.image_tags is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=205 + * See proto/cws/dumpsv1/activity_dump.proto;l=269 * @return A list containing the imageTags. */ @java.lang.Deprecated public com.google.protobuf.ProtocolStringList @@ -28732,7 +36205,7 @@ private void ensureImageTagsIsMutable() { /** * repeated string image_tags = 2 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.IMDSNode.image_tags is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=205 + * See proto/cws/dumpsv1/activity_dump.proto;l=269 * @return The count of imageTags. */ @java.lang.Deprecated public int getImageTagsCount() { @@ -28741,7 +36214,7 @@ private void ensureImageTagsIsMutable() { /** * repeated string image_tags = 2 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.IMDSNode.image_tags is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=205 + * See proto/cws/dumpsv1/activity_dump.proto;l=269 * @param index The index of the element to return. * @return The imageTags at the given index. */ @@ -28751,7 +36224,7 @@ private void ensureImageTagsIsMutable() { /** * repeated string image_tags = 2 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.IMDSNode.image_tags is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=205 + * See proto/cws/dumpsv1/activity_dump.proto;l=269 * @param index The index of the value to return. * @return The bytes of the imageTags at the given index. */ @@ -28762,7 +36235,7 @@ private void ensureImageTagsIsMutable() { /** * repeated string image_tags = 2 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.IMDSNode.image_tags is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=205 + * See proto/cws/dumpsv1/activity_dump.proto;l=269 * @param index The index to set the value at. * @param value The imageTags to set. * @return This builder for chaining. @@ -28778,7 +36251,7 @@ private void ensureImageTagsIsMutable() { /** * repeated string image_tags = 2 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.IMDSNode.image_tags is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=205 + * See proto/cws/dumpsv1/activity_dump.proto;l=269 * @param value The imageTags to add. * @return This builder for chaining. */ @@ -28793,7 +36266,7 @@ private void ensureImageTagsIsMutable() { /** * repeated string image_tags = 2 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.IMDSNode.image_tags is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=205 + * See proto/cws/dumpsv1/activity_dump.proto;l=269 * @param values The imageTags to add. * @return This builder for chaining. */ @@ -28808,7 +36281,7 @@ private void ensureImageTagsIsMutable() { /** * repeated string image_tags = 2 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.IMDSNode.image_tags is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=205 + * See proto/cws/dumpsv1/activity_dump.proto;l=269 * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearImageTags() { @@ -28820,7 +36293,7 @@ private void ensureImageTagsIsMutable() { /** * repeated string image_tags = 2 [deprecated = true]; * @deprecated datadog.cws.dumpsv1.IMDSNode.image_tags is deprecated. - * See proto/cws/dumpsv1/activity_dump.proto;l=205 + * See proto/cws/dumpsv1/activity_dump.proto;l=269 * @param value The bytes of the imageTags to add. * @return This builder for chaining. */ @@ -38715,7 +46188,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=304 + * See proto/cws/dumpsv1/activity_dump.proto;l=368 * @return A list containing the imageTags. */ @java.lang.Deprecated java.util.List @@ -38723,14 +46196,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=304 + * See proto/cws/dumpsv1/activity_dump.proto;l=368 * @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=304 + * See proto/cws/dumpsv1/activity_dump.proto;l=368 * @param index The index of the element to return. * @return The imageTags at the given index. */ @@ -38738,7 +46211,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=304 + * See proto/cws/dumpsv1/activity_dump.proto;l=368 * @param index The index of the value to return. * @return The bytes of the imageTags at the given index. */ @@ -38874,7 +46347,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=304 + * See proto/cws/dumpsv1/activity_dump.proto;l=368 * @return A list containing the imageTags. */ @java.lang.Deprecated public com.google.protobuf.ProtocolStringList @@ -38884,7 +46357,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=304 + * See proto/cws/dumpsv1/activity_dump.proto;l=368 * @return The count of imageTags. */ @java.lang.Deprecated public int getImageTagsCount() { @@ -38893,7 +46366,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=304 + * See proto/cws/dumpsv1/activity_dump.proto;l=368 * @param index The index of the element to return. * @return The imageTags at the given index. */ @@ -38903,7 +46376,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=304 + * See proto/cws/dumpsv1/activity_dump.proto;l=368 * @param index The index of the value to return. * @return The bytes of the imageTags at the given index. */ @@ -39767,7 +47240,7 @@ private void ensureImageTagsIsMutable() { /** * 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 + * See proto/cws/dumpsv1/activity_dump.proto;l=368 * @return A list containing the imageTags. */ @java.lang.Deprecated public com.google.protobuf.ProtocolStringList @@ -39777,7 +47250,7 @@ private void ensureImageTagsIsMutable() { /** * 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 + * See proto/cws/dumpsv1/activity_dump.proto;l=368 * @return The count of imageTags. */ @java.lang.Deprecated public int getImageTagsCount() { @@ -39786,7 +47259,7 @@ private void ensureImageTagsIsMutable() { /** * 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 + * See proto/cws/dumpsv1/activity_dump.proto;l=368 * @param index The index of the element to return. * @return The imageTags at the given index. */ @@ -39796,7 +47269,7 @@ private void ensureImageTagsIsMutable() { /** * 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 + * See proto/cws/dumpsv1/activity_dump.proto;l=368 * @param index The index of the value to return. * @return The bytes of the imageTags at the given index. */ @@ -39807,7 +47280,7 @@ private void ensureImageTagsIsMutable() { /** * 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 + * See proto/cws/dumpsv1/activity_dump.proto;l=368 * @param index The index to set the value at. * @param value The imageTags to set. * @return This builder for chaining. @@ -39823,7 +47296,7 @@ private void ensureImageTagsIsMutable() { /** * 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 + * See proto/cws/dumpsv1/activity_dump.proto;l=368 * @param value The imageTags to add. * @return This builder for chaining. */ @@ -39838,7 +47311,7 @@ private void ensureImageTagsIsMutable() { /** * 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 + * See proto/cws/dumpsv1/activity_dump.proto;l=368 * @param values The imageTags to add. * @return This builder for chaining. */ @@ -39853,7 +47326,7 @@ private void ensureImageTagsIsMutable() { /** * 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 + * See proto/cws/dumpsv1/activity_dump.proto;l=368 * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearImageTags() { @@ -39865,7 +47338,7 @@ private void ensureImageTagsIsMutable() { /** * 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 + * See proto/cws/dumpsv1/activity_dump.proto;l=368 * @param value The bytes of the imageTags to add. * @return This builder for chaining. */ @@ -42928,7 +50401,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=333 + * See proto/cws/dumpsv1/activity_dump.proto;l=397 * @return A list containing the imageTags. */ @java.lang.Deprecated java.util.List @@ -42936,14 +50409,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=333 + * See proto/cws/dumpsv1/activity_dump.proto;l=397 * @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=333 + * See proto/cws/dumpsv1/activity_dump.proto;l=397 * @param index The index of the element to return. * @return The imageTags at the given index. */ @@ -42951,7 +50424,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=333 + * See proto/cws/dumpsv1/activity_dump.proto;l=397 * @param index The index of the value to return. * @return The bytes of the imageTags at the given index. */ @@ -43092,7 +50565,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=333 + * See proto/cws/dumpsv1/activity_dump.proto;l=397 * @return A list containing the imageTags. */ @java.lang.Deprecated public com.google.protobuf.ProtocolStringList @@ -43102,7 +50575,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=333 + * See proto/cws/dumpsv1/activity_dump.proto;l=397 * @return The count of imageTags. */ @java.lang.Deprecated public int getImageTagsCount() { @@ -43111,7 +50584,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=333 + * See proto/cws/dumpsv1/activity_dump.proto;l=397 * @param index The index of the element to return. * @return The imageTags at the given index. */ @@ -43121,7 +50594,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=333 + * See proto/cws/dumpsv1/activity_dump.proto;l=397 * @param index The index of the value to return. * @return The bytes of the imageTags at the given index. */ @@ -43862,7 +51335,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=333 + * See proto/cws/dumpsv1/activity_dump.proto;l=397 * @return A list containing the imageTags. */ @java.lang.Deprecated public com.google.protobuf.ProtocolStringList @@ -43872,7 +51345,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=333 + * See proto/cws/dumpsv1/activity_dump.proto;l=397 * @return The count of imageTags. */ @java.lang.Deprecated public int getImageTagsCount() { @@ -43881,7 +51354,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=333 + * See proto/cws/dumpsv1/activity_dump.proto;l=397 * @param index The index of the element to return. * @return The imageTags at the given index. */ @@ -43891,7 +51364,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=333 + * See proto/cws/dumpsv1/activity_dump.proto;l=397 * @param index The index of the value to return. * @return The bytes of the imageTags at the given index. */ @@ -43902,7 +51375,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=333 + * See proto/cws/dumpsv1/activity_dump.proto;l=397 * @param index The index to set the value at. * @param value The imageTags to set. * @return This builder for chaining. @@ -43918,7 +51391,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=333 + * See proto/cws/dumpsv1/activity_dump.proto;l=397 * @param value The imageTags to add. * @return This builder for chaining. */ @@ -43933,7 +51406,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=333 + * See proto/cws/dumpsv1/activity_dump.proto;l=397 * @param values The imageTags to add. * @return This builder for chaining. */ @@ -43948,7 +51421,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=333 + * See proto/cws/dumpsv1/activity_dump.proto;l=397 * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearImageTags() { @@ -43960,7 +51433,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=333 + * See proto/cws/dumpsv1/activity_dump.proto;l=397 * @param value The bytes of the imageTags to add. * @return This builder for chaining. */ @@ -47783,6 +55256,41 @@ public com.dd.cws.adv1.pb.SecDumpProto.event_type_state getDefaultInstanceForTyp private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_datadog_cws_dumpsv1_Metadata_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_datadog_cws_dumpsv1_SeccompProfile_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_datadog_cws_dumpsv1_SeccompProfile_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_datadog_cws_dumpsv1_SeccompFilter_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_datadog_cws_dumpsv1_SeccompFilter_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_datadog_cws_dumpsv1_SeccompFilter_SyscallsEntry_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_datadog_cws_dumpsv1_SeccompFilter_SyscallsEntry_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_datadog_cws_dumpsv1_SyscallRule_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_datadog_cws_dumpsv1_SyscallRule_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_datadog_cws_dumpsv1_ArgCondition_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_datadog_cws_dumpsv1_ArgCondition_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_datadog_cws_dumpsv1_SecurityContext_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_datadog_cws_dumpsv1_SecurityContext_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_datadog_cws_dumpsv1_SecurityContextEntry_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_datadog_cws_dumpsv1_SecurityContextEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_datadog_cws_dumpsv1_ProfileSelector_descriptor; private static final @@ -47963,193 +55471,225 @@ public com.dd.cws.adv1.pb.SecDumpProto.event_type_state getDefaultInstanceForTyp static { java.lang.String[] descriptorData = { "\n%proto/cws/dumpsv1/activity_dump.proto\022" + - "\023datadog.cws.dumpsv1\"\337\001\n\007SecDump\022\014\n\004host" + + "\023datadog.cws.dumpsv1\"\245\002\n\007SecDump\022\014\n\004host" + "\030\001 \001(\t\022\017\n\007service\030\002 \001(\t\022\016\n\006source\030\003 \001(\t\022" + "/\n\010metadata\030\004 \001(\0132\035.datadog.cws.dumpsv1." + "Metadata\022\014\n\004tags\030\005 \003(\t\0226\n\004tree\030\006 \003(\0132(.d" + "atadog.cws.dumpsv1.ProcessActivityNode\022." + "\n\006mounts\030\007 \003(\0132\036.datadog.cws.dumpsv1.Mou" + - "ntNode\"\315\002\n\010Metadata\022\025\n\ragent_version\030\001 \001" + - "(\t\022\024\n\014agent_commit\030\002 \001(\t\022\026\n\016kernel_versi" + - "on\030\003 \001(\t\022\032\n\022linux_distribution\030\004 \001(\t\022\014\n\004" + - "arch\030\r \001(\t\022\014\n\004name\030\005 \001(\t\022\030\n\020protobuf_ver" + - "sion\030\006 \001(\t\022\032\n\022differentiate_args\030\007 \001(\010\022\014" + - "\n\004comm\030\010 \001(\t\022\024\n\014container_id\030\t \001(\t\022\r\n\005st" + - "art\030\n \001(\004\022\013\n\003end\030\013 \001(\004\022\014\n\004size\030\014 \001(\004\022\025\n\r" + - "serialization\030\016 \001(\t\022\021\n\tcgroup_id\030\017 \001(\t\022\026" + - "\n\016cgroup_manager\030\020 \001(\t\"8\n\017ProfileSelecto" + - "r\022\022\n\nimage_name\030\001 \001(\t\022\021\n\timage_tag\030\002 \001(\t" + - "\"\210\002\n\016ProfileContext\022\022\n\nfirst_seen\030\001 \001(\004\022" + - "\021\n\tlast_seen\030\002 \001(\004\022Q\n\020event_type_state\030\003" + - " \003(\01327.datadog.cws.dumpsv1.ProfileContex" + - "t.EventTypeStateEntry\022\020\n\010syscalls\030\004 \003(\r\022" + - "\014\n\004tags\030\005 \003(\t\032\\\n\023EventTypeStateEntry\022\013\n\003" + - "key\030\001 \001(\r\0224\n\005value\030\002 \001(\0132%.datadog.cws.d" + - "umpsv1.event_type_state:\0028\001\"6\n\rImageTagT" + - "imes\022\022\n\nfirst_seen\030\001 \001(\004\022\021\n\tlast_seen\030\002 " + - "\001(\004\"\222\001\n\010NodeBase\0225\n\004seen\030\001 \003(\0132\'.datadog" + - ".cws.dumpsv1.NodeBase.SeenEntry\032O\n\tSeenE" + - "ntry\022\013\n\003key\030\001 \001(\t\0221\n\005value\030\002 \001(\0132\".datad" + - "og.cws.dumpsv1.ImageTagTimes:\0028\001\"\367\003\n\017Sec" + - "urityProfile\022\022\n\006status\030\001 \001(\rB\002\030\001\022\023\n\007vers" + - "ion\030\002 \001(\tB\002\030\001\022/\n\010metadata\030\003 \001(\0132\035.datado" + - "g.cws.dumpsv1.Metadata\022\020\n\004tags\030\004 \003(\tB\002\030\001" + - "\022\024\n\010syscalls\030\005 \003(\rB\002\030\001\0226\n\004tree\030\006 \003(\0132(.d" + - "atadog.cws.dumpsv1.ProcessActivityNode\022S" + - "\n\020profile_contexts\030\007 \003(\01329.datadog.cws.d" + - "umpsv1.SecurityProfile.ProfileContextsEn" + - "try\0226\n\010selector\030\010 \001(\0132$.datadog.cws.dump" + - "sv1.ProfileSelector\022\020\n\010disabled\030\t \001(\010\022.\n" + - "\006mounts\030\n \003(\0132\036.datadog.cws.dumpsv1.Moun" + - "tNode\032[\n\024ProfileContextsEntry\022\013\n\003key\030\001 \001" + - "(\t\0222\n\005value\030\002 \001(\0132#.datadog.cws.dumpsv1." + - "ProfileContext:\0028\001\"\247\001\n\tMountNode\0220\n\tnode" + - "_base\030\001 \001(\0132\035.datadog.cws.dumpsv1.NodeBa" + - "se\022\023\n\013mount_point\030\002 \001(\t\022\022\n\nmount_root\030\003 " + - "\001(\t\022\022\n\nfilesystem\030\004 \001(\t\022\023\n\013mount_flags\030\005" + - " \001(\r\022\026\n\016base_namespace\030\006 \001(\010\"\347\005\n\023Process" + - "ActivityNode\0221\n\007process\030\001 \001(\0132 .datadog." + - "cws.dumpsv1.ProcessInfo\022<\n\017generation_ty" + - "pe\030\010 \001(\0162#.datadog.cws.dumpsv1.Generatio" + - "nType\0227\n\rmatched_rules\030\t \003(\0132 .datadog.c" + - "ws.dumpsv1.MatchedRule\022:\n\010children\030\003 \003(\013" + - "2(.datadog.cws.dumpsv1.ProcessActivityNo" + - "de\0224\n\005files\030\004 \003(\0132%.datadog.cws.dumpsv1." + - "FileActivityNode\022/\n\tdns_names\030\005 \003(\0132\034.da" + - "tadog.cws.dumpsv1.DNSNode\0220\n\007sockets\030\006 \003" + - "(\0132\037.datadog.cws.dumpsv1.SocketNode\022\024\n\010s" + - "yscalls\030\007 \003(\rB\002\030\001\022\026\n\nimage_tags\030\n \003(\tB\002\030" + - "\001\0220\n\tnode_base\030\016 \001(\0132\035.datadog.cws.dumps" + - "v1.NodeBase\0222\n\013imds_events\030\013 \003(\0132\035.datad" + - "og.cws.dumpsv1.IMDSNode\0227\n\rsyscall_nodes" + - "\030\014 \003(\0132 .datadog.cws.dumpsv1.SyscallNode" + - "\022?\n\017network_devices\030\r \003(\0132&.datadog.cws." + - "dumpsv1.NetworkDeviceNode\022=\n\020capability_" + - "nodes\030\017 \003(\0132#.datadog.cws.dumpsv1.Capabi" + - "lityNodeJ\004\010\002\020\003\"\331\003\n\013ProcessInfo\022\013\n\003pid\030\001 " + - "\001(\r\022\013\n\003tid\030\002 \001(\r\022\014\n\004ppid\030\003 \001(\r\022\022\n\006cookie" + - "\030\004 \001(\rB\002\030\001\022\021\n\tis_thread\030\005 \001(\010\022+\n\004file\030\006 " + - "\001(\0132\035.datadog.cws.dumpsv1.FileInfo\022\024\n\014co" + - "ntainer_id\030\007 \001(\t\022\023\n\007span_id\030\010 \001(\004B\002\030\001\022\024\n" + - "\010trace_id\030\t \001(\004B\002\030\001\022\013\n\003tty\030\n \001(\t\022\014\n\004comm" + - "\030\013 \001(\t\022\021\n\tfork_time\030\014 \001(\004\022\021\n\texit_time\030\r" + - " \001(\004\022\021\n\texec_time\030\016 \001(\004\0225\n\013credentials\030\017" + - " \001(\0132 .datadog.cws.dumpsv1.Credentials\022\014" + - "\n\004args\030\020 \003(\t\022\r\n\005argv0\030\021 \001(\t\022\026\n\016args_trun" + - "cated\030\022 \001(\010\022\014\n\004envs\030\023 \003(\t\022\026\n\016envs_trunca" + - "ted\030\024 \001(\010\022\025\n\ris_exec_child\030\025 \001(\010\022\020\n\010cook" + - "ie64\030\026 \001(\004\"\242\003\n\020FileActivityNode\0227\n\rmatch" + - "ed_rules\030\t \003(\0132 .datadog.cws.dumpsv1.Mat" + - "chedRule\022\026\n\nimage_tags\030\n \003(\tB\002\030\001\0220\n\tnode" + - "_base\030\013 \001(\0132\035.datadog.cws.dumpsv1.NodeBa" + - "se\022\014\n\004name\030\001 \001(\t\022\022\n\nis_pattern\030\007 \001(\010\022+\n\004" + - "file\030\002 \001(\0132\035.datadog.cws.dumpsv1.FileInf" + + "ntNode\022D\n\021security_contexts\030\010 \003(\0132).data" + + "dog.cws.dumpsv1.SecurityContextEntry\"\315\002\n" + + "\010Metadata\022\025\n\ragent_version\030\001 \001(\t\022\024\n\014agen" + + "t_commit\030\002 \001(\t\022\026\n\016kernel_version\030\003 \001(\t\022\032" + + "\n\022linux_distribution\030\004 \001(\t\022\014\n\004arch\030\r \001(\t" + + "\022\014\n\004name\030\005 \001(\t\022\030\n\020protobuf_version\030\006 \001(\t" + + "\022\032\n\022differentiate_args\030\007 \001(\010\022\014\n\004comm\030\010 \001" + + "(\t\022\024\n\014container_id\030\t \001(\t\022\r\n\005start\030\n \001(\004\022" + + "\013\n\003end\030\013 \001(\004\022\014\n\004size\030\014 \001(\004\022\025\n\rserializat" + + "ion\030\016 \001(\t\022\021\n\tcgroup_id\030\017 \001(\t\022\026\n\016cgroup_m" + + "anager\030\020 \001(\t\"\237\002\n\016SeccompProfile\0226\n\004type\030" + + "\001 \001(\0162(.datadog.cws.dumpsv1.SeccompProfi" + + "le.Type\022\036\n\021localhost_profile\030\002 \001(\tH\000\210\001\001\022" + + "7\n\006filter\030\003 \001(\0132\".datadog.cws.dumpsv1.Se" + + "ccompFilterH\001\210\001\001\"[\n\004Type\022\020\n\014TYPE_UNKNOWN" + + "\020\000\022\023\n\017TYPE_UNCONFINED\020\001\022\030\n\024TYPE_RUNTIME_" + + "DEFAULT\020\002\022\022\n\016TYPE_LOCALHOST\020\003B\024\n\022_localh" + + "ost_profileB\t\n\007_filter\"\276\001\n\rSeccompFilter" + + "\022\026\n\016default_action\030\001 \001(\t\022B\n\010syscalls\030\002 \003" + + "(\01320.datadog.cws.dumpsv1.SeccompFilter.S" + + "yscallsEntry\032Q\n\rSyscallsEntry\022\013\n\003key\030\001 \001" + + "(\t\022/\n\005value\030\002 \001(\0132 .datadog.cws.dumpsv1." + + "SyscallRule:\0028\001\"T\n\013SyscallRule\022\016\n\006action" + + "\030\001 \001(\t\0225\n\nconditions\030\002 \003(\0132!.datadog.cws" + + ".dumpsv1.ArgCondition\"L\n\014ArgCondition\022\021\n" + + "\targ_index\030\001 \001(\005\022\n\n\002op\030\002 \001(\t\022\r\n\005value\030\003 " + + "\001(\004\022\016\n\006action\030\004 \001(\t\"\320\002\n\017SecurityContext\022" + + "\022\n\nprivileged\030\001 \001(\010\0224\n\007seccomp\030\002 \001(\0132#.d" + + "atadog.cws.dumpsv1.SeccompProfile\022\030\n\020cap" + + "abilities_add\030\003 \003(\t\022\031\n\021capabilities_drop" + + "\030\004 \003(\t\022\034\n\017run_as_non_root\030\005 \001(\010H\000\210\001\001\022\'\n\032" + + "allow_privilege_escalation\030\006 \001(\010H\001\210\001\001\022&\n" + + "\031read_only_root_filesystem\030\007 \001(\010H\002\210\001\001B\022\n" + + "\020_run_as_non_rootB\035\n\033_allow_privilege_es" + + "calationB\034\n\032_read_only_root_filesystem\"\251" + + "\001\n\024SecurityContextEntry\022\021\n\tnamespace\030\001 \001" + + "(\t\022\022\n\nowner_kind\030\002 \001(\t\022\022\n\nowner_name\030\003 \001" + + "(\t\022\026\n\016container_name\030\004 \001(\t\022>\n\020security_c" + + "ontext\030\005 \001(\0132$.datadog.cws.dumpsv1.Secur" + + "ityContext\"8\n\017ProfileSelector\022\022\n\nimage_n" + + "ame\030\001 \001(\t\022\021\n\timage_tag\030\002 \001(\t\"\210\002\n\016Profile" + + "Context\022\022\n\nfirst_seen\030\001 \001(\004\022\021\n\tlast_seen" + + "\030\002 \001(\004\022Q\n\020event_type_state\030\003 \003(\01327.datad" + + "og.cws.dumpsv1.ProfileContext.EventTypeS" + + "tateEntry\022\020\n\010syscalls\030\004 \003(\r\022\014\n\004tags\030\005 \003(" + + "\t\032\\\n\023EventTypeStateEntry\022\013\n\003key\030\001 \001(\r\0224\n" + + "\005value\030\002 \001(\0132%.datadog.cws.dumpsv1.event" + + "_type_state:\0028\001\"6\n\rImageTagTimes\022\022\n\nfirs" + + "t_seen\030\001 \001(\004\022\021\n\tlast_seen\030\002 \001(\004\"\222\001\n\010Node" + + "Base\0225\n\004seen\030\001 \003(\0132\'.datadog.cws.dumpsv1" + + ".NodeBase.SeenEntry\032O\n\tSeenEntry\022\013\n\003key\030" + + "\001 \001(\t\0221\n\005value\030\002 \001(\0132\".datadog.cws.dumps" + + "v1.ImageTagTimes:\0028\001\"\275\004\n\017SecurityProfile" + + "\022\022\n\006status\030\001 \001(\rB\002\030\001\022\023\n\007version\030\002 \001(\tB\002\030" + + "\001\022/\n\010metadata\030\003 \001(\0132\035.datadog.cws.dumpsv" + + "1.Metadata\022\020\n\004tags\030\004 \003(\tB\002\030\001\022\024\n\010syscalls" + + "\030\005 \003(\rB\002\030\001\0226\n\004tree\030\006 \003(\0132(.datadog.cws.d" + + "umpsv1.ProcessActivityNode\022S\n\020profile_co" + + "ntexts\030\007 \003(\01329.datadog.cws.dumpsv1.Secur" + + "ityProfile.ProfileContextsEntry\0226\n\010selec" + + "tor\030\010 \001(\0132$.datadog.cws.dumpsv1.ProfileS" + + "elector\022\020\n\010disabled\030\t \001(\010\022.\n\006mounts\030\n \003(" + + "\0132\036.datadog.cws.dumpsv1.MountNode\022D\n\021sec" + + "urity_contexts\030\013 \003(\0132).datadog.cws.dumps" + + "v1.SecurityContextEntry\032[\n\024ProfileContex" + + "tsEntry\022\013\n\003key\030\001 \001(\t\0222\n\005value\030\002 \001(\0132#.da" + + "tadog.cws.dumpsv1.ProfileContext:\0028\001\"\247\001\n" + + "\tMountNode\0220\n\tnode_base\030\001 \001(\0132\035.datadog." + + "cws.dumpsv1.NodeBase\022\023\n\013mount_point\030\002 \001(" + + "\t\022\022\n\nmount_root\030\003 \001(\t\022\022\n\nfilesystem\030\004 \001(" + + "\t\022\023\n\013mount_flags\030\005 \001(\r\022\026\n\016base_namespace" + + "\030\006 \001(\010\"\347\005\n\023ProcessActivityNode\0221\n\007proces" + + "s\030\001 \001(\0132 .datadog.cws.dumpsv1.ProcessInf" + "o\022<\n\017generation_type\030\010 \001(\0162#.datadog.cws" + - ".dumpsv1.GenerationType\022\022\n\nfirst_seen\030\004 " + - "\001(\004\022+\n\004open\030\005 \001(\0132\035.datadog.cws.dumpsv1." + - "OpenNode\0227\n\010children\030\006 \003(\0132%.datadog.cws" + - ".dumpsv1.FileActivityNodeJ\004\010\003\020\004\"7\n\010OpenN" + - "ode\022\016\n\006retval\030\001 \001(\022\022\r\n\005flags\030\002 \001(\r\022\014\n\004mo" + - "de\030\003 \001(\r\"\274\001\n\007DNSNode\0227\n\rmatched_rules\030\002 " + - "\003(\0132 .datadog.cws.dumpsv1.MatchedRule\022\026\n" + - "\nimage_tags\030\003 \003(\tB\002\030\001\0220\n\tnode_base\030\004 \001(\013" + - "2\035.datadog.cws.dumpsv1.NodeBase\022.\n\010reque" + - "sts\030\001 \003(\0132\034.datadog.cws.dumpsv1.DNSInfo\"" + - "\211\001\n\007DNSInfo\022\014\n\004name\030\001 \001(\t\022\014\n\004type\030\002 \001(\r\022" + - "\r\n\005class\030\003 \001(\r\022\014\n\004size\030\004 \001(\r\022\r\n\005count\030\005 " + - "\001(\r\0226\n\010response\030\006 \001(\0132$.datadog.cws.dump" + - "sv1.DNSResponseInfo\".\n\017DNSResponseInfo\022\013" + - "\n\003ips\030\001 \003(\t\022\016\n\006cnames\030\002 \003(\t\"h\n\013SyscallNo" + - "de\022\026\n\nimage_tags\030\001 \003(\tB\002\030\001\0220\n\tnode_base\030" + - "\003 \001(\0132\035.datadog.cws.dumpsv1.NodeBase\022\017\n\007" + - "syscall\030\002 \001(\005\"j\n\016CapabilityNode\0220\n\tnode_" + - "base\030\001 \001(\0132\035.datadog.cws.dumpsv1.NodeBas" + - "e\022\022\n\ncapability\030\002 \001(\004\022\022\n\nis_capable\030\003 \001(" + - "\010\"\274\001\n\010IMDSNode\0227\n\rmatched_rules\030\001 \003(\0132 ." + - "datadog.cws.dumpsv1.MatchedRule\022\026\n\nimage" + - "_tags\030\002 \003(\tB\002\030\001\0220\n\tnode_base\030\004 \001(\0132\035.dat" + - "adog.cws.dumpsv1.NodeBase\022-\n\005event\030\003 \001(\013" + - "2\036.datadog.cws.dumpsv1.IMDSEvent\"\240\001\n\tIMD" + - "SEvent\022\014\n\004type\030\001 \001(\t\022\026\n\016cloud_provider\030\002" + - " \001(\t\022\013\n\003url\030\003 \001(\t\022\014\n\004host\030\004 \001(\t\022\022\n\nuser_" + - "agent\030\005 \001(\t\022\016\n\006server\030\006 \001(\t\022.\n\003aws\030\007 \001(\013" + - "2!.datadog.cws.dumpsv1.AWSIMDSEvent\"m\n\014A" + - "WSIMDSEvent\022\022\n\nis_imds_v2\030\001 \001(\010\022I\n\024secur" + - "ity_credentials\030\002 \001(\0132+.datadog.cws.dump" + - "sv1.AWSSecurityCredentials\"y\n\026AWSSecurit" + - "yCredentials\022\014\n\004code\030\001 \001(\t\022\014\n\004type\030\002 \001(\t" + - "\022\025\n\raccess_key_id\030\003 \001(\t\022\024\n\014last_updated\030" + - "\004 \001(\t\022\026\n\016expiration_raw\030\005 \001(\t\"\272\004\n\010FileIn" + - "fo\022\013\n\003uid\030\001 \001(\r\022\014\n\004user\030\002 \001(\t\022\013\n\003gid\030\003 \001" + - "(\r\022\r\n\005group\030\004 \001(\t\022\014\n\004mode\030\005 \001(\r\022\r\n\005ctime" + - "\030\006 \001(\004\022\r\n\005mtime\030\007 \001(\004\022\020\n\010mount_id\030\010 \001(\r\022" + - "\r\n\005inode\030\t \001(\004\022\026\n\016in_upper_layer\030\n \001(\010\022\014" + - "\n\004path\030\013 \001(\t\022\020\n\010basename\030\014 \001(\t\022\022\n\nfilesy" + - "stem\030\r \001(\t\022\024\n\014package_name\030\016 \001(\t\022\027\n\017pack" + - "age_version\030\017 \001(\t\022\032\n\rpackage_epoch\030\023 \001(\r" + - "H\000\210\001\001\022\034\n\017package_release\030\024 \001(\tH\001\210\001\001\022\033\n\023p" + - "ackage_src_version\030\020 \001(\t\022\036\n\021package_src_" + - "epoch\030\025 \001(\rH\002\210\001\001\022 \n\023package_src_release\030" + - "\026 \001(\tH\003\210\001\001\022\016\n\006hashes\030\021 \003(\t\0222\n\nhash_state" + - "\030\022 \001(\0162\036.datadog.cws.dumpsv1.HashStateB\020" + - "\n\016_package_epochB\022\n\020_package_releaseB\024\n\022" + - "_package_src_epochB\026\n\024_package_src_relea" + - "se\"\224\002\n\013Credentials\022\013\n\003uid\030\001 \001(\r\022\013\n\003gid\030\002" + - " \001(\r\022\014\n\004user\030\003 \001(\t\022\r\n\005group\030\004 \001(\t\022\025\n\reff" + - "ective_uid\030\005 \001(\r\022\025\n\reffective_gid\030\006 \001(\r\022" + - "\026\n\016effective_user\030\007 \001(\t\022\027\n\017effective_gro" + - "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\"|\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" + ".dumpsv1.GenerationType\0227\n\rmatched_rules" + + "\030\t \003(\0132 .datadog.cws.dumpsv1.MatchedRule" + + "\022:\n\010children\030\003 \003(\0132(.datadog.cws.dumpsv1" + + ".ProcessActivityNode\0224\n\005files\030\004 \003(\0132%.da" + + "tadog.cws.dumpsv1.FileActivityNode\022/\n\tdn" + + "s_names\030\005 \003(\0132\034.datadog.cws.dumpsv1.DNSN" + + "ode\0220\n\007sockets\030\006 \003(\0132\037.datadog.cws.dumps" + + "v1.SocketNode\022\024\n\010syscalls\030\007 \003(\rB\002\030\001\022\026\n\ni" + + "mage_tags\030\n \003(\tB\002\030\001\0220\n\tnode_base\030\016 \001(\0132\035" + + ".datadog.cws.dumpsv1.NodeBase\0222\n\013imds_ev" + + "ents\030\013 \003(\0132\035.datadog.cws.dumpsv1.IMDSNod" + + "e\0227\n\rsyscall_nodes\030\014 \003(\0132 .datadog.cws.d" + + "umpsv1.SyscallNode\022?\n\017network_devices\030\r " + + "\003(\0132&.datadog.cws.dumpsv1.NetworkDeviceN" + + "ode\022=\n\020capability_nodes\030\017 \003(\0132#.datadog." + + "cws.dumpsv1.CapabilityNodeJ\004\010\002\020\003\"\331\003\n\013Pro" + + "cessInfo\022\013\n\003pid\030\001 \001(\r\022\013\n\003tid\030\002 \001(\r\022\014\n\004pp" + + "id\030\003 \001(\r\022\022\n\006cookie\030\004 \001(\rB\002\030\001\022\021\n\tis_threa" + + "d\030\005 \001(\010\022+\n\004file\030\006 \001(\0132\035.datadog.cws.dump" + + "sv1.FileInfo\022\024\n\014container_id\030\007 \001(\t\022\023\n\007sp" + + "an_id\030\010 \001(\004B\002\030\001\022\024\n\010trace_id\030\t \001(\004B\002\030\001\022\013\n" + + "\003tty\030\n \001(\t\022\014\n\004comm\030\013 \001(\t\022\021\n\tfork_time\030\014 " + + "\001(\004\022\021\n\texit_time\030\r \001(\004\022\021\n\texec_time\030\016 \001(" + + "\004\0225\n\013credentials\030\017 \001(\0132 .datadog.cws.dum" + + "psv1.Credentials\022\014\n\004args\030\020 \003(\t\022\r\n\005argv0\030" + + "\021 \001(\t\022\026\n\016args_truncated\030\022 \001(\010\022\014\n\004envs\030\023 " + + "\003(\t\022\026\n\016envs_truncated\030\024 \001(\010\022\025\n\ris_exec_c" + + "hild\030\025 \001(\010\022\020\n\010cookie64\030\026 \001(\004\"\242\003\n\020FileAct" + + "ivityNode\0227\n\rmatched_rules\030\t \003(\0132 .datad" + + "og.cws.dumpsv1.MatchedRule\022\026\n\nimage_tags" + + "\030\n \003(\tB\002\030\001\0220\n\tnode_base\030\013 \001(\0132\035.datadog." + + "cws.dumpsv1.NodeBase\022\014\n\004name\030\001 \001(\t\022\022\n\nis" + + "_pattern\030\007 \001(\010\022+\n\004file\030\002 \001(\0132\035.datadog.c" + + "ws.dumpsv1.FileInfo\022<\n\017generation_type\030\010" + + " \001(\0162#.datadog.cws.dumpsv1.GenerationTyp" + + "e\022\022\n\nfirst_seen\030\004 \001(\004\022+\n\004open\030\005 \001(\0132\035.da" + + "tadog.cws.dumpsv1.OpenNode\0227\n\010children\030\006" + + " \003(\0132%.datadog.cws.dumpsv1.FileActivityN" + + "odeJ\004\010\003\020\004\"7\n\010OpenNode\022\016\n\006retval\030\001 \001(\022\022\r\n" + + "\005flags\030\002 \001(\r\022\014\n\004mode\030\003 \001(\r\"\274\001\n\007DNSNode\0227" + + "\n\rmatched_rules\030\002 \003(\0132 .datadog.cws.dump" + + "sv1.MatchedRule\022\026\n\nimage_tags\030\003 \003(\tB\002\030\001\022" + + "0\n\tnode_base\030\004 \001(\0132\035.datadog.cws.dumpsv1" + + ".NodeBase\022.\n\010requests\030\001 \003(\0132\034.datadog.cw" + + "s.dumpsv1.DNSInfo\"\211\001\n\007DNSInfo\022\014\n\004name\030\001 " + + "\001(\t\022\014\n\004type\030\002 \001(\r\022\r\n\005class\030\003 \001(\r\022\014\n\004size" + + "\030\004 \001(\r\022\r\n\005count\030\005 \001(\r\0226\n\010response\030\006 \001(\0132" + + "$.datadog.cws.dumpsv1.DNSResponseInfo\".\n" + + "\017DNSResponseInfo\022\013\n\003ips\030\001 \003(\t\022\016\n\006cnames\030" + + "\002 \003(\t\"h\n\013SyscallNode\022\026\n\nimage_tags\030\001 \003(\t" + + "B\002\030\001\0220\n\tnode_base\030\003 \001(\0132\035.datadog.cws.du" + + "mpsv1.NodeBase\022\017\n\007syscall\030\002 \001(\005\"j\n\016Capab" + + "ilityNode\0220\n\tnode_base\030\001 \001(\0132\035.datadog.c" + + "ws.dumpsv1.NodeBase\022\022\n\ncapability\030\002 \001(\004\022" + + "\022\n\nis_capable\030\003 \001(\010\"\274\001\n\010IMDSNode\0227\n\rmatc" + + "hed_rules\030\001 \003(\0132 .datadog.cws.dumpsv1.Ma" + + "tchedRule\022\026\n\nimage_tags\030\002 \003(\tB\002\030\001\0220\n\tnod" + + "e_base\030\004 \001(\0132\035.datadog.cws.dumpsv1.NodeB" + + "ase\022-\n\005event\030\003 \001(\0132\036.datadog.cws.dumpsv1" + + ".IMDSEvent\"\240\001\n\tIMDSEvent\022\014\n\004type\030\001 \001(\t\022\026" + + "\n\016cloud_provider\030\002 \001(\t\022\013\n\003url\030\003 \001(\t\022\014\n\004h" + + "ost\030\004 \001(\t\022\022\n\nuser_agent\030\005 \001(\t\022\016\n\006server\030" + + "\006 \001(\t\022.\n\003aws\030\007 \001(\0132!.datadog.cws.dumpsv1" + + ".AWSIMDSEvent\"m\n\014AWSIMDSEvent\022\022\n\nis_imds" + + "_v2\030\001 \001(\010\022I\n\024security_credentials\030\002 \001(\0132" + + "+.datadog.cws.dumpsv1.AWSSecurityCredent" + + "ials\"y\n\026AWSSecurityCredentials\022\014\n\004code\030\001" + + " \001(\t\022\014\n\004type\030\002 \001(\t\022\025\n\raccess_key_id\030\003 \001(" + + "\t\022\024\n\014last_updated\030\004 \001(\t\022\026\n\016expiration_ra" + + "w\030\005 \001(\t\"\272\004\n\010FileInfo\022\013\n\003uid\030\001 \001(\r\022\014\n\004use" + + "r\030\002 \001(\t\022\013\n\003gid\030\003 \001(\r\022\r\n\005group\030\004 \001(\t\022\014\n\004m" + + "ode\030\005 \001(\r\022\r\n\005ctime\030\006 \001(\004\022\r\n\005mtime\030\007 \001(\004\022" + + "\020\n\010mount_id\030\010 \001(\r\022\r\n\005inode\030\t \001(\004\022\026\n\016in_u" + + "pper_layer\030\n \001(\010\022\014\n\004path\030\013 \001(\t\022\020\n\010basena" + + "me\030\014 \001(\t\022\022\n\nfilesystem\030\r \001(\t\022\024\n\014package_" + + "name\030\016 \001(\t\022\027\n\017package_version\030\017 \001(\t\022\032\n\rp" + + "ackage_epoch\030\023 \001(\rH\000\210\001\001\022\034\n\017package_relea" + + "se\030\024 \001(\tH\001\210\001\001\022\033\n\023package_src_version\030\020 \001" + + "(\t\022\036\n\021package_src_epoch\030\025 \001(\rH\002\210\001\001\022 \n\023pa" + + "ckage_src_release\030\026 \001(\tH\003\210\001\001\022\016\n\006hashes\030\021" + + " \003(\t\0222\n\nhash_state\030\022 \001(\0162\036.datadog.cws.d" + + "umpsv1.HashStateB\020\n\016_package_epochB\022\n\020_p" + + "ackage_releaseB\024\n\022_package_src_epochB\026\n\024" + + "_package_src_release\"\224\002\n\013Credentials\022\013\n\003" + + "uid\030\001 \001(\r\022\013\n\003gid\030\002 \001(\r\022\014\n\004user\030\003 \001(\t\022\r\n\005" + + "group\030\004 \001(\t\022\025\n\reffective_uid\030\005 \001(\r\022\025\n\ref" + + "fective_gid\030\006 \001(\r\022\026\n\016effective_user\030\007 \001(" + + "\t\022\027\n\017effective_group\030\010 \001(\t\022\016\n\006fs_uid\030\t \001" + + "(\r\022\016\n\006fs_gid\030\n \001(\r\022\017\n\007fs_user\030\013 \001(\t\022\020\n\010f" + + "s_group\030\014 \001(\t\022\025\n\rcap_effective\030\r \001(\004\022\025\n\r" + + "cap_permitted\030\016 \001(\004\"|\n\nSocketNode\022\016\n\006fam" + + "ily\030\001 \001(\t\022+\n\004bind\030\002 \003(\0132\035.datadog.cws.du" + + "mpsv1.BindNode\0221\n\007connect\030\003 \003(\0132 .datado" + + "g.cws.dumpsv1.ConnectNode\"\271\001\n\010BindNode\0227" + + "\n\rmatched_rules\030\003 \003(\0132 .datadog.cws.dump" + + "sv1.MatchedRule\022\026\n\nimage_tags\030\004 \003(\tB\002\030\001\022" + + "0\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\010p" + + "rotocol\030\005 \001(\r\"\244\001\n\013ConnectNode\0227\n\rmatched" + + "_rules\030\003 \003(\0132 .datadog.cws.dumpsv1.Match" + + "edRule\0220\n\tnode_base\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\021NetworkDeviceNo" + + "de\0227\n\rmatched_rules\030\001 \003(\0132 .datadog.cws." + + "dumpsv1.MatchedRule\022\r\n\005netns\030\002 \001(\r\022\017\n\007if" + + "index\030\003 \001(\r\022\016\n\006ifname\030\004 \001(\t\0221\n\nflow_node" + + "s\030\005 \003(\0132\035.datadog.cws.dumpsv1.FlowNode\"\322" + + "\002\n\010FlowNode\022\026\n\nimage_tags\030\001 \003(\tB\002\030\001\0220\n\tn" + + "ode_base\030\010 \001(\0132\035.datadog.cws.dumpsv1.Nod" + + "eBase\0222\n\006source\030\002 \001(\0132\".datadog.cws.dump" + + "sv1.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\007" + + "ingress\030\006 \001(\0132!.datadog.cws.dumpsv1.Netw" + + "orkStats\0221\n\006egress\030\007 \001(\0132!.datadog.cws.d" + + "umpsv1.NetworkStats\")\n\rIPPortContext\022\n\n\002" + + "ip\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\013policy_name\030\003 \001(\t\022\026\n\016p" + + "olicy_version\030\004 \001(\t\022A\n\trule_tags\030\005 \003(\0132." + + ".datadog.cws.dumpsv1.MatchedRule.RuleTag" + + "sEntry\032/\n\rRuleTagsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005" + + "value\030\002 \001(\t:\0028\001\"t\n\020event_type_state\022\031\n\021l" + + "ast_anomaly_nano\030\001 \001(\004\022E\n\023event_profile_" + + "state\030\002 \001(\0162(.datadog.cws.dumpsv1.event_" + + "profile_state*\271\001\n\tHashState\022\013\n\007NO_HASH\020\000" + + "\022\010\n\004DONE\020\001\022\022\n\016FILE_NOT_FOUND\020\002\022\035\n\031PATHNA" + + "ME_RESOLUTION_ERROR\020\003\022\020\n\014FILE_TOO_BIG\020\004\022" + + "\035\n\031EVENT_TYPE_NOT_CONFIGURED\020\005\022\031\n\025HASH_W" + + "AS_RATE_LIMITED\020\006\022\026\n\022UNKNOWN_HASH_ERROR\020" + + "\007*8\n\016GenerationType\022\013\n\007UNKNOWN\020\000\022\013\n\007RUNT" + + "IME\020\001\022\014\n\010SNAPSHOT\020\002*\220\001\n\023event_profile_st" + + "ate\022\016\n\nNO_PROFILE\020\000\022\027\n\023PROFILE_AT_MAX_SI" + + "ZE\020\001\022\024\n\020UNSTABLE_PROFILE\020\002\022\022\n\016STABLE_PRO" + + "FILE\020\003\022\021\n\rAUTO_LEARNING\020\004\022\023\n\017WORKLOAD_WA" + + "RMUP\020\005BU\n\022com.dd.cws.adv1.pbB\014SecDumpPro" + + "toP\000Z/github.com/DataDog/agent-payload/v" + + "5/cws/dumpsv1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, @@ -48160,21 +55700,63 @@ public com.dd.cws.adv1.pb.SecDumpProto.event_type_state getDefaultInstanceForTyp internal_static_datadog_cws_dumpsv1_SecDump_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_datadog_cws_dumpsv1_SecDump_descriptor, - new java.lang.String[] { "Host", "Service", "Source", "Metadata", "Tags", "Tree", "Mounts", }); + new java.lang.String[] { "Host", "Service", "Source", "Metadata", "Tags", "Tree", "Mounts", "SecurityContexts", }); internal_static_datadog_cws_dumpsv1_Metadata_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_datadog_cws_dumpsv1_Metadata_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_datadog_cws_dumpsv1_Metadata_descriptor, new java.lang.String[] { "AgentVersion", "AgentCommit", "KernelVersion", "LinuxDistribution", "Arch", "Name", "ProtobufVersion", "DifferentiateArgs", "Comm", "ContainerId", "Start", "End", "Size", "Serialization", "CgroupId", "CgroupManager", }); - internal_static_datadog_cws_dumpsv1_ProfileSelector_descriptor = + internal_static_datadog_cws_dumpsv1_SeccompProfile_descriptor = getDescriptor().getMessageTypes().get(2); + internal_static_datadog_cws_dumpsv1_SeccompProfile_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_datadog_cws_dumpsv1_SeccompProfile_descriptor, + new java.lang.String[] { "Type", "LocalhostProfile", "Filter", "LocalhostProfile", "Filter", }); + internal_static_datadog_cws_dumpsv1_SeccompFilter_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_datadog_cws_dumpsv1_SeccompFilter_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_datadog_cws_dumpsv1_SeccompFilter_descriptor, + new java.lang.String[] { "DefaultAction", "Syscalls", }); + internal_static_datadog_cws_dumpsv1_SeccompFilter_SyscallsEntry_descriptor = + internal_static_datadog_cws_dumpsv1_SeccompFilter_descriptor.getNestedTypes().get(0); + internal_static_datadog_cws_dumpsv1_SeccompFilter_SyscallsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_datadog_cws_dumpsv1_SeccompFilter_SyscallsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_datadog_cws_dumpsv1_SyscallRule_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_datadog_cws_dumpsv1_SyscallRule_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_datadog_cws_dumpsv1_SyscallRule_descriptor, + new java.lang.String[] { "Action", "Conditions", }); + internal_static_datadog_cws_dumpsv1_ArgCondition_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_datadog_cws_dumpsv1_ArgCondition_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_datadog_cws_dumpsv1_ArgCondition_descriptor, + new java.lang.String[] { "ArgIndex", "Op", "Value", "Action", }); + internal_static_datadog_cws_dumpsv1_SecurityContext_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_datadog_cws_dumpsv1_SecurityContext_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_datadog_cws_dumpsv1_SecurityContext_descriptor, + new java.lang.String[] { "Privileged", "Seccomp", "CapabilitiesAdd", "CapabilitiesDrop", "RunAsNonRoot", "AllowPrivilegeEscalation", "ReadOnlyRootFilesystem", "RunAsNonRoot", "AllowPrivilegeEscalation", "ReadOnlyRootFilesystem", }); + internal_static_datadog_cws_dumpsv1_SecurityContextEntry_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_datadog_cws_dumpsv1_SecurityContextEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_datadog_cws_dumpsv1_SecurityContextEntry_descriptor, + new java.lang.String[] { "Namespace", "OwnerKind", "OwnerName", "ContainerName", "SecurityContext", }); + internal_static_datadog_cws_dumpsv1_ProfileSelector_descriptor = + getDescriptor().getMessageTypes().get(8); internal_static_datadog_cws_dumpsv1_ProfileSelector_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_datadog_cws_dumpsv1_ProfileSelector_descriptor, new java.lang.String[] { "ImageName", "ImageTag", }); internal_static_datadog_cws_dumpsv1_ProfileContext_descriptor = - getDescriptor().getMessageTypes().get(3); + getDescriptor().getMessageTypes().get(9); internal_static_datadog_cws_dumpsv1_ProfileContext_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_datadog_cws_dumpsv1_ProfileContext_descriptor, @@ -48186,13 +55768,13 @@ public com.dd.cws.adv1.pb.SecDumpProto.event_type_state getDefaultInstanceForTyp internal_static_datadog_cws_dumpsv1_ProfileContext_EventTypeStateEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_datadog_cws_dumpsv1_ImageTagTimes_descriptor = - getDescriptor().getMessageTypes().get(4); + getDescriptor().getMessageTypes().get(10); internal_static_datadog_cws_dumpsv1_ImageTagTimes_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_datadog_cws_dumpsv1_ImageTagTimes_descriptor, new java.lang.String[] { "FirstSeen", "LastSeen", }); internal_static_datadog_cws_dumpsv1_NodeBase_descriptor = - getDescriptor().getMessageTypes().get(5); + getDescriptor().getMessageTypes().get(11); internal_static_datadog_cws_dumpsv1_NodeBase_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_datadog_cws_dumpsv1_NodeBase_descriptor, @@ -48204,11 +55786,11 @@ public com.dd.cws.adv1.pb.SecDumpProto.event_type_state getDefaultInstanceForTyp internal_static_datadog_cws_dumpsv1_NodeBase_SeenEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_datadog_cws_dumpsv1_SecurityProfile_descriptor = - getDescriptor().getMessageTypes().get(6); + getDescriptor().getMessageTypes().get(12); internal_static_datadog_cws_dumpsv1_SecurityProfile_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_datadog_cws_dumpsv1_SecurityProfile_descriptor, - new java.lang.String[] { "Status", "Version", "Metadata", "Tags", "Syscalls", "Tree", "ProfileContexts", "Selector", "Disabled", "Mounts", }); + new java.lang.String[] { "Status", "Version", "Metadata", "Tags", "Syscalls", "Tree", "ProfileContexts", "Selector", "Disabled", "Mounts", "SecurityContexts", }); internal_static_datadog_cws_dumpsv1_SecurityProfile_ProfileContextsEntry_descriptor = internal_static_datadog_cws_dumpsv1_SecurityProfile_descriptor.getNestedTypes().get(0); internal_static_datadog_cws_dumpsv1_SecurityProfile_ProfileContextsEntry_fieldAccessorTable = new @@ -48216,145 +55798,145 @@ public com.dd.cws.adv1.pb.SecDumpProto.event_type_state getDefaultInstanceForTyp internal_static_datadog_cws_dumpsv1_SecurityProfile_ProfileContextsEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_datadog_cws_dumpsv1_MountNode_descriptor = - getDescriptor().getMessageTypes().get(7); + getDescriptor().getMessageTypes().get(13); internal_static_datadog_cws_dumpsv1_MountNode_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_datadog_cws_dumpsv1_MountNode_descriptor, new java.lang.String[] { "NodeBase", "MountPoint", "MountRoot", "Filesystem", "MountFlags", "BaseNamespace", }); internal_static_datadog_cws_dumpsv1_ProcessActivityNode_descriptor = - getDescriptor().getMessageTypes().get(8); + getDescriptor().getMessageTypes().get(14); internal_static_datadog_cws_dumpsv1_ProcessActivityNode_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_datadog_cws_dumpsv1_ProcessActivityNode_descriptor, new java.lang.String[] { "Process", "GenerationType", "MatchedRules", "Children", "Files", "DnsNames", "Sockets", "Syscalls", "ImageTags", "NodeBase", "ImdsEvents", "SyscallNodes", "NetworkDevices", "CapabilityNodes", }); internal_static_datadog_cws_dumpsv1_ProcessInfo_descriptor = - getDescriptor().getMessageTypes().get(9); + getDescriptor().getMessageTypes().get(15); internal_static_datadog_cws_dumpsv1_ProcessInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_datadog_cws_dumpsv1_ProcessInfo_descriptor, new java.lang.String[] { "Pid", "Tid", "Ppid", "Cookie", "IsThread", "File", "ContainerId", "SpanId", "TraceId", "Tty", "Comm", "ForkTime", "ExitTime", "ExecTime", "Credentials", "Args", "Argv0", "ArgsTruncated", "Envs", "EnvsTruncated", "IsExecChild", "Cookie64", }); internal_static_datadog_cws_dumpsv1_FileActivityNode_descriptor = - getDescriptor().getMessageTypes().get(10); + getDescriptor().getMessageTypes().get(16); internal_static_datadog_cws_dumpsv1_FileActivityNode_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_datadog_cws_dumpsv1_FileActivityNode_descriptor, new java.lang.String[] { "MatchedRules", "ImageTags", "NodeBase", "Name", "IsPattern", "File", "GenerationType", "FirstSeen", "Open", "Children", }); internal_static_datadog_cws_dumpsv1_OpenNode_descriptor = - getDescriptor().getMessageTypes().get(11); + getDescriptor().getMessageTypes().get(17); internal_static_datadog_cws_dumpsv1_OpenNode_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_datadog_cws_dumpsv1_OpenNode_descriptor, new java.lang.String[] { "Retval", "Flags", "Mode", }); internal_static_datadog_cws_dumpsv1_DNSNode_descriptor = - getDescriptor().getMessageTypes().get(12); + getDescriptor().getMessageTypes().get(18); internal_static_datadog_cws_dumpsv1_DNSNode_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_datadog_cws_dumpsv1_DNSNode_descriptor, new java.lang.String[] { "MatchedRules", "ImageTags", "NodeBase", "Requests", }); internal_static_datadog_cws_dumpsv1_DNSInfo_descriptor = - getDescriptor().getMessageTypes().get(13); + getDescriptor().getMessageTypes().get(19); internal_static_datadog_cws_dumpsv1_DNSInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_datadog_cws_dumpsv1_DNSInfo_descriptor, new java.lang.String[] { "Name", "Type", "Class_", "Size", "Count", "Response", }); internal_static_datadog_cws_dumpsv1_DNSResponseInfo_descriptor = - getDescriptor().getMessageTypes().get(14); + getDescriptor().getMessageTypes().get(20); internal_static_datadog_cws_dumpsv1_DNSResponseInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_datadog_cws_dumpsv1_DNSResponseInfo_descriptor, new java.lang.String[] { "Ips", "Cnames", }); internal_static_datadog_cws_dumpsv1_SyscallNode_descriptor = - getDescriptor().getMessageTypes().get(15); + getDescriptor().getMessageTypes().get(21); internal_static_datadog_cws_dumpsv1_SyscallNode_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_datadog_cws_dumpsv1_SyscallNode_descriptor, new java.lang.String[] { "ImageTags", "NodeBase", "Syscall", }); internal_static_datadog_cws_dumpsv1_CapabilityNode_descriptor = - getDescriptor().getMessageTypes().get(16); + getDescriptor().getMessageTypes().get(22); internal_static_datadog_cws_dumpsv1_CapabilityNode_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_datadog_cws_dumpsv1_CapabilityNode_descriptor, new java.lang.String[] { "NodeBase", "Capability", "IsCapable", }); internal_static_datadog_cws_dumpsv1_IMDSNode_descriptor = - getDescriptor().getMessageTypes().get(17); + getDescriptor().getMessageTypes().get(23); internal_static_datadog_cws_dumpsv1_IMDSNode_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_datadog_cws_dumpsv1_IMDSNode_descriptor, new java.lang.String[] { "MatchedRules", "ImageTags", "NodeBase", "Event", }); internal_static_datadog_cws_dumpsv1_IMDSEvent_descriptor = - getDescriptor().getMessageTypes().get(18); + getDescriptor().getMessageTypes().get(24); internal_static_datadog_cws_dumpsv1_IMDSEvent_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_datadog_cws_dumpsv1_IMDSEvent_descriptor, new java.lang.String[] { "Type", "CloudProvider", "Url", "Host", "UserAgent", "Server", "Aws", }); internal_static_datadog_cws_dumpsv1_AWSIMDSEvent_descriptor = - getDescriptor().getMessageTypes().get(19); + getDescriptor().getMessageTypes().get(25); internal_static_datadog_cws_dumpsv1_AWSIMDSEvent_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_datadog_cws_dumpsv1_AWSIMDSEvent_descriptor, new java.lang.String[] { "IsImdsV2", "SecurityCredentials", }); internal_static_datadog_cws_dumpsv1_AWSSecurityCredentials_descriptor = - getDescriptor().getMessageTypes().get(20); + getDescriptor().getMessageTypes().get(26); internal_static_datadog_cws_dumpsv1_AWSSecurityCredentials_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_datadog_cws_dumpsv1_AWSSecurityCredentials_descriptor, new java.lang.String[] { "Code", "Type", "AccessKeyId", "LastUpdated", "ExpirationRaw", }); internal_static_datadog_cws_dumpsv1_FileInfo_descriptor = - getDescriptor().getMessageTypes().get(21); + getDescriptor().getMessageTypes().get(27); internal_static_datadog_cws_dumpsv1_FileInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_datadog_cws_dumpsv1_FileInfo_descriptor, new java.lang.String[] { "Uid", "User", "Gid", "Group", "Mode", "Ctime", "Mtime", "MountId", "Inode", "InUpperLayer", "Path", "Basename", "Filesystem", "PackageName", "PackageVersion", "PackageEpoch", "PackageRelease", "PackageSrcVersion", "PackageSrcEpoch", "PackageSrcRelease", "Hashes", "HashState", "PackageEpoch", "PackageRelease", "PackageSrcEpoch", "PackageSrcRelease", }); internal_static_datadog_cws_dumpsv1_Credentials_descriptor = - getDescriptor().getMessageTypes().get(22); + getDescriptor().getMessageTypes().get(28); internal_static_datadog_cws_dumpsv1_Credentials_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_datadog_cws_dumpsv1_Credentials_descriptor, new java.lang.String[] { "Uid", "Gid", "User", "Group", "EffectiveUid", "EffectiveGid", "EffectiveUser", "EffectiveGroup", "FsUid", "FsGid", "FsUser", "FsGroup", "CapEffective", "CapPermitted", }); internal_static_datadog_cws_dumpsv1_SocketNode_descriptor = - getDescriptor().getMessageTypes().get(23); + getDescriptor().getMessageTypes().get(29); 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", "Connect", }); internal_static_datadog_cws_dumpsv1_BindNode_descriptor = - getDescriptor().getMessageTypes().get(24); + getDescriptor().getMessageTypes().get(30); 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_ConnectNode_descriptor = - getDescriptor().getMessageTypes().get(25); + getDescriptor().getMessageTypes().get(31); 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); + getDescriptor().getMessageTypes().get(32); 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(27); + getDescriptor().getMessageTypes().get(33); 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(28); + getDescriptor().getMessageTypes().get(34); 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(29); + getDescriptor().getMessageTypes().get(35); 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(30); + getDescriptor().getMessageTypes().get(36); internal_static_datadog_cws_dumpsv1_MatchedRule_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_datadog_cws_dumpsv1_MatchedRule_descriptor, @@ -48366,7 +55948,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(31); + getDescriptor().getMessageTypes().get(37); 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 04bb0a2d..d3abb0f1 100644 --- a/proto/cws/dumpsv1/activity_dump.proto +++ b/proto/cws/dumpsv1/activity_dump.proto @@ -18,6 +18,7 @@ message SecDump { repeated string tags = 5; repeated ProcessActivityNode tree = 6; repeated MountNode mounts = 7; + repeated SecurityContextEntry security_contexts = 8; } message Metadata { @@ -40,6 +41,68 @@ message Metadata { string cgroup_manager = 16; } +message SeccompProfile { + enum Type { + TYPE_UNKNOWN = 0; + TYPE_UNCONFINED = 1; + TYPE_RUNTIME_DEFAULT = 2; + TYPE_LOCALHOST = 3; + } + + Type type = 1; + // Set if type == TYPE_LOCALHOST. + optional string localhost_profile = 2; + // Effective filter extracted at runtime via ptrace. + optional SeccompFilter filter = 3; +} + +message SeccompFilter { + // Default action applied to syscalls not explicitly listed. + string default_action = 1; + // Per-syscall rule, keyed by syscall name. + map syscalls = 2; +} + +message SyscallRule { + // Base action (evaluated with args=0). + string action = 1; + // Argument-level conditions extracted from the BPF filter. + repeated ArgCondition conditions = 2; +} + +message ArgCondition { + // Argument index (0..5). + int32 arg_index = 1; + // Comparison operator: "==", "!=", "&", ">", ">=", "<", "<=". + string op = 2; + // Constant value compared against. + uint64 value = 3; + // Action when condition matches. + string action = 4; +} + +message SecurityContext { + bool privileged = 1; + + SeccompProfile seccomp = 2; + + repeated string capabilities_add = 3; + repeated string capabilities_drop = 4; + + optional bool run_as_non_root = 5; + optional bool allow_privilege_escalation = 6; + optional bool read_only_root_filesystem = 7; +} + +message SecurityContextEntry { + string namespace = 1; + string owner_kind = 2; + string owner_name = 3; + string container_name = 4; + + SecurityContext security_context = 5; +} + message ProfileSelector { string image_name = 1; string image_tag = 2; @@ -73,6 +136,7 @@ message SecurityProfile { ProfileSelector selector = 8; bool disabled = 9; repeated MountNode mounts = 10; + repeated SecurityContextEntry security_contexts = 11; } message MountNode {