From d02f65c8402c306e8c3ec120b0deddb1ab4aa742 Mon Sep 17 00:00:00 2001 From: Paul Cacheux Date: Thu, 14 Nov 2024 10:48:57 +0100 Subject: [PATCH] remove gogo from process proto --- Rakefile | 2 +- process/agent.pb.go | 90852 +++++++----------------------------- process/connections.pb.go | 12148 +---- process/events.pb.go | 1924 +- 4 files changed, 19142 insertions(+), 85784 deletions(-) diff --git a/Rakefile b/Rakefile index 9ba49d5a..49ef0c27 100644 --- a/Rakefile +++ b/Rakefile @@ -101,7 +101,7 @@ BASH echo "done" echo "Generating process proto (go)" - PATH=#{toolchain_bin_dir} #{protoc_binary} --proto_path=#{toolchain_include_dir}:#{gogo_include}:. --gogofaster_out=$GOPATH/src proto/process/*.proto + PATH=#{toolchain_bin_dir} #{protoc_binary} --proto_path=#{toolchain_include_dir}:. --go_out=$GOPATH/src proto/process/*.proto GOPATH=#{toolchain_dir} go install github.com/leeavital/protoc-gen-gostreamer@v0.1.0 PATH=#{toolchain_bin_dir} #{protoc_binary} --proto_path=$GOPATH/src:#{gogo_dir}/src:. --gostreamer_out=$GOPATH/src proto/process/*.proto diff --git a/process/agent.pb.go b/process/agent.pb.go index ea7d0f59..9093cff2 100644 --- a/process/agent.pb.go +++ b/process/agent.pb.go @@ -1,27 +1,24 @@ -// Code generated by protoc-gen-gogo. DO NOT EDIT. +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.34.1 +// protoc v3.21.12 // source: proto/process/agent.proto package process import ( - encoding_binary "encoding/binary" - fmt "fmt" - proto "github.com/gogo/protobuf/proto" - io "io" - math "math" - math_bits "math/bits" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) // ContainerHostType is a enum that represents the type of host detected for container collection. // Sometimes containers are running on host-less environment, we'll need additional information to identify them @@ -34,24 +31,45 @@ const ( ContainerHostType_fargateEKS ContainerHostType = 2 ) -var ContainerHostType_name = map[int32]string{ - 0: "notSpecified", - 1: "fargateECS", - 2: "fargateEKS", -} +// Enum value maps for ContainerHostType. +var ( + ContainerHostType_name = map[int32]string{ + 0: "notSpecified", + 1: "fargateECS", + 2: "fargateEKS", + } + ContainerHostType_value = map[string]int32{ + "notSpecified": 0, + "fargateECS": 1, + "fargateEKS": 2, + } +) -var ContainerHostType_value = map[string]int32{ - "notSpecified": 0, - "fargateECS": 1, - "fargateEKS": 2, +func (x ContainerHostType) Enum() *ContainerHostType { + p := new(ContainerHostType) + *p = x + return p } func (x ContainerHostType) String() string { - return proto.EnumName(ContainerHostType_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } +func (ContainerHostType) Descriptor() protoreflect.EnumDescriptor { + return file_proto_process_agent_proto_enumTypes[0].Descriptor() +} + +func (ContainerHostType) Type() protoreflect.EnumType { + return &file_proto_process_agent_proto_enumTypes[0] +} + +func (x ContainerHostType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ContainerHostType.Descriptor instead. func (ContainerHostType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{0} + return file_proto_process_agent_proto_rawDescGZIP(), []int{0} } // status section in https://docs.docker.com/engine/api/v1.29/#tag/Container @@ -67,32 +85,53 @@ const ( ContainerState_dead ContainerState = 6 ) -var ContainerState_name = map[int32]string{ - 0: "unknown", - 1: "created", - 2: "restarting", - 3: "running", - 4: "paused", - 5: "exited", - 6: "dead", -} +// Enum value maps for ContainerState. +var ( + ContainerState_name = map[int32]string{ + 0: "unknown", + 1: "created", + 2: "restarting", + 3: "running", + 4: "paused", + 5: "exited", + 6: "dead", + } + ContainerState_value = map[string]int32{ + "unknown": 0, + "created": 1, + "restarting": 2, + "running": 3, + "paused": 4, + "exited": 5, + "dead": 6, + } +) -var ContainerState_value = map[string]int32{ - "unknown": 0, - "created": 1, - "restarting": 2, - "running": 3, - "paused": 4, - "exited": 5, - "dead": 6, +func (x ContainerState) Enum() *ContainerState { + p := new(ContainerState) + *p = x + return p } func (x ContainerState) String() string { - return proto.EnumName(ContainerState_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ContainerState) Descriptor() protoreflect.EnumDescriptor { + return file_proto_process_agent_proto_enumTypes[1].Descriptor() +} + +func (ContainerState) Type() protoreflect.EnumType { + return &file_proto_process_agent_proto_enumTypes[1] +} + +func (x ContainerState) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) } +// Deprecated: Use ContainerState.Descriptor instead. func (ContainerState) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{1} + return file_proto_process_agent_proto_rawDescGZIP(), []int{1} } // https://blog.couchbase.com/docker-health-check-keeping-containers-healthy/ @@ -106,33 +145,54 @@ const ( ContainerHealth_unhealthy ContainerHealth = 3 ) -var ContainerHealth_name = map[int32]string{ - 0: "unknownHealth", - 1: "starting", - 2: "healthy", - 3: "unhealthy", -} +// Enum value maps for ContainerHealth. +var ( + ContainerHealth_name = map[int32]string{ + 0: "unknownHealth", + 1: "starting", + 2: "healthy", + 3: "unhealthy", + } + ContainerHealth_value = map[string]int32{ + "unknownHealth": 0, + "starting": 1, + "healthy": 2, + "unhealthy": 3, + } +) -var ContainerHealth_value = map[string]int32{ - "unknownHealth": 0, - "starting": 1, - "healthy": 2, - "unhealthy": 3, +func (x ContainerHealth) Enum() *ContainerHealth { + p := new(ContainerHealth) + *p = x + return p } func (x ContainerHealth) String() string { - return proto.EnumName(ContainerHealth_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ContainerHealth) Descriptor() protoreflect.EnumDescriptor { + return file_proto_process_agent_proto_enumTypes[2].Descriptor() +} + +func (ContainerHealth) Type() protoreflect.EnumType { + return &file_proto_process_agent_proto_enumTypes[2] } +func (x ContainerHealth) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ContainerHealth.Descriptor instead. func (ContainerHealth) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{2} + return file_proto_process_agent_proto_rawDescGZIP(), []int{2} } // Process state codes in http://wiki.preshweb.co.uk/doku.php?id=linux:psflags type ProcessState int32 const ( - ProcessState_U ProcessState = 0 + ProcessState_U ProcessState = 0 // unknown state ProcessState_D ProcessState = 1 ProcessState_R ProcessState = 2 ProcessState_S ProcessState = 3 @@ -142,34 +202,55 @@ const ( ProcessState_Z ProcessState = 7 ) -var ProcessState_name = map[int32]string{ - 0: "U", - 1: "D", - 2: "R", - 3: "S", - 4: "T", - 5: "W", - 6: "X", - 7: "Z", -} +// Enum value maps for ProcessState. +var ( + ProcessState_name = map[int32]string{ + 0: "U", + 1: "D", + 2: "R", + 3: "S", + 4: "T", + 5: "W", + 6: "X", + 7: "Z", + } + ProcessState_value = map[string]int32{ + "U": 0, + "D": 1, + "R": 2, + "S": 3, + "T": 4, + "W": 5, + "X": 6, + "Z": 7, + } +) -var ProcessState_value = map[string]int32{ - "U": 0, - "D": 1, - "R": 2, - "S": 3, - "T": 4, - "W": 5, - "X": 6, - "Z": 7, +func (x ProcessState) Enum() *ProcessState { + p := new(ProcessState) + *p = x + return p } func (x ProcessState) String() string { - return proto.EnumName(ProcessState_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ProcessState) Descriptor() protoreflect.EnumDescriptor { + return file_proto_process_agent_proto_enumTypes[3].Descriptor() } +func (ProcessState) Type() protoreflect.EnumType { + return &file_proto_process_agent_proto_enumTypes[3] +} + +func (x ProcessState) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ProcessState.Descriptor instead. func (ProcessState) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{3} + return file_proto_process_agent_proto_rawDescGZIP(), []int{3} } type ConnectionType int32 @@ -179,22 +260,43 @@ const ( ConnectionType_udp ConnectionType = 1 ) -var ConnectionType_name = map[int32]string{ - 0: "tcp", - 1: "udp", -} +// Enum value maps for ConnectionType. +var ( + ConnectionType_name = map[int32]string{ + 0: "tcp", + 1: "udp", + } + ConnectionType_value = map[string]int32{ + "tcp": 0, + "udp": 1, + } +) -var ConnectionType_value = map[string]int32{ - "tcp": 0, - "udp": 1, +func (x ConnectionType) Enum() *ConnectionType { + p := new(ConnectionType) + *p = x + return p } func (x ConnectionType) String() string { - return proto.EnumName(ConnectionType_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ConnectionType) Descriptor() protoreflect.EnumDescriptor { + return file_proto_process_agent_proto_enumTypes[4].Descriptor() +} + +func (ConnectionType) Type() protoreflect.EnumType { + return &file_proto_process_agent_proto_enumTypes[4] +} + +func (x ConnectionType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) } +// Deprecated: Use ConnectionType.Descriptor instead. func (ConnectionType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{4} + return file_proto_process_agent_proto_rawDescGZIP(), []int{4} } type OrchestratorResource int32 @@ -230,74 +332,95 @@ const ( OrchestratorResource_ECSTASK OrchestratorResource = 150 ) -var OrchestratorResource_name = map[int32]string{ - 0: "OrchestratorResource_UNSPECIFIED", - 1: "POD", - 2: "REPLICASET", - 3: "SERVICE", - 4: "NODE", - 5: "CLUSTER", - 6: "JOB", - 7: "CRONJOB", - 8: "DAEMONSET", - 9: "STATEFULSET", - 10: "PERSISTENTVOLUME", - 11: "PERSISTENTVOLUMECLAIM", - 12: "ROLE", - 13: "ROLEBINDING", - 14: "CLUSTERROLE", - 15: "CLUSTERROLEBINDING", - 16: "SERVICEACCOUNT", - 17: "INGRESS", - 18: "DEPLOYMENT", - 19: "NAMESPACE", - 20: "CRD", - 21: "CR", - 22: "VERTICALPODAUTOSCALER", - 23: "HORIZONTALPODAUTOSCALER", - 24: "NETWORKPOLICY", - 25: "LIMITRANGE", - 26: "STORAGECLASS", - 150: "ECSTASK", -} - -var OrchestratorResource_value = map[string]int32{ - "OrchestratorResource_UNSPECIFIED": 0, - "POD": 1, - "REPLICASET": 2, - "SERVICE": 3, - "NODE": 4, - "CLUSTER": 5, - "JOB": 6, - "CRONJOB": 7, - "DAEMONSET": 8, - "STATEFULSET": 9, - "PERSISTENTVOLUME": 10, - "PERSISTENTVOLUMECLAIM": 11, - "ROLE": 12, - "ROLEBINDING": 13, - "CLUSTERROLE": 14, - "CLUSTERROLEBINDING": 15, - "SERVICEACCOUNT": 16, - "INGRESS": 17, - "DEPLOYMENT": 18, - "NAMESPACE": 19, - "CRD": 20, - "CR": 21, - "VERTICALPODAUTOSCALER": 22, - "HORIZONTALPODAUTOSCALER": 23, - "NETWORKPOLICY": 24, - "LIMITRANGE": 25, - "STORAGECLASS": 26, - "ECSTASK": 150, +// Enum value maps for OrchestratorResource. +var ( + OrchestratorResource_name = map[int32]string{ + 0: "OrchestratorResource_UNSPECIFIED", + 1: "POD", + 2: "REPLICASET", + 3: "SERVICE", + 4: "NODE", + 5: "CLUSTER", + 6: "JOB", + 7: "CRONJOB", + 8: "DAEMONSET", + 9: "STATEFULSET", + 10: "PERSISTENTVOLUME", + 11: "PERSISTENTVOLUMECLAIM", + 12: "ROLE", + 13: "ROLEBINDING", + 14: "CLUSTERROLE", + 15: "CLUSTERROLEBINDING", + 16: "SERVICEACCOUNT", + 17: "INGRESS", + 18: "DEPLOYMENT", + 19: "NAMESPACE", + 20: "CRD", + 21: "CR", + 22: "VERTICALPODAUTOSCALER", + 23: "HORIZONTALPODAUTOSCALER", + 24: "NETWORKPOLICY", + 25: "LIMITRANGE", + 26: "STORAGECLASS", + 150: "ECSTASK", + } + OrchestratorResource_value = map[string]int32{ + "OrchestratorResource_UNSPECIFIED": 0, + "POD": 1, + "REPLICASET": 2, + "SERVICE": 3, + "NODE": 4, + "CLUSTER": 5, + "JOB": 6, + "CRONJOB": 7, + "DAEMONSET": 8, + "STATEFULSET": 9, + "PERSISTENTVOLUME": 10, + "PERSISTENTVOLUMECLAIM": 11, + "ROLE": 12, + "ROLEBINDING": 13, + "CLUSTERROLE": 14, + "CLUSTERROLEBINDING": 15, + "SERVICEACCOUNT": 16, + "INGRESS": 17, + "DEPLOYMENT": 18, + "NAMESPACE": 19, + "CRD": 20, + "CR": 21, + "VERTICALPODAUTOSCALER": 22, + "HORIZONTALPODAUTOSCALER": 23, + "NETWORKPOLICY": 24, + "LIMITRANGE": 25, + "STORAGECLASS": 26, + "ECSTASK": 150, + } +) + +func (x OrchestratorResource) Enum() *OrchestratorResource { + p := new(OrchestratorResource) + *p = x + return p } func (x OrchestratorResource) String() string { - return proto.EnumName(OrchestratorResource_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (OrchestratorResource) Descriptor() protoreflect.EnumDescriptor { + return file_proto_process_agent_proto_enumTypes[5].Descriptor() +} + +func (OrchestratorResource) Type() protoreflect.EnumType { + return &file_proto_process_agent_proto_enumTypes[5] +} + +func (x OrchestratorResource) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) } +// Deprecated: Use OrchestratorResource.Descriptor instead. func (OrchestratorResource) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{5} + return file_proto_process_agent_proto_rawDescGZIP(), []int{5} } type ResourceRequirementsType int32 @@ -309,26 +432,47 @@ const ( ResourceRequirementsType_ephemeralContainer ResourceRequirementsType = 3 ) -var ResourceRequirementsType_name = map[int32]string{ - 0: "unknownType", - 1: "container", - 2: "initContainer", - 3: "ephemeralContainer", -} +// Enum value maps for ResourceRequirementsType. +var ( + ResourceRequirementsType_name = map[int32]string{ + 0: "unknownType", + 1: "container", + 2: "initContainer", + 3: "ephemeralContainer", + } + ResourceRequirementsType_value = map[string]int32{ + "unknownType": 0, + "container": 1, + "initContainer": 2, + "ephemeralContainer": 3, + } +) -var ResourceRequirementsType_value = map[string]int32{ - "unknownType": 0, - "container": 1, - "initContainer": 2, - "ephemeralContainer": 3, +func (x ResourceRequirementsType) Enum() *ResourceRequirementsType { + p := new(ResourceRequirementsType) + *p = x + return p } func (x ResourceRequirementsType) String() string { - return proto.EnumName(ResourceRequirementsType_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ResourceRequirementsType) Descriptor() protoreflect.EnumDescriptor { + return file_proto_process_agent_proto_enumTypes[6].Descriptor() +} + +func (ResourceRequirementsType) Type() protoreflect.EnumType { + return &file_proto_process_agent_proto_enumTypes[6] +} + +func (x ResourceRequirementsType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) } +// Deprecated: Use ResourceRequirementsType.Descriptor instead. func (ResourceRequirementsType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{6} + return file_proto_process_agent_proto_rawDescGZIP(), []int{6} } // A list of the supported operations for the Postgres database. @@ -348,72 +492,114 @@ const ( PostgresOperation_PostgresShowOp PostgresOperation = 9 ) -var PostgresOperation_name = map[int32]string{ - 0: "PostgresUnknownOp", - 1: "PostgresSelectOp", - 2: "PostgresInsertOp", - 3: "PostgresUpdateOp", - 4: "PostgresDeleteOp", - 5: "PostgresAlterOp", - 6: "PostgresCreateOp", - 7: "PostgresDropOp", - 8: "PostgresTruncateOp", - 9: "PostgresShowOp", -} - -var PostgresOperation_value = map[string]int32{ - "PostgresUnknownOp": 0, - "PostgresSelectOp": 1, - "PostgresInsertOp": 2, - "PostgresUpdateOp": 3, - "PostgresDeleteOp": 4, - "PostgresAlterOp": 5, - "PostgresCreateOp": 6, - "PostgresDropOp": 7, - "PostgresTruncateOp": 8, - "PostgresShowOp": 9, +// Enum value maps for PostgresOperation. +var ( + PostgresOperation_name = map[int32]string{ + 0: "PostgresUnknownOp", + 1: "PostgresSelectOp", + 2: "PostgresInsertOp", + 3: "PostgresUpdateOp", + 4: "PostgresDeleteOp", + 5: "PostgresAlterOp", + 6: "PostgresCreateOp", + 7: "PostgresDropOp", + 8: "PostgresTruncateOp", + 9: "PostgresShowOp", + } + PostgresOperation_value = map[string]int32{ + "PostgresUnknownOp": 0, + "PostgresSelectOp": 1, + "PostgresInsertOp": 2, + "PostgresUpdateOp": 3, + "PostgresDeleteOp": 4, + "PostgresAlterOp": 5, + "PostgresCreateOp": 6, + "PostgresDropOp": 7, + "PostgresTruncateOp": 8, + "PostgresShowOp": 9, + } +) + +func (x PostgresOperation) Enum() *PostgresOperation { + p := new(PostgresOperation) + *p = x + return p } func (x PostgresOperation) String() string { - return proto.EnumName(PostgresOperation_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (PostgresOperation) Descriptor() protoreflect.EnumDescriptor { + return file_proto_process_agent_proto_enumTypes[7].Descriptor() +} + +func (PostgresOperation) Type() protoreflect.EnumType { + return &file_proto_process_agent_proto_enumTypes[7] +} + +func (x PostgresOperation) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) } +// Deprecated: Use PostgresOperation.Descriptor instead. func (PostgresOperation) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{7} + return file_proto_process_agent_proto_rawDescGZIP(), []int{7} } type HTTPResponseStatus int32 const ( - HTTPResponseStatus_Info HTTPResponseStatus = 0 - HTTPResponseStatus_Success HTTPResponseStatus = 1 - HTTPResponseStatus_Redirect HTTPResponseStatus = 2 - HTTPResponseStatus_ClientErr HTTPResponseStatus = 3 - HTTPResponseStatus_ServerErr HTTPResponseStatus = 4 + HTTPResponseStatus_Info HTTPResponseStatus = 0 // 1XX response + HTTPResponseStatus_Success HTTPResponseStatus = 1 // 2XX + HTTPResponseStatus_Redirect HTTPResponseStatus = 2 // 3XX + HTTPResponseStatus_ClientErr HTTPResponseStatus = 3 // 4XX + HTTPResponseStatus_ServerErr HTTPResponseStatus = 4 // 5XX ) -var HTTPResponseStatus_name = map[int32]string{ - 0: "Info", - 1: "Success", - 2: "Redirect", - 3: "ClientErr", - 4: "ServerErr", -} +// Enum value maps for HTTPResponseStatus. +var ( + HTTPResponseStatus_name = map[int32]string{ + 0: "Info", + 1: "Success", + 2: "Redirect", + 3: "ClientErr", + 4: "ServerErr", + } + HTTPResponseStatus_value = map[string]int32{ + "Info": 0, + "Success": 1, + "Redirect": 2, + "ClientErr": 3, + "ServerErr": 4, + } +) -var HTTPResponseStatus_value = map[string]int32{ - "Info": 0, - "Success": 1, - "Redirect": 2, - "ClientErr": 3, - "ServerErr": 4, +func (x HTTPResponseStatus) Enum() *HTTPResponseStatus { + p := new(HTTPResponseStatus) + *p = x + return p } func (x HTTPResponseStatus) String() string { - return proto.EnumName(HTTPResponseStatus_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (HTTPResponseStatus) Descriptor() protoreflect.EnumDescriptor { + return file_proto_process_agent_proto_enumTypes[8].Descriptor() +} + +func (HTTPResponseStatus) Type() protoreflect.EnumType { + return &file_proto_process_agent_proto_enumTypes[8] +} + +func (x HTTPResponseStatus) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) } +// Deprecated: Use HTTPResponseStatus.Descriptor instead. func (HTTPResponseStatus) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{8} + return file_proto_process_agent_proto_rawDescGZIP(), []int{8} } type HTTPMethod int32 @@ -430,36 +616,57 @@ const ( HTTPMethod_Trace HTTPMethod = 8 ) -var HTTPMethod_name = map[int32]string{ - 0: "Unknown", - 1: "Get", - 2: "Post", - 3: "Put", - 4: "Delete", - 5: "Head", - 6: "Options", - 7: "Patch", - 8: "Trace", -} - -var HTTPMethod_value = map[string]int32{ - "Unknown": 0, - "Get": 1, - "Post": 2, - "Put": 3, - "Delete": 4, - "Head": 5, - "Options": 6, - "Patch": 7, - "Trace": 8, +// Enum value maps for HTTPMethod. +var ( + HTTPMethod_name = map[int32]string{ + 0: "Unknown", + 1: "Get", + 2: "Post", + 3: "Put", + 4: "Delete", + 5: "Head", + 6: "Options", + 7: "Patch", + 8: "Trace", + } + HTTPMethod_value = map[string]int32{ + "Unknown": 0, + "Get": 1, + "Post": 2, + "Put": 3, + "Delete": 4, + "Head": 5, + "Options": 6, + "Patch": 7, + "Trace": 8, + } +) + +func (x HTTPMethod) Enum() *HTTPMethod { + p := new(HTTPMethod) + *p = x + return p } func (x HTTPMethod) String() string { - return proto.EnumName(HTTPMethod_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (HTTPMethod) Descriptor() protoreflect.EnumDescriptor { + return file_proto_process_agent_proto_enumTypes[9].Descriptor() +} + +func (HTTPMethod) Type() protoreflect.EnumType { + return &file_proto_process_agent_proto_enumTypes[9] +} + +func (x HTTPMethod) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) } +// Deprecated: Use HTTPMethod.Descriptor instead. func (HTTPMethod) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{9} + return file_proto_process_agent_proto_rawDescGZIP(), []int{9} } type IntOrString_Type int32 @@ -469,132 +676,113 @@ const ( IntOrString_String IntOrString_Type = 1 ) -var IntOrString_Type_name = map[int32]string{ - 0: "Int", - 1: "String", -} +// Enum value maps for IntOrString_Type. +var ( + IntOrString_Type_name = map[int32]string{ + 0: "Int", + 1: "String", + } + IntOrString_Type_value = map[string]int32{ + "Int": 0, + "String": 1, + } +) -var IntOrString_Type_value = map[string]int32{ - "Int": 0, - "String": 1, +func (x IntOrString_Type) Enum() *IntOrString_Type { + p := new(IntOrString_Type) + *p = x + return p } func (x IntOrString_Type) String() string { - return proto.EnumName(IntOrString_Type_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (IntOrString_Type) Descriptor() protoreflect.EnumDescriptor { + return file_proto_process_agent_proto_enumTypes[10].Descriptor() } +func (IntOrString_Type) Type() protoreflect.EnumType { + return &file_proto_process_agent_proto_enumTypes[10] +} + +func (x IntOrString_Type) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use IntOrString_Type.Descriptor instead. func (IntOrString_Type) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{85, 0} + return file_proto_process_agent_proto_rawDescGZIP(), []int{85, 0} } type ResCollector struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Header *ResCollector_Header `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` Status *CollectorStatus `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"` } -func (m *ResCollector) Reset() { *m = ResCollector{} } -func (m *ResCollector) String() string { return proto.CompactTextString(m) } -func (*ResCollector) ProtoMessage() {} -func (*ResCollector) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{0} -} -func (m *ResCollector) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ResCollector) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ResCollector.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ResCollector) Reset() { + *x = ResCollector{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ResCollector) XXX_Merge(src proto.Message) { - xxx_messageInfo_ResCollector.Merge(m, src) -} -func (m *ResCollector) XXX_Size() int { - return m.Size() -} -func (m *ResCollector) XXX_DiscardUnknown() { - xxx_messageInfo_ResCollector.DiscardUnknown(m) + +func (x *ResCollector) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_ResCollector proto.InternalMessageInfo +func (*ResCollector) ProtoMessage() {} -func (m *ResCollector) GetHeader() *ResCollector_Header { - if m != nil { - return m.Header +func (x *ResCollector) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return nil + return mi.MessageOf(x) } -func (m *ResCollector) GetMessage() string { - if m != nil { - return m.Message - } - return "" +// Deprecated: Use ResCollector.ProtoReflect.Descriptor instead. +func (*ResCollector) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{0} } -func (m *ResCollector) GetStatus() *CollectorStatus { - if m != nil { - return m.Status +func (x *ResCollector) GetHeader() *ResCollector_Header { + if x != nil { + return x.Header } return nil } -// Header must exist at position 1 for compatibility -// with older version of the Agent. We should be able -// to drop this at some point. -type ResCollector_Header struct { - Type int32 `protobuf:"varint,4,opt,name=type,proto3" json:"type,omitempty"` -} - -func (m *ResCollector_Header) Reset() { *m = ResCollector_Header{} } -func (m *ResCollector_Header) String() string { return proto.CompactTextString(m) } -func (*ResCollector_Header) ProtoMessage() {} -func (*ResCollector_Header) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{0, 0} -} -func (m *ResCollector_Header) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ResCollector_Header) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ResCollector_Header.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ResCollector) GetMessage() string { + if x != nil { + return x.Message } + return "" } -func (m *ResCollector_Header) XXX_Merge(src proto.Message) { - xxx_messageInfo_ResCollector_Header.Merge(m, src) -} -func (m *ResCollector_Header) XXX_Size() int { - return m.Size() -} -func (m *ResCollector_Header) XXX_DiscardUnknown() { - xxx_messageInfo_ResCollector_Header.DiscardUnknown(m) -} - -var xxx_messageInfo_ResCollector_Header proto.InternalMessageInfo -func (m *ResCollector_Header) GetType() int32 { - if m != nil { - return m.Type +func (x *ResCollector) GetStatus() *CollectorStatus { + if x != nil { + return x.Status } - return 0 + return nil } type CollectorProc struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + HostName string `protobuf:"bytes,2,opt,name=hostName,proto3" json:"hostName,omitempty"` NetworkId string `protobuf:"bytes,11,opt,name=networkId,proto3" json:"networkId,omitempty"` Processes []*Process `protobuf:"bytes,3,rep,name=processes,proto3" json:"processes,omitempty"` @@ -604,142 +792,136 @@ type CollectorProc struct { GroupSize int32 `protobuf:"varint,7,opt,name=groupSize,proto3" json:"groupSize,omitempty"` Containers []*Container `protobuf:"bytes,10,rep,name=containers,proto3" json:"containers,omitempty"` ContainerHostType ContainerHostType `protobuf:"varint,12,opt,name=containerHostType,proto3,enum=datadog.process_agent.ContainerHostType" json:"containerHostType,omitempty"` - // Types that are valid to be assigned to Hints: + // Types that are assignable to Hints: // // *CollectorProc_HintMask Hints isCollectorProc_Hints `protobuf_oneof:"hints"` } -func (m *CollectorProc) Reset() { *m = CollectorProc{} } -func (m *CollectorProc) String() string { return proto.CompactTextString(m) } -func (*CollectorProc) ProtoMessage() {} -func (*CollectorProc) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{1} -} -func (m *CollectorProc) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *CollectorProc) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_CollectorProc.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *CollectorProc) Reset() { + *x = CollectorProc{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *CollectorProc) XXX_Merge(src proto.Message) { - xxx_messageInfo_CollectorProc.Merge(m, src) -} -func (m *CollectorProc) XXX_Size() int { - return m.Size() -} -func (m *CollectorProc) XXX_DiscardUnknown() { - xxx_messageInfo_CollectorProc.DiscardUnknown(m) -} - -var xxx_messageInfo_CollectorProc proto.InternalMessageInfo - -type isCollectorProc_Hints interface { - isCollectorProc_Hints() - MarshalTo([]byte) (int, error) - Size() int -} -type CollectorProc_HintMask struct { - HintMask int32 `protobuf:"varint,14,opt,name=hintMask,proto3,oneof" json:"hintMask,omitempty"` +func (x *CollectorProc) String() string { + return protoimpl.X.MessageStringOf(x) } -func (*CollectorProc_HintMask) isCollectorProc_Hints() {} +func (*CollectorProc) ProtoMessage() {} -func (m *CollectorProc) GetHints() isCollectorProc_Hints { - if m != nil { - return m.Hints +func (x *CollectorProc) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return nil + return mi.MessageOf(x) } -func (m *CollectorProc) GetHostName() string { - if m != nil { - return m.HostName +// Deprecated: Use CollectorProc.ProtoReflect.Descriptor instead. +func (*CollectorProc) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{1} +} + +func (x *CollectorProc) GetHostName() string { + if x != nil { + return x.HostName } return "" } -func (m *CollectorProc) GetNetworkId() string { - if m != nil { - return m.NetworkId +func (x *CollectorProc) GetNetworkId() string { + if x != nil { + return x.NetworkId } return "" } -func (m *CollectorProc) GetProcesses() []*Process { - if m != nil { - return m.Processes +func (x *CollectorProc) GetProcesses() []*Process { + if x != nil { + return x.Processes } return nil } -func (m *CollectorProc) GetHost() *Host { - if m != nil { - return m.Host +func (x *CollectorProc) GetHost() *Host { + if x != nil { + return x.Host } return nil } -func (m *CollectorProc) GetInfo() *SystemInfo { - if m != nil { - return m.Info +func (x *CollectorProc) GetInfo() *SystemInfo { + if x != nil { + return x.Info } return nil } -func (m *CollectorProc) GetGroupId() int32 { - if m != nil { - return m.GroupId +func (x *CollectorProc) GetGroupId() int32 { + if x != nil { + return x.GroupId } return 0 } -func (m *CollectorProc) GetGroupSize() int32 { - if m != nil { - return m.GroupSize +func (x *CollectorProc) GetGroupSize() int32 { + if x != nil { + return x.GroupSize } return 0 } -func (m *CollectorProc) GetContainers() []*Container { - if m != nil { - return m.Containers +func (x *CollectorProc) GetContainers() []*Container { + if x != nil { + return x.Containers } return nil } -func (m *CollectorProc) GetContainerHostType() ContainerHostType { - if m != nil { - return m.ContainerHostType +func (x *CollectorProc) GetContainerHostType() ContainerHostType { + if x != nil { + return x.ContainerHostType } return ContainerHostType_notSpecified } -func (m *CollectorProc) GetHintMask() int32 { - if x, ok := m.GetHints().(*CollectorProc_HintMask); ok { +func (m *CollectorProc) GetHints() isCollectorProc_Hints { + if m != nil { + return m.Hints + } + return nil +} + +func (x *CollectorProc) GetHintMask() int32 { + if x, ok := x.GetHints().(*CollectorProc_HintMask); ok { return x.HintMask } return 0 } -// XXX_OneofWrappers is for the internal use of the proto package. -func (*CollectorProc) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*CollectorProc_HintMask)(nil), - } +type isCollectorProc_Hints interface { + isCollectorProc_Hints() } +type CollectorProc_HintMask struct { + HintMask int32 `protobuf:"varint,14,opt,name=hintMask,proto3,oneof"` +} + +func (*CollectorProc_HintMask) isCollectorProc_Hints() {} + type CollectorProcDiscovery struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + HostName string `protobuf:"bytes,1,opt,name=hostName,proto3" json:"hostName,omitempty"` GroupId int32 `protobuf:"varint,2,opt,name=groupId,proto3" json:"groupId,omitempty"` GroupSize int32 `protobuf:"varint,3,opt,name=groupSize,proto3" json:"groupSize,omitempty"` @@ -747,75 +929,78 @@ type CollectorProcDiscovery struct { Host *Host `protobuf:"bytes,5,opt,name=host,proto3" json:"host,omitempty"` } -func (m *CollectorProcDiscovery) Reset() { *m = CollectorProcDiscovery{} } -func (m *CollectorProcDiscovery) String() string { return proto.CompactTextString(m) } -func (*CollectorProcDiscovery) ProtoMessage() {} -func (*CollectorProcDiscovery) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{2} -} -func (m *CollectorProcDiscovery) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *CollectorProcDiscovery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_CollectorProcDiscovery.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *CollectorProcDiscovery) Reset() { + *x = CollectorProcDiscovery{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *CollectorProcDiscovery) XXX_Merge(src proto.Message) { - xxx_messageInfo_CollectorProcDiscovery.Merge(m, src) -} -func (m *CollectorProcDiscovery) XXX_Size() int { - return m.Size() + +func (x *CollectorProcDiscovery) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CollectorProcDiscovery) XXX_DiscardUnknown() { - xxx_messageInfo_CollectorProcDiscovery.DiscardUnknown(m) + +func (*CollectorProcDiscovery) ProtoMessage() {} + +func (x *CollectorProcDiscovery) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_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) } -var xxx_messageInfo_CollectorProcDiscovery proto.InternalMessageInfo +// Deprecated: Use CollectorProcDiscovery.ProtoReflect.Descriptor instead. +func (*CollectorProcDiscovery) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{2} +} -func (m *CollectorProcDiscovery) GetHostName() string { - if m != nil { - return m.HostName +func (x *CollectorProcDiscovery) GetHostName() string { + if x != nil { + return x.HostName } return "" } -func (m *CollectorProcDiscovery) GetGroupId() int32 { - if m != nil { - return m.GroupId +func (x *CollectorProcDiscovery) GetGroupId() int32 { + if x != nil { + return x.GroupId } return 0 } -func (m *CollectorProcDiscovery) GetGroupSize() int32 { - if m != nil { - return m.GroupSize +func (x *CollectorProcDiscovery) GetGroupSize() int32 { + if x != nil { + return x.GroupSize } return 0 } -func (m *CollectorProcDiscovery) GetProcessDiscoveries() []*ProcessDiscovery { - if m != nil { - return m.ProcessDiscoveries +func (x *CollectorProcDiscovery) GetProcessDiscoveries() []*ProcessDiscovery { + if x != nil { + return x.ProcessDiscoveries } return nil } -func (m *CollectorProcDiscovery) GetHost() *Host { - if m != nil { - return m.Host +func (x *CollectorProcDiscovery) GetHost() *Host { + if x != nil { + return x.Host } return nil } type CollectorRealTime struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + HostName string `protobuf:"bytes,2,opt,name=hostName,proto3" json:"hostName,omitempty"` Stats []*ProcessStat `protobuf:"bytes,3,rep,name=stats,proto3" json:"stats,omitempty"` // Post-resolved fields @@ -829,110 +1014,113 @@ type CollectorRealTime struct { ContainerHostType ContainerHostType `protobuf:"varint,11,opt,name=containerHostType,proto3,enum=datadog.process_agent.ContainerHostType" json:"containerHostType,omitempty"` } -func (m *CollectorRealTime) Reset() { *m = CollectorRealTime{} } -func (m *CollectorRealTime) String() string { return proto.CompactTextString(m) } -func (*CollectorRealTime) ProtoMessage() {} -func (*CollectorRealTime) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{3} -} -func (m *CollectorRealTime) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *CollectorRealTime) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_CollectorRealTime.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *CollectorRealTime) Reset() { + *x = CollectorRealTime{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *CollectorRealTime) XXX_Merge(src proto.Message) { - xxx_messageInfo_CollectorRealTime.Merge(m, src) -} -func (m *CollectorRealTime) XXX_Size() int { - return m.Size() + +func (x *CollectorRealTime) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CollectorRealTime) XXX_DiscardUnknown() { - xxx_messageInfo_CollectorRealTime.DiscardUnknown(m) + +func (*CollectorRealTime) ProtoMessage() {} + +func (x *CollectorRealTime) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_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) } -var xxx_messageInfo_CollectorRealTime proto.InternalMessageInfo +// Deprecated: Use CollectorRealTime.ProtoReflect.Descriptor instead. +func (*CollectorRealTime) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{3} +} -func (m *CollectorRealTime) GetHostName() string { - if m != nil { - return m.HostName +func (x *CollectorRealTime) GetHostName() string { + if x != nil { + return x.HostName } return "" } -func (m *CollectorRealTime) GetStats() []*ProcessStat { - if m != nil { - return m.Stats +func (x *CollectorRealTime) GetStats() []*ProcessStat { + if x != nil { + return x.Stats } return nil } -func (m *CollectorRealTime) GetHostId() int64 { - if m != nil { - return m.HostId +func (x *CollectorRealTime) GetHostId() int64 { + if x != nil { + return x.HostId } return 0 } -func (m *CollectorRealTime) GetOrgId() int32 { - if m != nil { - return m.OrgId +func (x *CollectorRealTime) GetOrgId() int32 { + if x != nil { + return x.OrgId } return 0 } -func (m *CollectorRealTime) GetGroupId() int32 { - if m != nil { - return m.GroupId +func (x *CollectorRealTime) GetGroupId() int32 { + if x != nil { + return x.GroupId } return 0 } -func (m *CollectorRealTime) GetGroupSize() int32 { - if m != nil { - return m.GroupSize +func (x *CollectorRealTime) GetGroupSize() int32 { + if x != nil { + return x.GroupSize } return 0 } -func (m *CollectorRealTime) GetNumCpus() int32 { - if m != nil { - return m.NumCpus +func (x *CollectorRealTime) GetNumCpus() int32 { + if x != nil { + return x.NumCpus } return 0 } -func (m *CollectorRealTime) GetTotalMemory() int64 { - if m != nil { - return m.TotalMemory +func (x *CollectorRealTime) GetTotalMemory() int64 { + if x != nil { + return x.TotalMemory } return 0 } -func (m *CollectorRealTime) GetContainerStats() []*ContainerStat { - if m != nil { - return m.ContainerStats +func (x *CollectorRealTime) GetContainerStats() []*ContainerStat { + if x != nil { + return x.ContainerStats } return nil } -func (m *CollectorRealTime) GetContainerHostType() ContainerHostType { - if m != nil { - return m.ContainerHostType +func (x *CollectorRealTime) GetContainerHostType() ContainerHostType { + if x != nil { + return x.ContainerHostType } return ContainerHostType_notSpecified } type CollectorContainer struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + HostName string `protobuf:"bytes,1,opt,name=hostName,proto3" json:"hostName,omitempty"` NetworkId string `protobuf:"bytes,11,opt,name=networkId,proto3" json:"networkId,omitempty"` Info *SystemInfo `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"` @@ -944,96 +1132,99 @@ type CollectorContainer struct { ContainerHostType ContainerHostType `protobuf:"varint,9,opt,name=containerHostType,proto3,enum=datadog.process_agent.ContainerHostType" json:"containerHostType,omitempty"` } -func (m *CollectorContainer) Reset() { *m = CollectorContainer{} } -func (m *CollectorContainer) String() string { return proto.CompactTextString(m) } -func (*CollectorContainer) ProtoMessage() {} -func (*CollectorContainer) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{4} -} -func (m *CollectorContainer) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *CollectorContainer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_CollectorContainer.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *CollectorContainer) Reset() { + *x = CollectorContainer{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *CollectorContainer) XXX_Merge(src proto.Message) { - xxx_messageInfo_CollectorContainer.Merge(m, src) -} -func (m *CollectorContainer) XXX_Size() int { - return m.Size() + +func (x *CollectorContainer) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CollectorContainer) XXX_DiscardUnknown() { - xxx_messageInfo_CollectorContainer.DiscardUnknown(m) + +func (*CollectorContainer) ProtoMessage() {} + +func (x *CollectorContainer) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_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) } -var xxx_messageInfo_CollectorContainer proto.InternalMessageInfo +// Deprecated: Use CollectorContainer.ProtoReflect.Descriptor instead. +func (*CollectorContainer) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{4} +} -func (m *CollectorContainer) GetHostName() string { - if m != nil { - return m.HostName +func (x *CollectorContainer) GetHostName() string { + if x != nil { + return x.HostName } return "" } -func (m *CollectorContainer) GetNetworkId() string { - if m != nil { - return m.NetworkId +func (x *CollectorContainer) GetNetworkId() string { + if x != nil { + return x.NetworkId } return "" } -func (m *CollectorContainer) GetInfo() *SystemInfo { - if m != nil { - return m.Info +func (x *CollectorContainer) GetInfo() *SystemInfo { + if x != nil { + return x.Info } return nil } -func (m *CollectorContainer) GetContainers() []*Container { - if m != nil { - return m.Containers +func (x *CollectorContainer) GetContainers() []*Container { + if x != nil { + return x.Containers } return nil } -func (m *CollectorContainer) GetGroupId() int32 { - if m != nil { - return m.GroupId +func (x *CollectorContainer) GetGroupId() int32 { + if x != nil { + return x.GroupId } return 0 } -func (m *CollectorContainer) GetGroupSize() int32 { - if m != nil { - return m.GroupSize +func (x *CollectorContainer) GetGroupSize() int32 { + if x != nil { + return x.GroupSize } return 0 } -func (m *CollectorContainer) GetHost() *Host { - if m != nil { - return m.Host +func (x *CollectorContainer) GetHost() *Host { + if x != nil { + return x.Host } return nil } -func (m *CollectorContainer) GetContainerHostType() ContainerHostType { - if m != nil { - return m.ContainerHostType +func (x *CollectorContainer) GetContainerHostType() ContainerHostType { + if x != nil { + return x.ContainerHostType } return ContainerHostType_notSpecified } type CollectorContainerRealTime struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + HostName string `protobuf:"bytes,1,opt,name=hostName,proto3" json:"hostName,omitempty"` Stats []*ContainerStat `protobuf:"bytes,2,rep,name=stats,proto3" json:"stats,omitempty"` // Used for normalization at host-level. @@ -1046,140 +1237,146 @@ type CollectorContainerRealTime struct { ContainerHostType ContainerHostType `protobuf:"varint,8,opt,name=containerHostType,proto3,enum=datadog.process_agent.ContainerHostType" json:"containerHostType,omitempty"` } -func (m *CollectorContainerRealTime) Reset() { *m = CollectorContainerRealTime{} } -func (m *CollectorContainerRealTime) String() string { return proto.CompactTextString(m) } -func (*CollectorContainerRealTime) ProtoMessage() {} -func (*CollectorContainerRealTime) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{5} -} -func (m *CollectorContainerRealTime) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *CollectorContainerRealTime) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_CollectorContainerRealTime.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *CollectorContainerRealTime) Reset() { + *x = CollectorContainerRealTime{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *CollectorContainerRealTime) XXX_Merge(src proto.Message) { - xxx_messageInfo_CollectorContainerRealTime.Merge(m, src) -} -func (m *CollectorContainerRealTime) XXX_Size() int { - return m.Size() -} -func (m *CollectorContainerRealTime) XXX_DiscardUnknown() { - xxx_messageInfo_CollectorContainerRealTime.DiscardUnknown(m) + +func (x *CollectorContainerRealTime) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_CollectorContainerRealTime proto.InternalMessageInfo +func (*CollectorContainerRealTime) ProtoMessage() {} -func (m *CollectorContainerRealTime) GetHostName() string { - if m != nil { - return m.HostName +func (x *CollectorContainerRealTime) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_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 CollectorContainerRealTime.ProtoReflect.Descriptor instead. +func (*CollectorContainerRealTime) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{5} +} + +func (x *CollectorContainerRealTime) GetHostName() string { + if x != nil { + return x.HostName } return "" } -func (m *CollectorContainerRealTime) GetStats() []*ContainerStat { - if m != nil { - return m.Stats +func (x *CollectorContainerRealTime) GetStats() []*ContainerStat { + if x != nil { + return x.Stats } return nil } -func (m *CollectorContainerRealTime) GetNumCpus() int32 { - if m != nil { - return m.NumCpus +func (x *CollectorContainerRealTime) GetNumCpus() int32 { + if x != nil { + return x.NumCpus } return 0 } -func (m *CollectorContainerRealTime) GetTotalMemory() int64 { - if m != nil { - return m.TotalMemory +func (x *CollectorContainerRealTime) GetTotalMemory() int64 { + if x != nil { + return x.TotalMemory } return 0 } -func (m *CollectorContainerRealTime) GetHostId() int64 { - if m != nil { - return m.HostId +func (x *CollectorContainerRealTime) GetHostId() int64 { + if x != nil { + return x.HostId } return 0 } -func (m *CollectorContainerRealTime) GetGroupId() int32 { - if m != nil { - return m.GroupId +func (x *CollectorContainerRealTime) GetGroupId() int32 { + if x != nil { + return x.GroupId } return 0 } -func (m *CollectorContainerRealTime) GetGroupSize() int32 { - if m != nil { - return m.GroupSize +func (x *CollectorContainerRealTime) GetGroupSize() int32 { + if x != nil { + return x.GroupSize } return 0 } -func (m *CollectorContainerRealTime) GetContainerHostType() ContainerHostType { - if m != nil { - return m.ContainerHostType +func (x *CollectorContainerRealTime) GetContainerHostType() ContainerHostType { + if x != nil { + return x.ContainerHostType } return ContainerHostType_notSpecified } type CollectorReqStatus struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + HostName string `protobuf:"bytes,2,opt,name=hostName,proto3" json:"hostName,omitempty"` } -func (m *CollectorReqStatus) Reset() { *m = CollectorReqStatus{} } -func (m *CollectorReqStatus) String() string { return proto.CompactTextString(m) } -func (*CollectorReqStatus) ProtoMessage() {} -func (*CollectorReqStatus) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{6} -} -func (m *CollectorReqStatus) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *CollectorReqStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_CollectorReqStatus.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *CollectorReqStatus) Reset() { + *x = CollectorReqStatus{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *CollectorReqStatus) XXX_Merge(src proto.Message) { - xxx_messageInfo_CollectorReqStatus.Merge(m, src) -} -func (m *CollectorReqStatus) XXX_Size() int { - return m.Size() + +func (x *CollectorReqStatus) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CollectorReqStatus) XXX_DiscardUnknown() { - xxx_messageInfo_CollectorReqStatus.DiscardUnknown(m) + +func (*CollectorReqStatus) ProtoMessage() {} + +func (x *CollectorReqStatus) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_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) } -var xxx_messageInfo_CollectorReqStatus proto.InternalMessageInfo +// Deprecated: Use CollectorReqStatus.ProtoReflect.Descriptor instead. +func (*CollectorReqStatus) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{6} +} -func (m *CollectorReqStatus) GetHostName() string { - if m != nil { - return m.HostName +func (x *CollectorReqStatus) GetHostName() string { + if x != nil { + return x.HostName } return "" } type CollectorECSTask struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + AwsAccountID int64 `protobuf:"varint,1,opt,name=awsAccountID,proto3" json:"awsAccountID,omitempty"` ClusterName string `protobuf:"bytes,2,opt,name=clusterName,proto3" json:"clusterName,omitempty"` ClusterId string `protobuf:"bytes,3,opt,name=clusterId,proto3" json:"clusterId,omitempty"` @@ -1188,124 +1385,127 @@ type CollectorECSTask struct { GroupSize int32 `protobuf:"varint,6,opt,name=groupSize,proto3" json:"groupSize,omitempty"` Tasks []*ECSTask `protobuf:"bytes,7,rep,name=tasks,proto3" json:"tasks,omitempty"` Tags []string `protobuf:"bytes,8,rep,name=tags,proto3" json:"tags,omitempty"` - Host *Host `protobuf:"bytes,9,opt,name=host,proto3" json:"host,omitempty"` + Host *Host `protobuf:"bytes,9,opt,name=host,proto3" json:"host,omitempty"` // Post-resolved field HostName string `protobuf:"bytes,10,opt,name=hostName,proto3" json:"hostName,omitempty"` Info *SystemInfo `protobuf:"bytes,11,opt,name=info,proto3" json:"info,omitempty"` } -func (m *CollectorECSTask) Reset() { *m = CollectorECSTask{} } -func (m *CollectorECSTask) String() string { return proto.CompactTextString(m) } -func (*CollectorECSTask) ProtoMessage() {} -func (*CollectorECSTask) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{7} -} -func (m *CollectorECSTask) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *CollectorECSTask) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_CollectorECSTask.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *CollectorECSTask) Reset() { + *x = CollectorECSTask{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *CollectorECSTask) XXX_Merge(src proto.Message) { - xxx_messageInfo_CollectorECSTask.Merge(m, src) -} -func (m *CollectorECSTask) XXX_Size() int { - return m.Size() + +func (x *CollectorECSTask) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CollectorECSTask) XXX_DiscardUnknown() { - xxx_messageInfo_CollectorECSTask.DiscardUnknown(m) + +func (*CollectorECSTask) ProtoMessage() {} + +func (x *CollectorECSTask) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_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) } -var xxx_messageInfo_CollectorECSTask proto.InternalMessageInfo +// Deprecated: Use CollectorECSTask.ProtoReflect.Descriptor instead. +func (*CollectorECSTask) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{7} +} -func (m *CollectorECSTask) GetAwsAccountID() int64 { - if m != nil { - return m.AwsAccountID +func (x *CollectorECSTask) GetAwsAccountID() int64 { + if x != nil { + return x.AwsAccountID } return 0 } -func (m *CollectorECSTask) GetClusterName() string { - if m != nil { - return m.ClusterName +func (x *CollectorECSTask) GetClusterName() string { + if x != nil { + return x.ClusterName } return "" } -func (m *CollectorECSTask) GetClusterId() string { - if m != nil { - return m.ClusterId +func (x *CollectorECSTask) GetClusterId() string { + if x != nil { + return x.ClusterId } return "" } -func (m *CollectorECSTask) GetRegion() string { - if m != nil { - return m.Region +func (x *CollectorECSTask) GetRegion() string { + if x != nil { + return x.Region } return "" } -func (m *CollectorECSTask) GetGroupId() int32 { - if m != nil { - return m.GroupId +func (x *CollectorECSTask) GetGroupId() int32 { + if x != nil { + return x.GroupId } return 0 } -func (m *CollectorECSTask) GetGroupSize() int32 { - if m != nil { - return m.GroupSize +func (x *CollectorECSTask) GetGroupSize() int32 { + if x != nil { + return x.GroupSize } return 0 } -func (m *CollectorECSTask) GetTasks() []*ECSTask { - if m != nil { - return m.Tasks +func (x *CollectorECSTask) GetTasks() []*ECSTask { + if x != nil { + return x.Tasks } return nil } -func (m *CollectorECSTask) GetTags() []string { - if m != nil { - return m.Tags +func (x *CollectorECSTask) GetTags() []string { + if x != nil { + return x.Tags } return nil } -func (m *CollectorECSTask) GetHost() *Host { - if m != nil { - return m.Host +func (x *CollectorECSTask) GetHost() *Host { + if x != nil { + return x.Host } return nil } -func (m *CollectorECSTask) GetHostName() string { - if m != nil { - return m.HostName +func (x *CollectorECSTask) GetHostName() string { + if x != nil { + return x.HostName } return "" } -func (m *CollectorECSTask) GetInfo() *SystemInfo { - if m != nil { - return m.Info +func (x *CollectorECSTask) GetInfo() *SystemInfo { + if x != nil { + return x.Info } return nil } type ECSTask struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Arn string `protobuf:"bytes,1,opt,name=arn,proto3" json:"arn,omitempty"` - ResourceVersion string `protobuf:"bytes,2,opt,name=resourceVersion,proto3" json:"resourceVersion,omitempty"` + ResourceVersion string `protobuf:"bytes,2,opt,name=resourceVersion,proto3" json:"resourceVersion,omitempty"` // a custom field to track changes LaunchType string `protobuf:"bytes,3,opt,name=launchType,proto3" json:"launchType,omitempty"` DesiredStatus string `protobuf:"bytes,4,opt,name=desiredStatus,proto3" json:"desiredStatus,omitempty"` KnownStatus string `protobuf:"bytes,5,opt,name=knownStatus,proto3" json:"knownStatus,omitempty"` @@ -1323,183 +1523,186 @@ type ECSTask struct { Tags []string `protobuf:"bytes,17,rep,name=tags,proto3" json:"tags,omitempty"` EcsTags []string `protobuf:"bytes,18,rep,name=ecsTags,proto3" json:"ecsTags,omitempty"` ContainerInstanceTags []string `protobuf:"bytes,19,rep,name=containerInstanceTags,proto3" json:"containerInstanceTags,omitempty"` - Host *Host `protobuf:"bytes,20,opt,name=host,proto3" json:"host,omitempty"` + Host *Host `protobuf:"bytes,20,opt,name=host,proto3" json:"host,omitempty"` // Used post-resolution } -func (m *ECSTask) Reset() { *m = ECSTask{} } -func (m *ECSTask) String() string { return proto.CompactTextString(m) } -func (*ECSTask) ProtoMessage() {} -func (*ECSTask) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{8} -} -func (m *ECSTask) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ECSTask) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ECSTask.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ECSTask) Reset() { + *x = ECSTask{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ECSTask) XXX_Merge(src proto.Message) { - xxx_messageInfo_ECSTask.Merge(m, src) -} -func (m *ECSTask) XXX_Size() int { - return m.Size() + +func (x *ECSTask) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ECSTask) XXX_DiscardUnknown() { - xxx_messageInfo_ECSTask.DiscardUnknown(m) + +func (*ECSTask) ProtoMessage() {} + +func (x *ECSTask) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[8] + 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) } -var xxx_messageInfo_ECSTask proto.InternalMessageInfo +// Deprecated: Use ECSTask.ProtoReflect.Descriptor instead. +func (*ECSTask) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{8} +} -func (m *ECSTask) GetArn() string { - if m != nil { - return m.Arn +func (x *ECSTask) GetArn() string { + if x != nil { + return x.Arn } return "" } -func (m *ECSTask) GetResourceVersion() string { - if m != nil { - return m.ResourceVersion +func (x *ECSTask) GetResourceVersion() string { + if x != nil { + return x.ResourceVersion } return "" } -func (m *ECSTask) GetLaunchType() string { - if m != nil { - return m.LaunchType +func (x *ECSTask) GetLaunchType() string { + if x != nil { + return x.LaunchType } return "" } -func (m *ECSTask) GetDesiredStatus() string { - if m != nil { - return m.DesiredStatus +func (x *ECSTask) GetDesiredStatus() string { + if x != nil { + return x.DesiredStatus } return "" } -func (m *ECSTask) GetKnownStatus() string { - if m != nil { - return m.KnownStatus +func (x *ECSTask) GetKnownStatus() string { + if x != nil { + return x.KnownStatus } return "" } -func (m *ECSTask) GetFamily() string { - if m != nil { - return m.Family +func (x *ECSTask) GetFamily() string { + if x != nil { + return x.Family } return "" } -func (m *ECSTask) GetVersion() string { - if m != nil { - return m.Version +func (x *ECSTask) GetVersion() string { + if x != nil { + return x.Version } return "" } -func (m *ECSTask) GetAvailabilityZone() string { - if m != nil { - return m.AvailabilityZone +func (x *ECSTask) GetAvailabilityZone() string { + if x != nil { + return x.AvailabilityZone } return "" } -func (m *ECSTask) GetLimits() map[string]float64 { - if m != nil { - return m.Limits +func (x *ECSTask) GetLimits() map[string]float64 { + if x != nil { + return x.Limits } return nil } -func (m *ECSTask) GetEphemeralStorageMetrics() map[string]int64 { - if m != nil { - return m.EphemeralStorageMetrics +func (x *ECSTask) GetEphemeralStorageMetrics() map[string]int64 { + if x != nil { + return x.EphemeralStorageMetrics } return nil } -func (m *ECSTask) GetServiceName() string { - if m != nil { - return m.ServiceName +func (x *ECSTask) GetServiceName() string { + if x != nil { + return x.ServiceName } return "" } -func (m *ECSTask) GetVpcId() string { - if m != nil { - return m.VpcId +func (x *ECSTask) GetVpcId() string { + if x != nil { + return x.VpcId } return "" } -func (m *ECSTask) GetPullStartedAt() int64 { - if m != nil { - return m.PullStartedAt +func (x *ECSTask) GetPullStartedAt() int64 { + if x != nil { + return x.PullStartedAt } return 0 } -func (m *ECSTask) GetPullStoppedAt() int64 { - if m != nil { - return m.PullStoppedAt +func (x *ECSTask) GetPullStoppedAt() int64 { + if x != nil { + return x.PullStoppedAt } return 0 } -func (m *ECSTask) GetExecutionStoppedAt() int64 { - if m != nil { - return m.ExecutionStoppedAt +func (x *ECSTask) GetExecutionStoppedAt() int64 { + if x != nil { + return x.ExecutionStoppedAt } return 0 } -func (m *ECSTask) GetContainers() []*ECSContainer { - if m != nil { - return m.Containers +func (x *ECSTask) GetContainers() []*ECSContainer { + if x != nil { + return x.Containers } return nil } -func (m *ECSTask) GetTags() []string { - if m != nil { - return m.Tags +func (x *ECSTask) GetTags() []string { + if x != nil { + return x.Tags } return nil } -func (m *ECSTask) GetEcsTags() []string { - if m != nil { - return m.EcsTags +func (x *ECSTask) GetEcsTags() []string { + if x != nil { + return x.EcsTags } return nil } -func (m *ECSTask) GetContainerInstanceTags() []string { - if m != nil { - return m.ContainerInstanceTags +func (x *ECSTask) GetContainerInstanceTags() []string { + if x != nil { + return x.ContainerInstanceTags } return nil } -func (m *ECSTask) GetHost() *Host { - if m != nil { - return m.Host +func (x *ECSTask) GetHost() *Host { + if x != nil { + return x.Host } return nil } type ECSContainer struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + DockerID string `protobuf:"bytes,1,opt,name=dockerID,proto3" json:"dockerID,omitempty"` DockerName string `protobuf:"bytes,2,opt,name=dockerName,proto3" json:"dockerName,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` @@ -1524,602 +1727,623 @@ type ECSContainer struct { Snapshotter string `protobuf:"bytes,22,opt,name=snapshotter,proto3" json:"snapshotter,omitempty"` } -func (m *ECSContainer) Reset() { *m = ECSContainer{} } -func (m *ECSContainer) String() string { return proto.CompactTextString(m) } -func (*ECSContainer) ProtoMessage() {} -func (*ECSContainer) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{9} -} -func (m *ECSContainer) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ECSContainer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ECSContainer.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ECSContainer) Reset() { + *x = ECSContainer{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ECSContainer) XXX_Merge(src proto.Message) { - xxx_messageInfo_ECSContainer.Merge(m, src) -} -func (m *ECSContainer) XXX_Size() int { - return m.Size() + +func (x *ECSContainer) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ECSContainer) XXX_DiscardUnknown() { - xxx_messageInfo_ECSContainer.DiscardUnknown(m) + +func (*ECSContainer) ProtoMessage() {} + +func (x *ECSContainer) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[9] + 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) } -var xxx_messageInfo_ECSContainer proto.InternalMessageInfo +// Deprecated: Use ECSContainer.ProtoReflect.Descriptor instead. +func (*ECSContainer) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{9} +} -func (m *ECSContainer) GetDockerID() string { - if m != nil { - return m.DockerID +func (x *ECSContainer) GetDockerID() string { + if x != nil { + return x.DockerID } return "" } -func (m *ECSContainer) GetDockerName() string { - if m != nil { - return m.DockerName +func (x *ECSContainer) GetDockerName() string { + if x != nil { + return x.DockerName } return "" } -func (m *ECSContainer) GetName() string { - if m != nil { - return m.Name +func (x *ECSContainer) GetName() string { + if x != nil { + return x.Name } return "" } -func (m *ECSContainer) GetImage() string { - if m != nil { - return m.Image +func (x *ECSContainer) GetImage() string { + if x != nil { + return x.Image } return "" } -func (m *ECSContainer) GetImageID() string { - if m != nil { - return m.ImageID +func (x *ECSContainer) GetImageID() string { + if x != nil { + return x.ImageID } return "" } -func (m *ECSContainer) GetCreatedAt() int64 { - if m != nil { - return m.CreatedAt +func (x *ECSContainer) GetCreatedAt() int64 { + if x != nil { + return x.CreatedAt } return 0 } -func (m *ECSContainer) GetStartedAt() int64 { - if m != nil { - return m.StartedAt +func (x *ECSContainer) GetStartedAt() int64 { + if x != nil { + return x.StartedAt } return 0 } -func (m *ECSContainer) GetFinishedAt() int64 { - if m != nil { - return m.FinishedAt +func (x *ECSContainer) GetFinishedAt() int64 { + if x != nil { + return x.FinishedAt } return 0 } -func (m *ECSContainer) GetDesiredStatus() string { - if m != nil { - return m.DesiredStatus +func (x *ECSContainer) GetDesiredStatus() string { + if x != nil { + return x.DesiredStatus } return "" } -func (m *ECSContainer) GetKnownStatus() string { - if m != nil { - return m.KnownStatus +func (x *ECSContainer) GetKnownStatus() string { + if x != nil { + return x.KnownStatus } return "" } -func (m *ECSContainer) GetExitCode() *ECSContainerExitCode { - if m != nil { - return m.ExitCode +func (x *ECSContainer) GetExitCode() *ECSContainerExitCode { + if x != nil { + return x.ExitCode } return nil } -func (m *ECSContainer) GetType() string { - if m != nil { - return m.Type +func (x *ECSContainer) GetType() string { + if x != nil { + return x.Type } return "" } -func (m *ECSContainer) GetLogDriver() string { - if m != nil { - return m.LogDriver +func (x *ECSContainer) GetLogDriver() string { + if x != nil { + return x.LogDriver } return "" } -func (m *ECSContainer) GetLogOptions() map[string]string { - if m != nil { - return m.LogOptions +func (x *ECSContainer) GetLogOptions() map[string]string { + if x != nil { + return x.LogOptions } return nil } -func (m *ECSContainer) GetContainerArn() string { - if m != nil { - return m.ContainerArn +func (x *ECSContainer) GetContainerArn() string { + if x != nil { + return x.ContainerArn } return "" } -func (m *ECSContainer) GetPorts() []*ECSContainerPort { - if m != nil { - return m.Ports +func (x *ECSContainer) GetPorts() []*ECSContainerPort { + if x != nil { + return x.Ports } return nil } -func (m *ECSContainer) GetNetworks() []*ECSContainerNetwork { - if m != nil { - return m.Networks +func (x *ECSContainer) GetNetworks() []*ECSContainerNetwork { + if x != nil { + return x.Networks } return nil } -func (m *ECSContainer) GetVolumes() []*ECSContainerVolume { - if m != nil { - return m.Volumes +func (x *ECSContainer) GetVolumes() []*ECSContainerVolume { + if x != nil { + return x.Volumes } return nil } -func (m *ECSContainer) GetHealth() *ECSContainerHealth { - if m != nil { - return m.Health +func (x *ECSContainer) GetHealth() *ECSContainerHealth { + if x != nil { + return x.Health } return nil } -func (m *ECSContainer) GetLabels() []string { - if m != nil { - return m.Labels +func (x *ECSContainer) GetLabels() []string { + if x != nil { + return x.Labels } return nil } -func (m *ECSContainer) GetLimits() map[string]float64 { - if m != nil { - return m.Limits +func (x *ECSContainer) GetLimits() map[string]float64 { + if x != nil { + return x.Limits } return nil } -func (m *ECSContainer) GetSnapshotter() string { - if m != nil { - return m.Snapshotter +func (x *ECSContainer) GetSnapshotter() string { + if x != nil { + return x.Snapshotter } return "" } type ECSContainerNetwork struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + NetworkMode string `protobuf:"bytes,1,opt,name=networkMode,proto3" json:"networkMode,omitempty"` Ipv4Addresses []string `protobuf:"bytes,2,rep,name=ipv4Addresses,proto3" json:"ipv4Addresses,omitempty"` Ipv6Addresses []string `protobuf:"bytes,3,rep,name=ipv6Addresses,proto3" json:"ipv6Addresses,omitempty"` } -func (m *ECSContainerNetwork) Reset() { *m = ECSContainerNetwork{} } -func (m *ECSContainerNetwork) String() string { return proto.CompactTextString(m) } -func (*ECSContainerNetwork) ProtoMessage() {} -func (*ECSContainerNetwork) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{10} -} -func (m *ECSContainerNetwork) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ECSContainerNetwork) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ECSContainerNetwork.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ECSContainerNetwork) Reset() { + *x = ECSContainerNetwork{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ECSContainerNetwork) XXX_Merge(src proto.Message) { - xxx_messageInfo_ECSContainerNetwork.Merge(m, src) -} -func (m *ECSContainerNetwork) XXX_Size() int { - return m.Size() + +func (x *ECSContainerNetwork) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ECSContainerNetwork) XXX_DiscardUnknown() { - xxx_messageInfo_ECSContainerNetwork.DiscardUnknown(m) + +func (*ECSContainerNetwork) ProtoMessage() {} + +func (x *ECSContainerNetwork) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[10] + 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) } -var xxx_messageInfo_ECSContainerNetwork proto.InternalMessageInfo +// Deprecated: Use ECSContainerNetwork.ProtoReflect.Descriptor instead. +func (*ECSContainerNetwork) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{10} +} -func (m *ECSContainerNetwork) GetNetworkMode() string { - if m != nil { - return m.NetworkMode +func (x *ECSContainerNetwork) GetNetworkMode() string { + if x != nil { + return x.NetworkMode } return "" } -func (m *ECSContainerNetwork) GetIpv4Addresses() []string { - if m != nil { - return m.Ipv4Addresses +func (x *ECSContainerNetwork) GetIpv4Addresses() []string { + if x != nil { + return x.Ipv4Addresses } return nil } -func (m *ECSContainerNetwork) GetIpv6Addresses() []string { - if m != nil { - return m.Ipv6Addresses +func (x *ECSContainerNetwork) GetIpv6Addresses() []string { + if x != nil { + return x.Ipv6Addresses } return nil } type ECSContainerPort struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + ContainerPort int32 `protobuf:"varint,1,opt,name=containerPort,proto3" json:"containerPort,omitempty"` Protocol string `protobuf:"bytes,2,opt,name=protocol,proto3" json:"protocol,omitempty"` HostIp string `protobuf:"bytes,3,opt,name=hostIp,proto3" json:"hostIp,omitempty"` HostPort int32 `protobuf:"varint,4,opt,name=hostPort,proto3" json:"hostPort,omitempty"` } -func (m *ECSContainerPort) Reset() { *m = ECSContainerPort{} } -func (m *ECSContainerPort) String() string { return proto.CompactTextString(m) } -func (*ECSContainerPort) ProtoMessage() {} -func (*ECSContainerPort) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{11} -} -func (m *ECSContainerPort) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ECSContainerPort) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ECSContainerPort.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ECSContainerPort) Reset() { + *x = ECSContainerPort{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ECSContainerPort) XXX_Merge(src proto.Message) { - xxx_messageInfo_ECSContainerPort.Merge(m, src) -} -func (m *ECSContainerPort) XXX_Size() int { - return m.Size() + +func (x *ECSContainerPort) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ECSContainerPort) XXX_DiscardUnknown() { - xxx_messageInfo_ECSContainerPort.DiscardUnknown(m) + +func (*ECSContainerPort) ProtoMessage() {} + +func (x *ECSContainerPort) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[11] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ECSContainerPort proto.InternalMessageInfo +// Deprecated: Use ECSContainerPort.ProtoReflect.Descriptor instead. +func (*ECSContainerPort) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{11} +} -func (m *ECSContainerPort) GetContainerPort() int32 { - if m != nil { - return m.ContainerPort +func (x *ECSContainerPort) GetContainerPort() int32 { + if x != nil { + return x.ContainerPort } return 0 } -func (m *ECSContainerPort) GetProtocol() string { - if m != nil { - return m.Protocol +func (x *ECSContainerPort) GetProtocol() string { + if x != nil { + return x.Protocol } return "" } -func (m *ECSContainerPort) GetHostIp() string { - if m != nil { - return m.HostIp +func (x *ECSContainerPort) GetHostIp() string { + if x != nil { + return x.HostIp } return "" } -func (m *ECSContainerPort) GetHostPort() int32 { - if m != nil { - return m.HostPort +func (x *ECSContainerPort) GetHostPort() int32 { + if x != nil { + return x.HostPort } return 0 } type ECSContainerVolume struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + DockerName string `protobuf:"bytes,1,opt,name=dockerName,proto3" json:"dockerName,omitempty"` Source string `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"` Destination string `protobuf:"bytes,3,opt,name=destination,proto3" json:"destination,omitempty"` } -func (m *ECSContainerVolume) Reset() { *m = ECSContainerVolume{} } -func (m *ECSContainerVolume) String() string { return proto.CompactTextString(m) } -func (*ECSContainerVolume) ProtoMessage() {} -func (*ECSContainerVolume) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{12} -} -func (m *ECSContainerVolume) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ECSContainerVolume) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ECSContainerVolume.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ECSContainerVolume) Reset() { + *x = ECSContainerVolume{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ECSContainerVolume) XXX_Merge(src proto.Message) { - xxx_messageInfo_ECSContainerVolume.Merge(m, src) -} -func (m *ECSContainerVolume) XXX_Size() int { - return m.Size() + +func (x *ECSContainerVolume) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ECSContainerVolume) XXX_DiscardUnknown() { - xxx_messageInfo_ECSContainerVolume.DiscardUnknown(m) + +func (*ECSContainerVolume) ProtoMessage() {} + +func (x *ECSContainerVolume) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[12] + 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) } -var xxx_messageInfo_ECSContainerVolume proto.InternalMessageInfo +// Deprecated: Use ECSContainerVolume.ProtoReflect.Descriptor instead. +func (*ECSContainerVolume) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{12} +} -func (m *ECSContainerVolume) GetDockerName() string { - if m != nil { - return m.DockerName +func (x *ECSContainerVolume) GetDockerName() string { + if x != nil { + return x.DockerName } return "" } -func (m *ECSContainerVolume) GetSource() string { - if m != nil { - return m.Source +func (x *ECSContainerVolume) GetSource() string { + if x != nil { + return x.Source } return "" } -func (m *ECSContainerVolume) GetDestination() string { - if m != nil { - return m.Destination +func (x *ECSContainerVolume) GetDestination() string { + if x != nil { + return x.Destination } return "" } type ECSContainerHealth struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` Since int64 `protobuf:"varint,2,opt,name=since,proto3" json:"since,omitempty"` ExitCode *ECSContainerExitCode `protobuf:"bytes,3,opt,name=exitCode,proto3" json:"exitCode,omitempty"` Output string `protobuf:"bytes,4,opt,name=output,proto3" json:"output,omitempty"` } -func (m *ECSContainerHealth) Reset() { *m = ECSContainerHealth{} } -func (m *ECSContainerHealth) String() string { return proto.CompactTextString(m) } -func (*ECSContainerHealth) ProtoMessage() {} -func (*ECSContainerHealth) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{13} -} -func (m *ECSContainerHealth) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ECSContainerHealth) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ECSContainerHealth.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ECSContainerHealth) Reset() { + *x = ECSContainerHealth{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ECSContainerHealth) XXX_Merge(src proto.Message) { - xxx_messageInfo_ECSContainerHealth.Merge(m, src) -} -func (m *ECSContainerHealth) XXX_Size() int { - return m.Size() + +func (x *ECSContainerHealth) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ECSContainerHealth) XXX_DiscardUnknown() { - xxx_messageInfo_ECSContainerHealth.DiscardUnknown(m) + +func (*ECSContainerHealth) ProtoMessage() {} + +func (x *ECSContainerHealth) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[13] + 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) } -var xxx_messageInfo_ECSContainerHealth proto.InternalMessageInfo +// Deprecated: Use ECSContainerHealth.ProtoReflect.Descriptor instead. +func (*ECSContainerHealth) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{13} +} -func (m *ECSContainerHealth) GetStatus() string { - if m != nil { - return m.Status +func (x *ECSContainerHealth) GetStatus() string { + if x != nil { + return x.Status } return "" } -func (m *ECSContainerHealth) GetSince() int64 { - if m != nil { - return m.Since +func (x *ECSContainerHealth) GetSince() int64 { + if x != nil { + return x.Since } return 0 } -func (m *ECSContainerHealth) GetExitCode() *ECSContainerExitCode { - if m != nil { - return m.ExitCode +func (x *ECSContainerHealth) GetExitCode() *ECSContainerExitCode { + if x != nil { + return x.ExitCode } return nil } -func (m *ECSContainerHealth) GetOutput() string { - if m != nil { - return m.Output +func (x *ECSContainerHealth) GetOutput() string { + if x != nil { + return x.Output } return "" } type ECSContainerExitCode struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + ExitCode int32 `protobuf:"varint,3,opt,name=exitCode,proto3" json:"exitCode,omitempty"` } -func (m *ECSContainerExitCode) Reset() { *m = ECSContainerExitCode{} } -func (m *ECSContainerExitCode) String() string { return proto.CompactTextString(m) } -func (*ECSContainerExitCode) ProtoMessage() {} -func (*ECSContainerExitCode) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{14} -} -func (m *ECSContainerExitCode) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ECSContainerExitCode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ECSContainerExitCode.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ECSContainerExitCode) Reset() { + *x = ECSContainerExitCode{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ECSContainerExitCode) XXX_Merge(src proto.Message) { - xxx_messageInfo_ECSContainerExitCode.Merge(m, src) -} -func (m *ECSContainerExitCode) XXX_Size() int { - return m.Size() + +func (x *ECSContainerExitCode) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ECSContainerExitCode) XXX_DiscardUnknown() { - xxx_messageInfo_ECSContainerExitCode.DiscardUnknown(m) + +func (*ECSContainerExitCode) ProtoMessage() {} + +func (x *ECSContainerExitCode) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[14] + 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) } -var xxx_messageInfo_ECSContainerExitCode proto.InternalMessageInfo +// Deprecated: Use ECSContainerExitCode.ProtoReflect.Descriptor instead. +func (*ECSContainerExitCode) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{14} +} -func (m *ECSContainerExitCode) GetExitCode() int32 { - if m != nil { - return m.ExitCode +func (x *ECSContainerExitCode) GetExitCode() int32 { + if x != nil { + return x.ExitCode } return 0 } type CollectorPod struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + HostName string `protobuf:"bytes,1,opt,name=hostName,proto3" json:"hostName,omitempty"` ClusterName string `protobuf:"bytes,2,opt,name=clusterName,proto3" json:"clusterName,omitempty"` ClusterId string `protobuf:"bytes,3,opt,name=clusterId,proto3" json:"clusterId,omitempty"` GroupId int32 `protobuf:"varint,4,opt,name=groupId,proto3" json:"groupId,omitempty"` GroupSize int32 `protobuf:"varint,5,opt,name=groupSize,proto3" json:"groupSize,omitempty"` Pods []*Pod `protobuf:"bytes,6,rep,name=pods,proto3" json:"pods,omitempty"` - Host *Host `protobuf:"bytes,7,opt,name=host,proto3" json:"host,omitempty"` + Host *Host `protobuf:"bytes,7,opt,name=host,proto3" json:"host,omitempty"` // Post-resolved field Tags []string `protobuf:"bytes,8,rep,name=tags,proto3" json:"tags,omitempty"` Info *SystemInfo `protobuf:"bytes,9,opt,name=info,proto3" json:"info,omitempty"` } -func (m *CollectorPod) Reset() { *m = CollectorPod{} } -func (m *CollectorPod) String() string { return proto.CompactTextString(m) } -func (*CollectorPod) ProtoMessage() {} -func (*CollectorPod) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{15} -} -func (m *CollectorPod) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *CollectorPod) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_CollectorPod.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *CollectorPod) Reset() { + *x = CollectorPod{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *CollectorPod) XXX_Merge(src proto.Message) { - xxx_messageInfo_CollectorPod.Merge(m, src) -} -func (m *CollectorPod) XXX_Size() int { - return m.Size() + +func (x *CollectorPod) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CollectorPod) XXX_DiscardUnknown() { - xxx_messageInfo_CollectorPod.DiscardUnknown(m) + +func (*CollectorPod) ProtoMessage() {} + +func (x *CollectorPod) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[15] + 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) } -var xxx_messageInfo_CollectorPod proto.InternalMessageInfo +// Deprecated: Use CollectorPod.ProtoReflect.Descriptor instead. +func (*CollectorPod) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{15} +} -func (m *CollectorPod) GetHostName() string { - if m != nil { - return m.HostName +func (x *CollectorPod) GetHostName() string { + if x != nil { + return x.HostName } return "" } -func (m *CollectorPod) GetClusterName() string { - if m != nil { - return m.ClusterName +func (x *CollectorPod) GetClusterName() string { + if x != nil { + return x.ClusterName } return "" } -func (m *CollectorPod) GetClusterId() string { - if m != nil { - return m.ClusterId +func (x *CollectorPod) GetClusterId() string { + if x != nil { + return x.ClusterId } return "" } -func (m *CollectorPod) GetGroupId() int32 { - if m != nil { - return m.GroupId +func (x *CollectorPod) GetGroupId() int32 { + if x != nil { + return x.GroupId } return 0 } -func (m *CollectorPod) GetGroupSize() int32 { - if m != nil { - return m.GroupSize +func (x *CollectorPod) GetGroupSize() int32 { + if x != nil { + return x.GroupSize } return 0 } -func (m *CollectorPod) GetPods() []*Pod { - if m != nil { - return m.Pods +func (x *CollectorPod) GetPods() []*Pod { + if x != nil { + return x.Pods } return nil } -func (m *CollectorPod) GetHost() *Host { - if m != nil { - return m.Host +func (x *CollectorPod) GetHost() *Host { + if x != nil { + return x.Host } return nil } -func (m *CollectorPod) GetTags() []string { - if m != nil { - return m.Tags +func (x *CollectorPod) GetTags() []string { + if x != nil { + return x.Tags } return nil } -func (m *CollectorPod) GetInfo() *SystemInfo { - if m != nil { - return m.Info +func (x *CollectorPod) GetInfo() *SystemInfo { + if x != nil { + return x.Info } return nil } type CollectorPodDisruptionBudget struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + ClusterName string `protobuf:"bytes,1,opt,name=clusterName,proto3" json:"clusterName,omitempty"` ClusterId string `protobuf:"bytes,2,opt,name=clusterId,proto3" json:"clusterId,omitempty"` GroupId int32 `protobuf:"varint,3,opt,name=groupId,proto3" json:"groupId,omitempty"` @@ -2128,82 +2352,85 @@ type CollectorPodDisruptionBudget struct { GroupSize int32 `protobuf:"varint,6,opt,name=groupSize,proto3" json:"groupSize,omitempty"` } -func (m *CollectorPodDisruptionBudget) Reset() { *m = CollectorPodDisruptionBudget{} } -func (m *CollectorPodDisruptionBudget) String() string { return proto.CompactTextString(m) } -func (*CollectorPodDisruptionBudget) ProtoMessage() {} -func (*CollectorPodDisruptionBudget) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{16} -} -func (m *CollectorPodDisruptionBudget) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *CollectorPodDisruptionBudget) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_CollectorPodDisruptionBudget.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *CollectorPodDisruptionBudget) Reset() { + *x = CollectorPodDisruptionBudget{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *CollectorPodDisruptionBudget) XXX_Merge(src proto.Message) { - xxx_messageInfo_CollectorPodDisruptionBudget.Merge(m, src) -} -func (m *CollectorPodDisruptionBudget) XXX_Size() int { - return m.Size() + +func (x *CollectorPodDisruptionBudget) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CollectorPodDisruptionBudget) XXX_DiscardUnknown() { - xxx_messageInfo_CollectorPodDisruptionBudget.DiscardUnknown(m) + +func (*CollectorPodDisruptionBudget) ProtoMessage() {} + +func (x *CollectorPodDisruptionBudget) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[16] + 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) } -var xxx_messageInfo_CollectorPodDisruptionBudget proto.InternalMessageInfo +// Deprecated: Use CollectorPodDisruptionBudget.ProtoReflect.Descriptor instead. +func (*CollectorPodDisruptionBudget) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{16} +} -func (m *CollectorPodDisruptionBudget) GetClusterName() string { - if m != nil { - return m.ClusterName +func (x *CollectorPodDisruptionBudget) GetClusterName() string { + if x != nil { + return x.ClusterName } return "" } -func (m *CollectorPodDisruptionBudget) GetClusterId() string { - if m != nil { - return m.ClusterId +func (x *CollectorPodDisruptionBudget) GetClusterId() string { + if x != nil { + return x.ClusterId } return "" } -func (m *CollectorPodDisruptionBudget) GetGroupId() int32 { - if m != nil { - return m.GroupId +func (x *CollectorPodDisruptionBudget) GetGroupId() int32 { + if x != nil { + return x.GroupId } return 0 } -func (m *CollectorPodDisruptionBudget) GetPodDisruptionBudgets() []*PodDisruptionBudget { - if m != nil { - return m.PodDisruptionBudgets +func (x *CollectorPodDisruptionBudget) GetPodDisruptionBudgets() []*PodDisruptionBudget { + if x != nil { + return x.PodDisruptionBudgets } return nil } -func (m *CollectorPodDisruptionBudget) GetTags() []string { - if m != nil { - return m.Tags +func (x *CollectorPodDisruptionBudget) GetTags() []string { + if x != nil { + return x.Tags } return nil } -func (m *CollectorPodDisruptionBudget) GetGroupSize() int32 { - if m != nil { - return m.GroupSize +func (x *CollectorPodDisruptionBudget) GetGroupSize() int32 { + if x != nil { + return x.GroupSize } return 0 } type CollectorReplicaSet struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + ClusterName string `protobuf:"bytes,1,opt,name=clusterName,proto3" json:"clusterName,omitempty"` ClusterId string `protobuf:"bytes,2,opt,name=clusterId,proto3" json:"clusterId,omitempty"` GroupId int32 `protobuf:"varint,3,opt,name=groupId,proto3" json:"groupId,omitempty"` @@ -2212,82 +2439,85 @@ type CollectorReplicaSet struct { Tags []string `protobuf:"bytes,6,rep,name=tags,proto3" json:"tags,omitempty"` } -func (m *CollectorReplicaSet) Reset() { *m = CollectorReplicaSet{} } -func (m *CollectorReplicaSet) String() string { return proto.CompactTextString(m) } -func (*CollectorReplicaSet) ProtoMessage() {} -func (*CollectorReplicaSet) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{17} -} -func (m *CollectorReplicaSet) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *CollectorReplicaSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_CollectorReplicaSet.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *CollectorReplicaSet) Reset() { + *x = CollectorReplicaSet{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *CollectorReplicaSet) XXX_Merge(src proto.Message) { - xxx_messageInfo_CollectorReplicaSet.Merge(m, src) -} -func (m *CollectorReplicaSet) XXX_Size() int { - return m.Size() + +func (x *CollectorReplicaSet) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CollectorReplicaSet) XXX_DiscardUnknown() { - xxx_messageInfo_CollectorReplicaSet.DiscardUnknown(m) + +func (*CollectorReplicaSet) ProtoMessage() {} + +func (x *CollectorReplicaSet) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[17] + 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) } -var xxx_messageInfo_CollectorReplicaSet proto.InternalMessageInfo +// Deprecated: Use CollectorReplicaSet.ProtoReflect.Descriptor instead. +func (*CollectorReplicaSet) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{17} +} -func (m *CollectorReplicaSet) GetClusterName() string { - if m != nil { - return m.ClusterName +func (x *CollectorReplicaSet) GetClusterName() string { + if x != nil { + return x.ClusterName } return "" } -func (m *CollectorReplicaSet) GetClusterId() string { - if m != nil { - return m.ClusterId +func (x *CollectorReplicaSet) GetClusterId() string { + if x != nil { + return x.ClusterId } return "" } -func (m *CollectorReplicaSet) GetGroupId() int32 { - if m != nil { - return m.GroupId +func (x *CollectorReplicaSet) GetGroupId() int32 { + if x != nil { + return x.GroupId } return 0 } -func (m *CollectorReplicaSet) GetGroupSize() int32 { - if m != nil { - return m.GroupSize +func (x *CollectorReplicaSet) GetGroupSize() int32 { + if x != nil { + return x.GroupSize } return 0 } -func (m *CollectorReplicaSet) GetReplicaSets() []*ReplicaSet { - if m != nil { - return m.ReplicaSets +func (x *CollectorReplicaSet) GetReplicaSets() []*ReplicaSet { + if x != nil { + return x.ReplicaSets } return nil } -func (m *CollectorReplicaSet) GetTags() []string { - if m != nil { - return m.Tags +func (x *CollectorReplicaSet) GetTags() []string { + if x != nil { + return x.Tags } return nil } type CollectorDeployment struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + ClusterName string `protobuf:"bytes,1,opt,name=clusterName,proto3" json:"clusterName,omitempty"` ClusterId string `protobuf:"bytes,2,opt,name=clusterId,proto3" json:"clusterId,omitempty"` GroupId int32 `protobuf:"varint,3,opt,name=groupId,proto3" json:"groupId,omitempty"` @@ -2296,82 +2526,85 @@ type CollectorDeployment struct { Tags []string `protobuf:"bytes,6,rep,name=tags,proto3" json:"tags,omitempty"` } -func (m *CollectorDeployment) Reset() { *m = CollectorDeployment{} } -func (m *CollectorDeployment) String() string { return proto.CompactTextString(m) } -func (*CollectorDeployment) ProtoMessage() {} -func (*CollectorDeployment) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{18} -} -func (m *CollectorDeployment) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *CollectorDeployment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_CollectorDeployment.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *CollectorDeployment) Reset() { + *x = CollectorDeployment{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *CollectorDeployment) XXX_Merge(src proto.Message) { - xxx_messageInfo_CollectorDeployment.Merge(m, src) -} -func (m *CollectorDeployment) XXX_Size() int { - return m.Size() + +func (x *CollectorDeployment) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CollectorDeployment) XXX_DiscardUnknown() { - xxx_messageInfo_CollectorDeployment.DiscardUnknown(m) + +func (*CollectorDeployment) ProtoMessage() {} + +func (x *CollectorDeployment) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[18] + 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) } -var xxx_messageInfo_CollectorDeployment proto.InternalMessageInfo +// Deprecated: Use CollectorDeployment.ProtoReflect.Descriptor instead. +func (*CollectorDeployment) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{18} +} -func (m *CollectorDeployment) GetClusterName() string { - if m != nil { - return m.ClusterName +func (x *CollectorDeployment) GetClusterName() string { + if x != nil { + return x.ClusterName } return "" } -func (m *CollectorDeployment) GetClusterId() string { - if m != nil { - return m.ClusterId +func (x *CollectorDeployment) GetClusterId() string { + if x != nil { + return x.ClusterId } return "" } -func (m *CollectorDeployment) GetGroupId() int32 { - if m != nil { - return m.GroupId +func (x *CollectorDeployment) GetGroupId() int32 { + if x != nil { + return x.GroupId } return 0 } -func (m *CollectorDeployment) GetGroupSize() int32 { - if m != nil { - return m.GroupSize +func (x *CollectorDeployment) GetGroupSize() int32 { + if x != nil { + return x.GroupSize } return 0 } -func (m *CollectorDeployment) GetDeployments() []*Deployment { - if m != nil { - return m.Deployments +func (x *CollectorDeployment) GetDeployments() []*Deployment { + if x != nil { + return x.Deployments } return nil } -func (m *CollectorDeployment) GetTags() []string { - if m != nil { - return m.Tags +func (x *CollectorDeployment) GetTags() []string { + if x != nil { + return x.Tags } return nil } type CollectorService struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + ClusterName string `protobuf:"bytes,1,opt,name=clusterName,proto3" json:"clusterName,omitempty"` ClusterId string `protobuf:"bytes,2,opt,name=clusterId,proto3" json:"clusterId,omitempty"` GroupId int32 `protobuf:"varint,3,opt,name=groupId,proto3" json:"groupId,omitempty"` @@ -2380,82 +2613,85 @@ type CollectorService struct { Tags []string `protobuf:"bytes,6,rep,name=tags,proto3" json:"tags,omitempty"` } -func (m *CollectorService) Reset() { *m = CollectorService{} } -func (m *CollectorService) String() string { return proto.CompactTextString(m) } -func (*CollectorService) ProtoMessage() {} -func (*CollectorService) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{19} -} -func (m *CollectorService) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *CollectorService) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_CollectorService.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *CollectorService) Reset() { + *x = CollectorService{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *CollectorService) XXX_Merge(src proto.Message) { - xxx_messageInfo_CollectorService.Merge(m, src) -} -func (m *CollectorService) XXX_Size() int { - return m.Size() + +func (x *CollectorService) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CollectorService) XXX_DiscardUnknown() { - xxx_messageInfo_CollectorService.DiscardUnknown(m) + +func (*CollectorService) ProtoMessage() {} + +func (x *CollectorService) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[19] + 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) } -var xxx_messageInfo_CollectorService proto.InternalMessageInfo +// Deprecated: Use CollectorService.ProtoReflect.Descriptor instead. +func (*CollectorService) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{19} +} -func (m *CollectorService) GetClusterName() string { - if m != nil { - return m.ClusterName +func (x *CollectorService) GetClusterName() string { + if x != nil { + return x.ClusterName } return "" } -func (m *CollectorService) GetClusterId() string { - if m != nil { - return m.ClusterId +func (x *CollectorService) GetClusterId() string { + if x != nil { + return x.ClusterId } return "" } -func (m *CollectorService) GetGroupId() int32 { - if m != nil { - return m.GroupId +func (x *CollectorService) GetGroupId() int32 { + if x != nil { + return x.GroupId } return 0 } -func (m *CollectorService) GetGroupSize() int32 { - if m != nil { - return m.GroupSize +func (x *CollectorService) GetGroupSize() int32 { + if x != nil { + return x.GroupSize } return 0 } -func (m *CollectorService) GetServices() []*Service { - if m != nil { - return m.Services +func (x *CollectorService) GetServices() []*Service { + if x != nil { + return x.Services } return nil } -func (m *CollectorService) GetTags() []string { - if m != nil { - return m.Tags +func (x *CollectorService) GetTags() []string { + if x != nil { + return x.Tags } return nil } type CollectorNode struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + ClusterName string `protobuf:"bytes,1,opt,name=clusterName,proto3" json:"clusterName,omitempty"` ClusterId string `protobuf:"bytes,2,opt,name=clusterId,proto3" json:"clusterId,omitempty"` GroupId int32 `protobuf:"varint,3,opt,name=groupId,proto3" json:"groupId,omitempty"` @@ -2465,89 +2701,92 @@ type CollectorNode struct { HostAliasMapping map[string]*Host `protobuf:"bytes,7,rep,name=hostAliasMapping,proto3" json:"hostAliasMapping,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } -func (m *CollectorNode) Reset() { *m = CollectorNode{} } -func (m *CollectorNode) String() string { return proto.CompactTextString(m) } -func (*CollectorNode) ProtoMessage() {} -func (*CollectorNode) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{20} -} -func (m *CollectorNode) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *CollectorNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_CollectorNode.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *CollectorNode) Reset() { + *x = CollectorNode{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *CollectorNode) XXX_Merge(src proto.Message) { - xxx_messageInfo_CollectorNode.Merge(m, src) -} -func (m *CollectorNode) XXX_Size() int { - return m.Size() + +func (x *CollectorNode) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CollectorNode) XXX_DiscardUnknown() { - xxx_messageInfo_CollectorNode.DiscardUnknown(m) + +func (*CollectorNode) ProtoMessage() {} + +func (x *CollectorNode) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[20] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_CollectorNode proto.InternalMessageInfo +// Deprecated: Use CollectorNode.ProtoReflect.Descriptor instead. +func (*CollectorNode) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{20} +} -func (m *CollectorNode) GetClusterName() string { - if m != nil { - return m.ClusterName +func (x *CollectorNode) GetClusterName() string { + if x != nil { + return x.ClusterName } return "" } -func (m *CollectorNode) GetClusterId() string { - if m != nil { - return m.ClusterId +func (x *CollectorNode) GetClusterId() string { + if x != nil { + return x.ClusterId } return "" } -func (m *CollectorNode) GetGroupId() int32 { - if m != nil { - return m.GroupId +func (x *CollectorNode) GetGroupId() int32 { + if x != nil { + return x.GroupId } return 0 } -func (m *CollectorNode) GetGroupSize() int32 { - if m != nil { - return m.GroupSize +func (x *CollectorNode) GetGroupSize() int32 { + if x != nil { + return x.GroupSize } return 0 } -func (m *CollectorNode) GetNodes() []*Node { - if m != nil { - return m.Nodes +func (x *CollectorNode) GetNodes() []*Node { + if x != nil { + return x.Nodes } return nil } -func (m *CollectorNode) GetTags() []string { - if m != nil { - return m.Tags +func (x *CollectorNode) GetTags() []string { + if x != nil { + return x.Tags } return nil } -func (m *CollectorNode) GetHostAliasMapping() map[string]*Host { - if m != nil { - return m.HostAliasMapping +func (x *CollectorNode) GetHostAliasMapping() map[string]*Host { + if x != nil { + return x.HostAliasMapping } return nil } type CollectorCluster struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + ClusterName string `protobuf:"bytes,1,opt,name=clusterName,proto3" json:"clusterName,omitempty"` ClusterId string `protobuf:"bytes,2,opt,name=clusterId,proto3" json:"clusterId,omitempty"` GroupId int32 `protobuf:"varint,3,opt,name=groupId,proto3" json:"groupId,omitempty"` @@ -2556,83 +2795,86 @@ type CollectorCluster struct { Tags []string `protobuf:"bytes,6,rep,name=tags,proto3" json:"tags,omitempty"` } -func (m *CollectorCluster) Reset() { *m = CollectorCluster{} } -func (m *CollectorCluster) String() string { return proto.CompactTextString(m) } -func (*CollectorCluster) ProtoMessage() {} -func (*CollectorCluster) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{21} -} -func (m *CollectorCluster) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *CollectorCluster) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_CollectorCluster.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *CollectorCluster) Reset() { + *x = CollectorCluster{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *CollectorCluster) XXX_Merge(src proto.Message) { - xxx_messageInfo_CollectorCluster.Merge(m, src) -} -func (m *CollectorCluster) XXX_Size() int { - return m.Size() + +func (x *CollectorCluster) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CollectorCluster) XXX_DiscardUnknown() { - xxx_messageInfo_CollectorCluster.DiscardUnknown(m) + +func (*CollectorCluster) ProtoMessage() {} + +func (x *CollectorCluster) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[21] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_CollectorCluster proto.InternalMessageInfo +// Deprecated: Use CollectorCluster.ProtoReflect.Descriptor instead. +func (*CollectorCluster) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{21} +} -func (m *CollectorCluster) GetClusterName() string { - if m != nil { - return m.ClusterName +func (x *CollectorCluster) GetClusterName() string { + if x != nil { + return x.ClusterName } return "" } -func (m *CollectorCluster) GetClusterId() string { - if m != nil { - return m.ClusterId +func (x *CollectorCluster) GetClusterId() string { + if x != nil { + return x.ClusterId } return "" } -func (m *CollectorCluster) GetGroupId() int32 { - if m != nil { - return m.GroupId +func (x *CollectorCluster) GetGroupId() int32 { + if x != nil { + return x.GroupId } return 0 } -func (m *CollectorCluster) GetGroupSize() int32 { - if m != nil { - return m.GroupSize +func (x *CollectorCluster) GetGroupSize() int32 { + if x != nil { + return x.GroupSize } return 0 } -func (m *CollectorCluster) GetCluster() *Cluster { - if m != nil { - return m.Cluster +func (x *CollectorCluster) GetCluster() *Cluster { + if x != nil { + return x.Cluster } return nil } -func (m *CollectorCluster) GetTags() []string { - if m != nil { - return m.Tags +func (x *CollectorCluster) GetTags() []string { + if x != nil { + return x.Tags } return nil } // CollectorManifest is the dedicated payload/pipeline for the yaml collection type CollectorManifest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + ClusterName string `protobuf:"bytes,1,opt,name=clusterName,proto3" json:"clusterName,omitempty"` ClusterId string `protobuf:"bytes,2,opt,name=clusterId,proto3" json:"clusterId,omitempty"` GroupId int32 `protobuf:"varint,3,opt,name=groupId,proto3" json:"groupId,omitempty"` @@ -2641,186 +2883,195 @@ type CollectorManifest struct { Tags []string `protobuf:"bytes,6,rep,name=tags,proto3" json:"tags,omitempty"` } -func (m *CollectorManifest) Reset() { *m = CollectorManifest{} } -func (m *CollectorManifest) String() string { return proto.CompactTextString(m) } -func (*CollectorManifest) ProtoMessage() {} -func (*CollectorManifest) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{22} -} -func (m *CollectorManifest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *CollectorManifest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_CollectorManifest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *CollectorManifest) Reset() { + *x = CollectorManifest{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *CollectorManifest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CollectorManifest.Merge(m, src) -} -func (m *CollectorManifest) XXX_Size() int { - return m.Size() + +func (x *CollectorManifest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CollectorManifest) XXX_DiscardUnknown() { - xxx_messageInfo_CollectorManifest.DiscardUnknown(m) + +func (*CollectorManifest) ProtoMessage() {} + +func (x *CollectorManifest) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[22] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_CollectorManifest proto.InternalMessageInfo +// Deprecated: Use CollectorManifest.ProtoReflect.Descriptor instead. +func (*CollectorManifest) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{22} +} -func (m *CollectorManifest) GetClusterName() string { - if m != nil { - return m.ClusterName +func (x *CollectorManifest) GetClusterName() string { + if x != nil { + return x.ClusterName } return "" } -func (m *CollectorManifest) GetClusterId() string { - if m != nil { - return m.ClusterId +func (x *CollectorManifest) GetClusterId() string { + if x != nil { + return x.ClusterId } return "" } -func (m *CollectorManifest) GetGroupId() int32 { - if m != nil { - return m.GroupId +func (x *CollectorManifest) GetGroupId() int32 { + if x != nil { + return x.GroupId } return 0 } -func (m *CollectorManifest) GetGroupSize() int32 { - if m != nil { - return m.GroupSize +func (x *CollectorManifest) GetGroupSize() int32 { + if x != nil { + return x.GroupSize } return 0 } -func (m *CollectorManifest) GetManifests() []*Manifest { - if m != nil { - return m.Manifests +func (x *CollectorManifest) GetManifests() []*Manifest { + if x != nil { + return x.Manifests } return nil } -func (m *CollectorManifest) GetTags() []string { - if m != nil { - return m.Tags +func (x *CollectorManifest) GetTags() []string { + if x != nil { + return x.Tags } return nil } type CollectorManifestCRD struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Manifest *CollectorManifest `protobuf:"bytes,1,opt,name=manifest,proto3" json:"manifest,omitempty"` Tags []string `protobuf:"bytes,2,rep,name=tags,proto3" json:"tags,omitempty"` } -func (m *CollectorManifestCRD) Reset() { *m = CollectorManifestCRD{} } -func (m *CollectorManifestCRD) String() string { return proto.CompactTextString(m) } -func (*CollectorManifestCRD) ProtoMessage() {} -func (*CollectorManifestCRD) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{23} -} -func (m *CollectorManifestCRD) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *CollectorManifestCRD) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_CollectorManifestCRD.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *CollectorManifestCRD) Reset() { + *x = CollectorManifestCRD{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *CollectorManifestCRD) XXX_Merge(src proto.Message) { - xxx_messageInfo_CollectorManifestCRD.Merge(m, src) -} -func (m *CollectorManifestCRD) XXX_Size() int { - return m.Size() + +func (x *CollectorManifestCRD) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CollectorManifestCRD) XXX_DiscardUnknown() { - xxx_messageInfo_CollectorManifestCRD.DiscardUnknown(m) + +func (*CollectorManifestCRD) ProtoMessage() {} + +func (x *CollectorManifestCRD) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[23] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_CollectorManifestCRD proto.InternalMessageInfo +// Deprecated: Use CollectorManifestCRD.ProtoReflect.Descriptor instead. +func (*CollectorManifestCRD) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{23} +} -func (m *CollectorManifestCRD) GetManifest() *CollectorManifest { - if m != nil { - return m.Manifest +func (x *CollectorManifestCRD) GetManifest() *CollectorManifest { + if x != nil { + return x.Manifest } return nil } -func (m *CollectorManifestCRD) GetTags() []string { - if m != nil { - return m.Tags +func (x *CollectorManifestCRD) GetTags() []string { + if x != nil { + return x.Tags } return nil } type CollectorManifestCR struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Manifest *CollectorManifest `protobuf:"bytes,1,opt,name=manifest,proto3" json:"manifest,omitempty"` Tags []string `protobuf:"bytes,2,rep,name=tags,proto3" json:"tags,omitempty"` } -func (m *CollectorManifestCR) Reset() { *m = CollectorManifestCR{} } -func (m *CollectorManifestCR) String() string { return proto.CompactTextString(m) } -func (*CollectorManifestCR) ProtoMessage() {} -func (*CollectorManifestCR) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{24} -} -func (m *CollectorManifestCR) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *CollectorManifestCR) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_CollectorManifestCR.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *CollectorManifestCR) Reset() { + *x = CollectorManifestCR{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *CollectorManifestCR) XXX_Merge(src proto.Message) { - xxx_messageInfo_CollectorManifestCR.Merge(m, src) -} -func (m *CollectorManifestCR) XXX_Size() int { - return m.Size() + +func (x *CollectorManifestCR) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CollectorManifestCR) XXX_DiscardUnknown() { - xxx_messageInfo_CollectorManifestCR.DiscardUnknown(m) + +func (*CollectorManifestCR) ProtoMessage() {} + +func (x *CollectorManifestCR) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[24] + 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) } -var xxx_messageInfo_CollectorManifestCR proto.InternalMessageInfo +// Deprecated: Use CollectorManifestCR.ProtoReflect.Descriptor instead. +func (*CollectorManifestCR) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{24} +} -func (m *CollectorManifestCR) GetManifest() *CollectorManifest { - if m != nil { - return m.Manifest +func (x *CollectorManifestCR) GetManifest() *CollectorManifest { + if x != nil { + return x.Manifest } return nil } -func (m *CollectorManifestCR) GetTags() []string { - if m != nil { - return m.Tags +func (x *CollectorManifestCR) GetTags() []string { + if x != nil { + return x.Tags } return nil } type CollectorNamespace struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + ClusterName string `protobuf:"bytes,1,opt,name=clusterName,proto3" json:"clusterName,omitempty"` ClusterId string `protobuf:"bytes,2,opt,name=clusterId,proto3" json:"clusterId,omitempty"` GroupId int32 `protobuf:"varint,3,opt,name=groupId,proto3" json:"groupId,omitempty"` @@ -2829,82 +3080,85 @@ type CollectorNamespace struct { Tags []string `protobuf:"bytes,6,rep,name=tags,proto3" json:"tags,omitempty"` } -func (m *CollectorNamespace) Reset() { *m = CollectorNamespace{} } -func (m *CollectorNamespace) String() string { return proto.CompactTextString(m) } -func (*CollectorNamespace) ProtoMessage() {} -func (*CollectorNamespace) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{25} -} -func (m *CollectorNamespace) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *CollectorNamespace) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_CollectorNamespace.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *CollectorNamespace) Reset() { + *x = CollectorNamespace{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *CollectorNamespace) XXX_Merge(src proto.Message) { - xxx_messageInfo_CollectorNamespace.Merge(m, src) -} -func (m *CollectorNamespace) XXX_Size() int { - return m.Size() + +func (x *CollectorNamespace) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CollectorNamespace) XXX_DiscardUnknown() { - xxx_messageInfo_CollectorNamespace.DiscardUnknown(m) + +func (*CollectorNamespace) ProtoMessage() {} + +func (x *CollectorNamespace) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[25] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_CollectorNamespace proto.InternalMessageInfo +// Deprecated: Use CollectorNamespace.ProtoReflect.Descriptor instead. +func (*CollectorNamespace) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{25} +} -func (m *CollectorNamespace) GetClusterName() string { - if m != nil { - return m.ClusterName +func (x *CollectorNamespace) GetClusterName() string { + if x != nil { + return x.ClusterName } return "" } -func (m *CollectorNamespace) GetClusterId() string { - if m != nil { - return m.ClusterId +func (x *CollectorNamespace) GetClusterId() string { + if x != nil { + return x.ClusterId } return "" } -func (m *CollectorNamespace) GetGroupId() int32 { - if m != nil { - return m.GroupId +func (x *CollectorNamespace) GetGroupId() int32 { + if x != nil { + return x.GroupId } return 0 } -func (m *CollectorNamespace) GetGroupSize() int32 { - if m != nil { - return m.GroupSize +func (x *CollectorNamespace) GetGroupSize() int32 { + if x != nil { + return x.GroupSize } return 0 } -func (m *CollectorNamespace) GetNamespaces() []*Namespace { - if m != nil { - return m.Namespaces +func (x *CollectorNamespace) GetNamespaces() []*Namespace { + if x != nil { + return x.Namespaces } return nil } -func (m *CollectorNamespace) GetTags() []string { - if m != nil { - return m.Tags +func (x *CollectorNamespace) GetTags() []string { + if x != nil { + return x.Tags } return nil } type CollectorJob struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + ClusterName string `protobuf:"bytes,1,opt,name=clusterName,proto3" json:"clusterName,omitempty"` ClusterId string `protobuf:"bytes,2,opt,name=clusterId,proto3" json:"clusterId,omitempty"` GroupId int32 `protobuf:"varint,3,opt,name=groupId,proto3" json:"groupId,omitempty"` @@ -2913,82 +3167,85 @@ type CollectorJob struct { Tags []string `protobuf:"bytes,6,rep,name=tags,proto3" json:"tags,omitempty"` } -func (m *CollectorJob) Reset() { *m = CollectorJob{} } -func (m *CollectorJob) String() string { return proto.CompactTextString(m) } -func (*CollectorJob) ProtoMessage() {} -func (*CollectorJob) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{26} -} -func (m *CollectorJob) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *CollectorJob) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_CollectorJob.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *CollectorJob) Reset() { + *x = CollectorJob{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *CollectorJob) XXX_Merge(src proto.Message) { - xxx_messageInfo_CollectorJob.Merge(m, src) -} -func (m *CollectorJob) XXX_Size() int { - return m.Size() + +func (x *CollectorJob) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CollectorJob) XXX_DiscardUnknown() { - xxx_messageInfo_CollectorJob.DiscardUnknown(m) + +func (*CollectorJob) ProtoMessage() {} + +func (x *CollectorJob) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[26] + 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) } -var xxx_messageInfo_CollectorJob proto.InternalMessageInfo +// Deprecated: Use CollectorJob.ProtoReflect.Descriptor instead. +func (*CollectorJob) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{26} +} -func (m *CollectorJob) GetClusterName() string { - if m != nil { - return m.ClusterName +func (x *CollectorJob) GetClusterName() string { + if x != nil { + return x.ClusterName } return "" } -func (m *CollectorJob) GetClusterId() string { - if m != nil { - return m.ClusterId +func (x *CollectorJob) GetClusterId() string { + if x != nil { + return x.ClusterId } return "" } -func (m *CollectorJob) GetGroupId() int32 { - if m != nil { - return m.GroupId +func (x *CollectorJob) GetGroupId() int32 { + if x != nil { + return x.GroupId } return 0 } -func (m *CollectorJob) GetGroupSize() int32 { - if m != nil { - return m.GroupSize +func (x *CollectorJob) GetGroupSize() int32 { + if x != nil { + return x.GroupSize } return 0 } -func (m *CollectorJob) GetJobs() []*Job { - if m != nil { - return m.Jobs +func (x *CollectorJob) GetJobs() []*Job { + if x != nil { + return x.Jobs } return nil } -func (m *CollectorJob) GetTags() []string { - if m != nil { - return m.Tags +func (x *CollectorJob) GetTags() []string { + if x != nil { + return x.Tags } return nil } type CollectorCronJob struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + ClusterName string `protobuf:"bytes,1,opt,name=clusterName,proto3" json:"clusterName,omitempty"` ClusterId string `protobuf:"bytes,2,opt,name=clusterId,proto3" json:"clusterId,omitempty"` GroupId int32 `protobuf:"varint,3,opt,name=groupId,proto3" json:"groupId,omitempty"` @@ -2997,82 +3254,85 @@ type CollectorCronJob struct { Tags []string `protobuf:"bytes,6,rep,name=tags,proto3" json:"tags,omitempty"` } -func (m *CollectorCronJob) Reset() { *m = CollectorCronJob{} } -func (m *CollectorCronJob) String() string { return proto.CompactTextString(m) } -func (*CollectorCronJob) ProtoMessage() {} -func (*CollectorCronJob) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{27} -} -func (m *CollectorCronJob) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *CollectorCronJob) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_CollectorCronJob.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *CollectorCronJob) Reset() { + *x = CollectorCronJob{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *CollectorCronJob) XXX_Merge(src proto.Message) { - xxx_messageInfo_CollectorCronJob.Merge(m, src) -} -func (m *CollectorCronJob) XXX_Size() int { - return m.Size() + +func (x *CollectorCronJob) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CollectorCronJob) XXX_DiscardUnknown() { - xxx_messageInfo_CollectorCronJob.DiscardUnknown(m) + +func (*CollectorCronJob) ProtoMessage() {} + +func (x *CollectorCronJob) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[27] + 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) } -var xxx_messageInfo_CollectorCronJob proto.InternalMessageInfo +// Deprecated: Use CollectorCronJob.ProtoReflect.Descriptor instead. +func (*CollectorCronJob) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{27} +} -func (m *CollectorCronJob) GetClusterName() string { - if m != nil { - return m.ClusterName +func (x *CollectorCronJob) GetClusterName() string { + if x != nil { + return x.ClusterName } return "" } -func (m *CollectorCronJob) GetClusterId() string { - if m != nil { - return m.ClusterId +func (x *CollectorCronJob) GetClusterId() string { + if x != nil { + return x.ClusterId } return "" } -func (m *CollectorCronJob) GetGroupId() int32 { - if m != nil { - return m.GroupId +func (x *CollectorCronJob) GetGroupId() int32 { + if x != nil { + return x.GroupId } return 0 } -func (m *CollectorCronJob) GetGroupSize() int32 { - if m != nil { - return m.GroupSize +func (x *CollectorCronJob) GetGroupSize() int32 { + if x != nil { + return x.GroupSize } return 0 } -func (m *CollectorCronJob) GetCronJobs() []*CronJob { - if m != nil { - return m.CronJobs +func (x *CollectorCronJob) GetCronJobs() []*CronJob { + if x != nil { + return x.CronJobs } return nil } -func (m *CollectorCronJob) GetTags() []string { - if m != nil { - return m.Tags +func (x *CollectorCronJob) GetTags() []string { + if x != nil { + return x.Tags } return nil } type CollectorDaemonSet struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + ClusterName string `protobuf:"bytes,1,opt,name=clusterName,proto3" json:"clusterName,omitempty"` ClusterId string `protobuf:"bytes,2,opt,name=clusterId,proto3" json:"clusterId,omitempty"` GroupId int32 `protobuf:"varint,3,opt,name=groupId,proto3" json:"groupId,omitempty"` @@ -3081,82 +3341,85 @@ type CollectorDaemonSet struct { Tags []string `protobuf:"bytes,6,rep,name=tags,proto3" json:"tags,omitempty"` } -func (m *CollectorDaemonSet) Reset() { *m = CollectorDaemonSet{} } -func (m *CollectorDaemonSet) String() string { return proto.CompactTextString(m) } -func (*CollectorDaemonSet) ProtoMessage() {} -func (*CollectorDaemonSet) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{28} -} -func (m *CollectorDaemonSet) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *CollectorDaemonSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_CollectorDaemonSet.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *CollectorDaemonSet) Reset() { + *x = CollectorDaemonSet{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *CollectorDaemonSet) XXX_Merge(src proto.Message) { - xxx_messageInfo_CollectorDaemonSet.Merge(m, src) -} -func (m *CollectorDaemonSet) XXX_Size() int { - return m.Size() + +func (x *CollectorDaemonSet) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CollectorDaemonSet) XXX_DiscardUnknown() { - xxx_messageInfo_CollectorDaemonSet.DiscardUnknown(m) + +func (*CollectorDaemonSet) ProtoMessage() {} + +func (x *CollectorDaemonSet) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[28] + 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) } -var xxx_messageInfo_CollectorDaemonSet proto.InternalMessageInfo +// Deprecated: Use CollectorDaemonSet.ProtoReflect.Descriptor instead. +func (*CollectorDaemonSet) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{28} +} -func (m *CollectorDaemonSet) GetClusterName() string { - if m != nil { - return m.ClusterName +func (x *CollectorDaemonSet) GetClusterName() string { + if x != nil { + return x.ClusterName } return "" } -func (m *CollectorDaemonSet) GetClusterId() string { - if m != nil { - return m.ClusterId +func (x *CollectorDaemonSet) GetClusterId() string { + if x != nil { + return x.ClusterId } return "" } -func (m *CollectorDaemonSet) GetGroupId() int32 { - if m != nil { - return m.GroupId +func (x *CollectorDaemonSet) GetGroupId() int32 { + if x != nil { + return x.GroupId } return 0 } -func (m *CollectorDaemonSet) GetGroupSize() int32 { - if m != nil { - return m.GroupSize +func (x *CollectorDaemonSet) GetGroupSize() int32 { + if x != nil { + return x.GroupSize } return 0 } -func (m *CollectorDaemonSet) GetDaemonSets() []*DaemonSet { - if m != nil { - return m.DaemonSets +func (x *CollectorDaemonSet) GetDaemonSets() []*DaemonSet { + if x != nil { + return x.DaemonSets } return nil } -func (m *CollectorDaemonSet) GetTags() []string { - if m != nil { - return m.Tags +func (x *CollectorDaemonSet) GetTags() []string { + if x != nil { + return x.Tags } return nil } type CollectorStatefulSet struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + ClusterName string `protobuf:"bytes,1,opt,name=clusterName,proto3" json:"clusterName,omitempty"` ClusterId string `protobuf:"bytes,2,opt,name=clusterId,proto3" json:"clusterId,omitempty"` GroupId int32 `protobuf:"varint,3,opt,name=groupId,proto3" json:"groupId,omitempty"` @@ -3165,82 +3428,85 @@ type CollectorStatefulSet struct { Tags []string `protobuf:"bytes,6,rep,name=tags,proto3" json:"tags,omitempty"` } -func (m *CollectorStatefulSet) Reset() { *m = CollectorStatefulSet{} } -func (m *CollectorStatefulSet) String() string { return proto.CompactTextString(m) } -func (*CollectorStatefulSet) ProtoMessage() {} -func (*CollectorStatefulSet) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{29} -} -func (m *CollectorStatefulSet) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *CollectorStatefulSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_CollectorStatefulSet.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *CollectorStatefulSet) Reset() { + *x = CollectorStatefulSet{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[29] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *CollectorStatefulSet) XXX_Merge(src proto.Message) { - xxx_messageInfo_CollectorStatefulSet.Merge(m, src) -} -func (m *CollectorStatefulSet) XXX_Size() int { - return m.Size() + +func (x *CollectorStatefulSet) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CollectorStatefulSet) XXX_DiscardUnknown() { - xxx_messageInfo_CollectorStatefulSet.DiscardUnknown(m) + +func (*CollectorStatefulSet) ProtoMessage() {} + +func (x *CollectorStatefulSet) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[29] + 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) } -var xxx_messageInfo_CollectorStatefulSet proto.InternalMessageInfo +// Deprecated: Use CollectorStatefulSet.ProtoReflect.Descriptor instead. +func (*CollectorStatefulSet) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{29} +} -func (m *CollectorStatefulSet) GetClusterName() string { - if m != nil { - return m.ClusterName +func (x *CollectorStatefulSet) GetClusterName() string { + if x != nil { + return x.ClusterName } return "" } -func (m *CollectorStatefulSet) GetClusterId() string { - if m != nil { - return m.ClusterId +func (x *CollectorStatefulSet) GetClusterId() string { + if x != nil { + return x.ClusterId } return "" } -func (m *CollectorStatefulSet) GetGroupId() int32 { - if m != nil { - return m.GroupId +func (x *CollectorStatefulSet) GetGroupId() int32 { + if x != nil { + return x.GroupId } return 0 } -func (m *CollectorStatefulSet) GetGroupSize() int32 { - if m != nil { - return m.GroupSize +func (x *CollectorStatefulSet) GetGroupSize() int32 { + if x != nil { + return x.GroupSize } return 0 } -func (m *CollectorStatefulSet) GetStatefulSets() []*StatefulSet { - if m != nil { - return m.StatefulSets +func (x *CollectorStatefulSet) GetStatefulSets() []*StatefulSet { + if x != nil { + return x.StatefulSets } return nil } -func (m *CollectorStatefulSet) GetTags() []string { - if m != nil { - return m.Tags +func (x *CollectorStatefulSet) GetTags() []string { + if x != nil { + return x.Tags } return nil } type CollectorPersistentVolume struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + ClusterName string `protobuf:"bytes,1,opt,name=clusterName,proto3" json:"clusterName,omitempty"` ClusterId string `protobuf:"bytes,2,opt,name=clusterId,proto3" json:"clusterId,omitempty"` GroupId int32 `protobuf:"varint,3,opt,name=groupId,proto3" json:"groupId,omitempty"` @@ -3249,82 +3515,85 @@ type CollectorPersistentVolume struct { Tags []string `protobuf:"bytes,6,rep,name=tags,proto3" json:"tags,omitempty"` } -func (m *CollectorPersistentVolume) Reset() { *m = CollectorPersistentVolume{} } -func (m *CollectorPersistentVolume) String() string { return proto.CompactTextString(m) } -func (*CollectorPersistentVolume) ProtoMessage() {} -func (*CollectorPersistentVolume) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{30} -} -func (m *CollectorPersistentVolume) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *CollectorPersistentVolume) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_CollectorPersistentVolume.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *CollectorPersistentVolume) Reset() { + *x = CollectorPersistentVolume{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[30] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *CollectorPersistentVolume) XXX_Merge(src proto.Message) { - xxx_messageInfo_CollectorPersistentVolume.Merge(m, src) -} -func (m *CollectorPersistentVolume) XXX_Size() int { - return m.Size() + +func (x *CollectorPersistentVolume) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CollectorPersistentVolume) XXX_DiscardUnknown() { - xxx_messageInfo_CollectorPersistentVolume.DiscardUnknown(m) + +func (*CollectorPersistentVolume) ProtoMessage() {} + +func (x *CollectorPersistentVolume) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[30] + 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) } -var xxx_messageInfo_CollectorPersistentVolume proto.InternalMessageInfo +// Deprecated: Use CollectorPersistentVolume.ProtoReflect.Descriptor instead. +func (*CollectorPersistentVolume) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{30} +} -func (m *CollectorPersistentVolume) GetClusterName() string { - if m != nil { - return m.ClusterName +func (x *CollectorPersistentVolume) GetClusterName() string { + if x != nil { + return x.ClusterName } return "" } -func (m *CollectorPersistentVolume) GetClusterId() string { - if m != nil { - return m.ClusterId +func (x *CollectorPersistentVolume) GetClusterId() string { + if x != nil { + return x.ClusterId } return "" } -func (m *CollectorPersistentVolume) GetGroupId() int32 { - if m != nil { - return m.GroupId +func (x *CollectorPersistentVolume) GetGroupId() int32 { + if x != nil { + return x.GroupId } return 0 } -func (m *CollectorPersistentVolume) GetGroupSize() int32 { - if m != nil { - return m.GroupSize +func (x *CollectorPersistentVolume) GetGroupSize() int32 { + if x != nil { + return x.GroupSize } return 0 } -func (m *CollectorPersistentVolume) GetPersistentVolumes() []*PersistentVolume { - if m != nil { - return m.PersistentVolumes +func (x *CollectorPersistentVolume) GetPersistentVolumes() []*PersistentVolume { + if x != nil { + return x.PersistentVolumes } return nil } -func (m *CollectorPersistentVolume) GetTags() []string { - if m != nil { - return m.Tags +func (x *CollectorPersistentVolume) GetTags() []string { + if x != nil { + return x.Tags } return nil } type CollectorPersistentVolumeClaim struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + ClusterName string `protobuf:"bytes,1,opt,name=clusterName,proto3" json:"clusterName,omitempty"` ClusterId string `protobuf:"bytes,2,opt,name=clusterId,proto3" json:"clusterId,omitempty"` GroupId int32 `protobuf:"varint,3,opt,name=groupId,proto3" json:"groupId,omitempty"` @@ -3333,82 +3602,85 @@ type CollectorPersistentVolumeClaim struct { Tags []string `protobuf:"bytes,6,rep,name=tags,proto3" json:"tags,omitempty"` } -func (m *CollectorPersistentVolumeClaim) Reset() { *m = CollectorPersistentVolumeClaim{} } -func (m *CollectorPersistentVolumeClaim) String() string { return proto.CompactTextString(m) } -func (*CollectorPersistentVolumeClaim) ProtoMessage() {} -func (*CollectorPersistentVolumeClaim) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{31} -} -func (m *CollectorPersistentVolumeClaim) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *CollectorPersistentVolumeClaim) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_CollectorPersistentVolumeClaim.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *CollectorPersistentVolumeClaim) Reset() { + *x = CollectorPersistentVolumeClaim{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[31] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *CollectorPersistentVolumeClaim) XXX_Merge(src proto.Message) { - xxx_messageInfo_CollectorPersistentVolumeClaim.Merge(m, src) -} -func (m *CollectorPersistentVolumeClaim) XXX_Size() int { - return m.Size() + +func (x *CollectorPersistentVolumeClaim) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CollectorPersistentVolumeClaim) XXX_DiscardUnknown() { - xxx_messageInfo_CollectorPersistentVolumeClaim.DiscardUnknown(m) + +func (*CollectorPersistentVolumeClaim) ProtoMessage() {} + +func (x *CollectorPersistentVolumeClaim) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[31] + 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) } -var xxx_messageInfo_CollectorPersistentVolumeClaim proto.InternalMessageInfo +// Deprecated: Use CollectorPersistentVolumeClaim.ProtoReflect.Descriptor instead. +func (*CollectorPersistentVolumeClaim) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{31} +} -func (m *CollectorPersistentVolumeClaim) GetClusterName() string { - if m != nil { - return m.ClusterName +func (x *CollectorPersistentVolumeClaim) GetClusterName() string { + if x != nil { + return x.ClusterName } return "" } -func (m *CollectorPersistentVolumeClaim) GetClusterId() string { - if m != nil { - return m.ClusterId +func (x *CollectorPersistentVolumeClaim) GetClusterId() string { + if x != nil { + return x.ClusterId } return "" } -func (m *CollectorPersistentVolumeClaim) GetGroupId() int32 { - if m != nil { - return m.GroupId +func (x *CollectorPersistentVolumeClaim) GetGroupId() int32 { + if x != nil { + return x.GroupId } return 0 } -func (m *CollectorPersistentVolumeClaim) GetGroupSize() int32 { - if m != nil { - return m.GroupSize +func (x *CollectorPersistentVolumeClaim) GetGroupSize() int32 { + if x != nil { + return x.GroupSize } return 0 } -func (m *CollectorPersistentVolumeClaim) GetPersistentVolumeClaims() []*PersistentVolumeClaim { - if m != nil { - return m.PersistentVolumeClaims +func (x *CollectorPersistentVolumeClaim) GetPersistentVolumeClaims() []*PersistentVolumeClaim { + if x != nil { + return x.PersistentVolumeClaims } return nil } -func (m *CollectorPersistentVolumeClaim) GetTags() []string { - if m != nil { - return m.Tags +func (x *CollectorPersistentVolumeClaim) GetTags() []string { + if x != nil { + return x.Tags } return nil } type CollectorRole struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + ClusterName string `protobuf:"bytes,1,opt,name=clusterName,proto3" json:"clusterName,omitempty"` ClusterId string `protobuf:"bytes,2,opt,name=clusterId,proto3" json:"clusterId,omitempty"` GroupId int32 `protobuf:"varint,3,opt,name=groupId,proto3" json:"groupId,omitempty"` @@ -3417,82 +3689,85 @@ type CollectorRole struct { Tags []string `protobuf:"bytes,6,rep,name=tags,proto3" json:"tags,omitempty"` } -func (m *CollectorRole) Reset() { *m = CollectorRole{} } -func (m *CollectorRole) String() string { return proto.CompactTextString(m) } -func (*CollectorRole) ProtoMessage() {} -func (*CollectorRole) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{32} -} -func (m *CollectorRole) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *CollectorRole) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_CollectorRole.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *CollectorRole) Reset() { + *x = CollectorRole{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[32] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *CollectorRole) XXX_Merge(src proto.Message) { - xxx_messageInfo_CollectorRole.Merge(m, src) -} -func (m *CollectorRole) XXX_Size() int { - return m.Size() + +func (x *CollectorRole) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CollectorRole) XXX_DiscardUnknown() { - xxx_messageInfo_CollectorRole.DiscardUnknown(m) + +func (*CollectorRole) ProtoMessage() {} + +func (x *CollectorRole) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[32] + 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) } -var xxx_messageInfo_CollectorRole proto.InternalMessageInfo +// Deprecated: Use CollectorRole.ProtoReflect.Descriptor instead. +func (*CollectorRole) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{32} +} -func (m *CollectorRole) GetClusterName() string { - if m != nil { - return m.ClusterName +func (x *CollectorRole) GetClusterName() string { + if x != nil { + return x.ClusterName } return "" } -func (m *CollectorRole) GetClusterId() string { - if m != nil { - return m.ClusterId +func (x *CollectorRole) GetClusterId() string { + if x != nil { + return x.ClusterId } return "" } -func (m *CollectorRole) GetGroupId() int32 { - if m != nil { - return m.GroupId +func (x *CollectorRole) GetGroupId() int32 { + if x != nil { + return x.GroupId } return 0 } -func (m *CollectorRole) GetGroupSize() int32 { - if m != nil { - return m.GroupSize +func (x *CollectorRole) GetGroupSize() int32 { + if x != nil { + return x.GroupSize } return 0 } -func (m *CollectorRole) GetRoles() []*Role { - if m != nil { - return m.Roles +func (x *CollectorRole) GetRoles() []*Role { + if x != nil { + return x.Roles } return nil } -func (m *CollectorRole) GetTags() []string { - if m != nil { - return m.Tags +func (x *CollectorRole) GetTags() []string { + if x != nil { + return x.Tags } return nil } type CollectorRoleBinding struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + ClusterName string `protobuf:"bytes,1,opt,name=clusterName,proto3" json:"clusterName,omitempty"` ClusterId string `protobuf:"bytes,2,opt,name=clusterId,proto3" json:"clusterId,omitempty"` GroupId int32 `protobuf:"varint,3,opt,name=groupId,proto3" json:"groupId,omitempty"` @@ -3501,82 +3776,85 @@ type CollectorRoleBinding struct { Tags []string `protobuf:"bytes,6,rep,name=tags,proto3" json:"tags,omitempty"` } -func (m *CollectorRoleBinding) Reset() { *m = CollectorRoleBinding{} } -func (m *CollectorRoleBinding) String() string { return proto.CompactTextString(m) } -func (*CollectorRoleBinding) ProtoMessage() {} -func (*CollectorRoleBinding) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{33} -} -func (m *CollectorRoleBinding) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *CollectorRoleBinding) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_CollectorRoleBinding.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *CollectorRoleBinding) Reset() { + *x = CollectorRoleBinding{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[33] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *CollectorRoleBinding) XXX_Merge(src proto.Message) { - xxx_messageInfo_CollectorRoleBinding.Merge(m, src) -} -func (m *CollectorRoleBinding) XXX_Size() int { - return m.Size() + +func (x *CollectorRoleBinding) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CollectorRoleBinding) XXX_DiscardUnknown() { - xxx_messageInfo_CollectorRoleBinding.DiscardUnknown(m) + +func (*CollectorRoleBinding) ProtoMessage() {} + +func (x *CollectorRoleBinding) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[33] + 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) } -var xxx_messageInfo_CollectorRoleBinding proto.InternalMessageInfo +// Deprecated: Use CollectorRoleBinding.ProtoReflect.Descriptor instead. +func (*CollectorRoleBinding) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{33} +} -func (m *CollectorRoleBinding) GetClusterName() string { - if m != nil { - return m.ClusterName +func (x *CollectorRoleBinding) GetClusterName() string { + if x != nil { + return x.ClusterName } return "" } -func (m *CollectorRoleBinding) GetClusterId() string { - if m != nil { - return m.ClusterId +func (x *CollectorRoleBinding) GetClusterId() string { + if x != nil { + return x.ClusterId } return "" } -func (m *CollectorRoleBinding) GetGroupId() int32 { - if m != nil { - return m.GroupId +func (x *CollectorRoleBinding) GetGroupId() int32 { + if x != nil { + return x.GroupId } return 0 } -func (m *CollectorRoleBinding) GetGroupSize() int32 { - if m != nil { - return m.GroupSize +func (x *CollectorRoleBinding) GetGroupSize() int32 { + if x != nil { + return x.GroupSize } return 0 } -func (m *CollectorRoleBinding) GetRoleBindings() []*RoleBinding { - if m != nil { - return m.RoleBindings +func (x *CollectorRoleBinding) GetRoleBindings() []*RoleBinding { + if x != nil { + return x.RoleBindings } return nil } -func (m *CollectorRoleBinding) GetTags() []string { - if m != nil { - return m.Tags +func (x *CollectorRoleBinding) GetTags() []string { + if x != nil { + return x.Tags } return nil } type CollectorClusterRole struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + ClusterName string `protobuf:"bytes,1,opt,name=clusterName,proto3" json:"clusterName,omitempty"` ClusterId string `protobuf:"bytes,2,opt,name=clusterId,proto3" json:"clusterId,omitempty"` GroupId int32 `protobuf:"varint,3,opt,name=groupId,proto3" json:"groupId,omitempty"` @@ -3585,82 +3863,85 @@ type CollectorClusterRole struct { Tags []string `protobuf:"bytes,6,rep,name=tags,proto3" json:"tags,omitempty"` } -func (m *CollectorClusterRole) Reset() { *m = CollectorClusterRole{} } -func (m *CollectorClusterRole) String() string { return proto.CompactTextString(m) } -func (*CollectorClusterRole) ProtoMessage() {} -func (*CollectorClusterRole) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{34} -} -func (m *CollectorClusterRole) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *CollectorClusterRole) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_CollectorClusterRole.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *CollectorClusterRole) Reset() { + *x = CollectorClusterRole{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[34] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *CollectorClusterRole) XXX_Merge(src proto.Message) { - xxx_messageInfo_CollectorClusterRole.Merge(m, src) -} -func (m *CollectorClusterRole) XXX_Size() int { - return m.Size() -} -func (m *CollectorClusterRole) XXX_DiscardUnknown() { - xxx_messageInfo_CollectorClusterRole.DiscardUnknown(m) + +func (x *CollectorClusterRole) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_CollectorClusterRole proto.InternalMessageInfo +func (*CollectorClusterRole) ProtoMessage() {} -func (m *CollectorClusterRole) GetClusterName() string { - if m != nil { - return m.ClusterName +func (x *CollectorClusterRole) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[34] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return "" + return mi.MessageOf(x) } -func (m *CollectorClusterRole) GetClusterId() string { - if m != nil { - return m.ClusterId - } +// Deprecated: Use CollectorClusterRole.ProtoReflect.Descriptor instead. +func (*CollectorClusterRole) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{34} +} + +func (x *CollectorClusterRole) GetClusterName() string { + if x != nil { + return x.ClusterName + } return "" } -func (m *CollectorClusterRole) GetGroupId() int32 { - if m != nil { - return m.GroupId +func (x *CollectorClusterRole) GetClusterId() string { + if x != nil { + return x.ClusterId + } + return "" +} + +func (x *CollectorClusterRole) GetGroupId() int32 { + if x != nil { + return x.GroupId } return 0 } -func (m *CollectorClusterRole) GetGroupSize() int32 { - if m != nil { - return m.GroupSize +func (x *CollectorClusterRole) GetGroupSize() int32 { + if x != nil { + return x.GroupSize } return 0 } -func (m *CollectorClusterRole) GetClusterRoles() []*ClusterRole { - if m != nil { - return m.ClusterRoles +func (x *CollectorClusterRole) GetClusterRoles() []*ClusterRole { + if x != nil { + return x.ClusterRoles } return nil } -func (m *CollectorClusterRole) GetTags() []string { - if m != nil { - return m.Tags +func (x *CollectorClusterRole) GetTags() []string { + if x != nil { + return x.Tags } return nil } type CollectorClusterRoleBinding struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + ClusterName string `protobuf:"bytes,1,opt,name=clusterName,proto3" json:"clusterName,omitempty"` ClusterId string `protobuf:"bytes,2,opt,name=clusterId,proto3" json:"clusterId,omitempty"` GroupId int32 `protobuf:"varint,3,opt,name=groupId,proto3" json:"groupId,omitempty"` @@ -3669,82 +3950,85 @@ type CollectorClusterRoleBinding struct { Tags []string `protobuf:"bytes,6,rep,name=tags,proto3" json:"tags,omitempty"` } -func (m *CollectorClusterRoleBinding) Reset() { *m = CollectorClusterRoleBinding{} } -func (m *CollectorClusterRoleBinding) String() string { return proto.CompactTextString(m) } -func (*CollectorClusterRoleBinding) ProtoMessage() {} -func (*CollectorClusterRoleBinding) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{35} -} -func (m *CollectorClusterRoleBinding) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *CollectorClusterRoleBinding) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_CollectorClusterRoleBinding.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *CollectorClusterRoleBinding) Reset() { + *x = CollectorClusterRoleBinding{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[35] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *CollectorClusterRoleBinding) XXX_Merge(src proto.Message) { - xxx_messageInfo_CollectorClusterRoleBinding.Merge(m, src) -} -func (m *CollectorClusterRoleBinding) XXX_Size() int { - return m.Size() + +func (x *CollectorClusterRoleBinding) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CollectorClusterRoleBinding) XXX_DiscardUnknown() { - xxx_messageInfo_CollectorClusterRoleBinding.DiscardUnknown(m) + +func (*CollectorClusterRoleBinding) ProtoMessage() {} + +func (x *CollectorClusterRoleBinding) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[35] + 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) } -var xxx_messageInfo_CollectorClusterRoleBinding proto.InternalMessageInfo +// Deprecated: Use CollectorClusterRoleBinding.ProtoReflect.Descriptor instead. +func (*CollectorClusterRoleBinding) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{35} +} -func (m *CollectorClusterRoleBinding) GetClusterName() string { - if m != nil { - return m.ClusterName +func (x *CollectorClusterRoleBinding) GetClusterName() string { + if x != nil { + return x.ClusterName } return "" } -func (m *CollectorClusterRoleBinding) GetClusterId() string { - if m != nil { - return m.ClusterId +func (x *CollectorClusterRoleBinding) GetClusterId() string { + if x != nil { + return x.ClusterId } return "" } -func (m *CollectorClusterRoleBinding) GetGroupId() int32 { - if m != nil { - return m.GroupId +func (x *CollectorClusterRoleBinding) GetGroupId() int32 { + if x != nil { + return x.GroupId } return 0 } -func (m *CollectorClusterRoleBinding) GetGroupSize() int32 { - if m != nil { - return m.GroupSize +func (x *CollectorClusterRoleBinding) GetGroupSize() int32 { + if x != nil { + return x.GroupSize } return 0 } -func (m *CollectorClusterRoleBinding) GetClusterRoleBindings() []*ClusterRoleBinding { - if m != nil { - return m.ClusterRoleBindings +func (x *CollectorClusterRoleBinding) GetClusterRoleBindings() []*ClusterRoleBinding { + if x != nil { + return x.ClusterRoleBindings } return nil } -func (m *CollectorClusterRoleBinding) GetTags() []string { - if m != nil { - return m.Tags +func (x *CollectorClusterRoleBinding) GetTags() []string { + if x != nil { + return x.Tags } return nil } type CollectorServiceAccount struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + ClusterName string `protobuf:"bytes,1,opt,name=clusterName,proto3" json:"clusterName,omitempty"` ClusterId string `protobuf:"bytes,2,opt,name=clusterId,proto3" json:"clusterId,omitempty"` GroupId int32 `protobuf:"varint,3,opt,name=groupId,proto3" json:"groupId,omitempty"` @@ -3753,82 +4037,85 @@ type CollectorServiceAccount struct { Tags []string `protobuf:"bytes,6,rep,name=tags,proto3" json:"tags,omitempty"` } -func (m *CollectorServiceAccount) Reset() { *m = CollectorServiceAccount{} } -func (m *CollectorServiceAccount) String() string { return proto.CompactTextString(m) } -func (*CollectorServiceAccount) ProtoMessage() {} -func (*CollectorServiceAccount) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{36} -} -func (m *CollectorServiceAccount) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *CollectorServiceAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_CollectorServiceAccount.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *CollectorServiceAccount) Reset() { + *x = CollectorServiceAccount{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[36] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *CollectorServiceAccount) XXX_Merge(src proto.Message) { - xxx_messageInfo_CollectorServiceAccount.Merge(m, src) -} -func (m *CollectorServiceAccount) XXX_Size() int { - return m.Size() + +func (x *CollectorServiceAccount) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CollectorServiceAccount) XXX_DiscardUnknown() { - xxx_messageInfo_CollectorServiceAccount.DiscardUnknown(m) + +func (*CollectorServiceAccount) ProtoMessage() {} + +func (x *CollectorServiceAccount) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[36] + 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) } -var xxx_messageInfo_CollectorServiceAccount proto.InternalMessageInfo +// Deprecated: Use CollectorServiceAccount.ProtoReflect.Descriptor instead. +func (*CollectorServiceAccount) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{36} +} -func (m *CollectorServiceAccount) GetClusterName() string { - if m != nil { - return m.ClusterName +func (x *CollectorServiceAccount) GetClusterName() string { + if x != nil { + return x.ClusterName } return "" } -func (m *CollectorServiceAccount) GetClusterId() string { - if m != nil { - return m.ClusterId +func (x *CollectorServiceAccount) GetClusterId() string { + if x != nil { + return x.ClusterId } return "" } -func (m *CollectorServiceAccount) GetGroupId() int32 { - if m != nil { - return m.GroupId +func (x *CollectorServiceAccount) GetGroupId() int32 { + if x != nil { + return x.GroupId } return 0 } -func (m *CollectorServiceAccount) GetGroupSize() int32 { - if m != nil { - return m.GroupSize +func (x *CollectorServiceAccount) GetGroupSize() int32 { + if x != nil { + return x.GroupSize } return 0 } -func (m *CollectorServiceAccount) GetServiceAccounts() []*ServiceAccount { - if m != nil { - return m.ServiceAccounts +func (x *CollectorServiceAccount) GetServiceAccounts() []*ServiceAccount { + if x != nil { + return x.ServiceAccounts } return nil } -func (m *CollectorServiceAccount) GetTags() []string { - if m != nil { - return m.Tags +func (x *CollectorServiceAccount) GetTags() []string { + if x != nil { + return x.Tags } return nil } type CollectorIngress struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + ClusterName string `protobuf:"bytes,1,opt,name=clusterName,proto3" json:"clusterName,omitempty"` ClusterId string `protobuf:"bytes,2,opt,name=clusterId,proto3" json:"clusterId,omitempty"` GroupId int32 `protobuf:"varint,3,opt,name=groupId,proto3" json:"groupId,omitempty"` @@ -3837,82 +4124,85 @@ type CollectorIngress struct { Tags []string `protobuf:"bytes,6,rep,name=tags,proto3" json:"tags,omitempty"` } -func (m *CollectorIngress) Reset() { *m = CollectorIngress{} } -func (m *CollectorIngress) String() string { return proto.CompactTextString(m) } -func (*CollectorIngress) ProtoMessage() {} -func (*CollectorIngress) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{37} -} -func (m *CollectorIngress) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *CollectorIngress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_CollectorIngress.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *CollectorIngress) Reset() { + *x = CollectorIngress{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[37] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *CollectorIngress) XXX_Merge(src proto.Message) { - xxx_messageInfo_CollectorIngress.Merge(m, src) -} -func (m *CollectorIngress) XXX_Size() int { - return m.Size() + +func (x *CollectorIngress) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CollectorIngress) XXX_DiscardUnknown() { - xxx_messageInfo_CollectorIngress.DiscardUnknown(m) + +func (*CollectorIngress) ProtoMessage() {} + +func (x *CollectorIngress) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[37] + 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) } -var xxx_messageInfo_CollectorIngress proto.InternalMessageInfo +// Deprecated: Use CollectorIngress.ProtoReflect.Descriptor instead. +func (*CollectorIngress) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{37} +} -func (m *CollectorIngress) GetClusterName() string { - if m != nil { - return m.ClusterName +func (x *CollectorIngress) GetClusterName() string { + if x != nil { + return x.ClusterName } return "" } -func (m *CollectorIngress) GetClusterId() string { - if m != nil { - return m.ClusterId +func (x *CollectorIngress) GetClusterId() string { + if x != nil { + return x.ClusterId } return "" } -func (m *CollectorIngress) GetGroupId() int32 { - if m != nil { - return m.GroupId +func (x *CollectorIngress) GetGroupId() int32 { + if x != nil { + return x.GroupId } return 0 } -func (m *CollectorIngress) GetGroupSize() int32 { - if m != nil { - return m.GroupSize +func (x *CollectorIngress) GetGroupSize() int32 { + if x != nil { + return x.GroupSize } return 0 } -func (m *CollectorIngress) GetIngresses() []*Ingress { - if m != nil { - return m.Ingresses +func (x *CollectorIngress) GetIngresses() []*Ingress { + if x != nil { + return x.Ingresses } return nil } -func (m *CollectorIngress) GetTags() []string { - if m != nil { - return m.Tags +func (x *CollectorIngress) GetTags() []string { + if x != nil { + return x.Tags } return nil } type CollectorVerticalPodAutoscaler struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + ClusterName string `protobuf:"bytes,1,opt,name=clusterName,proto3" json:"clusterName,omitempty"` ClusterId string `protobuf:"bytes,2,opt,name=clusterId,proto3" json:"clusterId,omitempty"` GroupId int32 `protobuf:"varint,3,opt,name=groupId,proto3" json:"groupId,omitempty"` @@ -3921,82 +4211,85 @@ type CollectorVerticalPodAutoscaler struct { Tags []string `protobuf:"bytes,6,rep,name=tags,proto3" json:"tags,omitempty"` } -func (m *CollectorVerticalPodAutoscaler) Reset() { *m = CollectorVerticalPodAutoscaler{} } -func (m *CollectorVerticalPodAutoscaler) String() string { return proto.CompactTextString(m) } -func (*CollectorVerticalPodAutoscaler) ProtoMessage() {} -func (*CollectorVerticalPodAutoscaler) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{38} -} -func (m *CollectorVerticalPodAutoscaler) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *CollectorVerticalPodAutoscaler) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_CollectorVerticalPodAutoscaler.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *CollectorVerticalPodAutoscaler) Reset() { + *x = CollectorVerticalPodAutoscaler{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[38] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *CollectorVerticalPodAutoscaler) XXX_Merge(src proto.Message) { - xxx_messageInfo_CollectorVerticalPodAutoscaler.Merge(m, src) -} -func (m *CollectorVerticalPodAutoscaler) XXX_Size() int { - return m.Size() + +func (x *CollectorVerticalPodAutoscaler) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CollectorVerticalPodAutoscaler) XXX_DiscardUnknown() { - xxx_messageInfo_CollectorVerticalPodAutoscaler.DiscardUnknown(m) + +func (*CollectorVerticalPodAutoscaler) ProtoMessage() {} + +func (x *CollectorVerticalPodAutoscaler) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[38] + 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) } -var xxx_messageInfo_CollectorVerticalPodAutoscaler proto.InternalMessageInfo +// Deprecated: Use CollectorVerticalPodAutoscaler.ProtoReflect.Descriptor instead. +func (*CollectorVerticalPodAutoscaler) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{38} +} -func (m *CollectorVerticalPodAutoscaler) GetClusterName() string { - if m != nil { - return m.ClusterName +func (x *CollectorVerticalPodAutoscaler) GetClusterName() string { + if x != nil { + return x.ClusterName } return "" } -func (m *CollectorVerticalPodAutoscaler) GetClusterId() string { - if m != nil { - return m.ClusterId +func (x *CollectorVerticalPodAutoscaler) GetClusterId() string { + if x != nil { + return x.ClusterId } return "" } -func (m *CollectorVerticalPodAutoscaler) GetGroupId() int32 { - if m != nil { - return m.GroupId +func (x *CollectorVerticalPodAutoscaler) GetGroupId() int32 { + if x != nil { + return x.GroupId } return 0 } -func (m *CollectorVerticalPodAutoscaler) GetGroupSize() int32 { - if m != nil { - return m.GroupSize +func (x *CollectorVerticalPodAutoscaler) GetGroupSize() int32 { + if x != nil { + return x.GroupSize } return 0 } -func (m *CollectorVerticalPodAutoscaler) GetVerticalPodAutoscalers() []*VerticalPodAutoscaler { - if m != nil { - return m.VerticalPodAutoscalers +func (x *CollectorVerticalPodAutoscaler) GetVerticalPodAutoscalers() []*VerticalPodAutoscaler { + if x != nil { + return x.VerticalPodAutoscalers } return nil } -func (m *CollectorVerticalPodAutoscaler) GetTags() []string { - if m != nil { - return m.Tags +func (x *CollectorVerticalPodAutoscaler) GetTags() []string { + if x != nil { + return x.Tags } return nil } type CollectorHorizontalPodAutoscaler struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + ClusterName string `protobuf:"bytes,1,opt,name=clusterName,proto3" json:"clusterName,omitempty"` ClusterId string `protobuf:"bytes,2,opt,name=clusterId,proto3" json:"clusterId,omitempty"` GroupId int32 `protobuf:"varint,3,opt,name=groupId,proto3" json:"groupId,omitempty"` @@ -4005,82 +4298,85 @@ type CollectorHorizontalPodAutoscaler struct { Tags []string `protobuf:"bytes,6,rep,name=tags,proto3" json:"tags,omitempty"` } -func (m *CollectorHorizontalPodAutoscaler) Reset() { *m = CollectorHorizontalPodAutoscaler{} } -func (m *CollectorHorizontalPodAutoscaler) String() string { return proto.CompactTextString(m) } -func (*CollectorHorizontalPodAutoscaler) ProtoMessage() {} -func (*CollectorHorizontalPodAutoscaler) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{39} -} -func (m *CollectorHorizontalPodAutoscaler) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *CollectorHorizontalPodAutoscaler) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_CollectorHorizontalPodAutoscaler.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *CollectorHorizontalPodAutoscaler) Reset() { + *x = CollectorHorizontalPodAutoscaler{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[39] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *CollectorHorizontalPodAutoscaler) XXX_Merge(src proto.Message) { - xxx_messageInfo_CollectorHorizontalPodAutoscaler.Merge(m, src) -} -func (m *CollectorHorizontalPodAutoscaler) XXX_Size() int { - return m.Size() + +func (x *CollectorHorizontalPodAutoscaler) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CollectorHorizontalPodAutoscaler) XXX_DiscardUnknown() { - xxx_messageInfo_CollectorHorizontalPodAutoscaler.DiscardUnknown(m) + +func (*CollectorHorizontalPodAutoscaler) ProtoMessage() {} + +func (x *CollectorHorizontalPodAutoscaler) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[39] + 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) } -var xxx_messageInfo_CollectorHorizontalPodAutoscaler proto.InternalMessageInfo +// Deprecated: Use CollectorHorizontalPodAutoscaler.ProtoReflect.Descriptor instead. +func (*CollectorHorizontalPodAutoscaler) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{39} +} -func (m *CollectorHorizontalPodAutoscaler) GetClusterName() string { - if m != nil { - return m.ClusterName +func (x *CollectorHorizontalPodAutoscaler) GetClusterName() string { + if x != nil { + return x.ClusterName } return "" } -func (m *CollectorHorizontalPodAutoscaler) GetClusterId() string { - if m != nil { - return m.ClusterId +func (x *CollectorHorizontalPodAutoscaler) GetClusterId() string { + if x != nil { + return x.ClusterId } return "" } -func (m *CollectorHorizontalPodAutoscaler) GetGroupId() int32 { - if m != nil { - return m.GroupId +func (x *CollectorHorizontalPodAutoscaler) GetGroupId() int32 { + if x != nil { + return x.GroupId } return 0 } -func (m *CollectorHorizontalPodAutoscaler) GetGroupSize() int32 { - if m != nil { - return m.GroupSize +func (x *CollectorHorizontalPodAutoscaler) GetGroupSize() int32 { + if x != nil { + return x.GroupSize } return 0 } -func (m *CollectorHorizontalPodAutoscaler) GetHorizontalPodAutoscalers() []*HorizontalPodAutoscaler { - if m != nil { - return m.HorizontalPodAutoscalers +func (x *CollectorHorizontalPodAutoscaler) GetHorizontalPodAutoscalers() []*HorizontalPodAutoscaler { + if x != nil { + return x.HorizontalPodAutoscalers } return nil } -func (m *CollectorHorizontalPodAutoscaler) GetTags() []string { - if m != nil { - return m.Tags +func (x *CollectorHorizontalPodAutoscaler) GetTags() []string { + if x != nil { + return x.Tags } return nil } type CollectorNetworkPolicy struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + ClusterName string `protobuf:"bytes,1,opt,name=clusterName,proto3" json:"clusterName,omitempty"` ClusterId string `protobuf:"bytes,2,opt,name=clusterId,proto3" json:"clusterId,omitempty"` GroupId int32 `protobuf:"varint,3,opt,name=groupId,proto3" json:"groupId,omitempty"` @@ -4089,82 +4385,85 @@ type CollectorNetworkPolicy struct { Tags []string `protobuf:"bytes,6,rep,name=tags,proto3" json:"tags,omitempty"` } -func (m *CollectorNetworkPolicy) Reset() { *m = CollectorNetworkPolicy{} } -func (m *CollectorNetworkPolicy) String() string { return proto.CompactTextString(m) } -func (*CollectorNetworkPolicy) ProtoMessage() {} -func (*CollectorNetworkPolicy) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{40} -} -func (m *CollectorNetworkPolicy) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *CollectorNetworkPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_CollectorNetworkPolicy.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *CollectorNetworkPolicy) Reset() { + *x = CollectorNetworkPolicy{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[40] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *CollectorNetworkPolicy) XXX_Merge(src proto.Message) { - xxx_messageInfo_CollectorNetworkPolicy.Merge(m, src) -} -func (m *CollectorNetworkPolicy) XXX_Size() int { - return m.Size() + +func (x *CollectorNetworkPolicy) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CollectorNetworkPolicy) XXX_DiscardUnknown() { - xxx_messageInfo_CollectorNetworkPolicy.DiscardUnknown(m) + +func (*CollectorNetworkPolicy) ProtoMessage() {} + +func (x *CollectorNetworkPolicy) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[40] + 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) } -var xxx_messageInfo_CollectorNetworkPolicy proto.InternalMessageInfo +// Deprecated: Use CollectorNetworkPolicy.ProtoReflect.Descriptor instead. +func (*CollectorNetworkPolicy) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{40} +} -func (m *CollectorNetworkPolicy) GetClusterName() string { - if m != nil { - return m.ClusterName +func (x *CollectorNetworkPolicy) GetClusterName() string { + if x != nil { + return x.ClusterName } return "" } -func (m *CollectorNetworkPolicy) GetClusterId() string { - if m != nil { - return m.ClusterId +func (x *CollectorNetworkPolicy) GetClusterId() string { + if x != nil { + return x.ClusterId } return "" } -func (m *CollectorNetworkPolicy) GetGroupId() int32 { - if m != nil { - return m.GroupId +func (x *CollectorNetworkPolicy) GetGroupId() int32 { + if x != nil { + return x.GroupId } return 0 } -func (m *CollectorNetworkPolicy) GetGroupSize() int32 { - if m != nil { - return m.GroupSize +func (x *CollectorNetworkPolicy) GetGroupSize() int32 { + if x != nil { + return x.GroupSize } return 0 } -func (m *CollectorNetworkPolicy) GetNetworkPolicies() []*NetworkPolicy { - if m != nil { - return m.NetworkPolicies +func (x *CollectorNetworkPolicy) GetNetworkPolicies() []*NetworkPolicy { + if x != nil { + return x.NetworkPolicies } return nil } -func (m *CollectorNetworkPolicy) GetTags() []string { - if m != nil { - return m.Tags +func (x *CollectorNetworkPolicy) GetTags() []string { + if x != nil { + return x.Tags } return nil } type CollectorLimitRange struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + ClusterName string `protobuf:"bytes,1,opt,name=clusterName,proto3" json:"clusterName,omitempty"` ClusterId string `protobuf:"bytes,2,opt,name=clusterId,proto3" json:"clusterId,omitempty"` GroupId int32 `protobuf:"varint,3,opt,name=groupId,proto3" json:"groupId,omitempty"` @@ -4173,82 +4472,85 @@ type CollectorLimitRange struct { Tags []string `protobuf:"bytes,6,rep,name=tags,proto3" json:"tags,omitempty"` } -func (m *CollectorLimitRange) Reset() { *m = CollectorLimitRange{} } -func (m *CollectorLimitRange) String() string { return proto.CompactTextString(m) } -func (*CollectorLimitRange) ProtoMessage() {} -func (*CollectorLimitRange) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{41} -} -func (m *CollectorLimitRange) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *CollectorLimitRange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_CollectorLimitRange.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *CollectorLimitRange) Reset() { + *x = CollectorLimitRange{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[41] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *CollectorLimitRange) XXX_Merge(src proto.Message) { - xxx_messageInfo_CollectorLimitRange.Merge(m, src) -} -func (m *CollectorLimitRange) XXX_Size() int { - return m.Size() + +func (x *CollectorLimitRange) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CollectorLimitRange) XXX_DiscardUnknown() { - xxx_messageInfo_CollectorLimitRange.DiscardUnknown(m) + +func (*CollectorLimitRange) ProtoMessage() {} + +func (x *CollectorLimitRange) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[41] + 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) } -var xxx_messageInfo_CollectorLimitRange proto.InternalMessageInfo +// Deprecated: Use CollectorLimitRange.ProtoReflect.Descriptor instead. +func (*CollectorLimitRange) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{41} +} -func (m *CollectorLimitRange) GetClusterName() string { - if m != nil { - return m.ClusterName +func (x *CollectorLimitRange) GetClusterName() string { + if x != nil { + return x.ClusterName } return "" } -func (m *CollectorLimitRange) GetClusterId() string { - if m != nil { - return m.ClusterId +func (x *CollectorLimitRange) GetClusterId() string { + if x != nil { + return x.ClusterId } return "" } -func (m *CollectorLimitRange) GetGroupId() int32 { - if m != nil { - return m.GroupId +func (x *CollectorLimitRange) GetGroupId() int32 { + if x != nil { + return x.GroupId } return 0 } -func (m *CollectorLimitRange) GetGroupSize() int32 { - if m != nil { - return m.GroupSize +func (x *CollectorLimitRange) GetGroupSize() int32 { + if x != nil { + return x.GroupSize } return 0 } -func (m *CollectorLimitRange) GetLimitRanges() []*LimitRange { - if m != nil { - return m.LimitRanges +func (x *CollectorLimitRange) GetLimitRanges() []*LimitRange { + if x != nil { + return x.LimitRanges } return nil } -func (m *CollectorLimitRange) GetTags() []string { - if m != nil { - return m.Tags +func (x *CollectorLimitRange) GetTags() []string { + if x != nil { + return x.Tags } return nil } type CollectorStorageClass struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + ClusterName string `protobuf:"bytes,1,opt,name=clusterName,proto3" json:"clusterName,omitempty"` ClusterId string `protobuf:"bytes,2,opt,name=clusterId,proto3" json:"clusterId,omitempty"` GroupId int32 `protobuf:"varint,3,opt,name=groupId,proto3" json:"groupId,omitempty"` @@ -4257,134 +4559,140 @@ type CollectorStorageClass struct { Tags []string `protobuf:"bytes,6,rep,name=tags,proto3" json:"tags,omitempty"` } -func (m *CollectorStorageClass) Reset() { *m = CollectorStorageClass{} } -func (m *CollectorStorageClass) String() string { return proto.CompactTextString(m) } -func (*CollectorStorageClass) ProtoMessage() {} -func (*CollectorStorageClass) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{42} -} -func (m *CollectorStorageClass) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *CollectorStorageClass) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_CollectorStorageClass.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *CollectorStorageClass) Reset() { + *x = CollectorStorageClass{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[42] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *CollectorStorageClass) XXX_Merge(src proto.Message) { - xxx_messageInfo_CollectorStorageClass.Merge(m, src) -} -func (m *CollectorStorageClass) XXX_Size() int { - return m.Size() + +func (x *CollectorStorageClass) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CollectorStorageClass) XXX_DiscardUnknown() { - xxx_messageInfo_CollectorStorageClass.DiscardUnknown(m) + +func (*CollectorStorageClass) ProtoMessage() {} + +func (x *CollectorStorageClass) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[42] + 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) } -var xxx_messageInfo_CollectorStorageClass proto.InternalMessageInfo +// Deprecated: Use CollectorStorageClass.ProtoReflect.Descriptor instead. +func (*CollectorStorageClass) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{42} +} -func (m *CollectorStorageClass) GetClusterName() string { - if m != nil { - return m.ClusterName +func (x *CollectorStorageClass) GetClusterName() string { + if x != nil { + return x.ClusterName } return "" } -func (m *CollectorStorageClass) GetClusterId() string { - if m != nil { - return m.ClusterId +func (x *CollectorStorageClass) GetClusterId() string { + if x != nil { + return x.ClusterId } return "" } -func (m *CollectorStorageClass) GetGroupId() int32 { - if m != nil { - return m.GroupId +func (x *CollectorStorageClass) GetGroupId() int32 { + if x != nil { + return x.GroupId } return 0 } -func (m *CollectorStorageClass) GetGroupSize() int32 { - if m != nil { - return m.GroupSize +func (x *CollectorStorageClass) GetGroupSize() int32 { + if x != nil { + return x.GroupSize } return 0 } -func (m *CollectorStorageClass) GetStorageClasses() []*StorageClass { - if m != nil { - return m.StorageClasses +func (x *CollectorStorageClass) GetStorageClasses() []*StorageClass { + if x != nil { + return x.StorageClasses } return nil } -func (m *CollectorStorageClass) GetTags() []string { - if m != nil { - return m.Tags +func (x *CollectorStorageClass) GetTags() []string { + if x != nil { + return x.Tags } return nil } type CollectorStatus struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + ActiveClients int32 `protobuf:"varint,1,opt,name=activeClients,proto3" json:"activeClients,omitempty"` Interval int32 `protobuf:"varint,2,opt,name=interval,proto3" json:"interval,omitempty"` } -func (m *CollectorStatus) Reset() { *m = CollectorStatus{} } -func (m *CollectorStatus) String() string { return proto.CompactTextString(m) } -func (*CollectorStatus) ProtoMessage() {} -func (*CollectorStatus) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{43} -} -func (m *CollectorStatus) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *CollectorStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_CollectorStatus.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *CollectorStatus) Reset() { + *x = CollectorStatus{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[43] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *CollectorStatus) XXX_Merge(src proto.Message) { - xxx_messageInfo_CollectorStatus.Merge(m, src) -} -func (m *CollectorStatus) XXX_Size() int { - return m.Size() + +func (x *CollectorStatus) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CollectorStatus) XXX_DiscardUnknown() { - xxx_messageInfo_CollectorStatus.DiscardUnknown(m) + +func (*CollectorStatus) ProtoMessage() {} + +func (x *CollectorStatus) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[43] + 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) } -var xxx_messageInfo_CollectorStatus proto.InternalMessageInfo +// Deprecated: Use CollectorStatus.ProtoReflect.Descriptor instead. +func (*CollectorStatus) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{43} +} -func (m *CollectorStatus) GetActiveClients() int32 { - if m != nil { - return m.ActiveClients +func (x *CollectorStatus) GetActiveClients() int32 { + if x != nil { + return x.ActiveClients } return 0 } -func (m *CollectorStatus) GetInterval() int32 { - if m != nil { - return m.Interval +func (x *CollectorStatus) GetInterval() int32 { + if x != nil { + return x.Interval } return 0 } type Process struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Key uint32 `protobuf:"varint,1,opt,name=key,proto3" json:"key,omitempty"` Pid int32 `protobuf:"varint,2,opt,name=pid,proto3" json:"pid,omitempty"` NsPid int32 `protobuf:"varint,20,opt,name=nsPid,proto3" json:"nsPid,omitempty"` @@ -4394,7 +4702,7 @@ type Process struct { Memory *MemoryStat `protobuf:"bytes,7,opt,name=memory,proto3" json:"memory,omitempty"` Cpu *CPUStat `protobuf:"bytes,8,opt,name=cpu,proto3" json:"cpu,omitempty"` CreateTime int64 `protobuf:"varint,9,opt,name=createTime,proto3" json:"createTime,omitempty"` - Container *Container `protobuf:"bytes,10,opt,name=container,proto3" json:"container,omitempty"` + Container *Container `protobuf:"bytes,10,opt,name=container,proto3" json:"container,omitempty"` // DEPRECATED - left in place to support previous versions OpenFdCount int32 `protobuf:"varint,11,opt,name=openFdCount,proto3" json:"openFdCount,omitempty"` State ProcessState `protobuf:"varint,12,opt,name=state,proto3,enum=datadog.process_agent.ProcessState" json:"state,omitempty"` IoStat *IOStat `protobuf:"bytes,13,opt,name=ioStat,proto3" json:"ioStat,omitempty"` @@ -4408,187 +4716,190 @@ type Process struct { ProcessContext []string `protobuf:"bytes,22,rep,name=processContext,proto3" json:"processContext,omitempty"` } -func (m *Process) Reset() { *m = Process{} } -func (m *Process) String() string { return proto.CompactTextString(m) } -func (*Process) ProtoMessage() {} -func (*Process) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{44} -} -func (m *Process) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *Process) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Process.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *Process) Reset() { + *x = Process{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[44] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *Process) XXX_Merge(src proto.Message) { - xxx_messageInfo_Process.Merge(m, src) -} -func (m *Process) XXX_Size() int { - return m.Size() + +func (x *Process) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Process) XXX_DiscardUnknown() { - xxx_messageInfo_Process.DiscardUnknown(m) + +func (*Process) ProtoMessage() {} + +func (x *Process) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[44] + 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) } -var xxx_messageInfo_Process proto.InternalMessageInfo +// Deprecated: Use Process.ProtoReflect.Descriptor instead. +func (*Process) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{44} +} -func (m *Process) GetKey() uint32 { - if m != nil { - return m.Key +func (x *Process) GetKey() uint32 { + if x != nil { + return x.Key } return 0 } -func (m *Process) GetPid() int32 { - if m != nil { - return m.Pid +func (x *Process) GetPid() int32 { + if x != nil { + return x.Pid } return 0 } -func (m *Process) GetNsPid() int32 { - if m != nil { - return m.NsPid +func (x *Process) GetNsPid() int32 { + if x != nil { + return x.NsPid } return 0 } -func (m *Process) GetHost() *Host { - if m != nil { - return m.Host +func (x *Process) GetHost() *Host { + if x != nil { + return x.Host } return nil } -func (m *Process) GetCommand() *Command { - if m != nil { - return m.Command +func (x *Process) GetCommand() *Command { + if x != nil { + return x.Command } return nil } -func (m *Process) GetUser() *ProcessUser { - if m != nil { - return m.User +func (x *Process) GetUser() *ProcessUser { + if x != nil { + return x.User } return nil } -func (m *Process) GetMemory() *MemoryStat { - if m != nil { - return m.Memory +func (x *Process) GetMemory() *MemoryStat { + if x != nil { + return x.Memory } return nil } -func (m *Process) GetCpu() *CPUStat { - if m != nil { - return m.Cpu +func (x *Process) GetCpu() *CPUStat { + if x != nil { + return x.Cpu } return nil } -func (m *Process) GetCreateTime() int64 { - if m != nil { - return m.CreateTime +func (x *Process) GetCreateTime() int64 { + if x != nil { + return x.CreateTime } return 0 } -func (m *Process) GetContainer() *Container { - if m != nil { - return m.Container +func (x *Process) GetContainer() *Container { + if x != nil { + return x.Container } return nil } -func (m *Process) GetOpenFdCount() int32 { - if m != nil { - return m.OpenFdCount +func (x *Process) GetOpenFdCount() int32 { + if x != nil { + return x.OpenFdCount } return 0 } -func (m *Process) GetState() ProcessState { - if m != nil { - return m.State +func (x *Process) GetState() ProcessState { + if x != nil { + return x.State } return ProcessState_U } -func (m *Process) GetIoStat() *IOStat { - if m != nil { - return m.IoStat +func (x *Process) GetIoStat() *IOStat { + if x != nil { + return x.IoStat } return nil } -func (m *Process) GetContainerId() string { - if m != nil { - return m.ContainerId +func (x *Process) GetContainerId() string { + if x != nil { + return x.ContainerId } return "" } -func (m *Process) GetContainerKey() uint32 { - if m != nil { - return m.ContainerKey +func (x *Process) GetContainerKey() uint32 { + if x != nil { + return x.ContainerKey } return 0 } -func (m *Process) GetVoluntaryCtxSwitches() uint64 { - if m != nil { - return m.VoluntaryCtxSwitches +func (x *Process) GetVoluntaryCtxSwitches() uint64 { + if x != nil { + return x.VoluntaryCtxSwitches } return 0 } -func (m *Process) GetInvoluntaryCtxSwitches() uint64 { - if m != nil { - return m.InvoluntaryCtxSwitches +func (x *Process) GetInvoluntaryCtxSwitches() uint64 { + if x != nil { + return x.InvoluntaryCtxSwitches } return 0 } -func (m *Process) GetByteKey() []byte { - if m != nil { - return m.ByteKey +func (x *Process) GetByteKey() []byte { + if x != nil { + return x.ByteKey } return nil } -func (m *Process) GetContainerByteKey() []byte { - if m != nil { - return m.ContainerByteKey +func (x *Process) GetContainerByteKey() []byte { + if x != nil { + return x.ContainerByteKey } return nil } -func (m *Process) GetNetworks() *ProcessNetworks { - if m != nil { - return m.Networks +func (x *Process) GetNetworks() *ProcessNetworks { + if x != nil { + return x.Networks } return nil } -func (m *Process) GetProcessContext() []string { - if m != nil { - return m.ProcessContext +func (x *Process) GetProcessContext() []string { + if x != nil { + return x.ProcessContext } return nil } type ProcessDiscovery struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Pid int32 `protobuf:"varint,1,opt,name=pid,proto3" json:"pid,omitempty"` NsPid int32 `protobuf:"varint,2,opt,name=nsPid,proto3" json:"nsPid,omitempty"` Host *Host `protobuf:"bytes,3,opt,name=host,proto3" json:"host,omitempty"` @@ -4598,89 +4909,92 @@ type ProcessDiscovery struct { ByteKey []byte `protobuf:"bytes,7,opt,name=byteKey,proto3" json:"byteKey,omitempty"` } -func (m *ProcessDiscovery) Reset() { *m = ProcessDiscovery{} } -func (m *ProcessDiscovery) String() string { return proto.CompactTextString(m) } -func (*ProcessDiscovery) ProtoMessage() {} -func (*ProcessDiscovery) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{45} -} -func (m *ProcessDiscovery) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ProcessDiscovery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ProcessDiscovery.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ProcessDiscovery) Reset() { + *x = ProcessDiscovery{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[45] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ProcessDiscovery) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProcessDiscovery.Merge(m, src) -} -func (m *ProcessDiscovery) XXX_Size() int { - return m.Size() + +func (x *ProcessDiscovery) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ProcessDiscovery) XXX_DiscardUnknown() { - xxx_messageInfo_ProcessDiscovery.DiscardUnknown(m) + +func (*ProcessDiscovery) ProtoMessage() {} + +func (x *ProcessDiscovery) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[45] + 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) } -var xxx_messageInfo_ProcessDiscovery proto.InternalMessageInfo +// Deprecated: Use ProcessDiscovery.ProtoReflect.Descriptor instead. +func (*ProcessDiscovery) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{45} +} -func (m *ProcessDiscovery) GetPid() int32 { - if m != nil { - return m.Pid +func (x *ProcessDiscovery) GetPid() int32 { + if x != nil { + return x.Pid } return 0 } -func (m *ProcessDiscovery) GetNsPid() int32 { - if m != nil { - return m.NsPid +func (x *ProcessDiscovery) GetNsPid() int32 { + if x != nil { + return x.NsPid } return 0 } -func (m *ProcessDiscovery) GetHost() *Host { - if m != nil { - return m.Host +func (x *ProcessDiscovery) GetHost() *Host { + if x != nil { + return x.Host } return nil } -func (m *ProcessDiscovery) GetCommand() *Command { - if m != nil { - return m.Command +func (x *ProcessDiscovery) GetCommand() *Command { + if x != nil { + return x.Command } return nil } -func (m *ProcessDiscovery) GetUser() *ProcessUser { - if m != nil { - return m.User +func (x *ProcessDiscovery) GetUser() *ProcessUser { + if x != nil { + return x.User } return nil } -func (m *ProcessDiscovery) GetCreateTime() int64 { - if m != nil { - return m.CreateTime +func (x *ProcessDiscovery) GetCreateTime() int64 { + if x != nil { + return x.CreateTime } return 0 } -func (m *ProcessDiscovery) GetByteKey() []byte { - if m != nil { - return m.ByteKey +func (x *ProcessDiscovery) GetByteKey() []byte { + if x != nil { + return x.ByteKey } return nil } type Command struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Args []string `protobuf:"bytes,1,rep,name=args,proto3" json:"args,omitempty"` Cwd string `protobuf:"bytes,3,opt,name=cwd,proto3" json:"cwd,omitempty"` Root string `protobuf:"bytes,4,opt,name=root,proto3" json:"root,omitempty"` @@ -4691,96 +5005,99 @@ type Command struct { Comm string `protobuf:"bytes,9,opt,name=comm,proto3" json:"comm,omitempty"` } -func (m *Command) Reset() { *m = Command{} } -func (m *Command) String() string { return proto.CompactTextString(m) } -func (*Command) ProtoMessage() {} -func (*Command) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{46} -} -func (m *Command) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *Command) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Command.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *Command) Reset() { + *x = Command{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[46] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *Command) XXX_Merge(src proto.Message) { - xxx_messageInfo_Command.Merge(m, src) -} -func (m *Command) XXX_Size() int { - return m.Size() + +func (x *Command) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Command) XXX_DiscardUnknown() { - xxx_messageInfo_Command.DiscardUnknown(m) + +func (*Command) ProtoMessage() {} + +func (x *Command) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[46] + 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) } -var xxx_messageInfo_Command proto.InternalMessageInfo +// Deprecated: Use Command.ProtoReflect.Descriptor instead. +func (*Command) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{46} +} -func (m *Command) GetArgs() []string { - if m != nil { - return m.Args +func (x *Command) GetArgs() []string { + if x != nil { + return x.Args } return nil } -func (m *Command) GetCwd() string { - if m != nil { - return m.Cwd +func (x *Command) GetCwd() string { + if x != nil { + return x.Cwd } return "" } -func (m *Command) GetRoot() string { - if m != nil { - return m.Root +func (x *Command) GetRoot() string { + if x != nil { + return x.Root } return "" } -func (m *Command) GetOnDisk() bool { - if m != nil { - return m.OnDisk +func (x *Command) GetOnDisk() bool { + if x != nil { + return x.OnDisk } return false } -func (m *Command) GetPpid() int32 { - if m != nil { - return m.Ppid +func (x *Command) GetPpid() int32 { + if x != nil { + return x.Ppid } return 0 } -func (m *Command) GetPgroup() int32 { - if m != nil { - return m.Pgroup +func (x *Command) GetPgroup() int32 { + if x != nil { + return x.Pgroup } return 0 } -func (m *Command) GetExe() string { - if m != nil { - return m.Exe +func (x *Command) GetExe() string { + if x != nil { + return x.Exe } return "" } -func (m *Command) GetComm() string { - if m != nil { - return m.Comm +func (x *Command) GetComm() string { + if x != nil { + return x.Comm } return "" } type ProcessUser struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Uid int32 `protobuf:"varint,2,opt,name=uid,proto3" json:"uid,omitempty"` Gid int32 `protobuf:"varint,3,opt,name=gid,proto3" json:"gid,omitempty"` @@ -4790,207 +5107,216 @@ type ProcessUser struct { Sgid int32 `protobuf:"varint,7,opt,name=sgid,proto3" json:"sgid,omitempty"` } -func (m *ProcessUser) Reset() { *m = ProcessUser{} } -func (m *ProcessUser) String() string { return proto.CompactTextString(m) } -func (*ProcessUser) ProtoMessage() {} -func (*ProcessUser) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{47} -} -func (m *ProcessUser) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ProcessUser) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ProcessUser.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ProcessUser) Reset() { + *x = ProcessUser{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[47] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ProcessUser) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProcessUser.Merge(m, src) -} -func (m *ProcessUser) XXX_Size() int { - return m.Size() + +func (x *ProcessUser) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ProcessUser) XXX_DiscardUnknown() { - xxx_messageInfo_ProcessUser.DiscardUnknown(m) + +func (*ProcessUser) ProtoMessage() {} + +func (x *ProcessUser) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[47] + 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) } -var xxx_messageInfo_ProcessUser proto.InternalMessageInfo +// Deprecated: Use ProcessUser.ProtoReflect.Descriptor instead. +func (*ProcessUser) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{47} +} -func (m *ProcessUser) GetName() string { - if m != nil { - return m.Name +func (x *ProcessUser) GetName() string { + if x != nil { + return x.Name } return "" } -func (m *ProcessUser) GetUid() int32 { - if m != nil { - return m.Uid +func (x *ProcessUser) GetUid() int32 { + if x != nil { + return x.Uid } return 0 } -func (m *ProcessUser) GetGid() int32 { - if m != nil { - return m.Gid +func (x *ProcessUser) GetGid() int32 { + if x != nil { + return x.Gid } return 0 } -func (m *ProcessUser) GetEuid() int32 { - if m != nil { - return m.Euid +func (x *ProcessUser) GetEuid() int32 { + if x != nil { + return x.Euid } return 0 } -func (m *ProcessUser) GetEgid() int32 { - if m != nil { - return m.Egid +func (x *ProcessUser) GetEgid() int32 { + if x != nil { + return x.Egid } return 0 } -func (m *ProcessUser) GetSuid() int32 { - if m != nil { - return m.Suid +func (x *ProcessUser) GetSuid() int32 { + if x != nil { + return x.Suid } return 0 } -func (m *ProcessUser) GetSgid() int32 { - if m != nil { - return m.Sgid +func (x *ProcessUser) GetSgid() int32 { + if x != nil { + return x.Sgid } return 0 } // ProcessNetworks is a structure that holds network related metrics for processes type ProcessNetworks struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + ConnectionRate float32 `protobuf:"fixed32,1,opt,name=connectionRate,proto3" json:"connectionRate,omitempty"` BytesRate float32 `protobuf:"fixed32,2,opt,name=bytesRate,proto3" json:"bytesRate,omitempty"` } -func (m *ProcessNetworks) Reset() { *m = ProcessNetworks{} } -func (m *ProcessNetworks) String() string { return proto.CompactTextString(m) } -func (*ProcessNetworks) ProtoMessage() {} -func (*ProcessNetworks) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{48} -} -func (m *ProcessNetworks) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ProcessNetworks) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ProcessNetworks.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ProcessNetworks) Reset() { + *x = ProcessNetworks{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[48] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ProcessNetworks) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProcessNetworks.Merge(m, src) -} -func (m *ProcessNetworks) XXX_Size() int { - return m.Size() -} -func (m *ProcessNetworks) XXX_DiscardUnknown() { - xxx_messageInfo_ProcessNetworks.DiscardUnknown(m) + +func (x *ProcessNetworks) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_ProcessNetworks proto.InternalMessageInfo +func (*ProcessNetworks) ProtoMessage() {} -func (m *ProcessNetworks) GetConnectionRate() float32 { - if m != nil { - return m.ConnectionRate +func (x *ProcessNetworks) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[48] + 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 ProcessNetworks.ProtoReflect.Descriptor instead. +func (*ProcessNetworks) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{48} +} + +func (x *ProcessNetworks) GetConnectionRate() float32 { + if x != nil { + return x.ConnectionRate } return 0 } -func (m *ProcessNetworks) GetBytesRate() float32 { - if m != nil { - return m.BytesRate +func (x *ProcessNetworks) GetBytesRate() float32 { + if x != nil { + return x.BytesRate } return 0 } // ContainerAddr records the IPs, Ports and Protocols for each container type ContainerAddr struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Ip string `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"` Port int32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"` Protocol ConnectionType `protobuf:"varint,3,opt,name=protocol,proto3,enum=datadog.process_agent.ConnectionType" json:"protocol,omitempty"` } -func (m *ContainerAddr) Reset() { *m = ContainerAddr{} } -func (m *ContainerAddr) String() string { return proto.CompactTextString(m) } -func (*ContainerAddr) ProtoMessage() {} -func (*ContainerAddr) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{49} -} -func (m *ContainerAddr) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ContainerAddr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ContainerAddr.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ContainerAddr) Reset() { + *x = ContainerAddr{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[49] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ContainerAddr) XXX_Merge(src proto.Message) { - xxx_messageInfo_ContainerAddr.Merge(m, src) -} -func (m *ContainerAddr) XXX_Size() int { - return m.Size() + +func (x *ContainerAddr) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ContainerAddr) XXX_DiscardUnknown() { - xxx_messageInfo_ContainerAddr.DiscardUnknown(m) + +func (*ContainerAddr) ProtoMessage() {} + +func (x *ContainerAddr) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[49] + 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) } -var xxx_messageInfo_ContainerAddr proto.InternalMessageInfo +// Deprecated: Use ContainerAddr.ProtoReflect.Descriptor instead. +func (*ContainerAddr) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{49} +} -func (m *ContainerAddr) GetIp() string { - if m != nil { - return m.Ip +func (x *ContainerAddr) GetIp() string { + if x != nil { + return x.Ip } return "" } -func (m *ContainerAddr) GetPort() int32 { - if m != nil { - return m.Port +func (x *ContainerAddr) GetPort() int32 { + if x != nil { + return x.Port } return 0 } -func (m *ContainerAddr) GetProtocol() ConnectionType { - if m != nil { - return m.Protocol +func (x *ContainerAddr) GetProtocol() ConnectionType { + if x != nil { + return x.Protocol } return ConnectionType_tcp } type Container struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` - Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` - Image string `protobuf:"bytes,4,opt,name=image,proto3" json:"image,omitempty"` + Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // DEPRECATED - left in place to support previous versions + Image string `protobuf:"bytes,4,opt,name=image,proto3" json:"image,omitempty"` // DEPRECATED - left in place to support previous versions CpuLimit float32 `protobuf:"fixed32,5,opt,name=cpuLimit,proto3" json:"cpuLimit,omitempty"` MemoryLimit uint64 `protobuf:"varint,6,opt,name=memoryLimit,proto3" json:"memoryLimit,omitempty"` State ContainerState `protobuf:"varint,8,opt,name=state,proto3,enum=datadog.process_agent.ContainerState" json:"state,omitempty"` @@ -4998,7 +5324,7 @@ type Container struct { Created int64 `protobuf:"varint,10,opt,name=created,proto3" json:"created,omitempty"` Rbps float32 `protobuf:"fixed32,11,opt,name=rbps,proto3" json:"rbps,omitempty"` Wbps float32 `protobuf:"fixed32,12,opt,name=wbps,proto3" json:"wbps,omitempty"` - Key uint32 `protobuf:"varint,13,opt,name=key,proto3" json:"key,omitempty"` + Key uint32 `protobuf:"varint,13,opt,name=key,proto3" json:"key,omitempty"` // Unique key for a container resolved on backend. NetRcvdPs float32 `protobuf:"fixed32,14,opt,name=netRcvdPs,proto3" json:"netRcvdPs,omitempty"` NetSentPs float32 `protobuf:"fixed32,15,opt,name=netSentPs,proto3" json:"netSentPs,omitempty"` NetRcvdBps float32 `protobuf:"fixed32,16,opt,name=netRcvdBps,proto3" json:"netRcvdBps,omitempty"` @@ -5008,7 +5334,7 @@ type Container struct { TotalPct float32 `protobuf:"fixed32,20,opt,name=totalPct,proto3" json:"totalPct,omitempty"` MemRss uint64 `protobuf:"varint,21,opt,name=memRss,proto3" json:"memRss,omitempty"` MemCache uint64 `protobuf:"varint,22,opt,name=memCache,proto3" json:"memCache,omitempty"` - Host *Host `protobuf:"bytes,23,opt,name=host,proto3" json:"host,omitempty"` + Host *Host `protobuf:"bytes,23,opt,name=host,proto3" json:"host,omitempty"` // Used post-resolution Started int64 `protobuf:"varint,24,opt,name=started,proto3" json:"started,omitempty"` ByteKey []byte `protobuf:"bytes,25,opt,name=byteKey,proto3" json:"byteKey,omitempty"` Tags []string `protobuf:"bytes,26,rep,name=tags,proto3" json:"tags,omitempty"` @@ -5023,273 +5349,272 @@ type Container struct { RepoDigest string `protobuf:"bytes,35,opt,name=repoDigest,proto3" json:"repoDigest,omitempty"` } -func (m *Container) Reset() { *m = Container{} } -func (m *Container) String() string { return proto.CompactTextString(m) } -func (*Container) ProtoMessage() {} -func (*Container) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{50} -} -func (m *Container) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *Container) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Container.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *Container) Reset() { + *x = Container{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[50] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *Container) XXX_Merge(src proto.Message) { - xxx_messageInfo_Container.Merge(m, src) -} -func (m *Container) XXX_Size() int { - return m.Size() + +func (x *Container) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Container) XXX_DiscardUnknown() { - xxx_messageInfo_Container.DiscardUnknown(m) + +func (*Container) ProtoMessage() {} + +func (x *Container) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[50] + 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) } -var xxx_messageInfo_Container proto.InternalMessageInfo +// Deprecated: Use Container.ProtoReflect.Descriptor instead. +func (*Container) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{50} +} -func (m *Container) GetType() string { - if m != nil { - return m.Type +func (x *Container) GetType() string { + if x != nil { + return x.Type } return "" } -func (m *Container) GetId() string { - if m != nil { - return m.Id +func (x *Container) GetId() string { + if x != nil { + return x.Id } return "" } -func (m *Container) GetName() string { - if m != nil { - return m.Name +func (x *Container) GetName() string { + if x != nil { + return x.Name } return "" } -func (m *Container) GetImage() string { - if m != nil { - return m.Image +func (x *Container) GetImage() string { + if x != nil { + return x.Image } return "" } -func (m *Container) GetCpuLimit() float32 { - if m != nil { - return m.CpuLimit +func (x *Container) GetCpuLimit() float32 { + if x != nil { + return x.CpuLimit } return 0 } -func (m *Container) GetMemoryLimit() uint64 { - if m != nil { - return m.MemoryLimit +func (x *Container) GetMemoryLimit() uint64 { + if x != nil { + return x.MemoryLimit } return 0 } -func (m *Container) GetState() ContainerState { - if m != nil { - return m.State +func (x *Container) GetState() ContainerState { + if x != nil { + return x.State } return ContainerState_unknown } -func (m *Container) GetHealth() ContainerHealth { - if m != nil { - return m.Health +func (x *Container) GetHealth() ContainerHealth { + if x != nil { + return x.Health } return ContainerHealth_unknownHealth } -func (m *Container) GetCreated() int64 { - if m != nil { - return m.Created +func (x *Container) GetCreated() int64 { + if x != nil { + return x.Created } return 0 } -func (m *Container) GetRbps() float32 { - if m != nil { - return m.Rbps +func (x *Container) GetRbps() float32 { + if x != nil { + return x.Rbps } return 0 } -func (m *Container) GetWbps() float32 { - if m != nil { - return m.Wbps +func (x *Container) GetWbps() float32 { + if x != nil { + return x.Wbps } return 0 } -func (m *Container) GetKey() uint32 { - if m != nil { - return m.Key +func (x *Container) GetKey() uint32 { + if x != nil { + return x.Key } return 0 } -func (m *Container) GetNetRcvdPs() float32 { - if m != nil { - return m.NetRcvdPs +func (x *Container) GetNetRcvdPs() float32 { + if x != nil { + return x.NetRcvdPs } return 0 } -func (m *Container) GetNetSentPs() float32 { - if m != nil { - return m.NetSentPs +func (x *Container) GetNetSentPs() float32 { + if x != nil { + return x.NetSentPs } return 0 } -func (m *Container) GetNetRcvdBps() float32 { - if m != nil { - return m.NetRcvdBps +func (x *Container) GetNetRcvdBps() float32 { + if x != nil { + return x.NetRcvdBps } return 0 } -func (m *Container) GetNetSentBps() float32 { - if m != nil { - return m.NetSentBps +func (x *Container) GetNetSentBps() float32 { + if x != nil { + return x.NetSentBps } return 0 } -func (m *Container) GetUserPct() float32 { - if m != nil { - return m.UserPct +func (x *Container) GetUserPct() float32 { + if x != nil { + return x.UserPct } return 0 } -func (m *Container) GetSystemPct() float32 { - if m != nil { - return m.SystemPct +func (x *Container) GetSystemPct() float32 { + if x != nil { + return x.SystemPct } return 0 } -func (m *Container) GetTotalPct() float32 { - if m != nil { - return m.TotalPct +func (x *Container) GetTotalPct() float32 { + if x != nil { + return x.TotalPct } return 0 } -func (m *Container) GetMemRss() uint64 { - if m != nil { - return m.MemRss +func (x *Container) GetMemRss() uint64 { + if x != nil { + return x.MemRss } return 0 } -func (m *Container) GetMemCache() uint64 { - if m != nil { - return m.MemCache +func (x *Container) GetMemCache() uint64 { + if x != nil { + return x.MemCache } return 0 } -func (m *Container) GetHost() *Host { - if m != nil { - return m.Host +func (x *Container) GetHost() *Host { + if x != nil { + return x.Host } return nil } -func (m *Container) GetStarted() int64 { - if m != nil { - return m.Started +func (x *Container) GetStarted() int64 { + if x != nil { + return x.Started } return 0 } -func (m *Container) GetByteKey() []byte { - if m != nil { - return m.ByteKey +func (x *Container) GetByteKey() []byte { + if x != nil { + return x.ByteKey } return nil } -func (m *Container) GetTags() []string { - if m != nil { - return m.Tags +func (x *Container) GetTags() []string { + if x != nil { + return x.Tags } return nil } -func (m *Container) GetAddresses() []*ContainerAddr { - if m != nil { - return m.Addresses +func (x *Container) GetAddresses() []*ContainerAddr { + if x != nil { + return x.Addresses } return nil } -func (m *Container) GetThreadCount() uint64 { - if m != nil { - return m.ThreadCount +func (x *Container) GetThreadCount() uint64 { + if x != nil { + return x.ThreadCount } return 0 } -func (m *Container) GetThreadLimit() uint64 { - if m != nil { - return m.ThreadLimit +func (x *Container) GetThreadLimit() uint64 { + if x != nil { + return x.ThreadLimit } return 0 } -func (m *Container) GetMemUsage() uint64 { - if m != nil { - return m.MemUsage +func (x *Container) GetMemUsage() uint64 { + if x != nil { + return x.MemUsage } return 0 } -func (m *Container) GetCpuUsageNs() float32 { - if m != nil { - return m.CpuUsageNs +func (x *Container) GetCpuUsageNs() float32 { + if x != nil { + return x.CpuUsageNs } return 0 } -func (m *Container) GetMemAccounted() uint64 { - if m != nil { - return m.MemAccounted +func (x *Container) GetMemAccounted() uint64 { + if x != nil { + return x.MemAccounted } return 0 } -func (m *Container) GetCpuRequest() float32 { - if m != nil { - return m.CpuRequest +func (x *Container) GetCpuRequest() float32 { + if x != nil { + return x.CpuRequest } return 0 } -func (m *Container) GetMemoryRequest() uint64 { - if m != nil { - return m.MemoryRequest +func (x *Container) GetMemoryRequest() uint64 { + if x != nil { + return x.MemoryRequest } return 0 } -func (m *Container) GetRepoDigest() string { - if m != nil { - return m.RepoDigest +func (x *Container) GetRepoDigest() string { + if x != nil { + return x.RepoDigest } return "" } @@ -5299,6 +5624,10 @@ func (m *Container) GetRepoDigest() string { // generate a key). We will send a lot of these in the real-time messages so // it's critical to keep this small. type ProcessStat struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Pid int32 `protobuf:"varint,1,opt,name=pid,proto3" json:"pid,omitempty"` // In milliseconds CreateTime int64 `protobuf:"varint,2,opt,name=createTime,proto3" json:"createTime,omitempty"` @@ -5310,7 +5639,7 @@ type ProcessStat struct { Key uint32 `protobuf:"varint,9,opt,name=key,proto3" json:"key,omitempty"` // we need container id because we need to do the scoring by container ContainerId string `protobuf:"bytes,10,opt,name=containerId,proto3" json:"containerId,omitempty"` - ContainerState ContainerState `protobuf:"varint,11,opt,name=containerState,proto3,enum=datadog.process_agent.ContainerState" json:"containerState,omitempty"` + ContainerState ContainerState `protobuf:"varint,11,opt,name=containerState,proto3,enum=datadog.process_agent.ContainerState" json:"containerState,omitempty"` // DEPRECATED ProcessState ProcessState `protobuf:"varint,12,opt,name=processState,proto3,enum=datadog.process_agent.ProcessState" json:"processState,omitempty"` IoStat *IOStat `protobuf:"bytes,19,opt,name=ioStat,proto3" json:"ioStat,omitempty"` Networks *ProcessNetworks `protobuf:"bytes,28,opt,name=networks,proto3" json:"networks,omitempty"` @@ -5332,210 +5661,209 @@ type ProcessStat struct { ContainerByteKey []byte `protobuf:"bytes,27,opt,name=containerByteKey,proto3" json:"containerByteKey,omitempty"` } -func (m *ProcessStat) Reset() { *m = ProcessStat{} } -func (m *ProcessStat) String() string { return proto.CompactTextString(m) } -func (*ProcessStat) ProtoMessage() {} -func (*ProcessStat) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{51} -} -func (m *ProcessStat) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ProcessStat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ProcessStat.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ProcessStat) Reset() { + *x = ProcessStat{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[51] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ProcessStat) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProcessStat.Merge(m, src) -} -func (m *ProcessStat) XXX_Size() int { - return m.Size() + +func (x *ProcessStat) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ProcessStat) XXX_DiscardUnknown() { - xxx_messageInfo_ProcessStat.DiscardUnknown(m) + +func (*ProcessStat) ProtoMessage() {} + +func (x *ProcessStat) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[51] + 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) } -var xxx_messageInfo_ProcessStat proto.InternalMessageInfo +// Deprecated: Use ProcessStat.ProtoReflect.Descriptor instead. +func (*ProcessStat) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{51} +} -func (m *ProcessStat) GetPid() int32 { - if m != nil { - return m.Pid +func (x *ProcessStat) GetPid() int32 { + if x != nil { + return x.Pid } return 0 } -func (m *ProcessStat) GetCreateTime() int64 { - if m != nil { - return m.CreateTime +func (x *ProcessStat) GetCreateTime() int64 { + if x != nil { + return x.CreateTime } return 0 } -func (m *ProcessStat) GetMemory() *MemoryStat { - if m != nil { - return m.Memory +func (x *ProcessStat) GetMemory() *MemoryStat { + if x != nil { + return x.Memory } return nil } -func (m *ProcessStat) GetCpu() *CPUStat { - if m != nil { - return m.Cpu +func (x *ProcessStat) GetCpu() *CPUStat { + if x != nil { + return x.Cpu } return nil } -func (m *ProcessStat) GetNice() int32 { - if m != nil { - return m.Nice +func (x *ProcessStat) GetNice() int32 { + if x != nil { + return x.Nice } return 0 } -func (m *ProcessStat) GetThreads() int32 { - if m != nil { - return m.Threads +func (x *ProcessStat) GetThreads() int32 { + if x != nil { + return x.Threads } return 0 } -func (m *ProcessStat) GetOpenFdCount() int32 { - if m != nil { - return m.OpenFdCount +func (x *ProcessStat) GetOpenFdCount() int32 { + if x != nil { + return x.OpenFdCount } return 0 } -func (m *ProcessStat) GetKey() uint32 { - if m != nil { - return m.Key +func (x *ProcessStat) GetKey() uint32 { + if x != nil { + return x.Key } return 0 } -func (m *ProcessStat) GetContainerId() string { - if m != nil { - return m.ContainerId +func (x *ProcessStat) GetContainerId() string { + if x != nil { + return x.ContainerId } return "" } -func (m *ProcessStat) GetContainerState() ContainerState { - if m != nil { - return m.ContainerState +func (x *ProcessStat) GetContainerState() ContainerState { + if x != nil { + return x.ContainerState } return ContainerState_unknown } -func (m *ProcessStat) GetProcessState() ProcessState { - if m != nil { - return m.ProcessState +func (x *ProcessStat) GetProcessState() ProcessState { + if x != nil { + return x.ProcessState } return ProcessState_U } -func (m *ProcessStat) GetIoStat() *IOStat { - if m != nil { - return m.IoStat +func (x *ProcessStat) GetIoStat() *IOStat { + if x != nil { + return x.IoStat } return nil } -func (m *ProcessStat) GetNetworks() *ProcessNetworks { - if m != nil { - return m.Networks +func (x *ProcessStat) GetNetworks() *ProcessNetworks { + if x != nil { + return x.Networks } return nil } -func (m *ProcessStat) GetContainerHealth() ContainerHealth { - if m != nil { - return m.ContainerHealth +func (x *ProcessStat) GetContainerHealth() ContainerHealth { + if x != nil { + return x.ContainerHealth } return ContainerHealth_unknownHealth } -func (m *ProcessStat) GetContainerRbps() float32 { - if m != nil { - return m.ContainerRbps +func (x *ProcessStat) GetContainerRbps() float32 { + if x != nil { + return x.ContainerRbps } return 0 } -func (m *ProcessStat) GetContainerWbps() float32 { - if m != nil { - return m.ContainerWbps +func (x *ProcessStat) GetContainerWbps() float32 { + if x != nil { + return x.ContainerWbps } return 0 } -func (m *ProcessStat) GetContainerKey() uint32 { - if m != nil { - return m.ContainerKey +func (x *ProcessStat) GetContainerKey() uint32 { + if x != nil { + return x.ContainerKey } return 0 } -func (m *ProcessStat) GetContainerNetRcvdPs() float32 { - if m != nil { - return m.ContainerNetRcvdPs +func (x *ProcessStat) GetContainerNetRcvdPs() float32 { + if x != nil { + return x.ContainerNetRcvdPs } return 0 } -func (m *ProcessStat) GetContainerNetSentPs() float32 { - if m != nil { - return m.ContainerNetSentPs +func (x *ProcessStat) GetContainerNetSentPs() float32 { + if x != nil { + return x.ContainerNetSentPs } return 0 } -func (m *ProcessStat) GetContainerNetRcvdBps() float32 { - if m != nil { - return m.ContainerNetRcvdBps +func (x *ProcessStat) GetContainerNetRcvdBps() float32 { + if x != nil { + return x.ContainerNetRcvdBps } return 0 } -func (m *ProcessStat) GetContainerNetSentBps() float32 { - if m != nil { - return m.ContainerNetSentBps +func (x *ProcessStat) GetContainerNetSentBps() float32 { + if x != nil { + return x.ContainerNetSentBps } return 0 } -func (m *ProcessStat) GetVoluntaryCtxSwitches() uint64 { - if m != nil { - return m.VoluntaryCtxSwitches +func (x *ProcessStat) GetVoluntaryCtxSwitches() uint64 { + if x != nil { + return x.VoluntaryCtxSwitches } return 0 } -func (m *ProcessStat) GetInvoluntaryCtxSwitches() uint64 { - if m != nil { - return m.InvoluntaryCtxSwitches +func (x *ProcessStat) GetInvoluntaryCtxSwitches() uint64 { + if x != nil { + return x.InvoluntaryCtxSwitches } return 0 } -func (m *ProcessStat) GetByteKey() []byte { - if m != nil { - return m.ByteKey +func (x *ProcessStat) GetByteKey() []byte { + if x != nil { + return x.ByteKey } return nil } -func (m *ProcessStat) GetContainerByteKey() []byte { - if m != nil { - return m.ContainerByteKey +func (x *ProcessStat) GetContainerByteKey() []byte { + if x != nil { + return x.ContainerByteKey } return nil } @@ -5543,6 +5871,10 @@ func (m *ProcessStat) GetContainerByteKey() []byte { // ProcStatsWithPerm is holding attributes for processes that requires extra permission to collect. // It is used to pass data between system-probe and process-agent type ProcStatsWithPerm struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + OpenFDCount int32 `protobuf:"varint,1,opt,name=openFDCount,proto3" json:"openFDCount,omitempty"` ReadCount int64 `protobuf:"varint,2,opt,name=readCount,proto3" json:"readCount,omitempty"` WriteCount int64 `protobuf:"varint,3,opt,name=writeCount,proto3" json:"writeCount,omitempty"` @@ -5550,115 +5882,117 @@ type ProcStatsWithPerm struct { WriteBytes int64 `protobuf:"varint,5,opt,name=writeBytes,proto3" json:"writeBytes,omitempty"` } -func (m *ProcStatsWithPerm) Reset() { *m = ProcStatsWithPerm{} } -func (m *ProcStatsWithPerm) String() string { return proto.CompactTextString(m) } -func (*ProcStatsWithPerm) ProtoMessage() {} -func (*ProcStatsWithPerm) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{52} -} -func (m *ProcStatsWithPerm) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ProcStatsWithPerm) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ProcStatsWithPerm.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ProcStatsWithPerm) Reset() { + *x = ProcStatsWithPerm{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[52] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ProcStatsWithPerm) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProcStatsWithPerm.Merge(m, src) -} -func (m *ProcStatsWithPerm) XXX_Size() int { - return m.Size() + +func (x *ProcStatsWithPerm) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ProcStatsWithPerm) XXX_DiscardUnknown() { - xxx_messageInfo_ProcStatsWithPerm.DiscardUnknown(m) + +func (*ProcStatsWithPerm) ProtoMessage() {} + +func (x *ProcStatsWithPerm) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[52] + 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) } -var xxx_messageInfo_ProcStatsWithPerm proto.InternalMessageInfo +// Deprecated: Use ProcStatsWithPerm.ProtoReflect.Descriptor instead. +func (*ProcStatsWithPerm) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{52} +} -func (m *ProcStatsWithPerm) GetOpenFDCount() int32 { - if m != nil { - return m.OpenFDCount +func (x *ProcStatsWithPerm) GetOpenFDCount() int32 { + if x != nil { + return x.OpenFDCount } return 0 } -func (m *ProcStatsWithPerm) GetReadCount() int64 { - if m != nil { - return m.ReadCount +func (x *ProcStatsWithPerm) GetReadCount() int64 { + if x != nil { + return x.ReadCount } return 0 } -func (m *ProcStatsWithPerm) GetWriteCount() int64 { - if m != nil { - return m.WriteCount +func (x *ProcStatsWithPerm) GetWriteCount() int64 { + if x != nil { + return x.WriteCount } return 0 } -func (m *ProcStatsWithPerm) GetReadBytes() int64 { - if m != nil { - return m.ReadBytes +func (x *ProcStatsWithPerm) GetReadBytes() int64 { + if x != nil { + return x.ReadBytes } return 0 } -func (m *ProcStatsWithPerm) GetWriteBytes() int64 { - if m != nil { - return m.WriteBytes +func (x *ProcStatsWithPerm) GetWriteBytes() int64 { + if x != nil { + return x.WriteBytes } return 0 } // ProcStatsWithPermByPID stores ProcStatsWithPerm in a map with key as PIDs type ProcStatsWithPermByPID struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + StatsByPID map[int32]*ProcStatsWithPerm `protobuf:"bytes,1,rep,name=statsByPID,proto3" json:"statsByPID,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } -func (m *ProcStatsWithPermByPID) Reset() { *m = ProcStatsWithPermByPID{} } -func (m *ProcStatsWithPermByPID) String() string { return proto.CompactTextString(m) } -func (*ProcStatsWithPermByPID) ProtoMessage() {} -func (*ProcStatsWithPermByPID) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{53} -} -func (m *ProcStatsWithPermByPID) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ProcStatsWithPermByPID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ProcStatsWithPermByPID.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ProcStatsWithPermByPID) Reset() { + *x = ProcStatsWithPermByPID{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[53] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ProcStatsWithPermByPID) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProcStatsWithPermByPID.Merge(m, src) -} -func (m *ProcStatsWithPermByPID) XXX_Size() int { - return m.Size() + +func (x *ProcStatsWithPermByPID) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ProcStatsWithPermByPID) XXX_DiscardUnknown() { - xxx_messageInfo_ProcStatsWithPermByPID.DiscardUnknown(m) + +func (*ProcStatsWithPermByPID) ProtoMessage() {} + +func (x *ProcStatsWithPermByPID) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[53] + 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) } -var xxx_messageInfo_ProcStatsWithPermByPID proto.InternalMessageInfo +// Deprecated: Use ProcStatsWithPermByPID.ProtoReflect.Descriptor instead. +func (*ProcStatsWithPermByPID) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{53} +} -func (m *ProcStatsWithPermByPID) GetStatsByPID() map[int32]*ProcStatsWithPerm { - if m != nil { - return m.StatsByPID +func (x *ProcStatsWithPermByPID) GetStatsByPID() map[int32]*ProcStatsWithPerm { + if x != nil { + return x.StatsByPID } return nil } @@ -5668,6 +6002,10 @@ func (m *ProcStatsWithPermByPID) GetStatsByPID() map[int32]*ProcStatsWithPerm { // generate a key). We will send a lot of these in the real-time messages so // it's critical to keep this small (basically no strings except ID) type ContainerStat struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` UserPct float32 `protobuf:"fixed32,2,opt,name=userPct,proto3" json:"userPct,omitempty"` SystemPct float32 `protobuf:"fixed32,3,opt,name=systemPct,proto3" json:"systemPct,omitempty"` @@ -5697,290 +6035,296 @@ type ContainerStat struct { MemoryRequest uint64 `protobuf:"varint,26,opt,name=memoryRequest,proto3" json:"memoryRequest,omitempty"` } -func (m *ContainerStat) Reset() { *m = ContainerStat{} } -func (m *ContainerStat) String() string { return proto.CompactTextString(m) } -func (*ContainerStat) ProtoMessage() {} -func (*ContainerStat) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{54} -} -func (m *ContainerStat) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ContainerStat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ContainerStat.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ContainerStat) Reset() { + *x = ContainerStat{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[54] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ContainerStat) XXX_Merge(src proto.Message) { - xxx_messageInfo_ContainerStat.Merge(m, src) -} -func (m *ContainerStat) XXX_Size() int { - return m.Size() + +func (x *ContainerStat) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ContainerStat) XXX_DiscardUnknown() { - xxx_messageInfo_ContainerStat.DiscardUnknown(m) + +func (*ContainerStat) ProtoMessage() {} + +func (x *ContainerStat) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[54] + 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) } -var xxx_messageInfo_ContainerStat proto.InternalMessageInfo +// Deprecated: Use ContainerStat.ProtoReflect.Descriptor instead. +func (*ContainerStat) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{54} +} -func (m *ContainerStat) GetId() string { - if m != nil { - return m.Id +func (x *ContainerStat) GetId() string { + if x != nil { + return x.Id } return "" } -func (m *ContainerStat) GetUserPct() float32 { - if m != nil { - return m.UserPct +func (x *ContainerStat) GetUserPct() float32 { + if x != nil { + return x.UserPct } return 0 } -func (m *ContainerStat) GetSystemPct() float32 { - if m != nil { - return m.SystemPct +func (x *ContainerStat) GetSystemPct() float32 { + if x != nil { + return x.SystemPct } return 0 } -func (m *ContainerStat) GetTotalPct() float32 { - if m != nil { - return m.TotalPct +func (x *ContainerStat) GetTotalPct() float32 { + if x != nil { + return x.TotalPct } return 0 } -func (m *ContainerStat) GetCpuLimit() float32 { - if m != nil { - return m.CpuLimit +func (x *ContainerStat) GetCpuLimit() float32 { + if x != nil { + return x.CpuLimit } return 0 } -func (m *ContainerStat) GetMemRss() uint64 { - if m != nil { - return m.MemRss +func (x *ContainerStat) GetMemRss() uint64 { + if x != nil { + return x.MemRss } return 0 } -func (m *ContainerStat) GetMemCache() uint64 { - if m != nil { - return m.MemCache +func (x *ContainerStat) GetMemCache() uint64 { + if x != nil { + return x.MemCache } return 0 } -func (m *ContainerStat) GetMemLimit() uint64 { - if m != nil { - return m.MemLimit +func (x *ContainerStat) GetMemLimit() uint64 { + if x != nil { + return x.MemLimit } return 0 } -func (m *ContainerStat) GetRbps() float32 { - if m != nil { - return m.Rbps +func (x *ContainerStat) GetRbps() float32 { + if x != nil { + return x.Rbps } return 0 } -func (m *ContainerStat) GetWbps() float32 { - if m != nil { - return m.Wbps +func (x *ContainerStat) GetWbps() float32 { + if x != nil { + return x.Wbps } return 0 } -func (m *ContainerStat) GetNetRcvdPs() float32 { - if m != nil { - return m.NetRcvdPs +func (x *ContainerStat) GetNetRcvdPs() float32 { + if x != nil { + return x.NetRcvdPs } return 0 } -func (m *ContainerStat) GetNetSentPs() float32 { - if m != nil { - return m.NetSentPs +func (x *ContainerStat) GetNetSentPs() float32 { + if x != nil { + return x.NetSentPs } return 0 } -func (m *ContainerStat) GetNetRcvdBps() float32 { - if m != nil { - return m.NetRcvdBps +func (x *ContainerStat) GetNetRcvdBps() float32 { + if x != nil { + return x.NetRcvdBps } return 0 } -func (m *ContainerStat) GetNetSentBps() float32 { - if m != nil { - return m.NetSentBps +func (x *ContainerStat) GetNetSentBps() float32 { + if x != nil { + return x.NetSentBps } return 0 } -func (m *ContainerStat) GetState() ContainerState { - if m != nil { - return m.State +func (x *ContainerStat) GetState() ContainerState { + if x != nil { + return x.State } return ContainerState_unknown } -func (m *ContainerStat) GetHealth() ContainerHealth { - if m != nil { - return m.Health +func (x *ContainerStat) GetHealth() ContainerHealth { + if x != nil { + return x.Health } return ContainerHealth_unknownHealth } -func (m *ContainerStat) GetKey() uint32 { - if m != nil { - return m.Key +func (x *ContainerStat) GetKey() uint32 { + if x != nil { + return x.Key } return 0 } -func (m *ContainerStat) GetStarted() int64 { - if m != nil { - return m.Started +func (x *ContainerStat) GetStarted() int64 { + if x != nil { + return x.Started } return 0 } -func (m *ContainerStat) GetByteKey() []byte { - if m != nil { - return m.ByteKey +func (x *ContainerStat) GetByteKey() []byte { + if x != nil { + return x.ByteKey } return nil } -func (m *ContainerStat) GetThreadCount() uint64 { - if m != nil { - return m.ThreadCount +func (x *ContainerStat) GetThreadCount() uint64 { + if x != nil { + return x.ThreadCount } return 0 } -func (m *ContainerStat) GetThreadLimit() uint64 { - if m != nil { - return m.ThreadLimit +func (x *ContainerStat) GetThreadLimit() uint64 { + if x != nil { + return x.ThreadLimit } return 0 } -func (m *ContainerStat) GetMemUsage() uint64 { - if m != nil { - return m.MemUsage +func (x *ContainerStat) GetMemUsage() uint64 { + if x != nil { + return x.MemUsage } return 0 } -func (m *ContainerStat) GetCpuUsageNs() float32 { - if m != nil { - return m.CpuUsageNs +func (x *ContainerStat) GetCpuUsageNs() float32 { + if x != nil { + return x.CpuUsageNs } return 0 } -func (m *ContainerStat) GetMemAccounted() uint64 { - if m != nil { - return m.MemAccounted +func (x *ContainerStat) GetMemAccounted() uint64 { + if x != nil { + return x.MemAccounted } return 0 } -func (m *ContainerStat) GetCpuRequest() float32 { - if m != nil { - return m.CpuRequest +func (x *ContainerStat) GetCpuRequest() float32 { + if x != nil { + return x.CpuRequest } return 0 } -func (m *ContainerStat) GetMemoryRequest() uint64 { - if m != nil { - return m.MemoryRequest +func (x *ContainerStat) GetMemoryRequest() uint64 { + if x != nil { + return x.MemoryRequest } return 0 } type SystemInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` Os *OSInfo `protobuf:"bytes,2,opt,name=os,proto3" json:"os,omitempty"` Cpus []*CPUInfo `protobuf:"bytes,3,rep,name=cpus,proto3" json:"cpus,omitempty"` TotalMemory int64 `protobuf:"varint,5,opt,name=totalMemory,proto3" json:"totalMemory,omitempty"` } -func (m *SystemInfo) Reset() { *m = SystemInfo{} } -func (m *SystemInfo) String() string { return proto.CompactTextString(m) } -func (*SystemInfo) ProtoMessage() {} -func (*SystemInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{55} -} -func (m *SystemInfo) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *SystemInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_SystemInfo.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *SystemInfo) Reset() { + *x = SystemInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[55] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *SystemInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_SystemInfo.Merge(m, src) -} -func (m *SystemInfo) XXX_Size() int { - return m.Size() + +func (x *SystemInfo) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SystemInfo) XXX_DiscardUnknown() { - xxx_messageInfo_SystemInfo.DiscardUnknown(m) + +func (*SystemInfo) ProtoMessage() {} + +func (x *SystemInfo) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[55] + 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) } -var xxx_messageInfo_SystemInfo proto.InternalMessageInfo +// Deprecated: Use SystemInfo.ProtoReflect.Descriptor instead. +func (*SystemInfo) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{55} +} -func (m *SystemInfo) GetUuid() string { - if m != nil { - return m.Uuid +func (x *SystemInfo) GetUuid() string { + if x != nil { + return x.Uuid } return "" } -func (m *SystemInfo) GetOs() *OSInfo { - if m != nil { - return m.Os +func (x *SystemInfo) GetOs() *OSInfo { + if x != nil { + return x.Os } return nil } -func (m *SystemInfo) GetCpus() []*CPUInfo { - if m != nil { - return m.Cpus +func (x *SystemInfo) GetCpus() []*CPUInfo { + if x != nil { + return x.Cpus } return nil } -func (m *SystemInfo) GetTotalMemory() int64 { - if m != nil { - return m.TotalMemory +func (x *SystemInfo) GetTotalMemory() int64 { + if x != nil { + return x.TotalMemory } return 0 } type OSInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Platform string `protobuf:"bytes,2,opt,name=platform,proto3" json:"platform,omitempty"` Family string `protobuf:"bytes,3,opt,name=family,proto3" json:"family,omitempty"` @@ -5988,143 +6332,149 @@ type OSInfo struct { KernelVersion string `protobuf:"bytes,5,opt,name=kernelVersion,proto3" json:"kernelVersion,omitempty"` } -func (m *OSInfo) Reset() { *m = OSInfo{} } -func (m *OSInfo) String() string { return proto.CompactTextString(m) } -func (*OSInfo) ProtoMessage() {} -func (*OSInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{56} -} -func (m *OSInfo) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *OSInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_OSInfo.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *OSInfo) Reset() { + *x = OSInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[56] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *OSInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_OSInfo.Merge(m, src) -} -func (m *OSInfo) XXX_Size() int { - return m.Size() + +func (x *OSInfo) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *OSInfo) XXX_DiscardUnknown() { - xxx_messageInfo_OSInfo.DiscardUnknown(m) + +func (*OSInfo) ProtoMessage() {} + +func (x *OSInfo) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[56] + 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) } -var xxx_messageInfo_OSInfo proto.InternalMessageInfo +// Deprecated: Use OSInfo.ProtoReflect.Descriptor instead. +func (*OSInfo) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{56} +} -func (m *OSInfo) GetName() string { - if m != nil { - return m.Name +func (x *OSInfo) GetName() string { + if x != nil { + return x.Name } return "" } -func (m *OSInfo) GetPlatform() string { - if m != nil { - return m.Platform +func (x *OSInfo) GetPlatform() string { + if x != nil { + return x.Platform } return "" } -func (m *OSInfo) GetFamily() string { - if m != nil { - return m.Family +func (x *OSInfo) GetFamily() string { + if x != nil { + return x.Family } return "" } -func (m *OSInfo) GetVersion() string { - if m != nil { - return m.Version +func (x *OSInfo) GetVersion() string { + if x != nil { + return x.Version } return "" } -func (m *OSInfo) GetKernelVersion() string { - if m != nil { - return m.KernelVersion +func (x *OSInfo) GetKernelVersion() string { + if x != nil { + return x.KernelVersion } return "" } type IOStat struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + ReadRate float32 `protobuf:"fixed32,1,opt,name=readRate,proto3" json:"readRate,omitempty"` WriteRate float32 `protobuf:"fixed32,2,opt,name=writeRate,proto3" json:"writeRate,omitempty"` ReadBytesRate float32 `protobuf:"fixed32,3,opt,name=readBytesRate,proto3" json:"readBytesRate,omitempty"` WriteBytesRate float32 `protobuf:"fixed32,4,opt,name=writeBytesRate,proto3" json:"writeBytesRate,omitempty"` } -func (m *IOStat) Reset() { *m = IOStat{} } -func (m *IOStat) String() string { return proto.CompactTextString(m) } -func (*IOStat) ProtoMessage() {} -func (*IOStat) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{57} -} -func (m *IOStat) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *IOStat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_IOStat.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *IOStat) Reset() { + *x = IOStat{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[57] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *IOStat) XXX_Merge(src proto.Message) { - xxx_messageInfo_IOStat.Merge(m, src) -} -func (m *IOStat) XXX_Size() int { - return m.Size() + +func (x *IOStat) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *IOStat) XXX_DiscardUnknown() { - xxx_messageInfo_IOStat.DiscardUnknown(m) + +func (*IOStat) ProtoMessage() {} + +func (x *IOStat) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[57] + 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) } -var xxx_messageInfo_IOStat proto.InternalMessageInfo +// Deprecated: Use IOStat.ProtoReflect.Descriptor instead. +func (*IOStat) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{57} +} -func (m *IOStat) GetReadRate() float32 { - if m != nil { - return m.ReadRate +func (x *IOStat) GetReadRate() float32 { + if x != nil { + return x.ReadRate } return 0 } -func (m *IOStat) GetWriteRate() float32 { - if m != nil { - return m.WriteRate +func (x *IOStat) GetWriteRate() float32 { + if x != nil { + return x.WriteRate } return 0 } -func (m *IOStat) GetReadBytesRate() float32 { - if m != nil { - return m.ReadBytesRate +func (x *IOStat) GetReadBytesRate() float32 { + if x != nil { + return x.ReadBytesRate } return 0 } -func (m *IOStat) GetWriteBytesRate() float32 { - if m != nil { - return m.WriteBytesRate +func (x *IOStat) GetWriteBytesRate() float32 { + if x != nil { + return x.WriteBytesRate } return 0 } type MemoryStat struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Rss uint64 `protobuf:"varint,1,opt,name=rss,proto3" json:"rss,omitempty"` Vms uint64 `protobuf:"varint,2,opt,name=vms,proto3" json:"vms,omitempty"` Swap uint64 `protobuf:"varint,3,opt,name=swap,proto3" json:"swap,omitempty"` @@ -6135,96 +6485,99 @@ type MemoryStat struct { Dirty uint64 `protobuf:"varint,8,opt,name=dirty,proto3" json:"dirty,omitempty"` } -func (m *MemoryStat) Reset() { *m = MemoryStat{} } -func (m *MemoryStat) String() string { return proto.CompactTextString(m) } -func (*MemoryStat) ProtoMessage() {} -func (*MemoryStat) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{58} -} -func (m *MemoryStat) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *MemoryStat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_MemoryStat.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *MemoryStat) Reset() { + *x = MemoryStat{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[58] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *MemoryStat) XXX_Merge(src proto.Message) { - xxx_messageInfo_MemoryStat.Merge(m, src) -} -func (m *MemoryStat) XXX_Size() int { - return m.Size() + +func (x *MemoryStat) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *MemoryStat) XXX_DiscardUnknown() { - xxx_messageInfo_MemoryStat.DiscardUnknown(m) + +func (*MemoryStat) ProtoMessage() {} + +func (x *MemoryStat) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[58] + 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) } -var xxx_messageInfo_MemoryStat proto.InternalMessageInfo +// Deprecated: Use MemoryStat.ProtoReflect.Descriptor instead. +func (*MemoryStat) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{58} +} -func (m *MemoryStat) GetRss() uint64 { - if m != nil { - return m.Rss +func (x *MemoryStat) GetRss() uint64 { + if x != nil { + return x.Rss } return 0 } -func (m *MemoryStat) GetVms() uint64 { - if m != nil { - return m.Vms +func (x *MemoryStat) GetVms() uint64 { + if x != nil { + return x.Vms } return 0 } -func (m *MemoryStat) GetSwap() uint64 { - if m != nil { - return m.Swap +func (x *MemoryStat) GetSwap() uint64 { + if x != nil { + return x.Swap } return 0 } -func (m *MemoryStat) GetShared() uint64 { - if m != nil { - return m.Shared +func (x *MemoryStat) GetShared() uint64 { + if x != nil { + return x.Shared } return 0 } -func (m *MemoryStat) GetText() uint64 { - if m != nil { - return m.Text +func (x *MemoryStat) GetText() uint64 { + if x != nil { + return x.Text } return 0 } -func (m *MemoryStat) GetLib() uint64 { - if m != nil { - return m.Lib +func (x *MemoryStat) GetLib() uint64 { + if x != nil { + return x.Lib } return 0 } -func (m *MemoryStat) GetData() uint64 { - if m != nil { - return m.Data +func (x *MemoryStat) GetData() uint64 { + if x != nil { + return x.Data } return 0 } -func (m *MemoryStat) GetDirty() uint64 { - if m != nil { - return m.Dirty +func (x *MemoryStat) GetDirty() uint64 { + if x != nil { + return x.Dirty } return 0 } type CPUStat struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + LastCpu string `protobuf:"bytes,1,opt,name=lastCpu,proto3" json:"lastCpu,omitempty"` TotalPct float32 `protobuf:"fixed32,2,opt,name=totalPct,proto3" json:"totalPct,omitempty"` UserPct float32 `protobuf:"fixed32,3,opt,name=userPct,proto3" json:"userPct,omitempty"` @@ -6236,155 +6589,161 @@ type CPUStat struct { SystemTime int64 `protobuf:"varint,9,opt,name=systemTime,proto3" json:"systemTime,omitempty"` } -func (m *CPUStat) Reset() { *m = CPUStat{} } -func (m *CPUStat) String() string { return proto.CompactTextString(m) } -func (*CPUStat) ProtoMessage() {} -func (*CPUStat) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{59} -} -func (m *CPUStat) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *CPUStat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_CPUStat.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *CPUStat) Reset() { + *x = CPUStat{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[59] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *CPUStat) XXX_Merge(src proto.Message) { - xxx_messageInfo_CPUStat.Merge(m, src) -} -func (m *CPUStat) XXX_Size() int { - return m.Size() + +func (x *CPUStat) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CPUStat) XXX_DiscardUnknown() { - xxx_messageInfo_CPUStat.DiscardUnknown(m) + +func (*CPUStat) ProtoMessage() {} + +func (x *CPUStat) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[59] + 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) } -var xxx_messageInfo_CPUStat proto.InternalMessageInfo +// Deprecated: Use CPUStat.ProtoReflect.Descriptor instead. +func (*CPUStat) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{59} +} -func (m *CPUStat) GetLastCpu() string { - if m != nil { - return m.LastCpu +func (x *CPUStat) GetLastCpu() string { + if x != nil { + return x.LastCpu } return "" } -func (m *CPUStat) GetTotalPct() float32 { - if m != nil { - return m.TotalPct +func (x *CPUStat) GetTotalPct() float32 { + if x != nil { + return x.TotalPct } return 0 } -func (m *CPUStat) GetUserPct() float32 { - if m != nil { - return m.UserPct +func (x *CPUStat) GetUserPct() float32 { + if x != nil { + return x.UserPct } return 0 } -func (m *CPUStat) GetSystemPct() float32 { - if m != nil { - return m.SystemPct +func (x *CPUStat) GetSystemPct() float32 { + if x != nil { + return x.SystemPct } return 0 } -func (m *CPUStat) GetNumThreads() int32 { - if m != nil { - return m.NumThreads +func (x *CPUStat) GetNumThreads() int32 { + if x != nil { + return x.NumThreads } return 0 } -func (m *CPUStat) GetCpus() []*SingleCPUStat { - if m != nil { - return m.Cpus +func (x *CPUStat) GetCpus() []*SingleCPUStat { + if x != nil { + return x.Cpus } return nil } -func (m *CPUStat) GetNice() int32 { - if m != nil { - return m.Nice +func (x *CPUStat) GetNice() int32 { + if x != nil { + return x.Nice } return 0 } -func (m *CPUStat) GetUserTime() int64 { - if m != nil { - return m.UserTime +func (x *CPUStat) GetUserTime() int64 { + if x != nil { + return x.UserTime } return 0 } -func (m *CPUStat) GetSystemTime() int64 { - if m != nil { - return m.SystemTime +func (x *CPUStat) GetSystemTime() int64 { + if x != nil { + return x.SystemTime } return 0 } type SingleCPUStat struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` TotalPct float32 `protobuf:"fixed32,2,opt,name=totalPct,proto3" json:"totalPct,omitempty"` } -func (m *SingleCPUStat) Reset() { *m = SingleCPUStat{} } -func (m *SingleCPUStat) String() string { return proto.CompactTextString(m) } -func (*SingleCPUStat) ProtoMessage() {} -func (*SingleCPUStat) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{60} -} -func (m *SingleCPUStat) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *SingleCPUStat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_SingleCPUStat.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *SingleCPUStat) Reset() { + *x = SingleCPUStat{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[60] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *SingleCPUStat) XXX_Merge(src proto.Message) { - xxx_messageInfo_SingleCPUStat.Merge(m, src) + +func (x *SingleCPUStat) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SingleCPUStat) XXX_Size() int { - return m.Size() -} -func (m *SingleCPUStat) XXX_DiscardUnknown() { - xxx_messageInfo_SingleCPUStat.DiscardUnknown(m) + +func (*SingleCPUStat) ProtoMessage() {} + +func (x *SingleCPUStat) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[60] + 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) } -var xxx_messageInfo_SingleCPUStat proto.InternalMessageInfo +// Deprecated: Use SingleCPUStat.ProtoReflect.Descriptor instead. +func (*SingleCPUStat) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{60} +} -func (m *SingleCPUStat) GetName() string { - if m != nil { - return m.Name +func (x *SingleCPUStat) GetName() string { + if x != nil { + return x.Name } return "" } -func (m *SingleCPUStat) GetTotalPct() float32 { - if m != nil { - return m.TotalPct +func (x *SingleCPUStat) GetTotalPct() float32 { + if x != nil { + return x.TotalPct } return 0 } type CPUInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Number int32 `protobuf:"varint,1,opt,name=number,proto3" json:"number,omitempty"` Vendor string `protobuf:"bytes,2,opt,name=vendor,proto3" json:"vendor,omitempty"` Family string `protobuf:"bytes,3,opt,name=family,proto3" json:"family,omitempty"` @@ -6396,103 +6755,106 @@ type CPUInfo struct { CacheSize int32 `protobuf:"varint,9,opt,name=cacheSize,proto3" json:"cacheSize,omitempty"` } -func (m *CPUInfo) Reset() { *m = CPUInfo{} } -func (m *CPUInfo) String() string { return proto.CompactTextString(m) } -func (*CPUInfo) ProtoMessage() {} -func (*CPUInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{61} -} -func (m *CPUInfo) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *CPUInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_CPUInfo.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *CPUInfo) Reset() { + *x = CPUInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[61] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *CPUInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_CPUInfo.Merge(m, src) -} -func (m *CPUInfo) XXX_Size() int { - return m.Size() + +func (x *CPUInfo) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CPUInfo) XXX_DiscardUnknown() { - xxx_messageInfo_CPUInfo.DiscardUnknown(m) + +func (*CPUInfo) ProtoMessage() {} + +func (x *CPUInfo) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[61] + 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) } -var xxx_messageInfo_CPUInfo proto.InternalMessageInfo +// Deprecated: Use CPUInfo.ProtoReflect.Descriptor instead. +func (*CPUInfo) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{61} +} -func (m *CPUInfo) GetNumber() int32 { - if m != nil { - return m.Number +func (x *CPUInfo) GetNumber() int32 { + if x != nil { + return x.Number } return 0 } -func (m *CPUInfo) GetVendor() string { - if m != nil { - return m.Vendor +func (x *CPUInfo) GetVendor() string { + if x != nil { + return x.Vendor } return "" } -func (m *CPUInfo) GetFamily() string { - if m != nil { - return m.Family +func (x *CPUInfo) GetFamily() string { + if x != nil { + return x.Family } return "" } -func (m *CPUInfo) GetModel() string { - if m != nil { - return m.Model +func (x *CPUInfo) GetModel() string { + if x != nil { + return x.Model } return "" } -func (m *CPUInfo) GetPhysicalId() string { - if m != nil { - return m.PhysicalId +func (x *CPUInfo) GetPhysicalId() string { + if x != nil { + return x.PhysicalId } return "" } -func (m *CPUInfo) GetCoreId() string { - if m != nil { - return m.CoreId +func (x *CPUInfo) GetCoreId() string { + if x != nil { + return x.CoreId } return "" } -func (m *CPUInfo) GetCores() int32 { - if m != nil { - return m.Cores +func (x *CPUInfo) GetCores() int32 { + if x != nil { + return x.Cores } return 0 } -func (m *CPUInfo) GetMhz() int64 { - if m != nil { - return m.Mhz +func (x *CPUInfo) GetMhz() int64 { + if x != nil { + return x.Mhz } return 0 } -func (m *CPUInfo) GetCacheSize() int32 { - if m != nil { - return m.CacheSize +func (x *CPUInfo) GetCacheSize() int32 { + if x != nil { + return x.CacheSize } return 0 } type Host struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` OrgId int32 `protobuf:"varint,2,opt,name=orgId,proto3" json:"orgId,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` @@ -6503,96 +6865,99 @@ type Host struct { TagsModified int64 `protobuf:"varint,10,opt,name=tagsModified,proto3" json:"tagsModified,omitempty"` } -func (m *Host) Reset() { *m = Host{} } -func (m *Host) String() string { return proto.CompactTextString(m) } -func (*Host) ProtoMessage() {} -func (*Host) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{62} -} -func (m *Host) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *Host) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Host.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *Host) Reset() { + *x = Host{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[62] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *Host) XXX_Merge(src proto.Message) { - xxx_messageInfo_Host.Merge(m, src) -} -func (m *Host) XXX_Size() int { - return m.Size() + +func (x *Host) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Host) XXX_DiscardUnknown() { - xxx_messageInfo_Host.DiscardUnknown(m) + +func (*Host) ProtoMessage() {} + +func (x *Host) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[62] + 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) } -var xxx_messageInfo_Host proto.InternalMessageInfo +// Deprecated: Use Host.ProtoReflect.Descriptor instead. +func (*Host) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{62} +} -func (m *Host) GetId() int64 { - if m != nil { - return m.Id +func (x *Host) GetId() int64 { + if x != nil { + return x.Id } return 0 } -func (m *Host) GetOrgId() int32 { - if m != nil { - return m.OrgId +func (x *Host) GetOrgId() int32 { + if x != nil { + return x.OrgId } return 0 } -func (m *Host) GetName() string { - if m != nil { - return m.Name +func (x *Host) GetName() string { + if x != nil { + return x.Name } return "" } -func (m *Host) GetAllTags() []string { - if m != nil { - return m.AllTags +func (x *Host) GetAllTags() []string { + if x != nil { + return x.AllTags } return nil } -func (m *Host) GetNumCpus() int32 { - if m != nil { - return m.NumCpus +func (x *Host) GetNumCpus() int32 { + if x != nil { + return x.NumCpus } return 0 } -func (m *Host) GetTotalMemory() int64 { - if m != nil { - return m.TotalMemory +func (x *Host) GetTotalMemory() int64 { + if x != nil { + return x.TotalMemory } return 0 } -func (m *Host) GetTagIndex() int32 { - if m != nil { - return m.TagIndex +func (x *Host) GetTagIndex() int32 { + if x != nil { + return x.TagIndex } return 0 } -func (m *Host) GetTagsModified() int64 { - if m != nil { - return m.TagsModified +func (x *Host) GetTagsModified() int64 { + if x != nil { + return x.TagsModified } return 0 } type Cluster struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + NodeCount int32 `protobuf:"varint,1,opt,name=nodeCount,proto3" json:"nodeCount,omitempty"` KubeletVersions map[string]int32 `protobuf:"bytes,2,rep,name=kubeletVersions,proto3" json:"kubeletVersions,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` ApiServerVersions map[string]int32 `protobuf:"bytes,3,rep,name=apiServerVersions,proto3" json:"apiServerVersions,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` @@ -6613,146 +6978,149 @@ type Cluster struct { ExtendedResourcesCapacity map[string]int64 `protobuf:"bytes,15,rep,name=extendedResourcesCapacity,proto3" json:"extendedResourcesCapacity,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` } -func (m *Cluster) Reset() { *m = Cluster{} } -func (m *Cluster) String() string { return proto.CompactTextString(m) } -func (*Cluster) ProtoMessage() {} -func (*Cluster) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{63} -} -func (m *Cluster) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *Cluster) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Cluster.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *Cluster) Reset() { + *x = Cluster{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[63] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *Cluster) XXX_Merge(src proto.Message) { - xxx_messageInfo_Cluster.Merge(m, src) -} -func (m *Cluster) XXX_Size() int { - return m.Size() + +func (x *Cluster) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Cluster) XXX_DiscardUnknown() { - xxx_messageInfo_Cluster.DiscardUnknown(m) + +func (*Cluster) ProtoMessage() {} + +func (x *Cluster) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[63] + 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) } -var xxx_messageInfo_Cluster proto.InternalMessageInfo +// Deprecated: Use Cluster.ProtoReflect.Descriptor instead. +func (*Cluster) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{63} +} -func (m *Cluster) GetNodeCount() int32 { - if m != nil { - return m.NodeCount +func (x *Cluster) GetNodeCount() int32 { + if x != nil { + return x.NodeCount } return 0 } -func (m *Cluster) GetKubeletVersions() map[string]int32 { - if m != nil { - return m.KubeletVersions +func (x *Cluster) GetKubeletVersions() map[string]int32 { + if x != nil { + return x.KubeletVersions } return nil } -func (m *Cluster) GetApiServerVersions() map[string]int32 { - if m != nil { - return m.ApiServerVersions +func (x *Cluster) GetApiServerVersions() map[string]int32 { + if x != nil { + return x.ApiServerVersions } return nil } -func (m *Cluster) GetPodCapacity() uint32 { - if m != nil { - return m.PodCapacity +func (x *Cluster) GetPodCapacity() uint32 { + if x != nil { + return x.PodCapacity } return 0 } -func (m *Cluster) GetPodAllocatable() uint32 { - if m != nil { - return m.PodAllocatable +func (x *Cluster) GetPodAllocatable() uint32 { + if x != nil { + return x.PodAllocatable } return 0 } -func (m *Cluster) GetMemoryAllocatable() uint64 { - if m != nil { - return m.MemoryAllocatable +func (x *Cluster) GetMemoryAllocatable() uint64 { + if x != nil { + return x.MemoryAllocatable } return 0 } -func (m *Cluster) GetMemoryCapacity() uint64 { - if m != nil { - return m.MemoryCapacity +func (x *Cluster) GetMemoryCapacity() uint64 { + if x != nil { + return x.MemoryCapacity } return 0 } -func (m *Cluster) GetCpuAllocatable() uint64 { - if m != nil { - return m.CpuAllocatable +func (x *Cluster) GetCpuAllocatable() uint64 { + if x != nil { + return x.CpuAllocatable } return 0 } -func (m *Cluster) GetCpuCapacity() uint64 { - if m != nil { - return m.CpuCapacity +func (x *Cluster) GetCpuCapacity() uint64 { + if x != nil { + return x.CpuCapacity } return 0 } -func (m *Cluster) GetResourceVersion() string { - if m != nil { - return m.ResourceVersion +func (x *Cluster) GetResourceVersion() string { + if x != nil { + return x.ResourceVersion } return "" } -func (m *Cluster) GetCreationTimestamp() int64 { - if m != nil { - return m.CreationTimestamp +func (x *Cluster) GetCreationTimestamp() int64 { + if x != nil { + return x.CreationTimestamp } return 0 } -func (m *Cluster) GetTags() []string { - if m != nil { - return m.Tags +func (x *Cluster) GetTags() []string { + if x != nil { + return x.Tags } return nil } -func (m *Cluster) GetMetrics() *ResourceMetrics { - if m != nil { - return m.Metrics +func (x *Cluster) GetMetrics() *ResourceMetrics { + if x != nil { + return x.Metrics } return nil } -func (m *Cluster) GetExtendedResourcesAllocatable() map[string]int64 { - if m != nil { - return m.ExtendedResourcesAllocatable +func (x *Cluster) GetExtendedResourcesAllocatable() map[string]int64 { + if x != nil { + return x.ExtendedResourcesAllocatable } return nil } -func (m *Cluster) GetExtendedResourcesCapacity() map[string]int64 { - if m != nil { - return m.ExtendedResourcesCapacity +func (x *Cluster) GetExtendedResourcesCapacity() map[string]int64 { + if x != nil { + return x.ExtendedResourcesCapacity } return nil } // reference https://github.com/kubernetes/apimachinery/blob/2373d029717c4d169463414a6127cd1d0d12680e/pkg/apis/meta/v1/generated.proto#L521 type Metadata struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` Uid string `protobuf:"bytes,3,opt,name=uid,proto3" json:"uid,omitempty"` @@ -6765,171 +7133,177 @@ type Metadata struct { Finalizers []string `protobuf:"bytes,10,rep,name=finalizers,proto3" json:"finalizers,omitempty"` } -func (m *Metadata) Reset() { *m = Metadata{} } -func (m *Metadata) String() string { return proto.CompactTextString(m) } -func (*Metadata) ProtoMessage() {} -func (*Metadata) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{64} -} -func (m *Metadata) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *Metadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Metadata.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *Metadata) Reset() { + *x = Metadata{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[64] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *Metadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_Metadata.Merge(m, src) -} -func (m *Metadata) XXX_Size() int { - return m.Size() + +func (x *Metadata) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Metadata) XXX_DiscardUnknown() { - xxx_messageInfo_Metadata.DiscardUnknown(m) + +func (*Metadata) ProtoMessage() {} + +func (x *Metadata) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[64] + 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) } -var xxx_messageInfo_Metadata proto.InternalMessageInfo +// Deprecated: Use Metadata.ProtoReflect.Descriptor instead. +func (*Metadata) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{64} +} -func (m *Metadata) GetName() string { - if m != nil { - return m.Name +func (x *Metadata) GetName() string { + if x != nil { + return x.Name } return "" } -func (m *Metadata) GetNamespace() string { - if m != nil { - return m.Namespace +func (x *Metadata) GetNamespace() string { + if x != nil { + return x.Namespace } return "" } -func (m *Metadata) GetUid() string { - if m != nil { - return m.Uid +func (x *Metadata) GetUid() string { + if x != nil { + return x.Uid } return "" } -func (m *Metadata) GetCreationTimestamp() int64 { - if m != nil { - return m.CreationTimestamp +func (x *Metadata) GetCreationTimestamp() int64 { + if x != nil { + return x.CreationTimestamp } return 0 } -func (m *Metadata) GetDeletionTimestamp() int64 { - if m != nil { - return m.DeletionTimestamp +func (x *Metadata) GetDeletionTimestamp() int64 { + if x != nil { + return x.DeletionTimestamp } return 0 } -func (m *Metadata) GetLabels() []string { - if m != nil { - return m.Labels +func (x *Metadata) GetLabels() []string { + if x != nil { + return x.Labels } return nil } -func (m *Metadata) GetAnnotations() []string { - if m != nil { - return m.Annotations +func (x *Metadata) GetAnnotations() []string { + if x != nil { + return x.Annotations } return nil } -func (m *Metadata) GetOwnerReferences() []*OwnerReference { - if m != nil { - return m.OwnerReferences +func (x *Metadata) GetOwnerReferences() []*OwnerReference { + if x != nil { + return x.OwnerReferences } return nil } -func (m *Metadata) GetResourceVersion() string { - if m != nil { - return m.ResourceVersion +func (x *Metadata) GetResourceVersion() string { + if x != nil { + return x.ResourceVersion } return "" } -func (m *Metadata) GetFinalizers() []string { - if m != nil { - return m.Finalizers +func (x *Metadata) GetFinalizers() []string { + if x != nil { + return x.Finalizers } return nil } type OwnerReference struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"` Kind string `protobuf:"bytes,3,opt,name=kind,proto3" json:"kind,omitempty"` } -func (m *OwnerReference) Reset() { *m = OwnerReference{} } -func (m *OwnerReference) String() string { return proto.CompactTextString(m) } -func (*OwnerReference) ProtoMessage() {} -func (*OwnerReference) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{65} -} -func (m *OwnerReference) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *OwnerReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_OwnerReference.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *OwnerReference) Reset() { + *x = OwnerReference{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[65] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *OwnerReference) XXX_Merge(src proto.Message) { - xxx_messageInfo_OwnerReference.Merge(m, src) -} -func (m *OwnerReference) XXX_Size() int { - return m.Size() + +func (x *OwnerReference) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *OwnerReference) XXX_DiscardUnknown() { - xxx_messageInfo_OwnerReference.DiscardUnknown(m) + +func (*OwnerReference) ProtoMessage() {} + +func (x *OwnerReference) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[65] + 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) } -var xxx_messageInfo_OwnerReference proto.InternalMessageInfo +// Deprecated: Use OwnerReference.ProtoReflect.Descriptor instead. +func (*OwnerReference) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{65} +} -func (m *OwnerReference) GetName() string { - if m != nil { - return m.Name +func (x *OwnerReference) GetName() string { + if x != nil { + return x.Name } return "" } -func (m *OwnerReference) GetUid() string { - if m != nil { - return m.Uid +func (x *OwnerReference) GetUid() string { + if x != nil { + return x.Uid } return "" } -func (m *OwnerReference) GetKind() string { - if m != nil { - return m.Kind +func (x *OwnerReference) GetKind() string { + if x != nil { + return x.Kind } return "" } // reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/pkg/apis/core/types.go#L4317 type ObjectReference struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"` Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` @@ -6939,212 +7313,221 @@ type ObjectReference struct { FieldPath string `protobuf:"bytes,7,opt,name=fieldPath,proto3" json:"fieldPath,omitempty"` } -func (m *ObjectReference) Reset() { *m = ObjectReference{} } -func (m *ObjectReference) String() string { return proto.CompactTextString(m) } -func (*ObjectReference) ProtoMessage() {} -func (*ObjectReference) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{66} -} -func (m *ObjectReference) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ObjectReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ObjectReference.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ObjectReference) Reset() { + *x = ObjectReference{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[66] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ObjectReference) XXX_Merge(src proto.Message) { - xxx_messageInfo_ObjectReference.Merge(m, src) -} -func (m *ObjectReference) XXX_Size() int { - return m.Size() + +func (x *ObjectReference) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ObjectReference) XXX_DiscardUnknown() { - xxx_messageInfo_ObjectReference.DiscardUnknown(m) + +func (*ObjectReference) ProtoMessage() {} + +func (x *ObjectReference) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[66] + 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) } -var xxx_messageInfo_ObjectReference proto.InternalMessageInfo +// Deprecated: Use ObjectReference.ProtoReflect.Descriptor instead. +func (*ObjectReference) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{66} +} -func (m *ObjectReference) GetKind() string { - if m != nil { - return m.Kind +func (x *ObjectReference) GetKind() string { + if x != nil { + return x.Kind } return "" } -func (m *ObjectReference) GetNamespace() string { - if m != nil { - return m.Namespace +func (x *ObjectReference) GetNamespace() string { + if x != nil { + return x.Namespace } return "" } -func (m *ObjectReference) GetName() string { - if m != nil { - return m.Name +func (x *ObjectReference) GetName() string { + if x != nil { + return x.Name } return "" } -func (m *ObjectReference) GetUid() string { - if m != nil { - return m.Uid +func (x *ObjectReference) GetUid() string { + if x != nil { + return x.Uid } return "" } -func (m *ObjectReference) GetApiVersion() string { - if m != nil { - return m.ApiVersion +func (x *ObjectReference) GetApiVersion() string { + if x != nil { + return x.ApiVersion } return "" } -func (m *ObjectReference) GetResourceVersion() string { - if m != nil { - return m.ResourceVersion +func (x *ObjectReference) GetResourceVersion() string { + if x != nil { + return x.ResourceVersion } return "" } -func (m *ObjectReference) GetFieldPath() string { - if m != nil { - return m.FieldPath +func (x *ObjectReference) GetFieldPath() string { + if x != nil { + return x.FieldPath } return "" } // reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/core/v1/generated.proto#L4571 type ServicePort struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Protocol string `protobuf:"bytes,2,opt,name=protocol,proto3" json:"protocol,omitempty"` Port int32 `protobuf:"varint,3,opt,name=port,proto3" json:"port,omitempty"` - TargetPort string `protobuf:"bytes,4,opt,name=targetPort,proto3" json:"targetPort,omitempty"` + TargetPort string `protobuf:"bytes,4,opt,name=targetPort,proto3" json:"targetPort,omitempty"` // int or str NodePort int32 `protobuf:"varint,5,opt,name=nodePort,proto3" json:"nodePort,omitempty"` } -func (m *ServicePort) Reset() { *m = ServicePort{} } -func (m *ServicePort) String() string { return proto.CompactTextString(m) } -func (*ServicePort) ProtoMessage() {} -func (*ServicePort) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{67} -} -func (m *ServicePort) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ServicePort) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ServicePort.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ServicePort) Reset() { + *x = ServicePort{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[67] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ServicePort) XXX_Merge(src proto.Message) { - xxx_messageInfo_ServicePort.Merge(m, src) -} -func (m *ServicePort) XXX_Size() int { - return m.Size() + +func (x *ServicePort) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ServicePort) XXX_DiscardUnknown() { - xxx_messageInfo_ServicePort.DiscardUnknown(m) + +func (*ServicePort) ProtoMessage() {} + +func (x *ServicePort) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[67] + 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) } -var xxx_messageInfo_ServicePort proto.InternalMessageInfo +// Deprecated: Use ServicePort.ProtoReflect.Descriptor instead. +func (*ServicePort) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{67} +} -func (m *ServicePort) GetName() string { - if m != nil { - return m.Name +func (x *ServicePort) GetName() string { + if x != nil { + return x.Name } return "" } -func (m *ServicePort) GetProtocol() string { - if m != nil { - return m.Protocol +func (x *ServicePort) GetProtocol() string { + if x != nil { + return x.Protocol } return "" } -func (m *ServicePort) GetPort() int32 { - if m != nil { - return m.Port +func (x *ServicePort) GetPort() int32 { + if x != nil { + return x.Port } return 0 } -func (m *ServicePort) GetTargetPort() string { - if m != nil { - return m.TargetPort +func (x *ServicePort) GetTargetPort() string { + if x != nil { + return x.TargetPort } return "" } -func (m *ServicePort) GetNodePort() int32 { - if m != nil { - return m.NodePort +func (x *ServicePort) GetNodePort() int32 { + if x != nil { + return x.NodePort } return 0 } // reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/core/v1/generated.proto#L4756 type ServiceSessionAffinityConfig struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + ClientIPTimeoutSeconds int32 `protobuf:"varint,1,opt,name=clientIPTimeoutSeconds,proto3" json:"clientIPTimeoutSeconds,omitempty"` } -func (m *ServiceSessionAffinityConfig) Reset() { *m = ServiceSessionAffinityConfig{} } -func (m *ServiceSessionAffinityConfig) String() string { return proto.CompactTextString(m) } -func (*ServiceSessionAffinityConfig) ProtoMessage() {} -func (*ServiceSessionAffinityConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{68} -} -func (m *ServiceSessionAffinityConfig) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ServiceSessionAffinityConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ServiceSessionAffinityConfig.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ServiceSessionAffinityConfig) Reset() { + *x = ServiceSessionAffinityConfig{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[68] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ServiceSessionAffinityConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_ServiceSessionAffinityConfig.Merge(m, src) -} -func (m *ServiceSessionAffinityConfig) XXX_Size() int { - return m.Size() + +func (x *ServiceSessionAffinityConfig) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ServiceSessionAffinityConfig) XXX_DiscardUnknown() { - xxx_messageInfo_ServiceSessionAffinityConfig.DiscardUnknown(m) + +func (*ServiceSessionAffinityConfig) ProtoMessage() {} + +func (x *ServiceSessionAffinityConfig) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[68] + 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) } -var xxx_messageInfo_ServiceSessionAffinityConfig proto.InternalMessageInfo +// Deprecated: Use ServiceSessionAffinityConfig.ProtoReflect.Descriptor instead. +func (*ServiceSessionAffinityConfig) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{68} +} -func (m *ServiceSessionAffinityConfig) GetClientIPTimeoutSeconds() int32 { - if m != nil { - return m.ClientIPTimeoutSeconds +func (x *ServiceSessionAffinityConfig) GetClientIPTimeoutSeconds() int32 { + if x != nil { + return x.ClientIPTimeoutSeconds } return 0 } // reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/core/v1/generated.proto#L2107 type Node struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` // spec reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/core/v1/generated.proto#L2312 PodCIDR string `protobuf:"bytes,2,opt,name=podCIDR,proto3" json:"podCIDR,omitempty"` @@ -7152,135 +7535,139 @@ type Node struct { Unschedulable bool `protobuf:"varint,4,opt,name=unschedulable,proto3" json:"unschedulable,omitempty"` Taints []*Taint `protobuf:"bytes,5,rep,name=taints,proto3" json:"taints,omitempty"` Status *NodeStatus `protobuf:"bytes,6,opt,name=status,proto3" json:"status,omitempty"` - Yaml []byte `protobuf:"bytes,7,opt,name=yaml,proto3" json:"yaml,omitempty"` // Deprecated: Do not use. + // Deprecated: Marked as deprecated in proto/process/agent.proto. + Yaml []byte `protobuf:"bytes,7,opt,name=yaml,proto3" json:"yaml,omitempty"` // see CollectorManifest // we parse it from the labels. Similar to upstream https://github.com/kubernetes/kubernetes/blob/1e12d92a5179dbfeb455c79dbf9120c8536e5f9c/pkg/printers/internalversion/printers.go#L1487 Roles []string `protobuf:"bytes,8,rep,name=roles,proto3" json:"roles,omitempty"` Tags []string `protobuf:"bytes,9,rep,name=tags,proto3" json:"tags,omitempty"` ProviderID string `protobuf:"bytes,10,opt,name=providerID,proto3" json:"providerID,omitempty"` - Host *Host `protobuf:"bytes,11,opt,name=host,proto3" json:"host,omitempty"` + Host *Host `protobuf:"bytes,11,opt,name=host,proto3" json:"host,omitempty"` // Used post-resolution Metrics *ResourceMetrics `protobuf:"bytes,12,opt,name=metrics,proto3" json:"metrics,omitempty"` } -func (m *Node) Reset() { *m = Node{} } -func (m *Node) String() string { return proto.CompactTextString(m) } -func (*Node) ProtoMessage() {} -func (*Node) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{69} -} -func (m *Node) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *Node) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Node.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *Node) Reset() { + *x = Node{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[69] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *Node) XXX_Merge(src proto.Message) { - xxx_messageInfo_Node.Merge(m, src) -} -func (m *Node) XXX_Size() int { - return m.Size() + +func (x *Node) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Node) XXX_DiscardUnknown() { - xxx_messageInfo_Node.DiscardUnknown(m) + +func (*Node) ProtoMessage() {} + +func (x *Node) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[69] + 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) } -var xxx_messageInfo_Node proto.InternalMessageInfo +// Deprecated: Use Node.ProtoReflect.Descriptor instead. +func (*Node) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{69} +} -func (m *Node) GetMetadata() *Metadata { - if m != nil { - return m.Metadata +func (x *Node) GetMetadata() *Metadata { + if x != nil { + return x.Metadata } return nil } -func (m *Node) GetPodCIDR() string { - if m != nil { - return m.PodCIDR +func (x *Node) GetPodCIDR() string { + if x != nil { + return x.PodCIDR } return "" } -func (m *Node) GetPodCIDRs() []string { - if m != nil { - return m.PodCIDRs +func (x *Node) GetPodCIDRs() []string { + if x != nil { + return x.PodCIDRs } return nil } -func (m *Node) GetUnschedulable() bool { - if m != nil { - return m.Unschedulable +func (x *Node) GetUnschedulable() bool { + if x != nil { + return x.Unschedulable } return false } -func (m *Node) GetTaints() []*Taint { - if m != nil { - return m.Taints +func (x *Node) GetTaints() []*Taint { + if x != nil { + return x.Taints } return nil } -func (m *Node) GetStatus() *NodeStatus { - if m != nil { - return m.Status +func (x *Node) GetStatus() *NodeStatus { + if x != nil { + return x.Status } return nil } -// Deprecated: Do not use. -func (m *Node) GetYaml() []byte { - if m != nil { - return m.Yaml +// Deprecated: Marked as deprecated in proto/process/agent.proto. +func (x *Node) GetYaml() []byte { + if x != nil { + return x.Yaml } return nil } -func (m *Node) GetRoles() []string { - if m != nil { - return m.Roles +func (x *Node) GetRoles() []string { + if x != nil { + return x.Roles } return nil } -func (m *Node) GetTags() []string { - if m != nil { - return m.Tags +func (x *Node) GetTags() []string { + if x != nil { + return x.Tags } return nil } -func (m *Node) GetProviderID() string { - if m != nil { - return m.ProviderID +func (x *Node) GetProviderID() string { + if x != nil { + return x.ProviderID } return "" } -func (m *Node) GetHost() *Host { - if m != nil { - return m.Host +func (x *Node) GetHost() *Host { + if x != nil { + return x.Host } return nil } -func (m *Node) GetMetrics() *ResourceMetrics { - if m != nil { - return m.Metrics +func (x *Node) GetMetrics() *ResourceMetrics { + if x != nil { + return x.Metrics } return nil } // reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/core/v1/generated.proto#L2348 type NodeStatus struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Key/Value of a resource type and a corresponding quantity as an int64. Capacity map[string]int64 `protobuf:"bytes,1,rep,name=capacity,proto3" json:"capacity,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` // Key/Value of a resource type and a corresponding quantity as an int64. @@ -7304,132 +7691,135 @@ type NodeStatus struct { ContainerRuntimeVersion string `protobuf:"bytes,13,opt,name=containerRuntimeVersion,proto3" json:"containerRuntimeVersion,omitempty"` } -func (m *NodeStatus) Reset() { *m = NodeStatus{} } -func (m *NodeStatus) String() string { return proto.CompactTextString(m) } -func (*NodeStatus) ProtoMessage() {} -func (*NodeStatus) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{70} -} -func (m *NodeStatus) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *NodeStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_NodeStatus.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *NodeStatus) Reset() { + *x = NodeStatus{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[70] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *NodeStatus) XXX_Merge(src proto.Message) { - xxx_messageInfo_NodeStatus.Merge(m, src) -} -func (m *NodeStatus) XXX_Size() int { - return m.Size() + +func (x *NodeStatus) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *NodeStatus) XXX_DiscardUnknown() { - xxx_messageInfo_NodeStatus.DiscardUnknown(m) + +func (*NodeStatus) ProtoMessage() {} + +func (x *NodeStatus) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[70] + 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) } -var xxx_messageInfo_NodeStatus proto.InternalMessageInfo +// Deprecated: Use NodeStatus.ProtoReflect.Descriptor instead. +func (*NodeStatus) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{70} +} -func (m *NodeStatus) GetCapacity() map[string]int64 { - if m != nil { - return m.Capacity +func (x *NodeStatus) GetCapacity() map[string]int64 { + if x != nil { + return x.Capacity } return nil } -func (m *NodeStatus) GetAllocatable() map[string]int64 { - if m != nil { - return m.Allocatable +func (x *NodeStatus) GetAllocatable() map[string]int64 { + if x != nil { + return x.Allocatable } return nil } -func (m *NodeStatus) GetNodeAddresses() map[string]string { - if m != nil { - return m.NodeAddresses +func (x *NodeStatus) GetNodeAddresses() map[string]string { + if x != nil { + return x.NodeAddresses } return nil } -func (m *NodeStatus) GetStatus() string { - if m != nil { - return m.Status +func (x *NodeStatus) GetStatus() string { + if x != nil { + return x.Status } return "" } -func (m *NodeStatus) GetKubeletVersion() string { - if m != nil { - return m.KubeletVersion +func (x *NodeStatus) GetKubeletVersion() string { + if x != nil { + return x.KubeletVersion } return "" } -func (m *NodeStatus) GetConditions() []*NodeCondition { - if m != nil { - return m.Conditions +func (x *NodeStatus) GetConditions() []*NodeCondition { + if x != nil { + return x.Conditions } return nil } -func (m *NodeStatus) GetImages() []*ContainerImage { - if m != nil { - return m.Images +func (x *NodeStatus) GetImages() []*ContainerImage { + if x != nil { + return x.Images } return nil } -func (m *NodeStatus) GetKubeProxyVersion() string { - if m != nil { - return m.KubeProxyVersion +func (x *NodeStatus) GetKubeProxyVersion() string { + if x != nil { + return x.KubeProxyVersion } return "" } -func (m *NodeStatus) GetOperatingSystem() string { - if m != nil { - return m.OperatingSystem +func (x *NodeStatus) GetOperatingSystem() string { + if x != nil { + return x.OperatingSystem } return "" } -func (m *NodeStatus) GetArchitecture() string { - if m != nil { - return m.Architecture +func (x *NodeStatus) GetArchitecture() string { + if x != nil { + return x.Architecture } return "" } -func (m *NodeStatus) GetKernelVersion() string { - if m != nil { - return m.KernelVersion +func (x *NodeStatus) GetKernelVersion() string { + if x != nil { + return x.KernelVersion } return "" } -func (m *NodeStatus) GetOsImage() string { - if m != nil { - return m.OsImage +func (x *NodeStatus) GetOsImage() string { + if x != nil { + return x.OsImage } return "" } -func (m *NodeStatus) GetContainerRuntimeVersion() string { - if m != nil { - return m.ContainerRuntimeVersion +func (x *NodeStatus) GetContainerRuntimeVersion() string { + if x != nil { + return x.ContainerRuntimeVersion } return "" } // reference: https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/core/v1/generated.proto#L2158 type NodeCondition struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` LastTransitionTime int64 `protobuf:"varint,3,opt,name=lastTransitionTime,proto3" json:"lastTransitionTime,omitempty"` @@ -7437,198 +7827,207 @@ type NodeCondition struct { Message string `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"` } -func (m *NodeCondition) Reset() { *m = NodeCondition{} } -func (m *NodeCondition) String() string { return proto.CompactTextString(m) } -func (*NodeCondition) ProtoMessage() {} -func (*NodeCondition) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{71} -} -func (m *NodeCondition) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *NodeCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_NodeCondition.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *NodeCondition) Reset() { + *x = NodeCondition{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[71] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *NodeCondition) XXX_Merge(src proto.Message) { - xxx_messageInfo_NodeCondition.Merge(m, src) -} -func (m *NodeCondition) XXX_Size() int { - return m.Size() + +func (x *NodeCondition) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *NodeCondition) XXX_DiscardUnknown() { - xxx_messageInfo_NodeCondition.DiscardUnknown(m) + +func (*NodeCondition) ProtoMessage() {} + +func (x *NodeCondition) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[71] + 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) } -var xxx_messageInfo_NodeCondition proto.InternalMessageInfo +// Deprecated: Use NodeCondition.ProtoReflect.Descriptor instead. +func (*NodeCondition) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{71} +} -func (m *NodeCondition) GetType() string { - if m != nil { - return m.Type +func (x *NodeCondition) GetType() string { + if x != nil { + return x.Type } return "" } -func (m *NodeCondition) GetStatus() string { - if m != nil { - return m.Status +func (x *NodeCondition) GetStatus() string { + if x != nil { + return x.Status } return "" } -func (m *NodeCondition) GetLastTransitionTime() int64 { - if m != nil { - return m.LastTransitionTime +func (x *NodeCondition) GetLastTransitionTime() int64 { + if x != nil { + return x.LastTransitionTime } return 0 } -func (m *NodeCondition) GetReason() string { - if m != nil { - return m.Reason +func (x *NodeCondition) GetReason() string { + if x != nil { + return x.Reason } return "" } -func (m *NodeCondition) GetMessage() string { - if m != nil { - return m.Message +func (x *NodeCondition) GetMessage() string { + if x != nil { + return x.Message } return "" } // reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/core/v1/generated.proto#L777 type ContainerImage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Names []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"` SizeBytes int64 `protobuf:"varint,2,opt,name=sizeBytes,proto3" json:"sizeBytes,omitempty"` } -func (m *ContainerImage) Reset() { *m = ContainerImage{} } -func (m *ContainerImage) String() string { return proto.CompactTextString(m) } -func (*ContainerImage) ProtoMessage() {} -func (*ContainerImage) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{72} -} -func (m *ContainerImage) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ContainerImage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ContainerImage.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ContainerImage) Reset() { + *x = ContainerImage{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[72] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ContainerImage) XXX_Merge(src proto.Message) { - xxx_messageInfo_ContainerImage.Merge(m, src) -} -func (m *ContainerImage) XXX_Size() int { - return m.Size() + +func (x *ContainerImage) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ContainerImage) XXX_DiscardUnknown() { - xxx_messageInfo_ContainerImage.DiscardUnknown(m) + +func (*ContainerImage) ProtoMessage() {} + +func (x *ContainerImage) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[72] + 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) } -var xxx_messageInfo_ContainerImage proto.InternalMessageInfo +// Deprecated: Use ContainerImage.ProtoReflect.Descriptor instead. +func (*ContainerImage) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{72} +} -func (m *ContainerImage) GetNames() []string { - if m != nil { - return m.Names +func (x *ContainerImage) GetNames() []string { + if x != nil { + return x.Names } return nil } -func (m *ContainerImage) GetSizeBytes() int64 { - if m != nil { - return m.SizeBytes +func (x *ContainerImage) GetSizeBytes() int64 { + if x != nil { + return x.SizeBytes } return 0 } // reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/core/v1/generated.proto#L4849 type Taint struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` Effect string `protobuf:"bytes,3,opt,name=effect,proto3" json:"effect,omitempty"` TimeAdded int64 `protobuf:"varint,4,opt,name=timeAdded,proto3" json:"timeAdded,omitempty"` } -func (m *Taint) Reset() { *m = Taint{} } -func (m *Taint) String() string { return proto.CompactTextString(m) } -func (*Taint) ProtoMessage() {} -func (*Taint) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{73} -} -func (m *Taint) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *Taint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Taint.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *Taint) Reset() { + *x = Taint{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[73] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *Taint) XXX_Merge(src proto.Message) { - xxx_messageInfo_Taint.Merge(m, src) -} -func (m *Taint) XXX_Size() int { - return m.Size() + +func (x *Taint) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Taint) XXX_DiscardUnknown() { - xxx_messageInfo_Taint.DiscardUnknown(m) + +func (*Taint) ProtoMessage() {} + +func (x *Taint) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[73] + 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) } -var xxx_messageInfo_Taint proto.InternalMessageInfo +// Deprecated: Use Taint.ProtoReflect.Descriptor instead. +func (*Taint) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{73} +} -func (m *Taint) GetKey() string { - if m != nil { - return m.Key +func (x *Taint) GetKey() string { + if x != nil { + return x.Key } return "" } -func (m *Taint) GetValue() string { - if m != nil { - return m.Value +func (x *Taint) GetValue() string { + if x != nil { + return x.Value } return "" } -func (m *Taint) GetEffect() string { - if m != nil { - return m.Effect +func (x *Taint) GetEffect() string { + if x != nil { + return x.Effect } return "" } -func (m *Taint) GetTimeAdded() int64 { - if m != nil { - return m.TimeAdded +func (x *Taint) GetTimeAdded() int64 { + if x != nil { + return x.TimeAdded } return 0 } // reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/core/v1/generated.proto#L4620 type ServiceSpec struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Ports []*ServicePort `protobuf:"bytes,1,rep,name=ports,proto3" json:"ports,omitempty"` Selectors []*LabelSelectorRequirement `protobuf:"bytes,2,rep,name=selectors,proto3" json:"selectors,omitempty"` ClusterIP string `protobuf:"bytes,3,opt,name=clusterIP,proto3" json:"clusterIP,omitempty"` @@ -7645,270 +8044,280 @@ type ServiceSpec struct { IpFamily string `protobuf:"bytes,14,opt,name=ipFamily,proto3" json:"ipFamily,omitempty"` } -func (m *ServiceSpec) Reset() { *m = ServiceSpec{} } -func (m *ServiceSpec) String() string { return proto.CompactTextString(m) } -func (*ServiceSpec) ProtoMessage() {} -func (*ServiceSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{74} -} -func (m *ServiceSpec) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ServiceSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ServiceSpec.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ServiceSpec) Reset() { + *x = ServiceSpec{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[74] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ServiceSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_ServiceSpec.Merge(m, src) -} -func (m *ServiceSpec) XXX_Size() int { - return m.Size() -} -func (m *ServiceSpec) XXX_DiscardUnknown() { - xxx_messageInfo_ServiceSpec.DiscardUnknown(m) + +func (x *ServiceSpec) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_ServiceSpec proto.InternalMessageInfo +func (*ServiceSpec) ProtoMessage() {} -func (m *ServiceSpec) GetPorts() []*ServicePort { - if m != nil { - return m.Ports +func (x *ServiceSpec) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[74] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return nil + return mi.MessageOf(x) } -func (m *ServiceSpec) GetSelectors() []*LabelSelectorRequirement { - if m != nil { - return m.Selectors +// Deprecated: Use ServiceSpec.ProtoReflect.Descriptor instead. +func (*ServiceSpec) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{74} +} + +func (x *ServiceSpec) GetPorts() []*ServicePort { + if x != nil { + return x.Ports } return nil } -func (m *ServiceSpec) GetClusterIP() string { - if m != nil { - return m.ClusterIP +func (x *ServiceSpec) GetSelectors() []*LabelSelectorRequirement { + if x != nil { + return x.Selectors + } + return nil +} + +func (x *ServiceSpec) GetClusterIP() string { + if x != nil { + return x.ClusterIP } return "" } -func (m *ServiceSpec) GetType() string { - if m != nil { - return m.Type +func (x *ServiceSpec) GetType() string { + if x != nil { + return x.Type } return "" } -func (m *ServiceSpec) GetExternalIPs() []string { - if m != nil { - return m.ExternalIPs +func (x *ServiceSpec) GetExternalIPs() []string { + if x != nil { + return x.ExternalIPs } return nil } -func (m *ServiceSpec) GetSessionAffinity() string { - if m != nil { - return m.SessionAffinity +func (x *ServiceSpec) GetSessionAffinity() string { + if x != nil { + return x.SessionAffinity } return "" } -func (m *ServiceSpec) GetLoadBalancerIP() string { - if m != nil { - return m.LoadBalancerIP +func (x *ServiceSpec) GetLoadBalancerIP() string { + if x != nil { + return x.LoadBalancerIP } return "" } -func (m *ServiceSpec) GetLoadBalancerSourceRanges() []string { - if m != nil { - return m.LoadBalancerSourceRanges +func (x *ServiceSpec) GetLoadBalancerSourceRanges() []string { + if x != nil { + return x.LoadBalancerSourceRanges } return nil } -func (m *ServiceSpec) GetExternalName() string { - if m != nil { - return m.ExternalName +func (x *ServiceSpec) GetExternalName() string { + if x != nil { + return x.ExternalName } return "" } -func (m *ServiceSpec) GetExternalTrafficPolicy() string { - if m != nil { - return m.ExternalTrafficPolicy +func (x *ServiceSpec) GetExternalTrafficPolicy() string { + if x != nil { + return x.ExternalTrafficPolicy } return "" } -func (m *ServiceSpec) GetHealthCheckNodePort() int32 { - if m != nil { - return m.HealthCheckNodePort +func (x *ServiceSpec) GetHealthCheckNodePort() int32 { + if x != nil { + return x.HealthCheckNodePort } return 0 } -func (m *ServiceSpec) GetPublishNotReadyAddresses() bool { - if m != nil { - return m.PublishNotReadyAddresses +func (x *ServiceSpec) GetPublishNotReadyAddresses() bool { + if x != nil { + return x.PublishNotReadyAddresses } return false } -func (m *ServiceSpec) GetSessionAffinityConfig() *ServiceSessionAffinityConfig { - if m != nil { - return m.SessionAffinityConfig +func (x *ServiceSpec) GetSessionAffinityConfig() *ServiceSessionAffinityConfig { + if x != nil { + return x.SessionAffinityConfig } return nil } -func (m *ServiceSpec) GetIpFamily() string { - if m != nil { - return m.IpFamily +func (x *ServiceSpec) GetIpFamily() string { + if x != nil { + return x.IpFamily } return "" } // reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/core/v1/generated.proto#L4748 type ServiceStatus struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + LoadBalancerIngress []string `protobuf:"bytes,17,rep,name=loadBalancerIngress,proto3" json:"loadBalancerIngress,omitempty"` } -func (m *ServiceStatus) Reset() { *m = ServiceStatus{} } -func (m *ServiceStatus) String() string { return proto.CompactTextString(m) } -func (*ServiceStatus) ProtoMessage() {} -func (*ServiceStatus) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{75} -} -func (m *ServiceStatus) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ServiceStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ServiceStatus.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ServiceStatus) Reset() { + *x = ServiceStatus{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[75] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ServiceStatus) XXX_Merge(src proto.Message) { - xxx_messageInfo_ServiceStatus.Merge(m, src) -} -func (m *ServiceStatus) XXX_Size() int { - return m.Size() + +func (x *ServiceStatus) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ServiceStatus) XXX_DiscardUnknown() { - xxx_messageInfo_ServiceStatus.DiscardUnknown(m) + +func (*ServiceStatus) ProtoMessage() {} + +func (x *ServiceStatus) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[75] + 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) } -var xxx_messageInfo_ServiceStatus proto.InternalMessageInfo +// Deprecated: Use ServiceStatus.ProtoReflect.Descriptor instead. +func (*ServiceStatus) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{75} +} -func (m *ServiceStatus) GetLoadBalancerIngress() []string { - if m != nil { - return m.LoadBalancerIngress +func (x *ServiceStatus) GetLoadBalancerIngress() []string { + if x != nil { + return x.LoadBalancerIngress } return nil } // reference https://github.com/kubernetes/kubernetes/blob/release-1.19/staging/src/k8s.io/api/core/v1/generated.proto type Service struct { - Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` - Spec *ServiceSpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"` - Status *ServiceStatus `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"` - Yaml []byte `protobuf:"bytes,4,opt,name=yaml,proto3" json:"yaml,omitempty"` // Deprecated: Do not use. - Tags []string `protobuf:"bytes,5,rep,name=tags,proto3" json:"tags,omitempty"` - Metrics *ResourceMetrics `protobuf:"bytes,6,opt,name=metrics,proto3" json:"metrics,omitempty"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` + Spec *ServiceSpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"` + Status *ServiceStatus `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"` + // Deprecated: Marked as deprecated in proto/process/agent.proto. + Yaml []byte `protobuf:"bytes,4,opt,name=yaml,proto3" json:"yaml,omitempty"` // see CollectorManifest + Tags []string `protobuf:"bytes,5,rep,name=tags,proto3" json:"tags,omitempty"` + Metrics *ResourceMetrics `protobuf:"bytes,6,opt,name=metrics,proto3" json:"metrics,omitempty"` } -func (m *Service) Reset() { *m = Service{} } -func (m *Service) String() string { return proto.CompactTextString(m) } -func (*Service) ProtoMessage() {} -func (*Service) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{76} -} -func (m *Service) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *Service) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Service.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *Service) Reset() { + *x = Service{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[76] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *Service) XXX_Merge(src proto.Message) { - xxx_messageInfo_Service.Merge(m, src) -} -func (m *Service) XXX_Size() int { - return m.Size() + +func (x *Service) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Service) XXX_DiscardUnknown() { - xxx_messageInfo_Service.DiscardUnknown(m) + +func (*Service) ProtoMessage() {} + +func (x *Service) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[76] + 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) } -var xxx_messageInfo_Service proto.InternalMessageInfo +// Deprecated: Use Service.ProtoReflect.Descriptor instead. +func (*Service) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{76} +} -func (m *Service) GetMetadata() *Metadata { - if m != nil { - return m.Metadata +func (x *Service) GetMetadata() *Metadata { + if x != nil { + return x.Metadata } return nil } -func (m *Service) GetSpec() *ServiceSpec { - if m != nil { - return m.Spec +func (x *Service) GetSpec() *ServiceSpec { + if x != nil { + return x.Spec } return nil } -func (m *Service) GetStatus() *ServiceStatus { - if m != nil { - return m.Status +func (x *Service) GetStatus() *ServiceStatus { + if x != nil { + return x.Status } return nil } -// Deprecated: Do not use. -func (m *Service) GetYaml() []byte { - if m != nil { - return m.Yaml +// Deprecated: Marked as deprecated in proto/process/agent.proto. +func (x *Service) GetYaml() []byte { + if x != nil { + return x.Yaml } return nil } -func (m *Service) GetTags() []string { - if m != nil { - return m.Tags +func (x *Service) GetTags() []string { + if x != nil { + return x.Tags } return nil } -func (m *Service) GetMetrics() *ResourceMetrics { - if m != nil { - return m.Metrics +func (x *Service) GetMetrics() *ResourceMetrics { + if x != nil { + return x.Metrics } return nil } // reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/apps/v1/generated.proto#L236 type DeploymentCondition struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` LastUpdateTime int64 `protobuf:"varint,6,opt,name=lastUpdateTime,proto3" json:"lastUpdateTime,omitempty"` @@ -7917,89 +8326,92 @@ type DeploymentCondition struct { Message string `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"` } -func (m *DeploymentCondition) Reset() { *m = DeploymentCondition{} } -func (m *DeploymentCondition) String() string { return proto.CompactTextString(m) } -func (*DeploymentCondition) ProtoMessage() {} -func (*DeploymentCondition) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{77} -} -func (m *DeploymentCondition) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *DeploymentCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_DeploymentCondition.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *DeploymentCondition) Reset() { + *x = DeploymentCondition{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[77] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *DeploymentCondition) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeploymentCondition.Merge(m, src) -} -func (m *DeploymentCondition) XXX_Size() int { - return m.Size() + +func (x *DeploymentCondition) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DeploymentCondition) XXX_DiscardUnknown() { - xxx_messageInfo_DeploymentCondition.DiscardUnknown(m) + +func (*DeploymentCondition) ProtoMessage() {} + +func (x *DeploymentCondition) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[77] + 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) } -var xxx_messageInfo_DeploymentCondition proto.InternalMessageInfo +// Deprecated: Use DeploymentCondition.ProtoReflect.Descriptor instead. +func (*DeploymentCondition) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{77} +} -func (m *DeploymentCondition) GetType() string { - if m != nil { - return m.Type +func (x *DeploymentCondition) GetType() string { + if x != nil { + return x.Type } return "" } -func (m *DeploymentCondition) GetStatus() string { - if m != nil { - return m.Status +func (x *DeploymentCondition) GetStatus() string { + if x != nil { + return x.Status } return "" } -func (m *DeploymentCondition) GetLastUpdateTime() int64 { - if m != nil { - return m.LastUpdateTime +func (x *DeploymentCondition) GetLastUpdateTime() int64 { + if x != nil { + return x.LastUpdateTime } return 0 } -func (m *DeploymentCondition) GetLastTransitionTime() int64 { - if m != nil { - return m.LastTransitionTime +func (x *DeploymentCondition) GetLastTransitionTime() int64 { + if x != nil { + return x.LastTransitionTime } return 0 } -func (m *DeploymentCondition) GetReason() string { - if m != nil { - return m.Reason +func (x *DeploymentCondition) GetReason() string { + if x != nil { + return x.Reason } return "" } -func (m *DeploymentCondition) GetMessage() string { - if m != nil { - return m.Message +func (x *DeploymentCondition) GetMessage() string { + if x != nil { + return x.Message } return "" } // reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/apps/v1/generated.proto#L221 type Deployment struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` // spec ReplicasDesired int32 `protobuf:"varint,2,opt,name=replicasDesired,proto3" json:"replicasDesired,omitempty"` DeploymentStrategy string `protobuf:"bytes,3,opt,name=deploymentStrategy,proto3" json:"deploymentStrategy,omitempty"` - MaxUnavailable string `protobuf:"bytes,4,opt,name=maxUnavailable,proto3" json:"maxUnavailable,omitempty"` - MaxSurge string `protobuf:"bytes,5,opt,name=maxSurge,proto3" json:"maxSurge,omitempty"` + MaxUnavailable string `protobuf:"bytes,4,opt,name=maxUnavailable,proto3" json:"maxUnavailable,omitempty"` // int or str + MaxSurge string `protobuf:"bytes,5,opt,name=maxSurge,proto3" json:"maxSurge,omitempty"` // int or str Paused bool `protobuf:"varint,6,opt,name=paused,proto3" json:"paused,omitempty"` Selectors []*LabelSelectorRequirement `protobuf:"bytes,7,rep,name=selectors,proto3" json:"selectors,omitempty"` // status @@ -8010,174 +8422,178 @@ type Deployment struct { UnavailableReplicas int32 `protobuf:"varint,12,opt,name=unavailableReplicas,proto3" json:"unavailableReplicas,omitempty"` ConditionMessage string `protobuf:"bytes,13,opt,name=conditionMessage,proto3" json:"conditionMessage,omitempty"` ResourceRequirements []*ResourceRequirements `protobuf:"bytes,16,rep,name=resourceRequirements,proto3" json:"resourceRequirements,omitempty"` - Yaml []byte `protobuf:"bytes,14,opt,name=yaml,proto3" json:"yaml,omitempty"` // Deprecated: Do not use. - Tags []string `protobuf:"bytes,15,rep,name=tags,proto3" json:"tags,omitempty"` - Metrics *ResourceMetrics `protobuf:"bytes,17,opt,name=metrics,proto3" json:"metrics,omitempty"` - Conditions []*DeploymentCondition `protobuf:"bytes,18,rep,name=conditions,proto3" json:"conditions,omitempty"` + // Deprecated: Marked as deprecated in proto/process/agent.proto. + Yaml []byte `protobuf:"bytes,14,opt,name=yaml,proto3" json:"yaml,omitempty"` // see CollectorManifest + Tags []string `protobuf:"bytes,15,rep,name=tags,proto3" json:"tags,omitempty"` + Metrics *ResourceMetrics `protobuf:"bytes,17,opt,name=metrics,proto3" json:"metrics,omitempty"` + Conditions []*DeploymentCondition `protobuf:"bytes,18,rep,name=conditions,proto3" json:"conditions,omitempty"` } -func (m *Deployment) Reset() { *m = Deployment{} } -func (m *Deployment) String() string { return proto.CompactTextString(m) } -func (*Deployment) ProtoMessage() {} -func (*Deployment) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{78} -} -func (m *Deployment) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *Deployment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Deployment.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *Deployment) Reset() { + *x = Deployment{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[78] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *Deployment) XXX_Merge(src proto.Message) { - xxx_messageInfo_Deployment.Merge(m, src) -} -func (m *Deployment) XXX_Size() int { - return m.Size() + +func (x *Deployment) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Deployment) XXX_DiscardUnknown() { - xxx_messageInfo_Deployment.DiscardUnknown(m) + +func (*Deployment) ProtoMessage() {} + +func (x *Deployment) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[78] + 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) } -var xxx_messageInfo_Deployment proto.InternalMessageInfo +// Deprecated: Use Deployment.ProtoReflect.Descriptor instead. +func (*Deployment) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{78} +} -func (m *Deployment) GetMetadata() *Metadata { - if m != nil { - return m.Metadata +func (x *Deployment) GetMetadata() *Metadata { + if x != nil { + return x.Metadata } return nil } -func (m *Deployment) GetReplicasDesired() int32 { - if m != nil { - return m.ReplicasDesired +func (x *Deployment) GetReplicasDesired() int32 { + if x != nil { + return x.ReplicasDesired } return 0 } -func (m *Deployment) GetDeploymentStrategy() string { - if m != nil { - return m.DeploymentStrategy +func (x *Deployment) GetDeploymentStrategy() string { + if x != nil { + return x.DeploymentStrategy } return "" } -func (m *Deployment) GetMaxUnavailable() string { - if m != nil { - return m.MaxUnavailable +func (x *Deployment) GetMaxUnavailable() string { + if x != nil { + return x.MaxUnavailable } return "" } -func (m *Deployment) GetMaxSurge() string { - if m != nil { - return m.MaxSurge +func (x *Deployment) GetMaxSurge() string { + if x != nil { + return x.MaxSurge } return "" } -func (m *Deployment) GetPaused() bool { - if m != nil { - return m.Paused +func (x *Deployment) GetPaused() bool { + if x != nil { + return x.Paused } return false } -func (m *Deployment) GetSelectors() []*LabelSelectorRequirement { - if m != nil { - return m.Selectors +func (x *Deployment) GetSelectors() []*LabelSelectorRequirement { + if x != nil { + return x.Selectors } return nil } -func (m *Deployment) GetReplicas() int32 { - if m != nil { - return m.Replicas +func (x *Deployment) GetReplicas() int32 { + if x != nil { + return x.Replicas } return 0 } -func (m *Deployment) GetUpdatedReplicas() int32 { - if m != nil { - return m.UpdatedReplicas +func (x *Deployment) GetUpdatedReplicas() int32 { + if x != nil { + return x.UpdatedReplicas } return 0 } -func (m *Deployment) GetReadyReplicas() int32 { - if m != nil { - return m.ReadyReplicas +func (x *Deployment) GetReadyReplicas() int32 { + if x != nil { + return x.ReadyReplicas } return 0 } -func (m *Deployment) GetAvailableReplicas() int32 { - if m != nil { - return m.AvailableReplicas +func (x *Deployment) GetAvailableReplicas() int32 { + if x != nil { + return x.AvailableReplicas } return 0 } -func (m *Deployment) GetUnavailableReplicas() int32 { - if m != nil { - return m.UnavailableReplicas +func (x *Deployment) GetUnavailableReplicas() int32 { + if x != nil { + return x.UnavailableReplicas } return 0 } -func (m *Deployment) GetConditionMessage() string { - if m != nil { - return m.ConditionMessage +func (x *Deployment) GetConditionMessage() string { + if x != nil { + return x.ConditionMessage } return "" } -func (m *Deployment) GetResourceRequirements() []*ResourceRequirements { - if m != nil { - return m.ResourceRequirements +func (x *Deployment) GetResourceRequirements() []*ResourceRequirements { + if x != nil { + return x.ResourceRequirements } return nil } -// Deprecated: Do not use. -func (m *Deployment) GetYaml() []byte { - if m != nil { - return m.Yaml +// Deprecated: Marked as deprecated in proto/process/agent.proto. +func (x *Deployment) GetYaml() []byte { + if x != nil { + return x.Yaml } return nil } -func (m *Deployment) GetTags() []string { - if m != nil { - return m.Tags +func (x *Deployment) GetTags() []string { + if x != nil { + return x.Tags } return nil } -func (m *Deployment) GetMetrics() *ResourceMetrics { - if m != nil { - return m.Metrics +func (x *Deployment) GetMetrics() *ResourceMetrics { + if x != nil { + return x.Metrics } return nil } -func (m *Deployment) GetConditions() []*DeploymentCondition { - if m != nil { - return m.Conditions +func (x *Deployment) GetConditions() []*DeploymentCondition { + if x != nil { + return x.Conditions } return nil } // reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/apps/v1/generated.proto#L388 type ReplicaSetCondition struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` LastTransitionTime int64 `protobuf:"varint,3,opt,name=lastTransitionTime,proto3" json:"lastTransitionTime,omitempty"` @@ -8185,76 +8601,79 @@ type ReplicaSetCondition struct { Message string `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"` } -func (m *ReplicaSetCondition) Reset() { *m = ReplicaSetCondition{} } -func (m *ReplicaSetCondition) String() string { return proto.CompactTextString(m) } -func (*ReplicaSetCondition) ProtoMessage() {} -func (*ReplicaSetCondition) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{79} -} -func (m *ReplicaSetCondition) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ReplicaSetCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ReplicaSetCondition.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ReplicaSetCondition) Reset() { + *x = ReplicaSetCondition{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[79] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ReplicaSetCondition) XXX_Merge(src proto.Message) { - xxx_messageInfo_ReplicaSetCondition.Merge(m, src) -} -func (m *ReplicaSetCondition) XXX_Size() int { - return m.Size() + +func (x *ReplicaSetCondition) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ReplicaSetCondition) XXX_DiscardUnknown() { - xxx_messageInfo_ReplicaSetCondition.DiscardUnknown(m) + +func (*ReplicaSetCondition) ProtoMessage() {} + +func (x *ReplicaSetCondition) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[79] + 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) } -var xxx_messageInfo_ReplicaSetCondition proto.InternalMessageInfo +// Deprecated: Use ReplicaSetCondition.ProtoReflect.Descriptor instead. +func (*ReplicaSetCondition) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{79} +} -func (m *ReplicaSetCondition) GetType() string { - if m != nil { - return m.Type +func (x *ReplicaSetCondition) GetType() string { + if x != nil { + return x.Type } return "" } -func (m *ReplicaSetCondition) GetStatus() string { - if m != nil { - return m.Status +func (x *ReplicaSetCondition) GetStatus() string { + if x != nil { + return x.Status } return "" } -func (m *ReplicaSetCondition) GetLastTransitionTime() int64 { - if m != nil { - return m.LastTransitionTime +func (x *ReplicaSetCondition) GetLastTransitionTime() int64 { + if x != nil { + return x.LastTransitionTime } return 0 } -func (m *ReplicaSetCondition) GetReason() string { - if m != nil { - return m.Reason +func (x *ReplicaSetCondition) GetReason() string { + if x != nil { + return x.Reason } return "" } -func (m *ReplicaSetCondition) GetMessage() string { - if m != nil { - return m.Message +func (x *ReplicaSetCondition) GetMessage() string { + if x != nil { + return x.Message } return "" } // reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/apps/v1/generated.proto#L366 type ReplicaSet struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` // spec ReplicasDesired int32 `protobuf:"varint,2,opt,name=replicasDesired,proto3" json:"replicasDesired,omitempty"` @@ -8265,329 +8684,342 @@ type ReplicaSet struct { ReadyReplicas int32 `protobuf:"varint,6,opt,name=readyReplicas,proto3" json:"readyReplicas,omitempty"` AvailableReplicas int32 `protobuf:"varint,7,opt,name=availableReplicas,proto3" json:"availableReplicas,omitempty"` ResourceRequirements []*ResourceRequirements `protobuf:"bytes,10,rep,name=resourceRequirements,proto3" json:"resourceRequirements,omitempty"` - Yaml []byte `protobuf:"bytes,8,opt,name=yaml,proto3" json:"yaml,omitempty"` // Deprecated: Do not use. - Tags []string `protobuf:"bytes,9,rep,name=tags,proto3" json:"tags,omitempty"` - Metrics *ResourceMetrics `protobuf:"bytes,11,opt,name=metrics,proto3" json:"metrics,omitempty"` - Conditions []*ReplicaSetCondition `protobuf:"bytes,12,rep,name=conditions,proto3" json:"conditions,omitempty"` + // Deprecated: Marked as deprecated in proto/process/agent.proto. + Yaml []byte `protobuf:"bytes,8,opt,name=yaml,proto3" json:"yaml,omitempty"` // see CollectorManifest + Tags []string `protobuf:"bytes,9,rep,name=tags,proto3" json:"tags,omitempty"` + Metrics *ResourceMetrics `protobuf:"bytes,11,opt,name=metrics,proto3" json:"metrics,omitempty"` + Conditions []*ReplicaSetCondition `protobuf:"bytes,12,rep,name=conditions,proto3" json:"conditions,omitempty"` } -func (m *ReplicaSet) Reset() { *m = ReplicaSet{} } -func (m *ReplicaSet) String() string { return proto.CompactTextString(m) } -func (*ReplicaSet) ProtoMessage() {} -func (*ReplicaSet) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{80} -} -func (m *ReplicaSet) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ReplicaSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ReplicaSet.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ReplicaSet) Reset() { + *x = ReplicaSet{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[80] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ReplicaSet) XXX_Merge(src proto.Message) { - xxx_messageInfo_ReplicaSet.Merge(m, src) -} -func (m *ReplicaSet) XXX_Size() int { - return m.Size() + +func (x *ReplicaSet) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ReplicaSet) XXX_DiscardUnknown() { - xxx_messageInfo_ReplicaSet.DiscardUnknown(m) + +func (*ReplicaSet) ProtoMessage() {} + +func (x *ReplicaSet) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[80] + 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) } -var xxx_messageInfo_ReplicaSet proto.InternalMessageInfo +// Deprecated: Use ReplicaSet.ProtoReflect.Descriptor instead. +func (*ReplicaSet) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{80} +} -func (m *ReplicaSet) GetMetadata() *Metadata { - if m != nil { - return m.Metadata +func (x *ReplicaSet) GetMetadata() *Metadata { + if x != nil { + return x.Metadata } return nil } -func (m *ReplicaSet) GetReplicasDesired() int32 { - if m != nil { - return m.ReplicasDesired +func (x *ReplicaSet) GetReplicasDesired() int32 { + if x != nil { + return x.ReplicasDesired } return 0 } -func (m *ReplicaSet) GetSelectors() []*LabelSelectorRequirement { - if m != nil { - return m.Selectors +func (x *ReplicaSet) GetSelectors() []*LabelSelectorRequirement { + if x != nil { + return x.Selectors } return nil } -func (m *ReplicaSet) GetReplicas() int32 { - if m != nil { - return m.Replicas +func (x *ReplicaSet) GetReplicas() int32 { + if x != nil { + return x.Replicas } return 0 } -func (m *ReplicaSet) GetFullyLabeledReplicas() int32 { - if m != nil { - return m.FullyLabeledReplicas +func (x *ReplicaSet) GetFullyLabeledReplicas() int32 { + if x != nil { + return x.FullyLabeledReplicas } return 0 } -func (m *ReplicaSet) GetReadyReplicas() int32 { - if m != nil { - return m.ReadyReplicas +func (x *ReplicaSet) GetReadyReplicas() int32 { + if x != nil { + return x.ReadyReplicas } return 0 } -func (m *ReplicaSet) GetAvailableReplicas() int32 { - if m != nil { - return m.AvailableReplicas +func (x *ReplicaSet) GetAvailableReplicas() int32 { + if x != nil { + return x.AvailableReplicas } return 0 } -func (m *ReplicaSet) GetResourceRequirements() []*ResourceRequirements { - if m != nil { - return m.ResourceRequirements +func (x *ReplicaSet) GetResourceRequirements() []*ResourceRequirements { + if x != nil { + return x.ResourceRequirements } return nil } -// Deprecated: Do not use. -func (m *ReplicaSet) GetYaml() []byte { - if m != nil { - return m.Yaml +// Deprecated: Marked as deprecated in proto/process/agent.proto. +func (x *ReplicaSet) GetYaml() []byte { + if x != nil { + return x.Yaml } return nil } -func (m *ReplicaSet) GetTags() []string { - if m != nil { - return m.Tags +func (x *ReplicaSet) GetTags() []string { + if x != nil { + return x.Tags } return nil } -func (m *ReplicaSet) GetMetrics() *ResourceMetrics { - if m != nil { - return m.Metrics +func (x *ReplicaSet) GetMetrics() *ResourceMetrics { + if x != nil { + return x.Metrics } return nil } -func (m *ReplicaSet) GetConditions() []*ReplicaSetCondition { - if m != nil { - return m.Conditions +func (x *ReplicaSet) GetConditions() []*ReplicaSetCondition { + if x != nil { + return x.Conditions } return nil } type LabelSelectorRequirement struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // Valid operators are In, NotIn, Exists and DoesNotExist. Operator string `protobuf:"bytes,2,opt,name=operator,proto3" json:"operator,omitempty"` Values []string `protobuf:"bytes,3,rep,name=values,proto3" json:"values,omitempty"` } -func (m *LabelSelectorRequirement) Reset() { *m = LabelSelectorRequirement{} } -func (m *LabelSelectorRequirement) String() string { return proto.CompactTextString(m) } -func (*LabelSelectorRequirement) ProtoMessage() {} -func (*LabelSelectorRequirement) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{81} -} -func (m *LabelSelectorRequirement) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *LabelSelectorRequirement) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_LabelSelectorRequirement.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *LabelSelectorRequirement) Reset() { + *x = LabelSelectorRequirement{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[81] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *LabelSelectorRequirement) XXX_Merge(src proto.Message) { - xxx_messageInfo_LabelSelectorRequirement.Merge(m, src) -} -func (m *LabelSelectorRequirement) XXX_Size() int { - return m.Size() + +func (x *LabelSelectorRequirement) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *LabelSelectorRequirement) XXX_DiscardUnknown() { - xxx_messageInfo_LabelSelectorRequirement.DiscardUnknown(m) + +func (*LabelSelectorRequirement) ProtoMessage() {} + +func (x *LabelSelectorRequirement) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[81] + 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) } -var xxx_messageInfo_LabelSelectorRequirement proto.InternalMessageInfo +// Deprecated: Use LabelSelectorRequirement.ProtoReflect.Descriptor instead. +func (*LabelSelectorRequirement) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{81} +} -func (m *LabelSelectorRequirement) GetKey() string { - if m != nil { - return m.Key +func (x *LabelSelectorRequirement) GetKey() string { + if x != nil { + return x.Key } return "" } -func (m *LabelSelectorRequirement) GetOperator() string { - if m != nil { - return m.Operator +func (x *LabelSelectorRequirement) GetOperator() string { + if x != nil { + return x.Operator } return "" } -func (m *LabelSelectorRequirement) GetValues() []string { - if m != nil { - return m.Values +func (x *LabelSelectorRequirement) GetValues() []string { + if x != nil { + return x.Values } return nil } // reference https://github.com/kubernetes/kubernetes/blob/9ffc095f88c74c0f5b69b1c4a645836f0b7c83fc/staging/src/k8s.io/api/policy/v1/generated.proto#L46 type PodDisruptionBudget struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` Spec *PodDisruptionBudgetSpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"` Status *PodDisruptionBudgetStatus `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"` Tags []string `protobuf:"bytes,4,rep,name=tags,proto3" json:"tags,omitempty"` } -func (m *PodDisruptionBudget) Reset() { *m = PodDisruptionBudget{} } -func (m *PodDisruptionBudget) String() string { return proto.CompactTextString(m) } -func (*PodDisruptionBudget) ProtoMessage() {} -func (*PodDisruptionBudget) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{82} -} -func (m *PodDisruptionBudget) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *PodDisruptionBudget) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_PodDisruptionBudget.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *PodDisruptionBudget) Reset() { + *x = PodDisruptionBudget{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[82] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *PodDisruptionBudget) XXX_Merge(src proto.Message) { - xxx_messageInfo_PodDisruptionBudget.Merge(m, src) -} -func (m *PodDisruptionBudget) XXX_Size() int { - return m.Size() + +func (x *PodDisruptionBudget) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *PodDisruptionBudget) XXX_DiscardUnknown() { - xxx_messageInfo_PodDisruptionBudget.DiscardUnknown(m) + +func (*PodDisruptionBudget) ProtoMessage() {} + +func (x *PodDisruptionBudget) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[82] + 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) } -var xxx_messageInfo_PodDisruptionBudget proto.InternalMessageInfo +// Deprecated: Use PodDisruptionBudget.ProtoReflect.Descriptor instead. +func (*PodDisruptionBudget) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{82} +} -func (m *PodDisruptionBudget) GetMetadata() *Metadata { - if m != nil { - return m.Metadata +func (x *PodDisruptionBudget) GetMetadata() *Metadata { + if x != nil { + return x.Metadata } return nil } -func (m *PodDisruptionBudget) GetSpec() *PodDisruptionBudgetSpec { - if m != nil { - return m.Spec +func (x *PodDisruptionBudget) GetSpec() *PodDisruptionBudgetSpec { + if x != nil { + return x.Spec } return nil } -func (m *PodDisruptionBudget) GetStatus() *PodDisruptionBudgetStatus { - if m != nil { - return m.Status +func (x *PodDisruptionBudget) GetStatus() *PodDisruptionBudgetStatus { + if x != nil { + return x.Status } return nil } -func (m *PodDisruptionBudget) GetTags() []string { - if m != nil { - return m.Tags +func (x *PodDisruptionBudget) GetTags() []string { + if x != nil { + return x.Tags } return nil } type PodDisruptionBudgetSpec struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + MinAvailable *IntOrString `protobuf:"bytes,1,opt,name=minAvailable,proto3" json:"minAvailable,omitempty"` Selector []*LabelSelectorRequirement `protobuf:"bytes,2,rep,name=selector,proto3" json:"selector,omitempty"` MaxUnavailable *IntOrString `protobuf:"bytes,3,opt,name=maxUnavailable,proto3" json:"maxUnavailable,omitempty"` UnhealthyPodEvictionPolicy string `protobuf:"bytes,4,opt,name=unhealthyPodEvictionPolicy,proto3" json:"unhealthyPodEvictionPolicy,omitempty"` } -func (m *PodDisruptionBudgetSpec) Reset() { *m = PodDisruptionBudgetSpec{} } -func (m *PodDisruptionBudgetSpec) String() string { return proto.CompactTextString(m) } -func (*PodDisruptionBudgetSpec) ProtoMessage() {} -func (*PodDisruptionBudgetSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{83} -} -func (m *PodDisruptionBudgetSpec) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *PodDisruptionBudgetSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_PodDisruptionBudgetSpec.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *PodDisruptionBudgetSpec) Reset() { + *x = PodDisruptionBudgetSpec{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[83] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *PodDisruptionBudgetSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_PodDisruptionBudgetSpec.Merge(m, src) -} -func (m *PodDisruptionBudgetSpec) XXX_Size() int { - return m.Size() + +func (x *PodDisruptionBudgetSpec) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *PodDisruptionBudgetSpec) XXX_DiscardUnknown() { - xxx_messageInfo_PodDisruptionBudgetSpec.DiscardUnknown(m) + +func (*PodDisruptionBudgetSpec) ProtoMessage() {} + +func (x *PodDisruptionBudgetSpec) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[83] + 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) } -var xxx_messageInfo_PodDisruptionBudgetSpec proto.InternalMessageInfo +// Deprecated: Use PodDisruptionBudgetSpec.ProtoReflect.Descriptor instead. +func (*PodDisruptionBudgetSpec) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{83} +} -func (m *PodDisruptionBudgetSpec) GetMinAvailable() *IntOrString { - if m != nil { - return m.MinAvailable +func (x *PodDisruptionBudgetSpec) GetMinAvailable() *IntOrString { + if x != nil { + return x.MinAvailable } return nil } -func (m *PodDisruptionBudgetSpec) GetSelector() []*LabelSelectorRequirement { - if m != nil { - return m.Selector +func (x *PodDisruptionBudgetSpec) GetSelector() []*LabelSelectorRequirement { + if x != nil { + return x.Selector } return nil } -func (m *PodDisruptionBudgetSpec) GetMaxUnavailable() *IntOrString { - if m != nil { - return m.MaxUnavailable +func (x *PodDisruptionBudgetSpec) GetMaxUnavailable() *IntOrString { + if x != nil { + return x.MaxUnavailable } return nil } -func (m *PodDisruptionBudgetSpec) GetUnhealthyPodEvictionPolicy() string { - if m != nil { - return m.UnhealthyPodEvictionPolicy +func (x *PodDisruptionBudgetSpec) GetUnhealthyPodEvictionPolicy() string { + if x != nil { + return x.UnhealthyPodEvictionPolicy } return "" } type PodDisruptionBudgetStatus struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + DisruptedPods map[string]int64 `protobuf:"bytes,1,rep,name=disruptedPods,proto3" json:"disruptedPods,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` DisruptionsAllowed int32 `protobuf:"varint,2,opt,name=disruptionsAllowed,proto3" json:"disruptionsAllowed,omitempty"` CurrentHealthy int32 `protobuf:"varint,3,opt,name=currentHealthy,proto3" json:"currentHealthy,omitempty"` @@ -8596,144 +9028,150 @@ type PodDisruptionBudgetStatus struct { Conditions []*Condition `protobuf:"bytes,6,rep,name=conditions,proto3" json:"conditions,omitempty"` } -func (m *PodDisruptionBudgetStatus) Reset() { *m = PodDisruptionBudgetStatus{} } -func (m *PodDisruptionBudgetStatus) String() string { return proto.CompactTextString(m) } -func (*PodDisruptionBudgetStatus) ProtoMessage() {} -func (*PodDisruptionBudgetStatus) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{84} -} -func (m *PodDisruptionBudgetStatus) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *PodDisruptionBudgetStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_PodDisruptionBudgetStatus.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *PodDisruptionBudgetStatus) Reset() { + *x = PodDisruptionBudgetStatus{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[84] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *PodDisruptionBudgetStatus) XXX_Merge(src proto.Message) { - xxx_messageInfo_PodDisruptionBudgetStatus.Merge(m, src) -} -func (m *PodDisruptionBudgetStatus) XXX_Size() int { - return m.Size() + +func (x *PodDisruptionBudgetStatus) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *PodDisruptionBudgetStatus) XXX_DiscardUnknown() { - xxx_messageInfo_PodDisruptionBudgetStatus.DiscardUnknown(m) + +func (*PodDisruptionBudgetStatus) ProtoMessage() {} + +func (x *PodDisruptionBudgetStatus) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[84] + 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) } -var xxx_messageInfo_PodDisruptionBudgetStatus proto.InternalMessageInfo +// Deprecated: Use PodDisruptionBudgetStatus.ProtoReflect.Descriptor instead. +func (*PodDisruptionBudgetStatus) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{84} +} -func (m *PodDisruptionBudgetStatus) GetDisruptedPods() map[string]int64 { - if m != nil { - return m.DisruptedPods +func (x *PodDisruptionBudgetStatus) GetDisruptedPods() map[string]int64 { + if x != nil { + return x.DisruptedPods } return nil } -func (m *PodDisruptionBudgetStatus) GetDisruptionsAllowed() int32 { - if m != nil { - return m.DisruptionsAllowed +func (x *PodDisruptionBudgetStatus) GetDisruptionsAllowed() int32 { + if x != nil { + return x.DisruptionsAllowed } return 0 } -func (m *PodDisruptionBudgetStatus) GetCurrentHealthy() int32 { - if m != nil { - return m.CurrentHealthy +func (x *PodDisruptionBudgetStatus) GetCurrentHealthy() int32 { + if x != nil { + return x.CurrentHealthy } return 0 } -func (m *PodDisruptionBudgetStatus) GetDesiredHealthy() int32 { - if m != nil { - return m.DesiredHealthy +func (x *PodDisruptionBudgetStatus) GetDesiredHealthy() int32 { + if x != nil { + return x.DesiredHealthy } return 0 } -func (m *PodDisruptionBudgetStatus) GetExpectedPods() int32 { - if m != nil { - return m.ExpectedPods +func (x *PodDisruptionBudgetStatus) GetExpectedPods() int32 { + if x != nil { + return x.ExpectedPods } return 0 } -func (m *PodDisruptionBudgetStatus) GetConditions() []*Condition { - if m != nil { - return m.Conditions +func (x *PodDisruptionBudgetStatus) GetConditions() []*Condition { + if x != nil { + return x.Conditions } return nil } // https://github.com/kubernetes/apimachinery/blob/a8f449e276fe566efddb149992049c78f0088492/pkg/util/intstr/intstr.go#L41 type IntOrString struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Type IntOrString_Type `protobuf:"varint,1,opt,name=type,proto3,enum=datadog.process_agent.IntOrString_Type" json:"type,omitempty"` IntVal int32 `protobuf:"varint,2,opt,name=intVal,proto3" json:"intVal,omitempty"` StrVal string `protobuf:"bytes,3,opt,name=strVal,proto3" json:"strVal,omitempty"` } -func (m *IntOrString) Reset() { *m = IntOrString{} } -func (m *IntOrString) String() string { return proto.CompactTextString(m) } -func (*IntOrString) ProtoMessage() {} -func (*IntOrString) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{85} -} -func (m *IntOrString) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *IntOrString) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_IntOrString.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *IntOrString) Reset() { + *x = IntOrString{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[85] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *IntOrString) XXX_Merge(src proto.Message) { - xxx_messageInfo_IntOrString.Merge(m, src) -} -func (m *IntOrString) XXX_Size() int { - return m.Size() + +func (x *IntOrString) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *IntOrString) XXX_DiscardUnknown() { - xxx_messageInfo_IntOrString.DiscardUnknown(m) + +func (*IntOrString) ProtoMessage() {} + +func (x *IntOrString) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[85] + 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) } -var xxx_messageInfo_IntOrString proto.InternalMessageInfo +// Deprecated: Use IntOrString.ProtoReflect.Descriptor instead. +func (*IntOrString) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{85} +} -func (m *IntOrString) GetType() IntOrString_Type { - if m != nil { - return m.Type +func (x *IntOrString) GetType() IntOrString_Type { + if x != nil { + return x.Type } return IntOrString_Int } -func (m *IntOrString) GetIntVal() int32 { - if m != nil { - return m.IntVal +func (x *IntOrString) GetIntVal() int32 { + if x != nil { + return x.IntVal } return 0 } -func (m *IntOrString) GetStrVal() string { - if m != nil { - return m.StrVal +func (x *IntOrString) GetStrVal() string { + if x != nil { + return x.StrVal } return "" } // reference https://github.com/kubernetes/apimachinery/blob/ea28d546a962e50982945e357ad9869cee15f291/pkg/apis/meta/v1/generated.proto#L171 type Condition struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` LastTransitionTime int64 `protobuf:"varint,3,opt,name=lastTransitionTime,proto3" json:"lastTransitionTime,omitempty"` @@ -8741,274 +9179,281 @@ type Condition struct { Message string `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"` } -func (m *Condition) Reset() { *m = Condition{} } -func (m *Condition) String() string { return proto.CompactTextString(m) } -func (*Condition) ProtoMessage() {} -func (*Condition) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{86} -} -func (m *Condition) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *Condition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Condition.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *Condition) Reset() { + *x = Condition{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[86] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *Condition) XXX_Merge(src proto.Message) { - xxx_messageInfo_Condition.Merge(m, src) -} -func (m *Condition) XXX_Size() int { - return m.Size() + +func (x *Condition) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Condition) XXX_DiscardUnknown() { - xxx_messageInfo_Condition.DiscardUnknown(m) + +func (*Condition) ProtoMessage() {} + +func (x *Condition) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[86] + 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) } -var xxx_messageInfo_Condition proto.InternalMessageInfo +// Deprecated: Use Condition.ProtoReflect.Descriptor instead. +func (*Condition) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{86} +} -func (m *Condition) GetType() string { - if m != nil { - return m.Type +func (x *Condition) GetType() string { + if x != nil { + return x.Type } return "" } -func (m *Condition) GetStatus() string { - if m != nil { - return m.Status +func (x *Condition) GetStatus() string { + if x != nil { + return x.Status } return "" } -func (m *Condition) GetLastTransitionTime() int64 { - if m != nil { - return m.LastTransitionTime +func (x *Condition) GetLastTransitionTime() int64 { + if x != nil { + return x.LastTransitionTime } return 0 } -func (m *Condition) GetReason() string { - if m != nil { - return m.Reason +func (x *Condition) GetReason() string { + if x != nil { + return x.Reason } return "" } -func (m *Condition) GetMessage() string { - if m != nil { - return m.Message +func (x *Condition) GetMessage() string { + if x != nil { + return x.Message } return "" } // reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/core/v1/generated.proto type Pod struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` // status - IP string `protobuf:"bytes,2,opt,name=IP,proto3" json:"IP,omitempty"` - NominatedNodeName string `protobuf:"bytes,3,opt,name=nominatedNodeName,proto3" json:"nominatedNodeName,omitempty"` - NodeName string `protobuf:"bytes,4,opt,name=nodeName,proto3" json:"nodeName,omitempty"` - Phase string `protobuf:"bytes,5,opt,name=phase,proto3" json:"phase,omitempty"` - RestartCount int32 `protobuf:"varint,6,opt,name=restartCount,proto3" json:"restartCount,omitempty"` - ContainerStatuses []*ContainerStatus `protobuf:"bytes,7,rep,name=containerStatuses,proto3" json:"containerStatuses,omitempty"` - InitContainerStatuses []*ContainerStatus `protobuf:"bytes,14,rep,name=initContainerStatuses,proto3" json:"initContainerStatuses,omitempty"` - ConditionMessage string `protobuf:"bytes,8,opt,name=conditionMessage,proto3" json:"conditionMessage,omitempty"` - Status string `protobuf:"bytes,9,opt,name=status,proto3" json:"status,omitempty"` - Yaml []byte `protobuf:"bytes,10,opt,name=yaml,proto3" json:"yaml,omitempty"` // Deprecated: Do not use. - Tags []string `protobuf:"bytes,11,rep,name=tags,proto3" json:"tags,omitempty"` - Host *Host `protobuf:"bytes,12,opt,name=host,proto3" json:"host,omitempty"` - ResourceRequirements []*ResourceRequirements `protobuf:"bytes,13,rep,name=resourceRequirements,proto3" json:"resourceRequirements,omitempty"` - QOSClass string `protobuf:"bytes,15,opt,name=QOSClass,proto3" json:"QOSClass,omitempty"` - PriorityClass string `protobuf:"bytes,16,opt,name=priorityClass,proto3" json:"priorityClass,omitempty"` - Metrics *ResourceMetrics `protobuf:"bytes,17,opt,name=metrics,proto3" json:"metrics,omitempty"` - StartTime int64 `protobuf:"varint,18,opt,name=startTime,proto3" json:"startTime,omitempty"` - ScheduledTime int64 `protobuf:"varint,19,opt,name=scheduledTime,proto3" json:"scheduledTime,omitempty"` - Conditions []*PodCondition `protobuf:"bytes,20,rep,name=conditions,proto3" json:"conditions,omitempty"` -} - -func (m *Pod) Reset() { *m = Pod{} } -func (m *Pod) String() string { return proto.CompactTextString(m) } -func (*Pod) ProtoMessage() {} -func (*Pod) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{87} -} -func (m *Pod) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *Pod) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Pod.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } + IP string `protobuf:"bytes,2,opt,name=IP,proto3" json:"IP,omitempty"` + NominatedNodeName string `protobuf:"bytes,3,opt,name=nominatedNodeName,proto3" json:"nominatedNodeName,omitempty"` + NodeName string `protobuf:"bytes,4,opt,name=nodeName,proto3" json:"nodeName,omitempty"` + Phase string `protobuf:"bytes,5,opt,name=phase,proto3" json:"phase,omitempty"` + RestartCount int32 `protobuf:"varint,6,opt,name=restartCount,proto3" json:"restartCount,omitempty"` + ContainerStatuses []*ContainerStatus `protobuf:"bytes,7,rep,name=containerStatuses,proto3" json:"containerStatuses,omitempty"` + InitContainerStatuses []*ContainerStatus `protobuf:"bytes,14,rep,name=initContainerStatuses,proto3" json:"initContainerStatuses,omitempty"` + ConditionMessage string `protobuf:"bytes,8,opt,name=conditionMessage,proto3" json:"conditionMessage,omitempty"` + Status string `protobuf:"bytes,9,opt,name=status,proto3" json:"status,omitempty"` // pod status displayed by "kubectl get pod" + // Deprecated: Marked as deprecated in proto/process/agent.proto. + Yaml []byte `protobuf:"bytes,10,opt,name=yaml,proto3" json:"yaml,omitempty"` // see CollectorManifest + Tags []string `protobuf:"bytes,11,rep,name=tags,proto3" json:"tags,omitempty"` + Host *Host `protobuf:"bytes,12,opt,name=host,proto3" json:"host,omitempty"` // Used post-resolution + ResourceRequirements []*ResourceRequirements `protobuf:"bytes,13,rep,name=resourceRequirements,proto3" json:"resourceRequirements,omitempty"` + QOSClass string `protobuf:"bytes,15,opt,name=QOSClass,proto3" json:"QOSClass,omitempty"` + PriorityClass string `protobuf:"bytes,16,opt,name=priorityClass,proto3" json:"priorityClass,omitempty"` + Metrics *ResourceMetrics `protobuf:"bytes,17,opt,name=metrics,proto3" json:"metrics,omitempty"` + StartTime int64 `protobuf:"varint,18,opt,name=startTime,proto3" json:"startTime,omitempty"` + ScheduledTime int64 `protobuf:"varint,19,opt,name=scheduledTime,proto3" json:"scheduledTime,omitempty"` + Conditions []*PodCondition `protobuf:"bytes,20,rep,name=conditions,proto3" json:"conditions,omitempty"` } -func (m *Pod) XXX_Merge(src proto.Message) { - xxx_messageInfo_Pod.Merge(m, src) + +func (x *Pod) Reset() { + *x = Pod{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[87] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *Pod) XXX_Size() int { - return m.Size() + +func (x *Pod) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Pod) XXX_DiscardUnknown() { - xxx_messageInfo_Pod.DiscardUnknown(m) + +func (*Pod) ProtoMessage() {} + +func (x *Pod) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[87] + 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) } -var xxx_messageInfo_Pod proto.InternalMessageInfo +// Deprecated: Use Pod.ProtoReflect.Descriptor instead. +func (*Pod) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{87} +} -func (m *Pod) GetMetadata() *Metadata { - if m != nil { - return m.Metadata +func (x *Pod) GetMetadata() *Metadata { + if x != nil { + return x.Metadata } return nil } -func (m *Pod) GetIP() string { - if m != nil { - return m.IP +func (x *Pod) GetIP() string { + if x != nil { + return x.IP } return "" } -func (m *Pod) GetNominatedNodeName() string { - if m != nil { - return m.NominatedNodeName +func (x *Pod) GetNominatedNodeName() string { + if x != nil { + return x.NominatedNodeName } return "" } -func (m *Pod) GetNodeName() string { - if m != nil { - return m.NodeName +func (x *Pod) GetNodeName() string { + if x != nil { + return x.NodeName } return "" } -func (m *Pod) GetPhase() string { - if m != nil { - return m.Phase +func (x *Pod) GetPhase() string { + if x != nil { + return x.Phase } return "" } -func (m *Pod) GetRestartCount() int32 { - if m != nil { - return m.RestartCount +func (x *Pod) GetRestartCount() int32 { + if x != nil { + return x.RestartCount } return 0 } -func (m *Pod) GetContainerStatuses() []*ContainerStatus { - if m != nil { - return m.ContainerStatuses +func (x *Pod) GetContainerStatuses() []*ContainerStatus { + if x != nil { + return x.ContainerStatuses } return nil } -func (m *Pod) GetInitContainerStatuses() []*ContainerStatus { - if m != nil { - return m.InitContainerStatuses +func (x *Pod) GetInitContainerStatuses() []*ContainerStatus { + if x != nil { + return x.InitContainerStatuses } return nil } -func (m *Pod) GetConditionMessage() string { - if m != nil { - return m.ConditionMessage +func (x *Pod) GetConditionMessage() string { + if x != nil { + return x.ConditionMessage } return "" } -func (m *Pod) GetStatus() string { - if m != nil { - return m.Status +func (x *Pod) GetStatus() string { + if x != nil { + return x.Status } return "" } -// Deprecated: Do not use. -func (m *Pod) GetYaml() []byte { - if m != nil { - return m.Yaml +// Deprecated: Marked as deprecated in proto/process/agent.proto. +func (x *Pod) GetYaml() []byte { + if x != nil { + return x.Yaml } return nil } -func (m *Pod) GetTags() []string { - if m != nil { - return m.Tags +func (x *Pod) GetTags() []string { + if x != nil { + return x.Tags } return nil } -func (m *Pod) GetHost() *Host { - if m != nil { - return m.Host +func (x *Pod) GetHost() *Host { + if x != nil { + return x.Host } return nil } -func (m *Pod) GetResourceRequirements() []*ResourceRequirements { - if m != nil { - return m.ResourceRequirements +func (x *Pod) GetResourceRequirements() []*ResourceRequirements { + if x != nil { + return x.ResourceRequirements } return nil } -func (m *Pod) GetQOSClass() string { - if m != nil { - return m.QOSClass +func (x *Pod) GetQOSClass() string { + if x != nil { + return x.QOSClass } return "" } -func (m *Pod) GetPriorityClass() string { - if m != nil { - return m.PriorityClass +func (x *Pod) GetPriorityClass() string { + if x != nil { + return x.PriorityClass } return "" } -func (m *Pod) GetMetrics() *ResourceMetrics { - if m != nil { - return m.Metrics +func (x *Pod) GetMetrics() *ResourceMetrics { + if x != nil { + return x.Metrics } return nil } -func (m *Pod) GetStartTime() int64 { - if m != nil { - return m.StartTime +func (x *Pod) GetStartTime() int64 { + if x != nil { + return x.StartTime } return 0 } -func (m *Pod) GetScheduledTime() int64 { - if m != nil { - return m.ScheduledTime +func (x *Pod) GetScheduledTime() int64 { + if x != nil { + return x.ScheduledTime } return 0 } -func (m *Pod) GetConditions() []*PodCondition { - if m != nil { - return m.Conditions +func (x *Pod) GetConditions() []*PodCondition { + if x != nil { + return x.Conditions } return nil } type PodCondition struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` LastProbeTime int64 `protobuf:"varint,3,opt,name=lastProbeTime,proto3" json:"lastProbeTime,omitempty"` @@ -9017,82 +9462,85 @@ type PodCondition struct { Message string `protobuf:"bytes,6,opt,name=message,proto3" json:"message,omitempty"` } -func (m *PodCondition) Reset() { *m = PodCondition{} } -func (m *PodCondition) String() string { return proto.CompactTextString(m) } -func (*PodCondition) ProtoMessage() {} -func (*PodCondition) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{88} -} -func (m *PodCondition) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *PodCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_PodCondition.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *PodCondition) Reset() { + *x = PodCondition{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[88] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *PodCondition) XXX_Merge(src proto.Message) { - xxx_messageInfo_PodCondition.Merge(m, src) -} -func (m *PodCondition) XXX_Size() int { - return m.Size() + +func (x *PodCondition) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *PodCondition) XXX_DiscardUnknown() { - xxx_messageInfo_PodCondition.DiscardUnknown(m) + +func (*PodCondition) ProtoMessage() {} + +func (x *PodCondition) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[88] + 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) } -var xxx_messageInfo_PodCondition proto.InternalMessageInfo +// Deprecated: Use PodCondition.ProtoReflect.Descriptor instead. +func (*PodCondition) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{88} +} -func (m *PodCondition) GetType() string { - if m != nil { - return m.Type +func (x *PodCondition) GetType() string { + if x != nil { + return x.Type } return "" } -func (m *PodCondition) GetStatus() string { - if m != nil { - return m.Status +func (x *PodCondition) GetStatus() string { + if x != nil { + return x.Status } return "" } -func (m *PodCondition) GetLastProbeTime() int64 { - if m != nil { - return m.LastProbeTime +func (x *PodCondition) GetLastProbeTime() int64 { + if x != nil { + return x.LastProbeTime } return 0 } -func (m *PodCondition) GetLastTransitionTime() int64 { - if m != nil { - return m.LastTransitionTime +func (x *PodCondition) GetLastTransitionTime() int64 { + if x != nil { + return x.LastTransitionTime } return 0 } -func (m *PodCondition) GetReason() string { - if m != nil { - return m.Reason +func (x *PodCondition) GetReason() string { + if x != nil { + return x.Reason } return "" } -func (m *PodCondition) GetMessage() string { - if m != nil { - return m.Message +func (x *PodCondition) GetMessage() string { + if x != nil { + return x.Message } return "" } type ContainerStatus struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` ContainerID string `protobuf:"bytes,2,opt,name=containerID,proto3" json:"containerID,omitempty"` Ready bool `protobuf:"varint,3,opt,name=ready,proto3" json:"ready,omitempty"` @@ -9103,96 +9551,99 @@ type ContainerStatus struct { ImageID string `protobuf:"bytes,8,opt,name=imageID,proto3" json:"imageID,omitempty"` } -func (m *ContainerStatus) Reset() { *m = ContainerStatus{} } -func (m *ContainerStatus) String() string { return proto.CompactTextString(m) } -func (*ContainerStatus) ProtoMessage() {} -func (*ContainerStatus) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{89} -} -func (m *ContainerStatus) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ContainerStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ContainerStatus.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ContainerStatus) Reset() { + *x = ContainerStatus{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[89] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ContainerStatus) XXX_Merge(src proto.Message) { - xxx_messageInfo_ContainerStatus.Merge(m, src) -} -func (m *ContainerStatus) XXX_Size() int { - return m.Size() + +func (x *ContainerStatus) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ContainerStatus) XXX_DiscardUnknown() { - xxx_messageInfo_ContainerStatus.DiscardUnknown(m) + +func (*ContainerStatus) ProtoMessage() {} + +func (x *ContainerStatus) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[89] + 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) } -var xxx_messageInfo_ContainerStatus proto.InternalMessageInfo +// Deprecated: Use ContainerStatus.ProtoReflect.Descriptor instead. +func (*ContainerStatus) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{89} +} -func (m *ContainerStatus) GetName() string { - if m != nil { - return m.Name +func (x *ContainerStatus) GetName() string { + if x != nil { + return x.Name } return "" } -func (m *ContainerStatus) GetContainerID() string { - if m != nil { - return m.ContainerID +func (x *ContainerStatus) GetContainerID() string { + if x != nil { + return x.ContainerID } return "" } -func (m *ContainerStatus) GetReady() bool { - if m != nil { - return m.Ready +func (x *ContainerStatus) GetReady() bool { + if x != nil { + return x.Ready } return false } -func (m *ContainerStatus) GetRestartCount() int32 { - if m != nil { - return m.RestartCount +func (x *ContainerStatus) GetRestartCount() int32 { + if x != nil { + return x.RestartCount } return 0 } -func (m *ContainerStatus) GetState() string { - if m != nil { - return m.State +func (x *ContainerStatus) GetState() string { + if x != nil { + return x.State } return "" } -func (m *ContainerStatus) GetMessage() string { - if m != nil { - return m.Message +func (x *ContainerStatus) GetMessage() string { + if x != nil { + return x.Message } return "" } -func (m *ContainerStatus) GetImage() string { - if m != nil { - return m.Image +func (x *ContainerStatus) GetImage() string { + if x != nil { + return x.Image } return "" } -func (m *ContainerStatus) GetImageID() string { - if m != nil { - return m.ImageID +func (x *ContainerStatus) GetImageID() string { + if x != nil { + return x.ImageID } return "" } type Manifest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Type int32 `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"` ResourceVersion string `protobuf:"bytes,2,opt,name=resourceVersion,proto3" json:"resourceVersion,omitempty"` Uid string `protobuf:"bytes,3,opt,name=uid,proto3" json:"uid,omitempty"` @@ -9201,83 +9652,86 @@ type Manifest struct { Version string `protobuf:"bytes,6,opt,name=version,proto3" json:"version,omitempty"` } -func (m *Manifest) Reset() { *m = Manifest{} } -func (m *Manifest) String() string { return proto.CompactTextString(m) } -func (*Manifest) ProtoMessage() {} -func (*Manifest) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{90} -} -func (m *Manifest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *Manifest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Manifest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *Manifest) Reset() { + *x = Manifest{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[90] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *Manifest) XXX_Merge(src proto.Message) { - xxx_messageInfo_Manifest.Merge(m, src) -} -func (m *Manifest) XXX_Size() int { - return m.Size() + +func (x *Manifest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Manifest) XXX_DiscardUnknown() { - xxx_messageInfo_Manifest.DiscardUnknown(m) + +func (*Manifest) ProtoMessage() {} + +func (x *Manifest) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[90] + 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) } -var xxx_messageInfo_Manifest proto.InternalMessageInfo +// Deprecated: Use Manifest.ProtoReflect.Descriptor instead. +func (*Manifest) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{90} +} -func (m *Manifest) GetType() int32 { - if m != nil { - return m.Type +func (x *Manifest) GetType() int32 { + if x != nil { + return x.Type } return 0 } -func (m *Manifest) GetResourceVersion() string { - if m != nil { - return m.ResourceVersion +func (x *Manifest) GetResourceVersion() string { + if x != nil { + return x.ResourceVersion } return "" } -func (m *Manifest) GetUid() string { - if m != nil { - return m.Uid +func (x *Manifest) GetUid() string { + if x != nil { + return x.Uid } return "" } -func (m *Manifest) GetContent() []byte { - if m != nil { - return m.Content +func (x *Manifest) GetContent() []byte { + if x != nil { + return x.Content } return nil } -func (m *Manifest) GetContentType() string { - if m != nil { - return m.ContentType +func (x *Manifest) GetContentType() string { + if x != nil { + return x.ContentType } return "" } -func (m *Manifest) GetVersion() string { - if m != nil { - return m.Version +func (x *Manifest) GetVersion() string { + if x != nil { + return x.Version } return "" } // reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/core/v1/generated.proto#L2054 type NamespaceCondition struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` LastTransitionTime int64 `protobuf:"varint,3,opt,name=lastTransitionTime,proto3" json:"lastTransitionTime,omitempty"` @@ -9285,156 +9739,159 @@ type NamespaceCondition struct { Message string `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"` } -func (m *NamespaceCondition) Reset() { *m = NamespaceCondition{} } -func (m *NamespaceCondition) String() string { return proto.CompactTextString(m) } -func (*NamespaceCondition) ProtoMessage() {} -func (*NamespaceCondition) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{91} -} -func (m *NamespaceCondition) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *NamespaceCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_NamespaceCondition.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *NamespaceCondition) Reset() { + *x = NamespaceCondition{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[91] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *NamespaceCondition) XXX_Merge(src proto.Message) { - xxx_messageInfo_NamespaceCondition.Merge(m, src) -} -func (m *NamespaceCondition) XXX_Size() int { - return m.Size() + +func (x *NamespaceCondition) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *NamespaceCondition) XXX_DiscardUnknown() { - xxx_messageInfo_NamespaceCondition.DiscardUnknown(m) + +func (*NamespaceCondition) ProtoMessage() {} + +func (x *NamespaceCondition) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[91] + 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) } -var xxx_messageInfo_NamespaceCondition proto.InternalMessageInfo +// Deprecated: Use NamespaceCondition.ProtoReflect.Descriptor instead. +func (*NamespaceCondition) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{91} +} -func (m *NamespaceCondition) GetType() string { - if m != nil { - return m.Type +func (x *NamespaceCondition) GetType() string { + if x != nil { + return x.Type } return "" } -func (m *NamespaceCondition) GetStatus() string { - if m != nil { - return m.Status +func (x *NamespaceCondition) GetStatus() string { + if x != nil { + return x.Status } return "" } -func (m *NamespaceCondition) GetLastTransitionTime() int64 { - if m != nil { - return m.LastTransitionTime +func (x *NamespaceCondition) GetLastTransitionTime() int64 { + if x != nil { + return x.LastTransitionTime } return 0 } -func (m *NamespaceCondition) GetReason() string { - if m != nil { - return m.Reason +func (x *NamespaceCondition) GetReason() string { + if x != nil { + return x.Reason } return "" } -func (m *NamespaceCondition) GetMessage() string { - if m != nil { - return m.Message +func (x *NamespaceCondition) GetMessage() string { + if x != nil { + return x.Message } return "" } // reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/core/v1/generated.proto#L2036 type Namespace struct { - Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` - Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` - ConditionMessage string `protobuf:"bytes,3,opt,name=conditionMessage,proto3" json:"conditionMessage,omitempty"` - Yaml []byte `protobuf:"bytes,4,opt,name=yaml,proto3" json:"yaml,omitempty"` // Deprecated: Do not use. - Tags []string `protobuf:"bytes,5,rep,name=tags,proto3" json:"tags,omitempty"` - Conditions []*NamespaceCondition `protobuf:"bytes,6,rep,name=conditions,proto3" json:"conditions,omitempty"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` + Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` // namespace status displayed by "kubectl get namespace" + ConditionMessage string `protobuf:"bytes,3,opt,name=conditionMessage,proto3" json:"conditionMessage,omitempty"` // the message of the first 'false' condition + // Deprecated: Marked as deprecated in proto/process/agent.proto. + Yaml []byte `protobuf:"bytes,4,opt,name=yaml,proto3" json:"yaml,omitempty"` // see CollectorManifest + Tags []string `protobuf:"bytes,5,rep,name=tags,proto3" json:"tags,omitempty"` + Conditions []*NamespaceCondition `protobuf:"bytes,6,rep,name=conditions,proto3" json:"conditions,omitempty"` } -func (m *Namespace) Reset() { *m = Namespace{} } -func (m *Namespace) String() string { return proto.CompactTextString(m) } -func (*Namespace) ProtoMessage() {} -func (*Namespace) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{92} -} -func (m *Namespace) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *Namespace) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Namespace.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *Namespace) Reset() { + *x = Namespace{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[92] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *Namespace) XXX_Merge(src proto.Message) { - xxx_messageInfo_Namespace.Merge(m, src) -} -func (m *Namespace) XXX_Size() int { - return m.Size() + +func (x *Namespace) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Namespace) XXX_DiscardUnknown() { - xxx_messageInfo_Namespace.DiscardUnknown(m) + +func (*Namespace) ProtoMessage() {} + +func (x *Namespace) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[92] + 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) } -var xxx_messageInfo_Namespace proto.InternalMessageInfo +// Deprecated: Use Namespace.ProtoReflect.Descriptor instead. +func (*Namespace) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{92} +} -func (m *Namespace) GetMetadata() *Metadata { - if m != nil { - return m.Metadata +func (x *Namespace) GetMetadata() *Metadata { + if x != nil { + return x.Metadata } return nil } -func (m *Namespace) GetStatus() string { - if m != nil { - return m.Status +func (x *Namespace) GetStatus() string { + if x != nil { + return x.Status } return "" } -func (m *Namespace) GetConditionMessage() string { - if m != nil { - return m.ConditionMessage +func (x *Namespace) GetConditionMessage() string { + if x != nil { + return x.ConditionMessage } return "" } -// Deprecated: Do not use. -func (m *Namespace) GetYaml() []byte { - if m != nil { - return m.Yaml +// Deprecated: Marked as deprecated in proto/process/agent.proto. +func (x *Namespace) GetYaml() []byte { + if x != nil { + return x.Yaml } return nil } -func (m *Namespace) GetTags() []string { - if m != nil { - return m.Tags +func (x *Namespace) GetTags() []string { + if x != nil { + return x.Tags } return nil } -func (m *Namespace) GetConditions() []*NamespaceCondition { - if m != nil { - return m.Conditions +func (x *Namespace) GetConditions() []*NamespaceCondition { + if x != nil { + return x.Conditions } return nil } @@ -9443,6 +9900,10 @@ func (m *Namespace) GetConditions() []*NamespaceCondition { // Using smallest possible quantity levels. // For memory it is bytes, for CPU it is millicore. type ResourceRequirements struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Limits describes the maximum amount of compute resources allowed. // Key/Value of a resource type and a corresponding quantity as an int64. Limits map[string]int64 `protobuf:"bytes,1,rep,name=limits,proto3" json:"limits,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` @@ -9455,114 +9916,120 @@ type ResourceRequirements struct { Type ResourceRequirementsType `protobuf:"varint,4,opt,name=type,proto3,enum=datadog.process_agent.ResourceRequirementsType" json:"type,omitempty"` } -func (m *ResourceRequirements) Reset() { *m = ResourceRequirements{} } -func (m *ResourceRequirements) String() string { return proto.CompactTextString(m) } -func (*ResourceRequirements) ProtoMessage() {} -func (*ResourceRequirements) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{93} -} -func (m *ResourceRequirements) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ResourceRequirements) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ResourceRequirements.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ResourceRequirements) Reset() { + *x = ResourceRequirements{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[93] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ResourceRequirements) XXX_Merge(src proto.Message) { - xxx_messageInfo_ResourceRequirements.Merge(m, src) -} -func (m *ResourceRequirements) XXX_Size() int { - return m.Size() + +func (x *ResourceRequirements) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ResourceRequirements) XXX_DiscardUnknown() { - xxx_messageInfo_ResourceRequirements.DiscardUnknown(m) + +func (*ResourceRequirements) ProtoMessage() {} + +func (x *ResourceRequirements) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[93] + 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) } -var xxx_messageInfo_ResourceRequirements proto.InternalMessageInfo +// Deprecated: Use ResourceRequirements.ProtoReflect.Descriptor instead. +func (*ResourceRequirements) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{93} +} -func (m *ResourceRequirements) GetLimits() map[string]int64 { - if m != nil { - return m.Limits +func (x *ResourceRequirements) GetLimits() map[string]int64 { + if x != nil { + return x.Limits } return nil } -func (m *ResourceRequirements) GetRequests() map[string]int64 { - if m != nil { - return m.Requests +func (x *ResourceRequirements) GetRequests() map[string]int64 { + if x != nil { + return x.Requests } return nil } -func (m *ResourceRequirements) GetName() string { - if m != nil { - return m.Name +func (x *ResourceRequirements) GetName() string { + if x != nil { + return x.Name } return "" } -func (m *ResourceRequirements) GetType() ResourceRequirementsType { - if m != nil { - return m.Type +func (x *ResourceRequirements) GetType() ResourceRequirementsType { + if x != nil { + return x.Type } return ResourceRequirementsType_unknownType } // ResourceMetrics is used in backend enrichment. type ResourceMetrics struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + MetricValues map[string]float64 `protobuf:"bytes,1,rep,name=metricValues,proto3" json:"metricValues,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"fixed64,2,opt,name=value,proto3"` } -func (m *ResourceMetrics) Reset() { *m = ResourceMetrics{} } -func (m *ResourceMetrics) String() string { return proto.CompactTextString(m) } -func (*ResourceMetrics) ProtoMessage() {} -func (*ResourceMetrics) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{94} -} -func (m *ResourceMetrics) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ResourceMetrics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ResourceMetrics.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ResourceMetrics) Reset() { + *x = ResourceMetrics{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[94] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ResourceMetrics) XXX_Merge(src proto.Message) { - xxx_messageInfo_ResourceMetrics.Merge(m, src) -} -func (m *ResourceMetrics) XXX_Size() int { - return m.Size() + +func (x *ResourceMetrics) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ResourceMetrics) XXX_DiscardUnknown() { - xxx_messageInfo_ResourceMetrics.DiscardUnknown(m) + +func (*ResourceMetrics) ProtoMessage() {} + +func (x *ResourceMetrics) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[94] + 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) } -var xxx_messageInfo_ResourceMetrics proto.InternalMessageInfo +// Deprecated: Use ResourceMetrics.ProtoReflect.Descriptor instead. +func (*ResourceMetrics) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{94} +} -func (m *ResourceMetrics) GetMetricValues() map[string]float64 { - if m != nil { - return m.MetricValues +func (x *ResourceMetrics) GetMetricValues() map[string]float64 { + if x != nil { + return x.MetricValues } return nil } // reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/batch/v1/types.go#L61 type JobSpec struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Parallelism int32 `protobuf:"varint,1,opt,name=parallelism,proto3" json:"parallelism,omitempty"` Completions int32 `protobuf:"varint,2,opt,name=completions,proto3" json:"completions,omitempty"` ActiveDeadlineSeconds int64 `protobuf:"varint,3,opt,name=activeDeadlineSeconds,proto3" json:"activeDeadlineSeconds,omitempty"` @@ -9572,90 +10039,93 @@ type JobSpec struct { ResourceRequirements []*ResourceRequirements `protobuf:"bytes,7,rep,name=resourceRequirements,proto3" json:"resourceRequirements,omitempty"` } -func (m *JobSpec) Reset() { *m = JobSpec{} } -func (m *JobSpec) String() string { return proto.CompactTextString(m) } -func (*JobSpec) ProtoMessage() {} -func (*JobSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{95} -} -func (m *JobSpec) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *JobSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_JobSpec.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *JobSpec) Reset() { + *x = JobSpec{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[95] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *JobSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_JobSpec.Merge(m, src) -} -func (m *JobSpec) XXX_Size() int { - return m.Size() + +func (x *JobSpec) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *JobSpec) XXX_DiscardUnknown() { - xxx_messageInfo_JobSpec.DiscardUnknown(m) + +func (*JobSpec) ProtoMessage() {} + +func (x *JobSpec) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[95] + 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) } -var xxx_messageInfo_JobSpec proto.InternalMessageInfo +// Deprecated: Use JobSpec.ProtoReflect.Descriptor instead. +func (*JobSpec) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{95} +} -func (m *JobSpec) GetParallelism() int32 { - if m != nil { - return m.Parallelism +func (x *JobSpec) GetParallelism() int32 { + if x != nil { + return x.Parallelism } return 0 } -func (m *JobSpec) GetCompletions() int32 { - if m != nil { - return m.Completions +func (x *JobSpec) GetCompletions() int32 { + if x != nil { + return x.Completions } return 0 } -func (m *JobSpec) GetActiveDeadlineSeconds() int64 { - if m != nil { - return m.ActiveDeadlineSeconds +func (x *JobSpec) GetActiveDeadlineSeconds() int64 { + if x != nil { + return x.ActiveDeadlineSeconds } return 0 } -func (m *JobSpec) GetBackoffLimit() int32 { - if m != nil { - return m.BackoffLimit +func (x *JobSpec) GetBackoffLimit() int32 { + if x != nil { + return x.BackoffLimit } return 0 } -func (m *JobSpec) GetSelectors() []*LabelSelectorRequirement { - if m != nil { - return m.Selectors +func (x *JobSpec) GetSelectors() []*LabelSelectorRequirement { + if x != nil { + return x.Selectors } return nil } -func (m *JobSpec) GetManualSelector() bool { - if m != nil { - return m.ManualSelector +func (x *JobSpec) GetManualSelector() bool { + if x != nil { + return x.ManualSelector } return false } -func (m *JobSpec) GetResourceRequirements() []*ResourceRequirements { - if m != nil { - return m.ResourceRequirements +func (x *JobSpec) GetResourceRequirements() []*ResourceRequirements { + if x != nil { + return x.ResourceRequirements } return nil } // reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/batch/v1/types.go#L132 type JobStatus struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + ConditionMessage string `protobuf:"bytes,1,opt,name=conditionMessage,proto3" json:"conditionMessage,omitempty"` StartTime int64 `protobuf:"varint,2,opt,name=startTime,proto3" json:"startTime,omitempty"` CompletionTime int64 `protobuf:"varint,3,opt,name=completionTime,proto3" json:"completionTime,omitempty"` @@ -9664,83 +10134,86 @@ type JobStatus struct { Failed int32 `protobuf:"varint,6,opt,name=failed,proto3" json:"failed,omitempty"` } -func (m *JobStatus) Reset() { *m = JobStatus{} } -func (m *JobStatus) String() string { return proto.CompactTextString(m) } -func (*JobStatus) ProtoMessage() {} -func (*JobStatus) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{96} -} -func (m *JobStatus) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *JobStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_JobStatus.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *JobStatus) Reset() { + *x = JobStatus{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[96] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *JobStatus) XXX_Merge(src proto.Message) { - xxx_messageInfo_JobStatus.Merge(m, src) -} -func (m *JobStatus) XXX_Size() int { - return m.Size() + +func (x *JobStatus) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *JobStatus) XXX_DiscardUnknown() { - xxx_messageInfo_JobStatus.DiscardUnknown(m) + +func (*JobStatus) ProtoMessage() {} + +func (x *JobStatus) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[96] + 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) } -var xxx_messageInfo_JobStatus proto.InternalMessageInfo +// Deprecated: Use JobStatus.ProtoReflect.Descriptor instead. +func (*JobStatus) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{96} +} -func (m *JobStatus) GetConditionMessage() string { - if m != nil { - return m.ConditionMessage +func (x *JobStatus) GetConditionMessage() string { + if x != nil { + return x.ConditionMessage } return "" } -func (m *JobStatus) GetStartTime() int64 { - if m != nil { - return m.StartTime +func (x *JobStatus) GetStartTime() int64 { + if x != nil { + return x.StartTime } return 0 } -func (m *JobStatus) GetCompletionTime() int64 { - if m != nil { - return m.CompletionTime +func (x *JobStatus) GetCompletionTime() int64 { + if x != nil { + return x.CompletionTime } return 0 } -func (m *JobStatus) GetActive() int32 { - if m != nil { - return m.Active +func (x *JobStatus) GetActive() int32 { + if x != nil { + return x.Active } return 0 } -func (m *JobStatus) GetSucceeded() int32 { - if m != nil { - return m.Succeeded +func (x *JobStatus) GetSucceeded() int32 { + if x != nil { + return x.Succeeded } return 0 } -func (m *JobStatus) GetFailed() int32 { - if m != nil { - return m.Failed +func (x *JobStatus) GetFailed() int32 { + if x != nil { + return x.Failed } return 0 } // reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/batch/v1/generated.proto#L51 type JobCondition struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` LastProbeTime int64 `protobuf:"varint,3,opt,name=lastProbeTime,proto3" json:"lastProbeTime,omitempty"` @@ -9749,169 +10222,176 @@ type JobCondition struct { Message string `protobuf:"bytes,6,opt,name=message,proto3" json:"message,omitempty"` } -func (m *JobCondition) Reset() { *m = JobCondition{} } -func (m *JobCondition) String() string { return proto.CompactTextString(m) } -func (*JobCondition) ProtoMessage() {} -func (*JobCondition) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{97} -} -func (m *JobCondition) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *JobCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_JobCondition.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *JobCondition) Reset() { + *x = JobCondition{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[97] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *JobCondition) XXX_Merge(src proto.Message) { - xxx_messageInfo_JobCondition.Merge(m, src) -} -func (m *JobCondition) XXX_Size() int { - return m.Size() + +func (x *JobCondition) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *JobCondition) XXX_DiscardUnknown() { - xxx_messageInfo_JobCondition.DiscardUnknown(m) + +func (*JobCondition) ProtoMessage() {} + +func (x *JobCondition) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[97] + 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) } -var xxx_messageInfo_JobCondition proto.InternalMessageInfo +// Deprecated: Use JobCondition.ProtoReflect.Descriptor instead. +func (*JobCondition) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{97} +} -func (m *JobCondition) GetType() string { - if m != nil { - return m.Type +func (x *JobCondition) GetType() string { + if x != nil { + return x.Type } return "" } -func (m *JobCondition) GetStatus() string { - if m != nil { - return m.Status +func (x *JobCondition) GetStatus() string { + if x != nil { + return x.Status } return "" } -func (m *JobCondition) GetLastProbeTime() int64 { - if m != nil { - return m.LastProbeTime +func (x *JobCondition) GetLastProbeTime() int64 { + if x != nil { + return x.LastProbeTime } return 0 } -func (m *JobCondition) GetLastTransitionTime() int64 { - if m != nil { - return m.LastTransitionTime +func (x *JobCondition) GetLastTransitionTime() int64 { + if x != nil { + return x.LastTransitionTime } return 0 } -func (m *JobCondition) GetReason() string { - if m != nil { - return m.Reason +func (x *JobCondition) GetReason() string { + if x != nil { + return x.Reason } return "" } -func (m *JobCondition) GetMessage() string { - if m != nil { - return m.Message +func (x *JobCondition) GetMessage() string { + if x != nil { + return x.Message } return "" } // reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/batch/v1/types.go#L28 type Job struct { - Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` - Spec *JobSpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"` - Status *JobStatus `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"` - Yaml []byte `protobuf:"bytes,4,opt,name=yaml,proto3" json:"yaml,omitempty"` // Deprecated: Do not use. + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` + Spec *JobSpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"` + Status *JobStatus `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"` + // Deprecated: Marked as deprecated in proto/process/agent.proto. + Yaml []byte `protobuf:"bytes,4,opt,name=yaml,proto3" json:"yaml,omitempty"` // see CollectorManifest Tags []string `protobuf:"bytes,5,rep,name=tags,proto3" json:"tags,omitempty"` Conditions []*JobCondition `protobuf:"bytes,6,rep,name=conditions,proto3" json:"conditions,omitempty"` } -func (m *Job) Reset() { *m = Job{} } -func (m *Job) String() string { return proto.CompactTextString(m) } -func (*Job) ProtoMessage() {} -func (*Job) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{98} -} -func (m *Job) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *Job) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Job.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *Job) Reset() { + *x = Job{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[98] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *Job) XXX_Merge(src proto.Message) { - xxx_messageInfo_Job.Merge(m, src) -} -func (m *Job) XXX_Size() int { - return m.Size() + +func (x *Job) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Job) XXX_DiscardUnknown() { - xxx_messageInfo_Job.DiscardUnknown(m) + +func (*Job) ProtoMessage() {} + +func (x *Job) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[98] + 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) } -var xxx_messageInfo_Job proto.InternalMessageInfo +// Deprecated: Use Job.ProtoReflect.Descriptor instead. +func (*Job) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{98} +} -func (m *Job) GetMetadata() *Metadata { - if m != nil { - return m.Metadata +func (x *Job) GetMetadata() *Metadata { + if x != nil { + return x.Metadata } return nil } -func (m *Job) GetSpec() *JobSpec { - if m != nil { - return m.Spec +func (x *Job) GetSpec() *JobSpec { + if x != nil { + return x.Spec } return nil } -func (m *Job) GetStatus() *JobStatus { - if m != nil { - return m.Status +func (x *Job) GetStatus() *JobStatus { + if x != nil { + return x.Status } return nil } -// Deprecated: Do not use. -func (m *Job) GetYaml() []byte { - if m != nil { - return m.Yaml +// Deprecated: Marked as deprecated in proto/process/agent.proto. +func (x *Job) GetYaml() []byte { + if x != nil { + return x.Yaml } return nil } -func (m *Job) GetTags() []string { - if m != nil { - return m.Tags +func (x *Job) GetTags() []string { + if x != nil { + return x.Tags } return nil } -func (m *Job) GetConditions() []*JobCondition { - if m != nil { - return m.Conditions +func (x *Job) GetConditions() []*JobCondition { + if x != nil { + return x.Conditions } return nil } // reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/batch/v1beta1/types.go#L92 type CronJobSpec struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Schedule string `protobuf:"bytes,1,opt,name=schedule,proto3" json:"schedule,omitempty"` StartingDeadlineSeconds int64 `protobuf:"varint,2,opt,name=startingDeadlineSeconds,proto3" json:"startingDeadlineSeconds,omitempty"` ConcurrencyPolicy string `protobuf:"bytes,3,opt,name=concurrencyPolicy,proto3" json:"concurrencyPolicy,omitempty"` @@ -9921,314 +10401,327 @@ type CronJobSpec struct { ResourceRequirements []*ResourceRequirements `protobuf:"bytes,7,rep,name=resourceRequirements,proto3" json:"resourceRequirements,omitempty"` } -func (m *CronJobSpec) Reset() { *m = CronJobSpec{} } -func (m *CronJobSpec) String() string { return proto.CompactTextString(m) } -func (*CronJobSpec) ProtoMessage() {} -func (*CronJobSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{99} -} -func (m *CronJobSpec) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *CronJobSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_CronJobSpec.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *CronJobSpec) Reset() { + *x = CronJobSpec{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[99] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *CronJobSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_CronJobSpec.Merge(m, src) -} -func (m *CronJobSpec) XXX_Size() int { - return m.Size() + +func (x *CronJobSpec) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CronJobSpec) XXX_DiscardUnknown() { - xxx_messageInfo_CronJobSpec.DiscardUnknown(m) + +func (*CronJobSpec) ProtoMessage() {} + +func (x *CronJobSpec) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[99] + 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) } -var xxx_messageInfo_CronJobSpec proto.InternalMessageInfo +// Deprecated: Use CronJobSpec.ProtoReflect.Descriptor instead. +func (*CronJobSpec) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{99} +} -func (m *CronJobSpec) GetSchedule() string { - if m != nil { - return m.Schedule +func (x *CronJobSpec) GetSchedule() string { + if x != nil { + return x.Schedule } return "" } -func (m *CronJobSpec) GetStartingDeadlineSeconds() int64 { - if m != nil { - return m.StartingDeadlineSeconds +func (x *CronJobSpec) GetStartingDeadlineSeconds() int64 { + if x != nil { + return x.StartingDeadlineSeconds } return 0 } -func (m *CronJobSpec) GetConcurrencyPolicy() string { - if m != nil { - return m.ConcurrencyPolicy +func (x *CronJobSpec) GetConcurrencyPolicy() string { + if x != nil { + return x.ConcurrencyPolicy } return "" } -func (m *CronJobSpec) GetSuspend() bool { - if m != nil { - return m.Suspend +func (x *CronJobSpec) GetSuspend() bool { + if x != nil { + return x.Suspend } return false } -func (m *CronJobSpec) GetSuccessfulJobsHistoryLimit() int32 { - if m != nil { - return m.SuccessfulJobsHistoryLimit +func (x *CronJobSpec) GetSuccessfulJobsHistoryLimit() int32 { + if x != nil { + return x.SuccessfulJobsHistoryLimit } return 0 } -func (m *CronJobSpec) GetFailedJobsHistoryLimit() int32 { - if m != nil { - return m.FailedJobsHistoryLimit +func (x *CronJobSpec) GetFailedJobsHistoryLimit() int32 { + if x != nil { + return x.FailedJobsHistoryLimit } return 0 } -func (m *CronJobSpec) GetResourceRequirements() []*ResourceRequirements { - if m != nil { - return m.ResourceRequirements +func (x *CronJobSpec) GetResourceRequirements() []*ResourceRequirements { + if x != nil { + return x.ResourceRequirements } return nil } // reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/batch/v1beta1/types.go#L150 type CronJobStatus struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Active []*ObjectReference `protobuf:"bytes,1,rep,name=active,proto3" json:"active,omitempty"` LastScheduleTime int64 `protobuf:"varint,2,opt,name=lastScheduleTime,proto3" json:"lastScheduleTime,omitempty"` LastSuccessfulTime int64 `protobuf:"varint,3,opt,name=lastSuccessfulTime,proto3" json:"lastSuccessfulTime,omitempty"` } -func (m *CronJobStatus) Reset() { *m = CronJobStatus{} } -func (m *CronJobStatus) String() string { return proto.CompactTextString(m) } -func (*CronJobStatus) ProtoMessage() {} -func (*CronJobStatus) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{100} -} -func (m *CronJobStatus) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *CronJobStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_CronJobStatus.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *CronJobStatus) Reset() { + *x = CronJobStatus{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[100] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *CronJobStatus) XXX_Merge(src proto.Message) { - xxx_messageInfo_CronJobStatus.Merge(m, src) -} -func (m *CronJobStatus) XXX_Size() int { - return m.Size() + +func (x *CronJobStatus) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CronJobStatus) XXX_DiscardUnknown() { - xxx_messageInfo_CronJobStatus.DiscardUnknown(m) + +func (*CronJobStatus) ProtoMessage() {} + +func (x *CronJobStatus) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[100] + 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) } -var xxx_messageInfo_CronJobStatus proto.InternalMessageInfo +// Deprecated: Use CronJobStatus.ProtoReflect.Descriptor instead. +func (*CronJobStatus) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{100} +} -func (m *CronJobStatus) GetActive() []*ObjectReference { - if m != nil { - return m.Active +func (x *CronJobStatus) GetActive() []*ObjectReference { + if x != nil { + return x.Active } return nil } -func (m *CronJobStatus) GetLastScheduleTime() int64 { - if m != nil { - return m.LastScheduleTime +func (x *CronJobStatus) GetLastScheduleTime() int64 { + if x != nil { + return x.LastScheduleTime } return 0 } -func (m *CronJobStatus) GetLastSuccessfulTime() int64 { - if m != nil { - return m.LastSuccessfulTime +func (x *CronJobStatus) GetLastSuccessfulTime() int64 { + if x != nil { + return x.LastSuccessfulTime } return 0 } // reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/batch/v1beta1/types.go#L58 type CronJob struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` Spec *CronJobSpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"` Status *CronJobStatus `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"` - Yaml []byte `protobuf:"bytes,4,opt,name=yaml,proto3" json:"yaml,omitempty"` // Deprecated: Do not use. - Tags []string `protobuf:"bytes,5,rep,name=tags,proto3" json:"tags,omitempty"` + // Deprecated: Marked as deprecated in proto/process/agent.proto. + Yaml []byte `protobuf:"bytes,4,opt,name=yaml,proto3" json:"yaml,omitempty"` // see CollectorManifest + Tags []string `protobuf:"bytes,5,rep,name=tags,proto3" json:"tags,omitempty"` } -func (m *CronJob) Reset() { *m = CronJob{} } -func (m *CronJob) String() string { return proto.CompactTextString(m) } -func (*CronJob) ProtoMessage() {} -func (*CronJob) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{101} -} -func (m *CronJob) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *CronJob) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_CronJob.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *CronJob) Reset() { + *x = CronJob{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[101] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *CronJob) XXX_Merge(src proto.Message) { - xxx_messageInfo_CronJob.Merge(m, src) -} -func (m *CronJob) XXX_Size() int { - return m.Size() + +func (x *CronJob) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CronJob) XXX_DiscardUnknown() { - xxx_messageInfo_CronJob.DiscardUnknown(m) + +func (*CronJob) ProtoMessage() {} + +func (x *CronJob) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[101] + 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) } -var xxx_messageInfo_CronJob proto.InternalMessageInfo +// Deprecated: Use CronJob.ProtoReflect.Descriptor instead. +func (*CronJob) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{101} +} -func (m *CronJob) GetMetadata() *Metadata { - if m != nil { - return m.Metadata +func (x *CronJob) GetMetadata() *Metadata { + if x != nil { + return x.Metadata } return nil } -func (m *CronJob) GetSpec() *CronJobSpec { - if m != nil { - return m.Spec +func (x *CronJob) GetSpec() *CronJobSpec { + if x != nil { + return x.Spec } return nil } -func (m *CronJob) GetStatus() *CronJobStatus { - if m != nil { - return m.Status +func (x *CronJob) GetStatus() *CronJobStatus { + if x != nil { + return x.Status } return nil } -// Deprecated: Do not use. -func (m *CronJob) GetYaml() []byte { - if m != nil { - return m.Yaml +// Deprecated: Marked as deprecated in proto/process/agent.proto. +func (x *CronJob) GetYaml() []byte { + if x != nil { + return x.Yaml } return nil } -func (m *CronJob) GetTags() []string { - if m != nil { - return m.Tags +func (x *CronJob) GetTags() []string { + if x != nil { + return x.Tags } return nil } // reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/apps/v1/generated.proto#L119 type DaemonSetSpec struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Selectors []*LabelSelectorRequirement `protobuf:"bytes,1,rep,name=selectors,proto3" json:"selectors,omitempty"` DeploymentStrategy string `protobuf:"bytes,2,opt,name=deploymentStrategy,proto3" json:"deploymentStrategy,omitempty"` - MaxUnavailable string `protobuf:"bytes,3,opt,name=maxUnavailable,proto3" json:"maxUnavailable,omitempty"` + MaxUnavailable string `protobuf:"bytes,3,opt,name=maxUnavailable,proto3" json:"maxUnavailable,omitempty"` // int or str MinReadySeconds int32 `protobuf:"varint,4,opt,name=minReadySeconds,proto3" json:"minReadySeconds,omitempty"` RevisionHistoryLimit int32 `protobuf:"varint,5,opt,name=revisionHistoryLimit,proto3" json:"revisionHistoryLimit,omitempty"` ResourceRequirements []*ResourceRequirements `protobuf:"bytes,6,rep,name=resourceRequirements,proto3" json:"resourceRequirements,omitempty"` } -func (m *DaemonSetSpec) Reset() { *m = DaemonSetSpec{} } -func (m *DaemonSetSpec) String() string { return proto.CompactTextString(m) } -func (*DaemonSetSpec) ProtoMessage() {} -func (*DaemonSetSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{102} -} -func (m *DaemonSetSpec) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *DaemonSetSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_DaemonSetSpec.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *DaemonSetSpec) Reset() { + *x = DaemonSetSpec{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[102] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *DaemonSetSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_DaemonSetSpec.Merge(m, src) -} -func (m *DaemonSetSpec) XXX_Size() int { - return m.Size() + +func (x *DaemonSetSpec) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DaemonSetSpec) XXX_DiscardUnknown() { - xxx_messageInfo_DaemonSetSpec.DiscardUnknown(m) + +func (*DaemonSetSpec) ProtoMessage() {} + +func (x *DaemonSetSpec) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[102] + 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) } -var xxx_messageInfo_DaemonSetSpec proto.InternalMessageInfo +// Deprecated: Use DaemonSetSpec.ProtoReflect.Descriptor instead. +func (*DaemonSetSpec) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{102} +} -func (m *DaemonSetSpec) GetSelectors() []*LabelSelectorRequirement { - if m != nil { - return m.Selectors +func (x *DaemonSetSpec) GetSelectors() []*LabelSelectorRequirement { + if x != nil { + return x.Selectors } return nil } -func (m *DaemonSetSpec) GetDeploymentStrategy() string { - if m != nil { - return m.DeploymentStrategy +func (x *DaemonSetSpec) GetDeploymentStrategy() string { + if x != nil { + return x.DeploymentStrategy } return "" } -func (m *DaemonSetSpec) GetMaxUnavailable() string { - if m != nil { - return m.MaxUnavailable +func (x *DaemonSetSpec) GetMaxUnavailable() string { + if x != nil { + return x.MaxUnavailable } return "" } -func (m *DaemonSetSpec) GetMinReadySeconds() int32 { - if m != nil { - return m.MinReadySeconds +func (x *DaemonSetSpec) GetMinReadySeconds() int32 { + if x != nil { + return x.MinReadySeconds } return 0 } -func (m *DaemonSetSpec) GetRevisionHistoryLimit() int32 { - if m != nil { - return m.RevisionHistoryLimit +func (x *DaemonSetSpec) GetRevisionHistoryLimit() int32 { + if x != nil { + return x.RevisionHistoryLimit } return 0 } -func (m *DaemonSetSpec) GetResourceRequirements() []*ResourceRequirements { - if m != nil { - return m.ResourceRequirements +func (x *DaemonSetSpec) GetResourceRequirements() []*ResourceRequirements { + if x != nil { + return x.ResourceRequirements } return nil } // reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/apps/v1/generated.proto#L152 type DaemonSetStatus struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + CurrentNumberScheduled int32 `protobuf:"varint,1,opt,name=currentNumberScheduled,proto3" json:"currentNumberScheduled,omitempty"` NumberMisscheduled int32 `protobuf:"varint,2,opt,name=numberMisscheduled,proto3" json:"numberMisscheduled,omitempty"` DesiredNumberScheduled int32 `protobuf:"varint,3,opt,name=desiredNumberScheduled,proto3" json:"desiredNumberScheduled,omitempty"` @@ -10238,90 +10731,93 @@ type DaemonSetStatus struct { NumberUnavailable int32 `protobuf:"varint,8,opt,name=numberUnavailable,proto3" json:"numberUnavailable,omitempty"` } -func (m *DaemonSetStatus) Reset() { *m = DaemonSetStatus{} } -func (m *DaemonSetStatus) String() string { return proto.CompactTextString(m) } -func (*DaemonSetStatus) ProtoMessage() {} -func (*DaemonSetStatus) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{103} -} -func (m *DaemonSetStatus) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *DaemonSetStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_DaemonSetStatus.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *DaemonSetStatus) Reset() { + *x = DaemonSetStatus{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[103] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *DaemonSetStatus) XXX_Merge(src proto.Message) { - xxx_messageInfo_DaemonSetStatus.Merge(m, src) -} -func (m *DaemonSetStatus) XXX_Size() int { - return m.Size() + +func (x *DaemonSetStatus) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DaemonSetStatus) XXX_DiscardUnknown() { - xxx_messageInfo_DaemonSetStatus.DiscardUnknown(m) + +func (*DaemonSetStatus) ProtoMessage() {} + +func (x *DaemonSetStatus) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[103] + 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) } -var xxx_messageInfo_DaemonSetStatus proto.InternalMessageInfo +// Deprecated: Use DaemonSetStatus.ProtoReflect.Descriptor instead. +func (*DaemonSetStatus) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{103} +} -func (m *DaemonSetStatus) GetCurrentNumberScheduled() int32 { - if m != nil { - return m.CurrentNumberScheduled +func (x *DaemonSetStatus) GetCurrentNumberScheduled() int32 { + if x != nil { + return x.CurrentNumberScheduled } return 0 } -func (m *DaemonSetStatus) GetNumberMisscheduled() int32 { - if m != nil { - return m.NumberMisscheduled +func (x *DaemonSetStatus) GetNumberMisscheduled() int32 { + if x != nil { + return x.NumberMisscheduled } return 0 } -func (m *DaemonSetStatus) GetDesiredNumberScheduled() int32 { - if m != nil { - return m.DesiredNumberScheduled +func (x *DaemonSetStatus) GetDesiredNumberScheduled() int32 { + if x != nil { + return x.DesiredNumberScheduled } return 0 } -func (m *DaemonSetStatus) GetNumberReady() int32 { - if m != nil { - return m.NumberReady +func (x *DaemonSetStatus) GetNumberReady() int32 { + if x != nil { + return x.NumberReady } return 0 } -func (m *DaemonSetStatus) GetUpdatedNumberScheduled() int32 { - if m != nil { - return m.UpdatedNumberScheduled +func (x *DaemonSetStatus) GetUpdatedNumberScheduled() int32 { + if x != nil { + return x.UpdatedNumberScheduled } return 0 } -func (m *DaemonSetStatus) GetNumberAvailable() int32 { - if m != nil { - return m.NumberAvailable +func (x *DaemonSetStatus) GetNumberAvailable() int32 { + if x != nil { + return x.NumberAvailable } return 0 } -func (m *DaemonSetStatus) GetNumberUnavailable() int32 { - if m != nil { - return m.NumberUnavailable +func (x *DaemonSetStatus) GetNumberUnavailable() int32 { + if x != nil { + return x.NumberUnavailable } return 0 } // reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/apps/v1/generated.proto#L87 type DaemonSetCondition struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` LastTransitionTime int64 `protobuf:"varint,3,opt,name=lastTransitionTime,proto3" json:"lastTransitionTime,omitempty"` @@ -10329,170 +10825,177 @@ type DaemonSetCondition struct { Message string `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"` } -func (m *DaemonSetCondition) Reset() { *m = DaemonSetCondition{} } -func (m *DaemonSetCondition) String() string { return proto.CompactTextString(m) } -func (*DaemonSetCondition) ProtoMessage() {} -func (*DaemonSetCondition) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{104} -} -func (m *DaemonSetCondition) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *DaemonSetCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_DaemonSetCondition.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *DaemonSetCondition) Reset() { + *x = DaemonSetCondition{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[104] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *DaemonSetCondition) XXX_Merge(src proto.Message) { - xxx_messageInfo_DaemonSetCondition.Merge(m, src) -} -func (m *DaemonSetCondition) XXX_Size() int { - return m.Size() + +func (x *DaemonSetCondition) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DaemonSetCondition) XXX_DiscardUnknown() { - xxx_messageInfo_DaemonSetCondition.DiscardUnknown(m) + +func (*DaemonSetCondition) ProtoMessage() {} + +func (x *DaemonSetCondition) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[104] + 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) } -var xxx_messageInfo_DaemonSetCondition proto.InternalMessageInfo +// Deprecated: Use DaemonSetCondition.ProtoReflect.Descriptor instead. +func (*DaemonSetCondition) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{104} +} -func (m *DaemonSetCondition) GetType() string { - if m != nil { - return m.Type +func (x *DaemonSetCondition) GetType() string { + if x != nil { + return x.Type } return "" } -func (m *DaemonSetCondition) GetStatus() string { - if m != nil { - return m.Status +func (x *DaemonSetCondition) GetStatus() string { + if x != nil { + return x.Status } return "" } -func (m *DaemonSetCondition) GetLastTransitionTime() int64 { - if m != nil { - return m.LastTransitionTime +func (x *DaemonSetCondition) GetLastTransitionTime() int64 { + if x != nil { + return x.LastTransitionTime } return 0 } -func (m *DaemonSetCondition) GetReason() string { - if m != nil { - return m.Reason +func (x *DaemonSetCondition) GetReason() string { + if x != nil { + return x.Reason } return "" } -func (m *DaemonSetCondition) GetMessage() string { - if m != nil { - return m.Message +func (x *DaemonSetCondition) GetMessage() string { + if x != nil { + return x.Message } return "" } // reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/apps/v1/generated.proto#L66 type DaemonSet struct { - Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` - Spec *DaemonSetSpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"` - Status *DaemonSetStatus `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"` - Yaml []byte `protobuf:"bytes,4,opt,name=yaml,proto3" json:"yaml,omitempty"` // Deprecated: Do not use. + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` + Spec *DaemonSetSpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"` + Status *DaemonSetStatus `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"` + // Deprecated: Marked as deprecated in proto/process/agent.proto. + Yaml []byte `protobuf:"bytes,4,opt,name=yaml,proto3" json:"yaml,omitempty"` // see CollectorManifest Tags []string `protobuf:"bytes,5,rep,name=tags,proto3" json:"tags,omitempty"` Metrics *ResourceMetrics `protobuf:"bytes,6,opt,name=metrics,proto3" json:"metrics,omitempty"` Conditions []*DaemonSetCondition `protobuf:"bytes,7,rep,name=conditions,proto3" json:"conditions,omitempty"` } -func (m *DaemonSet) Reset() { *m = DaemonSet{} } -func (m *DaemonSet) String() string { return proto.CompactTextString(m) } -func (*DaemonSet) ProtoMessage() {} -func (*DaemonSet) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{105} -} -func (m *DaemonSet) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *DaemonSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_DaemonSet.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *DaemonSet) Reset() { + *x = DaemonSet{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[105] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *DaemonSet) XXX_Merge(src proto.Message) { - xxx_messageInfo_DaemonSet.Merge(m, src) -} -func (m *DaemonSet) XXX_Size() int { - return m.Size() + +func (x *DaemonSet) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DaemonSet) XXX_DiscardUnknown() { - xxx_messageInfo_DaemonSet.DiscardUnknown(m) + +func (*DaemonSet) ProtoMessage() {} + +func (x *DaemonSet) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[105] + 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) } -var xxx_messageInfo_DaemonSet proto.InternalMessageInfo +// Deprecated: Use DaemonSet.ProtoReflect.Descriptor instead. +func (*DaemonSet) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{105} +} -func (m *DaemonSet) GetMetadata() *Metadata { - if m != nil { - return m.Metadata +func (x *DaemonSet) GetMetadata() *Metadata { + if x != nil { + return x.Metadata } return nil } -func (m *DaemonSet) GetSpec() *DaemonSetSpec { - if m != nil { - return m.Spec +func (x *DaemonSet) GetSpec() *DaemonSetSpec { + if x != nil { + return x.Spec } return nil } -func (m *DaemonSet) GetStatus() *DaemonSetStatus { - if m != nil { - return m.Status +func (x *DaemonSet) GetStatus() *DaemonSetStatus { + if x != nil { + return x.Status } return nil } -// Deprecated: Do not use. -func (m *DaemonSet) GetYaml() []byte { - if m != nil { - return m.Yaml +// Deprecated: Marked as deprecated in proto/process/agent.proto. +func (x *DaemonSet) GetYaml() []byte { + if x != nil { + return x.Yaml } return nil } -func (m *DaemonSet) GetTags() []string { - if m != nil { - return m.Tags +func (x *DaemonSet) GetTags() []string { + if x != nil { + return x.Tags } return nil } -func (m *DaemonSet) GetMetrics() *ResourceMetrics { - if m != nil { - return m.Metrics +func (x *DaemonSet) GetMetrics() *ResourceMetrics { + if x != nil { + return x.Metrics } return nil } -func (m *DaemonSet) GetConditions() []*DaemonSetCondition { - if m != nil { - return m.Conditions +func (x *DaemonSet) GetConditions() []*DaemonSetCondition { + if x != nil { + return x.Conditions } return nil } // reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/apps/v1/generated.proto#L586 type StatefulSetSpec struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + DesiredReplicas int32 `protobuf:"varint,1,opt,name=desiredReplicas,proto3" json:"desiredReplicas,omitempty"` Selectors []*LabelSelectorRequirement `protobuf:"bytes,2,rep,name=selectors,proto3" json:"selectors,omitempty"` ServiceName string `protobuf:"bytes,3,opt,name=serviceName,proto3" json:"serviceName,omitempty"` @@ -10502,159 +11005,165 @@ type StatefulSetSpec struct { ResourceRequirements []*ResourceRequirements `protobuf:"bytes,7,rep,name=resourceRequirements,proto3" json:"resourceRequirements,omitempty"` } -func (m *StatefulSetSpec) Reset() { *m = StatefulSetSpec{} } -func (m *StatefulSetSpec) String() string { return proto.CompactTextString(m) } -func (*StatefulSetSpec) ProtoMessage() {} -func (*StatefulSetSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{106} -} -func (m *StatefulSetSpec) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *StatefulSetSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_StatefulSetSpec.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *StatefulSetSpec) Reset() { + *x = StatefulSetSpec{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[106] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *StatefulSetSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_StatefulSetSpec.Merge(m, src) -} -func (m *StatefulSetSpec) XXX_Size() int { - return m.Size() + +func (x *StatefulSetSpec) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *StatefulSetSpec) XXX_DiscardUnknown() { - xxx_messageInfo_StatefulSetSpec.DiscardUnknown(m) + +func (*StatefulSetSpec) ProtoMessage() {} + +func (x *StatefulSetSpec) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[106] + 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) } -var xxx_messageInfo_StatefulSetSpec proto.InternalMessageInfo +// Deprecated: Use StatefulSetSpec.ProtoReflect.Descriptor instead. +func (*StatefulSetSpec) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{106} +} -func (m *StatefulSetSpec) GetDesiredReplicas() int32 { - if m != nil { - return m.DesiredReplicas +func (x *StatefulSetSpec) GetDesiredReplicas() int32 { + if x != nil { + return x.DesiredReplicas } return 0 } -func (m *StatefulSetSpec) GetSelectors() []*LabelSelectorRequirement { - if m != nil { - return m.Selectors +func (x *StatefulSetSpec) GetSelectors() []*LabelSelectorRequirement { + if x != nil { + return x.Selectors } return nil } -func (m *StatefulSetSpec) GetServiceName() string { - if m != nil { - return m.ServiceName +func (x *StatefulSetSpec) GetServiceName() string { + if x != nil { + return x.ServiceName } return "" } -func (m *StatefulSetSpec) GetPodManagementPolicy() string { - if m != nil { - return m.PodManagementPolicy +func (x *StatefulSetSpec) GetPodManagementPolicy() string { + if x != nil { + return x.PodManagementPolicy } return "" } -func (m *StatefulSetSpec) GetUpdateStrategy() string { - if m != nil { - return m.UpdateStrategy +func (x *StatefulSetSpec) GetUpdateStrategy() string { + if x != nil { + return x.UpdateStrategy } return "" } -func (m *StatefulSetSpec) GetPartition() int32 { - if m != nil { - return m.Partition +func (x *StatefulSetSpec) GetPartition() int32 { + if x != nil { + return x.Partition } return 0 } -func (m *StatefulSetSpec) GetResourceRequirements() []*ResourceRequirements { - if m != nil { - return m.ResourceRequirements +func (x *StatefulSetSpec) GetResourceRequirements() []*ResourceRequirements { + if x != nil { + return x.ResourceRequirements } return nil } // reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/apps/v1/generated.proto#L647 type StatefulSetStatus struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Replicas int32 `protobuf:"varint,1,opt,name=replicas,proto3" json:"replicas,omitempty"` ReadyReplicas int32 `protobuf:"varint,2,opt,name=readyReplicas,proto3" json:"readyReplicas,omitempty"` CurrentReplicas int32 `protobuf:"varint,3,opt,name=currentReplicas,proto3" json:"currentReplicas,omitempty"` UpdatedReplicas int32 `protobuf:"varint,4,opt,name=updatedReplicas,proto3" json:"updatedReplicas,omitempty"` } -func (m *StatefulSetStatus) Reset() { *m = StatefulSetStatus{} } -func (m *StatefulSetStatus) String() string { return proto.CompactTextString(m) } -func (*StatefulSetStatus) ProtoMessage() {} -func (*StatefulSetStatus) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{107} -} -func (m *StatefulSetStatus) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *StatefulSetStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_StatefulSetStatus.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *StatefulSetStatus) Reset() { + *x = StatefulSetStatus{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[107] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *StatefulSetStatus) XXX_Merge(src proto.Message) { - xxx_messageInfo_StatefulSetStatus.Merge(m, src) -} -func (m *StatefulSetStatus) XXX_Size() int { - return m.Size() + +func (x *StatefulSetStatus) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *StatefulSetStatus) XXX_DiscardUnknown() { - xxx_messageInfo_StatefulSetStatus.DiscardUnknown(m) + +func (*StatefulSetStatus) ProtoMessage() {} + +func (x *StatefulSetStatus) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[107] + 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) } -var xxx_messageInfo_StatefulSetStatus proto.InternalMessageInfo +// Deprecated: Use StatefulSetStatus.ProtoReflect.Descriptor instead. +func (*StatefulSetStatus) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{107} +} -func (m *StatefulSetStatus) GetReplicas() int32 { - if m != nil { - return m.Replicas +func (x *StatefulSetStatus) GetReplicas() int32 { + if x != nil { + return x.Replicas } return 0 } -func (m *StatefulSetStatus) GetReadyReplicas() int32 { - if m != nil { - return m.ReadyReplicas +func (x *StatefulSetStatus) GetReadyReplicas() int32 { + if x != nil { + return x.ReadyReplicas } return 0 } -func (m *StatefulSetStatus) GetCurrentReplicas() int32 { - if m != nil { - return m.CurrentReplicas +func (x *StatefulSetStatus) GetCurrentReplicas() int32 { + if x != nil { + return x.CurrentReplicas } return 0 } -func (m *StatefulSetStatus) GetUpdatedReplicas() int32 { - if m != nil { - return m.UpdatedReplicas +func (x *StatefulSetStatus) GetUpdatedReplicas() int32 { + if x != nil { + return x.UpdatedReplicas } return 0 } // reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/apps/v1/generated.proto#L557 type StatefulSetCondition struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` LastTransitionTime int64 `protobuf:"varint,3,opt,name=lastTransitionTime,proto3" json:"lastTransitionTime,omitempty"` @@ -10662,248 +11171,259 @@ type StatefulSetCondition struct { Message string `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"` } -func (m *StatefulSetCondition) Reset() { *m = StatefulSetCondition{} } -func (m *StatefulSetCondition) String() string { return proto.CompactTextString(m) } -func (*StatefulSetCondition) ProtoMessage() {} -func (*StatefulSetCondition) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{108} -} -func (m *StatefulSetCondition) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *StatefulSetCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_StatefulSetCondition.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *StatefulSetCondition) Reset() { + *x = StatefulSetCondition{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[108] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *StatefulSetCondition) XXX_Merge(src proto.Message) { - xxx_messageInfo_StatefulSetCondition.Merge(m, src) -} -func (m *StatefulSetCondition) XXX_Size() int { - return m.Size() + +func (x *StatefulSetCondition) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *StatefulSetCondition) XXX_DiscardUnknown() { - xxx_messageInfo_StatefulSetCondition.DiscardUnknown(m) + +func (*StatefulSetCondition) ProtoMessage() {} + +func (x *StatefulSetCondition) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[108] + 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) } -var xxx_messageInfo_StatefulSetCondition proto.InternalMessageInfo +// Deprecated: Use StatefulSetCondition.ProtoReflect.Descriptor instead. +func (*StatefulSetCondition) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{108} +} -func (m *StatefulSetCondition) GetType() string { - if m != nil { - return m.Type +func (x *StatefulSetCondition) GetType() string { + if x != nil { + return x.Type } return "" } -func (m *StatefulSetCondition) GetStatus() string { - if m != nil { - return m.Status +func (x *StatefulSetCondition) GetStatus() string { + if x != nil { + return x.Status } return "" } -func (m *StatefulSetCondition) GetLastTransitionTime() int64 { - if m != nil { - return m.LastTransitionTime +func (x *StatefulSetCondition) GetLastTransitionTime() int64 { + if x != nil { + return x.LastTransitionTime } return 0 } -func (m *StatefulSetCondition) GetReason() string { - if m != nil { - return m.Reason +func (x *StatefulSetCondition) GetReason() string { + if x != nil { + return x.Reason } return "" } -func (m *StatefulSetCondition) GetMessage() string { - if m != nil { - return m.Message +func (x *StatefulSetCondition) GetMessage() string { + if x != nil { + return x.Message } return "" } // reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/apps/v1/generated.proto#L542 type StatefulSet struct { - Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` - Spec *StatefulSetSpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"` - Status *StatefulSetStatus `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"` - Yaml []byte `protobuf:"bytes,4,opt,name=yaml,proto3" json:"yaml,omitempty"` // Deprecated: Do not use. + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` + Spec *StatefulSetSpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"` + Status *StatefulSetStatus `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"` + // Deprecated: Marked as deprecated in proto/process/agent.proto. + Yaml []byte `protobuf:"bytes,4,opt,name=yaml,proto3" json:"yaml,omitempty"` // see CollectorManifest Tags []string `protobuf:"bytes,5,rep,name=tags,proto3" json:"tags,omitempty"` Metrics *ResourceMetrics `protobuf:"bytes,6,opt,name=metrics,proto3" json:"metrics,omitempty"` Conditions []*StatefulSetCondition `protobuf:"bytes,7,rep,name=conditions,proto3" json:"conditions,omitempty"` } -func (m *StatefulSet) Reset() { *m = StatefulSet{} } -func (m *StatefulSet) String() string { return proto.CompactTextString(m) } -func (*StatefulSet) ProtoMessage() {} -func (*StatefulSet) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{109} -} -func (m *StatefulSet) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *StatefulSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_StatefulSet.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *StatefulSet) Reset() { + *x = StatefulSet{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[109] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *StatefulSet) XXX_Merge(src proto.Message) { - xxx_messageInfo_StatefulSet.Merge(m, src) -} -func (m *StatefulSet) XXX_Size() int { - return m.Size() + +func (x *StatefulSet) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *StatefulSet) XXX_DiscardUnknown() { - xxx_messageInfo_StatefulSet.DiscardUnknown(m) + +func (*StatefulSet) ProtoMessage() {} + +func (x *StatefulSet) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[109] + 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) } -var xxx_messageInfo_StatefulSet proto.InternalMessageInfo +// Deprecated: Use StatefulSet.ProtoReflect.Descriptor instead. +func (*StatefulSet) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{109} +} -func (m *StatefulSet) GetMetadata() *Metadata { - if m != nil { - return m.Metadata +func (x *StatefulSet) GetMetadata() *Metadata { + if x != nil { + return x.Metadata } return nil } -func (m *StatefulSet) GetSpec() *StatefulSetSpec { - if m != nil { - return m.Spec +func (x *StatefulSet) GetSpec() *StatefulSetSpec { + if x != nil { + return x.Spec } return nil } -func (m *StatefulSet) GetStatus() *StatefulSetStatus { - if m != nil { - return m.Status +func (x *StatefulSet) GetStatus() *StatefulSetStatus { + if x != nil { + return x.Status } return nil } -// Deprecated: Do not use. -func (m *StatefulSet) GetYaml() []byte { - if m != nil { - return m.Yaml +// Deprecated: Marked as deprecated in proto/process/agent.proto. +func (x *StatefulSet) GetYaml() []byte { + if x != nil { + return x.Yaml } return nil } -func (m *StatefulSet) GetTags() []string { - if m != nil { - return m.Tags +func (x *StatefulSet) GetTags() []string { + if x != nil { + return x.Tags } return nil } -func (m *StatefulSet) GetMetrics() *ResourceMetrics { - if m != nil { - return m.Metrics +func (x *StatefulSet) GetMetrics() *ResourceMetrics { + if x != nil { + return x.Metrics } return nil } -func (m *StatefulSet) GetConditions() []*StatefulSetCondition { - if m != nil { - return m.Conditions +func (x *StatefulSet) GetConditions() []*StatefulSetCondition { + if x != nil { + return x.Conditions } return nil } // reference https://github.com/kubernetes/api/blob/4bdcbc60ffeee2c04231f11ff114314c1a93ce65/core/v1/generated.proto#L2576 type PersistentVolume struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` Spec *PersistentVolumeSpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"` Status *PersistentVolumeStatus `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"` - Yaml []byte `protobuf:"bytes,4,opt,name=yaml,proto3" json:"yaml,omitempty"` // Deprecated: Do not use. - Tags []string `protobuf:"bytes,5,rep,name=tags,proto3" json:"tags,omitempty"` + // Deprecated: Marked as deprecated in proto/process/agent.proto. + Yaml []byte `protobuf:"bytes,4,opt,name=yaml,proto3" json:"yaml,omitempty"` // see CollectorManifest + Tags []string `protobuf:"bytes,5,rep,name=tags,proto3" json:"tags,omitempty"` } -func (m *PersistentVolume) Reset() { *m = PersistentVolume{} } -func (m *PersistentVolume) String() string { return proto.CompactTextString(m) } -func (*PersistentVolume) ProtoMessage() {} -func (*PersistentVolume) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{110} -} -func (m *PersistentVolume) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *PersistentVolume) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_PersistentVolume.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *PersistentVolume) Reset() { + *x = PersistentVolume{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[110] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *PersistentVolume) XXX_Merge(src proto.Message) { - xxx_messageInfo_PersistentVolume.Merge(m, src) -} -func (m *PersistentVolume) XXX_Size() int { - return m.Size() + +func (x *PersistentVolume) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *PersistentVolume) XXX_DiscardUnknown() { - xxx_messageInfo_PersistentVolume.DiscardUnknown(m) + +func (*PersistentVolume) ProtoMessage() {} + +func (x *PersistentVolume) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[110] + 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) } -var xxx_messageInfo_PersistentVolume proto.InternalMessageInfo +// Deprecated: Use PersistentVolume.ProtoReflect.Descriptor instead. +func (*PersistentVolume) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{110} +} -func (m *PersistentVolume) GetMetadata() *Metadata { - if m != nil { - return m.Metadata +func (x *PersistentVolume) GetMetadata() *Metadata { + if x != nil { + return x.Metadata } return nil } -func (m *PersistentVolume) GetSpec() *PersistentVolumeSpec { - if m != nil { - return m.Spec +func (x *PersistentVolume) GetSpec() *PersistentVolumeSpec { + if x != nil { + return x.Spec } return nil } -func (m *PersistentVolume) GetStatus() *PersistentVolumeStatus { - if m != nil { - return m.Status +func (x *PersistentVolume) GetStatus() *PersistentVolumeStatus { + if x != nil { + return x.Status } return nil } -// Deprecated: Do not use. -func (m *PersistentVolume) GetYaml() []byte { - if m != nil { - return m.Yaml +// Deprecated: Marked as deprecated in proto/process/agent.proto. +func (x *PersistentVolume) GetYaml() []byte { + if x != nil { + return x.Yaml } return nil } -func (m *PersistentVolume) GetTags() []string { - if m != nil { - return m.Tags +func (x *PersistentVolume) GetTags() []string { + if x != nil { + return x.Tags } return nil } // reference https://github.com/kubernetes/api/blob/4bdcbc60ffeee2c04231f11ff114314c1a93ce65/core/v1/generated.proto#L2889 type PersistentVolumeSpec struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Key/Value of a resource type and a corresponding quantity as an int64. Capacity map[string]int64 `protobuf:"bytes,1,rep,name=capacity,proto3" json:"capacity,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` // in kubernetes these are actually fields in a struct where only one can be set. @@ -10919,111 +11439,114 @@ type PersistentVolumeSpec struct { PersistentVolumeSource *PersistentVolumeSource `protobuf:"bytes,10,opt,name=persistentVolumeSource,proto3" json:"persistentVolumeSource,omitempty"` } -func (m *PersistentVolumeSpec) Reset() { *m = PersistentVolumeSpec{} } -func (m *PersistentVolumeSpec) String() string { return proto.CompactTextString(m) } -func (*PersistentVolumeSpec) ProtoMessage() {} -func (*PersistentVolumeSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{111} -} -func (m *PersistentVolumeSpec) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *PersistentVolumeSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_PersistentVolumeSpec.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *PersistentVolumeSpec) Reset() { + *x = PersistentVolumeSpec{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[111] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *PersistentVolumeSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_PersistentVolumeSpec.Merge(m, src) -} -func (m *PersistentVolumeSpec) XXX_Size() int { - return m.Size() + +func (x *PersistentVolumeSpec) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *PersistentVolumeSpec) XXX_DiscardUnknown() { - xxx_messageInfo_PersistentVolumeSpec.DiscardUnknown(m) + +func (*PersistentVolumeSpec) ProtoMessage() {} + +func (x *PersistentVolumeSpec) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[111] + 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) } -var xxx_messageInfo_PersistentVolumeSpec proto.InternalMessageInfo +// Deprecated: Use PersistentVolumeSpec.ProtoReflect.Descriptor instead. +func (*PersistentVolumeSpec) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{111} +} -func (m *PersistentVolumeSpec) GetCapacity() map[string]int64 { - if m != nil { - return m.Capacity +func (x *PersistentVolumeSpec) GetCapacity() map[string]int64 { + if x != nil { + return x.Capacity } return nil } -func (m *PersistentVolumeSpec) GetPersistentVolumeType() string { - if m != nil { - return m.PersistentVolumeType +func (x *PersistentVolumeSpec) GetPersistentVolumeType() string { + if x != nil { + return x.PersistentVolumeType } return "" } -func (m *PersistentVolumeSpec) GetAccessModes() []string { - if m != nil { - return m.AccessModes +func (x *PersistentVolumeSpec) GetAccessModes() []string { + if x != nil { + return x.AccessModes } return nil } -func (m *PersistentVolumeSpec) GetClaimRef() *ObjectReference { - if m != nil { - return m.ClaimRef +func (x *PersistentVolumeSpec) GetClaimRef() *ObjectReference { + if x != nil { + return x.ClaimRef } return nil } -func (m *PersistentVolumeSpec) GetPersistentVolumeReclaimPolicy() string { - if m != nil { - return m.PersistentVolumeReclaimPolicy +func (x *PersistentVolumeSpec) GetPersistentVolumeReclaimPolicy() string { + if x != nil { + return x.PersistentVolumeReclaimPolicy } return "" } -func (m *PersistentVolumeSpec) GetStorageClassName() string { - if m != nil { - return m.StorageClassName +func (x *PersistentVolumeSpec) GetStorageClassName() string { + if x != nil { + return x.StorageClassName } return "" } -func (m *PersistentVolumeSpec) GetMountOptions() []string { - if m != nil { - return m.MountOptions +func (x *PersistentVolumeSpec) GetMountOptions() []string { + if x != nil { + return x.MountOptions } return nil } -func (m *PersistentVolumeSpec) GetVolumeMode() string { - if m != nil { - return m.VolumeMode +func (x *PersistentVolumeSpec) GetVolumeMode() string { + if x != nil { + return x.VolumeMode } return "" } -func (m *PersistentVolumeSpec) GetNodeAffinity() []*NodeSelectorTerm { - if m != nil { - return m.NodeAffinity +func (x *PersistentVolumeSpec) GetNodeAffinity() []*NodeSelectorTerm { + if x != nil { + return x.NodeAffinity } return nil } -func (m *PersistentVolumeSpec) GetPersistentVolumeSource() *PersistentVolumeSource { - if m != nil { - return m.PersistentVolumeSource +func (x *PersistentVolumeSpec) GetPersistentVolumeSource() *PersistentVolumeSource { + if x != nil { + return x.PersistentVolumeSource } return nil } // reference https://github.com/kubernetes/api/blob/release-1.27/core/v1/generated.proto#L1722 type PersistentVolumeSource struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + GcePersistentDisk *GCEPersistentDiskVolumeSource `protobuf:"bytes,1,opt,name=gcePersistentDisk,proto3" json:"gcePersistentDisk,omitempty"` AwsElasticBlockStore *AWSElasticBlockStoreVolumeSource `protobuf:"bytes,2,opt,name=awsElasticBlockStore,proto3" json:"awsElasticBlockStore,omitempty"` AzureFile *AzureFilePersistentVolumeSource `protobuf:"bytes,3,opt,name=azureFile,proto3" json:"azureFile,omitempty"` @@ -11031,283 +11554,295 @@ type PersistentVolumeSource struct { Csi *CSIVolumeSource `protobuf:"bytes,5,opt,name=csi,proto3" json:"csi,omitempty"` } -func (m *PersistentVolumeSource) Reset() { *m = PersistentVolumeSource{} } -func (m *PersistentVolumeSource) String() string { return proto.CompactTextString(m) } -func (*PersistentVolumeSource) ProtoMessage() {} -func (*PersistentVolumeSource) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{112} -} -func (m *PersistentVolumeSource) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *PersistentVolumeSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_PersistentVolumeSource.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *PersistentVolumeSource) Reset() { + *x = PersistentVolumeSource{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[112] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *PersistentVolumeSource) XXX_Merge(src proto.Message) { - xxx_messageInfo_PersistentVolumeSource.Merge(m, src) -} -func (m *PersistentVolumeSource) XXX_Size() int { - return m.Size() + +func (x *PersistentVolumeSource) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *PersistentVolumeSource) XXX_DiscardUnknown() { - xxx_messageInfo_PersistentVolumeSource.DiscardUnknown(m) + +func (*PersistentVolumeSource) ProtoMessage() {} + +func (x *PersistentVolumeSource) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[112] + 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) } -var xxx_messageInfo_PersistentVolumeSource proto.InternalMessageInfo +// Deprecated: Use PersistentVolumeSource.ProtoReflect.Descriptor instead. +func (*PersistentVolumeSource) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{112} +} -func (m *PersistentVolumeSource) GetGcePersistentDisk() *GCEPersistentDiskVolumeSource { - if m != nil { - return m.GcePersistentDisk +func (x *PersistentVolumeSource) GetGcePersistentDisk() *GCEPersistentDiskVolumeSource { + if x != nil { + return x.GcePersistentDisk } return nil } -func (m *PersistentVolumeSource) GetAwsElasticBlockStore() *AWSElasticBlockStoreVolumeSource { - if m != nil { - return m.AwsElasticBlockStore +func (x *PersistentVolumeSource) GetAwsElasticBlockStore() *AWSElasticBlockStoreVolumeSource { + if x != nil { + return x.AwsElasticBlockStore } return nil } -func (m *PersistentVolumeSource) GetAzureFile() *AzureFilePersistentVolumeSource { - if m != nil { - return m.AzureFile +func (x *PersistentVolumeSource) GetAzureFile() *AzureFilePersistentVolumeSource { + if x != nil { + return x.AzureFile } return nil } -func (m *PersistentVolumeSource) GetAzureDisk() *AzureDiskVolumeSource { - if m != nil { - return m.AzureDisk +func (x *PersistentVolumeSource) GetAzureDisk() *AzureDiskVolumeSource { + if x != nil { + return x.AzureDisk } return nil } -func (m *PersistentVolumeSource) GetCsi() *CSIVolumeSource { - if m != nil { - return m.Csi +func (x *PersistentVolumeSource) GetCsi() *CSIVolumeSource { + if x != nil { + return x.Csi } return nil } // reference https://github.com/kubernetes/api/blob/4bdcbc60ffeee2c04231f11ff114314c1a93ce65/core/v1/generated.proto#L1616 type GCEPersistentDiskVolumeSource struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + PdName string `protobuf:"bytes,1,opt,name=pdName,proto3" json:"pdName,omitempty"` FsType string `protobuf:"bytes,2,opt,name=fsType,proto3" json:"fsType,omitempty"` Partition int32 `protobuf:"varint,3,opt,name=partition,proto3" json:"partition,omitempty"` ReadOnly bool `protobuf:"varint,4,opt,name=readOnly,proto3" json:"readOnly,omitempty"` } -func (m *GCEPersistentDiskVolumeSource) Reset() { *m = GCEPersistentDiskVolumeSource{} } -func (m *GCEPersistentDiskVolumeSource) String() string { return proto.CompactTextString(m) } -func (*GCEPersistentDiskVolumeSource) ProtoMessage() {} -func (*GCEPersistentDiskVolumeSource) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{113} -} -func (m *GCEPersistentDiskVolumeSource) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *GCEPersistentDiskVolumeSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GCEPersistentDiskVolumeSource.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *GCEPersistentDiskVolumeSource) Reset() { + *x = GCEPersistentDiskVolumeSource{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[113] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *GCEPersistentDiskVolumeSource) XXX_Merge(src proto.Message) { - xxx_messageInfo_GCEPersistentDiskVolumeSource.Merge(m, src) -} -func (m *GCEPersistentDiskVolumeSource) XXX_Size() int { - return m.Size() + +func (x *GCEPersistentDiskVolumeSource) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GCEPersistentDiskVolumeSource) XXX_DiscardUnknown() { - xxx_messageInfo_GCEPersistentDiskVolumeSource.DiscardUnknown(m) + +func (*GCEPersistentDiskVolumeSource) ProtoMessage() {} + +func (x *GCEPersistentDiskVolumeSource) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[113] + 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) } -var xxx_messageInfo_GCEPersistentDiskVolumeSource proto.InternalMessageInfo +// Deprecated: Use GCEPersistentDiskVolumeSource.ProtoReflect.Descriptor instead. +func (*GCEPersistentDiskVolumeSource) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{113} +} -func (m *GCEPersistentDiskVolumeSource) GetPdName() string { - if m != nil { - return m.PdName +func (x *GCEPersistentDiskVolumeSource) GetPdName() string { + if x != nil { + return x.PdName } return "" } -func (m *GCEPersistentDiskVolumeSource) GetFsType() string { - if m != nil { - return m.FsType +func (x *GCEPersistentDiskVolumeSource) GetFsType() string { + if x != nil { + return x.FsType } return "" } -func (m *GCEPersistentDiskVolumeSource) GetPartition() int32 { - if m != nil { - return m.Partition +func (x *GCEPersistentDiskVolumeSource) GetPartition() int32 { + if x != nil { + return x.Partition } return 0 } -func (m *GCEPersistentDiskVolumeSource) GetReadOnly() bool { - if m != nil { - return m.ReadOnly +func (x *GCEPersistentDiskVolumeSource) GetReadOnly() bool { + if x != nil { + return x.ReadOnly } return false } // reference https://github.com/kubernetes/api/blob/release-1.27/core/v1/generated.proto#L39 type AWSElasticBlockStoreVolumeSource struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + VolumeID string `protobuf:"bytes,1,opt,name=volumeID,proto3" json:"volumeID,omitempty"` FsType string `protobuf:"bytes,2,opt,name=fsType,proto3" json:"fsType,omitempty"` Partition int32 `protobuf:"varint,3,opt,name=partition,proto3" json:"partition,omitempty"` ReadOnly bool `protobuf:"varint,4,opt,name=readOnly,proto3" json:"readOnly,omitempty"` } -func (m *AWSElasticBlockStoreVolumeSource) Reset() { *m = AWSElasticBlockStoreVolumeSource{} } -func (m *AWSElasticBlockStoreVolumeSource) String() string { return proto.CompactTextString(m) } -func (*AWSElasticBlockStoreVolumeSource) ProtoMessage() {} -func (*AWSElasticBlockStoreVolumeSource) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{114} -} -func (m *AWSElasticBlockStoreVolumeSource) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *AWSElasticBlockStoreVolumeSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_AWSElasticBlockStoreVolumeSource.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *AWSElasticBlockStoreVolumeSource) Reset() { + *x = AWSElasticBlockStoreVolumeSource{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[114] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *AWSElasticBlockStoreVolumeSource) XXX_Merge(src proto.Message) { - xxx_messageInfo_AWSElasticBlockStoreVolumeSource.Merge(m, src) -} -func (m *AWSElasticBlockStoreVolumeSource) XXX_Size() int { - return m.Size() + +func (x *AWSElasticBlockStoreVolumeSource) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *AWSElasticBlockStoreVolumeSource) XXX_DiscardUnknown() { - xxx_messageInfo_AWSElasticBlockStoreVolumeSource.DiscardUnknown(m) + +func (*AWSElasticBlockStoreVolumeSource) ProtoMessage() {} + +func (x *AWSElasticBlockStoreVolumeSource) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[114] + 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) } -var xxx_messageInfo_AWSElasticBlockStoreVolumeSource proto.InternalMessageInfo +// Deprecated: Use AWSElasticBlockStoreVolumeSource.ProtoReflect.Descriptor instead. +func (*AWSElasticBlockStoreVolumeSource) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{114} +} -func (m *AWSElasticBlockStoreVolumeSource) GetVolumeID() string { - if m != nil { - return m.VolumeID +func (x *AWSElasticBlockStoreVolumeSource) GetVolumeID() string { + if x != nil { + return x.VolumeID } return "" } -func (m *AWSElasticBlockStoreVolumeSource) GetFsType() string { - if m != nil { - return m.FsType +func (x *AWSElasticBlockStoreVolumeSource) GetFsType() string { + if x != nil { + return x.FsType } return "" } -func (m *AWSElasticBlockStoreVolumeSource) GetPartition() int32 { - if m != nil { - return m.Partition +func (x *AWSElasticBlockStoreVolumeSource) GetPartition() int32 { + if x != nil { + return x.Partition } return 0 } -func (m *AWSElasticBlockStoreVolumeSource) GetReadOnly() bool { - if m != nil { - return m.ReadOnly +func (x *AWSElasticBlockStoreVolumeSource) GetReadOnly() bool { + if x != nil { + return x.ReadOnly } return false } // reference https://github.com/kubernetes/api/blob/release-1.27/core/v1/generated.proto#L127 type AzureFilePersistentVolumeSource struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + SecretName string `protobuf:"bytes,1,opt,name=secretName,proto3" json:"secretName,omitempty"` ShareName string `protobuf:"bytes,2,opt,name=shareName,proto3" json:"shareName,omitempty"` ReadOnly bool `protobuf:"varint,3,opt,name=readOnly,proto3" json:"readOnly,omitempty"` SecretNamespace string `protobuf:"bytes,4,opt,name=secretNamespace,proto3" json:"secretNamespace,omitempty"` } -func (m *AzureFilePersistentVolumeSource) Reset() { *m = AzureFilePersistentVolumeSource{} } -func (m *AzureFilePersistentVolumeSource) String() string { return proto.CompactTextString(m) } -func (*AzureFilePersistentVolumeSource) ProtoMessage() {} -func (*AzureFilePersistentVolumeSource) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{115} -} -func (m *AzureFilePersistentVolumeSource) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *AzureFilePersistentVolumeSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_AzureFilePersistentVolumeSource.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *AzureFilePersistentVolumeSource) Reset() { + *x = AzureFilePersistentVolumeSource{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[115] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *AzureFilePersistentVolumeSource) XXX_Merge(src proto.Message) { - xxx_messageInfo_AzureFilePersistentVolumeSource.Merge(m, src) -} -func (m *AzureFilePersistentVolumeSource) XXX_Size() int { - return m.Size() + +func (x *AzureFilePersistentVolumeSource) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *AzureFilePersistentVolumeSource) XXX_DiscardUnknown() { - xxx_messageInfo_AzureFilePersistentVolumeSource.DiscardUnknown(m) + +func (*AzureFilePersistentVolumeSource) ProtoMessage() {} + +func (x *AzureFilePersistentVolumeSource) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[115] + 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) } -var xxx_messageInfo_AzureFilePersistentVolumeSource proto.InternalMessageInfo +// Deprecated: Use AzureFilePersistentVolumeSource.ProtoReflect.Descriptor instead. +func (*AzureFilePersistentVolumeSource) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{115} +} -func (m *AzureFilePersistentVolumeSource) GetSecretName() string { - if m != nil { - return m.SecretName +func (x *AzureFilePersistentVolumeSource) GetSecretName() string { + if x != nil { + return x.SecretName } return "" } -func (m *AzureFilePersistentVolumeSource) GetShareName() string { - if m != nil { - return m.ShareName +func (x *AzureFilePersistentVolumeSource) GetShareName() string { + if x != nil { + return x.ShareName } return "" } -func (m *AzureFilePersistentVolumeSource) GetReadOnly() bool { - if m != nil { - return m.ReadOnly +func (x *AzureFilePersistentVolumeSource) GetReadOnly() bool { + if x != nil { + return x.ReadOnly } return false } -func (m *AzureFilePersistentVolumeSource) GetSecretNamespace() string { - if m != nil { - return m.SecretNamespace +func (x *AzureFilePersistentVolumeSource) GetSecretNamespace() string { + if x != nil { + return x.SecretNamespace } return "" } // reference https://github.com/kubernetes/api/blob/release-1.27/core/v1/generated.proto#L100 type AzureDiskVolumeSource struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + DiskName string `protobuf:"bytes,1,opt,name=diskName,proto3" json:"diskName,omitempty"` DiskURI string `protobuf:"bytes,2,opt,name=diskURI,proto3" json:"diskURI,omitempty"` CachingMode string `protobuf:"bytes,3,opt,name=cachingMode,proto3" json:"cachingMode,omitempty"` @@ -11316,83 +11851,86 @@ type AzureDiskVolumeSource struct { Kind string `protobuf:"bytes,6,opt,name=kind,proto3" json:"kind,omitempty"` } -func (m *AzureDiskVolumeSource) Reset() { *m = AzureDiskVolumeSource{} } -func (m *AzureDiskVolumeSource) String() string { return proto.CompactTextString(m) } -func (*AzureDiskVolumeSource) ProtoMessage() {} -func (*AzureDiskVolumeSource) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{116} -} -func (m *AzureDiskVolumeSource) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *AzureDiskVolumeSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_AzureDiskVolumeSource.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *AzureDiskVolumeSource) Reset() { + *x = AzureDiskVolumeSource{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[116] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *AzureDiskVolumeSource) XXX_Merge(src proto.Message) { - xxx_messageInfo_AzureDiskVolumeSource.Merge(m, src) -} -func (m *AzureDiskVolumeSource) XXX_Size() int { - return m.Size() + +func (x *AzureDiskVolumeSource) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *AzureDiskVolumeSource) XXX_DiscardUnknown() { - xxx_messageInfo_AzureDiskVolumeSource.DiscardUnknown(m) + +func (*AzureDiskVolumeSource) ProtoMessage() {} + +func (x *AzureDiskVolumeSource) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[116] + 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) } -var xxx_messageInfo_AzureDiskVolumeSource proto.InternalMessageInfo +// Deprecated: Use AzureDiskVolumeSource.ProtoReflect.Descriptor instead. +func (*AzureDiskVolumeSource) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{116} +} -func (m *AzureDiskVolumeSource) GetDiskName() string { - if m != nil { - return m.DiskName +func (x *AzureDiskVolumeSource) GetDiskName() string { + if x != nil { + return x.DiskName } return "" } -func (m *AzureDiskVolumeSource) GetDiskURI() string { - if m != nil { - return m.DiskURI +func (x *AzureDiskVolumeSource) GetDiskURI() string { + if x != nil { + return x.DiskURI } return "" } -func (m *AzureDiskVolumeSource) GetCachingMode() string { - if m != nil { - return m.CachingMode +func (x *AzureDiskVolumeSource) GetCachingMode() string { + if x != nil { + return x.CachingMode } return "" } -func (m *AzureDiskVolumeSource) GetFsType() string { - if m != nil { - return m.FsType +func (x *AzureDiskVolumeSource) GetFsType() string { + if x != nil { + return x.FsType } return "" } -func (m *AzureDiskVolumeSource) GetReadOnly() bool { - if m != nil { - return m.ReadOnly +func (x *AzureDiskVolumeSource) GetReadOnly() bool { + if x != nil { + return x.ReadOnly } return false } -func (m *AzureDiskVolumeSource) GetKind() string { - if m != nil { - return m.Kind +func (x *AzureDiskVolumeSource) GetKind() string { + if x != nil { + return x.Kind } return "" } // reference https://github.com/kubernetes/api/blob/release-1.27/core/v1/generated.proto#L172 type CSIVolumeSource struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Driver string `protobuf:"bytes,1,opt,name=driver,proto3" json:"driver,omitempty"` VolumeHandle string `protobuf:"bytes,2,opt,name=volumeHandle,proto3" json:"volumeHandle,omitempty"` ReadOnly bool `protobuf:"varint,3,opt,name=readOnly,proto3" json:"readOnly,omitempty"` @@ -11405,424 +11943,443 @@ type CSIVolumeSource struct { NodeExpandSecretRef *SecretReference `protobuf:"bytes,10,opt,name=nodeExpandSecretRef,proto3" json:"nodeExpandSecretRef,omitempty"` } -func (m *CSIVolumeSource) Reset() { *m = CSIVolumeSource{} } -func (m *CSIVolumeSource) String() string { return proto.CompactTextString(m) } -func (*CSIVolumeSource) ProtoMessage() {} -func (*CSIVolumeSource) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{117} -} -func (m *CSIVolumeSource) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *CSIVolumeSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_CSIVolumeSource.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *CSIVolumeSource) Reset() { + *x = CSIVolumeSource{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[117] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *CSIVolumeSource) XXX_Merge(src proto.Message) { - xxx_messageInfo_CSIVolumeSource.Merge(m, src) -} -func (m *CSIVolumeSource) XXX_Size() int { - return m.Size() + +func (x *CSIVolumeSource) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CSIVolumeSource) XXX_DiscardUnknown() { - xxx_messageInfo_CSIVolumeSource.DiscardUnknown(m) + +func (*CSIVolumeSource) ProtoMessage() {} + +func (x *CSIVolumeSource) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[117] + 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) } -var xxx_messageInfo_CSIVolumeSource proto.InternalMessageInfo +// Deprecated: Use CSIVolumeSource.ProtoReflect.Descriptor instead. +func (*CSIVolumeSource) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{117} +} -func (m *CSIVolumeSource) GetDriver() string { - if m != nil { - return m.Driver +func (x *CSIVolumeSource) GetDriver() string { + if x != nil { + return x.Driver } return "" } -func (m *CSIVolumeSource) GetVolumeHandle() string { - if m != nil { - return m.VolumeHandle +func (x *CSIVolumeSource) GetVolumeHandle() string { + if x != nil { + return x.VolumeHandle } return "" } -func (m *CSIVolumeSource) GetReadOnly() bool { - if m != nil { - return m.ReadOnly +func (x *CSIVolumeSource) GetReadOnly() bool { + if x != nil { + return x.ReadOnly } return false } -func (m *CSIVolumeSource) GetFsType() string { - if m != nil { - return m.FsType +func (x *CSIVolumeSource) GetFsType() string { + if x != nil { + return x.FsType } return "" } -func (m *CSIVolumeSource) GetVolumeAttributes() map[string]string { - if m != nil { - return m.VolumeAttributes +func (x *CSIVolumeSource) GetVolumeAttributes() map[string]string { + if x != nil { + return x.VolumeAttributes } return nil } -func (m *CSIVolumeSource) GetControllerPublishSecretRef() *SecretReference { - if m != nil { - return m.ControllerPublishSecretRef +func (x *CSIVolumeSource) GetControllerPublishSecretRef() *SecretReference { + if x != nil { + return x.ControllerPublishSecretRef } return nil } -func (m *CSIVolumeSource) GetNodeStageSecretRef() *SecretReference { - if m != nil { - return m.NodeStageSecretRef +func (x *CSIVolumeSource) GetNodeStageSecretRef() *SecretReference { + if x != nil { + return x.NodeStageSecretRef } return nil } -func (m *CSIVolumeSource) GetNodePublishSecretRef() *SecretReference { - if m != nil { - return m.NodePublishSecretRef +func (x *CSIVolumeSource) GetNodePublishSecretRef() *SecretReference { + if x != nil { + return x.NodePublishSecretRef } return nil } -func (m *CSIVolumeSource) GetControllerExpandSecretRef() *SecretReference { - if m != nil { - return m.ControllerExpandSecretRef +func (x *CSIVolumeSource) GetControllerExpandSecretRef() *SecretReference { + if x != nil { + return x.ControllerExpandSecretRef } return nil } -func (m *CSIVolumeSource) GetNodeExpandSecretRef() *SecretReference { - if m != nil { - return m.NodeExpandSecretRef +func (x *CSIVolumeSource) GetNodeExpandSecretRef() *SecretReference { + if x != nil { + return x.NodeExpandSecretRef } return nil } // reference https://github.com/kubernetes/api/blob/4bdcbc60ffeee2c04231f11ff114314c1a93ce65/core/v1/generated.proto#L4553 type SecretReference struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` } -func (m *SecretReference) Reset() { *m = SecretReference{} } -func (m *SecretReference) String() string { return proto.CompactTextString(m) } -func (*SecretReference) ProtoMessage() {} -func (*SecretReference) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{118} -} -func (m *SecretReference) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *SecretReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_SecretReference.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *SecretReference) Reset() { + *x = SecretReference{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[118] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *SecretReference) XXX_Merge(src proto.Message) { - xxx_messageInfo_SecretReference.Merge(m, src) -} -func (m *SecretReference) XXX_Size() int { - return m.Size() + +func (x *SecretReference) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SecretReference) XXX_DiscardUnknown() { - xxx_messageInfo_SecretReference.DiscardUnknown(m) + +func (*SecretReference) ProtoMessage() {} + +func (x *SecretReference) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[118] + 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) } -var xxx_messageInfo_SecretReference proto.InternalMessageInfo +// Deprecated: Use SecretReference.ProtoReflect.Descriptor instead. +func (*SecretReference) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{118} +} -func (m *SecretReference) GetName() string { - if m != nil { - return m.Name +func (x *SecretReference) GetName() string { + if x != nil { + return x.Name } return "" } -func (m *SecretReference) GetNamespace() string { - if m != nil { - return m.Namespace +func (x *SecretReference) GetNamespace() string { + if x != nil { + return x.Namespace } return "" } // reference https://github.com/kubernetes/api/blob/4bdcbc60ffeee2c04231f11ff114314c1a93ce65/core/v1/generated.proto#L2940 type PersistentVolumeStatus struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Phase string `protobuf:"bytes,1,opt,name=phase,proto3" json:"phase,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` Reason string `protobuf:"bytes,3,opt,name=reason,proto3" json:"reason,omitempty"` } -func (m *PersistentVolumeStatus) Reset() { *m = PersistentVolumeStatus{} } -func (m *PersistentVolumeStatus) String() string { return proto.CompactTextString(m) } -func (*PersistentVolumeStatus) ProtoMessage() {} -func (*PersistentVolumeStatus) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{119} -} -func (m *PersistentVolumeStatus) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *PersistentVolumeStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_PersistentVolumeStatus.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *PersistentVolumeStatus) Reset() { + *x = PersistentVolumeStatus{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[119] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *PersistentVolumeStatus) XXX_Merge(src proto.Message) { - xxx_messageInfo_PersistentVolumeStatus.Merge(m, src) -} -func (m *PersistentVolumeStatus) XXX_Size() int { - return m.Size() + +func (x *PersistentVolumeStatus) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *PersistentVolumeStatus) XXX_DiscardUnknown() { - xxx_messageInfo_PersistentVolumeStatus.DiscardUnknown(m) + +func (*PersistentVolumeStatus) ProtoMessage() {} + +func (x *PersistentVolumeStatus) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[119] + 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) } -var xxx_messageInfo_PersistentVolumeStatus proto.InternalMessageInfo +// Deprecated: Use PersistentVolumeStatus.ProtoReflect.Descriptor instead. +func (*PersistentVolumeStatus) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{119} +} -func (m *PersistentVolumeStatus) GetPhase() string { - if m != nil { - return m.Phase +func (x *PersistentVolumeStatus) GetPhase() string { + if x != nil { + return x.Phase } return "" } -func (m *PersistentVolumeStatus) GetMessage() string { - if m != nil { - return m.Message +func (x *PersistentVolumeStatus) GetMessage() string { + if x != nil { + return x.Message } return "" } -func (m *PersistentVolumeStatus) GetReason() string { - if m != nil { - return m.Reason +func (x *PersistentVolumeStatus) GetReason() string { + if x != nil { + return x.Reason } return "" } type NodeSelectorTerm struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + MatchExpressions []*LabelSelectorRequirement `protobuf:"bytes,1,rep,name=matchExpressions,proto3" json:"matchExpressions,omitempty"` MatchFields []*LabelSelectorRequirement `protobuf:"bytes,2,rep,name=matchFields,proto3" json:"matchFields,omitempty"` } -func (m *NodeSelectorTerm) Reset() { *m = NodeSelectorTerm{} } -func (m *NodeSelectorTerm) String() string { return proto.CompactTextString(m) } -func (*NodeSelectorTerm) ProtoMessage() {} -func (*NodeSelectorTerm) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{120} -} -func (m *NodeSelectorTerm) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *NodeSelectorTerm) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_NodeSelectorTerm.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *NodeSelectorTerm) Reset() { + *x = NodeSelectorTerm{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[120] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *NodeSelectorTerm) XXX_Merge(src proto.Message) { - xxx_messageInfo_NodeSelectorTerm.Merge(m, src) -} -func (m *NodeSelectorTerm) XXX_Size() int { - return m.Size() + +func (x *NodeSelectorTerm) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *NodeSelectorTerm) XXX_DiscardUnknown() { - xxx_messageInfo_NodeSelectorTerm.DiscardUnknown(m) + +func (*NodeSelectorTerm) ProtoMessage() {} + +func (x *NodeSelectorTerm) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[120] + 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) } -var xxx_messageInfo_NodeSelectorTerm proto.InternalMessageInfo +// Deprecated: Use NodeSelectorTerm.ProtoReflect.Descriptor instead. +func (*NodeSelectorTerm) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{120} +} -func (m *NodeSelectorTerm) GetMatchExpressions() []*LabelSelectorRequirement { - if m != nil { - return m.MatchExpressions +func (x *NodeSelectorTerm) GetMatchExpressions() []*LabelSelectorRequirement { + if x != nil { + return x.MatchExpressions } return nil } -func (m *NodeSelectorTerm) GetMatchFields() []*LabelSelectorRequirement { - if m != nil { - return m.MatchFields +func (x *NodeSelectorTerm) GetMatchFields() []*LabelSelectorRequirement { + if x != nil { + return x.MatchFields } return nil } // reference https://github.com/kubernetes/api/blob/4bdcbc60ffeee2c04231f11ff114314c1a93ce65/core/v1/generated.proto#L2597 type PersistentVolumeClaim struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` Spec *PersistentVolumeClaimSpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"` Status *PersistentVolumeClaimStatus `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"` - Yaml []byte `protobuf:"bytes,4,opt,name=yaml,proto3" json:"yaml,omitempty"` // Deprecated: Do not use. - Tags []string `protobuf:"bytes,5,rep,name=tags,proto3" json:"tags,omitempty"` + // Deprecated: Marked as deprecated in proto/process/agent.proto. + Yaml []byte `protobuf:"bytes,4,opt,name=yaml,proto3" json:"yaml,omitempty"` // see CollectorManifest + Tags []string `protobuf:"bytes,5,rep,name=tags,proto3" json:"tags,omitempty"` } -func (m *PersistentVolumeClaim) Reset() { *m = PersistentVolumeClaim{} } -func (m *PersistentVolumeClaim) String() string { return proto.CompactTextString(m) } -func (*PersistentVolumeClaim) ProtoMessage() {} -func (*PersistentVolumeClaim) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{121} -} -func (m *PersistentVolumeClaim) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *PersistentVolumeClaim) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_PersistentVolumeClaim.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *PersistentVolumeClaim) Reset() { + *x = PersistentVolumeClaim{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[121] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *PersistentVolumeClaim) XXX_Merge(src proto.Message) { - xxx_messageInfo_PersistentVolumeClaim.Merge(m, src) -} -func (m *PersistentVolumeClaim) XXX_Size() int { - return m.Size() + +func (x *PersistentVolumeClaim) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *PersistentVolumeClaim) XXX_DiscardUnknown() { - xxx_messageInfo_PersistentVolumeClaim.DiscardUnknown(m) + +func (*PersistentVolumeClaim) ProtoMessage() {} + +func (x *PersistentVolumeClaim) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[121] + 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) } -var xxx_messageInfo_PersistentVolumeClaim proto.InternalMessageInfo +// Deprecated: Use PersistentVolumeClaim.ProtoReflect.Descriptor instead. +func (*PersistentVolumeClaim) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{121} +} -func (m *PersistentVolumeClaim) GetMetadata() *Metadata { - if m != nil { - return m.Metadata +func (x *PersistentVolumeClaim) GetMetadata() *Metadata { + if x != nil { + return x.Metadata } return nil } -func (m *PersistentVolumeClaim) GetSpec() *PersistentVolumeClaimSpec { - if m != nil { - return m.Spec +func (x *PersistentVolumeClaim) GetSpec() *PersistentVolumeClaimSpec { + if x != nil { + return x.Spec } return nil } -func (m *PersistentVolumeClaim) GetStatus() *PersistentVolumeClaimStatus { - if m != nil { - return m.Status +func (x *PersistentVolumeClaim) GetStatus() *PersistentVolumeClaimStatus { + if x != nil { + return x.Status } return nil } -// Deprecated: Do not use. -func (m *PersistentVolumeClaim) GetYaml() []byte { - if m != nil { - return m.Yaml +// Deprecated: Marked as deprecated in proto/process/agent.proto. +func (x *PersistentVolumeClaim) GetYaml() []byte { + if x != nil { + return x.Yaml } return nil } -func (m *PersistentVolumeClaim) GetTags() []string { - if m != nil { - return m.Tags +func (x *PersistentVolumeClaim) GetTags() []string { + if x != nil { + return x.Tags } return nil } // reference https://github.com/kubernetes/api/blob/4bdcbc60ffeee2c04231f11ff114314c1a93ce65/core/v1/generated.proto#L2715 type PersistentVolumeClaimStatus struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Phase string `protobuf:"bytes,1,opt,name=phase,proto3" json:"phase,omitempty"` AccessModes []string `protobuf:"bytes,2,rep,name=accessModes,proto3" json:"accessModes,omitempty"` Capacity map[string]int64 `protobuf:"bytes,3,rep,name=capacity,proto3" json:"capacity,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` Conditions []*PersistentVolumeClaimCondition `protobuf:"bytes,4,rep,name=conditions,proto3" json:"conditions,omitempty"` } -func (m *PersistentVolumeClaimStatus) Reset() { *m = PersistentVolumeClaimStatus{} } -func (m *PersistentVolumeClaimStatus) String() string { return proto.CompactTextString(m) } -func (*PersistentVolumeClaimStatus) ProtoMessage() {} -func (*PersistentVolumeClaimStatus) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{122} -} -func (m *PersistentVolumeClaimStatus) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *PersistentVolumeClaimStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_PersistentVolumeClaimStatus.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *PersistentVolumeClaimStatus) Reset() { + *x = PersistentVolumeClaimStatus{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[122] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *PersistentVolumeClaimStatus) XXX_Merge(src proto.Message) { - xxx_messageInfo_PersistentVolumeClaimStatus.Merge(m, src) -} -func (m *PersistentVolumeClaimStatus) XXX_Size() int { - return m.Size() + +func (x *PersistentVolumeClaimStatus) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *PersistentVolumeClaimStatus) XXX_DiscardUnknown() { - xxx_messageInfo_PersistentVolumeClaimStatus.DiscardUnknown(m) + +func (*PersistentVolumeClaimStatus) ProtoMessage() {} + +func (x *PersistentVolumeClaimStatus) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[122] + 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) } -var xxx_messageInfo_PersistentVolumeClaimStatus proto.InternalMessageInfo +// Deprecated: Use PersistentVolumeClaimStatus.ProtoReflect.Descriptor instead. +func (*PersistentVolumeClaimStatus) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{122} +} -func (m *PersistentVolumeClaimStatus) GetPhase() string { - if m != nil { - return m.Phase +func (x *PersistentVolumeClaimStatus) GetPhase() string { + if x != nil { + return x.Phase } return "" } -func (m *PersistentVolumeClaimStatus) GetAccessModes() []string { - if m != nil { - return m.AccessModes +func (x *PersistentVolumeClaimStatus) GetAccessModes() []string { + if x != nil { + return x.AccessModes } return nil } -func (m *PersistentVolumeClaimStatus) GetCapacity() map[string]int64 { - if m != nil { - return m.Capacity +func (x *PersistentVolumeClaimStatus) GetCapacity() map[string]int64 { + if x != nil { + return x.Capacity } return nil } -func (m *PersistentVolumeClaimStatus) GetConditions() []*PersistentVolumeClaimCondition { - if m != nil { - return m.Conditions +func (x *PersistentVolumeClaimStatus) GetConditions() []*PersistentVolumeClaimCondition { + if x != nil { + return x.Conditions } return nil } // reference https://github.com/kubernetes/api/blob/4bdcbc60ffeee2c04231f11ff114314c1a93ce65/core/v1/generated.proto#L2654 type PersistentVolumeClaimSpec struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + AccessModes []string `protobuf:"bytes,1,rep,name=accessModes,proto3" json:"accessModes,omitempty"` Resources *ResourceRequirements `protobuf:"bytes,2,opt,name=resources,proto3" json:"resources,omitempty"` VolumeName string `protobuf:"bytes,3,opt,name=volumeName,proto3" json:"volumeName,omitempty"` @@ -11832,151 +12389,157 @@ type PersistentVolumeClaimSpec struct { DataSource *TypedLocalObjectReference `protobuf:"bytes,7,opt,name=dataSource,proto3" json:"dataSource,omitempty"` } -func (m *PersistentVolumeClaimSpec) Reset() { *m = PersistentVolumeClaimSpec{} } -func (m *PersistentVolumeClaimSpec) String() string { return proto.CompactTextString(m) } -func (*PersistentVolumeClaimSpec) ProtoMessage() {} -func (*PersistentVolumeClaimSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{123} -} -func (m *PersistentVolumeClaimSpec) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *PersistentVolumeClaimSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_PersistentVolumeClaimSpec.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *PersistentVolumeClaimSpec) Reset() { + *x = PersistentVolumeClaimSpec{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[123] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *PersistentVolumeClaimSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_PersistentVolumeClaimSpec.Merge(m, src) -} -func (m *PersistentVolumeClaimSpec) XXX_Size() int { - return m.Size() + +func (x *PersistentVolumeClaimSpec) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *PersistentVolumeClaimSpec) XXX_DiscardUnknown() { - xxx_messageInfo_PersistentVolumeClaimSpec.DiscardUnknown(m) + +func (*PersistentVolumeClaimSpec) ProtoMessage() {} + +func (x *PersistentVolumeClaimSpec) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[123] + 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) } -var xxx_messageInfo_PersistentVolumeClaimSpec proto.InternalMessageInfo +// Deprecated: Use PersistentVolumeClaimSpec.ProtoReflect.Descriptor instead. +func (*PersistentVolumeClaimSpec) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{123} +} -func (m *PersistentVolumeClaimSpec) GetAccessModes() []string { - if m != nil { - return m.AccessModes +func (x *PersistentVolumeClaimSpec) GetAccessModes() []string { + if x != nil { + return x.AccessModes } return nil } -func (m *PersistentVolumeClaimSpec) GetResources() *ResourceRequirements { - if m != nil { - return m.Resources +func (x *PersistentVolumeClaimSpec) GetResources() *ResourceRequirements { + if x != nil { + return x.Resources } return nil } -func (m *PersistentVolumeClaimSpec) GetVolumeName() string { - if m != nil { - return m.VolumeName +func (x *PersistentVolumeClaimSpec) GetVolumeName() string { + if x != nil { + return x.VolumeName } return "" } -func (m *PersistentVolumeClaimSpec) GetSelector() []*LabelSelectorRequirement { - if m != nil { - return m.Selector +func (x *PersistentVolumeClaimSpec) GetSelector() []*LabelSelectorRequirement { + if x != nil { + return x.Selector } return nil } -func (m *PersistentVolumeClaimSpec) GetStorageClassName() string { - if m != nil { - return m.StorageClassName +func (x *PersistentVolumeClaimSpec) GetStorageClassName() string { + if x != nil { + return x.StorageClassName } return "" } -func (m *PersistentVolumeClaimSpec) GetVolumeMode() string { - if m != nil { - return m.VolumeMode +func (x *PersistentVolumeClaimSpec) GetVolumeMode() string { + if x != nil { + return x.VolumeMode } return "" } -func (m *PersistentVolumeClaimSpec) GetDataSource() *TypedLocalObjectReference { - if m != nil { - return m.DataSource +func (x *PersistentVolumeClaimSpec) GetDataSource() *TypedLocalObjectReference { + if x != nil { + return x.DataSource } return nil } // reference https://github.com/kubernetes/api/blob/4bdcbc60ffeee2c04231f11ff114314c1a93ce65/core/v1/generated.proto#L5327 type TypedLocalObjectReference struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + ApiGroup string `protobuf:"bytes,1,opt,name=apiGroup,proto3" json:"apiGroup,omitempty"` Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` } -func (m *TypedLocalObjectReference) Reset() { *m = TypedLocalObjectReference{} } -func (m *TypedLocalObjectReference) String() string { return proto.CompactTextString(m) } -func (*TypedLocalObjectReference) ProtoMessage() {} -func (*TypedLocalObjectReference) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{124} -} -func (m *TypedLocalObjectReference) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *TypedLocalObjectReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_TypedLocalObjectReference.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *TypedLocalObjectReference) Reset() { + *x = TypedLocalObjectReference{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[124] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *TypedLocalObjectReference) XXX_Merge(src proto.Message) { - xxx_messageInfo_TypedLocalObjectReference.Merge(m, src) -} -func (m *TypedLocalObjectReference) XXX_Size() int { - return m.Size() + +func (x *TypedLocalObjectReference) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *TypedLocalObjectReference) XXX_DiscardUnknown() { - xxx_messageInfo_TypedLocalObjectReference.DiscardUnknown(m) + +func (*TypedLocalObjectReference) ProtoMessage() {} + +func (x *TypedLocalObjectReference) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[124] + 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) } -var xxx_messageInfo_TypedLocalObjectReference proto.InternalMessageInfo +// Deprecated: Use TypedLocalObjectReference.ProtoReflect.Descriptor instead. +func (*TypedLocalObjectReference) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{124} +} -func (m *TypedLocalObjectReference) GetApiGroup() string { - if m != nil { - return m.ApiGroup +func (x *TypedLocalObjectReference) GetApiGroup() string { + if x != nil { + return x.ApiGroup } return "" } -func (m *TypedLocalObjectReference) GetKind() string { - if m != nil { - return m.Kind +func (x *TypedLocalObjectReference) GetKind() string { + if x != nil { + return x.Kind } return "" } -func (m *TypedLocalObjectReference) GetName() string { - if m != nil { - return m.Name +func (x *TypedLocalObjectReference) GetName() string { + if x != nil { + return x.Name } return "" } // reference https://github.com/kubernetes/api/blob/4bdcbc60ffeee2c04231f11ff114314c1a93ce65/core/v1/generated.proto#L2616 type PersistentVolumeClaimCondition struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` LastProbeTime int64 `protobuf:"varint,3,opt,name=lastProbeTime,proto3" json:"lastProbeTime,omitempty"` @@ -11985,83 +12548,86 @@ type PersistentVolumeClaimCondition struct { Message string `protobuf:"bytes,6,opt,name=message,proto3" json:"message,omitempty"` } -func (m *PersistentVolumeClaimCondition) Reset() { *m = PersistentVolumeClaimCondition{} } -func (m *PersistentVolumeClaimCondition) String() string { return proto.CompactTextString(m) } -func (*PersistentVolumeClaimCondition) ProtoMessage() {} -func (*PersistentVolumeClaimCondition) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{125} -} -func (m *PersistentVolumeClaimCondition) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *PersistentVolumeClaimCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_PersistentVolumeClaimCondition.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *PersistentVolumeClaimCondition) Reset() { + *x = PersistentVolumeClaimCondition{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[125] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *PersistentVolumeClaimCondition) XXX_Merge(src proto.Message) { - xxx_messageInfo_PersistentVolumeClaimCondition.Merge(m, src) -} -func (m *PersistentVolumeClaimCondition) XXX_Size() int { - return m.Size() + +func (x *PersistentVolumeClaimCondition) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *PersistentVolumeClaimCondition) XXX_DiscardUnknown() { - xxx_messageInfo_PersistentVolumeClaimCondition.DiscardUnknown(m) + +func (*PersistentVolumeClaimCondition) ProtoMessage() {} + +func (x *PersistentVolumeClaimCondition) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[125] + 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) } -var xxx_messageInfo_PersistentVolumeClaimCondition proto.InternalMessageInfo +// Deprecated: Use PersistentVolumeClaimCondition.ProtoReflect.Descriptor instead. +func (*PersistentVolumeClaimCondition) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{125} +} -func (m *PersistentVolumeClaimCondition) GetType() string { - if m != nil { - return m.Type +func (x *PersistentVolumeClaimCondition) GetType() string { + if x != nil { + return x.Type } return "" } -func (m *PersistentVolumeClaimCondition) GetStatus() string { - if m != nil { - return m.Status +func (x *PersistentVolumeClaimCondition) GetStatus() string { + if x != nil { + return x.Status } return "" } -func (m *PersistentVolumeClaimCondition) GetLastProbeTime() int64 { - if m != nil { - return m.LastProbeTime +func (x *PersistentVolumeClaimCondition) GetLastProbeTime() int64 { + if x != nil { + return x.LastProbeTime } return 0 } -func (m *PersistentVolumeClaimCondition) GetLastTransitionTime() int64 { - if m != nil { - return m.LastTransitionTime +func (x *PersistentVolumeClaimCondition) GetLastTransitionTime() int64 { + if x != nil { + return x.LastTransitionTime } return 0 } -func (m *PersistentVolumeClaimCondition) GetReason() string { - if m != nil { - return m.Reason +func (x *PersistentVolumeClaimCondition) GetReason() string { + if x != nil { + return x.Reason } return "" } -func (m *PersistentVolumeClaimCondition) GetMessage() string { - if m != nil { - return m.Message +func (x *PersistentVolumeClaimCondition) GetMessage() string { + if x != nil { + return x.Message } return "" } // reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/rbac/v1/generated.proto#L94 type PolicyRule struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Verbs []string `protobuf:"bytes,1,rep,name=verbs,proto3" json:"verbs,omitempty"` ApiGroups []string `protobuf:"bytes,2,rep,name=apiGroups,proto3" json:"apiGroups,omitempty"` Resources []string `protobuf:"bytes,3,rep,name=resources,proto3" json:"resources,omitempty"` @@ -12069,537 +12635,559 @@ type PolicyRule struct { NonResourceURLs []string `protobuf:"bytes,5,rep,name=nonResourceURLs,proto3" json:"nonResourceURLs,omitempty"` } -func (m *PolicyRule) Reset() { *m = PolicyRule{} } -func (m *PolicyRule) String() string { return proto.CompactTextString(m) } -func (*PolicyRule) ProtoMessage() {} -func (*PolicyRule) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{126} -} -func (m *PolicyRule) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *PolicyRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_PolicyRule.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *PolicyRule) Reset() { + *x = PolicyRule{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[126] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *PolicyRule) XXX_Merge(src proto.Message) { - xxx_messageInfo_PolicyRule.Merge(m, src) -} -func (m *PolicyRule) XXX_Size() int { - return m.Size() + +func (x *PolicyRule) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *PolicyRule) XXX_DiscardUnknown() { - xxx_messageInfo_PolicyRule.DiscardUnknown(m) + +func (*PolicyRule) ProtoMessage() {} + +func (x *PolicyRule) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[126] + 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) } -var xxx_messageInfo_PolicyRule proto.InternalMessageInfo +// Deprecated: Use PolicyRule.ProtoReflect.Descriptor instead. +func (*PolicyRule) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{126} +} -func (m *PolicyRule) GetVerbs() []string { - if m != nil { - return m.Verbs +func (x *PolicyRule) GetVerbs() []string { + if x != nil { + return x.Verbs } return nil } -func (m *PolicyRule) GetApiGroups() []string { - if m != nil { - return m.ApiGroups +func (x *PolicyRule) GetApiGroups() []string { + if x != nil { + return x.ApiGroups } return nil } -func (m *PolicyRule) GetResources() []string { - if m != nil { - return m.Resources +func (x *PolicyRule) GetResources() []string { + if x != nil { + return x.Resources } return nil } -func (m *PolicyRule) GetResourceNames() []string { - if m != nil { - return m.ResourceNames +func (x *PolicyRule) GetResourceNames() []string { + if x != nil { + return x.ResourceNames } return nil } -func (m *PolicyRule) GetNonResourceURLs() []string { - if m != nil { - return m.NonResourceURLs +func (x *PolicyRule) GetNonResourceURLs() []string { + if x != nil { + return x.NonResourceURLs } return nil } // reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/rbac/v1/generated.proto#L180 type Subject struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"` ApiGroup string `protobuf:"bytes,2,opt,name=apiGroup,proto3" json:"apiGroup,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Namespace string `protobuf:"bytes,4,opt,name=namespace,proto3" json:"namespace,omitempty"` } -func (m *Subject) Reset() { *m = Subject{} } -func (m *Subject) String() string { return proto.CompactTextString(m) } -func (*Subject) ProtoMessage() {} -func (*Subject) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{127} -} -func (m *Subject) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *Subject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Subject.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *Subject) Reset() { + *x = Subject{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[127] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *Subject) XXX_Merge(src proto.Message) { - xxx_messageInfo_Subject.Merge(m, src) -} -func (m *Subject) XXX_Size() int { - return m.Size() + +func (x *Subject) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Subject) XXX_DiscardUnknown() { - xxx_messageInfo_Subject.DiscardUnknown(m) + +func (*Subject) ProtoMessage() {} + +func (x *Subject) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[127] + 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) } -var xxx_messageInfo_Subject proto.InternalMessageInfo +// Deprecated: Use Subject.ProtoReflect.Descriptor instead. +func (*Subject) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{127} +} -func (m *Subject) GetKind() string { - if m != nil { - return m.Kind +func (x *Subject) GetKind() string { + if x != nil { + return x.Kind } return "" } -func (m *Subject) GetApiGroup() string { - if m != nil { - return m.ApiGroup +func (x *Subject) GetApiGroup() string { + if x != nil { + return x.ApiGroup } return "" } -func (m *Subject) GetName() string { - if m != nil { - return m.Name +func (x *Subject) GetName() string { + if x != nil { + return x.Name } return "" } -func (m *Subject) GetNamespace() string { - if m != nil { - return m.Namespace +func (x *Subject) GetNamespace() string { + if x != nil { + return x.Namespace } return "" } // reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/rbac/v1/generated.proto#L119 type Role struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` Rules []*PolicyRule `protobuf:"bytes,2,rep,name=rules,proto3" json:"rules,omitempty"` - Yaml []byte `protobuf:"bytes,3,opt,name=yaml,proto3" json:"yaml,omitempty"` // Deprecated: Do not use. - Tags []string `protobuf:"bytes,4,rep,name=tags,proto3" json:"tags,omitempty"` + // Deprecated: Marked as deprecated in proto/process/agent.proto. + Yaml []byte `protobuf:"bytes,3,opt,name=yaml,proto3" json:"yaml,omitempty"` // see CollectorManifest + Tags []string `protobuf:"bytes,4,rep,name=tags,proto3" json:"tags,omitempty"` } -func (m *Role) Reset() { *m = Role{} } -func (m *Role) String() string { return proto.CompactTextString(m) } -func (*Role) ProtoMessage() {} -func (*Role) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{128} -} -func (m *Role) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *Role) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Role.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *Role) Reset() { + *x = Role{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[128] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *Role) XXX_Merge(src proto.Message) { - xxx_messageInfo_Role.Merge(m, src) -} -func (m *Role) XXX_Size() int { - return m.Size() + +func (x *Role) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Role) XXX_DiscardUnknown() { - xxx_messageInfo_Role.DiscardUnknown(m) + +func (*Role) ProtoMessage() {} + +func (x *Role) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[128] + 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) } -var xxx_messageInfo_Role proto.InternalMessageInfo +// Deprecated: Use Role.ProtoReflect.Descriptor instead. +func (*Role) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{128} +} -func (m *Role) GetMetadata() *Metadata { - if m != nil { - return m.Metadata +func (x *Role) GetMetadata() *Metadata { + if x != nil { + return x.Metadata } return nil } -func (m *Role) GetRules() []*PolicyRule { - if m != nil { - return m.Rules +func (x *Role) GetRules() []*PolicyRule { + if x != nil { + return x.Rules } return nil } -// Deprecated: Do not use. -func (m *Role) GetYaml() []byte { - if m != nil { - return m.Yaml +// Deprecated: Marked as deprecated in proto/process/agent.proto. +func (x *Role) GetYaml() []byte { + if x != nil { + return x.Yaml } return nil } -func (m *Role) GetTags() []string { - if m != nil { - return m.Tags +func (x *Role) GetTags() []string { + if x != nil { + return x.Tags } return nil } // reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/rbac/v1/generated.proto#L132 type RoleBinding struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` Subjects []*Subject `protobuf:"bytes,2,rep,name=subjects,proto3" json:"subjects,omitempty"` RoleRef *TypedLocalObjectReference `protobuf:"bytes,3,opt,name=roleRef,proto3" json:"roleRef,omitempty"` - Yaml []byte `protobuf:"bytes,4,opt,name=yaml,proto3" json:"yaml,omitempty"` // Deprecated: Do not use. - Tags []string `protobuf:"bytes,5,rep,name=tags,proto3" json:"tags,omitempty"` + // Deprecated: Marked as deprecated in proto/process/agent.proto. + Yaml []byte `protobuf:"bytes,4,opt,name=yaml,proto3" json:"yaml,omitempty"` // see CollectorManifest + Tags []string `protobuf:"bytes,5,rep,name=tags,proto3" json:"tags,omitempty"` } -func (m *RoleBinding) Reset() { *m = RoleBinding{} } -func (m *RoleBinding) String() string { return proto.CompactTextString(m) } -func (*RoleBinding) ProtoMessage() {} -func (*RoleBinding) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{129} -} -func (m *RoleBinding) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *RoleBinding) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_RoleBinding.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *RoleBinding) Reset() { + *x = RoleBinding{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[129] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *RoleBinding) XXX_Merge(src proto.Message) { - xxx_messageInfo_RoleBinding.Merge(m, src) -} -func (m *RoleBinding) XXX_Size() int { - return m.Size() + +func (x *RoleBinding) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *RoleBinding) XXX_DiscardUnknown() { - xxx_messageInfo_RoleBinding.DiscardUnknown(m) + +func (*RoleBinding) ProtoMessage() {} + +func (x *RoleBinding) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[129] + 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) } -var xxx_messageInfo_RoleBinding proto.InternalMessageInfo +// Deprecated: Use RoleBinding.ProtoReflect.Descriptor instead. +func (*RoleBinding) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{129} +} -func (m *RoleBinding) GetMetadata() *Metadata { - if m != nil { - return m.Metadata +func (x *RoleBinding) GetMetadata() *Metadata { + if x != nil { + return x.Metadata } return nil } -func (m *RoleBinding) GetSubjects() []*Subject { - if m != nil { - return m.Subjects +func (x *RoleBinding) GetSubjects() []*Subject { + if x != nil { + return x.Subjects } return nil } -func (m *RoleBinding) GetRoleRef() *TypedLocalObjectReference { - if m != nil { - return m.RoleRef +func (x *RoleBinding) GetRoleRef() *TypedLocalObjectReference { + if x != nil { + return x.RoleRef } return nil } -// Deprecated: Do not use. -func (m *RoleBinding) GetYaml() []byte { - if m != nil { - return m.Yaml +// Deprecated: Marked as deprecated in proto/process/agent.proto. +func (x *RoleBinding) GetYaml() []byte { + if x != nil { + return x.Yaml } return nil } -func (m *RoleBinding) GetTags() []string { - if m != nil { - return m.Tags +func (x *RoleBinding) GetTags() []string { + if x != nil { + return x.Tags } return nil } // reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/rbac/v1/generated.proto#L40 type ClusterRole struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` Rules []*PolicyRule `protobuf:"bytes,2,rep,name=rules,proto3" json:"rules,omitempty"` AggregationRules []*LabelSelectorRequirement `protobuf:"bytes,3,rep,name=aggregationRules,proto3" json:"aggregationRules,omitempty"` - Yaml []byte `protobuf:"bytes,4,opt,name=yaml,proto3" json:"yaml,omitempty"` // Deprecated: Do not use. - Tags []string `protobuf:"bytes,5,rep,name=tags,proto3" json:"tags,omitempty"` - Metrics *ResourceMetrics `protobuf:"bytes,6,opt,name=metrics,proto3" json:"metrics,omitempty"` + // Deprecated: Marked as deprecated in proto/process/agent.proto. + Yaml []byte `protobuf:"bytes,4,opt,name=yaml,proto3" json:"yaml,omitempty"` // see CollectorManifest + Tags []string `protobuf:"bytes,5,rep,name=tags,proto3" json:"tags,omitempty"` + Metrics *ResourceMetrics `protobuf:"bytes,6,opt,name=metrics,proto3" json:"metrics,omitempty"` } -func (m *ClusterRole) Reset() { *m = ClusterRole{} } -func (m *ClusterRole) String() string { return proto.CompactTextString(m) } -func (*ClusterRole) ProtoMessage() {} -func (*ClusterRole) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{130} -} -func (m *ClusterRole) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ClusterRole) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ClusterRole.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ClusterRole) Reset() { + *x = ClusterRole{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[130] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ClusterRole) XXX_Merge(src proto.Message) { - xxx_messageInfo_ClusterRole.Merge(m, src) -} -func (m *ClusterRole) XXX_Size() int { - return m.Size() + +func (x *ClusterRole) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ClusterRole) XXX_DiscardUnknown() { - xxx_messageInfo_ClusterRole.DiscardUnknown(m) + +func (*ClusterRole) ProtoMessage() {} + +func (x *ClusterRole) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[130] + 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) } -var xxx_messageInfo_ClusterRole proto.InternalMessageInfo +// Deprecated: Use ClusterRole.ProtoReflect.Descriptor instead. +func (*ClusterRole) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{130} +} -func (m *ClusterRole) GetMetadata() *Metadata { - if m != nil { - return m.Metadata +func (x *ClusterRole) GetMetadata() *Metadata { + if x != nil { + return x.Metadata } return nil } -func (m *ClusterRole) GetRules() []*PolicyRule { - if m != nil { - return m.Rules +func (x *ClusterRole) GetRules() []*PolicyRule { + if x != nil { + return x.Rules } return nil } -func (m *ClusterRole) GetAggregationRules() []*LabelSelectorRequirement { - if m != nil { - return m.AggregationRules +func (x *ClusterRole) GetAggregationRules() []*LabelSelectorRequirement { + if x != nil { + return x.AggregationRules } return nil } -// Deprecated: Do not use. -func (m *ClusterRole) GetYaml() []byte { - if m != nil { - return m.Yaml +// Deprecated: Marked as deprecated in proto/process/agent.proto. +func (x *ClusterRole) GetYaml() []byte { + if x != nil { + return x.Yaml } return nil } -func (m *ClusterRole) GetTags() []string { - if m != nil { - return m.Tags +func (x *ClusterRole) GetTags() []string { + if x != nil { + return x.Tags } return nil } -func (m *ClusterRole) GetMetrics() *ResourceMetrics { - if m != nil { - return m.Metrics +func (x *ClusterRole) GetMetrics() *ResourceMetrics { + if x != nil { + return x.Metrics } return nil } // reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/rbac/v1/generated.proto#L58 type ClusterRoleBinding struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` Subjects []*Subject `protobuf:"bytes,2,rep,name=subjects,proto3" json:"subjects,omitempty"` RoleRef *TypedLocalObjectReference `protobuf:"bytes,3,opt,name=roleRef,proto3" json:"roleRef,omitempty"` - Yaml []byte `protobuf:"bytes,4,opt,name=yaml,proto3" json:"yaml,omitempty"` // Deprecated: Do not use. - Tags []string `protobuf:"bytes,5,rep,name=tags,proto3" json:"tags,omitempty"` + // Deprecated: Marked as deprecated in proto/process/agent.proto. + Yaml []byte `protobuf:"bytes,4,opt,name=yaml,proto3" json:"yaml,omitempty"` // see CollectorManifest + Tags []string `protobuf:"bytes,5,rep,name=tags,proto3" json:"tags,omitempty"` } -func (m *ClusterRoleBinding) Reset() { *m = ClusterRoleBinding{} } -func (m *ClusterRoleBinding) String() string { return proto.CompactTextString(m) } -func (*ClusterRoleBinding) ProtoMessage() {} -func (*ClusterRoleBinding) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{131} -} -func (m *ClusterRoleBinding) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ClusterRoleBinding) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ClusterRoleBinding.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ClusterRoleBinding) Reset() { + *x = ClusterRoleBinding{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[131] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ClusterRoleBinding) XXX_Merge(src proto.Message) { - xxx_messageInfo_ClusterRoleBinding.Merge(m, src) -} -func (m *ClusterRoleBinding) XXX_Size() int { - return m.Size() + +func (x *ClusterRoleBinding) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ClusterRoleBinding) XXX_DiscardUnknown() { - xxx_messageInfo_ClusterRoleBinding.DiscardUnknown(m) + +func (*ClusterRoleBinding) ProtoMessage() {} + +func (x *ClusterRoleBinding) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[131] + 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) } -var xxx_messageInfo_ClusterRoleBinding proto.InternalMessageInfo +// Deprecated: Use ClusterRoleBinding.ProtoReflect.Descriptor instead. +func (*ClusterRoleBinding) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{131} +} -func (m *ClusterRoleBinding) GetMetadata() *Metadata { - if m != nil { - return m.Metadata +func (x *ClusterRoleBinding) GetMetadata() *Metadata { + if x != nil { + return x.Metadata } return nil } -func (m *ClusterRoleBinding) GetSubjects() []*Subject { - if m != nil { - return m.Subjects +func (x *ClusterRoleBinding) GetSubjects() []*Subject { + if x != nil { + return x.Subjects } return nil } -func (m *ClusterRoleBinding) GetRoleRef() *TypedLocalObjectReference { - if m != nil { - return m.RoleRef +func (x *ClusterRoleBinding) GetRoleRef() *TypedLocalObjectReference { + if x != nil { + return x.RoleRef } return nil } -// Deprecated: Do not use. -func (m *ClusterRoleBinding) GetYaml() []byte { - if m != nil { - return m.Yaml +// Deprecated: Marked as deprecated in proto/process/agent.proto. +func (x *ClusterRoleBinding) GetYaml() []byte { + if x != nil { + return x.Yaml } return nil } -func (m *ClusterRoleBinding) GetTags() []string { - if m != nil { - return m.Tags +func (x *ClusterRoleBinding) GetTags() []string { + if x != nil { + return x.Tags } return nil } // reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/core/v1/generated.proto#L4495 type ServiceAccount struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` Secrets []*ObjectReference `protobuf:"bytes,2,rep,name=secrets,proto3" json:"secrets,omitempty"` ImagePullSecrets []*TypedLocalObjectReference `protobuf:"bytes,3,rep,name=imagePullSecrets,proto3" json:"imagePullSecrets,omitempty"` AutomountServiceAccountToken bool `protobuf:"varint,4,opt,name=automountServiceAccountToken,proto3" json:"automountServiceAccountToken,omitempty"` - Yaml []byte `protobuf:"bytes,5,opt,name=yaml,proto3" json:"yaml,omitempty"` // Deprecated: Do not use. - Tags []string `protobuf:"bytes,6,rep,name=tags,proto3" json:"tags,omitempty"` + // Deprecated: Marked as deprecated in proto/process/agent.proto. + Yaml []byte `protobuf:"bytes,5,opt,name=yaml,proto3" json:"yaml,omitempty"` // see CollectorManifest + Tags []string `protobuf:"bytes,6,rep,name=tags,proto3" json:"tags,omitempty"` } -func (m *ServiceAccount) Reset() { *m = ServiceAccount{} } -func (m *ServiceAccount) String() string { return proto.CompactTextString(m) } -func (*ServiceAccount) ProtoMessage() {} -func (*ServiceAccount) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{132} -} -func (m *ServiceAccount) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ServiceAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ServiceAccount.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ServiceAccount) Reset() { + *x = ServiceAccount{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[132] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ServiceAccount) XXX_Merge(src proto.Message) { - xxx_messageInfo_ServiceAccount.Merge(m, src) -} -func (m *ServiceAccount) XXX_Size() int { - return m.Size() + +func (x *ServiceAccount) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ServiceAccount) XXX_DiscardUnknown() { - xxx_messageInfo_ServiceAccount.DiscardUnknown(m) + +func (*ServiceAccount) ProtoMessage() {} + +func (x *ServiceAccount) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[132] + 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) } -var xxx_messageInfo_ServiceAccount proto.InternalMessageInfo +// Deprecated: Use ServiceAccount.ProtoReflect.Descriptor instead. +func (*ServiceAccount) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{132} +} -func (m *ServiceAccount) GetMetadata() *Metadata { - if m != nil { - return m.Metadata +func (x *ServiceAccount) GetMetadata() *Metadata { + if x != nil { + return x.Metadata } return nil } -func (m *ServiceAccount) GetSecrets() []*ObjectReference { - if m != nil { - return m.Secrets +func (x *ServiceAccount) GetSecrets() []*ObjectReference { + if x != nil { + return x.Secrets } return nil } -func (m *ServiceAccount) GetImagePullSecrets() []*TypedLocalObjectReference { - if m != nil { - return m.ImagePullSecrets +func (x *ServiceAccount) GetImagePullSecrets() []*TypedLocalObjectReference { + if x != nil { + return x.ImagePullSecrets } return nil } -func (m *ServiceAccount) GetAutomountServiceAccountToken() bool { - if m != nil { - return m.AutomountServiceAccountToken +func (x *ServiceAccount) GetAutomountServiceAccountToken() bool { + if x != nil { + return x.AutomountServiceAccountToken } return false } -// Deprecated: Do not use. -func (m *ServiceAccount) GetYaml() []byte { - if m != nil { - return m.Yaml +// Deprecated: Marked as deprecated in proto/process/agent.proto. +func (x *ServiceAccount) GetYaml() []byte { + if x != nil { + return x.Yaml } return nil } -func (m *ServiceAccount) GetTags() []string { - if m != nil { - return m.Tags +func (x *ServiceAccount) GetTags() []string { + if x != nil { + return x.Tags } return nil } @@ -12607,228 +13195,240 @@ func (m *ServiceAccount) GetTags() []string { // reference https://github.com/kubernetes/api/blob/v0.21.5/networking/v1/generated.proto#L259 // Note: ServiceBackendPort (contains port name and number) is flattened. type IngressServiceBackend struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + ServiceName string `protobuf:"bytes,1,opt,name=serviceName,proto3" json:"serviceName,omitempty"` PortName string `protobuf:"bytes,2,opt,name=portName,proto3" json:"portName,omitempty"` PortNumber int32 `protobuf:"varint,3,opt,name=portNumber,proto3" json:"portNumber,omitempty"` } -func (m *IngressServiceBackend) Reset() { *m = IngressServiceBackend{} } -func (m *IngressServiceBackend) String() string { return proto.CompactTextString(m) } -func (*IngressServiceBackend) ProtoMessage() {} -func (*IngressServiceBackend) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{133} -} -func (m *IngressServiceBackend) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *IngressServiceBackend) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_IngressServiceBackend.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *IngressServiceBackend) Reset() { + *x = IngressServiceBackend{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[133] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *IngressServiceBackend) XXX_Merge(src proto.Message) { - xxx_messageInfo_IngressServiceBackend.Merge(m, src) -} -func (m *IngressServiceBackend) XXX_Size() int { - return m.Size() + +func (x *IngressServiceBackend) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *IngressServiceBackend) XXX_DiscardUnknown() { - xxx_messageInfo_IngressServiceBackend.DiscardUnknown(m) + +func (*IngressServiceBackend) ProtoMessage() {} + +func (x *IngressServiceBackend) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[133] + 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) } -var xxx_messageInfo_IngressServiceBackend proto.InternalMessageInfo +// Deprecated: Use IngressServiceBackend.ProtoReflect.Descriptor instead. +func (*IngressServiceBackend) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{133} +} -func (m *IngressServiceBackend) GetServiceName() string { - if m != nil { - return m.ServiceName +func (x *IngressServiceBackend) GetServiceName() string { + if x != nil { + return x.ServiceName } return "" } -func (m *IngressServiceBackend) GetPortName() string { - if m != nil { - return m.PortName +func (x *IngressServiceBackend) GetPortName() string { + if x != nil { + return x.PortName } return "" } -func (m *IngressServiceBackend) GetPortNumber() int32 { - if m != nil { - return m.PortNumber +func (x *IngressServiceBackend) GetPortNumber() int32 { + if x != nil { + return x.PortNumber } return 0 } // reference https://github.com/kubernetes/api/blob/v0.21.5/networking/v1/generated.proto#L112 type IngressBackend struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Service *IngressServiceBackend `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"` Resource *TypedLocalObjectReference `protobuf:"bytes,2,opt,name=resource,proto3" json:"resource,omitempty"` } -func (m *IngressBackend) Reset() { *m = IngressBackend{} } -func (m *IngressBackend) String() string { return proto.CompactTextString(m) } -func (*IngressBackend) ProtoMessage() {} -func (*IngressBackend) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{134} -} -func (m *IngressBackend) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *IngressBackend) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_IngressBackend.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *IngressBackend) Reset() { + *x = IngressBackend{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[134] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *IngressBackend) XXX_Merge(src proto.Message) { - xxx_messageInfo_IngressBackend.Merge(m, src) -} -func (m *IngressBackend) XXX_Size() int { - return m.Size() + +func (x *IngressBackend) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *IngressBackend) XXX_DiscardUnknown() { - xxx_messageInfo_IngressBackend.DiscardUnknown(m) + +func (*IngressBackend) ProtoMessage() {} + +func (x *IngressBackend) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[134] + 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) } -var xxx_messageInfo_IngressBackend proto.InternalMessageInfo +// Deprecated: Use IngressBackend.ProtoReflect.Descriptor instead. +func (*IngressBackend) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{134} +} -func (m *IngressBackend) GetService() *IngressServiceBackend { - if m != nil { - return m.Service +func (x *IngressBackend) GetService() *IngressServiceBackend { + if x != nil { + return x.Service } return nil } -func (m *IngressBackend) GetResource() *TypedLocalObjectReference { - if m != nil { - return m.Resource +func (x *IngressBackend) GetResource() *TypedLocalObjectReference { + if x != nil { + return x.Resource } return nil } // reference https://github.com/kubernetes/api/blob/v0.21.5/networking/v1/generated.proto#L315 type IngressTLS struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Hosts []string `protobuf:"bytes,1,rep,name=hosts,proto3" json:"hosts,omitempty"` SecretName string `protobuf:"bytes,2,opt,name=secretName,proto3" json:"secretName,omitempty"` } -func (m *IngressTLS) Reset() { *m = IngressTLS{} } -func (m *IngressTLS) String() string { return proto.CompactTextString(m) } -func (*IngressTLS) ProtoMessage() {} -func (*IngressTLS) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{135} -} -func (m *IngressTLS) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *IngressTLS) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_IngressTLS.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *IngressTLS) Reset() { + *x = IngressTLS{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[135] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *IngressTLS) XXX_Merge(src proto.Message) { - xxx_messageInfo_IngressTLS.Merge(m, src) -} -func (m *IngressTLS) XXX_Size() int { - return m.Size() + +func (x *IngressTLS) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *IngressTLS) XXX_DiscardUnknown() { - xxx_messageInfo_IngressTLS.DiscardUnknown(m) + +func (*IngressTLS) ProtoMessage() {} + +func (x *IngressTLS) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[135] + 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) } -var xxx_messageInfo_IngressTLS proto.InternalMessageInfo +// Deprecated: Use IngressTLS.ProtoReflect.Descriptor instead. +func (*IngressTLS) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{135} +} -func (m *IngressTLS) GetHosts() []string { - if m != nil { - return m.Hosts +func (x *IngressTLS) GetHosts() []string { + if x != nil { + return x.Hosts } return nil } -func (m *IngressTLS) GetSecretName() string { - if m != nil { - return m.SecretName +func (x *IngressTLS) GetSecretName() string { + if x != nil { + return x.SecretName } return "" } // reference https://github.com/kubernetes/api/blob/v0.21.5/networking/v1/generated.proto#L35 type HTTPIngressPath struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` PathType string `protobuf:"bytes,3,opt,name=pathType,proto3" json:"pathType,omitempty"` Backend *IngressBackend `protobuf:"bytes,2,opt,name=backend,proto3" json:"backend,omitempty"` } -func (m *HTTPIngressPath) Reset() { *m = HTTPIngressPath{} } -func (m *HTTPIngressPath) String() string { return proto.CompactTextString(m) } -func (*HTTPIngressPath) ProtoMessage() {} -func (*HTTPIngressPath) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{136} -} -func (m *HTTPIngressPath) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *HTTPIngressPath) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_HTTPIngressPath.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *HTTPIngressPath) Reset() { + *x = HTTPIngressPath{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[136] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *HTTPIngressPath) XXX_Merge(src proto.Message) { - xxx_messageInfo_HTTPIngressPath.Merge(m, src) -} -func (m *HTTPIngressPath) XXX_Size() int { - return m.Size() + +func (x *HTTPIngressPath) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *HTTPIngressPath) XXX_DiscardUnknown() { - xxx_messageInfo_HTTPIngressPath.DiscardUnknown(m) + +func (*HTTPIngressPath) ProtoMessage() {} + +func (x *HTTPIngressPath) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[136] + 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) } -var xxx_messageInfo_HTTPIngressPath proto.InternalMessageInfo +// Deprecated: Use HTTPIngressPath.ProtoReflect.Descriptor instead. +func (*HTTPIngressPath) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{136} +} -func (m *HTTPIngressPath) GetPath() string { - if m != nil { - return m.Path +func (x *HTTPIngressPath) GetPath() string { + if x != nil { + return x.Path } return "" } -func (m *HTTPIngressPath) GetPathType() string { - if m != nil { - return m.PathType +func (x *HTTPIngressPath) GetPathType() string { + if x != nil { + return x.PathType } return "" } -func (m *HTTPIngressPath) GetBackend() *IngressBackend { - if m != nil { - return m.Backend +func (x *HTTPIngressPath) GetBackend() *IngressBackend { + if x != nil { + return x.Backend } return nil } @@ -12836,244 +13436,256 @@ func (m *HTTPIngressPath) GetBackend() *IngressBackend { // reference https://github.com/kubernetes/api/blob/v0.21.5/networking/v1/generated.proto#L214 // Note: IngressRuleValue and HTTPIngressRuleValue are flattened type IngressRule struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"` HttpPaths []*HTTPIngressPath `protobuf:"bytes,2,rep,name=httpPaths,proto3" json:"httpPaths,omitempty"` } -func (m *IngressRule) Reset() { *m = IngressRule{} } -func (m *IngressRule) String() string { return proto.CompactTextString(m) } -func (*IngressRule) ProtoMessage() {} -func (*IngressRule) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{137} -} -func (m *IngressRule) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *IngressRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_IngressRule.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *IngressRule) Reset() { + *x = IngressRule{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[137] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *IngressRule) XXX_Merge(src proto.Message) { - xxx_messageInfo_IngressRule.Merge(m, src) -} -func (m *IngressRule) XXX_Size() int { - return m.Size() + +func (x *IngressRule) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *IngressRule) XXX_DiscardUnknown() { - xxx_messageInfo_IngressRule.DiscardUnknown(m) + +func (*IngressRule) ProtoMessage() {} + +func (x *IngressRule) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[137] + 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) } -var xxx_messageInfo_IngressRule proto.InternalMessageInfo +// Deprecated: Use IngressRule.ProtoReflect.Descriptor instead. +func (*IngressRule) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{137} +} -func (m *IngressRule) GetHost() string { - if m != nil { - return m.Host +func (x *IngressRule) GetHost() string { + if x != nil { + return x.Host } return "" } -func (m *IngressRule) GetHttpPaths() []*HTTPIngressPath { - if m != nil { - return m.HttpPaths +func (x *IngressRule) GetHttpPaths() []*HTTPIngressPath { + if x != nil { + return x.HttpPaths } return nil } // reference https://github.com/kubernetes/api/blob/v0.21.5/networking/v1/generated.proto#L270 type IngressSpec struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + DefaultBackend *IngressBackend `protobuf:"bytes,1,opt,name=defaultBackend,proto3" json:"defaultBackend,omitempty"` Tls []*IngressTLS `protobuf:"bytes,2,rep,name=tls,proto3" json:"tls,omitempty"` Rules []*IngressRule `protobuf:"bytes,3,rep,name=rules,proto3" json:"rules,omitempty"` IngressClassName string `protobuf:"bytes,4,opt,name=ingressClassName,proto3" json:"ingressClassName,omitempty"` } -func (m *IngressSpec) Reset() { *m = IngressSpec{} } -func (m *IngressSpec) String() string { return proto.CompactTextString(m) } -func (*IngressSpec) ProtoMessage() {} -func (*IngressSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{138} -} -func (m *IngressSpec) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *IngressSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_IngressSpec.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *IngressSpec) Reset() { + *x = IngressSpec{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[138] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *IngressSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_IngressSpec.Merge(m, src) -} -func (m *IngressSpec) XXX_Size() int { - return m.Size() + +func (x *IngressSpec) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *IngressSpec) XXX_DiscardUnknown() { - xxx_messageInfo_IngressSpec.DiscardUnknown(m) + +func (*IngressSpec) ProtoMessage() {} + +func (x *IngressSpec) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[138] + 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) } -var xxx_messageInfo_IngressSpec proto.InternalMessageInfo +// Deprecated: Use IngressSpec.ProtoReflect.Descriptor instead. +func (*IngressSpec) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{138} +} -func (m *IngressSpec) GetDefaultBackend() *IngressBackend { - if m != nil { - return m.DefaultBackend +func (x *IngressSpec) GetDefaultBackend() *IngressBackend { + if x != nil { + return x.DefaultBackend } return nil } -func (m *IngressSpec) GetTls() []*IngressTLS { - if m != nil { - return m.Tls +func (x *IngressSpec) GetTls() []*IngressTLS { + if x != nil { + return x.Tls } return nil } -func (m *IngressSpec) GetRules() []*IngressRule { - if m != nil { - return m.Rules +func (x *IngressSpec) GetRules() []*IngressRule { + if x != nil { + return x.Rules } return nil } -func (m *IngressSpec) GetIngressClassName() string { - if m != nil { - return m.IngressClassName +func (x *IngressSpec) GetIngressClassName() string { + if x != nil { + return x.IngressClassName } return "" } // reference https://github.com/kubernetes/api/blob/v0.21.5/core/v1/generated.proto#L3781 type PortStatus struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Port int32 `protobuf:"varint,1,opt,name=port,proto3" json:"port,omitempty"` Protocol string `protobuf:"bytes,2,opt,name=protocol,proto3" json:"protocol,omitempty"` Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"` } -func (m *PortStatus) Reset() { *m = PortStatus{} } -func (m *PortStatus) String() string { return proto.CompactTextString(m) } -func (*PortStatus) ProtoMessage() {} -func (*PortStatus) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{139} -} -func (m *PortStatus) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *PortStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_PortStatus.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *PortStatus) Reset() { + *x = PortStatus{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[139] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *PortStatus) XXX_Merge(src proto.Message) { - xxx_messageInfo_PortStatus.Merge(m, src) -} -func (m *PortStatus) XXX_Size() int { - return m.Size() + +func (x *PortStatus) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *PortStatus) XXX_DiscardUnknown() { - xxx_messageInfo_PortStatus.DiscardUnknown(m) + +func (*PortStatus) ProtoMessage() {} + +func (x *PortStatus) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[139] + 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) } -var xxx_messageInfo_PortStatus proto.InternalMessageInfo +// Deprecated: Use PortStatus.ProtoReflect.Descriptor instead. +func (*PortStatus) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{139} +} -func (m *PortStatus) GetPort() int32 { - if m != nil { - return m.Port +func (x *PortStatus) GetPort() int32 { + if x != nil { + return x.Port } return 0 } -func (m *PortStatus) GetProtocol() string { - if m != nil { - return m.Protocol +func (x *PortStatus) GetProtocol() string { + if x != nil { + return x.Protocol } return "" } -func (m *PortStatus) GetError() string { - if m != nil { - return m.Error +func (x *PortStatus) GetError() string { + if x != nil { + return x.Error } return "" } // reference https://github.com/kubernetes/api/blob/v0.21.5/core/v1/generated.proto#L2024 type LoadBalancerIngress struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Ip string `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"` Hostname string `protobuf:"bytes,2,opt,name=hostname,proto3" json:"hostname,omitempty"` Ports []*PortStatus `protobuf:"bytes,4,rep,name=ports,proto3" json:"ports,omitempty"` } -func (m *LoadBalancerIngress) Reset() { *m = LoadBalancerIngress{} } -func (m *LoadBalancerIngress) String() string { return proto.CompactTextString(m) } -func (*LoadBalancerIngress) ProtoMessage() {} -func (*LoadBalancerIngress) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{140} -} -func (m *LoadBalancerIngress) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *LoadBalancerIngress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_LoadBalancerIngress.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *LoadBalancerIngress) Reset() { + *x = LoadBalancerIngress{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[140] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *LoadBalancerIngress) XXX_Merge(src proto.Message) { - xxx_messageInfo_LoadBalancerIngress.Merge(m, src) -} -func (m *LoadBalancerIngress) XXX_Size() int { - return m.Size() + +func (x *LoadBalancerIngress) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *LoadBalancerIngress) XXX_DiscardUnknown() { - xxx_messageInfo_LoadBalancerIngress.DiscardUnknown(m) + +func (*LoadBalancerIngress) ProtoMessage() {} + +func (x *LoadBalancerIngress) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[140] + 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) } -var xxx_messageInfo_LoadBalancerIngress proto.InternalMessageInfo +// Deprecated: Use LoadBalancerIngress.ProtoReflect.Descriptor instead. +func (*LoadBalancerIngress) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{140} +} -func (m *LoadBalancerIngress) GetIp() string { - if m != nil { - return m.Ip +func (x *LoadBalancerIngress) GetIp() string { + if x != nil { + return x.Ip } return "" } -func (m *LoadBalancerIngress) GetHostname() string { - if m != nil { - return m.Hostname +func (x *LoadBalancerIngress) GetHostname() string { + if x != nil { + return x.Hostname } return "" } -func (m *LoadBalancerIngress) GetPorts() []*PortStatus { - if m != nil { - return m.Ports +func (x *LoadBalancerIngress) GetPorts() []*PortStatus { + if x != nil { + return x.Ports } return nil } @@ -13081,128 +13693,139 @@ func (m *LoadBalancerIngress) GetPorts() []*PortStatus { // reference https://github.com/kubernetes/api/blob/v0.21.5/networking/v1/generated.proto#L308 // LoadBalancerStatus is flattened type IngressStatus struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Ingress []*LoadBalancerIngress `protobuf:"bytes,1,rep,name=ingress,proto3" json:"ingress,omitempty"` } -func (m *IngressStatus) Reset() { *m = IngressStatus{} } -func (m *IngressStatus) String() string { return proto.CompactTextString(m) } -func (*IngressStatus) ProtoMessage() {} -func (*IngressStatus) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{141} -} -func (m *IngressStatus) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *IngressStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_IngressStatus.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *IngressStatus) Reset() { + *x = IngressStatus{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[141] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *IngressStatus) XXX_Merge(src proto.Message) { - xxx_messageInfo_IngressStatus.Merge(m, src) -} -func (m *IngressStatus) XXX_Size() int { - return m.Size() + +func (x *IngressStatus) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *IngressStatus) XXX_DiscardUnknown() { - xxx_messageInfo_IngressStatus.DiscardUnknown(m) + +func (*IngressStatus) ProtoMessage() {} + +func (x *IngressStatus) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[141] + 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) } -var xxx_messageInfo_IngressStatus proto.InternalMessageInfo +// Deprecated: Use IngressStatus.ProtoReflect.Descriptor instead. +func (*IngressStatus) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{141} +} -func (m *IngressStatus) GetIngress() []*LoadBalancerIngress { - if m != nil { - return m.Ingress +func (x *IngressStatus) GetIngress() []*LoadBalancerIngress { + if x != nil { + return x.Ingress } return nil } // reference https://github.com/kubernetes/api/blob/v0.21.5/networking/v1/generated.proto#L94 type Ingress struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` Spec *IngressSpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"` Status *IngressStatus `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"` - Yaml []byte `protobuf:"bytes,4,opt,name=yaml,proto3" json:"yaml,omitempty"` // Deprecated: Do not use. - Tags []string `protobuf:"bytes,5,rep,name=tags,proto3" json:"tags,omitempty"` + // Deprecated: Marked as deprecated in proto/process/agent.proto. + Yaml []byte `protobuf:"bytes,4,opt,name=yaml,proto3" json:"yaml,omitempty"` // see CollectorManifest + Tags []string `protobuf:"bytes,5,rep,name=tags,proto3" json:"tags,omitempty"` } -func (m *Ingress) Reset() { *m = Ingress{} } -func (m *Ingress) String() string { return proto.CompactTextString(m) } -func (*Ingress) ProtoMessage() {} -func (*Ingress) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{142} -} -func (m *Ingress) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *Ingress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Ingress.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *Ingress) Reset() { + *x = Ingress{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[142] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *Ingress) XXX_Merge(src proto.Message) { - xxx_messageInfo_Ingress.Merge(m, src) -} -func (m *Ingress) XXX_Size() int { - return m.Size() + +func (x *Ingress) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Ingress) XXX_DiscardUnknown() { - xxx_messageInfo_Ingress.DiscardUnknown(m) + +func (*Ingress) ProtoMessage() {} + +func (x *Ingress) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[142] + 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) } -var xxx_messageInfo_Ingress proto.InternalMessageInfo +// Deprecated: Use Ingress.ProtoReflect.Descriptor instead. +func (*Ingress) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{142} +} -func (m *Ingress) GetMetadata() *Metadata { - if m != nil { - return m.Metadata +func (x *Ingress) GetMetadata() *Metadata { + if x != nil { + return x.Metadata } return nil } -func (m *Ingress) GetSpec() *IngressSpec { - if m != nil { - return m.Spec +func (x *Ingress) GetSpec() *IngressSpec { + if x != nil { + return x.Spec } return nil } -func (m *Ingress) GetStatus() *IngressStatus { - if m != nil { - return m.Status +func (x *Ingress) GetStatus() *IngressStatus { + if x != nil { + return x.Status } return nil } -// Deprecated: Do not use. -func (m *Ingress) GetYaml() []byte { - if m != nil { - return m.Yaml +// Deprecated: Marked as deprecated in proto/process/agent.proto. +func (x *Ingress) GetYaml() []byte { + if x != nil { + return x.Yaml } return nil } -func (m *Ingress) GetTags() []string { - if m != nil { - return m.Tags +func (x *Ingress) GetTags() []string { + if x != nil { + return x.Tags } return nil } type KafkaStats struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Count uint32 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` // a protobuf encoded sketch of all the requests in a KafkaStats, in nanoseconds. // this will be nil if count == 1 @@ -13221,230 +13844,244 @@ type KafkaStats struct { FirstLatencySample float64 `protobuf:"fixed64,3,opt,name=firstLatencySample,proto3" json:"firstLatencySample,omitempty"` } -func (m *KafkaStats) Reset() { *m = KafkaStats{} } -func (m *KafkaStats) String() string { return proto.CompactTextString(m) } -func (*KafkaStats) ProtoMessage() {} -func (*KafkaStats) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{143} -} -func (m *KafkaStats) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *KafkaStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_KafkaStats.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *KafkaStats) Reset() { + *x = KafkaStats{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[143] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *KafkaStats) XXX_Merge(src proto.Message) { - xxx_messageInfo_KafkaStats.Merge(m, src) -} -func (m *KafkaStats) XXX_Size() int { - return m.Size() + +func (x *KafkaStats) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *KafkaStats) XXX_DiscardUnknown() { - xxx_messageInfo_KafkaStats.DiscardUnknown(m) + +func (*KafkaStats) ProtoMessage() {} + +func (x *KafkaStats) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[143] + 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) } -var xxx_messageInfo_KafkaStats proto.InternalMessageInfo +// Deprecated: Use KafkaStats.ProtoReflect.Descriptor instead. +func (*KafkaStats) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{143} +} -func (m *KafkaStats) GetCount() uint32 { - if m != nil { - return m.Count +func (x *KafkaStats) GetCount() uint32 { + if x != nil { + return x.Count } return 0 } -func (m *KafkaStats) GetLatencies() []byte { - if m != nil { - return m.Latencies +func (x *KafkaStats) GetLatencies() []byte { + if x != nil { + return x.Latencies } return nil } -func (m *KafkaStats) GetFirstLatencySample() float64 { - if m != nil { - return m.FirstLatencySample +func (x *KafkaStats) GetFirstLatencySample() float64 { + if x != nil { + return x.FirstLatencySample } return 0 } type KafkaRequestHeader struct { - RequestType uint32 `protobuf:"varint,1,opt,name=request_type,json=requestType,proto3" json:"request_type,omitempty"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RequestType uint32 `protobuf:"varint,1,opt,name=request_type,json=requestType,proto3" json:"request_type,omitempty"` // this is Kafka api key value from the protocol RequestVersion uint32 `protobuf:"varint,2,opt,name=request_version,json=requestVersion,proto3" json:"request_version,omitempty"` } -func (m *KafkaRequestHeader) Reset() { *m = KafkaRequestHeader{} } -func (m *KafkaRequestHeader) String() string { return proto.CompactTextString(m) } -func (*KafkaRequestHeader) ProtoMessage() {} -func (*KafkaRequestHeader) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{144} -} -func (m *KafkaRequestHeader) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *KafkaRequestHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_KafkaRequestHeader.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *KafkaRequestHeader) Reset() { + *x = KafkaRequestHeader{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[144] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *KafkaRequestHeader) XXX_Merge(src proto.Message) { - xxx_messageInfo_KafkaRequestHeader.Merge(m, src) -} -func (m *KafkaRequestHeader) XXX_Size() int { - return m.Size() + +func (x *KafkaRequestHeader) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *KafkaRequestHeader) XXX_DiscardUnknown() { - xxx_messageInfo_KafkaRequestHeader.DiscardUnknown(m) + +func (*KafkaRequestHeader) ProtoMessage() {} + +func (x *KafkaRequestHeader) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[144] + 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) } -var xxx_messageInfo_KafkaRequestHeader proto.InternalMessageInfo +// Deprecated: Use KafkaRequestHeader.ProtoReflect.Descriptor instead. +func (*KafkaRequestHeader) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{144} +} -func (m *KafkaRequestHeader) GetRequestType() uint32 { - if m != nil { - return m.RequestType +func (x *KafkaRequestHeader) GetRequestType() uint32 { + if x != nil { + return x.RequestType } return 0 } -func (m *KafkaRequestHeader) GetRequestVersion() uint32 { - if m != nil { - return m.RequestVersion +func (x *KafkaRequestHeader) GetRequestVersion() uint32 { + if x != nil { + return x.RequestVersion } return 0 } type KafkaAggregation struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Header *KafkaRequestHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` Topic string `protobuf:"bytes,2,opt,name=topic,proto3" json:"topic,omitempty"` // The range of Kafka error codes spans from -1 to 119. StatsByErrorCode map[int32]*KafkaStats `protobuf:"bytes,4,rep,name=statsByErrorCode,proto3" json:"statsByErrorCode,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // This approach for tracking Kafka hits is outdated, predating the inclusion of error codes. // It remains here to accommodate older agent versions. - Count uint32 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"` // Deprecated: Do not use. + // + // Deprecated: Marked as deprecated in proto/process/agent.proto. + Count uint32 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"` } -func (m *KafkaAggregation) Reset() { *m = KafkaAggregation{} } -func (m *KafkaAggregation) String() string { return proto.CompactTextString(m) } -func (*KafkaAggregation) ProtoMessage() {} -func (*KafkaAggregation) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{145} -} -func (m *KafkaAggregation) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *KafkaAggregation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_KafkaAggregation.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *KafkaAggregation) Reset() { + *x = KafkaAggregation{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[145] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *KafkaAggregation) XXX_Merge(src proto.Message) { - xxx_messageInfo_KafkaAggregation.Merge(m, src) -} -func (m *KafkaAggregation) XXX_Size() int { - return m.Size() + +func (x *KafkaAggregation) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *KafkaAggregation) XXX_DiscardUnknown() { - xxx_messageInfo_KafkaAggregation.DiscardUnknown(m) + +func (*KafkaAggregation) ProtoMessage() {} + +func (x *KafkaAggregation) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[145] + 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) } -var xxx_messageInfo_KafkaAggregation proto.InternalMessageInfo +// Deprecated: Use KafkaAggregation.ProtoReflect.Descriptor instead. +func (*KafkaAggregation) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{145} +} -func (m *KafkaAggregation) GetHeader() *KafkaRequestHeader { - if m != nil { - return m.Header +func (x *KafkaAggregation) GetHeader() *KafkaRequestHeader { + if x != nil { + return x.Header } return nil } -func (m *KafkaAggregation) GetTopic() string { - if m != nil { - return m.Topic +func (x *KafkaAggregation) GetTopic() string { + if x != nil { + return x.Topic } return "" } -func (m *KafkaAggregation) GetStatsByErrorCode() map[int32]*KafkaStats { - if m != nil { - return m.StatsByErrorCode +func (x *KafkaAggregation) GetStatsByErrorCode() map[int32]*KafkaStats { + if x != nil { + return x.StatsByErrorCode } return nil } -// Deprecated: Do not use. -func (m *KafkaAggregation) GetCount() uint32 { - if m != nil { - return m.Count +// Deprecated: Marked as deprecated in proto/process/agent.proto. +func (x *KafkaAggregation) GetCount() uint32 { + if x != nil { + return x.Count } return 0 } type DataStreamsAggregations struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + KafkaAggregations []*KafkaAggregation `protobuf:"bytes,3,rep,name=kafkaAggregations,proto3" json:"kafkaAggregations,omitempty"` } -func (m *DataStreamsAggregations) Reset() { *m = DataStreamsAggregations{} } -func (m *DataStreamsAggregations) String() string { return proto.CompactTextString(m) } -func (*DataStreamsAggregations) ProtoMessage() {} -func (*DataStreamsAggregations) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{146} -} -func (m *DataStreamsAggregations) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *DataStreamsAggregations) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_DataStreamsAggregations.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *DataStreamsAggregations) Reset() { + *x = DataStreamsAggregations{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[146] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *DataStreamsAggregations) XXX_Merge(src proto.Message) { - xxx_messageInfo_DataStreamsAggregations.Merge(m, src) -} -func (m *DataStreamsAggregations) XXX_Size() int { - return m.Size() + +func (x *DataStreamsAggregations) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DataStreamsAggregations) XXX_DiscardUnknown() { - xxx_messageInfo_DataStreamsAggregations.DiscardUnknown(m) + +func (*DataStreamsAggregations) ProtoMessage() {} + +func (x *DataStreamsAggregations) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[146] + 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) } -var xxx_messageInfo_DataStreamsAggregations proto.InternalMessageInfo +// Deprecated: Use DataStreamsAggregations.ProtoReflect.Descriptor instead. +func (*DataStreamsAggregations) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{146} +} -func (m *DataStreamsAggregations) GetKafkaAggregations() []*KafkaAggregation { - if m != nil { - return m.KafkaAggregations +func (x *DataStreamsAggregations) GetKafkaAggregations() []*KafkaAggregation { + if x != nil { + return x.KafkaAggregations } return nil } // Represents the statistics for a single Postgres operation. type PostgresStats struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The name of the table that this PostgresStats represents. TableName string `protobuf:"bytes,1,opt,name=tableName,proto3" json:"tableName,omitempty"` // The operation that this PostgresStats represents. @@ -13457,172 +14094,160 @@ type PostgresStats struct { Count uint32 `protobuf:"varint,5,opt,name=count,proto3" json:"count,omitempty"` } -func (m *PostgresStats) Reset() { *m = PostgresStats{} } -func (m *PostgresStats) String() string { return proto.CompactTextString(m) } -func (*PostgresStats) ProtoMessage() {} -func (*PostgresStats) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{147} -} -func (m *PostgresStats) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *PostgresStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_PostgresStats.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *PostgresStats) Reset() { + *x = PostgresStats{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[147] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *PostgresStats) XXX_Merge(src proto.Message) { - xxx_messageInfo_PostgresStats.Merge(m, src) -} -func (m *PostgresStats) XXX_Size() int { - return m.Size() + +func (x *PostgresStats) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *PostgresStats) XXX_DiscardUnknown() { - xxx_messageInfo_PostgresStats.DiscardUnknown(m) + +func (*PostgresStats) ProtoMessage() {} + +func (x *PostgresStats) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[147] + 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) } -var xxx_messageInfo_PostgresStats proto.InternalMessageInfo +// Deprecated: Use PostgresStats.ProtoReflect.Descriptor instead. +func (*PostgresStats) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{147} +} -func (m *PostgresStats) GetTableName() string { - if m != nil { - return m.TableName +func (x *PostgresStats) GetTableName() string { + if x != nil { + return x.TableName } return "" } -func (m *PostgresStats) GetOperation() PostgresOperation { - if m != nil { - return m.Operation +func (x *PostgresStats) GetOperation() PostgresOperation { + if x != nil { + return x.Operation } return PostgresOperation_PostgresUnknownOp } -func (m *PostgresStats) GetLatencies() []byte { - if m != nil { - return m.Latencies +func (x *PostgresStats) GetLatencies() []byte { + if x != nil { + return x.Latencies } return nil } -func (m *PostgresStats) GetFirstLatencySample() float64 { - if m != nil { - return m.FirstLatencySample +func (x *PostgresStats) GetFirstLatencySample() float64 { + if x != nil { + return x.FirstLatencySample } return 0 } -func (m *PostgresStats) GetCount() uint32 { - if m != nil { - return m.Count +func (x *PostgresStats) GetCount() uint32 { + if x != nil { + return x.Count } return 0 } // Represents the statistics for a single Redis transaction. type RedisStats struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *RedisStats) Reset() { *m = RedisStats{} } -func (m *RedisStats) String() string { return proto.CompactTextString(m) } -func (*RedisStats) ProtoMessage() {} -func (*RedisStats) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{148} -} -func (m *RedisStats) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *RedisStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_RedisStats.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *RedisStats) Reset() { + *x = RedisStats{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[148] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *RedisStats) XXX_Merge(src proto.Message) { - xxx_messageInfo_RedisStats.Merge(m, src) -} -func (m *RedisStats) XXX_Size() int { - return m.Size() + +func (x *RedisStats) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *RedisStats) XXX_DiscardUnknown() { - xxx_messageInfo_RedisStats.DiscardUnknown(m) + +func (*RedisStats) ProtoMessage() {} + +func (x *RedisStats) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[148] + 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) } -var xxx_messageInfo_RedisStats proto.InternalMessageInfo +// Deprecated: Use RedisStats.ProtoReflect.Descriptor instead. +func (*RedisStats) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{148} +} // Represents the statistics for a single Database operation. type DatabaseStats struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The idea is to have a single message that can represent the stats for any database. // Each database will have its own message that will be populated by the agent. // - // Types that are valid to be assigned to DbStats: + // Types that are assignable to DbStats: // // *DatabaseStats_Postgres // *DatabaseStats_Redis DbStats isDatabaseStats_DbStats `protobuf_oneof:"dbStats"` } -func (m *DatabaseStats) Reset() { *m = DatabaseStats{} } -func (m *DatabaseStats) String() string { return proto.CompactTextString(m) } -func (*DatabaseStats) ProtoMessage() {} -func (*DatabaseStats) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{149} -} -func (m *DatabaseStats) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *DatabaseStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_DatabaseStats.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *DatabaseStats) Reset() { + *x = DatabaseStats{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[149] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *DatabaseStats) XXX_Merge(src proto.Message) { - xxx_messageInfo_DatabaseStats.Merge(m, src) -} -func (m *DatabaseStats) XXX_Size() int { - return m.Size() -} -func (m *DatabaseStats) XXX_DiscardUnknown() { - xxx_messageInfo_DatabaseStats.DiscardUnknown(m) + +func (x *DatabaseStats) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_DatabaseStats proto.InternalMessageInfo +func (*DatabaseStats) ProtoMessage() {} -type isDatabaseStats_DbStats interface { - isDatabaseStats_DbStats() - MarshalTo([]byte) (int, error) - Size() int +func (x *DatabaseStats) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[149] + 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) } -type DatabaseStats_Postgres struct { - Postgres *PostgresStats `protobuf:"bytes,1,opt,name=postgres,proto3,oneof" json:"postgres,omitempty"` -} -type DatabaseStats_Redis struct { - Redis *RedisStats `protobuf:"bytes,2,opt,name=redis,proto3,oneof" json:"redis,omitempty"` +// Deprecated: Use DatabaseStats.ProtoReflect.Descriptor instead. +func (*DatabaseStats) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{149} } -func (*DatabaseStats_Postgres) isDatabaseStats_DbStats() {} -func (*DatabaseStats_Redis) isDatabaseStats_DbStats() {} - func (m *DatabaseStats) GetDbStats() isDatabaseStats_DbStats { if m != nil { return m.DbStats @@ -13630,114 +14255,128 @@ func (m *DatabaseStats) GetDbStats() isDatabaseStats_DbStats { return nil } -func (m *DatabaseStats) GetPostgres() *PostgresStats { - if x, ok := m.GetDbStats().(*DatabaseStats_Postgres); ok { +func (x *DatabaseStats) GetPostgres() *PostgresStats { + if x, ok := x.GetDbStats().(*DatabaseStats_Postgres); ok { return x.Postgres } return nil } -func (m *DatabaseStats) GetRedis() *RedisStats { - if x, ok := m.GetDbStats().(*DatabaseStats_Redis); ok { +func (x *DatabaseStats) GetRedis() *RedisStats { + if x, ok := x.GetDbStats().(*DatabaseStats_Redis); ok { return x.Redis } return nil } -// XXX_OneofWrappers is for the internal use of the proto package. -func (*DatabaseStats) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*DatabaseStats_Postgres)(nil), - (*DatabaseStats_Redis)(nil), - } +type isDatabaseStats_DbStats interface { + isDatabaseStats_DbStats() +} + +type DatabaseStats_Postgres struct { + Postgres *PostgresStats `protobuf:"bytes,1,opt,name=postgres,proto3,oneof"` +} + +type DatabaseStats_Redis struct { + Redis *RedisStats `protobuf:"bytes,2,opt,name=redis,proto3,oneof"` } +func (*DatabaseStats_Postgres) isDatabaseStats_DbStats() {} + +func (*DatabaseStats_Redis) isDatabaseStats_DbStats() {} + // Represents a list of database aggregations. Each entry in the list can be from a different database (postgres, // mysql, etc). The agent will only populate the fields for the database it is configured to monitor. type DatabaseAggregations struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Aggregations []*DatabaseStats `protobuf:"bytes,1,rep,name=aggregations,proto3" json:"aggregations,omitempty"` } -func (m *DatabaseAggregations) Reset() { *m = DatabaseAggregations{} } -func (m *DatabaseAggregations) String() string { return proto.CompactTextString(m) } -func (*DatabaseAggregations) ProtoMessage() {} -func (*DatabaseAggregations) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{150} -} -func (m *DatabaseAggregations) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *DatabaseAggregations) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_DatabaseAggregations.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *DatabaseAggregations) Reset() { + *x = DatabaseAggregations{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[150] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *DatabaseAggregations) XXX_Merge(src proto.Message) { - xxx_messageInfo_DatabaseAggregations.Merge(m, src) -} -func (m *DatabaseAggregations) XXX_Size() int { - return m.Size() + +func (x *DatabaseAggregations) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DatabaseAggregations) XXX_DiscardUnknown() { - xxx_messageInfo_DatabaseAggregations.DiscardUnknown(m) + +func (*DatabaseAggregations) ProtoMessage() {} + +func (x *DatabaseAggregations) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[150] + 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) } -var xxx_messageInfo_DatabaseAggregations proto.InternalMessageInfo +// Deprecated: Use DatabaseAggregations.ProtoReflect.Descriptor instead. +func (*DatabaseAggregations) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{150} +} -func (m *DatabaseAggregations) GetAggregations() []*DatabaseStats { - if m != nil { - return m.Aggregations +func (x *DatabaseAggregations) GetAggregations() []*DatabaseStats { + if x != nil { + return x.Aggregations } return nil } type HTTPAggregations struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + EndpointAggregations []*HTTPStats `protobuf:"bytes,2,rep,name=endpointAggregations,proto3" json:"endpointAggregations,omitempty"` } -func (m *HTTPAggregations) Reset() { *m = HTTPAggregations{} } -func (m *HTTPAggregations) String() string { return proto.CompactTextString(m) } -func (*HTTPAggregations) ProtoMessage() {} -func (*HTTPAggregations) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{151} -} -func (m *HTTPAggregations) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *HTTPAggregations) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_HTTPAggregations.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *HTTPAggregations) Reset() { + *x = HTTPAggregations{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[151] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *HTTPAggregations) XXX_Merge(src proto.Message) { - xxx_messageInfo_HTTPAggregations.Merge(m, src) -} -func (m *HTTPAggregations) XXX_Size() int { - return m.Size() + +func (x *HTTPAggregations) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *HTTPAggregations) XXX_DiscardUnknown() { - xxx_messageInfo_HTTPAggregations.DiscardUnknown(m) + +func (*HTTPAggregations) ProtoMessage() {} + +func (x *HTTPAggregations) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[151] + 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) } -var xxx_messageInfo_HTTPAggregations proto.InternalMessageInfo +// Deprecated: Use HTTPAggregations.ProtoReflect.Descriptor instead. +func (*HTTPAggregations) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{151} +} -func (m *HTTPAggregations) GetEndpointAggregations() []*HTTPStats { - if m != nil { - return m.EndpointAggregations +func (x *HTTPAggregations) GetEndpointAggregations() []*HTTPStats { + if x != nil { + return x.EndpointAggregations } return nil } @@ -13745,50 +14384,57 @@ func (m *HTTPAggregations) GetEndpointAggregations() []*HTTPStats { // The current state of HTTP2Aggregations is identical to that of HTTPAggregations. // However, there is a possibility that additional fields might be added to it in the future. type HTTP2Aggregations struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + EndpointAggregations []*HTTPStats `protobuf:"bytes,1,rep,name=endpointAggregations,proto3" json:"endpointAggregations,omitempty"` } -func (m *HTTP2Aggregations) Reset() { *m = HTTP2Aggregations{} } -func (m *HTTP2Aggregations) String() string { return proto.CompactTextString(m) } -func (*HTTP2Aggregations) ProtoMessage() {} -func (*HTTP2Aggregations) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{152} -} -func (m *HTTP2Aggregations) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *HTTP2Aggregations) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_HTTP2Aggregations.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *HTTP2Aggregations) Reset() { + *x = HTTP2Aggregations{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[152] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *HTTP2Aggregations) XXX_Merge(src proto.Message) { - xxx_messageInfo_HTTP2Aggregations.Merge(m, src) -} -func (m *HTTP2Aggregations) XXX_Size() int { - return m.Size() -} -func (m *HTTP2Aggregations) XXX_DiscardUnknown() { - xxx_messageInfo_HTTP2Aggregations.DiscardUnknown(m) + +func (x *HTTP2Aggregations) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_HTTP2Aggregations proto.InternalMessageInfo +func (*HTTP2Aggregations) ProtoMessage() {} -func (m *HTTP2Aggregations) GetEndpointAggregations() []*HTTPStats { - if m != nil { - return m.EndpointAggregations +func (x *HTTP2Aggregations) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[152] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return nil + return mi.MessageOf(x) +} + +// Deprecated: Use HTTP2Aggregations.ProtoReflect.Descriptor instead. +func (*HTTP2Aggregations) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{152} +} + +func (x *HTTP2Aggregations) GetEndpointAggregations() []*HTTPStats { + if x != nil { + return x.EndpointAggregations + } + return nil } type HTTPStats struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Path string `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"` Method HTTPMethod `protobuf:"varint,5,opt,name=method,proto3,enum=datadog.process_agent.HTTPMethod" json:"method,omitempty"` // The agent can only read a limited part of the http header because @@ -13804,189 +14450,118 @@ type HTTPStats struct { StatsByStatusCode map[int32]*HTTPStats_Data `protobuf:"bytes,2,rep,name=statsByStatusCode,proto3" json:"statsByStatusCode,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } -func (m *HTTPStats) Reset() { *m = HTTPStats{} } -func (m *HTTPStats) String() string { return proto.CompactTextString(m) } -func (*HTTPStats) ProtoMessage() {} -func (*HTTPStats) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{153} -} -func (m *HTTPStats) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *HTTPStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_HTTPStats.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *HTTPStats) Reset() { + *x = HTTPStats{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[153] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *HTTPStats) XXX_Merge(src proto.Message) { - xxx_messageInfo_HTTPStats.Merge(m, src) -} -func (m *HTTPStats) XXX_Size() int { - return m.Size() + +func (x *HTTPStats) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *HTTPStats) XXX_DiscardUnknown() { - xxx_messageInfo_HTTPStats.DiscardUnknown(m) + +func (*HTTPStats) ProtoMessage() {} + +func (x *HTTPStats) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[153] + 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) } -var xxx_messageInfo_HTTPStats proto.InternalMessageInfo +// Deprecated: Use HTTPStats.ProtoReflect.Descriptor instead. +func (*HTTPStats) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{153} +} -func (m *HTTPStats) GetPath() string { - if m != nil { - return m.Path +func (x *HTTPStats) GetPath() string { + if x != nil { + return x.Path } return "" } -func (m *HTTPStats) GetMethod() HTTPMethod { - if m != nil { - return m.Method +func (x *HTTPStats) GetMethod() HTTPMethod { + if x != nil { + return x.Method } return HTTPMethod_Unknown } -func (m *HTTPStats) GetFullPath() bool { - if m != nil { - return m.FullPath +func (x *HTTPStats) GetFullPath() bool { + if x != nil { + return x.FullPath } return false } -func (m *HTTPStats) GetStatsByResponseStatus() []*HTTPStats_Data { - if m != nil { - return m.StatsByResponseStatus +func (x *HTTPStats) GetStatsByResponseStatus() []*HTTPStats_Data { + if x != nil { + return x.StatsByResponseStatus } return nil } -func (m *HTTPStats) GetStatsByStatusCode() map[int32]*HTTPStats_Data { - if m != nil { - return m.StatsByStatusCode +func (x *HTTPStats) GetStatsByStatusCode() map[int32]*HTTPStats_Data { + if x != nil { + return x.StatsByStatusCode } return nil } -type HTTPStats_Data struct { - Count uint32 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` - // a protobuf encoded sketch of all the requests in this HTTPStats. In nanoseconds. - // this will be nil if count == 1 - // To decode: - // - // use a protobuf library to decode this into a github.com/DataDog/sketches-go/ddsketch/pb/sketchpb.DDSketch - // - // then call github.com/DataDog/sketches-go/ddsketch.FromProto - // To encode: - // - // create a github.com/DataDog/sketches-go/ddsketch.DDSketch - // call ToProto() and then run through a protobuf encoder - Latencies []byte `protobuf:"bytes,2,opt,name=latencies,proto3" json:"latencies,omitempty"` - // if the HTTPStats has a single sample, this field will be the latency (in nanoseconds) of the only sample. - // this is purely to avoid the overhead of having single entry sketches. - FirstLatencySample float64 `protobuf:"fixed64,4,opt,name=firstLatencySample,proto3" json:"firstLatencySample,omitempty"` -} - -func (m *HTTPStats_Data) Reset() { *m = HTTPStats_Data{} } -func (m *HTTPStats_Data) String() string { return proto.CompactTextString(m) } -func (*HTTPStats_Data) ProtoMessage() {} -func (*HTTPStats_Data) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{153, 1} -} -func (m *HTTPStats_Data) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *HTTPStats_Data) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_HTTPStats_Data.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *HTTPStats_Data) XXX_Merge(src proto.Message) { - xxx_messageInfo_HTTPStats_Data.Merge(m, src) -} -func (m *HTTPStats_Data) XXX_Size() int { - return m.Size() -} -func (m *HTTPStats_Data) XXX_DiscardUnknown() { - xxx_messageInfo_HTTPStats_Data.DiscardUnknown(m) -} - -var xxx_messageInfo_HTTPStats_Data proto.InternalMessageInfo +// replaces DNSEntry. Is a list of DNS names that a given IP resolved to. +// List of offsets into the EncodedDomainDatabase. +type DNSDatabaseEntry struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *HTTPStats_Data) GetCount() uint32 { - if m != nil { - return m.Count - } - return 0 + NameOffsets []int32 `protobuf:"varint,1,rep,name=nameOffsets,proto3" json:"nameOffsets,omitempty"` } -func (m *HTTPStats_Data) GetLatencies() []byte { - if m != nil { - return m.Latencies +func (x *DNSDatabaseEntry) Reset() { + *x = DNSDatabaseEntry{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[154] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return nil } -func (m *HTTPStats_Data) GetFirstLatencySample() float64 { - if m != nil { - return m.FirstLatencySample - } - return 0 +func (x *DNSDatabaseEntry) String() string { + return protoimpl.X.MessageStringOf(x) } -// replaces DNSEntry. Is a list of DNS names that a given IP resolved to. -// List of offsets into the EncodedDomainDatabase. -type DNSDatabaseEntry struct { - NameOffsets []int32 `protobuf:"varint,1,rep,name=nameOffsets,proto3" json:"nameOffsets,omitempty"` -} +func (*DNSDatabaseEntry) ProtoMessage() {} -func (m *DNSDatabaseEntry) Reset() { *m = DNSDatabaseEntry{} } -func (m *DNSDatabaseEntry) String() string { return proto.CompactTextString(m) } -func (*DNSDatabaseEntry) ProtoMessage() {} -func (*DNSDatabaseEntry) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{154} -} -func (m *DNSDatabaseEntry) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *DNSDatabaseEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_DNSDatabaseEntry.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err +func (x *DNSDatabaseEntry) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[154] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *DNSDatabaseEntry) XXX_Merge(src proto.Message) { - xxx_messageInfo_DNSDatabaseEntry.Merge(m, src) -} -func (m *DNSDatabaseEntry) XXX_Size() int { - return m.Size() -} -func (m *DNSDatabaseEntry) XXX_DiscardUnknown() { - xxx_messageInfo_DNSDatabaseEntry.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_DNSDatabaseEntry proto.InternalMessageInfo +// Deprecated: Use DNSDatabaseEntry.ProtoReflect.Descriptor instead. +func (*DNSDatabaseEntry) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{154} +} -func (m *DNSDatabaseEntry) GetNameOffsets() []int32 { - if m != nil { - return m.NameOffsets +func (x *DNSDatabaseEntry) GetNameOffsets() []int32 { + if x != nil { + return x.NameOffsets } return nil } @@ -13994,137 +14569,148 @@ func (m *DNSDatabaseEntry) GetNameOffsets() []int32 { // ResourceList is a set of (resource name, quantity) pairs // https://pkg.go.dev/k8s.io/api/core/v1#ResourceList type ResourceList struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + MetricValues map[string]float64 `protobuf:"bytes,1,rep,name=metricValues,proto3" json:"metricValues,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"fixed64,2,opt,name=value,proto3"` } -func (m *ResourceList) Reset() { *m = ResourceList{} } -func (m *ResourceList) String() string { return proto.CompactTextString(m) } -func (*ResourceList) ProtoMessage() {} -func (*ResourceList) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{155} -} -func (m *ResourceList) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ResourceList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ResourceList.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ResourceList) Reset() { + *x = ResourceList{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[155] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ResourceList) XXX_Merge(src proto.Message) { - xxx_messageInfo_ResourceList.Merge(m, src) -} -func (m *ResourceList) XXX_Size() int { - return m.Size() + +func (x *ResourceList) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ResourceList) XXX_DiscardUnknown() { - xxx_messageInfo_ResourceList.DiscardUnknown(m) + +func (*ResourceList) ProtoMessage() {} + +func (x *ResourceList) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[155] + 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) } -var xxx_messageInfo_ResourceList proto.InternalMessageInfo +// Deprecated: Use ResourceList.ProtoReflect.Descriptor instead. +func (*ResourceList) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{155} +} -func (m *ResourceList) GetMetricValues() map[string]float64 { - if m != nil { - return m.MetricValues +func (x *ResourceList) GetMetricValues() map[string]float64 { + if x != nil { + return x.MetricValues } return nil } // https://github.com/kubernetes/autoscaler/blob/master/vertical-pod-autoscaler/pkg/apis/autoscaling.k8s.io/v1/types.go type VerticalPodAutoscaler struct { - Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` - Spec *VerticalPodAutoscalerSpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"` - Status *VerticalPodAutoscalerStatus `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"` - Yaml []byte `protobuf:"bytes,4,opt,name=yaml,proto3" json:"yaml,omitempty"` // Deprecated: Do not use. + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` + Spec *VerticalPodAutoscalerSpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"` + Status *VerticalPodAutoscalerStatus `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"` + // Deprecated: Marked as deprecated in proto/process/agent.proto. + Yaml []byte `protobuf:"bytes,4,opt,name=yaml,proto3" json:"yaml,omitempty"` // see CollectorManifest Tags []string `protobuf:"bytes,5,rep,name=tags,proto3" json:"tags,omitempty"` Conditions []*VerticalPodAutoscalerCondition `protobuf:"bytes,6,rep,name=conditions,proto3" json:"conditions,omitempty"` } -func (m *VerticalPodAutoscaler) Reset() { *m = VerticalPodAutoscaler{} } -func (m *VerticalPodAutoscaler) String() string { return proto.CompactTextString(m) } -func (*VerticalPodAutoscaler) ProtoMessage() {} -func (*VerticalPodAutoscaler) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{156} -} -func (m *VerticalPodAutoscaler) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *VerticalPodAutoscaler) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_VerticalPodAutoscaler.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *VerticalPodAutoscaler) Reset() { + *x = VerticalPodAutoscaler{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[156] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *VerticalPodAutoscaler) XXX_Merge(src proto.Message) { - xxx_messageInfo_VerticalPodAutoscaler.Merge(m, src) -} -func (m *VerticalPodAutoscaler) XXX_Size() int { - return m.Size() + +func (x *VerticalPodAutoscaler) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *VerticalPodAutoscaler) XXX_DiscardUnknown() { - xxx_messageInfo_VerticalPodAutoscaler.DiscardUnknown(m) + +func (*VerticalPodAutoscaler) ProtoMessage() {} + +func (x *VerticalPodAutoscaler) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[156] + 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) } -var xxx_messageInfo_VerticalPodAutoscaler proto.InternalMessageInfo +// Deprecated: Use VerticalPodAutoscaler.ProtoReflect.Descriptor instead. +func (*VerticalPodAutoscaler) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{156} +} -func (m *VerticalPodAutoscaler) GetMetadata() *Metadata { - if m != nil { - return m.Metadata +func (x *VerticalPodAutoscaler) GetMetadata() *Metadata { + if x != nil { + return x.Metadata } return nil } -func (m *VerticalPodAutoscaler) GetSpec() *VerticalPodAutoscalerSpec { - if m != nil { - return m.Spec +func (x *VerticalPodAutoscaler) GetSpec() *VerticalPodAutoscalerSpec { + if x != nil { + return x.Spec } return nil } -func (m *VerticalPodAutoscaler) GetStatus() *VerticalPodAutoscalerStatus { - if m != nil { - return m.Status +func (x *VerticalPodAutoscaler) GetStatus() *VerticalPodAutoscalerStatus { + if x != nil { + return x.Status } return nil } -// Deprecated: Do not use. -func (m *VerticalPodAutoscaler) GetYaml() []byte { - if m != nil { - return m.Yaml +// Deprecated: Marked as deprecated in proto/process/agent.proto. +func (x *VerticalPodAutoscaler) GetYaml() []byte { + if x != nil { + return x.Yaml } return nil } -func (m *VerticalPodAutoscaler) GetTags() []string { - if m != nil { - return m.Tags +func (x *VerticalPodAutoscaler) GetTags() []string { + if x != nil { + return x.Tags } return nil } -func (m *VerticalPodAutoscaler) GetConditions() []*VerticalPodAutoscalerCondition { - if m != nil { - return m.Conditions +func (x *VerticalPodAutoscaler) GetConditions() []*VerticalPodAutoscalerCondition { + if x != nil { + return x.Conditions } return nil } // reference https://github.com/kubernetes/autoscaler/blob/master/vertical-pod-autoscaler/pkg/apis/autoscaling.k8s.io/v1/types.go#L295 type VerticalPodAutoscalerCondition struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` LastTransitionTime int64 `protobuf:"varint,3,opt,name=lastTransitionTime,proto3" json:"lastTransitionTime,omitempty"` @@ -14132,187 +14718,196 @@ type VerticalPodAutoscalerCondition struct { Message string `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"` } -func (m *VerticalPodAutoscalerCondition) Reset() { *m = VerticalPodAutoscalerCondition{} } -func (m *VerticalPodAutoscalerCondition) String() string { return proto.CompactTextString(m) } -func (*VerticalPodAutoscalerCondition) ProtoMessage() {} -func (*VerticalPodAutoscalerCondition) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{157} -} -func (m *VerticalPodAutoscalerCondition) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *VerticalPodAutoscalerCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_VerticalPodAutoscalerCondition.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *VerticalPodAutoscalerCondition) Reset() { + *x = VerticalPodAutoscalerCondition{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[157] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *VerticalPodAutoscalerCondition) XXX_Merge(src proto.Message) { - xxx_messageInfo_VerticalPodAutoscalerCondition.Merge(m, src) -} -func (m *VerticalPodAutoscalerCondition) XXX_Size() int { - return m.Size() + +func (x *VerticalPodAutoscalerCondition) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *VerticalPodAutoscalerCondition) XXX_DiscardUnknown() { - xxx_messageInfo_VerticalPodAutoscalerCondition.DiscardUnknown(m) + +func (*VerticalPodAutoscalerCondition) ProtoMessage() {} + +func (x *VerticalPodAutoscalerCondition) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[157] + 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) } -var xxx_messageInfo_VerticalPodAutoscalerCondition proto.InternalMessageInfo +// Deprecated: Use VerticalPodAutoscalerCondition.ProtoReflect.Descriptor instead. +func (*VerticalPodAutoscalerCondition) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{157} +} -func (m *VerticalPodAutoscalerCondition) GetType() string { - if m != nil { - return m.Type +func (x *VerticalPodAutoscalerCondition) GetType() string { + if x != nil { + return x.Type } return "" } -func (m *VerticalPodAutoscalerCondition) GetStatus() string { - if m != nil { - return m.Status +func (x *VerticalPodAutoscalerCondition) GetStatus() string { + if x != nil { + return x.Status } return "" } -func (m *VerticalPodAutoscalerCondition) GetLastTransitionTime() int64 { - if m != nil { - return m.LastTransitionTime +func (x *VerticalPodAutoscalerCondition) GetLastTransitionTime() int64 { + if x != nil { + return x.LastTransitionTime } return 0 } -func (m *VerticalPodAutoscalerCondition) GetReason() string { - if m != nil { - return m.Reason +func (x *VerticalPodAutoscalerCondition) GetReason() string { + if x != nil { + return x.Reason } return "" } -func (m *VerticalPodAutoscalerCondition) GetMessage() string { - if m != nil { - return m.Message +func (x *VerticalPodAutoscalerCondition) GetMessage() string { + if x != nil { + return x.Message } return "" } type VerticalPodAutoscalerSpec struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Target *VerticalPodAutoscalerTarget `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"` - UpdateMode string `protobuf:"bytes,2,opt,name=updateMode,proto3" json:"updateMode,omitempty"` + UpdateMode string `protobuf:"bytes,2,opt,name=updateMode,proto3" json:"updateMode,omitempty"` // Extracted from UpdatePolicy ResourcePolicies []*ContainerResourcePolicy `protobuf:"bytes,3,rep,name=resourcePolicies,proto3" json:"resourcePolicies,omitempty"` } -func (m *VerticalPodAutoscalerSpec) Reset() { *m = VerticalPodAutoscalerSpec{} } -func (m *VerticalPodAutoscalerSpec) String() string { return proto.CompactTextString(m) } -func (*VerticalPodAutoscalerSpec) ProtoMessage() {} -func (*VerticalPodAutoscalerSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{158} -} -func (m *VerticalPodAutoscalerSpec) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *VerticalPodAutoscalerSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_VerticalPodAutoscalerSpec.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *VerticalPodAutoscalerSpec) Reset() { + *x = VerticalPodAutoscalerSpec{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[158] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *VerticalPodAutoscalerSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_VerticalPodAutoscalerSpec.Merge(m, src) -} -func (m *VerticalPodAutoscalerSpec) XXX_Size() int { - return m.Size() + +func (x *VerticalPodAutoscalerSpec) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *VerticalPodAutoscalerSpec) XXX_DiscardUnknown() { - xxx_messageInfo_VerticalPodAutoscalerSpec.DiscardUnknown(m) + +func (*VerticalPodAutoscalerSpec) ProtoMessage() {} + +func (x *VerticalPodAutoscalerSpec) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[158] + 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) } -var xxx_messageInfo_VerticalPodAutoscalerSpec proto.InternalMessageInfo +// Deprecated: Use VerticalPodAutoscalerSpec.ProtoReflect.Descriptor instead. +func (*VerticalPodAutoscalerSpec) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{158} +} -func (m *VerticalPodAutoscalerSpec) GetTarget() *VerticalPodAutoscalerTarget { - if m != nil { - return m.Target +func (x *VerticalPodAutoscalerSpec) GetTarget() *VerticalPodAutoscalerTarget { + if x != nil { + return x.Target } return nil } -func (m *VerticalPodAutoscalerSpec) GetUpdateMode() string { - if m != nil { - return m.UpdateMode +func (x *VerticalPodAutoscalerSpec) GetUpdateMode() string { + if x != nil { + return x.UpdateMode } return "" } -func (m *VerticalPodAutoscalerSpec) GetResourcePolicies() []*ContainerResourcePolicy { - if m != nil { - return m.ResourcePolicies +func (x *VerticalPodAutoscalerSpec) GetResourcePolicies() []*ContainerResourcePolicy { + if x != nil { + return x.ResourcePolicies } return nil } type VerticalPodAutoscalerTarget struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` } -func (m *VerticalPodAutoscalerTarget) Reset() { *m = VerticalPodAutoscalerTarget{} } -func (m *VerticalPodAutoscalerTarget) String() string { return proto.CompactTextString(m) } -func (*VerticalPodAutoscalerTarget) ProtoMessage() {} -func (*VerticalPodAutoscalerTarget) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{159} -} -func (m *VerticalPodAutoscalerTarget) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *VerticalPodAutoscalerTarget) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_VerticalPodAutoscalerTarget.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *VerticalPodAutoscalerTarget) Reset() { + *x = VerticalPodAutoscalerTarget{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[159] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *VerticalPodAutoscalerTarget) XXX_Merge(src proto.Message) { - xxx_messageInfo_VerticalPodAutoscalerTarget.Merge(m, src) -} -func (m *VerticalPodAutoscalerTarget) XXX_Size() int { - return m.Size() + +func (x *VerticalPodAutoscalerTarget) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *VerticalPodAutoscalerTarget) XXX_DiscardUnknown() { - xxx_messageInfo_VerticalPodAutoscalerTarget.DiscardUnknown(m) + +func (*VerticalPodAutoscalerTarget) ProtoMessage() {} + +func (x *VerticalPodAutoscalerTarget) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[159] + 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) } -var xxx_messageInfo_VerticalPodAutoscalerTarget proto.InternalMessageInfo +// Deprecated: Use VerticalPodAutoscalerTarget.ProtoReflect.Descriptor instead. +func (*VerticalPodAutoscalerTarget) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{159} +} -func (m *VerticalPodAutoscalerTarget) GetKind() string { - if m != nil { - return m.Kind +func (x *VerticalPodAutoscalerTarget) GetKind() string { + if x != nil { + return x.Kind } return "" } -func (m *VerticalPodAutoscalerTarget) GetName() string { - if m != nil { - return m.Name +func (x *VerticalPodAutoscalerTarget) GetName() string { + if x != nil { + return x.Name } return "" } type ContainerResourcePolicy struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + ContainerName string `protobuf:"bytes,1,opt,name=containerName,proto3" json:"containerName,omitempty"` Mode string `protobuf:"bytes,2,opt,name=mode,proto3" json:"mode,omitempty"` MinAllowed *ResourceList `protobuf:"bytes,3,opt,name=minAllowed,proto3" json:"minAllowed,omitempty"` @@ -14321,142 +14916,148 @@ type ContainerResourcePolicy struct { ControlledValues string `protobuf:"bytes,6,opt,name=controlledValues,proto3" json:"controlledValues,omitempty"` } -func (m *ContainerResourcePolicy) Reset() { *m = ContainerResourcePolicy{} } -func (m *ContainerResourcePolicy) String() string { return proto.CompactTextString(m) } -func (*ContainerResourcePolicy) ProtoMessage() {} -func (*ContainerResourcePolicy) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{160} -} -func (m *ContainerResourcePolicy) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ContainerResourcePolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ContainerResourcePolicy.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ContainerResourcePolicy) Reset() { + *x = ContainerResourcePolicy{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[160] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ContainerResourcePolicy) XXX_Merge(src proto.Message) { - xxx_messageInfo_ContainerResourcePolicy.Merge(m, src) -} -func (m *ContainerResourcePolicy) XXX_Size() int { - return m.Size() + +func (x *ContainerResourcePolicy) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ContainerResourcePolicy) XXX_DiscardUnknown() { - xxx_messageInfo_ContainerResourcePolicy.DiscardUnknown(m) + +func (*ContainerResourcePolicy) ProtoMessage() {} + +func (x *ContainerResourcePolicy) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[160] + 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) } -var xxx_messageInfo_ContainerResourcePolicy proto.InternalMessageInfo +// Deprecated: Use ContainerResourcePolicy.ProtoReflect.Descriptor instead. +func (*ContainerResourcePolicy) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{160} +} -func (m *ContainerResourcePolicy) GetContainerName() string { - if m != nil { - return m.ContainerName +func (x *ContainerResourcePolicy) GetContainerName() string { + if x != nil { + return x.ContainerName } return "" } -func (m *ContainerResourcePolicy) GetMode() string { - if m != nil { - return m.Mode +func (x *ContainerResourcePolicy) GetMode() string { + if x != nil { + return x.Mode } return "" } -func (m *ContainerResourcePolicy) GetMinAllowed() *ResourceList { - if m != nil { - return m.MinAllowed +func (x *ContainerResourcePolicy) GetMinAllowed() *ResourceList { + if x != nil { + return x.MinAllowed } return nil } -func (m *ContainerResourcePolicy) GetMaxAllowed() *ResourceList { - if m != nil { - return m.MaxAllowed +func (x *ContainerResourcePolicy) GetMaxAllowed() *ResourceList { + if x != nil { + return x.MaxAllowed } return nil } -func (m *ContainerResourcePolicy) GetControlledResource() []string { - if m != nil { - return m.ControlledResource +func (x *ContainerResourcePolicy) GetControlledResource() []string { + if x != nil { + return x.ControlledResource } return nil } -func (m *ContainerResourcePolicy) GetControlledValues() string { - if m != nil { - return m.ControlledValues +func (x *ContainerResourcePolicy) GetControlledValues() string { + if x != nil { + return x.ControlledValues } return "" } type VerticalPodAutoscalerStatus struct { - LastRecommendedDate int64 `protobuf:"varint,1,opt,name=LastRecommendedDate,proto3" json:"LastRecommendedDate,omitempty"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + LastRecommendedDate int64 `protobuf:"varint,1,opt,name=LastRecommendedDate,proto3" json:"LastRecommendedDate,omitempty"` // Extracted from Condition=RecommendationProvided AND Status=true Recommendations []*ContainerRecommendation `protobuf:"bytes,2,rep,name=recommendations,proto3" json:"recommendations,omitempty"` Conditions []*VPACondition `protobuf:"bytes,3,rep,name=conditions,proto3" json:"conditions,omitempty"` } -func (m *VerticalPodAutoscalerStatus) Reset() { *m = VerticalPodAutoscalerStatus{} } -func (m *VerticalPodAutoscalerStatus) String() string { return proto.CompactTextString(m) } -func (*VerticalPodAutoscalerStatus) ProtoMessage() {} -func (*VerticalPodAutoscalerStatus) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{161} -} -func (m *VerticalPodAutoscalerStatus) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *VerticalPodAutoscalerStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_VerticalPodAutoscalerStatus.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *VerticalPodAutoscalerStatus) Reset() { + *x = VerticalPodAutoscalerStatus{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[161] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *VerticalPodAutoscalerStatus) XXX_Merge(src proto.Message) { - xxx_messageInfo_VerticalPodAutoscalerStatus.Merge(m, src) -} -func (m *VerticalPodAutoscalerStatus) XXX_Size() int { - return m.Size() + +func (x *VerticalPodAutoscalerStatus) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *VerticalPodAutoscalerStatus) XXX_DiscardUnknown() { - xxx_messageInfo_VerticalPodAutoscalerStatus.DiscardUnknown(m) + +func (*VerticalPodAutoscalerStatus) ProtoMessage() {} + +func (x *VerticalPodAutoscalerStatus) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[161] + 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) } -var xxx_messageInfo_VerticalPodAutoscalerStatus proto.InternalMessageInfo +// Deprecated: Use VerticalPodAutoscalerStatus.ProtoReflect.Descriptor instead. +func (*VerticalPodAutoscalerStatus) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{161} +} -func (m *VerticalPodAutoscalerStatus) GetLastRecommendedDate() int64 { - if m != nil { - return m.LastRecommendedDate +func (x *VerticalPodAutoscalerStatus) GetLastRecommendedDate() int64 { + if x != nil { + return x.LastRecommendedDate } return 0 } -func (m *VerticalPodAutoscalerStatus) GetRecommendations() []*ContainerRecommendation { - if m != nil { - return m.Recommendations +func (x *VerticalPodAutoscalerStatus) GetRecommendations() []*ContainerRecommendation { + if x != nil { + return x.Recommendations } return nil } -func (m *VerticalPodAutoscalerStatus) GetConditions() []*VPACondition { - if m != nil { - return m.Conditions +func (x *VerticalPodAutoscalerStatus) GetConditions() []*VPACondition { + if x != nil { + return x.Conditions } return nil } type ContainerRecommendation struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + ContainerName string `protobuf:"bytes,1,opt,name=containerName,proto3" json:"containerName,omitempty"` Target *ResourceList `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"` LowerBound *ResourceList `protobuf:"bytes,3,opt,name=lowerBound,proto3" json:"lowerBound,omitempty"` @@ -14464,75 +15065,78 @@ type ContainerRecommendation struct { UncappedTarget *ResourceList `protobuf:"bytes,5,opt,name=uncappedTarget,proto3" json:"uncappedTarget,omitempty"` } -func (m *ContainerRecommendation) Reset() { *m = ContainerRecommendation{} } -func (m *ContainerRecommendation) String() string { return proto.CompactTextString(m) } -func (*ContainerRecommendation) ProtoMessage() {} -func (*ContainerRecommendation) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{162} -} -func (m *ContainerRecommendation) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ContainerRecommendation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ContainerRecommendation.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ContainerRecommendation) Reset() { + *x = ContainerRecommendation{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[162] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ContainerRecommendation) XXX_Merge(src proto.Message) { - xxx_messageInfo_ContainerRecommendation.Merge(m, src) -} -func (m *ContainerRecommendation) XXX_Size() int { - return m.Size() + +func (x *ContainerRecommendation) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ContainerRecommendation) XXX_DiscardUnknown() { - xxx_messageInfo_ContainerRecommendation.DiscardUnknown(m) + +func (*ContainerRecommendation) ProtoMessage() {} + +func (x *ContainerRecommendation) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[162] + 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) } -var xxx_messageInfo_ContainerRecommendation proto.InternalMessageInfo +// Deprecated: Use ContainerRecommendation.ProtoReflect.Descriptor instead. +func (*ContainerRecommendation) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{162} +} -func (m *ContainerRecommendation) GetContainerName() string { - if m != nil { - return m.ContainerName +func (x *ContainerRecommendation) GetContainerName() string { + if x != nil { + return x.ContainerName } return "" } -func (m *ContainerRecommendation) GetTarget() *ResourceList { - if m != nil { - return m.Target +func (x *ContainerRecommendation) GetTarget() *ResourceList { + if x != nil { + return x.Target } return nil } -func (m *ContainerRecommendation) GetLowerBound() *ResourceList { - if m != nil { - return m.LowerBound +func (x *ContainerRecommendation) GetLowerBound() *ResourceList { + if x != nil { + return x.LowerBound } return nil } -func (m *ContainerRecommendation) GetUpperBound() *ResourceList { - if m != nil { - return m.UpperBound +func (x *ContainerRecommendation) GetUpperBound() *ResourceList { + if x != nil { + return x.UpperBound } return nil } -func (m *ContainerRecommendation) GetUncappedTarget() *ResourceList { - if m != nil { - return m.UncappedTarget +func (x *ContainerRecommendation) GetUncappedTarget() *ResourceList { + if x != nil { + return x.UncappedTarget } return nil } type VPACondition struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + ConditionType string `protobuf:"bytes,1,opt,name=ConditionType,proto3" json:"ConditionType,omitempty"` ConditionStatus string `protobuf:"bytes,2,opt,name=ConditionStatus,proto3" json:"ConditionStatus,omitempty"` LastTransitionTime int64 `protobuf:"varint,3,opt,name=LastTransitionTime,proto3" json:"LastTransitionTime,omitempty"` @@ -14540,161 +15144,168 @@ type VPACondition struct { Message string `protobuf:"bytes,5,opt,name=Message,proto3" json:"Message,omitempty"` } -func (m *VPACondition) Reset() { *m = VPACondition{} } -func (m *VPACondition) String() string { return proto.CompactTextString(m) } -func (*VPACondition) ProtoMessage() {} -func (*VPACondition) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{163} -} -func (m *VPACondition) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *VPACondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_VPACondition.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *VPACondition) Reset() { + *x = VPACondition{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[163] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *VPACondition) XXX_Merge(src proto.Message) { - xxx_messageInfo_VPACondition.Merge(m, src) -} -func (m *VPACondition) XXX_Size() int { - return m.Size() + +func (x *VPACondition) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *VPACondition) XXX_DiscardUnknown() { - xxx_messageInfo_VPACondition.DiscardUnknown(m) + +func (*VPACondition) ProtoMessage() {} + +func (x *VPACondition) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[163] + 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) } -var xxx_messageInfo_VPACondition proto.InternalMessageInfo +// Deprecated: Use VPACondition.ProtoReflect.Descriptor instead. +func (*VPACondition) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{163} +} -func (m *VPACondition) GetConditionType() string { - if m != nil { - return m.ConditionType +func (x *VPACondition) GetConditionType() string { + if x != nil { + return x.ConditionType } return "" } -func (m *VPACondition) GetConditionStatus() string { - if m != nil { - return m.ConditionStatus +func (x *VPACondition) GetConditionStatus() string { + if x != nil { + return x.ConditionStatus } return "" } -func (m *VPACondition) GetLastTransitionTime() int64 { - if m != nil { - return m.LastTransitionTime +func (x *VPACondition) GetLastTransitionTime() int64 { + if x != nil { + return x.LastTransitionTime } return 0 } -func (m *VPACondition) GetReason() string { - if m != nil { - return m.Reason +func (x *VPACondition) GetReason() string { + if x != nil { + return x.Reason } return "" } -func (m *VPACondition) GetMessage() string { - if m != nil { - return m.Message +func (x *VPACondition) GetMessage() string { + if x != nil { + return x.Message } return "" } // https://github.com/kubernetes/api/blob/v0.23.15/autoscaling/v2/types.go type HorizontalPodAutoscaler struct { - Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` - Spec *HorizontalPodAutoscalerSpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"` - Status *HorizontalPodAutoscalerStatus `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"` - Yaml []byte `protobuf:"bytes,4,opt,name=yaml,proto3" json:"yaml,omitempty"` // Deprecated: Do not use. + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` + Spec *HorizontalPodAutoscalerSpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"` + Status *HorizontalPodAutoscalerStatus `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"` + // Deprecated: Marked as deprecated in proto/process/agent.proto. + Yaml []byte `protobuf:"bytes,4,opt,name=yaml,proto3" json:"yaml,omitempty"` Tags []string `protobuf:"bytes,5,rep,name=tags,proto3" json:"tags,omitempty"` Conditions []*HorizontalPodAutoscalerCondition `protobuf:"bytes,6,rep,name=conditions,proto3" json:"conditions,omitempty"` } -func (m *HorizontalPodAutoscaler) Reset() { *m = HorizontalPodAutoscaler{} } -func (m *HorizontalPodAutoscaler) String() string { return proto.CompactTextString(m) } -func (*HorizontalPodAutoscaler) ProtoMessage() {} -func (*HorizontalPodAutoscaler) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{164} -} -func (m *HorizontalPodAutoscaler) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *HorizontalPodAutoscaler) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_HorizontalPodAutoscaler.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *HorizontalPodAutoscaler) Reset() { + *x = HorizontalPodAutoscaler{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[164] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *HorizontalPodAutoscaler) XXX_Merge(src proto.Message) { - xxx_messageInfo_HorizontalPodAutoscaler.Merge(m, src) -} -func (m *HorizontalPodAutoscaler) XXX_Size() int { - return m.Size() + +func (x *HorizontalPodAutoscaler) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *HorizontalPodAutoscaler) XXX_DiscardUnknown() { - xxx_messageInfo_HorizontalPodAutoscaler.DiscardUnknown(m) + +func (*HorizontalPodAutoscaler) ProtoMessage() {} + +func (x *HorizontalPodAutoscaler) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[164] + 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) } -var xxx_messageInfo_HorizontalPodAutoscaler proto.InternalMessageInfo +// Deprecated: Use HorizontalPodAutoscaler.ProtoReflect.Descriptor instead. +func (*HorizontalPodAutoscaler) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{164} +} -func (m *HorizontalPodAutoscaler) GetMetadata() *Metadata { - if m != nil { - return m.Metadata +func (x *HorizontalPodAutoscaler) GetMetadata() *Metadata { + if x != nil { + return x.Metadata } return nil } -func (m *HorizontalPodAutoscaler) GetSpec() *HorizontalPodAutoscalerSpec { - if m != nil { - return m.Spec +func (x *HorizontalPodAutoscaler) GetSpec() *HorizontalPodAutoscalerSpec { + if x != nil { + return x.Spec } return nil } -func (m *HorizontalPodAutoscaler) GetStatus() *HorizontalPodAutoscalerStatus { - if m != nil { - return m.Status +func (x *HorizontalPodAutoscaler) GetStatus() *HorizontalPodAutoscalerStatus { + if x != nil { + return x.Status } return nil } -// Deprecated: Do not use. -func (m *HorizontalPodAutoscaler) GetYaml() []byte { - if m != nil { - return m.Yaml +// Deprecated: Marked as deprecated in proto/process/agent.proto. +func (x *HorizontalPodAutoscaler) GetYaml() []byte { + if x != nil { + return x.Yaml } return nil } -func (m *HorizontalPodAutoscaler) GetTags() []string { - if m != nil { - return m.Tags +func (x *HorizontalPodAutoscaler) GetTags() []string { + if x != nil { + return x.Tags } return nil } -func (m *HorizontalPodAutoscaler) GetConditions() []*HorizontalPodAutoscalerCondition { - if m != nil { - return m.Conditions +func (x *HorizontalPodAutoscaler) GetConditions() []*HorizontalPodAutoscalerCondition { + if x != nil { + return x.Conditions } return nil } type HorizontalPodAutoscalerSpec struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Target *HorizontalPodAutoscalerTarget `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"` MinReplicas int32 `protobuf:"varint,2,opt,name=minReplicas,proto3" json:"minReplicas,omitempty"` MaxReplicas int32 `protobuf:"varint,3,opt,name=maxReplicas,proto3" json:"maxReplicas,omitempty"` @@ -14702,127 +15313,133 @@ type HorizontalPodAutoscalerSpec struct { Behavior *HorizontalPodAutoscalerBehavior `protobuf:"bytes,5,opt,name=behavior,proto3" json:"behavior,omitempty"` } -func (m *HorizontalPodAutoscalerSpec) Reset() { *m = HorizontalPodAutoscalerSpec{} } -func (m *HorizontalPodAutoscalerSpec) String() string { return proto.CompactTextString(m) } -func (*HorizontalPodAutoscalerSpec) ProtoMessage() {} -func (*HorizontalPodAutoscalerSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{165} -} -func (m *HorizontalPodAutoscalerSpec) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *HorizontalPodAutoscalerSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_HorizontalPodAutoscalerSpec.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *HorizontalPodAutoscalerSpec) Reset() { + *x = HorizontalPodAutoscalerSpec{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[165] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *HorizontalPodAutoscalerSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_HorizontalPodAutoscalerSpec.Merge(m, src) -} -func (m *HorizontalPodAutoscalerSpec) XXX_Size() int { - return m.Size() + +func (x *HorizontalPodAutoscalerSpec) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *HorizontalPodAutoscalerSpec) XXX_DiscardUnknown() { - xxx_messageInfo_HorizontalPodAutoscalerSpec.DiscardUnknown(m) + +func (*HorizontalPodAutoscalerSpec) ProtoMessage() {} + +func (x *HorizontalPodAutoscalerSpec) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[165] + 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) } -var xxx_messageInfo_HorizontalPodAutoscalerSpec proto.InternalMessageInfo +// Deprecated: Use HorizontalPodAutoscalerSpec.ProtoReflect.Descriptor instead. +func (*HorizontalPodAutoscalerSpec) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{165} +} -func (m *HorizontalPodAutoscalerSpec) GetTarget() *HorizontalPodAutoscalerTarget { - if m != nil { - return m.Target +func (x *HorizontalPodAutoscalerSpec) GetTarget() *HorizontalPodAutoscalerTarget { + if x != nil { + return x.Target } return nil } -func (m *HorizontalPodAutoscalerSpec) GetMinReplicas() int32 { - if m != nil { - return m.MinReplicas +func (x *HorizontalPodAutoscalerSpec) GetMinReplicas() int32 { + if x != nil { + return x.MinReplicas } return 0 } -func (m *HorizontalPodAutoscalerSpec) GetMaxReplicas() int32 { - if m != nil { - return m.MaxReplicas +func (x *HorizontalPodAutoscalerSpec) GetMaxReplicas() int32 { + if x != nil { + return x.MaxReplicas } return 0 } -func (m *HorizontalPodAutoscalerSpec) GetMetrics() []*HorizontalPodAutoscalerMetricSpec { - if m != nil { - return m.Metrics +func (x *HorizontalPodAutoscalerSpec) GetMetrics() []*HorizontalPodAutoscalerMetricSpec { + if x != nil { + return x.Metrics } return nil } -func (m *HorizontalPodAutoscalerSpec) GetBehavior() *HorizontalPodAutoscalerBehavior { - if m != nil { - return m.Behavior +func (x *HorizontalPodAutoscalerSpec) GetBehavior() *HorizontalPodAutoscalerBehavior { + if x != nil { + return x.Behavior } return nil } type HorizontalPodAutoscalerTarget struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` } -func (m *HorizontalPodAutoscalerTarget) Reset() { *m = HorizontalPodAutoscalerTarget{} } -func (m *HorizontalPodAutoscalerTarget) String() string { return proto.CompactTextString(m) } -func (*HorizontalPodAutoscalerTarget) ProtoMessage() {} -func (*HorizontalPodAutoscalerTarget) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{166} -} -func (m *HorizontalPodAutoscalerTarget) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *HorizontalPodAutoscalerTarget) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_HorizontalPodAutoscalerTarget.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *HorizontalPodAutoscalerTarget) Reset() { + *x = HorizontalPodAutoscalerTarget{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[166] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *HorizontalPodAutoscalerTarget) XXX_Merge(src proto.Message) { - xxx_messageInfo_HorizontalPodAutoscalerTarget.Merge(m, src) -} -func (m *HorizontalPodAutoscalerTarget) XXX_Size() int { - return m.Size() + +func (x *HorizontalPodAutoscalerTarget) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *HorizontalPodAutoscalerTarget) XXX_DiscardUnknown() { - xxx_messageInfo_HorizontalPodAutoscalerTarget.DiscardUnknown(m) + +func (*HorizontalPodAutoscalerTarget) ProtoMessage() {} + +func (x *HorizontalPodAutoscalerTarget) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[166] + 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) } -var xxx_messageInfo_HorizontalPodAutoscalerTarget proto.InternalMessageInfo +// Deprecated: Use HorizontalPodAutoscalerTarget.ProtoReflect.Descriptor instead. +func (*HorizontalPodAutoscalerTarget) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{166} +} -func (m *HorizontalPodAutoscalerTarget) GetKind() string { - if m != nil { - return m.Kind +func (x *HorizontalPodAutoscalerTarget) GetKind() string { + if x != nil { + return x.Kind } return "" } -func (m *HorizontalPodAutoscalerTarget) GetName() string { - if m != nil { - return m.Name +func (x *HorizontalPodAutoscalerTarget) GetName() string { + if x != nil { + return x.Name } return "" } type HorizontalPodAutoscalerMetricSpec struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Object *ObjectMetricSource `protobuf:"bytes,2,opt,name=object,proto3" json:"object,omitempty"` Pods *PodsMetricSource `protobuf:"bytes,3,opt,name=pods,proto3" json:"pods,omitempty"` @@ -14831,634 +15448,667 @@ type HorizontalPodAutoscalerMetricSpec struct { External *ExternalMetricSource `protobuf:"bytes,6,opt,name=external,proto3" json:"external,omitempty"` } -func (m *HorizontalPodAutoscalerMetricSpec) Reset() { *m = HorizontalPodAutoscalerMetricSpec{} } -func (m *HorizontalPodAutoscalerMetricSpec) String() string { return proto.CompactTextString(m) } -func (*HorizontalPodAutoscalerMetricSpec) ProtoMessage() {} -func (*HorizontalPodAutoscalerMetricSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{167} -} -func (m *HorizontalPodAutoscalerMetricSpec) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *HorizontalPodAutoscalerMetricSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_HorizontalPodAutoscalerMetricSpec.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *HorizontalPodAutoscalerMetricSpec) Reset() { + *x = HorizontalPodAutoscalerMetricSpec{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[167] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *HorizontalPodAutoscalerMetricSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_HorizontalPodAutoscalerMetricSpec.Merge(m, src) -} -func (m *HorizontalPodAutoscalerMetricSpec) XXX_Size() int { - return m.Size() + +func (x *HorizontalPodAutoscalerMetricSpec) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *HorizontalPodAutoscalerMetricSpec) XXX_DiscardUnknown() { - xxx_messageInfo_HorizontalPodAutoscalerMetricSpec.DiscardUnknown(m) + +func (*HorizontalPodAutoscalerMetricSpec) ProtoMessage() {} + +func (x *HorizontalPodAutoscalerMetricSpec) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[167] + 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) } -var xxx_messageInfo_HorizontalPodAutoscalerMetricSpec proto.InternalMessageInfo +// Deprecated: Use HorizontalPodAutoscalerMetricSpec.ProtoReflect.Descriptor instead. +func (*HorizontalPodAutoscalerMetricSpec) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{167} +} -func (m *HorizontalPodAutoscalerMetricSpec) GetType() string { - if m != nil { - return m.Type +func (x *HorizontalPodAutoscalerMetricSpec) GetType() string { + if x != nil { + return x.Type } return "" } -func (m *HorizontalPodAutoscalerMetricSpec) GetObject() *ObjectMetricSource { - if m != nil { - return m.Object +func (x *HorizontalPodAutoscalerMetricSpec) GetObject() *ObjectMetricSource { + if x != nil { + return x.Object } return nil } -func (m *HorizontalPodAutoscalerMetricSpec) GetPods() *PodsMetricSource { - if m != nil { - return m.Pods +func (x *HorizontalPodAutoscalerMetricSpec) GetPods() *PodsMetricSource { + if x != nil { + return x.Pods } return nil } -func (m *HorizontalPodAutoscalerMetricSpec) GetResource() *ResourceMetricSource { - if m != nil { - return m.Resource +func (x *HorizontalPodAutoscalerMetricSpec) GetResource() *ResourceMetricSource { + if x != nil { + return x.Resource } return nil } -func (m *HorizontalPodAutoscalerMetricSpec) GetContainerResource() *ContainerResourceMetricSource { - if m != nil { - return m.ContainerResource +func (x *HorizontalPodAutoscalerMetricSpec) GetContainerResource() *ContainerResourceMetricSource { + if x != nil { + return x.ContainerResource } return nil } -func (m *HorizontalPodAutoscalerMetricSpec) GetExternal() *ExternalMetricSource { - if m != nil { - return m.External +func (x *HorizontalPodAutoscalerMetricSpec) GetExternal() *ExternalMetricSource { + if x != nil { + return x.External } return nil } type ObjectMetricSource struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + DescribedObject *ObjectReference `protobuf:"bytes,1,opt,name=describedObject,proto3" json:"describedObject,omitempty"` Target *MetricTarget `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"` Metric *MetricIdentifier `protobuf:"bytes,3,opt,name=metric,proto3" json:"metric,omitempty"` } -func (m *ObjectMetricSource) Reset() { *m = ObjectMetricSource{} } -func (m *ObjectMetricSource) String() string { return proto.CompactTextString(m) } -func (*ObjectMetricSource) ProtoMessage() {} -func (*ObjectMetricSource) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{168} -} -func (m *ObjectMetricSource) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ObjectMetricSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ObjectMetricSource.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ObjectMetricSource) Reset() { + *x = ObjectMetricSource{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[168] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ObjectMetricSource) XXX_Merge(src proto.Message) { - xxx_messageInfo_ObjectMetricSource.Merge(m, src) -} -func (m *ObjectMetricSource) XXX_Size() int { - return m.Size() + +func (x *ObjectMetricSource) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ObjectMetricSource) XXX_DiscardUnknown() { - xxx_messageInfo_ObjectMetricSource.DiscardUnknown(m) + +func (*ObjectMetricSource) ProtoMessage() {} + +func (x *ObjectMetricSource) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[168] + 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) } -var xxx_messageInfo_ObjectMetricSource proto.InternalMessageInfo +// Deprecated: Use ObjectMetricSource.ProtoReflect.Descriptor instead. +func (*ObjectMetricSource) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{168} +} -func (m *ObjectMetricSource) GetDescribedObject() *ObjectReference { - if m != nil { - return m.DescribedObject +func (x *ObjectMetricSource) GetDescribedObject() *ObjectReference { + if x != nil { + return x.DescribedObject } return nil } -func (m *ObjectMetricSource) GetTarget() *MetricTarget { - if m != nil { - return m.Target +func (x *ObjectMetricSource) GetTarget() *MetricTarget { + if x != nil { + return x.Target } return nil } -func (m *ObjectMetricSource) GetMetric() *MetricIdentifier { - if m != nil { - return m.Metric +func (x *ObjectMetricSource) GetMetric() *MetricIdentifier { + if x != nil { + return x.Metric } return nil } type MetricTarget struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Value int64 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"` } -func (m *MetricTarget) Reset() { *m = MetricTarget{} } -func (m *MetricTarget) String() string { return proto.CompactTextString(m) } -func (*MetricTarget) ProtoMessage() {} -func (*MetricTarget) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{169} -} -func (m *MetricTarget) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *MetricTarget) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_MetricTarget.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *MetricTarget) Reset() { + *x = MetricTarget{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[169] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *MetricTarget) XXX_Merge(src proto.Message) { - xxx_messageInfo_MetricTarget.Merge(m, src) -} -func (m *MetricTarget) XXX_Size() int { - return m.Size() + +func (x *MetricTarget) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *MetricTarget) XXX_DiscardUnknown() { - xxx_messageInfo_MetricTarget.DiscardUnknown(m) + +func (*MetricTarget) ProtoMessage() {} + +func (x *MetricTarget) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[169] + 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) } -var xxx_messageInfo_MetricTarget proto.InternalMessageInfo +// Deprecated: Use MetricTarget.ProtoReflect.Descriptor instead. +func (*MetricTarget) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{169} +} -func (m *MetricTarget) GetType() string { - if m != nil { - return m.Type +func (x *MetricTarget) GetType() string { + if x != nil { + return x.Type } return "" } -func (m *MetricTarget) GetValue() int64 { - if m != nil { - return m.Value +func (x *MetricTarget) GetValue() int64 { + if x != nil { + return x.Value } return 0 } type MetricIdentifier struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` LabelSelector []*LabelSelectorRequirement `protobuf:"bytes,2,rep,name=labelSelector,proto3" json:"labelSelector,omitempty"` } -func (m *MetricIdentifier) Reset() { *m = MetricIdentifier{} } -func (m *MetricIdentifier) String() string { return proto.CompactTextString(m) } -func (*MetricIdentifier) ProtoMessage() {} -func (*MetricIdentifier) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{170} -} -func (m *MetricIdentifier) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *MetricIdentifier) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_MetricIdentifier.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *MetricIdentifier) Reset() { + *x = MetricIdentifier{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[170] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *MetricIdentifier) XXX_Merge(src proto.Message) { - xxx_messageInfo_MetricIdentifier.Merge(m, src) -} -func (m *MetricIdentifier) XXX_Size() int { - return m.Size() + +func (x *MetricIdentifier) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *MetricIdentifier) XXX_DiscardUnknown() { - xxx_messageInfo_MetricIdentifier.DiscardUnknown(m) + +func (*MetricIdentifier) ProtoMessage() {} + +func (x *MetricIdentifier) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[170] + 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) } -var xxx_messageInfo_MetricIdentifier proto.InternalMessageInfo +// Deprecated: Use MetricIdentifier.ProtoReflect.Descriptor instead. +func (*MetricIdentifier) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{170} +} -func (m *MetricIdentifier) GetName() string { - if m != nil { - return m.Name +func (x *MetricIdentifier) GetName() string { + if x != nil { + return x.Name } return "" } -func (m *MetricIdentifier) GetLabelSelector() []*LabelSelectorRequirement { - if m != nil { - return m.LabelSelector +func (x *MetricIdentifier) GetLabelSelector() []*LabelSelectorRequirement { + if x != nil { + return x.LabelSelector } return nil } type PodsMetricSource struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Metric *MetricIdentifier `protobuf:"bytes,1,opt,name=metric,proto3" json:"metric,omitempty"` Target *MetricTarget `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"` } -func (m *PodsMetricSource) Reset() { *m = PodsMetricSource{} } -func (m *PodsMetricSource) String() string { return proto.CompactTextString(m) } -func (*PodsMetricSource) ProtoMessage() {} -func (*PodsMetricSource) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{171} -} -func (m *PodsMetricSource) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *PodsMetricSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_PodsMetricSource.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *PodsMetricSource) Reset() { + *x = PodsMetricSource{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[171] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *PodsMetricSource) XXX_Merge(src proto.Message) { - xxx_messageInfo_PodsMetricSource.Merge(m, src) -} -func (m *PodsMetricSource) XXX_Size() int { - return m.Size() + +func (x *PodsMetricSource) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *PodsMetricSource) XXX_DiscardUnknown() { - xxx_messageInfo_PodsMetricSource.DiscardUnknown(m) + +func (*PodsMetricSource) ProtoMessage() {} + +func (x *PodsMetricSource) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[171] + 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) } -var xxx_messageInfo_PodsMetricSource proto.InternalMessageInfo +// Deprecated: Use PodsMetricSource.ProtoReflect.Descriptor instead. +func (*PodsMetricSource) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{171} +} -func (m *PodsMetricSource) GetMetric() *MetricIdentifier { - if m != nil { - return m.Metric +func (x *PodsMetricSource) GetMetric() *MetricIdentifier { + if x != nil { + return x.Metric } return nil } -func (m *PodsMetricSource) GetTarget() *MetricTarget { - if m != nil { - return m.Target +func (x *PodsMetricSource) GetTarget() *MetricTarget { + if x != nil { + return x.Target } return nil } type ResourceMetricSource struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + ResourceName string `protobuf:"bytes,1,opt,name=resourceName,proto3" json:"resourceName,omitempty"` Target *MetricTarget `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"` } -func (m *ResourceMetricSource) Reset() { *m = ResourceMetricSource{} } -func (m *ResourceMetricSource) String() string { return proto.CompactTextString(m) } -func (*ResourceMetricSource) ProtoMessage() {} -func (*ResourceMetricSource) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{172} -} -func (m *ResourceMetricSource) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ResourceMetricSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ResourceMetricSource.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ResourceMetricSource) Reset() { + *x = ResourceMetricSource{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[172] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ResourceMetricSource) XXX_Merge(src proto.Message) { - xxx_messageInfo_ResourceMetricSource.Merge(m, src) -} -func (m *ResourceMetricSource) XXX_Size() int { - return m.Size() + +func (x *ResourceMetricSource) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ResourceMetricSource) XXX_DiscardUnknown() { - xxx_messageInfo_ResourceMetricSource.DiscardUnknown(m) + +func (*ResourceMetricSource) ProtoMessage() {} + +func (x *ResourceMetricSource) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[172] + 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) } -var xxx_messageInfo_ResourceMetricSource proto.InternalMessageInfo +// Deprecated: Use ResourceMetricSource.ProtoReflect.Descriptor instead. +func (*ResourceMetricSource) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{172} +} -func (m *ResourceMetricSource) GetResourceName() string { - if m != nil { - return m.ResourceName +func (x *ResourceMetricSource) GetResourceName() string { + if x != nil { + return x.ResourceName } return "" } -func (m *ResourceMetricSource) GetTarget() *MetricTarget { - if m != nil { - return m.Target +func (x *ResourceMetricSource) GetTarget() *MetricTarget { + if x != nil { + return x.Target } return nil } type ContainerResourceMetricSource struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + ResourceName string `protobuf:"bytes,1,opt,name=resourceName,proto3" json:"resourceName,omitempty"` Target *MetricTarget `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"` Container string `protobuf:"bytes,3,opt,name=container,proto3" json:"container,omitempty"` } -func (m *ContainerResourceMetricSource) Reset() { *m = ContainerResourceMetricSource{} } -func (m *ContainerResourceMetricSource) String() string { return proto.CompactTextString(m) } -func (*ContainerResourceMetricSource) ProtoMessage() {} -func (*ContainerResourceMetricSource) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{173} -} -func (m *ContainerResourceMetricSource) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ContainerResourceMetricSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ContainerResourceMetricSource.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ContainerResourceMetricSource) Reset() { + *x = ContainerResourceMetricSource{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[173] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ContainerResourceMetricSource) XXX_Merge(src proto.Message) { - xxx_messageInfo_ContainerResourceMetricSource.Merge(m, src) -} -func (m *ContainerResourceMetricSource) XXX_Size() int { - return m.Size() + +func (x *ContainerResourceMetricSource) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ContainerResourceMetricSource) XXX_DiscardUnknown() { - xxx_messageInfo_ContainerResourceMetricSource.DiscardUnknown(m) + +func (*ContainerResourceMetricSource) ProtoMessage() {} + +func (x *ContainerResourceMetricSource) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[173] + 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) } -var xxx_messageInfo_ContainerResourceMetricSource proto.InternalMessageInfo +// Deprecated: Use ContainerResourceMetricSource.ProtoReflect.Descriptor instead. +func (*ContainerResourceMetricSource) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{173} +} -func (m *ContainerResourceMetricSource) GetResourceName() string { - if m != nil { - return m.ResourceName +func (x *ContainerResourceMetricSource) GetResourceName() string { + if x != nil { + return x.ResourceName } return "" } -func (m *ContainerResourceMetricSource) GetTarget() *MetricTarget { - if m != nil { - return m.Target +func (x *ContainerResourceMetricSource) GetTarget() *MetricTarget { + if x != nil { + return x.Target } return nil } -func (m *ContainerResourceMetricSource) GetContainer() string { - if m != nil { - return m.Container +func (x *ContainerResourceMetricSource) GetContainer() string { + if x != nil { + return x.Container } return "" } type ExternalMetricSource struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Metric *MetricIdentifier `protobuf:"bytes,1,opt,name=metric,proto3" json:"metric,omitempty"` Target *MetricTarget `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"` } -func (m *ExternalMetricSource) Reset() { *m = ExternalMetricSource{} } -func (m *ExternalMetricSource) String() string { return proto.CompactTextString(m) } -func (*ExternalMetricSource) ProtoMessage() {} -func (*ExternalMetricSource) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{174} -} -func (m *ExternalMetricSource) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ExternalMetricSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ExternalMetricSource.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ExternalMetricSource) Reset() { + *x = ExternalMetricSource{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[174] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ExternalMetricSource) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExternalMetricSource.Merge(m, src) -} -func (m *ExternalMetricSource) XXX_Size() int { - return m.Size() + +func (x *ExternalMetricSource) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ExternalMetricSource) XXX_DiscardUnknown() { - xxx_messageInfo_ExternalMetricSource.DiscardUnknown(m) + +func (*ExternalMetricSource) ProtoMessage() {} + +func (x *ExternalMetricSource) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[174] + 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) } -var xxx_messageInfo_ExternalMetricSource proto.InternalMessageInfo +// Deprecated: Use ExternalMetricSource.ProtoReflect.Descriptor instead. +func (*ExternalMetricSource) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{174} +} -func (m *ExternalMetricSource) GetMetric() *MetricIdentifier { - if m != nil { - return m.Metric +func (x *ExternalMetricSource) GetMetric() *MetricIdentifier { + if x != nil { + return x.Metric } return nil } -func (m *ExternalMetricSource) GetTarget() *MetricTarget { - if m != nil { - return m.Target +func (x *ExternalMetricSource) GetTarget() *MetricTarget { + if x != nil { + return x.Target } return nil } type HorizontalPodAutoscalerBehavior struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + ScaleUp *HPAScalingRules `protobuf:"bytes,1,opt,name=scaleUp,proto3" json:"scaleUp,omitempty"` ScaleDown *HPAScalingRules `protobuf:"bytes,2,opt,name=scaleDown,proto3" json:"scaleDown,omitempty"` } -func (m *HorizontalPodAutoscalerBehavior) Reset() { *m = HorizontalPodAutoscalerBehavior{} } -func (m *HorizontalPodAutoscalerBehavior) String() string { return proto.CompactTextString(m) } -func (*HorizontalPodAutoscalerBehavior) ProtoMessage() {} -func (*HorizontalPodAutoscalerBehavior) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{175} -} -func (m *HorizontalPodAutoscalerBehavior) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *HorizontalPodAutoscalerBehavior) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_HorizontalPodAutoscalerBehavior.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *HorizontalPodAutoscalerBehavior) Reset() { + *x = HorizontalPodAutoscalerBehavior{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[175] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *HorizontalPodAutoscalerBehavior) XXX_Merge(src proto.Message) { - xxx_messageInfo_HorizontalPodAutoscalerBehavior.Merge(m, src) -} -func (m *HorizontalPodAutoscalerBehavior) XXX_Size() int { - return m.Size() + +func (x *HorizontalPodAutoscalerBehavior) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *HorizontalPodAutoscalerBehavior) XXX_DiscardUnknown() { - xxx_messageInfo_HorizontalPodAutoscalerBehavior.DiscardUnknown(m) + +func (*HorizontalPodAutoscalerBehavior) ProtoMessage() {} + +func (x *HorizontalPodAutoscalerBehavior) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[175] + 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) } -var xxx_messageInfo_HorizontalPodAutoscalerBehavior proto.InternalMessageInfo +// Deprecated: Use HorizontalPodAutoscalerBehavior.ProtoReflect.Descriptor instead. +func (*HorizontalPodAutoscalerBehavior) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{175} +} -func (m *HorizontalPodAutoscalerBehavior) GetScaleUp() *HPAScalingRules { - if m != nil { - return m.ScaleUp +func (x *HorizontalPodAutoscalerBehavior) GetScaleUp() *HPAScalingRules { + if x != nil { + return x.ScaleUp } return nil } -func (m *HorizontalPodAutoscalerBehavior) GetScaleDown() *HPAScalingRules { - if m != nil { - return m.ScaleDown +func (x *HorizontalPodAutoscalerBehavior) GetScaleDown() *HPAScalingRules { + if x != nil { + return x.ScaleDown } return nil } type HPAScalingRules struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + StabilizationWindowSeconds int32 `protobuf:"varint,1,opt,name=stabilizationWindowSeconds,proto3" json:"stabilizationWindowSeconds,omitempty"` SelectPolicy string `protobuf:"bytes,2,opt,name=selectPolicy,proto3" json:"selectPolicy,omitempty"` Policies []*HPAScalingPolicy `protobuf:"bytes,3,rep,name=policies,proto3" json:"policies,omitempty"` } -func (m *HPAScalingRules) Reset() { *m = HPAScalingRules{} } -func (m *HPAScalingRules) String() string { return proto.CompactTextString(m) } -func (*HPAScalingRules) ProtoMessage() {} -func (*HPAScalingRules) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{176} -} -func (m *HPAScalingRules) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *HPAScalingRules) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_HPAScalingRules.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *HPAScalingRules) Reset() { + *x = HPAScalingRules{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[176] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *HPAScalingRules) XXX_Merge(src proto.Message) { - xxx_messageInfo_HPAScalingRules.Merge(m, src) -} -func (m *HPAScalingRules) XXX_Size() int { - return m.Size() + +func (x *HPAScalingRules) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *HPAScalingRules) XXX_DiscardUnknown() { - xxx_messageInfo_HPAScalingRules.DiscardUnknown(m) + +func (*HPAScalingRules) ProtoMessage() {} + +func (x *HPAScalingRules) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[176] + 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) } -var xxx_messageInfo_HPAScalingRules proto.InternalMessageInfo +// Deprecated: Use HPAScalingRules.ProtoReflect.Descriptor instead. +func (*HPAScalingRules) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{176} +} -func (m *HPAScalingRules) GetStabilizationWindowSeconds() int32 { - if m != nil { - return m.StabilizationWindowSeconds +func (x *HPAScalingRules) GetStabilizationWindowSeconds() int32 { + if x != nil { + return x.StabilizationWindowSeconds } return 0 } -func (m *HPAScalingRules) GetSelectPolicy() string { - if m != nil { - return m.SelectPolicy +func (x *HPAScalingRules) GetSelectPolicy() string { + if x != nil { + return x.SelectPolicy } return "" } -func (m *HPAScalingRules) GetPolicies() []*HPAScalingPolicy { - if m != nil { - return m.Policies +func (x *HPAScalingRules) GetPolicies() []*HPAScalingPolicy { + if x != nil { + return x.Policies } return nil } type HPAScalingPolicy struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Value int32 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"` PeriodSeconds int32 `protobuf:"varint,3,opt,name=periodSeconds,proto3" json:"periodSeconds,omitempty"` } -func (m *HPAScalingPolicy) Reset() { *m = HPAScalingPolicy{} } -func (m *HPAScalingPolicy) String() string { return proto.CompactTextString(m) } -func (*HPAScalingPolicy) ProtoMessage() {} -func (*HPAScalingPolicy) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{177} -} -func (m *HPAScalingPolicy) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *HPAScalingPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_HPAScalingPolicy.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *HPAScalingPolicy) Reset() { + *x = HPAScalingPolicy{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[177] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *HPAScalingPolicy) XXX_Merge(src proto.Message) { - xxx_messageInfo_HPAScalingPolicy.Merge(m, src) -} -func (m *HPAScalingPolicy) XXX_Size() int { - return m.Size() + +func (x *HPAScalingPolicy) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *HPAScalingPolicy) XXX_DiscardUnknown() { - xxx_messageInfo_HPAScalingPolicy.DiscardUnknown(m) + +func (*HPAScalingPolicy) ProtoMessage() {} + +func (x *HPAScalingPolicy) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[177] + 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) } -var xxx_messageInfo_HPAScalingPolicy proto.InternalMessageInfo +// Deprecated: Use HPAScalingPolicy.ProtoReflect.Descriptor instead. +func (*HPAScalingPolicy) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{177} +} -func (m *HPAScalingPolicy) GetType() string { - if m != nil { - return m.Type +func (x *HPAScalingPolicy) GetType() string { + if x != nil { + return x.Type } return "" } -func (m *HPAScalingPolicy) GetValue() int32 { - if m != nil { - return m.Value +func (x *HPAScalingPolicy) GetValue() int32 { + if x != nil { + return x.Value } return 0 } -func (m *HPAScalingPolicy) GetPeriodSeconds() int32 { - if m != nil { - return m.PeriodSeconds +func (x *HPAScalingPolicy) GetPeriodSeconds() int32 { + if x != nil { + return x.PeriodSeconds } return 0 } type HorizontalPodAutoscalerStatus struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + ObservedGeneration int64 `protobuf:"varint,1,opt,name=observedGeneration,proto3" json:"observedGeneration,omitempty"` LastScaleTime int64 `protobuf:"varint,2,opt,name=lastScaleTime,proto3" json:"lastScaleTime,omitempty"` CurrentReplicas int32 `protobuf:"varint,3,opt,name=currentReplicas,proto3" json:"currentReplicas,omitempty"` @@ -15466,75 +16116,78 @@ type HorizontalPodAutoscalerStatus struct { CurrentMetrics []*HorizontalPodAutoscalerMetricStatus `protobuf:"bytes,5,rep,name=currentMetrics,proto3" json:"currentMetrics,omitempty"` } -func (m *HorizontalPodAutoscalerStatus) Reset() { *m = HorizontalPodAutoscalerStatus{} } -func (m *HorizontalPodAutoscalerStatus) String() string { return proto.CompactTextString(m) } -func (*HorizontalPodAutoscalerStatus) ProtoMessage() {} -func (*HorizontalPodAutoscalerStatus) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{178} -} -func (m *HorizontalPodAutoscalerStatus) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *HorizontalPodAutoscalerStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_HorizontalPodAutoscalerStatus.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *HorizontalPodAutoscalerStatus) Reset() { + *x = HorizontalPodAutoscalerStatus{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[178] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *HorizontalPodAutoscalerStatus) XXX_Merge(src proto.Message) { - xxx_messageInfo_HorizontalPodAutoscalerStatus.Merge(m, src) -} -func (m *HorizontalPodAutoscalerStatus) XXX_Size() int { - return m.Size() + +func (x *HorizontalPodAutoscalerStatus) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *HorizontalPodAutoscalerStatus) XXX_DiscardUnknown() { - xxx_messageInfo_HorizontalPodAutoscalerStatus.DiscardUnknown(m) + +func (*HorizontalPodAutoscalerStatus) ProtoMessage() {} + +func (x *HorizontalPodAutoscalerStatus) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[178] + 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) } -var xxx_messageInfo_HorizontalPodAutoscalerStatus proto.InternalMessageInfo +// Deprecated: Use HorizontalPodAutoscalerStatus.ProtoReflect.Descriptor instead. +func (*HorizontalPodAutoscalerStatus) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{178} +} -func (m *HorizontalPodAutoscalerStatus) GetObservedGeneration() int64 { - if m != nil { - return m.ObservedGeneration +func (x *HorizontalPodAutoscalerStatus) GetObservedGeneration() int64 { + if x != nil { + return x.ObservedGeneration } return 0 } -func (m *HorizontalPodAutoscalerStatus) GetLastScaleTime() int64 { - if m != nil { - return m.LastScaleTime +func (x *HorizontalPodAutoscalerStatus) GetLastScaleTime() int64 { + if x != nil { + return x.LastScaleTime } return 0 } -func (m *HorizontalPodAutoscalerStatus) GetCurrentReplicas() int32 { - if m != nil { - return m.CurrentReplicas +func (x *HorizontalPodAutoscalerStatus) GetCurrentReplicas() int32 { + if x != nil { + return x.CurrentReplicas } return 0 } -func (m *HorizontalPodAutoscalerStatus) GetDesiredReplicas() int32 { - if m != nil { - return m.DesiredReplicas +func (x *HorizontalPodAutoscalerStatus) GetDesiredReplicas() int32 { + if x != nil { + return x.DesiredReplicas } return 0 } -func (m *HorizontalPodAutoscalerStatus) GetCurrentMetrics() []*HorizontalPodAutoscalerMetricStatus { - if m != nil { - return m.CurrentMetrics +func (x *HorizontalPodAutoscalerStatus) GetCurrentMetrics() []*HorizontalPodAutoscalerMetricStatus { + if x != nil { + return x.CurrentMetrics } return nil } type HorizontalPodAutoscalerCondition struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + ConditionType string `protobuf:"bytes,1,opt,name=conditionType,proto3" json:"conditionType,omitempty"` ConditionStatus string `protobuf:"bytes,2,opt,name=conditionStatus,proto3" json:"conditionStatus,omitempty"` LastTransitionTime int64 `protobuf:"varint,3,opt,name=lastTransitionTime,proto3" json:"lastTransitionTime,omitempty"` @@ -15542,75 +16195,78 @@ type HorizontalPodAutoscalerCondition struct { Message string `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"` } -func (m *HorizontalPodAutoscalerCondition) Reset() { *m = HorizontalPodAutoscalerCondition{} } -func (m *HorizontalPodAutoscalerCondition) String() string { return proto.CompactTextString(m) } -func (*HorizontalPodAutoscalerCondition) ProtoMessage() {} -func (*HorizontalPodAutoscalerCondition) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{179} -} -func (m *HorizontalPodAutoscalerCondition) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *HorizontalPodAutoscalerCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_HorizontalPodAutoscalerCondition.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *HorizontalPodAutoscalerCondition) Reset() { + *x = HorizontalPodAutoscalerCondition{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[179] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *HorizontalPodAutoscalerCondition) XXX_Merge(src proto.Message) { - xxx_messageInfo_HorizontalPodAutoscalerCondition.Merge(m, src) -} -func (m *HorizontalPodAutoscalerCondition) XXX_Size() int { - return m.Size() + +func (x *HorizontalPodAutoscalerCondition) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *HorizontalPodAutoscalerCondition) XXX_DiscardUnknown() { - xxx_messageInfo_HorizontalPodAutoscalerCondition.DiscardUnknown(m) + +func (*HorizontalPodAutoscalerCondition) ProtoMessage() {} + +func (x *HorizontalPodAutoscalerCondition) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[179] + 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) } -var xxx_messageInfo_HorizontalPodAutoscalerCondition proto.InternalMessageInfo +// Deprecated: Use HorizontalPodAutoscalerCondition.ProtoReflect.Descriptor instead. +func (*HorizontalPodAutoscalerCondition) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{179} +} -func (m *HorizontalPodAutoscalerCondition) GetConditionType() string { - if m != nil { - return m.ConditionType +func (x *HorizontalPodAutoscalerCondition) GetConditionType() string { + if x != nil { + return x.ConditionType } return "" } -func (m *HorizontalPodAutoscalerCondition) GetConditionStatus() string { - if m != nil { - return m.ConditionStatus +func (x *HorizontalPodAutoscalerCondition) GetConditionStatus() string { + if x != nil { + return x.ConditionStatus } return "" } -func (m *HorizontalPodAutoscalerCondition) GetLastTransitionTime() int64 { - if m != nil { - return m.LastTransitionTime +func (x *HorizontalPodAutoscalerCondition) GetLastTransitionTime() int64 { + if x != nil { + return x.LastTransitionTime } return 0 } -func (m *HorizontalPodAutoscalerCondition) GetReason() string { - if m != nil { - return m.Reason +func (x *HorizontalPodAutoscalerCondition) GetReason() string { + if x != nil { + return x.Reason } return "" } -func (m *HorizontalPodAutoscalerCondition) GetMessage() string { - if m != nil { - return m.Message +func (x *HorizontalPodAutoscalerCondition) GetMessage() string { + if x != nil { + return x.Message } return "" } type HorizontalPodAutoscalerMetricStatus struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Object *ObjectMetricStatus `protobuf:"bytes,2,opt,name=object,proto3" json:"object,omitempty"` Pods *PodsMetricStatus `protobuf:"bytes,3,opt,name=pods,proto3" json:"pods,omitempty"` @@ -15619,652 +16275,686 @@ type HorizontalPodAutoscalerMetricStatus struct { External *ExternalMetricStatus `protobuf:"bytes,6,opt,name=external,proto3" json:"external,omitempty"` } -func (m *HorizontalPodAutoscalerMetricStatus) Reset() { *m = HorizontalPodAutoscalerMetricStatus{} } -func (m *HorizontalPodAutoscalerMetricStatus) String() string { return proto.CompactTextString(m) } -func (*HorizontalPodAutoscalerMetricStatus) ProtoMessage() {} -func (*HorizontalPodAutoscalerMetricStatus) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{180} -} -func (m *HorizontalPodAutoscalerMetricStatus) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *HorizontalPodAutoscalerMetricStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_HorizontalPodAutoscalerMetricStatus.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *HorizontalPodAutoscalerMetricStatus) Reset() { + *x = HorizontalPodAutoscalerMetricStatus{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[180] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *HorizontalPodAutoscalerMetricStatus) XXX_Merge(src proto.Message) { - xxx_messageInfo_HorizontalPodAutoscalerMetricStatus.Merge(m, src) -} -func (m *HorizontalPodAutoscalerMetricStatus) XXX_Size() int { - return m.Size() + +func (x *HorizontalPodAutoscalerMetricStatus) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *HorizontalPodAutoscalerMetricStatus) XXX_DiscardUnknown() { - xxx_messageInfo_HorizontalPodAutoscalerMetricStatus.DiscardUnknown(m) + +func (*HorizontalPodAutoscalerMetricStatus) ProtoMessage() {} + +func (x *HorizontalPodAutoscalerMetricStatus) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[180] + 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) } -var xxx_messageInfo_HorizontalPodAutoscalerMetricStatus proto.InternalMessageInfo +// Deprecated: Use HorizontalPodAutoscalerMetricStatus.ProtoReflect.Descriptor instead. +func (*HorizontalPodAutoscalerMetricStatus) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{180} +} -func (m *HorizontalPodAutoscalerMetricStatus) GetType() string { - if m != nil { - return m.Type +func (x *HorizontalPodAutoscalerMetricStatus) GetType() string { + if x != nil { + return x.Type } return "" } -func (m *HorizontalPodAutoscalerMetricStatus) GetObject() *ObjectMetricStatus { - if m != nil { - return m.Object +func (x *HorizontalPodAutoscalerMetricStatus) GetObject() *ObjectMetricStatus { + if x != nil { + return x.Object } return nil } -func (m *HorizontalPodAutoscalerMetricStatus) GetPods() *PodsMetricStatus { - if m != nil { - return m.Pods +func (x *HorizontalPodAutoscalerMetricStatus) GetPods() *PodsMetricStatus { + if x != nil { + return x.Pods } return nil } -func (m *HorizontalPodAutoscalerMetricStatus) GetResource() *ResourceMetricStatus { - if m != nil { - return m.Resource +func (x *HorizontalPodAutoscalerMetricStatus) GetResource() *ResourceMetricStatus { + if x != nil { + return x.Resource } return nil } -func (m *HorizontalPodAutoscalerMetricStatus) GetContainerResource() *ContainerResourceMetricStatus { - if m != nil { - return m.ContainerResource +func (x *HorizontalPodAutoscalerMetricStatus) GetContainerResource() *ContainerResourceMetricStatus { + if x != nil { + return x.ContainerResource } return nil } -func (m *HorizontalPodAutoscalerMetricStatus) GetExternal() *ExternalMetricStatus { - if m != nil { - return m.External +func (x *HorizontalPodAutoscalerMetricStatus) GetExternal() *ExternalMetricStatus { + if x != nil { + return x.External } return nil } type ObjectMetricStatus struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + DescribedObject *ObjectReference `protobuf:"bytes,1,opt,name=describedObject,proto3" json:"describedObject,omitempty"` Current int64 `protobuf:"varint,2,opt,name=current,proto3" json:"current,omitempty"` Metric *MetricIdentifier `protobuf:"bytes,3,opt,name=metric,proto3" json:"metric,omitempty"` } -func (m *ObjectMetricStatus) Reset() { *m = ObjectMetricStatus{} } -func (m *ObjectMetricStatus) String() string { return proto.CompactTextString(m) } -func (*ObjectMetricStatus) ProtoMessage() {} -func (*ObjectMetricStatus) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{181} -} -func (m *ObjectMetricStatus) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ObjectMetricStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ObjectMetricStatus.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ObjectMetricStatus) Reset() { + *x = ObjectMetricStatus{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[181] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ObjectMetricStatus) XXX_Merge(src proto.Message) { - xxx_messageInfo_ObjectMetricStatus.Merge(m, src) -} -func (m *ObjectMetricStatus) XXX_Size() int { - return m.Size() + +func (x *ObjectMetricStatus) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ObjectMetricStatus) XXX_DiscardUnknown() { - xxx_messageInfo_ObjectMetricStatus.DiscardUnknown(m) + +func (*ObjectMetricStatus) ProtoMessage() {} + +func (x *ObjectMetricStatus) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[181] + 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) } -var xxx_messageInfo_ObjectMetricStatus proto.InternalMessageInfo +// Deprecated: Use ObjectMetricStatus.ProtoReflect.Descriptor instead. +func (*ObjectMetricStatus) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{181} +} -func (m *ObjectMetricStatus) GetDescribedObject() *ObjectReference { - if m != nil { - return m.DescribedObject +func (x *ObjectMetricStatus) GetDescribedObject() *ObjectReference { + if x != nil { + return x.DescribedObject } return nil } -func (m *ObjectMetricStatus) GetCurrent() int64 { - if m != nil { - return m.Current +func (x *ObjectMetricStatus) GetCurrent() int64 { + if x != nil { + return x.Current } return 0 } -func (m *ObjectMetricStatus) GetMetric() *MetricIdentifier { - if m != nil { - return m.Metric +func (x *ObjectMetricStatus) GetMetric() *MetricIdentifier { + if x != nil { + return x.Metric } return nil } type PodsMetricStatus struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Metric *MetricIdentifier `protobuf:"bytes,1,opt,name=metric,proto3" json:"metric,omitempty"` Current int64 `protobuf:"varint,2,opt,name=current,proto3" json:"current,omitempty"` } -func (m *PodsMetricStatus) Reset() { *m = PodsMetricStatus{} } -func (m *PodsMetricStatus) String() string { return proto.CompactTextString(m) } -func (*PodsMetricStatus) ProtoMessage() {} -func (*PodsMetricStatus) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{182} -} -func (m *PodsMetricStatus) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *PodsMetricStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_PodsMetricStatus.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *PodsMetricStatus) Reset() { + *x = PodsMetricStatus{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[182] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *PodsMetricStatus) XXX_Merge(src proto.Message) { - xxx_messageInfo_PodsMetricStatus.Merge(m, src) -} -func (m *PodsMetricStatus) XXX_Size() int { - return m.Size() + +func (x *PodsMetricStatus) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *PodsMetricStatus) XXX_DiscardUnknown() { - xxx_messageInfo_PodsMetricStatus.DiscardUnknown(m) + +func (*PodsMetricStatus) ProtoMessage() {} + +func (x *PodsMetricStatus) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[182] + 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) } -var xxx_messageInfo_PodsMetricStatus proto.InternalMessageInfo +// Deprecated: Use PodsMetricStatus.ProtoReflect.Descriptor instead. +func (*PodsMetricStatus) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{182} +} -func (m *PodsMetricStatus) GetMetric() *MetricIdentifier { - if m != nil { - return m.Metric +func (x *PodsMetricStatus) GetMetric() *MetricIdentifier { + if x != nil { + return x.Metric } return nil } -func (m *PodsMetricStatus) GetCurrent() int64 { - if m != nil { - return m.Current +func (x *PodsMetricStatus) GetCurrent() int64 { + if x != nil { + return x.Current } return 0 } type ResourceMetricStatus struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + ResourceName string `protobuf:"bytes,1,opt,name=resourceName,proto3" json:"resourceName,omitempty"` Current int64 `protobuf:"varint,2,opt,name=current,proto3" json:"current,omitempty"` } -func (m *ResourceMetricStatus) Reset() { *m = ResourceMetricStatus{} } -func (m *ResourceMetricStatus) String() string { return proto.CompactTextString(m) } -func (*ResourceMetricStatus) ProtoMessage() {} -func (*ResourceMetricStatus) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{183} -} -func (m *ResourceMetricStatus) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ResourceMetricStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ResourceMetricStatus.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ResourceMetricStatus) Reset() { + *x = ResourceMetricStatus{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[183] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ResourceMetricStatus) XXX_Merge(src proto.Message) { - xxx_messageInfo_ResourceMetricStatus.Merge(m, src) -} -func (m *ResourceMetricStatus) XXX_Size() int { - return m.Size() + +func (x *ResourceMetricStatus) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ResourceMetricStatus) XXX_DiscardUnknown() { - xxx_messageInfo_ResourceMetricStatus.DiscardUnknown(m) + +func (*ResourceMetricStatus) ProtoMessage() {} + +func (x *ResourceMetricStatus) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[183] + 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) } -var xxx_messageInfo_ResourceMetricStatus proto.InternalMessageInfo +// Deprecated: Use ResourceMetricStatus.ProtoReflect.Descriptor instead. +func (*ResourceMetricStatus) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{183} +} -func (m *ResourceMetricStatus) GetResourceName() string { - if m != nil { - return m.ResourceName +func (x *ResourceMetricStatus) GetResourceName() string { + if x != nil { + return x.ResourceName } return "" } -func (m *ResourceMetricStatus) GetCurrent() int64 { - if m != nil { - return m.Current +func (x *ResourceMetricStatus) GetCurrent() int64 { + if x != nil { + return x.Current } return 0 } type ContainerResourceMetricStatus struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + ResourceName string `protobuf:"bytes,1,opt,name=resourceName,proto3" json:"resourceName,omitempty"` Current int64 `protobuf:"varint,2,opt,name=current,proto3" json:"current,omitempty"` Container string `protobuf:"bytes,3,opt,name=container,proto3" json:"container,omitempty"` } -func (m *ContainerResourceMetricStatus) Reset() { *m = ContainerResourceMetricStatus{} } -func (m *ContainerResourceMetricStatus) String() string { return proto.CompactTextString(m) } -func (*ContainerResourceMetricStatus) ProtoMessage() {} -func (*ContainerResourceMetricStatus) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{184} -} -func (m *ContainerResourceMetricStatus) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ContainerResourceMetricStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ContainerResourceMetricStatus.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ContainerResourceMetricStatus) Reset() { + *x = ContainerResourceMetricStatus{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[184] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ContainerResourceMetricStatus) XXX_Merge(src proto.Message) { - xxx_messageInfo_ContainerResourceMetricStatus.Merge(m, src) -} -func (m *ContainerResourceMetricStatus) XXX_Size() int { - return m.Size() + +func (x *ContainerResourceMetricStatus) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ContainerResourceMetricStatus) XXX_DiscardUnknown() { - xxx_messageInfo_ContainerResourceMetricStatus.DiscardUnknown(m) + +func (*ContainerResourceMetricStatus) ProtoMessage() {} + +func (x *ContainerResourceMetricStatus) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[184] + 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) } -var xxx_messageInfo_ContainerResourceMetricStatus proto.InternalMessageInfo +// Deprecated: Use ContainerResourceMetricStatus.ProtoReflect.Descriptor instead. +func (*ContainerResourceMetricStatus) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{184} +} -func (m *ContainerResourceMetricStatus) GetResourceName() string { - if m != nil { - return m.ResourceName +func (x *ContainerResourceMetricStatus) GetResourceName() string { + if x != nil { + return x.ResourceName } return "" } -func (m *ContainerResourceMetricStatus) GetCurrent() int64 { - if m != nil { - return m.Current +func (x *ContainerResourceMetricStatus) GetCurrent() int64 { + if x != nil { + return x.Current } return 0 } -func (m *ContainerResourceMetricStatus) GetContainer() string { - if m != nil { - return m.Container +func (x *ContainerResourceMetricStatus) GetContainer() string { + if x != nil { + return x.Container } return "" } type ExternalMetricStatus struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Metric *MetricIdentifier `protobuf:"bytes,1,opt,name=metric,proto3" json:"metric,omitempty"` Current int64 `protobuf:"varint,2,opt,name=current,proto3" json:"current,omitempty"` } -func (m *ExternalMetricStatus) Reset() { *m = ExternalMetricStatus{} } -func (m *ExternalMetricStatus) String() string { return proto.CompactTextString(m) } -func (*ExternalMetricStatus) ProtoMessage() {} -func (*ExternalMetricStatus) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{185} -} -func (m *ExternalMetricStatus) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ExternalMetricStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ExternalMetricStatus.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ExternalMetricStatus) Reset() { + *x = ExternalMetricStatus{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[185] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ExternalMetricStatus) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExternalMetricStatus.Merge(m, src) -} -func (m *ExternalMetricStatus) XXX_Size() int { - return m.Size() + +func (x *ExternalMetricStatus) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ExternalMetricStatus) XXX_DiscardUnknown() { - xxx_messageInfo_ExternalMetricStatus.DiscardUnknown(m) + +func (*ExternalMetricStatus) ProtoMessage() {} + +func (x *ExternalMetricStatus) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[185] + 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) } -var xxx_messageInfo_ExternalMetricStatus proto.InternalMessageInfo +// Deprecated: Use ExternalMetricStatus.ProtoReflect.Descriptor instead. +func (*ExternalMetricStatus) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{185} +} -func (m *ExternalMetricStatus) GetMetric() *MetricIdentifier { - if m != nil { - return m.Metric +func (x *ExternalMetricStatus) GetMetric() *MetricIdentifier { + if x != nil { + return x.Metric } return nil } -func (m *ExternalMetricStatus) GetCurrent() int64 { - if m != nil { - return m.Current +func (x *ExternalMetricStatus) GetCurrent() int64 { + if x != nil { + return x.Current } return 0 } // https://github.com/kubernetes/api/blob/v0.23.15/networking/v1/generated.proto type NetworkPolicy struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` Spec *NetworkPolicySpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"` - Yaml []byte `protobuf:"bytes,3,opt,name=yaml,proto3" json:"yaml,omitempty"` // Deprecated: Do not use. - Tags []string `protobuf:"bytes,4,rep,name=tags,proto3" json:"tags,omitempty"` + // Deprecated: Marked as deprecated in proto/process/agent.proto. + Yaml []byte `protobuf:"bytes,3,opt,name=yaml,proto3" json:"yaml,omitempty"` + Tags []string `protobuf:"bytes,4,rep,name=tags,proto3" json:"tags,omitempty"` } -func (m *NetworkPolicy) Reset() { *m = NetworkPolicy{} } -func (m *NetworkPolicy) String() string { return proto.CompactTextString(m) } -func (*NetworkPolicy) ProtoMessage() {} -func (*NetworkPolicy) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{186} -} -func (m *NetworkPolicy) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *NetworkPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_NetworkPolicy.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *NetworkPolicy) Reset() { + *x = NetworkPolicy{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[186] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *NetworkPolicy) XXX_Merge(src proto.Message) { - xxx_messageInfo_NetworkPolicy.Merge(m, src) -} -func (m *NetworkPolicy) XXX_Size() int { - return m.Size() + +func (x *NetworkPolicy) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *NetworkPolicy) XXX_DiscardUnknown() { - xxx_messageInfo_NetworkPolicy.DiscardUnknown(m) + +func (*NetworkPolicy) ProtoMessage() {} + +func (x *NetworkPolicy) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[186] + 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) } -var xxx_messageInfo_NetworkPolicy proto.InternalMessageInfo +// Deprecated: Use NetworkPolicy.ProtoReflect.Descriptor instead. +func (*NetworkPolicy) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{186} +} -func (m *NetworkPolicy) GetMetadata() *Metadata { - if m != nil { - return m.Metadata +func (x *NetworkPolicy) GetMetadata() *Metadata { + if x != nil { + return x.Metadata } return nil } -func (m *NetworkPolicy) GetSpec() *NetworkPolicySpec { - if m != nil { - return m.Spec +func (x *NetworkPolicy) GetSpec() *NetworkPolicySpec { + if x != nil { + return x.Spec } return nil } -// Deprecated: Do not use. -func (m *NetworkPolicy) GetYaml() []byte { - if m != nil { - return m.Yaml +// Deprecated: Marked as deprecated in proto/process/agent.proto. +func (x *NetworkPolicy) GetYaml() []byte { + if x != nil { + return x.Yaml } return nil } -func (m *NetworkPolicy) GetTags() []string { - if m != nil { - return m.Tags +func (x *NetworkPolicy) GetTags() []string { + if x != nil { + return x.Tags } return nil } type NetworkPolicySpec struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Selectors []*LabelSelectorRequirement `protobuf:"bytes,1,rep,name=selectors,proto3" json:"selectors,omitempty"` Ingress []*NetworkPolicyIngressRule `protobuf:"bytes,2,rep,name=ingress,proto3" json:"ingress,omitempty"` Egress []*NetworkPolicyEgressRule `protobuf:"bytes,3,rep,name=egress,proto3" json:"egress,omitempty"` PolicyTypes []string `protobuf:"bytes,4,rep,name=policyTypes,proto3" json:"policyTypes,omitempty"` } -func (m *NetworkPolicySpec) Reset() { *m = NetworkPolicySpec{} } -func (m *NetworkPolicySpec) String() string { return proto.CompactTextString(m) } -func (*NetworkPolicySpec) ProtoMessage() {} -func (*NetworkPolicySpec) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{187} -} -func (m *NetworkPolicySpec) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *NetworkPolicySpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_NetworkPolicySpec.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *NetworkPolicySpec) Reset() { + *x = NetworkPolicySpec{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[187] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *NetworkPolicySpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_NetworkPolicySpec.Merge(m, src) -} -func (m *NetworkPolicySpec) XXX_Size() int { - return m.Size() + +func (x *NetworkPolicySpec) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *NetworkPolicySpec) XXX_DiscardUnknown() { - xxx_messageInfo_NetworkPolicySpec.DiscardUnknown(m) + +func (*NetworkPolicySpec) ProtoMessage() {} + +func (x *NetworkPolicySpec) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[187] + 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) } -var xxx_messageInfo_NetworkPolicySpec proto.InternalMessageInfo +// Deprecated: Use NetworkPolicySpec.ProtoReflect.Descriptor instead. +func (*NetworkPolicySpec) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{187} +} -func (m *NetworkPolicySpec) GetSelectors() []*LabelSelectorRequirement { - if m != nil { - return m.Selectors +func (x *NetworkPolicySpec) GetSelectors() []*LabelSelectorRequirement { + if x != nil { + return x.Selectors } return nil } -func (m *NetworkPolicySpec) GetIngress() []*NetworkPolicyIngressRule { - if m != nil { - return m.Ingress +func (x *NetworkPolicySpec) GetIngress() []*NetworkPolicyIngressRule { + if x != nil { + return x.Ingress } return nil } -func (m *NetworkPolicySpec) GetEgress() []*NetworkPolicyEgressRule { - if m != nil { - return m.Egress +func (x *NetworkPolicySpec) GetEgress() []*NetworkPolicyEgressRule { + if x != nil { + return x.Egress } return nil } -func (m *NetworkPolicySpec) GetPolicyTypes() []string { - if m != nil { - return m.PolicyTypes +func (x *NetworkPolicySpec) GetPolicyTypes() []string { + if x != nil { + return x.PolicyTypes } return nil } type NetworkPolicyIPBlock struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Cidr string `protobuf:"bytes,1,opt,name=cidr,proto3" json:"cidr,omitempty"` Except []string `protobuf:"bytes,2,rep,name=except,proto3" json:"except,omitempty"` } -func (m *NetworkPolicyIPBlock) Reset() { *m = NetworkPolicyIPBlock{} } -func (m *NetworkPolicyIPBlock) String() string { return proto.CompactTextString(m) } -func (*NetworkPolicyIPBlock) ProtoMessage() {} -func (*NetworkPolicyIPBlock) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{188} -} -func (m *NetworkPolicyIPBlock) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *NetworkPolicyIPBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_NetworkPolicyIPBlock.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *NetworkPolicyIPBlock) Reset() { + *x = NetworkPolicyIPBlock{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[188] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *NetworkPolicyIPBlock) XXX_Merge(src proto.Message) { - xxx_messageInfo_NetworkPolicyIPBlock.Merge(m, src) -} -func (m *NetworkPolicyIPBlock) XXX_Size() int { - return m.Size() + +func (x *NetworkPolicyIPBlock) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *NetworkPolicyIPBlock) XXX_DiscardUnknown() { - xxx_messageInfo_NetworkPolicyIPBlock.DiscardUnknown(m) + +func (*NetworkPolicyIPBlock) ProtoMessage() {} + +func (x *NetworkPolicyIPBlock) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[188] + 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) } -var xxx_messageInfo_NetworkPolicyIPBlock proto.InternalMessageInfo +// Deprecated: Use NetworkPolicyIPBlock.ProtoReflect.Descriptor instead. +func (*NetworkPolicyIPBlock) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{188} +} -func (m *NetworkPolicyIPBlock) GetCidr() string { - if m != nil { - return m.Cidr +func (x *NetworkPolicyIPBlock) GetCidr() string { + if x != nil { + return x.Cidr } return "" } -func (m *NetworkPolicyIPBlock) GetExcept() []string { - if m != nil { - return m.Except +func (x *NetworkPolicyIPBlock) GetExcept() []string { + if x != nil { + return x.Except } return nil } type NetworkPolicyIngressRule struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Ports []*NetworkPolicyPort `protobuf:"bytes,1,rep,name=ports,proto3" json:"ports,omitempty"` From []*NetworkPolicyPeer `protobuf:"bytes,2,rep,name=from,proto3" json:"from,omitempty"` } -func (m *NetworkPolicyIngressRule) Reset() { *m = NetworkPolicyIngressRule{} } -func (m *NetworkPolicyIngressRule) String() string { return proto.CompactTextString(m) } -func (*NetworkPolicyIngressRule) ProtoMessage() {} -func (*NetworkPolicyIngressRule) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{189} -} -func (m *NetworkPolicyIngressRule) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *NetworkPolicyIngressRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_NetworkPolicyIngressRule.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *NetworkPolicyIngressRule) Reset() { + *x = NetworkPolicyIngressRule{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[189] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *NetworkPolicyIngressRule) XXX_Merge(src proto.Message) { - xxx_messageInfo_NetworkPolicyIngressRule.Merge(m, src) -} -func (m *NetworkPolicyIngressRule) XXX_Size() int { - return m.Size() + +func (x *NetworkPolicyIngressRule) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *NetworkPolicyIngressRule) XXX_DiscardUnknown() { - xxx_messageInfo_NetworkPolicyIngressRule.DiscardUnknown(m) + +func (*NetworkPolicyIngressRule) ProtoMessage() {} + +func (x *NetworkPolicyIngressRule) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[189] + 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) } -var xxx_messageInfo_NetworkPolicyIngressRule proto.InternalMessageInfo +// Deprecated: Use NetworkPolicyIngressRule.ProtoReflect.Descriptor instead. +func (*NetworkPolicyIngressRule) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{189} +} -func (m *NetworkPolicyIngressRule) GetPorts() []*NetworkPolicyPort { - if m != nil { - return m.Ports +func (x *NetworkPolicyIngressRule) GetPorts() []*NetworkPolicyPort { + if x != nil { + return x.Ports } return nil } -func (m *NetworkPolicyIngressRule) GetFrom() []*NetworkPolicyPeer { - if m != nil { - return m.From +func (x *NetworkPolicyIngressRule) GetFrom() []*NetworkPolicyPeer { + if x != nil { + return x.From } return nil } type NetworkPolicyEgressRule struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Ports []*NetworkPolicyPort `protobuf:"bytes,1,rep,name=ports,proto3" json:"ports,omitempty"` To []*NetworkPolicyPeer `protobuf:"bytes,2,rep,name=to,proto3" json:"to,omitempty"` } -func (m *NetworkPolicyEgressRule) Reset() { *m = NetworkPolicyEgressRule{} } -func (m *NetworkPolicyEgressRule) String() string { return proto.CompactTextString(m) } -func (*NetworkPolicyEgressRule) ProtoMessage() {} -func (*NetworkPolicyEgressRule) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{190} -} -func (m *NetworkPolicyEgressRule) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *NetworkPolicyEgressRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_NetworkPolicyEgressRule.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *NetworkPolicyEgressRule) Reset() { + *x = NetworkPolicyEgressRule{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[190] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *NetworkPolicyEgressRule) XXX_Merge(src proto.Message) { - xxx_messageInfo_NetworkPolicyEgressRule.Merge(m, src) -} -func (m *NetworkPolicyEgressRule) XXX_Size() int { - return m.Size() + +func (x *NetworkPolicyEgressRule) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *NetworkPolicyEgressRule) XXX_DiscardUnknown() { - xxx_messageInfo_NetworkPolicyEgressRule.DiscardUnknown(m) + +func (*NetworkPolicyEgressRule) ProtoMessage() {} + +func (x *NetworkPolicyEgressRule) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[190] + 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) } -var xxx_messageInfo_NetworkPolicyEgressRule proto.InternalMessageInfo +// Deprecated: Use NetworkPolicyEgressRule.ProtoReflect.Descriptor instead. +func (*NetworkPolicyEgressRule) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{190} +} -func (m *NetworkPolicyEgressRule) GetPorts() []*NetworkPolicyPort { - if m != nil { - return m.Ports +func (x *NetworkPolicyEgressRule) GetPorts() []*NetworkPolicyPort { + if x != nil { + return x.Ports } return nil } -func (m *NetworkPolicyEgressRule) GetTo() []*NetworkPolicyPeer { - if m != nil { - return m.To +func (x *NetworkPolicyEgressRule) GetTo() []*NetworkPolicyPeer { + if x != nil { + return x.To } return nil } type NetworkPolicyPeer struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + PodSelector []*LabelSelectorRequirement `protobuf:"bytes,1,rep,name=podSelector,proto3" json:"podSelector,omitempty"` NamespaceSelector []*LabelSelectorRequirement `protobuf:"bytes,2,rep,name=namespaceSelector,proto3" json:"namespaceSelector,omitempty"` IpBlock *NetworkPolicyIPBlock `protobuf:"bytes,3,opt,name=ipBlock,proto3" json:"ipBlock,omitempty"` @@ -16272,248 +16962,260 @@ type NetworkPolicyPeer struct { HasNamespaceSelector bool `protobuf:"varint,5,opt,name=hasNamespaceSelector,proto3" json:"hasNamespaceSelector,omitempty"` } -func (m *NetworkPolicyPeer) Reset() { *m = NetworkPolicyPeer{} } -func (m *NetworkPolicyPeer) String() string { return proto.CompactTextString(m) } -func (*NetworkPolicyPeer) ProtoMessage() {} -func (*NetworkPolicyPeer) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{191} -} -func (m *NetworkPolicyPeer) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *NetworkPolicyPeer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_NetworkPolicyPeer.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *NetworkPolicyPeer) Reset() { + *x = NetworkPolicyPeer{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[191] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *NetworkPolicyPeer) XXX_Merge(src proto.Message) { - xxx_messageInfo_NetworkPolicyPeer.Merge(m, src) -} -func (m *NetworkPolicyPeer) XXX_Size() int { - return m.Size() + +func (x *NetworkPolicyPeer) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *NetworkPolicyPeer) XXX_DiscardUnknown() { - xxx_messageInfo_NetworkPolicyPeer.DiscardUnknown(m) + +func (*NetworkPolicyPeer) ProtoMessage() {} + +func (x *NetworkPolicyPeer) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[191] + 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) } -var xxx_messageInfo_NetworkPolicyPeer proto.InternalMessageInfo +// Deprecated: Use NetworkPolicyPeer.ProtoReflect.Descriptor instead. +func (*NetworkPolicyPeer) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{191} +} -func (m *NetworkPolicyPeer) GetPodSelector() []*LabelSelectorRequirement { - if m != nil { - return m.PodSelector +func (x *NetworkPolicyPeer) GetPodSelector() []*LabelSelectorRequirement { + if x != nil { + return x.PodSelector } return nil } -func (m *NetworkPolicyPeer) GetNamespaceSelector() []*LabelSelectorRequirement { - if m != nil { - return m.NamespaceSelector +func (x *NetworkPolicyPeer) GetNamespaceSelector() []*LabelSelectorRequirement { + if x != nil { + return x.NamespaceSelector } return nil } -func (m *NetworkPolicyPeer) GetIpBlock() *NetworkPolicyIPBlock { - if m != nil { - return m.IpBlock +func (x *NetworkPolicyPeer) GetIpBlock() *NetworkPolicyIPBlock { + if x != nil { + return x.IpBlock } return nil } -func (m *NetworkPolicyPeer) GetHasPodSelector() bool { - if m != nil { - return m.HasPodSelector +func (x *NetworkPolicyPeer) GetHasPodSelector() bool { + if x != nil { + return x.HasPodSelector } return false } -func (m *NetworkPolicyPeer) GetHasNamespaceSelector() bool { - if m != nil { - return m.HasNamespaceSelector +func (x *NetworkPolicyPeer) GetHasNamespaceSelector() bool { + if x != nil { + return x.HasNamespaceSelector } return false } type NetworkPolicyPort struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Protocol string `protobuf:"bytes,1,opt,name=protocol,proto3" json:"protocol,omitempty"` Port int32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"` EndPort int32 `protobuf:"varint,3,opt,name=endPort,proto3" json:"endPort,omitempty"` } -func (m *NetworkPolicyPort) Reset() { *m = NetworkPolicyPort{} } -func (m *NetworkPolicyPort) String() string { return proto.CompactTextString(m) } -func (*NetworkPolicyPort) ProtoMessage() {} -func (*NetworkPolicyPort) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{192} -} -func (m *NetworkPolicyPort) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *NetworkPolicyPort) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_NetworkPolicyPort.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *NetworkPolicyPort) Reset() { + *x = NetworkPolicyPort{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[192] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *NetworkPolicyPort) XXX_Merge(src proto.Message) { - xxx_messageInfo_NetworkPolicyPort.Merge(m, src) -} -func (m *NetworkPolicyPort) XXX_Size() int { - return m.Size() + +func (x *NetworkPolicyPort) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *NetworkPolicyPort) XXX_DiscardUnknown() { - xxx_messageInfo_NetworkPolicyPort.DiscardUnknown(m) + +func (*NetworkPolicyPort) ProtoMessage() {} + +func (x *NetworkPolicyPort) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[192] + 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) } -var xxx_messageInfo_NetworkPolicyPort proto.InternalMessageInfo +// Deprecated: Use NetworkPolicyPort.ProtoReflect.Descriptor instead. +func (*NetworkPolicyPort) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{192} +} -func (m *NetworkPolicyPort) GetProtocol() string { - if m != nil { - return m.Protocol +func (x *NetworkPolicyPort) GetProtocol() string { + if x != nil { + return x.Protocol } return "" } -func (m *NetworkPolicyPort) GetPort() int32 { - if m != nil { - return m.Port +func (x *NetworkPolicyPort) GetPort() int32 { + if x != nil { + return x.Port } return 0 } -func (m *NetworkPolicyPort) GetEndPort() int32 { - if m != nil { - return m.EndPort +func (x *NetworkPolicyPort) GetEndPort() int32 { + if x != nil { + return x.EndPort } return 0 } // https://github.com/kubernetes/api/blob/v0.23.15/core/v1/types.go#L5800 type LimitRange struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` Spec *LimitRangeSpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"` LimitTypes []string `protobuf:"bytes,3,rep,name=limitTypes,proto3" json:"limitTypes,omitempty"` Tags []string `protobuf:"bytes,4,rep,name=tags,proto3" json:"tags,omitempty"` } -func (m *LimitRange) Reset() { *m = LimitRange{} } -func (m *LimitRange) String() string { return proto.CompactTextString(m) } -func (*LimitRange) ProtoMessage() {} -func (*LimitRange) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{193} -} -func (m *LimitRange) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *LimitRange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_LimitRange.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *LimitRange) Reset() { + *x = LimitRange{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[193] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *LimitRange) XXX_Merge(src proto.Message) { - xxx_messageInfo_LimitRange.Merge(m, src) -} -func (m *LimitRange) XXX_Size() int { - return m.Size() + +func (x *LimitRange) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *LimitRange) XXX_DiscardUnknown() { - xxx_messageInfo_LimitRange.DiscardUnknown(m) + +func (*LimitRange) ProtoMessage() {} + +func (x *LimitRange) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[193] + 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) } -var xxx_messageInfo_LimitRange proto.InternalMessageInfo +// Deprecated: Use LimitRange.ProtoReflect.Descriptor instead. +func (*LimitRange) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{193} +} -func (m *LimitRange) GetMetadata() *Metadata { - if m != nil { - return m.Metadata +func (x *LimitRange) GetMetadata() *Metadata { + if x != nil { + return x.Metadata } return nil } -func (m *LimitRange) GetSpec() *LimitRangeSpec { - if m != nil { - return m.Spec +func (x *LimitRange) GetSpec() *LimitRangeSpec { + if x != nil { + return x.Spec } return nil } -func (m *LimitRange) GetLimitTypes() []string { - if m != nil { - return m.LimitTypes +func (x *LimitRange) GetLimitTypes() []string { + if x != nil { + return x.LimitTypes } return nil } -func (m *LimitRange) GetTags() []string { - if m != nil { - return m.Tags +func (x *LimitRange) GetTags() []string { + if x != nil { + return x.Tags } return nil } type LimitRangeSpec struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Limits []*LimitRangeItem `protobuf:"bytes,1,rep,name=limits,proto3" json:"limits,omitempty"` } -func (m *LimitRangeSpec) Reset() { *m = LimitRangeSpec{} } -func (m *LimitRangeSpec) String() string { return proto.CompactTextString(m) } -func (*LimitRangeSpec) ProtoMessage() {} -func (*LimitRangeSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{194} -} -func (m *LimitRangeSpec) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *LimitRangeSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_LimitRangeSpec.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *LimitRangeSpec) Reset() { + *x = LimitRangeSpec{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[194] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *LimitRangeSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_LimitRangeSpec.Merge(m, src) -} -func (m *LimitRangeSpec) XXX_Size() int { - return m.Size() + +func (x *LimitRangeSpec) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *LimitRangeSpec) XXX_DiscardUnknown() { - xxx_messageInfo_LimitRangeSpec.DiscardUnknown(m) + +func (*LimitRangeSpec) ProtoMessage() {} + +func (x *LimitRangeSpec) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[194] + 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) } -var xxx_messageInfo_LimitRangeSpec proto.InternalMessageInfo +// Deprecated: Use LimitRangeSpec.ProtoReflect.Descriptor instead. +func (*LimitRangeSpec) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{194} +} -func (m *LimitRangeSpec) GetLimits() []*LimitRangeItem { - if m != nil { - return m.Limits +func (x *LimitRangeSpec) GetLimits() []*LimitRangeItem { + if x != nil { + return x.Limits } return nil } type LimitRangeItem struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Default map[string]int64 `protobuf:"bytes,2,rep,name=default,proto3" json:"default,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` DefaultRequest map[string]int64 `protobuf:"bytes,3,rep,name=defaultRequest,proto3" json:"defaultRequest,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` @@ -16522,83 +17224,86 @@ type LimitRangeItem struct { MaxLimitRequestRatio map[string]int64 `protobuf:"bytes,6,rep,name=maxLimitRequestRatio,proto3" json:"maxLimitRequestRatio,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` } -func (m *LimitRangeItem) Reset() { *m = LimitRangeItem{} } -func (m *LimitRangeItem) String() string { return proto.CompactTextString(m) } -func (*LimitRangeItem) ProtoMessage() {} -func (*LimitRangeItem) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{195} -} -func (m *LimitRangeItem) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *LimitRangeItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_LimitRangeItem.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *LimitRangeItem) Reset() { + *x = LimitRangeItem{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[195] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *LimitRangeItem) XXX_Merge(src proto.Message) { - xxx_messageInfo_LimitRangeItem.Merge(m, src) -} -func (m *LimitRangeItem) XXX_Size() int { - return m.Size() + +func (x *LimitRangeItem) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *LimitRangeItem) XXX_DiscardUnknown() { - xxx_messageInfo_LimitRangeItem.DiscardUnknown(m) + +func (*LimitRangeItem) ProtoMessage() {} + +func (x *LimitRangeItem) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[195] + 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) } -var xxx_messageInfo_LimitRangeItem proto.InternalMessageInfo +// Deprecated: Use LimitRangeItem.ProtoReflect.Descriptor instead. +func (*LimitRangeItem) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{195} +} -func (m *LimitRangeItem) GetType() string { - if m != nil { - return m.Type +func (x *LimitRangeItem) GetType() string { + if x != nil { + return x.Type } return "" } -func (m *LimitRangeItem) GetDefault() map[string]int64 { - if m != nil { - return m.Default +func (x *LimitRangeItem) GetDefault() map[string]int64 { + if x != nil { + return x.Default } return nil } -func (m *LimitRangeItem) GetDefaultRequest() map[string]int64 { - if m != nil { - return m.DefaultRequest +func (x *LimitRangeItem) GetDefaultRequest() map[string]int64 { + if x != nil { + return x.DefaultRequest } return nil } -func (m *LimitRangeItem) GetMax() map[string]int64 { - if m != nil { - return m.Max +func (x *LimitRangeItem) GetMax() map[string]int64 { + if x != nil { + return x.Max } return nil } -func (m *LimitRangeItem) GetMin() map[string]int64 { - if m != nil { - return m.Min +func (x *LimitRangeItem) GetMin() map[string]int64 { + if x != nil { + return x.Min } return nil } -func (m *LimitRangeItem) GetMaxLimitRequestRatio() map[string]int64 { - if m != nil { - return m.MaxLimitRequestRatio +func (x *LimitRangeItem) GetMaxLimitRequestRatio() map[string]int64 { + if x != nil { + return x.MaxLimitRequestRatio } return nil } // https://github.com/kubernetes/api/blob/v0.23.15/storage/v1/types.go#L33 type StorageClass struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` Provisioner string `protobuf:"bytes,2,opt,name=provisioner,proto3" json:"provisioner,omitempty"` Parameters map[string]string `protobuf:"bytes,3,rep,name=parameters,proto3" json:"parameters,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` @@ -16610,65459 +17315,6756 @@ type StorageClass struct { Tags []string `protobuf:"bytes,9,rep,name=tags,proto3" json:"tags,omitempty"` } -func (m *StorageClass) Reset() { *m = StorageClass{} } -func (m *StorageClass) String() string { return proto.CompactTextString(m) } -func (*StorageClass) ProtoMessage() {} -func (*StorageClass) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{196} -} -func (m *StorageClass) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *StorageClass) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_StorageClass.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *StorageClass) Reset() { + *x = StorageClass{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[196] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *StorageClass) XXX_Merge(src proto.Message) { - xxx_messageInfo_StorageClass.Merge(m, src) -} -func (m *StorageClass) XXX_Size() int { - return m.Size() + +func (x *StorageClass) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *StorageClass) XXX_DiscardUnknown() { - xxx_messageInfo_StorageClass.DiscardUnknown(m) + +func (*StorageClass) ProtoMessage() {} + +func (x *StorageClass) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[196] + 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) } -var xxx_messageInfo_StorageClass proto.InternalMessageInfo +// Deprecated: Use StorageClass.ProtoReflect.Descriptor instead. +func (*StorageClass) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{196} +} -func (m *StorageClass) GetMetadata() *Metadata { - if m != nil { - return m.Metadata +func (x *StorageClass) GetMetadata() *Metadata { + if x != nil { + return x.Metadata } return nil } -func (m *StorageClass) GetProvisioner() string { - if m != nil { - return m.Provisioner +func (x *StorageClass) GetProvisioner() string { + if x != nil { + return x.Provisioner } return "" } -func (m *StorageClass) GetParameters() map[string]string { - if m != nil { - return m.Parameters +func (x *StorageClass) GetParameters() map[string]string { + if x != nil { + return x.Parameters } return nil } -func (m *StorageClass) GetReclaimPolicy() string { - if m != nil { - return m.ReclaimPolicy +func (x *StorageClass) GetReclaimPolicy() string { + if x != nil { + return x.ReclaimPolicy } return "" } -func (m *StorageClass) GetMountOptions() []string { - if m != nil { - return m.MountOptions +func (x *StorageClass) GetMountOptions() []string { + if x != nil { + return x.MountOptions } return nil } -func (m *StorageClass) GetAllowVolumeExpansion() bool { - if m != nil { - return m.AllowVolumeExpansion +func (x *StorageClass) GetAllowVolumeExpansion() bool { + if x != nil { + return x.AllowVolumeExpansion } return false } -func (m *StorageClass) GetAllowedTopologies() *StorageClassTopologies { - if m != nil { - return m.AllowedTopologies +func (x *StorageClass) GetAllowedTopologies() *StorageClassTopologies { + if x != nil { + return x.AllowedTopologies } return nil } -func (m *StorageClass) GetVolumeBindingMode() string { - if m != nil { - return m.VolumeBindingMode +func (x *StorageClass) GetVolumeBindingMode() string { + if x != nil { + return x.VolumeBindingMode } return "" } -func (m *StorageClass) GetTags() []string { - if m != nil { - return m.Tags +func (x *StorageClass) GetTags() []string { + if x != nil { + return x.Tags } return nil } type StorageClassTopologies struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + LabelSelectors []*TopologyLabelSelector `protobuf:"bytes,1,rep,name=labelSelectors,proto3" json:"labelSelectors,omitempty"` } -func (m *StorageClassTopologies) Reset() { *m = StorageClassTopologies{} } -func (m *StorageClassTopologies) String() string { return proto.CompactTextString(m) } -func (*StorageClassTopologies) ProtoMessage() {} -func (*StorageClassTopologies) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{197} -} -func (m *StorageClassTopologies) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *StorageClassTopologies) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_StorageClassTopologies.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *StorageClassTopologies) Reset() { + *x = StorageClassTopologies{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[197] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *StorageClassTopologies) XXX_Merge(src proto.Message) { - xxx_messageInfo_StorageClassTopologies.Merge(m, src) -} -func (m *StorageClassTopologies) XXX_Size() int { - return m.Size() + +func (x *StorageClassTopologies) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *StorageClassTopologies) XXX_DiscardUnknown() { - xxx_messageInfo_StorageClassTopologies.DiscardUnknown(m) + +func (*StorageClassTopologies) ProtoMessage() {} + +func (x *StorageClassTopologies) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[197] + 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) } -var xxx_messageInfo_StorageClassTopologies proto.InternalMessageInfo +// Deprecated: Use StorageClassTopologies.ProtoReflect.Descriptor instead. +func (*StorageClassTopologies) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{197} +} -func (m *StorageClassTopologies) GetLabelSelectors() []*TopologyLabelSelector { - if m != nil { - return m.LabelSelectors +func (x *StorageClassTopologies) GetLabelSelectors() []*TopologyLabelSelector { + if x != nil { + return x.LabelSelectors } return nil } type TopologyLabelSelector struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Values []string `protobuf:"bytes,2,rep,name=values,proto3" json:"values,omitempty"` } -func (m *TopologyLabelSelector) Reset() { *m = TopologyLabelSelector{} } -func (m *TopologyLabelSelector) String() string { return proto.CompactTextString(m) } -func (*TopologyLabelSelector) ProtoMessage() {} -func (*TopologyLabelSelector) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{198} -} -func (m *TopologyLabelSelector) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *TopologyLabelSelector) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_TopologyLabelSelector.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *TopologyLabelSelector) Reset() { + *x = TopologyLabelSelector{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[198] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *TopologyLabelSelector) XXX_Merge(src proto.Message) { - xxx_messageInfo_TopologyLabelSelector.Merge(m, src) -} -func (m *TopologyLabelSelector) XXX_Size() int { - return m.Size() + +func (x *TopologyLabelSelector) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *TopologyLabelSelector) XXX_DiscardUnknown() { - xxx_messageInfo_TopologyLabelSelector.DiscardUnknown(m) + +func (*TopologyLabelSelector) ProtoMessage() {} + +func (x *TopologyLabelSelector) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[198] + 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) } -var xxx_messageInfo_TopologyLabelSelector proto.InternalMessageInfo +// Deprecated: Use TopologyLabelSelector.ProtoReflect.Descriptor instead. +func (*TopologyLabelSelector) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{198} +} -func (m *TopologyLabelSelector) GetKey() string { - if m != nil { - return m.Key +func (x *TopologyLabelSelector) GetKey() string { + if x != nil { + return x.Key } return "" } -func (m *TopologyLabelSelector) GetValues() []string { - if m != nil { - return m.Values +func (x *TopologyLabelSelector) GetValues() []string { + if x != nil { + return x.Values } return nil } -func init() { - proto.RegisterEnum("datadog.process_agent.ContainerHostType", ContainerHostType_name, ContainerHostType_value) - proto.RegisterEnum("datadog.process_agent.ContainerState", ContainerState_name, ContainerState_value) - proto.RegisterEnum("datadog.process_agent.ContainerHealth", ContainerHealth_name, ContainerHealth_value) - proto.RegisterEnum("datadog.process_agent.ProcessState", ProcessState_name, ProcessState_value) - proto.RegisterEnum("datadog.process_agent.ConnectionType", ConnectionType_name, ConnectionType_value) - proto.RegisterEnum("datadog.process_agent.OrchestratorResource", OrchestratorResource_name, OrchestratorResource_value) - proto.RegisterEnum("datadog.process_agent.ResourceRequirementsType", ResourceRequirementsType_name, ResourceRequirementsType_value) - proto.RegisterEnum("datadog.process_agent.PostgresOperation", PostgresOperation_name, PostgresOperation_value) - proto.RegisterEnum("datadog.process_agent.HTTPResponseStatus", HTTPResponseStatus_name, HTTPResponseStatus_value) - proto.RegisterEnum("datadog.process_agent.HTTPMethod", HTTPMethod_name, HTTPMethod_value) - proto.RegisterEnum("datadog.process_agent.IntOrString_Type", IntOrString_Type_name, IntOrString_Type_value) - proto.RegisterType((*ResCollector)(nil), "datadog.process_agent.ResCollector") - proto.RegisterType((*ResCollector_Header)(nil), "datadog.process_agent.ResCollector.Header") - proto.RegisterType((*CollectorProc)(nil), "datadog.process_agent.CollectorProc") - proto.RegisterType((*CollectorProcDiscovery)(nil), "datadog.process_agent.CollectorProcDiscovery") - proto.RegisterType((*CollectorRealTime)(nil), "datadog.process_agent.CollectorRealTime") - proto.RegisterType((*CollectorContainer)(nil), "datadog.process_agent.CollectorContainer") - proto.RegisterType((*CollectorContainerRealTime)(nil), "datadog.process_agent.CollectorContainerRealTime") - proto.RegisterType((*CollectorReqStatus)(nil), "datadog.process_agent.CollectorReqStatus") - proto.RegisterType((*CollectorECSTask)(nil), "datadog.process_agent.CollectorECSTask") - proto.RegisterType((*ECSTask)(nil), "datadog.process_agent.ECSTask") - proto.RegisterMapType((map[string]int64)(nil), "datadog.process_agent.ECSTask.EphemeralStorageMetricsEntry") - proto.RegisterMapType((map[string]float64)(nil), "datadog.process_agent.ECSTask.LimitsEntry") - proto.RegisterType((*ECSContainer)(nil), "datadog.process_agent.ECSContainer") - proto.RegisterMapType((map[string]float64)(nil), "datadog.process_agent.ECSContainer.LimitsEntry") - proto.RegisterMapType((map[string]string)(nil), "datadog.process_agent.ECSContainer.LogOptionsEntry") - proto.RegisterType((*ECSContainerNetwork)(nil), "datadog.process_agent.ECSContainerNetwork") - proto.RegisterType((*ECSContainerPort)(nil), "datadog.process_agent.ECSContainerPort") - proto.RegisterType((*ECSContainerVolume)(nil), "datadog.process_agent.ECSContainerVolume") - proto.RegisterType((*ECSContainerHealth)(nil), "datadog.process_agent.ECSContainerHealth") - proto.RegisterType((*ECSContainerExitCode)(nil), "datadog.process_agent.ECSContainerExitCode") - proto.RegisterType((*CollectorPod)(nil), "datadog.process_agent.CollectorPod") - proto.RegisterType((*CollectorPodDisruptionBudget)(nil), "datadog.process_agent.CollectorPodDisruptionBudget") - proto.RegisterType((*CollectorReplicaSet)(nil), "datadog.process_agent.CollectorReplicaSet") - proto.RegisterType((*CollectorDeployment)(nil), "datadog.process_agent.CollectorDeployment") - proto.RegisterType((*CollectorService)(nil), "datadog.process_agent.CollectorService") - proto.RegisterType((*CollectorNode)(nil), "datadog.process_agent.CollectorNode") - proto.RegisterMapType((map[string]*Host)(nil), "datadog.process_agent.CollectorNode.HostAliasMappingEntry") - proto.RegisterType((*CollectorCluster)(nil), "datadog.process_agent.CollectorCluster") - proto.RegisterType((*CollectorManifest)(nil), "datadog.process_agent.CollectorManifest") - proto.RegisterType((*CollectorManifestCRD)(nil), "datadog.process_agent.CollectorManifestCRD") - proto.RegisterType((*CollectorManifestCR)(nil), "datadog.process_agent.CollectorManifestCR") - proto.RegisterType((*CollectorNamespace)(nil), "datadog.process_agent.CollectorNamespace") - proto.RegisterType((*CollectorJob)(nil), "datadog.process_agent.CollectorJob") - proto.RegisterType((*CollectorCronJob)(nil), "datadog.process_agent.CollectorCronJob") - proto.RegisterType((*CollectorDaemonSet)(nil), "datadog.process_agent.CollectorDaemonSet") - proto.RegisterType((*CollectorStatefulSet)(nil), "datadog.process_agent.CollectorStatefulSet") - proto.RegisterType((*CollectorPersistentVolume)(nil), "datadog.process_agent.CollectorPersistentVolume") - proto.RegisterType((*CollectorPersistentVolumeClaim)(nil), "datadog.process_agent.CollectorPersistentVolumeClaim") - proto.RegisterType((*CollectorRole)(nil), "datadog.process_agent.CollectorRole") - proto.RegisterType((*CollectorRoleBinding)(nil), "datadog.process_agent.CollectorRoleBinding") - proto.RegisterType((*CollectorClusterRole)(nil), "datadog.process_agent.CollectorClusterRole") - proto.RegisterType((*CollectorClusterRoleBinding)(nil), "datadog.process_agent.CollectorClusterRoleBinding") - proto.RegisterType((*CollectorServiceAccount)(nil), "datadog.process_agent.CollectorServiceAccount") - proto.RegisterType((*CollectorIngress)(nil), "datadog.process_agent.CollectorIngress") - proto.RegisterType((*CollectorVerticalPodAutoscaler)(nil), "datadog.process_agent.CollectorVerticalPodAutoscaler") - proto.RegisterType((*CollectorHorizontalPodAutoscaler)(nil), "datadog.process_agent.CollectorHorizontalPodAutoscaler") - proto.RegisterType((*CollectorNetworkPolicy)(nil), "datadog.process_agent.CollectorNetworkPolicy") - proto.RegisterType((*CollectorLimitRange)(nil), "datadog.process_agent.CollectorLimitRange") - proto.RegisterType((*CollectorStorageClass)(nil), "datadog.process_agent.CollectorStorageClass") - proto.RegisterType((*CollectorStatus)(nil), "datadog.process_agent.CollectorStatus") - proto.RegisterType((*Process)(nil), "datadog.process_agent.Process") - proto.RegisterType((*ProcessDiscovery)(nil), "datadog.process_agent.ProcessDiscovery") - proto.RegisterType((*Command)(nil), "datadog.process_agent.Command") - proto.RegisterType((*ProcessUser)(nil), "datadog.process_agent.ProcessUser") - proto.RegisterType((*ProcessNetworks)(nil), "datadog.process_agent.ProcessNetworks") - proto.RegisterType((*ContainerAddr)(nil), "datadog.process_agent.ContainerAddr") - proto.RegisterType((*Container)(nil), "datadog.process_agent.Container") - proto.RegisterType((*ProcessStat)(nil), "datadog.process_agent.ProcessStat") - proto.RegisterType((*ProcStatsWithPerm)(nil), "datadog.process_agent.ProcStatsWithPerm") - proto.RegisterType((*ProcStatsWithPermByPID)(nil), "datadog.process_agent.ProcStatsWithPermByPID") - proto.RegisterMapType((map[int32]*ProcStatsWithPerm)(nil), "datadog.process_agent.ProcStatsWithPermByPID.StatsByPIDEntry") - proto.RegisterType((*ContainerStat)(nil), "datadog.process_agent.ContainerStat") - proto.RegisterType((*SystemInfo)(nil), "datadog.process_agent.SystemInfo") - proto.RegisterType((*OSInfo)(nil), "datadog.process_agent.OSInfo") - proto.RegisterType((*IOStat)(nil), "datadog.process_agent.IOStat") - proto.RegisterType((*MemoryStat)(nil), "datadog.process_agent.MemoryStat") - proto.RegisterType((*CPUStat)(nil), "datadog.process_agent.CPUStat") - proto.RegisterType((*SingleCPUStat)(nil), "datadog.process_agent.SingleCPUStat") - proto.RegisterType((*CPUInfo)(nil), "datadog.process_agent.CPUInfo") - proto.RegisterType((*Host)(nil), "datadog.process_agent.Host") - proto.RegisterType((*Cluster)(nil), "datadog.process_agent.Cluster") - proto.RegisterMapType((map[string]int32)(nil), "datadog.process_agent.Cluster.ApiServerVersionsEntry") - proto.RegisterMapType((map[string]int64)(nil), "datadog.process_agent.Cluster.ExtendedResourcesAllocatableEntry") - proto.RegisterMapType((map[string]int64)(nil), "datadog.process_agent.Cluster.ExtendedResourcesCapacityEntry") - proto.RegisterMapType((map[string]int32)(nil), "datadog.process_agent.Cluster.KubeletVersionsEntry") - proto.RegisterType((*Metadata)(nil), "datadog.process_agent.Metadata") - proto.RegisterType((*OwnerReference)(nil), "datadog.process_agent.OwnerReference") - proto.RegisterType((*ObjectReference)(nil), "datadog.process_agent.ObjectReference") - proto.RegisterType((*ServicePort)(nil), "datadog.process_agent.ServicePort") - proto.RegisterType((*ServiceSessionAffinityConfig)(nil), "datadog.process_agent.ServiceSessionAffinityConfig") - proto.RegisterType((*Node)(nil), "datadog.process_agent.Node") - proto.RegisterType((*NodeStatus)(nil), "datadog.process_agent.NodeStatus") - proto.RegisterMapType((map[string]int64)(nil), "datadog.process_agent.NodeStatus.AllocatableEntry") - proto.RegisterMapType((map[string]int64)(nil), "datadog.process_agent.NodeStatus.CapacityEntry") - proto.RegisterMapType((map[string]string)(nil), "datadog.process_agent.NodeStatus.NodeAddressesEntry") - proto.RegisterType((*NodeCondition)(nil), "datadog.process_agent.NodeCondition") - proto.RegisterType((*ContainerImage)(nil), "datadog.process_agent.ContainerImage") - proto.RegisterType((*Taint)(nil), "datadog.process_agent.Taint") - proto.RegisterType((*ServiceSpec)(nil), "datadog.process_agent.ServiceSpec") - proto.RegisterType((*ServiceStatus)(nil), "datadog.process_agent.ServiceStatus") - proto.RegisterType((*Service)(nil), "datadog.process_agent.Service") - proto.RegisterType((*DeploymentCondition)(nil), "datadog.process_agent.DeploymentCondition") - proto.RegisterType((*Deployment)(nil), "datadog.process_agent.Deployment") - proto.RegisterType((*ReplicaSetCondition)(nil), "datadog.process_agent.ReplicaSetCondition") - proto.RegisterType((*ReplicaSet)(nil), "datadog.process_agent.ReplicaSet") - proto.RegisterType((*LabelSelectorRequirement)(nil), "datadog.process_agent.LabelSelectorRequirement") - proto.RegisterType((*PodDisruptionBudget)(nil), "datadog.process_agent.PodDisruptionBudget") - proto.RegisterType((*PodDisruptionBudgetSpec)(nil), "datadog.process_agent.PodDisruptionBudgetSpec") - proto.RegisterType((*PodDisruptionBudgetStatus)(nil), "datadog.process_agent.PodDisruptionBudgetStatus") - proto.RegisterMapType((map[string]int64)(nil), "datadog.process_agent.PodDisruptionBudgetStatus.DisruptedPodsEntry") - proto.RegisterType((*IntOrString)(nil), "datadog.process_agent.IntOrString") - proto.RegisterType((*Condition)(nil), "datadog.process_agent.Condition") - proto.RegisterType((*Pod)(nil), "datadog.process_agent.Pod") - proto.RegisterType((*PodCondition)(nil), "datadog.process_agent.PodCondition") - proto.RegisterType((*ContainerStatus)(nil), "datadog.process_agent.ContainerStatus") - proto.RegisterType((*Manifest)(nil), "datadog.process_agent.Manifest") - proto.RegisterType((*NamespaceCondition)(nil), "datadog.process_agent.NamespaceCondition") - proto.RegisterType((*Namespace)(nil), "datadog.process_agent.Namespace") - proto.RegisterType((*ResourceRequirements)(nil), "datadog.process_agent.ResourceRequirements") - proto.RegisterMapType((map[string]int64)(nil), "datadog.process_agent.ResourceRequirements.LimitsEntry") - proto.RegisterMapType((map[string]int64)(nil), "datadog.process_agent.ResourceRequirements.RequestsEntry") - proto.RegisterType((*ResourceMetrics)(nil), "datadog.process_agent.ResourceMetrics") - proto.RegisterMapType((map[string]float64)(nil), "datadog.process_agent.ResourceMetrics.MetricValuesEntry") - proto.RegisterType((*JobSpec)(nil), "datadog.process_agent.JobSpec") - proto.RegisterType((*JobStatus)(nil), "datadog.process_agent.JobStatus") - proto.RegisterType((*JobCondition)(nil), "datadog.process_agent.JobCondition") - proto.RegisterType((*Job)(nil), "datadog.process_agent.Job") - proto.RegisterType((*CronJobSpec)(nil), "datadog.process_agent.CronJobSpec") - proto.RegisterType((*CronJobStatus)(nil), "datadog.process_agent.CronJobStatus") - proto.RegisterType((*CronJob)(nil), "datadog.process_agent.CronJob") - proto.RegisterType((*DaemonSetSpec)(nil), "datadog.process_agent.DaemonSetSpec") - proto.RegisterType((*DaemonSetStatus)(nil), "datadog.process_agent.DaemonSetStatus") - proto.RegisterType((*DaemonSetCondition)(nil), "datadog.process_agent.DaemonSetCondition") - proto.RegisterType((*DaemonSet)(nil), "datadog.process_agent.DaemonSet") - proto.RegisterType((*StatefulSetSpec)(nil), "datadog.process_agent.StatefulSetSpec") - proto.RegisterType((*StatefulSetStatus)(nil), "datadog.process_agent.StatefulSetStatus") - proto.RegisterType((*StatefulSetCondition)(nil), "datadog.process_agent.StatefulSetCondition") - proto.RegisterType((*StatefulSet)(nil), "datadog.process_agent.StatefulSet") - proto.RegisterType((*PersistentVolume)(nil), "datadog.process_agent.PersistentVolume") - proto.RegisterType((*PersistentVolumeSpec)(nil), "datadog.process_agent.PersistentVolumeSpec") - proto.RegisterMapType((map[string]int64)(nil), "datadog.process_agent.PersistentVolumeSpec.CapacityEntry") - proto.RegisterType((*PersistentVolumeSource)(nil), "datadog.process_agent.PersistentVolumeSource") - proto.RegisterType((*GCEPersistentDiskVolumeSource)(nil), "datadog.process_agent.GCEPersistentDiskVolumeSource") - proto.RegisterType((*AWSElasticBlockStoreVolumeSource)(nil), "datadog.process_agent.AWSElasticBlockStoreVolumeSource") - proto.RegisterType((*AzureFilePersistentVolumeSource)(nil), "datadog.process_agent.AzureFilePersistentVolumeSource") - proto.RegisterType((*AzureDiskVolumeSource)(nil), "datadog.process_agent.AzureDiskVolumeSource") - proto.RegisterType((*CSIVolumeSource)(nil), "datadog.process_agent.CSIVolumeSource") - proto.RegisterMapType((map[string]string)(nil), "datadog.process_agent.CSIVolumeSource.VolumeAttributesEntry") - proto.RegisterType((*SecretReference)(nil), "datadog.process_agent.SecretReference") - proto.RegisterType((*PersistentVolumeStatus)(nil), "datadog.process_agent.PersistentVolumeStatus") - proto.RegisterType((*NodeSelectorTerm)(nil), "datadog.process_agent.NodeSelectorTerm") - proto.RegisterType((*PersistentVolumeClaim)(nil), "datadog.process_agent.PersistentVolumeClaim") - proto.RegisterType((*PersistentVolumeClaimStatus)(nil), "datadog.process_agent.PersistentVolumeClaimStatus") - proto.RegisterMapType((map[string]int64)(nil), "datadog.process_agent.PersistentVolumeClaimStatus.CapacityEntry") - proto.RegisterType((*PersistentVolumeClaimSpec)(nil), "datadog.process_agent.PersistentVolumeClaimSpec") - proto.RegisterType((*TypedLocalObjectReference)(nil), "datadog.process_agent.TypedLocalObjectReference") - proto.RegisterType((*PersistentVolumeClaimCondition)(nil), "datadog.process_agent.PersistentVolumeClaimCondition") - proto.RegisterType((*PolicyRule)(nil), "datadog.process_agent.PolicyRule") - proto.RegisterType((*Subject)(nil), "datadog.process_agent.Subject") - proto.RegisterType((*Role)(nil), "datadog.process_agent.Role") - proto.RegisterType((*RoleBinding)(nil), "datadog.process_agent.RoleBinding") - proto.RegisterType((*ClusterRole)(nil), "datadog.process_agent.ClusterRole") - proto.RegisterType((*ClusterRoleBinding)(nil), "datadog.process_agent.ClusterRoleBinding") - proto.RegisterType((*ServiceAccount)(nil), "datadog.process_agent.ServiceAccount") - proto.RegisterType((*IngressServiceBackend)(nil), "datadog.process_agent.IngressServiceBackend") - proto.RegisterType((*IngressBackend)(nil), "datadog.process_agent.IngressBackend") - proto.RegisterType((*IngressTLS)(nil), "datadog.process_agent.IngressTLS") - proto.RegisterType((*HTTPIngressPath)(nil), "datadog.process_agent.HTTPIngressPath") - proto.RegisterType((*IngressRule)(nil), "datadog.process_agent.IngressRule") - proto.RegisterType((*IngressSpec)(nil), "datadog.process_agent.IngressSpec") - proto.RegisterType((*PortStatus)(nil), "datadog.process_agent.PortStatus") - proto.RegisterType((*LoadBalancerIngress)(nil), "datadog.process_agent.LoadBalancerIngress") - proto.RegisterType((*IngressStatus)(nil), "datadog.process_agent.IngressStatus") - proto.RegisterType((*Ingress)(nil), "datadog.process_agent.Ingress") - proto.RegisterType((*KafkaStats)(nil), "datadog.process_agent.KafkaStats") - proto.RegisterType((*KafkaRequestHeader)(nil), "datadog.process_agent.KafkaRequestHeader") - proto.RegisterType((*KafkaAggregation)(nil), "datadog.process_agent.KafkaAggregation") - proto.RegisterMapType((map[int32]*KafkaStats)(nil), "datadog.process_agent.KafkaAggregation.StatsByErrorCodeEntry") - proto.RegisterType((*DataStreamsAggregations)(nil), "datadog.process_agent.DataStreamsAggregations") - proto.RegisterType((*PostgresStats)(nil), "datadog.process_agent.PostgresStats") - proto.RegisterType((*RedisStats)(nil), "datadog.process_agent.RedisStats") - proto.RegisterType((*DatabaseStats)(nil), "datadog.process_agent.DatabaseStats") - proto.RegisterType((*DatabaseAggregations)(nil), "datadog.process_agent.DatabaseAggregations") - proto.RegisterType((*HTTPAggregations)(nil), "datadog.process_agent.HTTPAggregations") - proto.RegisterType((*HTTP2Aggregations)(nil), "datadog.process_agent.HTTP2Aggregations") - proto.RegisterType((*HTTPStats)(nil), "datadog.process_agent.HTTPStats") - proto.RegisterMapType((map[int32]*HTTPStats_Data)(nil), "datadog.process_agent.HTTPStats.StatsByStatusCodeEntry") - proto.RegisterType((*HTTPStats_Data)(nil), "datadog.process_agent.HTTPStats.Data") - proto.RegisterType((*DNSDatabaseEntry)(nil), "datadog.process_agent.DNSDatabaseEntry") - proto.RegisterType((*ResourceList)(nil), "datadog.process_agent.ResourceList") - proto.RegisterMapType((map[string]float64)(nil), "datadog.process_agent.ResourceList.MetricValuesEntry") - proto.RegisterType((*VerticalPodAutoscaler)(nil), "datadog.process_agent.VerticalPodAutoscaler") - proto.RegisterType((*VerticalPodAutoscalerCondition)(nil), "datadog.process_agent.VerticalPodAutoscalerCondition") - proto.RegisterType((*VerticalPodAutoscalerSpec)(nil), "datadog.process_agent.VerticalPodAutoscalerSpec") - proto.RegisterType((*VerticalPodAutoscalerTarget)(nil), "datadog.process_agent.VerticalPodAutoscalerTarget") - proto.RegisterType((*ContainerResourcePolicy)(nil), "datadog.process_agent.ContainerResourcePolicy") - proto.RegisterType((*VerticalPodAutoscalerStatus)(nil), "datadog.process_agent.VerticalPodAutoscalerStatus") - proto.RegisterType((*ContainerRecommendation)(nil), "datadog.process_agent.ContainerRecommendation") - proto.RegisterType((*VPACondition)(nil), "datadog.process_agent.VPACondition") - proto.RegisterType((*HorizontalPodAutoscaler)(nil), "datadog.process_agent.HorizontalPodAutoscaler") - proto.RegisterType((*HorizontalPodAutoscalerSpec)(nil), "datadog.process_agent.HorizontalPodAutoscalerSpec") - proto.RegisterType((*HorizontalPodAutoscalerTarget)(nil), "datadog.process_agent.HorizontalPodAutoscalerTarget") - proto.RegisterType((*HorizontalPodAutoscalerMetricSpec)(nil), "datadog.process_agent.HorizontalPodAutoscalerMetricSpec") - proto.RegisterType((*ObjectMetricSource)(nil), "datadog.process_agent.ObjectMetricSource") - proto.RegisterType((*MetricTarget)(nil), "datadog.process_agent.MetricTarget") - proto.RegisterType((*MetricIdentifier)(nil), "datadog.process_agent.MetricIdentifier") - proto.RegisterType((*PodsMetricSource)(nil), "datadog.process_agent.PodsMetricSource") - proto.RegisterType((*ResourceMetricSource)(nil), "datadog.process_agent.ResourceMetricSource") - proto.RegisterType((*ContainerResourceMetricSource)(nil), "datadog.process_agent.ContainerResourceMetricSource") - proto.RegisterType((*ExternalMetricSource)(nil), "datadog.process_agent.ExternalMetricSource") - proto.RegisterType((*HorizontalPodAutoscalerBehavior)(nil), "datadog.process_agent.HorizontalPodAutoscalerBehavior") - proto.RegisterType((*HPAScalingRules)(nil), "datadog.process_agent.HPAScalingRules") - proto.RegisterType((*HPAScalingPolicy)(nil), "datadog.process_agent.HPAScalingPolicy") - proto.RegisterType((*HorizontalPodAutoscalerStatus)(nil), "datadog.process_agent.HorizontalPodAutoscalerStatus") - proto.RegisterType((*HorizontalPodAutoscalerCondition)(nil), "datadog.process_agent.HorizontalPodAutoscalerCondition") - proto.RegisterType((*HorizontalPodAutoscalerMetricStatus)(nil), "datadog.process_agent.HorizontalPodAutoscalerMetricStatus") - proto.RegisterType((*ObjectMetricStatus)(nil), "datadog.process_agent.ObjectMetricStatus") - proto.RegisterType((*PodsMetricStatus)(nil), "datadog.process_agent.PodsMetricStatus") - proto.RegisterType((*ResourceMetricStatus)(nil), "datadog.process_agent.ResourceMetricStatus") - proto.RegisterType((*ContainerResourceMetricStatus)(nil), "datadog.process_agent.ContainerResourceMetricStatus") - proto.RegisterType((*ExternalMetricStatus)(nil), "datadog.process_agent.ExternalMetricStatus") - proto.RegisterType((*NetworkPolicy)(nil), "datadog.process_agent.NetworkPolicy") - proto.RegisterType((*NetworkPolicySpec)(nil), "datadog.process_agent.NetworkPolicySpec") - proto.RegisterType((*NetworkPolicyIPBlock)(nil), "datadog.process_agent.NetworkPolicyIPBlock") - proto.RegisterType((*NetworkPolicyIngressRule)(nil), "datadog.process_agent.NetworkPolicyIngressRule") - proto.RegisterType((*NetworkPolicyEgressRule)(nil), "datadog.process_agent.NetworkPolicyEgressRule") - proto.RegisterType((*NetworkPolicyPeer)(nil), "datadog.process_agent.NetworkPolicyPeer") - proto.RegisterType((*NetworkPolicyPort)(nil), "datadog.process_agent.NetworkPolicyPort") - proto.RegisterType((*LimitRange)(nil), "datadog.process_agent.LimitRange") - proto.RegisterType((*LimitRangeSpec)(nil), "datadog.process_agent.LimitRangeSpec") - proto.RegisterType((*LimitRangeItem)(nil), "datadog.process_agent.LimitRangeItem") - proto.RegisterMapType((map[string]int64)(nil), "datadog.process_agent.LimitRangeItem.DefaultEntry") - proto.RegisterMapType((map[string]int64)(nil), "datadog.process_agent.LimitRangeItem.DefaultRequestEntry") - proto.RegisterMapType((map[string]int64)(nil), "datadog.process_agent.LimitRangeItem.MaxEntry") - proto.RegisterMapType((map[string]int64)(nil), "datadog.process_agent.LimitRangeItem.MaxLimitRequestRatioEntry") - proto.RegisterMapType((map[string]int64)(nil), "datadog.process_agent.LimitRangeItem.MinEntry") - proto.RegisterType((*StorageClass)(nil), "datadog.process_agent.StorageClass") - proto.RegisterMapType((map[string]string)(nil), "datadog.process_agent.StorageClass.ParametersEntry") - proto.RegisterType((*StorageClassTopologies)(nil), "datadog.process_agent.StorageClassTopologies") - proto.RegisterType((*TopologyLabelSelector)(nil), "datadog.process_agent.TopologyLabelSelector") -} - -func init() { proto.RegisterFile("proto/process/agent.proto", fileDescriptor_69b34851fbf62631) } - -var fileDescriptor_69b34851fbf62631 = []byte{ - // 12270 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe4, 0xbd, 0x6b, 0x8c, 0x25, 0x49, - 0x76, 0x10, 0xdc, 0x79, 0xdf, 0xf7, 0xd4, 0x2b, 0x2b, 0xba, 0xba, 0xbb, 0xba, 0xa6, 0xa7, 0xb7, - 0x27, 0x67, 0x76, 0xa6, 0xb7, 0x67, 0xb6, 0x66, 0xdc, 0x3b, 0x33, 0xdb, 0xf3, 0x9e, 0xaa, 0x5b, - 0xd5, 0xdd, 0x55, 0x5d, 0x8f, 0xeb, 0xbc, 0x55, 0x3d, 0xf6, 0xec, 0xee, 0xb7, 0x9b, 0x95, 0x19, - 0x55, 0x95, 0xae, 0xbc, 0x99, 0xd7, 0x99, 0x79, 0xab, 0xbb, 0xc6, 0x1f, 0x3f, 0x60, 0x6d, 0x0b, - 0x10, 0x88, 0x95, 0x6d, 0xb0, 0x17, 0x09, 0x4b, 0xc6, 0x80, 0xb0, 0x8d, 0x97, 0x35, 0x3f, 0x00, - 0xfb, 0x17, 0x58, 0x42, 0x46, 0xb6, 0x64, 0x19, 0x61, 0x89, 0xe5, 0x29, 0xb3, 0x8b, 0x91, 0x41, - 0x02, 0x19, 0xc9, 0x18, 0x09, 0x4b, 0x18, 0xc5, 0x2b, 0x33, 0xf2, 0x75, 0x1f, 0x55, 0x3d, 0x5b, - 0xb3, 0xe2, 0xd7, 0xbd, 0x71, 0x22, 0xce, 0xc9, 0x88, 0x13, 0x71, 0x4e, 0x9c, 0x88, 0x38, 0x71, - 0x02, 0xae, 0xf6, 0x7c, 0x2f, 0xf4, 0x5e, 0xee, 0xf9, 0x9e, 0x89, 0x83, 0xe0, 0x65, 0xe3, 0x00, - 0xbb, 0xe1, 0x22, 0x85, 0xa1, 0x4b, 0x96, 0x11, 0x1a, 0x96, 0x77, 0xb0, 0xc8, 0x33, 0xbf, 0x4c, - 0x33, 0xb5, 0xdf, 0x54, 0x60, 0x52, 0xc7, 0x41, 0xcb, 0x73, 0x1c, 0x6c, 0x86, 0x9e, 0x8f, 0x96, - 0xa1, 0x76, 0x88, 0x0d, 0x0b, 0xfb, 0xf3, 0xca, 0x0d, 0xe5, 0xe6, 0xc4, 0xed, 0x5b, 0x8b, 0xb9, - 0x88, 0x8b, 0x32, 0xd2, 0xe2, 0x7d, 0x8a, 0xa1, 0x73, 0x4c, 0x34, 0x0f, 0xf5, 0x2e, 0x0e, 0x02, - 0xe3, 0x00, 0xcf, 0x97, 0x6e, 0x28, 0x37, 0x9b, 0xba, 0x48, 0xa2, 0x77, 0xa1, 0x16, 0x84, 0x46, - 0xd8, 0x0f, 0xe6, 0xcb, 0x94, 0xfa, 0xf3, 0x05, 0xd4, 0x23, 0xd2, 0x1d, 0x5a, 0x5a, 0xe7, 0x58, - 0x0b, 0xd7, 0xa0, 0xc6, 0xbe, 0x85, 0x10, 0x54, 0xc2, 0x93, 0x1e, 0x9e, 0xaf, 0xdc, 0x50, 0x6e, - 0x56, 0x75, 0xfa, 0x5f, 0xfb, 0xdf, 0x65, 0x98, 0x8a, 0x30, 0xdb, 0xbe, 0x67, 0xa2, 0x05, 0x68, - 0x1c, 0x7a, 0x41, 0xb8, 0x65, 0x74, 0x45, 0x55, 0xa2, 0x34, 0xba, 0x06, 0x4d, 0x17, 0x87, 0x8f, - 0x3c, 0xff, 0x68, 0xcd, 0x9a, 0x9f, 0xa0, 0x99, 0x31, 0x00, 0xbd, 0x0d, 0x4d, 0x5e, 0x25, 0x4c, - 0x2a, 0x5b, 0xbe, 0x39, 0x71, 0xfb, 0x7a, 0x41, 0x65, 0xdb, 0x2c, 0xa5, 0xc7, 0x08, 0xe8, 0x65, - 0xa8, 0x90, 0xef, 0xd0, 0xda, 0x4d, 0xdc, 0x7e, 0xaa, 0x00, 0xf1, 0xbe, 0x17, 0x84, 0x3a, 0x2d, - 0x88, 0x5e, 0x83, 0x8a, 0xed, 0xee, 0x7b, 0xf3, 0x55, 0x8a, 0xf0, 0x4c, 0x01, 0x42, 0xe7, 0x24, - 0x08, 0x71, 0x77, 0xcd, 0xdd, 0xf7, 0x74, 0x5a, 0x9c, 0x70, 0xfa, 0xc0, 0xf7, 0xfa, 0xbd, 0x35, - 0x6b, 0xbe, 0x46, 0x19, 0x21, 0x92, 0xa4, 0x75, 0xf4, 0x6f, 0xc7, 0xfe, 0x08, 0xcf, 0xd7, 0x69, - 0x5e, 0x0c, 0x40, 0xef, 0x03, 0x98, 0x9e, 0x1b, 0x1a, 0xb6, 0x8b, 0xfd, 0x60, 0x1e, 0x68, 0xf3, - 0x6e, 0x14, 0xf6, 0x05, 0x2f, 0xa8, 0x4b, 0x38, 0xe8, 0x21, 0xcc, 0x46, 0x29, 0xd2, 0x8e, 0x1d, - 0xd2, 0x19, 0x93, 0x37, 0x94, 0x9b, 0xd3, 0xb7, 0x6f, 0x0e, 0x23, 0x24, 0xca, 0xeb, 0x59, 0x12, - 0xe8, 0x1a, 0x34, 0x0e, 0x6d, 0x37, 0xdc, 0x34, 0x82, 0xa3, 0xf9, 0x69, 0x52, 0xed, 0xfb, 0x17, - 0xf4, 0x08, 0xb2, 0x5c, 0x87, 0x2a, 0xf9, 0x1f, 0xac, 0x57, 0x1a, 0x53, 0xea, 0xf4, 0x7a, 0xa5, - 0xd1, 0x50, 0x9b, 0xeb, 0x95, 0x46, 0x53, 0x05, 0xed, 0x8f, 0x15, 0xb8, 0x9c, 0xe8, 0xfc, 0x15, - 0x3b, 0x30, 0xbd, 0x63, 0xec, 0x9f, 0x24, 0x46, 0x81, 0x92, 0x1a, 0x05, 0x12, 0x07, 0x4b, 0x03, - 0x38, 0x58, 0x4e, 0x73, 0xf0, 0x03, 0x40, 0xbc, 0x75, 0xe2, 0x3b, 0x36, 0x0e, 0xe6, 0x2b, 0x94, - 0x93, 0x2f, 0x0c, 0x1e, 0x28, 0x51, 0xc5, 0xf4, 0x1c, 0x12, 0xd1, 0xd0, 0xa9, 0x8e, 0x38, 0x74, - 0xb4, 0x5f, 0x29, 0xc3, 0x6c, 0xd4, 0x70, 0x1d, 0x1b, 0xce, 0x8e, 0xdd, 0xc5, 0x03, 0x47, 0xfe, - 0x1d, 0xa8, 0x12, 0x79, 0x12, 0xe3, 0x5a, 0x1b, 0x5c, 0x5d, 0x22, 0x82, 0x3a, 0x43, 0x40, 0x97, - 0xa1, 0x46, 0xa8, 0xac, 0x59, 0x74, 0x64, 0x97, 0x75, 0x9e, 0x42, 0x73, 0x50, 0xf5, 0xfc, 0x83, - 0x35, 0x8b, 0xd6, 0xba, 0xaa, 0xb3, 0xc4, 0xa9, 0x47, 0xe7, 0x3c, 0xd4, 0xdd, 0x7e, 0xb7, 0xd5, - 0xeb, 0x07, 0xf3, 0x0d, 0x86, 0xc7, 0x93, 0xe8, 0x06, 0x4c, 0x84, 0x5e, 0x68, 0x38, 0x9b, 0xb8, - 0xeb, 0xf9, 0x27, 0xf3, 0x4d, 0x5a, 0x09, 0x19, 0x84, 0x36, 0x60, 0x3a, 0x1a, 0x54, 0x1d, 0xda, - 0x48, 0x36, 0xba, 0x9f, 0x1b, 0x36, 0x28, 0x69, 0x33, 0x53, 0xb8, 0xf9, 0xa3, 0x7c, 0xe2, 0xcc, - 0xa3, 0x5c, 0xfb, 0xa9, 0x32, 0xa0, 0xa8, 0xcf, 0x22, 0x8c, 0x81, 0x03, 0x75, 0xb0, 0xba, 0x12, - 0xfa, 0xa3, 0x34, 0x9e, 0xfe, 0x48, 0xea, 0x81, 0xf2, 0x29, 0xf4, 0x80, 0xd4, 0xc7, 0x95, 0x01, - 0x7d, 0x5c, 0x4d, 0xf7, 0xb1, 0x18, 0xe6, 0x8d, 0x51, 0x35, 0x64, 0x6e, 0x57, 0x34, 0xcf, 0xdc, - 0x15, 0xeb, 0x95, 0x46, 0x4d, 0xad, 0xaf, 0x57, 0x1a, 0x75, 0xb5, 0xa1, 0x7d, 0xab, 0x04, 0x0b, - 0xd9, 0x6e, 0xc9, 0x95, 0xa9, 0x74, 0xf7, 0xbc, 0x29, 0x64, 0xaa, 0x34, 0xc6, 0x70, 0xe3, 0x52, - 0x25, 0x8d, 0xf7, 0xf2, 0xc0, 0xf1, 0x5e, 0xc9, 0x8e, 0xf7, 0x58, 0x22, 0xab, 0x09, 0x89, 0x3c, - 0xad, 0xec, 0xe5, 0xb2, 0xb9, 0x71, 0xf6, 0x11, 0xff, 0x8a, 0x34, 0xe0, 0x75, 0xfc, 0xc3, 0x6c, - 0x5e, 0x1f, 0xa4, 0xa5, 0x88, 0x8c, 0xa8, 0x11, 0xca, 0x6a, 0xab, 0xb3, 0x63, 0x04, 0x47, 0x48, - 0x83, 0x49, 0xe3, 0x51, 0xb0, 0x64, 0x9a, 0x5e, 0xdf, 0x0d, 0xd7, 0x56, 0x68, 0x37, 0x94, 0xf5, - 0x04, 0x8c, 0x30, 0xcd, 0x74, 0xfa, 0x41, 0x88, 0x7d, 0x89, 0xae, 0x0c, 0x22, 0x2c, 0xe0, 0xc9, - 0x35, 0x8b, 0xb2, 0xbc, 0xa9, 0xc7, 0x00, 0xc2, 0x52, 0x1f, 0x1f, 0xd8, 0x9e, 0x4b, 0xf9, 0xdd, - 0xd4, 0x79, 0x4a, 0x66, 0x69, 0x75, 0x00, 0x4b, 0x6b, 0x69, 0x96, 0xbe, 0x0a, 0xd5, 0xd0, 0x08, - 0x8e, 0x82, 0xf9, 0xfa, 0x40, 0x33, 0x82, 0x37, 0x51, 0x67, 0x85, 0xa9, 0x81, 0x63, 0x1c, 0x10, - 0x0d, 0x58, 0xbe, 0xd9, 0xd4, 0xe9, 0xff, 0x48, 0x68, 0x9a, 0xa3, 0x0a, 0x8d, 0xcc, 0x5f, 0x48, - 0x8d, 0x58, 0xa1, 0x32, 0x26, 0xc6, 0x52, 0x19, 0xda, 0xbf, 0xad, 0x43, 0x5d, 0xf4, 0x86, 0x0a, - 0x65, 0xc3, 0x77, 0xb9, 0x2c, 0x90, 0xbf, 0xe8, 0x26, 0xcc, 0xf8, 0x38, 0xf0, 0xfa, 0xbe, 0x89, - 0x1f, 0x62, 0x3f, 0x20, 0x4c, 0x64, 0xfc, 0x4f, 0x83, 0xd1, 0x75, 0x00, 0xc7, 0xe8, 0xbb, 0xe6, - 0x21, 0x1d, 0x61, 0xac, 0x13, 0x24, 0x08, 0x7a, 0x0e, 0xa6, 0x2c, 0x1c, 0xd8, 0x3e, 0xb6, 0xd8, - 0x58, 0xe1, 0x9d, 0x91, 0x04, 0x92, 0xbe, 0x3e, 0x72, 0xbd, 0x47, 0x2e, 0x2f, 0x53, 0x65, 0x7d, - 0x2d, 0x81, 0x48, 0x6f, 0xee, 0x1b, 0x5d, 0xdb, 0x39, 0xa1, 0x1d, 0xd3, 0xd4, 0x79, 0x8a, 0xf4, - 0xe6, 0x31, 0xaf, 0x61, 0x9d, 0x19, 0xa9, 0x3c, 0x89, 0x6e, 0x81, 0x6a, 0x1c, 0x1b, 0xb6, 0x63, - 0xec, 0xd9, 0x8e, 0x1d, 0x9e, 0x7c, 0xe8, 0xb9, 0x4c, 0x02, 0x9a, 0x7a, 0x06, 0x4e, 0xcc, 0x65, - 0xc7, 0xee, 0xda, 0x61, 0x30, 0xdf, 0xa4, 0x9d, 0x7b, 0x6b, 0x70, 0xe7, 0x2e, 0x6e, 0xd0, 0xc2, - 0xab, 0x6e, 0xe8, 0x9f, 0xe8, 0x1c, 0x13, 0xf5, 0xe1, 0x0a, 0xee, 0x1d, 0xe2, 0x2e, 0xf6, 0x0d, - 0xa7, 0x13, 0x7a, 0xbe, 0x71, 0x80, 0x37, 0x71, 0xe8, 0xdb, 0xa6, 0x98, 0xbb, 0xde, 0x1a, 0x42, - 0x74, 0x35, 0x1f, 0x9b, 0x7d, 0xa5, 0x88, 0x36, 0x61, 0x5d, 0x80, 0xfd, 0x63, 0xdb, 0xc4, 0x74, - 0x78, 0xb0, 0x29, 0x45, 0x06, 0x91, 0x59, 0xfd, 0xb8, 0x67, 0xae, 0x59, 0xd4, 0xae, 0x6b, 0xea, - 0x2c, 0x41, 0x3a, 0xa6, 0xd7, 0x77, 0x9c, 0x4e, 0x68, 0xf8, 0x21, 0xb6, 0x96, 0xc2, 0xf9, 0x29, - 0x2a, 0x83, 0x49, 0x60, 0x5c, 0xca, 0xeb, 0xf5, 0x68, 0xa9, 0x69, 0xb9, 0x14, 0x07, 0xa2, 0x45, - 0x40, 0xf8, 0x31, 0x36, 0xfb, 0xa1, 0xed, 0xb9, 0x71, 0xd1, 0x19, 0x5a, 0x34, 0x27, 0x07, 0xb5, - 0x12, 0xf3, 0x95, 0x4a, 0xb9, 0xf3, 0x6c, 0x31, 0x77, 0xf2, 0xa7, 0x2c, 0x21, 0x59, 0xb3, 0x92, - 0x64, 0xcd, 0x43, 0x1d, 0x9b, 0xc1, 0x0e, 0x01, 0x23, 0x0a, 0x16, 0x49, 0xf4, 0x2a, 0x5c, 0x8a, - 0x70, 0xd7, 0xdc, 0x20, 0x34, 0x5c, 0x13, 0xd3, 0x72, 0x17, 0x69, 0xb9, 0xfc, 0xcc, 0x48, 0x52, - 0xe7, 0x46, 0x94, 0xd4, 0x85, 0x37, 0x60, 0x42, 0x1a, 0x1b, 0x44, 0xb2, 0x8e, 0xf0, 0x89, 0x90, - 0xac, 0x23, 0x7c, 0x42, 0x3b, 0xc3, 0x70, 0xfa, 0x4c, 0x9f, 0x29, 0x3a, 0x4b, 0xbc, 0x59, 0xba, - 0xa3, 0x2c, 0xac, 0xc3, 0xb5, 0x41, 0x23, 0x60, 0x18, 0xad, 0xb2, 0x44, 0x4b, 0xfb, 0x07, 0x0d, - 0x98, 0x94, 0x19, 0x47, 0x34, 0x88, 0xe5, 0x99, 0x47, 0xd8, 0xe7, 0xca, 0xb6, 0xa9, 0x47, 0x69, - 0x22, 0xc2, 0xec, 0xbf, 0xa4, 0x67, 0x25, 0x08, 0x61, 0xb4, 0x4b, 0x72, 0x98, 0x70, 0xd3, 0xff, - 0xe4, 0xd3, 0x76, 0x97, 0xac, 0x0c, 0x99, 0x38, 0xb3, 0x04, 0x61, 0x3f, 0xfd, 0xb3, 0xb6, 0xc2, - 0x45, 0x58, 0x24, 0xa9, 0xaa, 0xf6, 0xb1, 0xc1, 0x46, 0x5a, 0x8d, 0x56, 0x37, 0x06, 0x90, 0xdc, - 0x20, 0x1a, 0x87, 0x75, 0x96, 0x1b, 0x01, 0x48, 0xfd, 0xf6, 0x6d, 0xd7, 0x0e, 0x0e, 0x69, 0x76, - 0x83, 0x66, 0x4b, 0x90, 0xac, 0x8a, 0x69, 0x8e, 0xa0, 0x62, 0x20, 0xab, 0x62, 0xee, 0x41, 0x03, - 0x3f, 0xb6, 0xc3, 0x96, 0x67, 0x61, 0xae, 0x4d, 0x5f, 0x1c, 0x61, 0x4c, 0xae, 0x72, 0x14, 0x3d, - 0x42, 0x8e, 0x16, 0xb5, 0x4c, 0xde, 0xe8, 0x7f, 0xd2, 0x44, 0xc7, 0x3b, 0x58, 0xf1, 0xed, 0x63, - 0xec, 0x53, 0x51, 0x6b, 0xea, 0x31, 0x00, 0x75, 0x00, 0x1c, 0xef, 0x60, 0xbb, 0x47, 0xc4, 0x24, - 0x98, 0x9f, 0xa6, 0x02, 0xf1, 0xb9, 0x11, 0x3e, 0xbe, 0xb8, 0x11, 0x61, 0x31, 0x35, 0x21, 0x91, - 0x21, 0x93, 0x6c, 0x34, 0xaa, 0x97, 0x7c, 0x97, 0xca, 0x63, 0x53, 0x4f, 0xc0, 0xd0, 0x3b, 0x50, - 0xed, 0x79, 0x7e, 0x28, 0x84, 0xf0, 0x85, 0x11, 0xbe, 0xd9, 0xf6, 0xfc, 0x50, 0x67, 0x58, 0xe8, - 0x2e, 0x34, 0xb8, 0xf1, 0xca, 0xe4, 0x70, 0xa0, 0xe6, 0x8c, 0x28, 0x6c, 0x31, 0x14, 0x3d, 0xc2, - 0x45, 0x2d, 0xa8, 0x1f, 0x7b, 0x4e, 0xbf, 0x8b, 0x99, 0xdc, 0x4e, 0xdc, 0xfe, 0xcc, 0x08, 0x64, - 0x1e, 0x52, 0x0c, 0x5d, 0x60, 0xa2, 0x25, 0xba, 0xe7, 0xe1, 0x84, 0x87, 0xf3, 0x17, 0x69, 0xef, - 0x8d, 0x42, 0xe3, 0x3e, 0x45, 0xd0, 0x39, 0x22, 0x99, 0x65, 0x1c, 0x63, 0x0f, 0x3b, 0xc1, 0xfc, - 0x1c, 0x55, 0x0b, 0x3c, 0x85, 0xee, 0x45, 0xf3, 0xc3, 0x25, 0x5a, 0xbd, 0x97, 0x47, 0xea, 0x9b, - 0x9c, 0x49, 0x82, 0x68, 0x6b, 0xd7, 0xe8, 0x05, 0x87, 0x5e, 0x18, 0x62, 0x7f, 0xfe, 0x32, 0xd7, - 0xd6, 0x31, 0x68, 0xe1, 0x1d, 0x98, 0x49, 0x75, 0xea, 0x30, 0xc9, 0x6f, 0xca, 0x5a, 0xe4, 0xf4, - 0x0a, 0x48, 0xfb, 0xaa, 0x02, 0x17, 0x73, 0xba, 0x89, 0xd4, 0x99, 0x77, 0xd4, 0x26, 0x11, 0x0d, - 0x46, 0x4b, 0x06, 0x11, 0x09, 0xb4, 0x7b, 0xc7, 0xaf, 0x2e, 0x59, 0x96, 0xcf, 0x76, 0x5a, 0x4a, - 0x94, 0x7b, 0x49, 0x20, 0x2f, 0xf5, 0x7a, 0x5c, 0xaa, 0x1c, 0x95, 0x8a, 0x81, 0xda, 0x9f, 0x57, - 0x40, 0x4d, 0x0f, 0x37, 0x82, 0x6a, 0xca, 0x00, 0x5a, 0x89, 0xaa, 0x9e, 0x04, 0x12, 0x25, 0x47, - 0x77, 0xc9, 0x4c, 0xcf, 0x11, 0x66, 0xa8, 0x48, 0x47, 0x06, 0x76, 0x8f, 0xab, 0x31, 0x9e, 0x12, - 0xa6, 0x15, 0x25, 0xca, 0x56, 0x3e, 0x51, 0x5a, 0x73, 0x01, 0x65, 0xc7, 0x5b, 0x4a, 0x5d, 0x2a, - 0x19, 0x75, 0x79, 0x19, 0x6a, 0xcc, 0x44, 0xe2, 0x75, 0xe0, 0x29, 0xc2, 0x46, 0x0b, 0x07, 0xa1, - 0xed, 0x1a, 0xa4, 0x6b, 0x79, 0x35, 0x64, 0x90, 0xf6, 0xf3, 0x4a, 0xf2, 0x83, 0xf7, 0xa3, 0x41, - 0xc9, 0x77, 0xdb, 0x14, 0x4e, 0x90, 0xe9, 0xab, 0x39, 0xa8, 0x06, 0xb6, 0x6b, 0x46, 0xea, 0x9f, - 0x26, 0x12, 0x5a, 0xac, 0x7c, 0x16, 0x2d, 0x76, 0x19, 0x6a, 0x5e, 0x3f, 0xec, 0xf5, 0x43, 0x61, - 0x3f, 0xb3, 0x94, 0x76, 0x1b, 0xe6, 0xf2, 0x30, 0x09, 0x27, 0x13, 0x1f, 0xae, 0xc6, 0xb4, 0xb4, - 0xdf, 0x2e, 0xc1, 0x64, 0xbc, 0xab, 0xe3, 0x59, 0x03, 0xd7, 0x60, 0x67, 0x35, 0xfc, 0x4f, 0xbb, - 0x96, 0x5d, 0x84, 0x4a, 0xcf, 0xb3, 0x82, 0xf9, 0x1a, 0x15, 0xf1, 0x85, 0xa2, 0xed, 0x14, 0xcf, - 0xd2, 0x69, 0xb9, 0xc8, 0x38, 0xa8, 0x8f, 0x6a, 0xc6, 0xe7, 0xad, 0x05, 0x84, 0xf9, 0xde, 0x1c, - 0xcf, 0x7c, 0xff, 0x8b, 0x25, 0xb8, 0x26, 0x33, 0x74, 0xc5, 0x0e, 0xfc, 0x3e, 0xd5, 0x19, 0xcb, - 0x7d, 0xeb, 0x00, 0x87, 0x69, 0x26, 0x2a, 0x43, 0x98, 0x58, 0x1a, 0xc0, 0xc4, 0x72, 0x92, 0x89, - 0xff, 0x1f, 0xcc, 0xf5, 0xb2, 0x1f, 0x14, 0x9b, 0x66, 0xb7, 0x8a, 0xd9, 0x96, 0x46, 0xd1, 0x73, - 0xe9, 0x44, 0x5c, 0xaa, 0x4a, 0x5c, 0x1a, 0xb8, 0x32, 0xd3, 0xfe, 0xb3, 0x02, 0x17, 0xa5, 0x55, - 0x69, 0xcf, 0xb1, 0x4d, 0xa3, 0xf3, 0xb1, 0xf2, 0x20, 0x51, 0x9f, 0x4a, 0x7a, 0x20, 0xb5, 0x60, - 0xc2, 0x8f, 0x6a, 0xc1, 0x1a, 0x52, 0xdc, 0xb5, 0x71, 0x7d, 0x75, 0x19, 0x2b, 0x62, 0x43, 0x2d, - 0x66, 0x43, 0xb2, 0xa1, 0x2b, 0xb8, 0xe7, 0x78, 0x27, 0x5d, 0xec, 0x9e, 0x6b, 0x43, 0xad, 0xa8, - 0x16, 0xc3, 0x1a, 0x1a, 0xd7, 0x57, 0x97, 0xb1, 0x72, 0x1b, 0xfa, 0x6f, 0x14, 0x69, 0xd3, 0xa0, - 0xc3, 0xd6, 0x32, 0xe7, 0xd6, 0xca, 0x37, 0xa1, 0xc1, 0x97, 0x53, 0xa2, 0x89, 0x45, 0x6b, 0x7f, - 0x5e, 0x53, 0x3d, 0x2a, 0x9f, 0xdb, 0xb8, 0x9f, 0x91, 0xcf, 0x37, 0xb6, 0x88, 0xea, 0x3c, 0xaf, - 0x96, 0x7d, 0x1f, 0x54, 0x5d, 0xcf, 0x8a, 0x9a, 0x55, 0xa4, 0xc2, 0x48, 0x1d, 0x75, 0x56, 0x32, - 0xaf, 0x41, 0x68, 0x1f, 0x54, 0xa2, 0xdf, 0x96, 0x1c, 0xdb, 0x08, 0x36, 0x8d, 0x5e, 0xcf, 0x76, - 0x0f, 0xf8, 0x26, 0xc9, 0x9b, 0xc3, 0x0e, 0x86, 0x08, 0x69, 0xaa, 0x22, 0x65, 0x64, 0x66, 0x32, - 0x65, 0x68, 0x2e, 0x7c, 0x05, 0x2e, 0xe5, 0x16, 0xcd, 0xb1, 0x72, 0xbe, 0x4f, 0xb6, 0x72, 0x86, - 0x28, 0x67, 0xc9, 0x04, 0xfa, 0x96, 0x3c, 0xee, 0x5a, 0x8c, 0xbf, 0xe7, 0xd6, 0x3b, 0x77, 0xa0, - 0xce, 0x89, 0xf0, 0x53, 0x84, 0xa2, 0x61, 0xc7, 0x2b, 0xaa, 0x8b, 0xe2, 0xb9, 0xa3, 0xee, 0x3f, - 0x28, 0xd2, 0xf9, 0xc2, 0xa6, 0xe1, 0xda, 0xfb, 0x38, 0x38, 0x3f, 0xcd, 0xf1, 0x0e, 0x34, 0xbb, - 0xbc, 0x0e, 0x62, 0xf4, 0x7d, 0xaa, 0xa0, 0x75, 0xa2, 0xae, 0x7a, 0x8c, 0x91, 0xdb, 0xc0, 0x1e, - 0xcc, 0x65, 0xda, 0xd7, 0xd2, 0x57, 0xd0, 0x0a, 0x34, 0x04, 0x22, 0x3f, 0x0c, 0xbd, 0x39, 0x6c, - 0x54, 0x46, 0x9f, 0x8c, 0x30, 0xa3, 0x2f, 0x96, 0xa4, 0x2f, 0x7a, 0x92, 0x36, 0x8e, 0xbf, 0xf8, - 0x31, 0x7e, 0xf0, 0xdb, 0x8a, 0xb4, 0xfd, 0x4a, 0x7a, 0x27, 0xe8, 0x19, 0xe7, 0xa8, 0x18, 0xdf, - 0x07, 0x70, 0x45, 0x25, 0x44, 0x2f, 0x16, 0x1d, 0x3b, 0x44, 0xb5, 0xd5, 0x25, 0x9c, 0xdc, 0x7e, - 0xfc, 0x4d, 0x45, 0xb2, 0x15, 0xd7, 0xbd, 0xbd, 0x73, 0x6b, 0xde, 0x22, 0x54, 0x7e, 0xc8, 0xdb, - 0x13, 0x0d, 0x2b, 0xb2, 0x07, 0xd7, 0xbd, 0x3d, 0x9d, 0x96, 0x1b, 0x3e, 0x91, 0xb5, 0x7c, 0xcf, - 0x3d, 0xcf, 0x06, 0xbd, 0x09, 0x0d, 0x93, 0x55, 0x61, 0xd8, 0x44, 0xc6, 0x6b, 0xaa, 0x47, 0xe5, - 0x73, 0x1b, 0x97, 0x18, 0x8e, 0x2b, 0x06, 0xee, 0x7a, 0xee, 0x79, 0x9a, 0x5d, 0xef, 0x03, 0x58, - 0xa2, 0x12, 0xc3, 0x86, 0x63, 0x54, 0x5b, 0x5d, 0xc2, 0xc9, 0x6d, 0xe4, 0x7f, 0x55, 0x24, 0xbd, - 0xd2, 0x09, 0x8d, 0x10, 0xef, 0xf7, 0x9d, 0xf3, 0x6c, 0xe6, 0x5d, 0x98, 0x0c, 0xe2, 0x6a, 0x88, - 0x86, 0x16, 0x9d, 0xfe, 0x4a, 0x35, 0xd6, 0x13, 0x78, 0xb9, 0x8d, 0xfd, 0x3f, 0x0a, 0x5c, 0x8d, - 0x97, 0x15, 0xd8, 0x0f, 0xec, 0x20, 0xc4, 0x6e, 0xc8, 0x57, 0xbe, 0xe7, 0xd5, 0xe2, 0x5d, 0x98, - 0xed, 0xa5, 0xea, 0x22, 0x9a, 0x5d, 0x78, 0x46, 0x9f, 0x2a, 0xaf, 0x67, 0x29, 0xe4, 0x32, 0xe0, - 0x27, 0x4a, 0x70, 0xbd, 0x90, 0x01, 0x2d, 0xc7, 0xb0, 0xbb, 0xe7, 0xc6, 0x05, 0x0b, 0x2e, 0xf7, - 0xf2, 0x2a, 0x24, 0x58, 0xf1, 0xd2, 0x88, 0xac, 0xa0, 0x48, 0x7a, 0x01, 0xad, 0x5c, 0xa6, 0xfc, - 0xb6, 0x22, 0x19, 0xac, 0xba, 0xe7, 0x9c, 0xab, 0xc1, 0xea, 0x7b, 0xce, 0x50, 0x83, 0x95, 0xd4, - 0x51, 0x67, 0x25, 0x87, 0xcb, 0x34, 0x29, 0xbc, 0x6c, 0xbb, 0x96, 0xed, 0x1e, 0x9c, 0xa7, 0x4c, - 0xfb, 0x71, 0x35, 0x86, 0xc9, 0xb4, 0x54, 0x63, 0x3d, 0x81, 0x37, 0xbc, 0xb1, 0xc2, 0x54, 0x3c, - 0xcf, 0x4e, 0xbc, 0x0b, 0x93, 0x66, 0x5c, 0x8d, 0x61, 0x8d, 0x95, 0x6a, 0xac, 0x27, 0xf0, 0x72, - 0x1b, 0xfb, 0xe3, 0x25, 0x78, 0x2a, 0xaf, 0xb1, 0xe7, 0xdd, 0xc1, 0x5f, 0x80, 0x8b, 0x66, 0xa6, - 0x36, 0xa2, 0xe9, 0x9f, 0x19, 0xde, 0x74, 0xd1, 0xdd, 0x79, 0x54, 0x72, 0x19, 0xf1, 0xc7, 0x0a, - 0x5c, 0x49, 0xaf, 0xa0, 0xf9, 0xd9, 0xfa, 0xb9, 0x31, 0x61, 0x1b, 0x66, 0x82, 0x44, 0x4d, 0x04, - 0x03, 0x3e, 0x3d, 0x78, 0x3d, 0xcd, 0x4b, 0xeb, 0x69, 0xec, 0xdc, 0x86, 0xff, 0x3b, 0xd9, 0xe2, - 0x5a, 0x73, 0x0f, 0x7c, 0x1c, 0x04, 0xe7, 0xd6, 0xe2, 0xb7, 0xa1, 0x69, 0xb3, 0x2a, 0x0c, 0xdd, - 0x3b, 0xe0, 0x55, 0xd5, 0x63, 0x84, 0xe1, 0x13, 0xd4, 0x43, 0xec, 0x87, 0xb6, 0x69, 0x38, 0x6d, - 0xcf, 0x5a, 0xea, 0x87, 0x5e, 0x60, 0x1a, 0xce, 0x39, 0xae, 0x57, 0x2d, 0xb8, 0x7c, 0x9c, 0x57, - 0xa1, 0x61, 0x13, 0x54, 0x6e, 0x2b, 0xf4, 0x02, 0x5a, 0xb9, 0x4c, 0xf9, 0xeb, 0x25, 0xb8, 0x11, - 0x31, 0xe5, 0xbe, 0xe7, 0xdb, 0x1f, 0x79, 0x6e, 0xf8, 0x49, 0x61, 0xcb, 0x0f, 0xc1, 0xfc, 0x61, - 0x7e, 0x95, 0x04, 0x63, 0x16, 0x0b, 0x77, 0x27, 0x72, 0xd1, 0xf4, 0x42, 0x7a, 0xb9, 0xcc, 0xf9, - 0x23, 0xd9, 0xa3, 0x92, 0x9f, 0xe9, 0xb4, 0x3d, 0xc7, 0x36, 0x4f, 0xce, 0x8d, 0x25, 0x5b, 0x30, - 0xe3, 0x4a, 0x15, 0xb1, 0x23, 0xe1, 0x28, 0xf2, 0xb7, 0x4a, 0x54, 0x5b, 0x4f, 0x23, 0x0f, 0xdf, - 0x2b, 0xa5, 0x47, 0x62, 0xba, 0xe1, 0x1e, 0xe0, 0xf3, 0xdc, 0x2b, 0x75, 0xa2, 0x5a, 0x0c, 0xdb, - 0x2b, 0x8d, 0xeb, 0xab, 0xcb, 0x58, 0xb9, 0x0d, 0xfd, 0x43, 0x05, 0x2e, 0x49, 0x0b, 0x14, 0xea, - 0x38, 0xd0, 0x72, 0x8c, 0x73, 0xd4, 0x7a, 0x0f, 0x60, 0x3a, 0x90, 0xea, 0x11, 0xb5, 0xf6, 0xd9, - 0xc2, 0x35, 0x4a, 0x5c, 0x58, 0x4f, 0xa1, 0xe6, 0x36, 0xb9, 0x03, 0x33, 0x29, 0xd7, 0x72, 0xf4, - 0x1c, 0x4c, 0x19, 0x66, 0x68, 0x1f, 0xe3, 0x96, 0x63, 0xd3, 0xcd, 0x68, 0x7e, 0x42, 0x98, 0x00, - 0xa2, 0x05, 0x68, 0xd8, 0x6e, 0x88, 0xfd, 0x63, 0xc3, 0xe1, 0x7e, 0xc2, 0x51, 0x5a, 0xfb, 0x95, - 0x3a, 0xd4, 0xb9, 0xaf, 0xac, 0xbc, 0xa1, 0x38, 0xc5, 0x36, 0x14, 0x55, 0x28, 0xf7, 0x6c, 0xe1, - 0x5c, 0x4c, 0xfe, 0xa2, 0x39, 0xa8, 0xba, 0x41, 0xdb, 0xb6, 0xa8, 0x73, 0x48, 0x55, 0x67, 0x89, - 0xe8, 0x50, 0xa8, 0x3c, 0xea, 0xa1, 0xd0, 0x1d, 0xa8, 0x9b, 0x5e, 0xb7, 0x6b, 0xb8, 0x16, 0x77, - 0x33, 0x2f, 0x5c, 0x93, 0xb3, 0x52, 0xba, 0x28, 0x8e, 0x5e, 0x87, 0x4a, 0x3f, 0x88, 0x36, 0x07, - 0x87, 0xb8, 0xff, 0xee, 0x06, 0xd8, 0xd7, 0x69, 0x79, 0xf4, 0x06, 0xd4, 0xba, 0xcc, 0x11, 0xb1, - 0x3e, 0xf0, 0xd0, 0x89, 0xb9, 0x26, 0x52, 0x0f, 0x47, 0x8e, 0x80, 0x5e, 0x81, 0xb2, 0xd9, 0xeb, - 0x73, 0x6f, 0xcf, 0xc2, 0x8a, 0xb6, 0x77, 0x29, 0x12, 0x29, 0x8a, 0xae, 0x03, 0x30, 0x3f, 0x8f, - 0x1d, 0xbb, 0x8b, 0xb9, 0xa7, 0xaf, 0x04, 0x41, 0xef, 0x42, 0x33, 0x3a, 0xc4, 0xa5, 0x4e, 0x19, - 0xa3, 0x78, 0xae, 0xc6, 0x28, 0x64, 0x8c, 0x7b, 0x3d, 0xec, 0xde, 0xb5, 0x5a, 0xc4, 0x24, 0xa0, - 0x7e, 0x1b, 0x55, 0x5d, 0x06, 0xa1, 0x37, 0x98, 0x4b, 0xa7, 0x70, 0x6b, 0x7f, 0x76, 0xb8, 0x9b, - 0x34, 0x66, 0x1e, 0x9d, 0x18, 0xbd, 0x06, 0x35, 0xdb, 0x23, 0x10, 0xea, 0xb1, 0x31, 0x71, 0xfb, - 0xe9, 0xa2, 0xb9, 0x7b, 0x9b, 0x71, 0x89, 0x15, 0xa6, 0x72, 0x17, 0xb9, 0x13, 0x59, 0xd4, 0x65, - 0x8a, 0xc8, 0x5d, 0x0c, 0x4a, 0xb8, 0x66, 0x3c, 0xc0, 0x27, 0xd4, 0x35, 0x63, 0x4a, 0x4f, 0xc0, - 0xd0, 0x6d, 0x98, 0x3b, 0xf6, 0x9c, 0xbe, 0x1b, 0x1a, 0xfe, 0x49, 0x2b, 0x7c, 0xdc, 0x79, 0x64, - 0x87, 0xe6, 0x21, 0x0e, 0xe6, 0xd5, 0x1b, 0xca, 0xcd, 0x8a, 0x9e, 0x9b, 0x87, 0x5e, 0x87, 0xcb, - 0xb6, 0x9b, 0x8b, 0x35, 0x4b, 0xb1, 0x0a, 0x72, 0x89, 0xa4, 0xef, 0x9d, 0x84, 0x98, 0x54, 0x05, - 0xdd, 0x50, 0x6e, 0x4e, 0xea, 0x22, 0x89, 0x6e, 0x81, 0x1a, 0xd5, 0x6a, 0x99, 0x17, 0xb9, 0x48, - 0x8b, 0x64, 0xe0, 0x68, 0x59, 0xf2, 0x06, 0xb9, 0x34, 0xf0, 0x62, 0x08, 0x67, 0x36, 0x57, 0xeb, - 0x81, 0xe4, 0x09, 0xf2, 0x3c, 0x4c, 0xf3, 0xa2, 0xa4, 0xbb, 0xf1, 0xe3, 0x70, 0xfe, 0x32, 0x15, - 0xfc, 0x14, 0x94, 0xf9, 0xfb, 0x6a, 0x3f, 0x5d, 0x02, 0x35, 0xed, 0x8e, 0x2f, 0x44, 0x55, 0xc9, - 0x11, 0xd5, 0xd2, 0xf7, 0x98, 0xa8, 0x26, 0xa5, 0xa7, 0x96, 0x91, 0x1e, 0xa9, 0xdf, 0xea, 0x89, - 0x7e, 0xd3, 0x7e, 0x59, 0x81, 0x3a, 0xaf, 0x06, 0x51, 0xa1, 0x86, 0x7f, 0x40, 0x54, 0x22, 0x55, - 0xa1, 0xe4, 0x3f, 0x61, 0x92, 0xf9, 0x48, 0x1c, 0x9e, 0x93, 0xbf, 0xa4, 0x94, 0xef, 0x79, 0xe2, - 0xb4, 0x9f, 0xfe, 0xa7, 0x3e, 0x00, 0xee, 0x8a, 0x1d, 0x1c, 0xd1, 0x9a, 0x37, 0x74, 0x9e, 0x22, - 0x65, 0x7b, 0x84, 0xc7, 0xec, 0x28, 0x96, 0xfe, 0x27, 0x65, 0x7b, 0x74, 0x0e, 0xe0, 0xde, 0xc8, - 0x3c, 0x45, 0xbe, 0x84, 0x1f, 0x0b, 0xd7, 0x4b, 0xf2, 0x97, 0x60, 0x13, 0xc6, 0x70, 0x3f, 0x2d, - 0xfa, 0x5f, 0xfb, 0xab, 0x0a, 0x4c, 0x48, 0xed, 0x8f, 0x9c, 0xce, 0x14, 0xc9, 0xe9, 0x4c, 0x85, - 0x72, 0x3f, 0xd6, 0xc1, 0x7d, 0xdb, 0x22, 0x90, 0x03, 0x5b, 0xcc, 0x4e, 0xe4, 0x2f, 0xc1, 0xc3, - 0xa4, 0x10, 0xbf, 0x50, 0x44, 0xfe, 0x53, 0x18, 0x29, 0x56, 0xe5, 0x30, 0x5e, 0x2e, 0xe8, 0xc7, - 0x2d, 0x08, 0x78, 0xb9, 0x80, 0x94, 0xab, 0x73, 0xd8, 0x81, 0x6d, 0x69, 0x1f, 0xc0, 0x4c, 0x6a, - 0xb0, 0x92, 0x21, 0x6a, 0x7a, 0xae, 0x8b, 0xcd, 0xd0, 0xf6, 0x5c, 0x9d, 0x68, 0x16, 0x52, 0xc9, - 0x92, 0x9e, 0x82, 0x92, 0x49, 0x92, 0xf4, 0x46, 0x40, 0x8b, 0x94, 0x68, 0x91, 0x18, 0xa0, 0x1d, - 0xc3, 0x54, 0xa4, 0xd0, 0x96, 0x2c, 0xcb, 0x47, 0xd3, 0x50, 0xb2, 0x7b, 0xbc, 0xbd, 0x25, 0xbb, - 0x47, 0x79, 0xec, 0xf9, 0x21, 0x6f, 0x2e, 0xfd, 0x8f, 0x96, 0x24, 0x0f, 0x97, 0x32, 0x55, 0x67, - 0x9f, 0x2e, 0x56, 0x96, 0xbc, 0x2e, 0xd4, 0x95, 0x3b, 0x42, 0xd3, 0x7e, 0xb5, 0x01, 0xcd, 0xd8, - 0x2f, 0x50, 0xb8, 0xaa, 0x29, 0x92, 0xab, 0x1a, 0xa9, 0x88, 0xb0, 0x06, 0x4a, 0x8c, 0x2d, 0x23, - 0xfa, 0xff, 0x2d, 0x40, 0xc3, 0xec, 0xf5, 0xa9, 0xf1, 0x42, 0x99, 0x5d, 0xd2, 0xa3, 0x34, 0x51, - 0x8a, 0x6c, 0x12, 0x61, 0xd9, 0x35, 0xaa, 0x8f, 0x64, 0x10, 0x7a, 0x4b, 0x28, 0xea, 0xc6, 0xb0, - 0x96, 0xc5, 0xbe, 0xf7, 0x91, 0xaa, 0x7e, 0x37, 0x72, 0xfe, 0x62, 0x97, 0x09, 0x9e, 0x1f, 0xea, - 0xe5, 0x9e, 0xf4, 0xfc, 0x9a, 0x87, 0x3a, 0xf7, 0x47, 0xa4, 0xb3, 0x50, 0x59, 0x17, 0x49, 0x2a, - 0x17, 0x7b, 0xbd, 0x80, 0x4e, 0x2d, 0x25, 0x9d, 0xfe, 0x27, 0xb0, 0x47, 0x04, 0x36, 0xc9, 0x60, - 0xe4, 0xbf, 0xb0, 0x19, 0xa6, 0x62, 0x9b, 0x81, 0xdd, 0xf5, 0xd0, 0xcd, 0x63, 0xab, 0x1d, 0xd0, - 0x59, 0xa0, 0xa4, 0xc7, 0x00, 0x9e, 0xdb, 0xc1, 0x6e, 0xd8, 0x0e, 0xe8, 0x04, 0xc0, 0x72, 0x19, - 0x80, 0x48, 0x3e, 0x2f, 0xba, 0xdc, 0x63, 0x3a, 0xbf, 0xa4, 0x4b, 0x10, 0x9e, 0x4f, 0x0a, 0x93, - 0xfc, 0xd9, 0x28, 0x9f, 0x43, 0x48, 0x7b, 0x88, 0x06, 0x69, 0x9b, 0x21, 0xd5, 0xe8, 0x25, 0x5d, - 0x24, 0xa9, 0xb3, 0x25, 0x75, 0x27, 0x21, 0x79, 0x17, 0xd9, 0x77, 0x23, 0x00, 0xe9, 0x42, 0x7a, - 0x2f, 0x81, 0x64, 0xce, 0xb1, 0x2e, 0x14, 0x69, 0x22, 0xe1, 0x5d, 0xdc, 0xd5, 0x03, 0xa6, 0xdd, - 0x2b, 0x3a, 0x4f, 0x11, 0x9c, 0x2e, 0xee, 0xb6, 0x0c, 0xf3, 0x10, 0x53, 0x8f, 0xb6, 0x8a, 0x1e, - 0xa5, 0x23, 0x25, 0x7b, 0x65, 0x54, 0x25, 0x3b, 0x0f, 0x75, 0xee, 0xfa, 0x39, 0x3f, 0xcf, 0x3a, - 0x82, 0x27, 0x65, 0x65, 0x77, 0x35, 0x39, 0x49, 0x09, 0x1b, 0x71, 0x41, 0x3a, 0x94, 0x5e, 0x86, - 0xa6, 0x11, 0x79, 0x9a, 0x3d, 0x35, 0xda, 0x6d, 0x0e, 0x22, 0x87, 0x7a, 0x8c, 0x46, 0xef, 0x6d, - 0x1c, 0xfa, 0xd8, 0xe0, 0xc6, 0xc5, 0x35, 0x36, 0x66, 0x25, 0x50, 0x5c, 0x82, 0x8d, 0xea, 0xa7, - 0xe5, 0x12, 0x6c, 0x54, 0x33, 0xe6, 0xec, 0xd2, 0x6b, 0x94, 0xd7, 0x23, 0xe6, 0xd0, 0x34, 0x55, - 0xef, 0xbd, 0x3e, 0xfd, 0xbf, 0x15, 0xcc, 0x7f, 0x8a, 0x75, 0x62, 0x0c, 0x21, 0x66, 0x42, 0x17, - 0x77, 0xf9, 0x76, 0x07, 0xb6, 0xe6, 0x6f, 0x50, 0xfc, 0x04, 0x8c, 0xd3, 0xd0, 0xf1, 0x0f, 0xf7, - 0x71, 0x10, 0xce, 0x3f, 0x13, 0xd1, 0xe0, 0x10, 0x62, 0x18, 0x33, 0x21, 0x13, 0x45, 0x34, 0x4a, - 0x24, 0x09, 0x24, 0x54, 0x7c, 0xdc, 0xf3, 0x56, 0xec, 0x03, 0x52, 0xe4, 0x59, 0xe6, 0xd4, 0x16, - 0x43, 0xf8, 0xc5, 0x9a, 0x3f, 0x69, 0x44, 0x4a, 0x9a, 0x1a, 0x3a, 0xd9, 0x99, 0x36, 0x39, 0x61, - 0x95, 0x32, 0x13, 0x56, 0x6c, 0x7b, 0x96, 0x4f, 0x69, 0x7b, 0x56, 0x46, 0xb7, 0x3d, 0x89, 0xe2, - 0xb2, 0x4d, 0xe1, 0xe9, 0x45, 0xff, 0x93, 0x41, 0xc4, 0x7a, 0x27, 0xe0, 0x6a, 0x5e, 0x24, 0xd3, - 0x96, 0x64, 0x23, 0x6b, 0x49, 0x72, 0x09, 0x6f, 0xc6, 0x12, 0x9e, 0xb2, 0xf4, 0x20, 0x6b, 0xe9, - 0x6d, 0xa6, 0x2e, 0xb2, 0x89, 0x7b, 0x67, 0x23, 0x6a, 0xb7, 0x14, 0x32, 0xba, 0x07, 0x93, 0x3d, - 0xc9, 0x50, 0x1d, 0xc7, 0xa6, 0x4d, 0x20, 0x4a, 0xa6, 0xed, 0xc5, 0x71, 0x4c, 0x5b, 0xd9, 0xc4, - 0xbb, 0x76, 0x4a, 0x13, 0xaf, 0x0d, 0x33, 0x66, 0x52, 0x0b, 0x53, 0xf5, 0x37, 0xba, 0xce, 0x4e, - 0xa3, 0x27, 0xdc, 0x43, 0xf5, 0xbd, 0x48, 0x5f, 0x26, 0x81, 0x89, 0x52, 0x1f, 0xec, 0x45, 0x5a, - 0x33, 0x09, 0xcc, 0x98, 0xe6, 0x28, 0xc7, 0x34, 0x5f, 0x04, 0x64, 0x4a, 0x5e, 0xb2, 0x5c, 0xc3, - 0x33, 0x75, 0x99, 0x93, 0x93, 0x2e, 0xcf, 0x75, 0xfe, 0xa5, 0x6c, 0x79, 0xae, 0xfc, 0x5f, 0x81, - 0x8b, 0x69, 0x2a, 0x44, 0xcb, 0x5f, 0xa6, 0x08, 0x79, 0x59, 0x69, 0x0c, 0x31, 0x2f, 0x5c, 0xc9, - 0x62, 0x88, 0x09, 0xa2, 0x68, 0x79, 0x31, 0x7f, 0xaa, 0xe5, 0xc5, 0xd5, 0x51, 0x97, 0x17, 0x0b, - 0xc3, 0x97, 0x17, 0x4f, 0xe5, 0x2f, 0x2f, 0xb4, 0x5f, 0x51, 0x60, 0x96, 0x8c, 0x2a, 0x7a, 0xa7, - 0xf3, 0x03, 0x3b, 0x3c, 0x6c, 0x63, 0xbf, 0x1b, 0x89, 0xed, 0x0a, 0x13, 0x5b, 0x45, 0x12, 0x5b, - 0x06, 0x22, 0x13, 0x5e, 0xac, 0xc3, 0x99, 0x4a, 0x8a, 0x01, 0x44, 0x63, 0x3d, 0xf2, 0xed, 0x10, - 0xb3, 0xec, 0x32, 0xd3, 0x58, 0x31, 0x44, 0x60, 0x93, 0x4a, 0x04, 0xfc, 0xe6, 0x5e, 0x0c, 0x88, - 0xb0, 0x59, 0x76, 0x55, 0xc2, 0xa6, 0x10, 0xed, 0xf7, 0x14, 0xb8, 0x9c, 0xa9, 0xf3, 0xf2, 0x49, - 0x7b, 0x6d, 0x05, 0x7d, 0x09, 0x80, 0xde, 0x1b, 0xa4, 0x29, 0x6a, 0x9b, 0x4f, 0xdc, 0x7e, 0x67, - 0x80, 0x30, 0x65, 0x49, 0xd0, 0xc3, 0x5d, 0x86, 0xcf, 0xbd, 0xff, 0x63, 0x82, 0x0b, 0x07, 0x30, - 0x93, 0xca, 0x96, 0x77, 0x35, 0xaa, 0x4c, 0x7f, 0xbd, 0x9b, 0x74, 0x93, 0xba, 0x39, 0xea, 0xe7, - 0x65, 0x9f, 0xa9, 0x6f, 0xd6, 0x24, 0x4b, 0x96, 0x2a, 0x09, 0x66, 0x40, 0x2a, 0x91, 0x01, 0x29, - 0xd9, 0x22, 0xa5, 0x01, 0xb6, 0x48, 0x79, 0x90, 0x2d, 0x52, 0x49, 0xd9, 0x22, 0x83, 0x4c, 0xcd, - 0xd8, 0x4e, 0xa9, 0x15, 0xda, 0x29, 0xf5, 0x94, 0x9d, 0xc2, 0xf2, 0x18, 0xbd, 0x46, 0x94, 0xc7, - 0xe8, 0x09, 0x0b, 0xb0, 0x99, 0x63, 0x01, 0x82, 0x64, 0x01, 0x26, 0xec, 0xbd, 0x89, 0x81, 0xf6, - 0xde, 0xe4, 0x60, 0x7b, 0x6f, 0x6a, 0x88, 0xbd, 0x37, 0x9d, 0xb1, 0xf7, 0x22, 0xe3, 0x79, 0xe6, - 0x4c, 0xc6, 0xb3, 0x7a, 0x2a, 0xe3, 0x99, 0x0f, 0xac, 0xd9, 0x78, 0x62, 0x94, 0xac, 0x38, 0x54, - 0x68, 0xc5, 0x5d, 0x4c, 0xea, 0x82, 0x94, 0xb5, 0x35, 0x37, 0xd4, 0xda, 0xba, 0x34, 0xd8, 0xda, - 0xba, 0x3c, 0xd0, 0xda, 0xba, 0x32, 0xd4, 0xda, 0x9a, 0x1f, 0x6a, 0x6d, 0x5d, 0x1d, 0x6e, 0x6d, - 0x2d, 0xe4, 0x58, 0x5b, 0xda, 0x2f, 0x29, 0x00, 0xb1, 0x4b, 0x37, 0x19, 0x4b, 0xfd, 0x7e, 0x24, - 0x31, 0xf4, 0x3f, 0xfa, 0x2c, 0x94, 0xbc, 0x80, 0x8b, 0x65, 0xd1, 0xdc, 0xbc, 0xdd, 0xa1, 0x1e, - 0xe1, 0x25, 0x8f, 0x68, 0xf3, 0x8a, 0xc9, 0x2e, 0x1e, 0x97, 0x07, 0x5b, 0x47, 0xcc, 0x87, 0xdc, - 0xcc, 0xb9, 0x95, 0x5c, 0xcd, 0xdc, 0x4a, 0x5e, 0xaf, 0x34, 0x2a, 0x6a, 0x55, 0xfb, 0x9a, 0x02, - 0x35, 0xf6, 0xa9, 0xdc, 0x55, 0xf9, 0x02, 0x34, 0x7a, 0x8e, 0x11, 0xee, 0x7b, 0x7e, 0x37, 0xba, - 0x75, 0xc1, 0xd3, 0xd2, 0xad, 0xcd, 0x72, 0xd1, 0xad, 0xcd, 0x4a, 0xf2, 0xd6, 0xe6, 0x73, 0x30, - 0x75, 0x84, 0x7d, 0x17, 0x3b, 0xe2, 0xde, 0x29, 0xbb, 0x48, 0x96, 0x04, 0xd2, 0x2a, 0x31, 0xcb, - 0x84, 0x7c, 0x9e, 0x74, 0xbf, 0xb4, 0x0e, 0x8f, 0xd2, 0x44, 0xe4, 0xa8, 0x2e, 0x96, 0x57, 0xe0, - 0x11, 0x80, 0x7c, 0x2a, 0x52, 0xe4, 0xb4, 0x04, 0x53, 0x40, 0x49, 0x20, 0x59, 0xed, 0xc7, 0xfa, - 0x9c, 0x16, 0x63, 0xaa, 0x28, 0x05, 0xd5, 0xfe, 0x9e, 0x02, 0x10, 0x5b, 0xad, 0x44, 0x24, 0xfc, - 0x80, 0xed, 0x42, 0x57, 0x74, 0xf2, 0x97, 0x40, 0x8e, 0xbb, 0xac, 0x4b, 0x2b, 0x3a, 0xf9, 0x4b, - 0xf7, 0x1b, 0x1e, 0x19, 0xec, 0x46, 0x4a, 0x45, 0xa7, 0xff, 0xe9, 0x65, 0x8f, 0x43, 0xc3, 0xc7, - 0x6c, 0x07, 0xa3, 0xa2, 0xf3, 0x14, 0x5d, 0xe2, 0xe0, 0xc7, 0x4c, 0xd7, 0x55, 0x74, 0xfa, 0x9f, - 0x50, 0x74, 0xec, 0x3d, 0xae, 0xe4, 0xc8, 0x5f, 0x52, 0x8a, 0xf4, 0x3c, 0xd7, 0x6e, 0xf4, 0x3f, - 0x59, 0xaa, 0x5b, 0xb6, 0x1f, 0x9e, 0x70, 0xb5, 0xc6, 0x12, 0xda, 0xcf, 0x95, 0xa0, 0xce, 0x8d, - 0x65, 0xd2, 0x1b, 0x8e, 0x11, 0x84, 0xad, 0x5e, 0x9f, 0x77, 0xac, 0x48, 0x26, 0x34, 0x70, 0x29, - 0xa5, 0x81, 0x25, 0xad, 0x5e, 0x1e, 0xa0, 0xd5, 0x2b, 0x69, 0xad, 0x4e, 0x34, 0x59, 0xbf, 0xbb, - 0xc3, 0x8d, 0x70, 0x66, 0x9b, 0x4b, 0x10, 0x74, 0x87, 0x0f, 0xe5, 0xda, 0xc0, 0x35, 0x5b, 0xc7, - 0x76, 0x0f, 0x1c, 0x2c, 0xcc, 0x7d, 0x36, 0xa0, 0x85, 0xbd, 0x5f, 0x97, 0xec, 0xfd, 0x05, 0x68, - 0x90, 0x6a, 0xd1, 0xe5, 0x08, 0xbb, 0x3a, 0x18, 0xa5, 0x49, 0x4d, 0x58, 0xb5, 0xe4, 0xbd, 0xe9, - 0x18, 0xa2, 0xbd, 0x07, 0x53, 0x89, 0xcf, 0x14, 0x0d, 0xff, 0x22, 0x16, 0x69, 0xbf, 0xaf, 0x50, - 0x26, 0x53, 0xd1, 0xb9, 0x0c, 0x35, 0xb7, 0xdf, 0xdd, 0xe3, 0x11, 0x79, 0xaa, 0x3a, 0x4f, 0x11, - 0xf8, 0x31, 0x76, 0x2d, 0xcf, 0x17, 0xd7, 0x85, 0x58, 0xaa, 0x50, 0x74, 0xe6, 0xa0, 0xda, 0xf5, - 0x2c, 0xec, 0x88, 0x9d, 0x17, 0x9a, 0x20, 0x4d, 0xe9, 0x1d, 0x9e, 0x04, 0xb6, 0x69, 0x38, 0xfc, - 0x5e, 0x7b, 0x53, 0x97, 0x20, 0x84, 0x9a, 0xe9, 0xf9, 0x98, 0x87, 0x11, 0x68, 0xea, 0x3c, 0x45, - 0xa8, 0x91, 0x7f, 0x62, 0x31, 0xc4, 0x12, 0x64, 0x60, 0x75, 0x0f, 0x3f, 0xe2, 0xfc, 0x22, 0x7f, - 0xe9, 0x41, 0x11, 0x99, 0x27, 0xe9, 0x81, 0x4f, 0x93, 0x1d, 0xf8, 0x44, 0x00, 0xed, 0xdb, 0x0a, - 0x54, 0xc8, 0x12, 0x5e, 0x9a, 0xf9, 0xcb, 0x74, 0xe6, 0x8f, 0x02, 0x8a, 0x94, 0xe4, 0x80, 0x22, - 0x79, 0x1b, 0x4a, 0xf3, 0x50, 0x37, 0x1c, 0x67, 0x27, 0x3e, 0xe9, 0x11, 0x49, 0x39, 0xac, 0x42, - 0x7d, 0x60, 0x58, 0x85, 0x46, 0x36, 0xac, 0x02, 0xe9, 0x1c, 0xe3, 0x60, 0xcd, 0xb5, 0xf0, 0x63, - 0x5e, 0xeb, 0x28, 0x4d, 0xd4, 0x7d, 0x68, 0x1c, 0x04, 0x9b, 0x9e, 0x65, 0xef, 0xdb, 0xd1, 0xb6, - 0x4f, 0x02, 0xc6, 0x14, 0xe0, 0x7a, 0xa5, 0x51, 0x55, 0x6b, 0xda, 0x37, 0x9b, 0x50, 0x17, 0x2e, - 0xe1, 0x64, 0x2e, 0xf7, 0x2c, 0x2c, 0x9b, 0x9c, 0x31, 0x00, 0x7d, 0x09, 0x66, 0x8e, 0xfa, 0x7b, - 0xd8, 0xc1, 0x21, 0xd7, 0x57, 0x22, 0x9c, 0xc4, 0xe7, 0x06, 0x3b, 0x7a, 0x2c, 0x3e, 0x48, 0x62, - 0x31, 0xa3, 0x2e, 0x4d, 0x0b, 0x99, 0x30, 0x6b, 0xf4, 0xec, 0x0e, 0xf6, 0x8f, 0xb1, 0x1f, 0x7d, - 0x80, 0x29, 0xfe, 0xd7, 0x86, 0x7c, 0x60, 0x29, 0x8d, 0xc7, 0x3e, 0x91, 0xa5, 0x47, 0x78, 0xdb, - 0xf3, 0xac, 0x96, 0xd1, 0x33, 0x4c, 0x3b, 0x64, 0x21, 0x2b, 0xa6, 0x74, 0x19, 0x44, 0x77, 0xea, - 0x3d, 0x6b, 0xc9, 0x71, 0x3c, 0xd3, 0x08, 0x8d, 0x3d, 0x87, 0xad, 0xb3, 0xa7, 0xf4, 0x14, 0x14, - 0xbd, 0x04, 0xb3, 0x6c, 0xf6, 0x93, 0x8b, 0x32, 0x9d, 0x95, 0xcd, 0x20, 0x54, 0x19, 0x30, 0xfa, - 0x34, 0xd3, 0x65, 0x29, 0x28, 0xdd, 0x84, 0xed, 0xf5, 0x65, 0x92, 0x4c, 0xbd, 0xa5, 0xa0, 0x74, - 0x85, 0xde, 0xeb, 0x47, 0xc4, 0x9a, 0xcc, 0x64, 0x90, 0x40, 0x79, 0xb1, 0x0e, 0x20, 0x3f, 0xd6, - 0xc1, 0x4b, 0x30, 0x4b, 0xb7, 0x32, 0x6c, 0xcf, 0x25, 0xfa, 0x21, 0x08, 0x8d, 0x6e, 0x8f, 0xda, - 0x79, 0x65, 0x3d, 0x9b, 0x11, 0x6d, 0x4a, 0x4d, 0x4a, 0x9b, 0x52, 0xef, 0x43, 0xbd, 0xcb, 0x63, - 0x02, 0x4c, 0x0d, 0x5c, 0x3d, 0xeb, 0xfc, 0xd3, 0xfc, 0x06, 0xb8, 0x2e, 0xd0, 0xd0, 0x8f, 0x2a, - 0x70, 0x0d, 0x3f, 0x0e, 0xb1, 0x6b, 0x61, 0x4b, 0x14, 0x0a, 0x64, 0x36, 0xb0, 0xcb, 0xc3, 0xef, - 0x0f, 0x19, 0x08, 0xab, 0x03, 0x48, 0xb0, 0x31, 0x31, 0xf0, 0x2b, 0xe8, 0x47, 0xe0, 0x6a, 0x26, - 0x3f, 0x62, 0xf2, 0xcc, 0xc0, 0xb5, 0x4c, 0x61, 0x15, 0x04, 0x3e, 0xfb, 0x7e, 0x31, 0xfd, 0x85, - 0x65, 0x98, 0xcb, 0x93, 0x94, 0x61, 0x97, 0x5d, 0xab, 0xf2, 0x3d, 0xd9, 0x15, 0xb8, 0x9c, 0x2f, - 0x0c, 0x63, 0x51, 0xd9, 0x86, 0x67, 0x86, 0x72, 0x72, 0x9c, 0x8b, 0xfb, 0x0b, 0x1b, 0x70, 0x7d, - 0x30, 0x5f, 0xc6, 0x0a, 0x03, 0xf0, 0xa7, 0x25, 0x68, 0x6c, 0xe2, 0xd0, 0xa0, 0x76, 0x40, 0xde, - 0xe4, 0x45, 0xf4, 0x98, 0xf0, 0xc6, 0x17, 0xe7, 0xff, 0x11, 0x40, 0x9c, 0xb7, 0xf0, 0x33, 0x22, - 0x62, 0x95, 0xe6, 0x4a, 0x40, 0xa5, 0x48, 0x02, 0x5e, 0x82, 0x59, 0x8b, 0xf4, 0x52, 0xa2, 0x34, - 0x33, 0x33, 0xb3, 0x19, 0xd2, 0xdd, 0xeb, 0x5a, 0xe2, 0xee, 0xf5, 0x0d, 0x98, 0x30, 0x5c, 0xd7, - 0x0b, 0x0d, 0x76, 0x39, 0xbe, 0x4e, 0x33, 0x65, 0x10, 0xda, 0x86, 0x19, 0xef, 0x11, 0x8d, 0xf0, - 0xb3, 0x8f, 0x7d, 0xec, 0x9a, 0x98, 0x5d, 0xb1, 0x2c, 0xf6, 0x2b, 0xdb, 0x4e, 0x94, 0xd6, 0xd3, - 0xd8, 0x79, 0x2a, 0xa1, 0x59, 0x18, 0xfe, 0x64, 0xdf, 0x76, 0x0d, 0xc7, 0xfe, 0x48, 0x44, 0x60, - 0x6b, 0xea, 0x12, 0x44, 0x5b, 0x87, 0xe9, 0xe4, 0xc7, 0x86, 0x1d, 0x6c, 0x71, 0x46, 0x23, 0xa8, - 0x1c, 0xd9, 0xae, 0xe0, 0x3d, 0xfd, 0xaf, 0xfd, 0x0b, 0x05, 0x66, 0xb6, 0xf7, 0x7e, 0x08, 0x9b, - 0x61, 0x82, 0x1a, 0x2d, 0xa7, 0xc4, 0xe5, 0x86, 0x74, 0x6a, 0xde, 0xe4, 0xcb, 0xbf, 0x5f, 0x89, - 0xbf, 0x7f, 0x1d, 0xc0, 0xe8, 0xd9, 0x49, 0x1b, 0x5c, 0x82, 0xe4, 0x71, 0xa8, 0x96, 0xcf, 0xa1, - 0x6b, 0xd0, 0xdc, 0xb7, 0xb1, 0x63, 0xb5, 0x8d, 0xf0, 0x90, 0x87, 0x68, 0x89, 0x01, 0xda, 0x5f, - 0x56, 0x60, 0x82, 0x7b, 0xf9, 0xd1, 0x2b, 0xdc, 0x45, 0x0b, 0x8c, 0xa2, 0x6b, 0xdd, 0xe2, 0x90, - 0xac, 0x2c, 0x1d, 0x92, 0x5d, 0x07, 0x08, 0x0d, 0xff, 0x00, 0xc7, 0x97, 0xba, 0x9b, 0xba, 0x04, - 0x21, 0xf4, 0xc8, 0x5c, 0x4d, 0x73, 0x99, 0xf9, 0x19, 0xa5, 0xb5, 0x87, 0x70, 0x8d, 0x57, 0xa7, - 0x83, 0x03, 0x52, 0xff, 0xa5, 0xfd, 0x7d, 0xdb, 0xb5, 0xc3, 0x93, 0x96, 0xe7, 0xee, 0xdb, 0x07, - 0xe8, 0x75, 0xb8, 0x6c, 0x52, 0x5f, 0x92, 0xb5, 0x36, 0x19, 0xb9, 0x5e, 0x3f, 0xec, 0x60, 0xd3, - 0x73, 0x2d, 0xe1, 0x6f, 0x52, 0x90, 0xab, 0xfd, 0x7e, 0x19, 0x2a, 0xf4, 0xaa, 0xdf, 0x5b, 0x64, - 0x81, 0xca, 0x24, 0x92, 0x5f, 0x0e, 0x2a, 0xbc, 0xf7, 0xc4, 0x8b, 0xe9, 0x11, 0x02, 0x31, 0x85, - 0xc8, 0x0c, 0xbc, 0xb6, 0xa2, 0x8b, 0x88, 0x8c, 0x3c, 0x49, 0x79, 0xc4, 0xfe, 0x8a, 0x6b, 0xf5, - 0x51, 0x9a, 0xac, 0x73, 0xfa, 0x6e, 0x60, 0x1e, 0x62, 0xab, 0xef, 0xd0, 0x29, 0xa2, 0x42, 0xcf, - 0x72, 0x93, 0x40, 0xf4, 0x2a, 0xd4, 0xc8, 0xda, 0x3e, 0xf2, 0xc9, 0xbc, 0x56, 0x50, 0xad, 0x1d, - 0x52, 0x48, 0xe7, 0x65, 0xd1, 0x1b, 0xd1, 0xdd, 0xf4, 0xda, 0xc0, 0xfd, 0x7c, 0xd2, 0xf6, 0x64, - 0x10, 0x48, 0x74, 0x19, 0x2a, 0x27, 0x46, 0xd7, 0x61, 0x07, 0xd7, 0xcb, 0xa5, 0x79, 0x45, 0xa7, - 0x69, 0xa2, 0xce, 0x98, 0x8f, 0x37, 0xbb, 0x26, 0x9d, 0x72, 0xe3, 0x6e, 0x4a, 0xb3, 0x29, 0x31, - 0x7a, 0x7d, 0xef, 0xd8, 0xb6, 0x68, 0x58, 0x13, 0xe0, 0x46, 0x6f, 0x04, 0x89, 0xce, 0x9e, 0x26, - 0x46, 0x3d, 0x7b, 0x92, 0xa6, 0xe7, 0xc9, 0x53, 0x4d, 0xcf, 0xda, 0x57, 0xeb, 0x00, 0x71, 0x5b, - 0xd1, 0x03, 0x68, 0x98, 0x62, 0x56, 0x54, 0x06, 0x46, 0x8e, 0x88, 0x91, 0x16, 0x93, 0xf3, 0x60, - 0x44, 0x00, 0xed, 0xc0, 0x84, 0x21, 0x4d, 0xf4, 0xcc, 0xa4, 0xbc, 0x3d, 0x9c, 0x5e, 0x66, 0x6a, - 0x97, 0xc9, 0xa0, 0x0f, 0x61, 0x8a, 0x8c, 0xfe, 0x64, 0x54, 0x86, 0x89, 0xdb, 0xaf, 0x0e, 0xa7, - 0xbb, 0x25, 0xa3, 0x31, 0xca, 0x49, 0x52, 0x52, 0xe4, 0x82, 0x4a, 0x22, 0x72, 0xc1, 0xf3, 0x30, - 0x9d, 0x34, 0x6a, 0xb9, 0x86, 0x49, 0x41, 0xd1, 0x0a, 0x8d, 0x13, 0x64, 0xd9, 0x4c, 0xf3, 0x0f, - 0x5e, 0x10, 0x6e, 0x51, 0xf3, 0x9b, 0x17, 0xd6, 0x25, 0x3c, 0xf4, 0x0e, 0xd4, 0xe8, 0xf1, 0xb4, - 0x88, 0xdc, 0x35, 0x74, 0x6f, 0x6c, 0x8d, 0x94, 0xd6, 0x39, 0x12, 0xba, 0x05, 0x2a, 0xa9, 0x56, - 0xdb, 0xf7, 0x1e, 0x9f, 0x88, 0xea, 0xf2, 0x38, 0x52, 0x69, 0x38, 0x51, 0x8b, 0x5e, 0x0f, 0xfb, - 0x46, 0x68, 0xbb, 0x07, 0x6c, 0x83, 0x47, 0x4c, 0x1c, 0x29, 0x30, 0x8d, 0x80, 0xe6, 0x9b, 0x87, - 0x76, 0x88, 0xcd, 0xb0, 0xef, 0x8b, 0xb0, 0x5e, 0x09, 0x58, 0x76, 0x2f, 0x64, 0x22, 0x67, 0x2f, - 0x84, 0x28, 0x05, 0x2f, 0xa0, 0x55, 0xe6, 0x01, 0x67, 0x44, 0x12, 0xdd, 0x81, 0x2b, 0xf1, 0x09, - 0x48, 0xdf, 0x0d, 0xed, 0x6e, 0xa4, 0xac, 0x59, 0x04, 0x9a, 0xa2, 0xec, 0x85, 0xb7, 0x60, 0xea, - 0xd4, 0x56, 0xc7, 0xc2, 0xbb, 0xa0, 0x9e, 0xc9, 0x06, 0x7a, 0x1f, 0x50, 0x76, 0x68, 0x8d, 0x13, - 0x04, 0x45, 0xfb, 0x1b, 0x0a, 0x4c, 0x25, 0xc6, 0x43, 0xae, 0x9f, 0x43, 0x3c, 0x3a, 0x4b, 0x89, - 0xd1, 0xb9, 0x08, 0xc8, 0x31, 0x82, 0x70, 0xc7, 0x37, 0xdc, 0xc0, 0x16, 0x36, 0x0a, 0x3f, 0x19, - 0xc8, 0xc9, 0x61, 0x81, 0xe6, 0x8c, 0x40, 0x0e, 0x34, 0x47, 0x52, 0x72, 0xfc, 0xdc, 0x6a, 0x22, - 0x7e, 0xae, 0xb6, 0x02, 0xd3, 0xc9, 0xc1, 0x46, 0x3d, 0x94, 0xc8, 0x14, 0xcd, 0x7d, 0x74, 0x58, - 0x82, 0x6e, 0xa4, 0xd8, 0x1f, 0xf1, 0xc3, 0x05, 0x7e, 0x72, 0x11, 0x01, 0x34, 0x0c, 0x55, 0xaa, - 0x8c, 0x47, 0x65, 0x0d, 0xa9, 0x28, 0xde, 0xdf, 0xc7, 0x7c, 0xc3, 0xa6, 0xa9, 0xf3, 0x14, 0xf9, - 0x0c, 0xe9, 0xfc, 0x25, 0xcb, 0xc2, 0x22, 0x22, 0x68, 0x0c, 0xd0, 0x7e, 0xa3, 0x1a, 0x4d, 0xd1, - 0x9d, 0x1e, 0x36, 0xd1, 0x1d, 0x11, 0x32, 0x48, 0x19, 0x7c, 0xf1, 0x2c, 0x9e, 0xd5, 0x45, 0xb4, - 0xa0, 0x4d, 0x68, 0x06, 0x98, 0x79, 0x6d, 0x8a, 0x15, 0x71, 0x91, 0x3a, 0xdc, 0x20, 0xb6, 0x5f, - 0x07, 0x47, 0x81, 0x06, 0xfb, 0xb6, 0x8f, 0x69, 0xe8, 0x80, 0x98, 0x82, 0xec, 0xbc, 0xda, 0x4e, - 0x47, 0x01, 0x69, 0x27, 0x22, 0x0b, 0x8b, 0x1e, 0xbf, 0x01, 0x13, 0x64, 0x55, 0xe1, 0xbb, 0x86, - 0xb3, 0xd6, 0x16, 0x11, 0x26, 0x64, 0x10, 0x11, 0xe0, 0x20, 0x39, 0xf1, 0x0b, 0xbb, 0x26, 0x05, - 0x26, 0x3a, 0xcc, 0xf1, 0x0c, 0x6b, 0xd9, 0x70, 0x0c, 0xd7, 0xa4, 0x55, 0x60, 0xc6, 0x4d, 0x0a, - 0x8a, 0xde, 0x84, 0x79, 0x19, 0xd2, 0xa1, 0xf3, 0x06, 0x77, 0x02, 0x66, 0x33, 0x5c, 0x61, 0x3e, - 0x51, 0x12, 0xa2, 0x72, 0xd4, 0x83, 0x97, 0xe9, 0x92, 0x04, 0x0c, 0xbd, 0x0a, 0x97, 0x44, 0x7a, - 0xc7, 0x37, 0xf6, 0xf7, 0x6d, 0x93, 0x79, 0x49, 0x73, 0x8d, 0x92, 0x9f, 0x89, 0x5e, 0x81, 0x8b, - 0x6c, 0xef, 0xbe, 0x75, 0x88, 0xcd, 0xa3, 0x2d, 0x61, 0x0e, 0x31, 0xf7, 0xc9, 0xbc, 0x2c, 0xd2, - 0x8e, 0x5e, 0x7f, 0xcf, 0xb1, 0x83, 0xc3, 0x2d, 0x2f, 0xd4, 0xb1, 0x61, 0x9d, 0xc4, 0x53, 0xc6, - 0x24, 0x35, 0x28, 0x0a, 0xf3, 0x91, 0x0d, 0x97, 0x82, 0x3c, 0x73, 0x8a, 0x2f, 0x82, 0x3f, 0x37, - 0x78, 0x08, 0xe5, 0x5a, 0x62, 0x7a, 0x3e, 0x45, 0xea, 0xe1, 0xdb, 0xbb, 0xcb, 0x36, 0xce, 0x98, - 0xe3, 0x65, 0x94, 0xd6, 0x96, 0x60, 0x4a, 0x90, 0x64, 0x92, 0xfe, 0x0a, 0x5c, 0x4c, 0xf4, 0x16, - 0xbb, 0x79, 0xc1, 0x23, 0xca, 0xe5, 0x65, 0x69, 0xbf, 0x58, 0x82, 0xba, 0x88, 0x47, 0x71, 0x26, - 0x53, 0xee, 0x75, 0xa8, 0x04, 0x3d, 0x6c, 0xf2, 0x1d, 0xfe, 0x21, 0x42, 0x44, 0xe4, 0x4e, 0xa7, - 0xe5, 0xd1, 0xdb, 0xa9, 0xd0, 0xdb, 0xcf, 0x0d, 0xc1, 0xcc, 0xb7, 0xb9, 0x2a, 0x29, 0x9b, 0x2b, - 0x2f, 0xe6, 0x8a, 0x64, 0x0c, 0xd5, 0x4e, 0x67, 0x0c, 0xfd, 0x96, 0x02, 0x17, 0xe3, 0xa8, 0x1f, - 0xa7, 0x53, 0xc6, 0x44, 0xcc, 0x8c, 0x20, 0xdc, 0xed, 0x59, 0x49, 0x2f, 0xc8, 0x14, 0xb4, 0x40, - 0x69, 0xd7, 0x9f, 0xa0, 0xd2, 0xfe, 0x8f, 0x35, 0x00, 0x29, 0xe6, 0xca, 0x99, 0x7a, 0x9f, 0x2e, - 0x9f, 0x68, 0xac, 0x97, 0x60, 0x85, 0x45, 0xa9, 0xe3, 0x7b, 0x0b, 0x69, 0x30, 0x69, 0x57, 0x1c, - 0x2c, 0xa5, 0x13, 0xfa, 0x46, 0x88, 0x0f, 0xc4, 0x96, 0x70, 0x4e, 0x0e, 0xdd, 0x3f, 0x33, 0x1e, - 0xef, 0xba, 0x3c, 0xc4, 0xa5, 0x23, 0x14, 0x60, 0x0a, 0x4a, 0x0f, 0xca, 0x8c, 0xc7, 0x9d, 0xbe, - 0x1f, 0x35, 0x34, 0x4a, 0x53, 0x4f, 0x4e, 0xa3, 0x1f, 0x60, 0xb6, 0x59, 0xdc, 0xd0, 0x79, 0x2a, - 0xa9, 0xbf, 0xeb, 0x67, 0xd6, 0xdf, 0xf4, 0xe4, 0x86, 0xb5, 0x96, 0x7b, 0xdb, 0x44, 0x69, 0xc2, - 0xa0, 0x3e, 0xed, 0x5c, 0x4b, 0x17, 0x45, 0xd8, 0xfe, 0x6d, 0x1a, 0x2c, 0x4e, 0x71, 0x4e, 0xa2, - 0x72, 0xc0, 0x1c, 0xff, 0x13, 0x40, 0xf4, 0x12, 0xcc, 0x46, 0x6d, 0x8f, 0x4a, 0x32, 0x6d, 0x97, - 0xcd, 0x20, 0x7a, 0xa1, 0xef, 0x66, 0xcb, 0x4f, 0x32, 0xed, 0x98, 0x93, 0xc5, 0xfd, 0x18, 0xd8, - 0xf8, 0xde, 0xe4, 0xe3, 0x87, 0xd9, 0x58, 0x19, 0x38, 0xfa, 0x32, 0xcc, 0x89, 0x45, 0xb2, 0xc4, - 0x19, 0x11, 0x82, 0xef, 0xc5, 0x21, 0x52, 0x26, 0xa3, 0xe8, 0xb9, 0x84, 0x22, 0x29, 0x9f, 0x2e, - 0x90, 0xf2, 0x99, 0x7c, 0x29, 0x9f, 0x3d, 0xdd, 0x8e, 0xe4, 0x7a, 0xc2, 0x48, 0x47, 0x03, 0xa3, - 0x40, 0xe5, 0x68, 0x03, 0xd9, 0x54, 0xd7, 0x7e, 0x5e, 0x81, 0x8b, 0x71, 0x40, 0xa4, 0x4f, 0xaa, - 0xf9, 0xf6, 0x67, 0xab, 0x00, 0x52, 0x98, 0xa9, 0xef, 0x92, 0x26, 0x48, 0x48, 0x5f, 0xf9, 0x89, - 0x4a, 0x5f, 0x25, 0x25, 0x7d, 0xb7, 0x61, 0x6e, 0xbf, 0xef, 0x38, 0x27, 0x94, 0x8e, 0x24, 0x82, - 0x6c, 0xb7, 0x24, 0x37, 0x2f, 0x2b, 0x87, 0xb5, 0x91, 0xe5, 0xb0, 0x5e, 0x24, 0x87, 0x45, 0x92, - 0x02, 0x4f, 0x5a, 0x52, 0x1a, 0x05, 0x92, 0xd2, 0xcc, 0x97, 0x94, 0x89, 0x27, 0x21, 0x29, 0x93, - 0x03, 0x25, 0x25, 0x47, 0x0a, 0x12, 0x92, 0xf2, 0x15, 0x98, 0x2f, 0xea, 0xe5, 0x9c, 0xf5, 0xc0, - 0x02, 0x34, 0xd8, 0x02, 0x34, 0x3a, 0x66, 0x8c, 0xd2, 0xf4, 0x00, 0x92, 0x2c, 0x0f, 0xc4, 0xc6, - 0x11, 0x4f, 0x69, 0x7f, 0xa4, 0xc0, 0xc5, 0xbc, 0xc8, 0x72, 0x67, 0x1a, 0xee, 0xcb, 0x09, 0xb3, - 0x67, 0x71, 0xf4, 0x60, 0x71, 0x92, 0x09, 0x74, 0x3f, 0x65, 0x02, 0xbd, 0x32, 0x06, 0x95, 0xa4, - 0x39, 0x24, 0xba, 0xb9, 0x22, 0xdd, 0x2d, 0xfb, 0xb5, 0x12, 0x5c, 0x29, 0xf8, 0x3e, 0xba, 0x0b, - 0x93, 0x5d, 0xdb, 0x5d, 0x8a, 0xa6, 0x56, 0x65, 0xa0, 0xf1, 0xb6, 0xe6, 0x86, 0xdb, 0x7e, 0x27, - 0xf4, 0xe9, 0x35, 0x7d, 0x19, 0x0f, 0x3d, 0x80, 0x86, 0x10, 0xc4, 0xd3, 0xae, 0x83, 0x22, 0x02, - 0x68, 0x3d, 0x33, 0xe3, 0x97, 0x47, 0xae, 0x56, 0xda, 0x2a, 0x78, 0x17, 0x16, 0xfa, 0x2e, 0xb3, - 0xfe, 0x4f, 0xda, 0x9e, 0xb5, 0x7a, 0x6c, 0xd3, 0x2b, 0x04, 0x7c, 0x45, 0xc1, 0xf4, 0xe3, 0x80, - 0x12, 0xda, 0x37, 0xca, 0x70, 0xb5, 0x90, 0xed, 0xc8, 0x86, 0x29, 0x8b, 0xe5, 0x60, 0xab, 0xed, - 0x59, 0x62, 0x05, 0xd9, 0x1a, 0xb7, 0xff, 0x16, 0x57, 0x64, 0x2a, 0x7c, 0xe7, 0x29, 0x41, 0x99, - 0x9a, 0x4d, 0x11, 0x2e, 0x3d, 0x92, 0x79, 0x14, 0x69, 0xd6, 0x9c, 0x1c, 0x7a, 0x9c, 0xd8, 0xf7, - 0x7d, 0xec, 0x86, 0xcc, 0xb5, 0xe9, 0x84, 0xef, 0x28, 0xa7, 0xa0, 0xa4, 0x1c, 0x0f, 0x2b, 0x2c, - 0xca, 0x31, 0xdd, 0x99, 0x82, 0xb2, 0x95, 0x5b, 0x0f, 0x9b, 0xa2, 0xa5, 0x4c, 0x73, 0x26, 0x60, - 0xfc, 0xd5, 0x86, 0xe4, 0xee, 0xd6, 0x80, 0xbb, 0x6f, 0x59, 0x25, 0xb0, 0xf0, 0x3e, 0xa0, 0x2c, - 0x2b, 0xc6, 0x3a, 0x21, 0xfa, 0x69, 0x05, 0x26, 0xa4, 0x01, 0x81, 0xde, 0x92, 0x26, 0xda, 0xe9, - 0xc2, 0xe8, 0x2a, 0x12, 0xc6, 0x22, 0xbd, 0x5e, 0x12, 0xcd, 0xc8, 0xb6, 0x1b, 0x3e, 0x8c, 0xee, - 0x56, 0xf2, 0x14, 0x9b, 0xa9, 0x7d, 0x02, 0x2f, 0x8b, 0x99, 0x9a, 0xa4, 0xb4, 0xa7, 0xa0, 0x42, - 0x63, 0xc4, 0xd7, 0xa1, 0xbc, 0xe6, 0x86, 0xea, 0x05, 0x04, 0x50, 0x63, 0x54, 0x55, 0x45, 0xfb, - 0xba, 0x42, 0xef, 0xa9, 0x7c, 0x22, 0x0d, 0x80, 0xaf, 0xd7, 0xa1, 0xdc, 0xf6, 0xac, 0xb3, 0xa9, - 0xc2, 0x69, 0x28, 0xad, 0xb5, 0xc5, 0x35, 0x9b, 0xb5, 0x36, 0x99, 0x1a, 0x5d, 0xaf, 0x6b, 0xbb, - 0xc4, 0xba, 0x25, 0xab, 0xee, 0xad, 0xf8, 0x94, 0x26, 0x9b, 0x21, 0x0e, 0x31, 0x68, 0x21, 0x56, - 0xed, 0x28, 0x4d, 0xba, 0xbb, 0x77, 0x68, 0x04, 0xa2, 0xda, 0x2c, 0x41, 0x86, 0xa4, 0x8f, 0xa9, - 0x17, 0x1e, 0x73, 0x5b, 0x60, 0xf3, 0x73, 0x02, 0x86, 0x76, 0xa4, 0x67, 0x23, 0x98, 0xac, 0x45, - 0xbb, 0xa6, 0xcf, 0x8f, 0xe2, 0x51, 0xd8, 0x0f, 0xf4, 0x2c, 0x01, 0xf4, 0x45, 0xb8, 0x44, 0x96, - 0xe8, 0xad, 0x0c, 0xe5, 0xe9, 0xb1, 0x28, 0xe7, 0x13, 0xc9, 0x35, 0xbd, 0x1b, 0x05, 0xa6, 0x77, - 0x3c, 0x64, 0x9a, 0x89, 0x21, 0x23, 0xec, 0x00, 0x28, 0xb0, 0x03, 0x26, 0x72, 0x5e, 0x6f, 0x98, - 0x1c, 0xf5, 0x54, 0xa1, 0xc8, 0x8a, 0x99, 0x7a, 0x52, 0x56, 0xcc, 0x02, 0x34, 0xbe, 0x7f, 0xbb, - 0x43, 0x2f, 0x4c, 0xf3, 0x20, 0xdf, 0x51, 0x9a, 0x06, 0xf0, 0xf7, 0x6d, 0xcf, 0xb7, 0xc3, 0x13, - 0x56, 0x40, 0x65, 0x7b, 0xc8, 0x09, 0xe0, 0x13, 0x58, 0x05, 0x88, 0x10, 0xee, 0x54, 0xd6, 0x90, - 0x14, 0xc2, 0x9d, 0x8a, 0xd8, 0x73, 0x30, 0xc5, 0xcf, 0x9a, 0xb0, 0x45, 0x4b, 0x5c, 0x64, 0xcf, - 0x08, 0x24, 0x80, 0xfc, 0x59, 0x00, 0xa1, 0x10, 0xe7, 0x06, 0xde, 0x19, 0x6f, 0x7b, 0x56, 0xbe, - 0x61, 0xf4, 0xeb, 0x0a, 0x4c, 0xca, 0x99, 0x63, 0xa9, 0x8e, 0xe7, 0x60, 0x8a, 0x28, 0x88, 0xb6, - 0xef, 0xed, 0x61, 0x49, 0x6b, 0x24, 0x81, 0x05, 0x0a, 0xa6, 0x32, 0x82, 0x82, 0xa9, 0x16, 0x29, - 0x98, 0x5a, 0x6a, 0xaf, 0x41, 0x81, 0x99, 0xd4, 0x48, 0xcf, 0x3d, 0x1a, 0x4d, 0xdc, 0x3f, 0x59, - 0x89, 0x42, 0x25, 0xc7, 0x20, 0x7a, 0x9a, 0x46, 0x2c, 0x70, 0xda, 0x92, 0x86, 0xce, 0x12, 0x19, - 0x5d, 0x50, 0xc9, 0xd1, 0x05, 0x73, 0xc2, 0xa3, 0x98, 0x6b, 0x11, 0xe6, 0x2a, 0x5c, 0x58, 0xe7, - 0xf8, 0x4a, 0x60, 0xbd, 0xe0, 0x49, 0x80, 0x46, 0xe2, 0x49, 0x00, 0xed, 0x9b, 0x0a, 0x34, 0x36, - 0xe5, 0x68, 0x87, 0xa2, 0x93, 0xf8, 0x3b, 0x70, 0x63, 0x3c, 0x42, 0x92, 0x75, 0x54, 0x98, 0x87, - 0x3a, 0xe1, 0x02, 0xe6, 0x6d, 0x9b, 0xd4, 0x45, 0x52, 0xb0, 0x0c, 0xbb, 0xec, 0x4d, 0x9c, 0x6a, - 0xcc, 0x32, 0x0e, 0x92, 0x9d, 0x53, 0x6b, 0x09, 0xe7, 0x54, 0xed, 0x6f, 0x2a, 0x80, 0xa2, 0x40, - 0x86, 0x9f, 0xd4, 0xc9, 0xe9, 0xab, 0x25, 0x68, 0xc6, 0xb1, 0x21, 0xcf, 0x34, 0x45, 0x15, 0x35, - 0x22, 0x4f, 0xe5, 0x96, 0x0b, 0x55, 0xee, 0xe8, 0x5b, 0x8e, 0x6b, 0x39, 0x16, 0xd1, 0x67, 0x86, - 0x05, 0x94, 0xcc, 0x57, 0x03, 0x7f, 0xa5, 0x0c, 0x73, 0x79, 0x2a, 0x14, 0x6d, 0x47, 0xa1, 0xfc, - 0x99, 0xf5, 0xf9, 0xf9, 0x31, 0xf4, 0x6f, 0x6e, 0x48, 0xff, 0x5d, 0xb2, 0x90, 0xa6, 0x7e, 0xdd, - 0xe2, 0x50, 0xe3, 0x8d, 0x71, 0x48, 0x72, 0x9f, 0x70, 0x4e, 0x34, 0x22, 0x95, 0xeb, 0xa7, 0xd1, - 0x92, 0xce, 0x34, 0xa6, 0x0b, 0xd7, 0x0c, 0x79, 0x9f, 0x89, 0xad, 0xb4, 0x31, 0x5f, 0x08, 0x48, - 0x9c, 0xcc, 0xbd, 0x05, 0x53, 0x89, 0xea, 0x8e, 0x65, 0x6a, 0x7e, 0x53, 0x81, 0x99, 0xd4, 0xf4, - 0x81, 0xbe, 0x08, 0x93, 0x6c, 0x02, 0x79, 0xc8, 0x56, 0xa0, 0xac, 0x4b, 0xee, 0x8c, 0x36, 0xf9, - 0x2c, 0x6e, 0x4a, 0xa8, 0x8c, 0x7d, 0x09, 0x6a, 0x0b, 0xef, 0xc1, 0x6c, 0xa6, 0xc8, 0x58, 0x2f, - 0x22, 0xfc, 0x69, 0x09, 0xea, 0xeb, 0xde, 0x1e, 0x5d, 0xfb, 0xdd, 0x80, 0x89, 0x9e, 0xe1, 0x1b, - 0x8e, 0x83, 0x1d, 0x3b, 0xe8, 0x8a, 0x7b, 0x46, 0x12, 0x88, 0x69, 0x96, 0x6e, 0x8f, 0xf9, 0x35, - 0x05, 0xdc, 0x06, 0x96, 0x41, 0xe8, 0x55, 0xb8, 0xc4, 0xe2, 0x91, 0xac, 0x60, 0xc3, 0x72, 0x6c, - 0x17, 0x0b, 0xe7, 0x11, 0x26, 0xff, 0xf9, 0x99, 0x44, 0x59, 0xef, 0x19, 0xe6, 0x91, 0xb7, 0xbf, - 0xcf, 0xae, 0x3d, 0x70, 0x65, 0x2d, 0xc3, 0x92, 0x9b, 0x43, 0xd5, 0x33, 0x6f, 0x0e, 0xd1, 0x5d, - 0x64, 0xb7, 0x6f, 0x44, 0xe5, 0xf8, 0x4e, 0x70, 0x0a, 0x5a, 0x68, 0xda, 0xd4, 0x9f, 0x90, 0x69, - 0xa3, 0xfd, 0x96, 0x02, 0x4d, 0xd2, 0x03, 0xc5, 0x7a, 0x47, 0x29, 0xd0, 0x3b, 0x09, 0x83, 0xa4, - 0x94, 0x36, 0x48, 0xe8, 0x1d, 0x7e, 0xd1, 0x31, 0x92, 0x0a, 0x4e, 0x41, 0x89, 0x06, 0x64, 0x9d, - 0xc2, 0xb9, 0xce, 0x53, 0x94, 0x7a, 0xdf, 0x34, 0x31, 0xb6, 0xb0, 0x88, 0x2b, 0x10, 0x03, 0x98, - 0xef, 0xb6, 0xed, 0x60, 0x11, 0x5e, 0x80, 0xa7, 0xa8, 0x6d, 0xb2, 0xee, 0xed, 0x7d, 0x6f, 0xdb, - 0x26, 0x3f, 0x57, 0x82, 0xf2, 0xba, 0xb7, 0x77, 0xb6, 0x99, 0xe5, 0x76, 0x62, 0x1f, 0xe8, 0x7a, - 0x71, 0x6c, 0x5d, 0x69, 0xdf, 0xe7, 0x4e, 0x6a, 0xdf, 0xe7, 0xc6, 0x00, 0xac, 0xd3, 0x1f, 0x7b, - 0xb5, 0x72, 0xe6, 0xa0, 0x67, 0x8b, 0xbf, 0x94, 0x3f, 0xfb, 0xfc, 0x68, 0x19, 0x26, 0x78, 0x0c, - 0x5d, 0xaa, 0x3c, 0x16, 0xa0, 0x21, 0x4c, 0x5d, 0xf1, 0xdc, 0x85, 0x48, 0xa3, 0x3b, 0x70, 0x85, - 0x8e, 0x4b, 0xdb, 0x3d, 0x48, 0xab, 0x05, 0x36, 0x6c, 0x8b, 0xb2, 0xa9, 0x37, 0xa6, 0xe7, 0xb2, - 0x1d, 0x0a, 0xf3, 0x84, 0x6f, 0xd2, 0xf0, 0x15, 0x63, 0x26, 0x83, 0x5e, 0xc9, 0xea, 0x07, 0x3d, - 0xcc, 0xa3, 0x97, 0x34, 0x74, 0x91, 0x44, 0xef, 0xc2, 0x02, 0x1d, 0xbb, 0x41, 0xb0, 0xdf, 0x77, - 0xd6, 0xbd, 0xbd, 0xe0, 0xbe, 0x1d, 0x84, 0x51, 0xa4, 0x06, 0x36, 0xba, 0x07, 0x94, 0x40, 0xaf, - 0xc3, 0x65, 0x36, 0xc0, 0x33, 0xb8, 0x6c, 0xf8, 0x17, 0xe4, 0x7e, 0xfc, 0xda, 0xe3, 0x97, 0x14, - 0x98, 0x12, 0xdd, 0xc0, 0x46, 0xc2, 0xbb, 0x91, 0x3c, 0x2b, 0x03, 0xd7, 0x9e, 0x29, 0x3f, 0xcb, - 0x48, 0xee, 0x6f, 0x81, 0x4a, 0x84, 0xa8, 0xc3, 0x3b, 0x4f, 0x52, 0x2e, 0x19, 0xb8, 0x10, 0xc5, - 0x4e, 0xc4, 0xb8, 0xb4, 0xa9, 0x97, 0xcc, 0xd1, 0xfe, 0x40, 0x81, 0xba, 0x08, 0x11, 0xfd, 0x5d, - 0x38, 0x5b, 0x96, 0xc6, 0xe7, 0x98, 0x67, 0xcb, 0x09, 0x96, 0x9e, 0x46, 0xc8, 0xb4, 0xff, 0x59, - 0x82, 0xa9, 0x28, 0x04, 0x33, 0x95, 0x90, 0xc4, 0x04, 0xa6, 0x9c, 0x79, 0x02, 0xcb, 0x3f, 0x36, - 0x2d, 0x8d, 0x71, 0x6c, 0x5a, 0xce, 0x3d, 0x36, 0xbd, 0x09, 0x33, 0x5d, 0xdb, 0xa5, 0xee, 0x0d, - 0x42, 0x48, 0xd9, 0xc4, 0x90, 0x06, 0xa3, 0xdb, 0x64, 0x70, 0x1f, 0xdb, 0x64, 0xdd, 0x90, 0x23, - 0x4e, 0xb9, 0x79, 0x85, 0x02, 0x51, 0x7b, 0x52, 0x02, 0xf1, 0x9d, 0x12, 0xcc, 0xc4, 0x7c, 0x67, - 0xfd, 0xf6, 0x3a, 0x5c, 0xe6, 0x9b, 0x9c, 0x5b, 0xf4, 0x46, 0x92, 0x18, 0xc3, 0x56, 0xe4, 0xd2, - 0x9a, 0x9b, 0x4b, 0x58, 0xcc, 0xae, 0x30, 0x6d, 0xda, 0x41, 0xb4, 0x8e, 0x17, 0x5b, 0xac, 0xd9, - 0x1c, 0xf2, 0x1d, 0xbe, 0x49, 0x9a, 0xfe, 0x0e, 0xdb, 0x6a, 0x2d, 0xc8, 0xa5, 0xcf, 0x4f, 0x51, - 0x10, 0x65, 0x2f, 0x67, 0xb7, 0x0c, 0x22, 0x94, 0xf9, 0xa9, 0x70, 0x9a, 0x32, 0xd7, 0x3f, 0xf9, - 0xb9, 0xa4, 0x33, 0x19, 0x99, 0x78, 0x47, 0x9f, 0x1d, 0x45, 0xa5, 0xc1, 0x74, 0x6f, 0x8e, 0x82, - 0xe4, 0x11, 0xc2, 0xce, 0xac, 0xb3, 0x19, 0x74, 0x99, 0x18, 0x71, 0xf9, 0x93, 0xba, 0x4c, 0xfc, - 0x93, 0x12, 0x34, 0xe3, 0x98, 0xed, 0x67, 0xd2, 0x37, 0x77, 0x12, 0xfa, 0xe6, 0xb9, 0x61, 0x21, - 0xd7, 0x25, 0x8d, 0x33, 0xea, 0x43, 0xf2, 0xa9, 0x31, 0x7b, 0x3e, 0xfe, 0x2c, 0xa9, 0xe5, 0x69, - 0x7d, 0xe0, 0xf2, 0x34, 0xdb, 0xff, 0x09, 0x03, 0xe1, 0xc7, 0xca, 0xec, 0x7a, 0x3e, 0x8f, 0xc6, - 0x4e, 0x55, 0xe0, 0x4d, 0x98, 0xe1, 0x22, 0x10, 0x9d, 0x8c, 0x32, 0x09, 0x4c, 0x83, 0x9f, 0xb4, - 0x23, 0x5d, 0xea, 0x09, 0xd1, 0x72, 0xf6, 0x09, 0xd1, 0x57, 0xe0, 0x62, 0xcf, 0xb3, 0x36, 0x0d, - 0xd7, 0x38, 0xa0, 0xd8, 0x89, 0x03, 0xa1, 0xbc, 0x2c, 0xa2, 0x50, 0x99, 0xd4, 0x45, 0xca, 0x97, - 0xbb, 0xf8, 0x26, 0xa1, 0xc4, 0x90, 0xee, 0x11, 0xeb, 0x26, 0x14, 0xdb, 0x2d, 0x55, 0x3d, 0x06, - 0x7c, 0xfc, 0x16, 0xc2, 0x2f, 0x28, 0x30, 0x2b, 0xf7, 0x43, 0xf4, 0x9e, 0xb1, 0x9f, 0xec, 0x82, - 0xf8, 0x6c, 0x3c, 0x73, 0xce, 0x5d, 0xca, 0x3b, 0xe7, 0xbe, 0x09, 0x33, 0x5c, 0x6d, 0x46, 0xe5, - 0x98, 0x96, 0x4b, 0x83, 0xf3, 0x3c, 0x5d, 0x2a, 0xb9, 0x9e, 0x2e, 0xda, 0xdf, 0x52, 0x60, 0x4e, - 0xaa, 0xeb, 0x27, 0x76, 0xff, 0xa9, 0x0c, 0x13, 0xf2, 0x3b, 0x09, 0x67, 0x52, 0x2d, 0x6f, 0x26, - 0x54, 0xcb, 0xf3, 0xc3, 0x1f, 0x39, 0x90, 0x94, 0xcb, 0xfb, 0x29, 0xe5, 0x72, 0x73, 0x04, 0xec, - 0xf3, 0x54, 0x2f, 0x0f, 0x72, 0xd4, 0xcb, 0x8b, 0xc3, 0xeb, 0x9c, 0xaf, 0x60, 0xbe, 0x5a, 0x02, - 0x35, 0xf3, 0x80, 0xc3, 0x99, 0xba, 0xe2, 0xbd, 0x44, 0x57, 0xbc, 0x38, 0xe2, 0x6b, 0x03, 0x52, - 0x7f, 0xac, 0xa6, 0xfa, 0xe3, 0xb3, 0xa3, 0x92, 0x38, 0xbd, 0x9d, 0xf9, 0x8d, 0x2a, 0xcc, 0xe5, - 0xd5, 0x08, 0xed, 0x66, 0x2e, 0x66, 0xbc, 0x31, 0x46, 0x83, 0x0a, 0xaf, 0x68, 0xdc, 0x86, 0xb9, - 0xf4, 0xbb, 0x0a, 0x74, 0x97, 0x99, 0xc9, 0x60, 0x6e, 0x1e, 0xbd, 0xdf, 0x46, 0xd7, 0x01, 0x9b, - 0xf4, 0x29, 0xae, 0x32, 0xbf, 0xdf, 0x16, 0x83, 0xd0, 0x32, 0x34, 0x4c, 0xfa, 0x68, 0x03, 0xde, - 0xe7, 0xe1, 0xaf, 0x46, 0x5d, 0xb6, 0x44, 0x78, 0x68, 0x05, 0x9e, 0x4e, 0x7f, 0x5d, 0xc7, 0x34, - 0x97, 0xeb, 0x72, 0x26, 0xc5, 0x83, 0x0b, 0x91, 0xe5, 0x8f, 0x1c, 0x9e, 0x97, 0x4e, 0x17, 0x6c, - 0x7b, 0x20, 0x03, 0xa7, 0xe1, 0x34, 0xbc, 0xbe, 0x1b, 0x8a, 0x57, 0x6d, 0xd9, 0xc5, 0xbd, 0x04, - 0x0c, 0x5d, 0x07, 0x60, 0xaf, 0xb7, 0xd2, 0x97, 0x45, 0xd9, 0x01, 0x81, 0x04, 0x41, 0x0f, 0x60, - 0x92, 0xde, 0x28, 0x11, 0xbe, 0xd8, 0xcd, 0x81, 0x8f, 0x7e, 0xd0, 0xbb, 0x29, 0x7c, 0x56, 0xdb, - 0xc1, 0x7e, 0x57, 0x4f, 0x20, 0x23, 0x9c, 0x7d, 0x40, 0x83, 0x79, 0x5b, 0xf3, 0xb8, 0xb3, 0x23, - 0x8f, 0x47, 0x36, 0x8d, 0x14, 0x10, 0x3b, 0xd3, 0xdd, 0x09, 0xed, 0x9f, 0x95, 0xe1, 0x72, 0xfe, - 0xf7, 0xd0, 0x1e, 0xcc, 0x1e, 0x98, 0x38, 0xce, 0xa4, 0x61, 0x39, 0x99, 0x14, 0x17, 0x5d, 0xd6, - 0xb9, 0xd7, 0x5a, 0x4d, 0x96, 0x4f, 0x34, 0x20, 0x4b, 0x0e, 0x1d, 0xc1, 0x9c, 0xf1, 0x28, 0x58, - 0x25, 0xf3, 0x80, 0x6d, 0x2e, 0x3b, 0x9e, 0x79, 0xd4, 0x09, 0x3d, 0x5f, 0x84, 0x07, 0x2a, 0xda, - 0x2a, 0x5f, 0xfa, 0xa0, 0x93, 0x41, 0x49, 0x7c, 0x29, 0x97, 0x28, 0xda, 0x81, 0xa6, 0xf1, 0x51, - 0xdf, 0xc7, 0x77, 0xed, 0xc8, 0x67, 0xe5, 0xf5, 0xa2, 0x2f, 0x88, 0x72, 0x05, 0x7d, 0x11, 0x13, - 0x42, 0xeb, 0x9c, 0x2a, 0x65, 0x0f, 0x93, 0x96, 0x97, 0x06, 0x51, 0xcd, 0xb0, 0x25, 0x46, 0x47, - 0x77, 0xa0, 0x6c, 0x06, 0x36, 0x8f, 0xda, 0x5a, 0x78, 0x4c, 0xdd, 0x59, 0x4b, 0xe0, 0x13, 0x14, - 0xed, 0x2f, 0x28, 0xf0, 0xf4, 0x40, 0xee, 0x53, 0x27, 0x5b, 0x4b, 0x8a, 0xcb, 0xcd, 0x53, 0x74, - 0xef, 0x30, 0x90, 0x94, 0x06, 0x4f, 0x25, 0x0d, 0xa5, 0x72, 0xda, 0x50, 0xe2, 0x51, 0x50, 0xb6, - 0x5d, 0xe7, 0x84, 0xef, 0xee, 0x44, 0x69, 0xed, 0x6b, 0x0a, 0xdc, 0x18, 0xd6, 0x45, 0x84, 0x00, - 0x93, 0xbb, 0xf8, 0x81, 0x70, 0x91, 0xfe, 0x18, 0xaa, 0xf4, 0xb7, 0x15, 0xf8, 0xd4, 0x90, 0x3e, - 0xa5, 0xd1, 0x39, 0xb0, 0xe9, 0x63, 0xf9, 0x91, 0x58, 0x09, 0x42, 0xb7, 0x60, 0x0f, 0x0d, 0x1f, - 0x4b, 0x8f, 0xc4, 0xc6, 0x80, 0xc4, 0xd7, 0xcb, 0xc9, 0xaf, 0xb3, 0x4b, 0x1e, 0x82, 0x0e, 0xbb, - 0x26, 0x5b, 0x11, 0x97, 0x3c, 0x12, 0x60, 0xed, 0x1f, 0x29, 0x70, 0x29, 0x77, 0x94, 0xd0, 0x07, - 0xd5, 0xed, 0xe0, 0x48, 0x7e, 0xc0, 0x56, 0xa4, 0x89, 0x6d, 0x44, 0xfe, 0xef, 0xea, 0x6b, 0xe2, - 0x9a, 0x26, 0x4f, 0xd2, 0x23, 0x02, 0xc3, 0x3c, 0xb4, 0xdd, 0x83, 0x4d, 0xf1, 0x4c, 0x6e, 0x53, - 0x97, 0x41, 0x12, 0xaf, 0x2b, 0x09, 0x5e, 0xcb, 0xed, 0xa9, 0xa6, 0xda, 0x23, 0x2e, 0x01, 0xd7, - 0xa4, 0xcb, 0xc2, 0x7f, 0xa9, 0x06, 0x33, 0xa9, 0x91, 0x49, 0x68, 0x5b, 0xec, 0x01, 0x72, 0x3e, - 0xe4, 0x58, 0x8a, 0x68, 0x6a, 0xd6, 0xd7, 0xf7, 0x0d, 0xd7, 0x72, 0x04, 0x33, 0x13, 0xb0, 0x81, - 0xfc, 0x2c, 0xaa, 0xf3, 0x21, 0xa8, 0x8c, 0xc6, 0x52, 0x18, 0xfa, 0xf6, 0x5e, 0x3f, 0x8c, 0x22, - 0xc1, 0xbf, 0x3d, 0x9a, 0x2c, 0x2d, 0x3e, 0x4c, 0xa1, 0xf3, 0x97, 0x21, 0xd3, 0x54, 0xd1, 0x3e, - 0x2c, 0x98, 0x9e, 0x1b, 0xfa, 0x9e, 0xe3, 0x60, 0xbf, 0xcd, 0xae, 0xa1, 0x74, 0x68, 0x5f, 0x92, - 0x39, 0x73, 0xb0, 0x3d, 0x16, 0x95, 0xe3, 0x73, 0xe6, 0x00, 0x4a, 0xe8, 0x21, 0x20, 0x97, 0x5d, - 0x80, 0x3c, 0xc0, 0x31, 0xfd, 0xfa, 0x58, 0xf4, 0x73, 0x28, 0xa0, 0x0f, 0x61, 0x8e, 0x5e, 0x41, - 0x4e, 0xd7, 0xbc, 0x31, 0x16, 0xe5, 0x5c, 0x1a, 0xc8, 0x82, 0xab, 0x71, 0x8b, 0x56, 0x1f, 0xf7, - 0x0c, 0xd7, 0x8a, 0x3f, 0xd0, 0x1c, 0xeb, 0x03, 0xc5, 0x84, 0xd0, 0x0f, 0xc0, 0x45, 0xf2, 0xf5, - 0x34, 0x7d, 0x18, 0x8b, 0x7e, 0x1e, 0x89, 0x85, 0x16, 0x5c, 0xca, 0x1d, 0x06, 0x63, 0xdd, 0x08, - 0x6c, 0xc1, 0x4c, 0xea, 0x63, 0xe3, 0xc7, 0x43, 0xd0, 0xbe, 0x92, 0x33, 0x37, 0x47, 0x4f, 0x71, - 0x33, 0x8f, 0x2b, 0x45, 0xf6, 0xb8, 0x92, 0xd6, 0x48, 0xa5, 0xa4, 0xaf, 0x44, 0xbc, 0xaa, 0x2a, - 0xcb, 0xab, 0x2a, 0xed, 0xd7, 0x15, 0x50, 0xd3, 0x56, 0x0c, 0xfa, 0x02, 0xa8, 0x5d, 0x23, 0x34, - 0x0f, 0x57, 0x1f, 0xf7, 0x7c, 0x76, 0xe7, 0xe9, 0xd4, 0x3b, 0xa4, 0x19, 0x42, 0xe8, 0xfb, 0x61, - 0x82, 0xc2, 0xee, 0xda, 0xd8, 0xb1, 0x4e, 0xbd, 0x99, 0x20, 0xd3, 0xd0, 0x7e, 0xa2, 0x04, 0x97, - 0xf2, 0x9f, 0x4e, 0x3b, 0xd3, 0xfa, 0x63, 0x25, 0xb1, 0xfe, 0x78, 0x65, 0x9c, 0xd7, 0xce, 0xa4, - 0x45, 0xc8, 0x7a, 0x6a, 0x11, 0x72, 0x7b, 0x2c, 0x3a, 0xa7, 0x5f, 0x89, 0xfc, 0x46, 0x09, 0x9e, - 0x1a, 0x40, 0xb3, 0x60, 0x04, 0xa5, 0xd6, 0x06, 0xa5, 0xec, 0xda, 0xe0, 0x8b, 0xd2, 0x42, 0xa6, - 0x3c, 0x30, 0xf4, 0xcb, 0x80, 0xaf, 0x17, 0xae, 0x67, 0x76, 0x13, 0x4b, 0xd2, 0xca, 0xc0, 0x18, - 0x43, 0xb9, 0xf4, 0xf3, 0xfd, 0x56, 0xcf, 0x64, 0x22, 0xff, 0x64, 0x19, 0xae, 0x16, 0xf6, 0x72, - 0x9a, 0x63, 0x4a, 0x96, 0x63, 0x6b, 0xd0, 0x14, 0x5b, 0x41, 0xc1, 0x90, 0xc5, 0x6c, 0xee, 0x46, - 0x52, 0x8c, 0x1d, 0x2f, 0x5f, 0xa4, 0x7d, 0x33, 0x09, 0x92, 0xf0, 0xf3, 0xae, 0x9c, 0xd5, 0xcf, - 0x3b, 0x6f, 0xed, 0x55, 0x2d, 0x58, 0x7b, 0x25, 0xd7, 0x55, 0xb5, 0xcc, 0xba, 0xaa, 0x0d, 0x40, - 0xea, 0xc1, 0x97, 0x3f, 0xf5, 0x81, 0x12, 0x45, 0xa6, 0x72, 0x6b, 0xc3, 0x33, 0x0d, 0x27, 0xbd, - 0xba, 0x94, 0x68, 0x68, 0x5f, 0x86, 0xab, 0x85, 0x05, 0x89, 0xf1, 0x60, 0xf4, 0xec, 0x7b, 0xf4, - 0x71, 0x00, 0x6e, 0x2c, 0x89, 0x74, 0x64, 0xbc, 0x94, 0xa4, 0x08, 0x26, 0x39, 0xbe, 0x2f, 0xda, - 0xef, 0x2a, 0x70, 0x7d, 0xf0, 0x10, 0xfb, 0x9e, 0x3c, 0x4d, 0xff, 0x86, 0x02, 0xc0, 0x9f, 0x35, - 0xea, 0x3b, 0xd4, 0x89, 0xee, 0x18, 0xfb, 0x7b, 0xd1, 0x3d, 0x70, 0x9a, 0x20, 0xd3, 0x92, 0xe0, - 0x97, 0x50, 0x02, 0x31, 0x80, 0x45, 0xa8, 0x15, 0x03, 0x9a, 0x6d, 0x1f, 0x48, 0x63, 0x94, 0xee, - 0x57, 0xb2, 0x04, 0xb5, 0x6b, 0xf9, 0x65, 0x87, 0x24, 0x90, 0x1e, 0x85, 0x78, 0xae, 0x18, 0xef, - 0xbb, 0xfa, 0x86, 0xd0, 0x5e, 0x69, 0xb0, 0x76, 0x04, 0xf5, 0x4e, 0x9f, 0xf6, 0x6f, 0x6e, 0xf0, - 0x19, 0xb9, 0xab, 0x4b, 0xd9, 0xae, 0xce, 0xb8, 0x34, 0x25, 0x66, 0xdc, 0x4a, 0x7a, 0xc6, 0xfd, - 0xbb, 0x0a, 0x54, 0xe8, 0x5b, 0x85, 0x67, 0x9a, 0x39, 0x3e, 0x0f, 0x55, 0xbf, 0xef, 0x60, 0x31, - 0xbb, 0x3d, 0x53, 0xe8, 0x52, 0x2a, 0xba, 0x41, 0x67, 0xe5, 0x23, 0x05, 0x5f, 0x2e, 0x50, 0xf0, - 0x95, 0xe4, 0xd3, 0xa9, 0x13, 0xf2, 0x4b, 0x83, 0x67, 0xdc, 0xf6, 0x6c, 0x04, 0x8c, 0xc9, 0xa2, - 0xd2, 0x85, 0x4f, 0xce, 0xb3, 0x62, 0x7a, 0x54, 0x1e, 0xad, 0x43, 0xdd, 0xf7, 0x1c, 0x4c, 0xac, - 0xaf, 0xf2, 0x29, 0x05, 0x5b, 0x10, 0x18, 0x6b, 0x86, 0xfb, 0xed, 0x12, 0x4c, 0xc8, 0xcf, 0x4b, - 0x9e, 0x4f, 0x97, 0x7d, 0x01, 0x54, 0xe3, 0xe0, 0xc0, 0xc7, 0x07, 0x34, 0x36, 0x94, 0x4e, 0x69, - 0x9c, 0xf2, 0xb2, 0x5c, 0x86, 0xd0, 0x77, 0xf9, 0xfa, 0xf4, 0x8f, 0x95, 0x00, 0xe5, 0x3c, 0x61, - 0xf9, 0xff, 0xdc, 0xc0, 0xfa, 0xf7, 0x25, 0x98, 0x4e, 0xbd, 0x60, 0x79, 0x26, 0x1e, 0xbc, 0x0f, - 0x75, 0xb6, 0xce, 0x17, 0x2c, 0x18, 0x75, 0x37, 0x55, 0xa0, 0xa1, 0x2f, 0x82, 0x4a, 0xbd, 0x98, - 0xdb, 0x7d, 0xc7, 0xe9, 0x70, 0x52, 0x6c, 0x90, 0x8d, 0xcf, 0x92, 0x0c, 0x25, 0xb4, 0x0c, 0xd7, - 0x8c, 0x7e, 0xe8, 0xd1, 0x8d, 0xd2, 0x64, 0xbb, 0x77, 0xbc, 0x23, 0xec, 0xf2, 0xcd, 0x94, 0x81, - 0x65, 0x22, 0xfe, 0x56, 0x0b, 0xf8, 0x2b, 0xbf, 0xa6, 0xd6, 0x87, 0x4b, 0x3c, 0xbc, 0x01, 0xa7, - 0xb4, 0x6c, 0x98, 0x47, 0xd8, 0xb5, 0xd2, 0xe7, 0x82, 0x4a, 0xf6, 0x5c, 0x90, 0x86, 0x9d, 0xf2, - 0x43, 0x69, 0x0b, 0x26, 0x4a, 0xd3, 0xe8, 0x4c, 0xe4, 0x3f, 0x0b, 0x7a, 0xca, 0xb6, 0x87, 0x24, - 0x88, 0xf6, 0x77, 0x14, 0x98, 0xe6, 0xdf, 0x15, 0x1f, 0xbc, 0x4b, 0x7a, 0x86, 0x52, 0xe7, 0xbd, - 0xfa, 0xd2, 0xe0, 0xc7, 0x32, 0x93, 0xf5, 0xd5, 0x05, 0x32, 0xda, 0x80, 0x86, 0x98, 0xde, 0x86, - 0x2c, 0x17, 0x8a, 0xfb, 0x25, 0xa2, 0xa0, 0x2d, 0x03, 0xf0, 0xef, 0xed, 0x6c, 0x74, 0xc8, 0x0c, - 0x7d, 0xe8, 0x05, 0x61, 0x34, 0x43, 0xd3, 0x44, 0x6a, 0xb3, 0xaa, 0x94, 0xde, 0xac, 0xd2, 0xfe, - 0x9c, 0x02, 0x33, 0xf7, 0x77, 0x76, 0xda, 0x9c, 0x50, 0xdb, 0x08, 0x0f, 0x69, 0xec, 0x32, 0x23, - 0x3c, 0x14, 0xd3, 0x27, 0xf9, 0x4f, 0x19, 0x6a, 0x84, 0x87, 0x74, 0x33, 0xa5, 0xcc, 0x19, 0xca, - 0xd3, 0xe8, 0x3d, 0xa8, 0xef, 0xb1, 0x96, 0xf2, 0x46, 0x7d, 0x7a, 0x30, 0x77, 0x22, 0xb6, 0x70, - 0x2c, 0xed, 0x00, 0x26, 0xc4, 0x2b, 0xa3, 0xc4, 0xd6, 0x40, 0xfc, 0x22, 0x0b, 0xff, 0x3e, 0xbd, - 0xab, 0xb2, 0x02, 0xcd, 0xc3, 0x30, 0xec, 0x91, 0xfa, 0x0d, 0x93, 0x8e, 0x54, 0x73, 0xf4, 0x18, - 0x51, 0xfb, 0x5f, 0x4a, 0xf4, 0x25, 0xee, 0xdc, 0x33, 0x6d, 0xe1, 0x7d, 0xa3, 0xef, 0x84, 0xbc, - 0x4e, 0xbc, 0x7b, 0x47, 0x6c, 0x40, 0x0a, 0x19, 0x7d, 0x0e, 0xca, 0xa1, 0x33, 0x6c, 0x6a, 0x88, - 0xbb, 0x4c, 0x27, 0xa5, 0xd1, 0x1d, 0x31, 0xa3, 0x94, 0x07, 0x86, 0xad, 0x91, 0x18, 0x24, 0xa6, - 0x94, 0x5b, 0xa0, 0xf2, 0x37, 0x59, 0x63, 0xc3, 0x9b, 0x59, 0x2a, 0x19, 0xb8, 0xa6, 0x13, 0x6b, - 0xce, 0x0f, 0xe3, 0x2b, 0x1b, 0x34, 0x3a, 0x9d, 0x22, 0x45, 0xa7, 0x1b, 0x14, 0xcd, 0x6e, 0x0e, - 0xaa, 0xd8, 0xf7, 0x3d, 0x9f, 0x77, 0x3d, 0x4b, 0x68, 0x1f, 0xc1, 0xc5, 0x8d, 0x6c, 0x28, 0x92, - 0xcc, 0x7b, 0x51, 0x0b, 0xd0, 0x20, 0x5d, 0xe8, 0x4a, 0xb2, 0x28, 0xd2, 0x64, 0x3a, 0x65, 0x31, - 0x7b, 0x2a, 0x43, 0xa6, 0x53, 0x51, 0x75, 0x1e, 0xb2, 0x47, 0xdb, 0x85, 0x29, 0xd1, 0x91, 0xac, - 0x49, 0x2b, 0x50, 0xe7, 0x8d, 0xe6, 0x7b, 0x10, 0x45, 0x17, 0x98, 0x73, 0xaa, 0xac, 0x0b, 0x54, - 0xea, 0xea, 0x26, 0xda, 0xf1, 0x5d, 0x70, 0x75, 0x93, 0xc6, 0xe2, 0x98, 0xae, 0x6e, 0x89, 0xc6, - 0x9f, 0x6a, 0xe1, 0xdf, 0x03, 0x78, 0x60, 0xec, 0x1f, 0x19, 0xf4, 0xfd, 0x04, 0x16, 0x6f, 0x59, - 0x04, 0x0d, 0x9e, 0xd2, 0x59, 0x82, 0x18, 0xc1, 0x8e, 0x11, 0x62, 0x97, 0xbe, 0x84, 0x5a, 0xa2, - 0xf7, 0x55, 0x62, 0x00, 0x59, 0x84, 0xec, 0xdb, 0x7e, 0x10, 0x6e, 0x50, 0xc8, 0x49, 0xc7, 0xe8, - 0xf6, 0xf8, 0x81, 0x89, 0xa2, 0xe7, 0xe4, 0x68, 0x5f, 0x01, 0x44, 0xbf, 0xc8, 0x5d, 0xf5, 0xef, - 0x63, 0xc3, 0xc2, 0x3e, 0x7a, 0x06, 0x26, 0xf9, 0xdd, 0x82, 0x2f, 0x47, 0x8b, 0xa4, 0x29, 0x7d, - 0x82, 0xc3, 0xa8, 0x82, 0x79, 0x01, 0x66, 0x44, 0x91, 0x63, 0xe9, 0xc2, 0xcd, 0x94, 0x3e, 0xcd, - 0xc1, 0x22, 0xfc, 0xfa, 0xb7, 0x4a, 0xa0, 0xd2, 0x4f, 0x2c, 0xc5, 0x16, 0x12, 0x5a, 0xa2, 0x8f, - 0x08, 0x58, 0x7c, 0x77, 0xb9, 0xd8, 0x33, 0x26, 0x5b, 0x37, 0x9d, 0x23, 0x12, 0xee, 0x84, 0x5e, - 0xcf, 0x36, 0xc5, 0xfe, 0x1d, 0x4d, 0x20, 0x9b, 0x2c, 0x7c, 0xe9, 0x4b, 0x16, 0xab, 0x44, 0x1e, - 0x5a, 0x64, 0x49, 0x5b, 0x19, 0x18, 0x62, 0x36, 0x5d, 0x37, 0xf1, 0x50, 0x46, 0x84, 0xcf, 0xf7, - 0x91, 0xd3, 0x64, 0xd1, 0xbc, 0xe8, 0x1e, 0xc2, 0xdd, 0x29, 0xda, 0xb3, 0x0c, 0xb0, 0xb0, 0x0f, - 0x97, 0x72, 0x89, 0xe4, 0x3c, 0xaa, 0xf1, 0xf9, 0xe4, 0xa3, 0x1a, 0xcf, 0x0c, 0xaa, 0x24, 0xa5, - 0x29, 0xef, 0x6e, 0xfc, 0xff, 0x70, 0x65, 0x85, 0xac, 0xaa, 0x43, 0x1f, 0x1b, 0xdd, 0x40, 0x6a, - 0x43, 0x80, 0x76, 0x61, 0xf6, 0x28, 0xd5, 0x30, 0xa1, 0xcd, 0x5e, 0x18, 0x91, 0x11, 0x7a, 0x96, - 0xc2, 0x7a, 0xa5, 0xa1, 0xa8, 0xa5, 0xf5, 0x4a, 0xa3, 0xa4, 0x96, 0xb5, 0x7f, 0xad, 0xc0, 0x54, - 0xdb, 0x0b, 0x42, 0x32, 0xe8, 0xd9, 0x80, 0xbd, 0x06, 0x4d, 0x1a, 0xc6, 0x4d, 0xb2, 0x00, 0x62, - 0x00, 0xba, 0x0b, 0x4d, 0x1e, 0xd8, 0x8e, 0x8f, 0x95, 0xe9, 0xe2, 0x37, 0x44, 0x38, 0xd9, 0x6d, - 0x51, 0x5e, 0x8f, 0x51, 0x93, 0x02, 0x50, 0x1e, 0x4d, 0x00, 0x2a, 0x45, 0x02, 0x10, 0x0b, 0x59, - 0x55, 0x12, 0x32, 0x6d, 0x12, 0x40, 0xc7, 0x96, 0xcd, 0xda, 0xa5, 0x7d, 0x5d, 0x81, 0x29, 0xc2, - 0xe8, 0x3d, 0x23, 0xc0, 0xac, 0xa5, 0xcb, 0xc4, 0x96, 0x61, 0x75, 0xe4, 0x23, 0xf8, 0xb9, 0x21, - 0x4d, 0xa1, 0x78, 0xf7, 0x2f, 0xe8, 0x11, 0x1e, 0x7a, 0x03, 0xaa, 0x3e, 0xf9, 0xc6, 0x90, 0xae, - 0x8f, 0xeb, 0x71, 0xff, 0x82, 0xce, 0x30, 0x96, 0x9b, 0x50, 0xb7, 0xf6, 0x58, 0xdd, 0xbe, 0x02, - 0x73, 0xa2, 0x6a, 0x89, 0x01, 0x70, 0x1f, 0x26, 0x0d, 0xb9, 0xef, 0x95, 0x81, 0x01, 0x11, 0x13, - 0xad, 0xd3, 0x13, 0x98, 0x9a, 0x0b, 0x2a, 0x99, 0xbe, 0x13, 0xd4, 0x77, 0x60, 0x0e, 0xbb, 0x56, - 0xcf, 0xb3, 0xdd, 0x30, 0x31, 0xc2, 0x4a, 0x03, 0x2f, 0xa6, 0x13, 0x32, 0xec, 0x0b, 0xb9, 0xd8, - 0x6c, 0x74, 0x69, 0x36, 0xcc, 0x92, 0x82, 0xb7, 0x47, 0xfa, 0xa0, 0x72, 0x96, 0x0f, 0x6a, 0x5f, - 0xaf, 0x40, 0x33, 0x2a, 0x13, 0xd9, 0x58, 0x15, 0xc9, 0xc6, 0xa2, 0x6f, 0x90, 0x85, 0x87, 0x1e, - 0xbb, 0xb8, 0x31, 0x5d, 0xd8, 0x4b, 0x84, 0xca, 0x26, 0x2d, 0xa8, 0x73, 0x04, 0x32, 0xc7, 0xee, - 0xf7, 0x1d, 0x87, 0xc6, 0xb2, 0x65, 0x37, 0x62, 0xa2, 0x34, 0xfa, 0x02, 0x5c, 0xe2, 0xfa, 0x44, - 0xc7, 0x41, 0xcf, 0x73, 0x03, 0x7e, 0x38, 0xc0, 0xdb, 0xf3, 0xe9, 0x61, 0xed, 0xa1, 0x1d, 0xa6, - 0xe7, 0xd3, 0x40, 0x18, 0x66, 0x79, 0x06, 0x03, 0x50, 0x25, 0x58, 0x1a, 0x78, 0x81, 0x2d, 0x26, - 0xdc, 0x49, 0x63, 0xf2, 0xa8, 0xef, 0x19, 0x8a, 0x0b, 0x47, 0x70, 0x39, 0xbf, 0x70, 0x8e, 0x9a, - 0x7b, 0x2b, 0xa9, 0xe6, 0x46, 0x6c, 0x9f, 0x74, 0x9b, 0xac, 0x07, 0x95, 0x15, 0xfe, 0x40, 0xc5, - 0x13, 0x9a, 0x13, 0x0b, 0x55, 0xc2, 0x7a, 0xa5, 0x51, 0x56, 0x2b, 0xda, 0x1d, 0x50, 0x57, 0xb6, - 0x3a, 0x42, 0x30, 0x58, 0xc3, 0x9e, 0x83, 0x09, 0x62, 0x22, 0x6d, 0xef, 0xef, 0x07, 0x98, 0x5b, - 0xf5, 0xd5, 0xe5, 0x92, 0x7a, 0x41, 0x97, 0xc1, 0xda, 0x2f, 0x2a, 0x30, 0x29, 0x16, 0xea, 0x1b, - 0x76, 0x10, 0xa2, 0x1f, 0xcc, 0xbd, 0xb9, 0xf6, 0xda, 0x90, 0x35, 0x3e, 0x41, 0xfd, 0xf8, 0xaf, - 0xad, 0xfd, 0x97, 0x12, 0x5c, 0xca, 0x7d, 0x54, 0xff, 0xbb, 0x71, 0x00, 0x93, 0xfb, 0xe1, 0x53, - 0x1c, 0xc0, 0xe4, 0xd3, 0x39, 0xbd, 0x7f, 0xde, 0x6e, 0xce, 0xbd, 0x9e, 0xd7, 0xc6, 0xf9, 0x76, - 0xbe, 0x9f, 0xdd, 0x37, 0x14, 0xb8, 0x3e, 0xb8, 0xf8, 0x27, 0xcc, 0x3d, 0xf3, 0x3b, 0x0a, 0x5c, - 0x2d, 0xec, 0x23, 0xd2, 0x3b, 0x2c, 0x52, 0x36, 0x1f, 0x1e, 0x63, 0xf5, 0xce, 0x0e, 0xc5, 0xd4, - 0x39, 0x05, 0xb2, 0x26, 0x66, 0x2e, 0xac, 0x9b, 0x4c, 0x59, 0xd1, 0x35, 0x71, 0x0c, 0x41, 0x1f, - 0x82, 0x2a, 0xd6, 0xd8, 0xe2, 0x25, 0x7f, 0x6e, 0xce, 0x2c, 0x0e, 0x7d, 0x01, 0x5c, 0xc6, 0x3b, - 0xd1, 0x33, 0x74, 0xb4, 0x55, 0x78, 0x6a, 0x40, 0x15, 0x73, 0x77, 0xae, 0xc5, 0xee, 0x74, 0x49, - 0x3a, 0x74, 0xf8, 0xd5, 0x12, 0x5c, 0x29, 0xf8, 0x68, 0xe2, 0x39, 0x41, 0xc9, 0x3a, 0x4a, 0x02, - 0x09, 0xd5, 0x6e, 0xdc, 0x7c, 0xfa, 0x1f, 0xb5, 0x00, 0xba, 0xb6, 0x2b, 0x82, 0xd2, 0x30, 0x31, - 0x78, 0x76, 0x04, 0xcd, 0xa1, 0x4b, 0x68, 0x94, 0x88, 0xf1, 0x58, 0x10, 0xa9, 0x8c, 0x43, 0x24, - 0x42, 0x13, 0x0f, 0x13, 0xd2, 0x23, 0xfd, 0xe8, 0xc1, 0x01, 0x2e, 0x36, 0x39, 0x39, 0xe2, 0xb9, - 0x3e, 0x06, 0xe5, 0x9a, 0xaf, 0x16, 0x5d, 0xc0, 0x4c, 0xc0, 0xb5, 0xff, 0xae, 0x14, 0xf4, 0x41, - 0x1c, 0x7c, 0x73, 0xc3, 0x08, 0x42, 0x1d, 0x9b, 0x5e, 0xb7, 0x4b, 0x5f, 0x3c, 0x58, 0x11, 0x6f, - 0x38, 0x95, 0xf5, 0xbc, 0x2c, 0xf4, 0x03, 0x64, 0x7d, 0xc2, 0x41, 0x09, 0xe3, 0x64, 0x84, 0xf1, - 0x22, 0xa3, 0xe9, 0x69, 0x32, 0xa9, 0x4b, 0x7f, 0xe5, 0x81, 0x97, 0xfe, 0x1e, 0xb6, 0x97, 0xf2, - 0x55, 0xc1, 0xbf, 0x4c, 0x0e, 0x16, 0xf9, 0x0b, 0x23, 0x0e, 0x96, 0xb7, 0x22, 0xe9, 0x2b, 0x8d, - 0xde, 0x9f, 0x42, 0xdc, 0x5a, 0x00, 0xa4, 0x53, 0xfd, 0x65, 0xaf, 0xef, 0x8e, 0x37, 0xaa, 0x62, - 0x34, 0x42, 0xa4, 0xdf, 0xeb, 0x09, 0x22, 0xe3, 0x8c, 0xaa, 0x18, 0x0d, 0x3d, 0x80, 0xe9, 0xbe, - 0x6b, 0x1a, 0xbd, 0x1e, 0xb6, 0x98, 0xbc, 0x71, 0x0f, 0xba, 0x91, 0x08, 0xa5, 0x50, 0xb5, 0x7f, - 0xa2, 0xc0, 0xa4, 0xcc, 0x72, 0xc2, 0xca, 0x28, 0xb1, 0x13, 0xeb, 0xd5, 0x24, 0x10, 0xdd, 0xa4, - 0x01, 0x34, 0x18, 0xa0, 0x23, 0x6b, 0xda, 0x34, 0x98, 0xc8, 0xc0, 0x46, 0xa1, 0xca, 0xdd, 0xc8, - 0x55, 0xb9, 0x7a, 0x42, 0xe5, 0xea, 0x91, 0xca, 0xdd, 0x4c, 0xaa, 0x5c, 0x9e, 0xd4, 0xfe, 0x47, - 0x09, 0xae, 0xdc, 0xf7, 0x7c, 0xfb, 0x23, 0xd2, 0xd9, 0x4f, 0x72, 0x46, 0xbe, 0x9b, 0x98, 0x91, - 0x6f, 0x17, 0x86, 0xa2, 0xc9, 0xfd, 0xb4, 0x34, 0x27, 0x6f, 0xa4, 0xe6, 0xe4, 0x57, 0xc7, 0xa4, - 0x74, 0xfa, 0x59, 0xf9, 0x83, 0x9c, 0x59, 0xf9, 0xf3, 0xe3, 0x7d, 0x3d, 0x5f, 0x18, 0xff, 0x55, - 0x09, 0x9e, 0x1a, 0xd0, 0x70, 0xd2, 0xe4, 0xc4, 0x44, 0x37, 0x66, 0x93, 0x53, 0x53, 0xdd, 0x0d, - 0x98, 0xa0, 0xf7, 0xff, 0x12, 0x57, 0x42, 0x64, 0x10, 0x2d, 0x61, 0x3c, 0x4e, 0x5d, 0x06, 0x91, - 0x41, 0x48, 0x8f, 0x0f, 0x8c, 0x2a, 0x03, 0xc3, 0x20, 0x14, 0x54, 0x89, 0xd9, 0x8c, 0xb4, 0x57, - 0xa3, 0x2b, 0x05, 0x3a, 0x34, 0xf6, 0xf0, 0xa1, 0x71, 0x6c, 0x7b, 0x3e, 0x97, 0xc1, 0xd7, 0xc7, - 0x23, 0xba, 0xcc, 0xb1, 0xf5, 0x88, 0x8e, 0x76, 0x0f, 0x9e, 0x1e, 0xc8, 0x94, 0x91, 0x27, 0xd7, - 0x5f, 0x2e, 0xc3, 0x33, 0x43, 0xdb, 0x92, 0x6b, 0x3d, 0x2d, 0x41, 0xcd, 0xa3, 0xdb, 0xf5, 0x7c, - 0xe4, 0x7f, 0x66, 0xe0, 0x01, 0x0e, 0x27, 0xc6, 0x3c, 0x39, 0x38, 0x22, 0x7a, 0x0b, 0x2a, 0x3d, - 0xcf, 0x12, 0x03, 0xfe, 0x85, 0xe2, 0x28, 0x43, 0x41, 0x02, 0x9d, 0x22, 0xa1, 0x7b, 0xd2, 0xf9, - 0x42, 0x65, 0x24, 0x0f, 0x92, 0x04, 0x91, 0x08, 0x19, 0xed, 0x49, 0xf1, 0xb6, 0xa4, 0xe9, 0x77, - 0xd0, 0x80, 0xcc, 0x98, 0x23, 0x09, 0xd2, 0x59, 0x72, 0xa4, 0xb2, 0x22, 0x06, 0x38, 0x3f, 0x89, - 0x2c, 0xaa, 0xec, 0x2a, 0x2f, 0x96, 0xac, 0xac, 0x40, 0xd6, 0xfe, 0x93, 0x02, 0x28, 0xcb, 0x51, - 0xd4, 0xa6, 0xd7, 0xd6, 0x4c, 0xdf, 0xde, 0xc3, 0x16, 0xcb, 0xe6, 0x22, 0x35, 0xea, 0xb1, 0x5a, - 0x1a, 0x7d, 0xe4, 0x69, 0x90, 0x55, 0x23, 0x25, 0x8a, 0xef, 0xd1, 0xd5, 0xbd, 0x6f, 0x9b, 0x43, - 0xba, 0x96, 0x21, 0xaf, 0x59, 0xd8, 0x0d, 0xed, 0x7d, 0x1b, 0xfb, 0x3a, 0x47, 0xd3, 0xee, 0xc0, - 0xa4, 0x4c, 0x38, 0x77, 0x00, 0xe6, 0x7a, 0x27, 0x69, 0x7f, 0x06, 0xd4, 0x34, 0xd5, 0x5c, 0x2f, - 0xc3, 0x5d, 0x98, 0x72, 0xe4, 0x43, 0xe7, 0xd3, 0x7a, 0xdd, 0x25, 0xa9, 0x68, 0x5f, 0x53, 0x40, - 0x4d, 0x0f, 0x58, 0x89, 0x1d, 0xca, 0xa9, 0xd8, 0x71, 0xa6, 0xce, 0xd0, 0x1e, 0xc5, 0x41, 0x78, - 0x12, 0xb5, 0x62, 0xf1, 0xa7, 0x22, 0xff, 0x13, 0xce, 0x9d, 0x04, 0xec, 0x6c, 0x1f, 0xfe, 0x59, - 0x05, 0x9e, 0x1e, 0x28, 0x29, 0x1f, 0x7b, 0x15, 0xe8, 0xf3, 0x04, 0xa2, 0x06, 0xd1, 0xf3, 0x04, - 0x02, 0xa0, 0xfd, 0x94, 0x02, 0x73, 0x79, 0xf2, 0x76, 0xce, 0x1d, 0xf6, 0x0b, 0x0a, 0x7c, 0x6a, - 0xc8, 0x54, 0x40, 0xcf, 0xcf, 0x09, 0x64, 0xb7, 0x37, 0x44, 0xd0, 0xef, 0xb7, 0x97, 0x3a, 0xa6, - 0xe1, 0xd8, 0xee, 0x01, 0x75, 0x9f, 0xd0, 0x05, 0x1a, 0x5a, 0x81, 0x26, 0xfd, 0xbb, 0xe2, 0x3d, - 0x72, 0x87, 0x5c, 0xed, 0x4b, 0xd3, 0x88, 0x11, 0xb5, 0x5f, 0x53, 0x60, 0x26, 0x95, 0x4d, 0x43, - 0x59, 0x84, 0xc6, 0x9e, 0xed, 0xd8, 0x1f, 0x51, 0xc3, 0xfb, 0x03, 0xdb, 0xb5, 0xbc, 0x47, 0xc9, - 0x37, 0x9a, 0x06, 0x94, 0x20, 0xa3, 0x82, 0x39, 0xdc, 0xf1, 0x5b, 0x51, 0xdc, 0x15, 0x5e, 0x86, - 0xa1, 0x16, 0x34, 0x7a, 0xc9, 0xf5, 0xea, 0x0b, 0x43, 0x2b, 0xcf, 0x17, 0xaa, 0x11, 0xa2, 0xb6, - 0x07, 0x6a, 0x3a, 0x77, 0xb8, 0xa6, 0x11, 0x6f, 0xcf, 0xd1, 0xa8, 0x7e, 0xd8, 0xb7, 0x3d, 0x4b, - 0x0e, 0x20, 0x54, 0xd5, 0x93, 0x40, 0xed, 0x97, 0x4b, 0x85, 0x53, 0x75, 0x6c, 0xfb, 0x7a, 0x7b, - 0x01, 0xf6, 0x8f, 0xb1, 0x75, 0x0f, 0xbb, 0x62, 0x23, 0x9f, 0x2d, 0xc1, 0x72, 0x72, 0x84, 0xd7, - 0x1c, 0xa9, 0xb6, 0x1c, 0xfb, 0x22, 0x09, 0x1c, 0xef, 0xf2, 0x6b, 0xfa, 0xca, 0x73, 0x25, 0xff, - 0xca, 0xf3, 0x5e, 0x14, 0xa0, 0x95, 0xfb, 0xc9, 0xf0, 0x9b, 0x04, 0x6f, 0x9e, 0xca, 0x48, 0x62, - 0x06, 0x6b, 0x8a, 0xa2, 0xf6, 0xbb, 0x0a, 0xdc, 0x18, 0x66, 0x64, 0xf2, 0x95, 0x5c, 0x76, 0xf9, - 0x61, 0xa6, 0x97, 0x1f, 0x66, 0xfe, 0xf2, 0xc3, 0xcc, 0x2e, 0x3f, 0x3e, 0xe6, 0x1d, 0x9f, 0xbf, - 0x5f, 0x86, 0x67, 0x47, 0x60, 0xc7, 0x93, 0xb3, 0xb4, 0xf8, 0x72, 0xe0, 0xb4, 0x96, 0x16, 0x43, - 0x3f, 0xa3, 0xa5, 0xc5, 0x88, 0x7c, 0x2c, 0x96, 0x56, 0x3a, 0xce, 0xe9, 0xd9, 0x2d, 0x2d, 0x5e, - 0xd9, 0xc8, 0xd2, 0xfa, 0xa7, 0x69, 0x4b, 0x8b, 0x75, 0xd0, 0x93, 0xb7, 0xb4, 0xe6, 0xa1, 0xce, - 0x65, 0x80, 0x4b, 0xb2, 0x48, 0x9e, 0xdd, 0x8c, 0xea, 0x26, 0x8c, 0x11, 0xd6, 0x80, 0x33, 0xcf, - 0x6d, 0x85, 0xf5, 0xd5, 0x76, 0x32, 0x96, 0x06, 0xfb, 0xe4, 0x28, 0xd3, 0x7c, 0x31, 0xd5, 0x1f, - 0x29, 0xb6, 0x22, 0x9e, 0x00, 0xf9, 0x21, 0x26, 0xc2, 0x0f, 0x67, 0x2c, 0x84, 0x8f, 0x9d, 0x8b, - 0xff, 0x50, 0x81, 0xa9, 0x2d, 0x1c, 0x3e, 0xf2, 0xfc, 0x23, 0x3e, 0x27, 0x9d, 0x69, 0x7f, 0xe2, - 0xed, 0xc4, 0xfe, 0x44, 0xd1, 0xc9, 0x70, 0xe2, 0x83, 0xd2, 0xae, 0xc4, 0x38, 0xde, 0xb7, 0x3f, - 0x5d, 0x82, 0xd9, 0x0c, 0x9d, 0x27, 0x1d, 0x54, 0x68, 0x2d, 0xf6, 0x7d, 0x19, 0x6c, 0xb1, 0x27, - 0x6a, 0x22, 0x7b, 0x14, 0x09, 0x7c, 0x74, 0x17, 0x6a, 0x98, 0x51, 0x1a, 0xbc, 0xe3, 0x9d, 0xa0, - 0xb4, 0x1a, 0x13, 0xe2, 0xd8, 0xec, 0x99, 0x66, 0x92, 0x47, 0x66, 0x1d, 0xc1, 0x12, 0x19, 0xa4, - 0x2d, 0xc3, 0x5c, 0xb2, 0x3a, 0x6d, 0x7a, 0x03, 0x94, 0x70, 0xd1, 0xb4, 0x2d, 0x71, 0x15, 0x90, - 0xfe, 0xa7, 0x0f, 0x84, 0x3d, 0x36, 0x71, 0x2f, 0xe4, 0x4e, 0xe6, 0x3c, 0xa5, 0xfd, 0x8c, 0x02, - 0xf3, 0x45, 0x6d, 0x42, 0xef, 0x26, 0xdf, 0x03, 0x1b, 0xa9, 0x97, 0xe5, 0x57, 0xc1, 0xde, 0x86, - 0xca, 0xbe, 0xef, 0x75, 0x39, 0x4b, 0x47, 0x43, 0xc7, 0xd8, 0xd7, 0x29, 0x96, 0xf6, 0x93, 0x0a, - 0x5c, 0x29, 0x60, 0xd2, 0x99, 0x6b, 0x76, 0x07, 0x4a, 0xa1, 0x37, 0x76, 0xbd, 0x4a, 0xa1, 0xa7, - 0xfd, 0x41, 0x7a, 0x38, 0x92, 0x1c, 0xf4, 0xfd, 0xf4, 0x4d, 0xed, 0x68, 0xd5, 0x77, 0xca, 0x01, - 0x29, 0xd3, 0x40, 0x5f, 0x82, 0xd9, 0xc8, 0x5b, 0xfe, 0xac, 0xcb, 0xc9, 0x2c, 0x25, 0xb4, 0x0a, - 0x75, 0xbb, 0x47, 0xc7, 0x0b, 0x9f, 0x06, 0x5e, 0x1c, 0x69, 0xc4, 0xb3, 0x21, 0xa6, 0x0b, 0x5c, - 0xf4, 0x3c, 0x4c, 0x1f, 0x1a, 0x41, 0x5b, 0x6a, 0x3b, 0xf3, 0x61, 0x4d, 0x41, 0xd1, 0x6d, 0x98, - 0x3b, 0x34, 0x82, 0xad, 0x4c, 0x83, 0xd8, 0x85, 0xd7, 0xdc, 0x3c, 0xed, 0x4b, 0x69, 0x4e, 0xa7, - 0x9d, 0xec, 0x94, 0x82, 0x27, 0x63, 0x4b, 0x92, 0x53, 0xde, 0x3c, 0xd4, 0xb1, 0x6b, 0xb5, 0xe3, - 0x97, 0x64, 0x45, 0x52, 0xfb, 0xc7, 0x0a, 0x00, 0x0d, 0xce, 0x45, 0x9f, 0x64, 0x3b, 0x9b, 0x3a, - 0x7c, 0x23, 0xa1, 0x0e, 0x8b, 0x0e, 0xcc, 0xe3, 0xaf, 0x49, 0xba, 0xf0, 0x3a, 0x00, 0x0d, 0x37, - 0xcb, 0xc4, 0x9c, 0x5d, 0xf2, 0x90, 0x20, 0xb9, 0x3a, 0x71, 0x1b, 0xa6, 0x93, 0xb4, 0xd0, 0x3b, - 0xa9, 0xd8, 0xb7, 0xc3, 0xab, 0xb0, 0x16, 0xe2, 0xae, 0x88, 0x74, 0xab, 0xfd, 0x78, 0x4d, 0xa6, - 0x48, 0xb2, 0x72, 0x6d, 0xc6, 0x0d, 0xa8, 0x73, 0x87, 0xcd, 0x21, 0x6f, 0x94, 0x26, 0x69, 0x2d, - 0xae, 0x30, 0x24, 0x76, 0x24, 0x2e, 0x48, 0x20, 0x23, 0xf2, 0x1d, 0xe5, 0x3e, 0x63, 0x5c, 0x63, - 0xbe, 0x31, 0x16, 0x51, 0x8e, 0xcb, 0x68, 0xa7, 0x08, 0xa2, 0xf7, 0xa1, 0xdc, 0x35, 0x1e, 0xf3, - 0x5d, 0xd7, 0xc5, 0xd1, 0xe8, 0x6e, 0x1a, 0x8f, 0x19, 0x31, 0x82, 0x4a, 0x29, 0xd8, 0x2e, 0x5f, - 0x92, 0x8c, 0x4a, 0xc1, 0x76, 0x05, 0x05, 0xdb, 0x45, 0x01, 0xcc, 0x75, 0x8d, 0xc7, 0xac, 0x08, - 0xab, 0x96, 0x4e, 0x96, 0x5c, 0x7c, 0x4b, 0xfc, 0xbd, 0x91, 0x2b, 0x95, 0xa1, 0xc0, 0xbe, 0x91, - 0x4b, 0x7c, 0xe1, 0x4d, 0x98, 0x94, 0x99, 0x3e, 0x56, 0x2c, 0xe0, 0x25, 0xb8, 0x98, 0xc3, 0xdb, - 0xb1, 0x48, 0xbc, 0x0e, 0x0d, 0xc1, 0xc6, 0xb1, 0xf1, 0x38, 0xf3, 0xc6, 0xc2, 0xbb, 0x07, 0x57, - 0x0b, 0x39, 0x34, 0xd6, 0x15, 0xc4, 0x9f, 0xad, 0xc0, 0x64, 0x47, 0xba, 0x73, 0x77, 0x36, 0xb5, - 0x40, 0xe6, 0x70, 0xdf, 0x63, 0xe1, 0x00, 0xb1, 0x78, 0x9f, 0x47, 0x06, 0xa1, 0x0e, 0x40, 0xcf, - 0xf0, 0x8d, 0x2e, 0x0e, 0x71, 0xf4, 0xf6, 0x53, 0xe1, 0xa3, 0x89, 0x52, 0xbd, 0x16, 0xdb, 0x11, - 0x16, 0x1b, 0x06, 0x12, 0x19, 0x76, 0x31, 0x4c, 0x8e, 0x00, 0xc3, 0xd6, 0x93, 0x49, 0x60, 0x26, - 0x8a, 0x4b, 0x35, 0x27, 0x8a, 0xcb, 0x6d, 0x98, 0x33, 0x1c, 0xc7, 0x7b, 0xc4, 0x2e, 0xe5, 0xd1, - 0xfb, 0xdb, 0x51, 0xf4, 0xf4, 0x86, 0x9e, 0x9b, 0x87, 0xbe, 0x00, 0xb3, 0x06, 0x3b, 0x84, 0xde, - 0xf1, 0x7a, 0x9e, 0xe3, 0x1d, 0xd8, 0x38, 0xe0, 0x17, 0x11, 0x3f, 0x3b, 0x42, 0xcb, 0x62, 0x24, - 0x3d, 0x4b, 0x07, 0xbd, 0x04, 0xb3, 0xec, 0xb2, 0x23, 0xbf, 0x33, 0x23, 0x45, 0x97, 0xc9, 0x66, - 0xe4, 0x3d, 0xf6, 0xb4, 0xf0, 0x0e, 0xcc, 0xa4, 0x78, 0x37, 0xd6, 0x75, 0x73, 0x17, 0x2e, 0xe7, - 0xd7, 0x16, 0xed, 0xc0, 0x74, 0x62, 0xd7, 0x56, 0xa8, 0xe2, 0xa2, 0x9b, 0x0e, 0x1c, 0xf5, 0x24, - 0x39, 0x6b, 0xa7, 0x68, 0x68, 0x4b, 0x70, 0x29, 0xb7, 0x60, 0x4e, 0xa5, 0xe3, 0xe7, 0x9e, 0x4a, - 0xf2, 0x73, 0x4f, 0xb7, 0x56, 0x61, 0x36, 0x5a, 0xea, 0xdc, 0xf7, 0xb8, 0x47, 0xb0, 0x0a, 0x93, - 0xae, 0x47, 0x63, 0x6a, 0x91, 0x15, 0x84, 0xa5, 0x5e, 0x40, 0xd3, 0x00, 0xfb, 0x86, 0x7f, 0x60, - 0x84, 0x78, 0xb5, 0xd5, 0x51, 0x15, 0x39, 0xfd, 0xa0, 0xa3, 0x96, 0x6e, 0xd9, 0xd2, 0xd3, 0xb6, - 0x34, 0x48, 0x15, 0x9a, 0x80, 0x7a, 0xdf, 0x3d, 0x72, 0xbd, 0x47, 0xae, 0x7a, 0x81, 0x24, 0x4c, - 0x1f, 0x1b, 0x21, 0xb6, 0x18, 0x2e, 0x7f, 0x71, 0xc0, 0x76, 0x0f, 0xd4, 0x12, 0xc9, 0xf4, 0xfb, - 0xae, 0x4b, 0x12, 0x65, 0x04, 0xe2, 0x11, 0x42, 0xb5, 0x42, 0xfe, 0xe3, 0xc7, 0x36, 0x41, 0xaa, - 0xa2, 0x06, 0x54, 0x2c, 0x6c, 0x58, 0x6a, 0xed, 0xd6, 0x96, 0xf4, 0x46, 0x02, 0x7b, 0x77, 0x07, - 0xcd, 0xc2, 0x14, 0xff, 0x16, 0x03, 0xa8, 0x17, 0xd0, 0x24, 0x34, 0xa2, 0x4f, 0x28, 0xe4, 0x13, - 0xfc, 0xf1, 0x22, 0xb5, 0x84, 0xa6, 0xa0, 0x19, 0xbd, 0x65, 0xa4, 0x96, 0x6f, 0xdd, 0x85, 0xc9, - 0x36, 0xe3, 0x3d, 0xab, 0x78, 0x15, 0x94, 0x5d, 0xf5, 0x02, 0xf9, 0x59, 0x51, 0x15, 0xf2, 0xa3, - 0xab, 0x25, 0xf2, 0xd3, 0x51, 0xcb, 0xe4, 0x67, 0x47, 0xad, 0x90, 0x9f, 0x0f, 0xd4, 0x2a, 0xf9, - 0xf9, 0x01, 0xb5, 0x46, 0x7e, 0x3e, 0x54, 0xeb, 0xb7, 0x34, 0xca, 0x02, 0x17, 0x9b, 0xd1, 0x6e, - 0x50, 0x1d, 0xca, 0xa1, 0xd9, 0x53, 0x2f, 0x90, 0x3f, 0x7d, 0xab, 0xa7, 0x2a, 0xb7, 0xfe, 0xb0, - 0x0c, 0x73, 0xdb, 0xbe, 0x79, 0x88, 0x83, 0x90, 0xbe, 0xc2, 0x15, 0xed, 0x21, 0x3c, 0x07, 0x37, - 0xf2, 0xe0, 0x5f, 0xde, 0xdd, 0xea, 0xb4, 0x57, 0x5b, 0x6b, 0x77, 0xd7, 0x56, 0x57, 0x18, 0x9d, - 0xf6, 0xf6, 0x0a, 0x63, 0xa1, 0xbe, 0xda, 0xde, 0x58, 0x6b, 0x2d, 0x75, 0x56, 0x77, 0x18, 0x0b, - 0x3b, 0xab, 0xfa, 0xc3, 0xb5, 0xd6, 0xaa, 0x5a, 0x26, 0xac, 0xda, 0xda, 0x5e, 0x59, 0x55, 0x2b, - 0x04, 0xdc, 0xda, 0xd8, 0xed, 0xec, 0xac, 0xea, 0x6a, 0x95, 0x20, 0xaf, 0x6f, 0x2f, 0xab, 0x35, - 0x0a, 0xd5, 0xb7, 0xb7, 0x48, 0xa2, 0x4e, 0x98, 0xb1, 0xb2, 0xb4, 0xba, 0xb9, 0xbd, 0x45, 0x08, - 0x35, 0xd0, 0x0c, 0x4c, 0x74, 0x76, 0x96, 0x76, 0x56, 0xef, 0xee, 0x6e, 0x10, 0x40, 0x13, 0xcd, - 0x81, 0xda, 0x5e, 0xd5, 0x3b, 0x6b, 0x9d, 0x9d, 0xd5, 0xad, 0x9d, 0x87, 0xdb, 0x1b, 0xbb, 0x9b, - 0xab, 0x2a, 0xa0, 0xab, 0x70, 0x29, 0x0d, 0x6d, 0x6d, 0x2c, 0xad, 0x6d, 0xaa, 0x13, 0xe4, 0xeb, - 0xfa, 0xf6, 0xc6, 0xaa, 0x3a, 0x49, 0x68, 0x91, 0x7f, 0xcb, 0x6b, 0x5b, 0x2b, 0x6b, 0x5b, 0xf7, - 0xd4, 0x29, 0x02, 0xe0, 0xd5, 0xa1, 0x25, 0xa6, 0xd1, 0x65, 0x40, 0x12, 0x40, 0x14, 0x9c, 0x41, - 0x08, 0xa6, 0x79, 0x73, 0x96, 0x5a, 0xad, 0xed, 0xdd, 0xad, 0x1d, 0x55, 0x25, 0xb5, 0x5e, 0xdb, - 0xba, 0xa7, 0xaf, 0x76, 0x3a, 0xea, 0x2c, 0x69, 0xff, 0xca, 0x6a, 0x7b, 0x63, 0xfb, 0x07, 0x37, - 0x57, 0xb7, 0x76, 0x54, 0x44, 0x5a, 0xb1, 0xb5, 0xb4, 0xb9, 0xda, 0x69, 0x2f, 0xb5, 0x56, 0xd5, - 0x8b, 0xa4, 0xa9, 0x2d, 0x7d, 0x45, 0x9d, 0x43, 0x35, 0x28, 0xb5, 0x74, 0xf5, 0x12, 0xa9, 0xef, - 0xc3, 0x55, 0x7d, 0x67, 0xad, 0xb5, 0xb4, 0xd1, 0xde, 0x5e, 0x59, 0xda, 0xdd, 0xd9, 0xee, 0xb4, - 0x96, 0x36, 0x56, 0x75, 0xf5, 0x32, 0x7a, 0x0a, 0xae, 0xdc, 0xdf, 0xd6, 0xd7, 0x3e, 0xdc, 0xde, - 0xda, 0x49, 0x67, 0x5e, 0x21, 0x03, 0x6b, 0x6b, 0x75, 0xe7, 0x83, 0x6d, 0xfd, 0x41, 0x7b, 0x7b, - 0x63, 0xad, 0xf5, 0x83, 0xea, 0x3c, 0xf9, 0xf4, 0xc6, 0xda, 0xe6, 0xda, 0x8e, 0xbe, 0xb4, 0x75, - 0x6f, 0x55, 0xbd, 0x4a, 0x64, 0xa5, 0xb3, 0xb3, 0xad, 0x2f, 0xdd, 0x23, 0x1c, 0xe8, 0x74, 0xd4, - 0x05, 0x34, 0x09, 0xf5, 0xd5, 0x56, 0x67, 0x67, 0xa9, 0xf3, 0x40, 0xfd, 0x6b, 0xca, 0x2d, 0x0c, - 0xf3, 0x45, 0x91, 0xf9, 0x09, 0x43, 0xf8, 0xb8, 0x25, 0x49, 0xf5, 0x02, 0x69, 0x47, 0xb4, 0x11, - 0xa0, 0x2a, 0xe4, 0xf3, 0x89, 0xc7, 0x6f, 0xd4, 0x12, 0x61, 0x19, 0xee, 0x1d, 0xe2, 0x2e, 0xf6, - 0x0d, 0x27, 0x86, 0x97, 0x6f, 0xfd, 0x37, 0x05, 0x66, 0x33, 0xbe, 0xd6, 0xe8, 0x52, 0x0c, 0xdc, - 0x65, 0x1f, 0xda, 0x26, 0xe3, 0x91, 0x74, 0xaa, 0x70, 0x66, 0xa6, 0x2a, 0x63, 0xbb, 0xa7, 0x2a, - 0x32, 0x74, 0xcd, 0x0d, 0xb0, 0x4f, 0xa0, 0x25, 0x19, 0xca, 0xde, 0x5d, 0xdd, 0xee, 0xa9, 0x65, - 0x19, 0xba, 0x82, 0x1d, 0x4c, 0xa1, 0x15, 0x74, 0x11, 0x66, 0x04, 0x74, 0xc9, 0x09, 0xb1, 0xbf, - 0xdd, 0x53, 0xab, 0x72, 0xd1, 0x16, 0xd5, 0x01, 0xdb, 0x3d, 0xb5, 0x46, 0xba, 0x38, 0x22, 0xe0, - 0x7b, 0xbd, 0xed, 0x9e, 0x5a, 0x27, 0x6d, 0x13, 0xb0, 0x1d, 0xbf, 0xef, 0x9a, 0xac, 0x6c, 0x43, - 0x2e, 0xdb, 0x39, 0xf4, 0x1e, 0x6d, 0xf7, 0xd4, 0xe6, 0xad, 0x0f, 0x00, 0xdd, 0xdf, 0xd9, 0x69, - 0xa7, 0xfc, 0x65, 0x1b, 0x50, 0x59, 0x73, 0xf7, 0x3d, 0xa6, 0x71, 0x78, 0x9c, 0x65, 0x55, 0x21, - 0xca, 0x40, 0xc7, 0x96, 0xed, 0x63, 0x33, 0x64, 0xf2, 0xdf, 0x72, 0x6c, 0xec, 0x86, 0xab, 0xbe, - 0xaf, 0x96, 0x49, 0xb2, 0x83, 0xfd, 0x63, 0xec, 0x93, 0x64, 0xe5, 0x96, 0x0b, 0x10, 0x7b, 0x00, - 0x13, 0x32, 0xbb, 0x91, 0x16, 0xab, 0x43, 0xf9, 0x1e, 0x0e, 0x55, 0x85, 0x7c, 0x86, 0x54, 0x48, - 0x2d, 0x51, 0x89, 0xec, 0x87, 0x4c, 0x6f, 0x31, 0x46, 0xa8, 0x15, 0x92, 0x7d, 0x9f, 0xe8, 0xaa, - 0x2a, 0x41, 0xe7, 0xb3, 0xa5, 0x5a, 0x43, 0x4d, 0xa8, 0xb6, 0x8d, 0xd0, 0x3c, 0x54, 0xeb, 0xe4, - 0xef, 0x8e, 0x6f, 0x98, 0x58, 0x6d, 0x2c, 0xaf, 0xfe, 0xf3, 0x6f, 0x5f, 0x57, 0x7e, 0xe7, 0xdb, - 0xd7, 0x95, 0xdf, 0xfb, 0xf6, 0x75, 0xe5, 0x6b, 0xdf, 0xb9, 0x7e, 0xe1, 0x77, 0xbe, 0x73, 0xfd, - 0xc2, 0xb7, 0xbe, 0x73, 0xfd, 0xc2, 0x87, 0x2f, 0x1e, 0xd8, 0xe1, 0x61, 0x7f, 0x6f, 0xd1, 0xf4, - 0xba, 0x2f, 0xaf, 0x18, 0xa1, 0xb1, 0xe2, 0x1d, 0xbc, 0x4c, 0x67, 0x87, 0xcf, 0xf6, 0x8c, 0x13, - 0xc7, 0x33, 0xac, 0x97, 0x8f, 0x5f, 0x7b, 0x99, 0x4f, 0x1b, 0x7b, 0x35, 0xba, 0xd0, 0xf9, 0xdc, - 0xff, 0x0d, 0x00, 0x00, 0xff, 0xff, 0x13, 0x58, 0x6f, 0x7a, 0x45, 0xd4, 0x00, 0x00, -} - -func (m *ResCollector) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ResCollector) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ResCollector) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Status != nil { - { - size, err := m.Status.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - if len(m.Message) > 0 { - i -= len(m.Message) - copy(dAtA[i:], m.Message) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Message))) - i-- - dAtA[i] = 0x12 - } - if m.Header != nil { - { - size, err := m.Header.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil +// Header must exist at position 1 for compatibility +// with older version of the Agent. We should be able +// to drop this at some point. +type ResCollector_Header struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Type int32 `protobuf:"varint,4,opt,name=type,proto3" json:"type,omitempty"` } -func (m *ResCollector_Header) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err +func (x *ResCollector_Header) Reset() { + *x = ResCollector_Header{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[199] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return dAtA[:n], nil } -func (m *ResCollector_Header) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func (x *ResCollector_Header) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ResCollector_Header) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Type != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Type)) - i-- - dAtA[i] = 0x20 - } - return len(dAtA) - i, nil -} +func (*ResCollector_Header) ProtoMessage() {} -func (m *CollectorProc) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err +func (x *ResCollector_Header) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[199] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return dAtA[:n], nil + return mi.MessageOf(x) } -func (m *CollectorProc) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +// Deprecated: Use ResCollector_Header.ProtoReflect.Descriptor instead. +func (*ResCollector_Header) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{0, 0} } -func (m *CollectorProc) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Hints != nil { - { - size := m.Hints.Size() - i -= size - if _, err := m.Hints.MarshalTo(dAtA[i:]); err != nil { - return 0, err - } - } - } - if m.ContainerHostType != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.ContainerHostType)) - i-- - dAtA[i] = 0x60 - } - if len(m.NetworkId) > 0 { - i -= len(m.NetworkId) - copy(dAtA[i:], m.NetworkId) - i = encodeVarintAgent(dAtA, i, uint64(len(m.NetworkId))) - i-- - dAtA[i] = 0x5a - } - if len(m.Containers) > 0 { - for iNdEx := len(m.Containers) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Containers[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x52 - } - } - if m.GroupSize != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.GroupSize)) - i-- - dAtA[i] = 0x38 - } - if m.GroupId != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.GroupId)) - i-- - dAtA[i] = 0x30 - } - if m.Info != nil { - { - size, err := m.Info.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x2a - } - if m.Host != nil { - { - size, err := m.Host.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x22 - } - if len(m.Processes) > 0 { - for iNdEx := len(m.Processes) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Processes[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - } - if len(m.HostName) > 0 { - i -= len(m.HostName) - copy(dAtA[i:], m.HostName) - i = encodeVarintAgent(dAtA, i, uint64(len(m.HostName))) - i-- - dAtA[i] = 0x12 +func (x *ResCollector_Header) GetType() int32 { + if x != nil { + return x.Type } - return len(dAtA) - i, nil + return 0 } -func (m *CollectorProc_HintMask) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} +type HTTPStats_Data struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *CollectorProc_HintMask) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - i = encodeVarintAgent(dAtA, i, uint64(m.HintMask)) - i-- - dAtA[i] = 0x70 - return len(dAtA) - i, nil + Count uint32 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` + // a protobuf encoded sketch of all the requests in this HTTPStats. In nanoseconds. + // this will be nil if count == 1 + // To decode: + // + // use a protobuf library to decode this into a github.com/DataDog/sketches-go/ddsketch/pb/sketchpb.DDSketch + // + // then call github.com/DataDog/sketches-go/ddsketch.FromProto + // To encode: + // + // create a github.com/DataDog/sketches-go/ddsketch.DDSketch + // call ToProto() and then run through a protobuf encoder + Latencies []byte `protobuf:"bytes,2,opt,name=latencies,proto3" json:"latencies,omitempty"` + // if the HTTPStats has a single sample, this field will be the latency (in nanoseconds) of the only sample. + // this is purely to avoid the overhead of having single entry sketches. + FirstLatencySample float64 `protobuf:"fixed64,4,opt,name=firstLatencySample,proto3" json:"firstLatencySample,omitempty"` } -func (m *CollectorProcDiscovery) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err + +func (x *HTTPStats_Data) Reset() { + *x = HTTPStats_Data{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_agent_proto_msgTypes[222] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return dAtA[:n], nil } -func (m *CollectorProcDiscovery) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func (x *HTTPStats_Data) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CollectorProcDiscovery) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Host != nil { - { - size, err := m.Host.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x2a - } - if len(m.ProcessDiscoveries) > 0 { - for iNdEx := len(m.ProcessDiscoveries) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.ProcessDiscoveries[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x22 - } - } - if m.GroupSize != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.GroupSize)) - i-- - dAtA[i] = 0x18 - } - if m.GroupId != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.GroupId)) - i-- - dAtA[i] = 0x10 - } - if len(m.HostName) > 0 { - i -= len(m.HostName) - copy(dAtA[i:], m.HostName) - i = encodeVarintAgent(dAtA, i, uint64(len(m.HostName))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *CollectorRealTime) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *CollectorRealTime) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *CollectorRealTime) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.ContainerHostType != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.ContainerHostType)) - i-- - dAtA[i] = 0x58 - } - if len(m.ContainerStats) > 0 { - for iNdEx := len(m.ContainerStats) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.ContainerStats[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x52 - } - } - if m.TotalMemory != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.TotalMemory)) - i-- - dAtA[i] = 0x48 - } - if m.NumCpus != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.NumCpus)) - i-- - dAtA[i] = 0x40 - } - if m.GroupSize != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.GroupSize)) - i-- - dAtA[i] = 0x38 - } - if m.GroupId != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.GroupId)) - i-- - dAtA[i] = 0x30 - } - if m.OrgId != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.OrgId)) - i-- - dAtA[i] = 0x28 - } - if m.HostId != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.HostId)) - i-- - dAtA[i] = 0x20 - } - if len(m.Stats) > 0 { - for iNdEx := len(m.Stats) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Stats[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a +func (*HTTPStats_Data) ProtoMessage() {} + +func (x *HTTPStats_Data) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_agent_proto_msgTypes[222] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } + return ms } - if len(m.HostName) > 0 { - i -= len(m.HostName) - copy(dAtA[i:], m.HostName) - i = encodeVarintAgent(dAtA, i, uint64(len(m.HostName))) - i-- - dAtA[i] = 0x12 - } - return len(dAtA) - i, nil -} - -func (m *CollectorContainer) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *CollectorContainer) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *CollectorContainer) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.NetworkId) > 0 { - i -= len(m.NetworkId) - copy(dAtA[i:], m.NetworkId) - i = encodeVarintAgent(dAtA, i, uint64(len(m.NetworkId))) - i-- - dAtA[i] = 0x5a - } - if m.ContainerHostType != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.ContainerHostType)) - i-- - dAtA[i] = 0x48 - } - if m.Host != nil { - { - size, err := m.Host.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x42 - } - if m.GroupSize != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.GroupSize)) - i-- - dAtA[i] = 0x28 - } - if m.GroupId != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.GroupId)) - i-- - dAtA[i] = 0x20 - } - if len(m.Containers) > 0 { - for iNdEx := len(m.Containers) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Containers[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - } - if m.Info != nil { - { - size, err := m.Info.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - if len(m.HostName) > 0 { - i -= len(m.HostName) - copy(dAtA[i:], m.HostName) - i = encodeVarintAgent(dAtA, i, uint64(len(m.HostName))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *CollectorContainerRealTime) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *CollectorContainerRealTime) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *CollectorContainerRealTime) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.ContainerHostType != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.ContainerHostType)) - i-- - dAtA[i] = 0x40 - } - if m.GroupSize != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.GroupSize)) - i-- - dAtA[i] = 0x38 - } - if m.GroupId != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.GroupId)) - i-- - dAtA[i] = 0x30 - } - if m.HostId != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.HostId)) - i-- - dAtA[i] = 0x28 - } - if m.TotalMemory != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.TotalMemory)) - i-- - dAtA[i] = 0x20 - } - if m.NumCpus != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.NumCpus)) - i-- - dAtA[i] = 0x18 - } - if len(m.Stats) > 0 { - for iNdEx := len(m.Stats) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Stats[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - } - if len(m.HostName) > 0 { - i -= len(m.HostName) - copy(dAtA[i:], m.HostName) - i = encodeVarintAgent(dAtA, i, uint64(len(m.HostName))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *CollectorReqStatus) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *CollectorReqStatus) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *CollectorReqStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.HostName) > 0 { - i -= len(m.HostName) - copy(dAtA[i:], m.HostName) - i = encodeVarintAgent(dAtA, i, uint64(len(m.HostName))) - i-- - dAtA[i] = 0x12 - } - return len(dAtA) - i, nil -} - -func (m *CollectorECSTask) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *CollectorECSTask) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *CollectorECSTask) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Info != nil { - { - size, err := m.Info.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x5a - } - if len(m.HostName) > 0 { - i -= len(m.HostName) - copy(dAtA[i:], m.HostName) - i = encodeVarintAgent(dAtA, i, uint64(len(m.HostName))) - i-- - dAtA[i] = 0x52 - } - if m.Host != nil { - { - size, err := m.Host.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x4a - } - 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 = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) - i-- - dAtA[i] = 0x42 - } - } - if len(m.Tasks) > 0 { - for iNdEx := len(m.Tasks) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Tasks[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x3a - } - } - if m.GroupSize != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.GroupSize)) - i-- - dAtA[i] = 0x30 - } - if m.GroupId != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.GroupId)) - i-- - dAtA[i] = 0x28 - } - if len(m.Region) > 0 { - i -= len(m.Region) - copy(dAtA[i:], m.Region) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Region))) - i-- - dAtA[i] = 0x22 - } - if len(m.ClusterId) > 0 { - i -= len(m.ClusterId) - copy(dAtA[i:], m.ClusterId) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterId))) - i-- - dAtA[i] = 0x1a - } - if len(m.ClusterName) > 0 { - i -= len(m.ClusterName) - copy(dAtA[i:], m.ClusterName) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterName))) - i-- - dAtA[i] = 0x12 - } - if m.AwsAccountID != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.AwsAccountID)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *ECSTask) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ECSTask) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ECSTask) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Host != nil { - { - size, err := m.Host.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0xa2 - } - if len(m.ContainerInstanceTags) > 0 { - for iNdEx := len(m.ContainerInstanceTags) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.ContainerInstanceTags[iNdEx]) - copy(dAtA[i:], m.ContainerInstanceTags[iNdEx]) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ContainerInstanceTags[iNdEx]))) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0x9a - } - } - if len(m.EcsTags) > 0 { - for iNdEx := len(m.EcsTags) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.EcsTags[iNdEx]) - copy(dAtA[i:], m.EcsTags[iNdEx]) - i = encodeVarintAgent(dAtA, i, uint64(len(m.EcsTags[iNdEx]))) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0x92 - } - } - 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 = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0x8a - } - } - if len(m.Containers) > 0 { - for iNdEx := len(m.Containers) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Containers[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0x82 - } - } - if m.ExecutionStoppedAt != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.ExecutionStoppedAt)) - i-- - dAtA[i] = 0x78 - } - if m.PullStoppedAt != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.PullStoppedAt)) - i-- - dAtA[i] = 0x70 - } - if m.PullStartedAt != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.PullStartedAt)) - i-- - dAtA[i] = 0x68 - } - if len(m.VpcId) > 0 { - i -= len(m.VpcId) - copy(dAtA[i:], m.VpcId) - i = encodeVarintAgent(dAtA, i, uint64(len(m.VpcId))) - i-- - dAtA[i] = 0x62 - } - if len(m.ServiceName) > 0 { - i -= len(m.ServiceName) - copy(dAtA[i:], m.ServiceName) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ServiceName))) - i-- - dAtA[i] = 0x5a - } - if len(m.EphemeralStorageMetrics) > 0 { - for k := range m.EphemeralStorageMetrics { - v := m.EphemeralStorageMetrics[k] - baseI := i - i = encodeVarintAgent(dAtA, i, uint64(v)) - i-- - dAtA[i] = 0x10 - i -= len(k) - copy(dAtA[i:], k) - i = encodeVarintAgent(dAtA, i, uint64(len(k))) - i-- - dAtA[i] = 0xa - i = encodeVarintAgent(dAtA, i, uint64(baseI-i)) - i-- - dAtA[i] = 0x52 - } - } - if len(m.Limits) > 0 { - for k := range m.Limits { - v := m.Limits[k] - baseI := i - i -= 8 - encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(v)))) - i-- - dAtA[i] = 0x11 - i -= len(k) - copy(dAtA[i:], k) - i = encodeVarintAgent(dAtA, i, uint64(len(k))) - i-- - dAtA[i] = 0xa - i = encodeVarintAgent(dAtA, i, uint64(baseI-i)) - i-- - dAtA[i] = 0x4a - } - } - if len(m.AvailabilityZone) > 0 { - i -= len(m.AvailabilityZone) - copy(dAtA[i:], m.AvailabilityZone) - i = encodeVarintAgent(dAtA, i, uint64(len(m.AvailabilityZone))) - i-- - dAtA[i] = 0x42 - } - if len(m.Version) > 0 { - i -= len(m.Version) - copy(dAtA[i:], m.Version) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Version))) - i-- - dAtA[i] = 0x3a - } - if len(m.Family) > 0 { - i -= len(m.Family) - copy(dAtA[i:], m.Family) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Family))) - i-- - dAtA[i] = 0x32 - } - if len(m.KnownStatus) > 0 { - i -= len(m.KnownStatus) - copy(dAtA[i:], m.KnownStatus) - i = encodeVarintAgent(dAtA, i, uint64(len(m.KnownStatus))) - i-- - dAtA[i] = 0x2a - } - if len(m.DesiredStatus) > 0 { - i -= len(m.DesiredStatus) - copy(dAtA[i:], m.DesiredStatus) - i = encodeVarintAgent(dAtA, i, uint64(len(m.DesiredStatus))) - i-- - dAtA[i] = 0x22 - } - if len(m.LaunchType) > 0 { - i -= len(m.LaunchType) - copy(dAtA[i:], m.LaunchType) - i = encodeVarintAgent(dAtA, i, uint64(len(m.LaunchType))) - i-- - dAtA[i] = 0x1a - } - if len(m.ResourceVersion) > 0 { - i -= len(m.ResourceVersion) - copy(dAtA[i:], m.ResourceVersion) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ResourceVersion))) - i-- - dAtA[i] = 0x12 - } - if len(m.Arn) > 0 { - i -= len(m.Arn) - copy(dAtA[i:], m.Arn) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Arn))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *ECSContainer) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ECSContainer) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ECSContainer) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Snapshotter) > 0 { - i -= len(m.Snapshotter) - copy(dAtA[i:], m.Snapshotter) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Snapshotter))) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0xb2 - } - if len(m.Limits) > 0 { - for k := range m.Limits { - v := m.Limits[k] - baseI := i - i -= 8 - encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(v)))) - i-- - dAtA[i] = 0x11 - i -= len(k) - copy(dAtA[i:], k) - i = encodeVarintAgent(dAtA, i, uint64(len(k))) - i-- - dAtA[i] = 0xa - i = encodeVarintAgent(dAtA, i, uint64(baseI-i)) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0xaa - } - } - if len(m.Labels) > 0 { - for iNdEx := len(m.Labels) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.Labels[iNdEx]) - copy(dAtA[i:], m.Labels[iNdEx]) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Labels[iNdEx]))) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0xa2 - } - } - if m.Health != nil { - { - size, err := m.Health.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0x9a - } - if len(m.Volumes) > 0 { - for iNdEx := len(m.Volumes) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Volumes[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0x92 - } - } - if len(m.Networks) > 0 { - for iNdEx := len(m.Networks) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Networks[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0x8a - } - } - if len(m.Ports) > 0 { - for iNdEx := len(m.Ports) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Ports[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0x82 - } - } - if len(m.ContainerArn) > 0 { - i -= len(m.ContainerArn) - copy(dAtA[i:], m.ContainerArn) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ContainerArn))) - i-- - dAtA[i] = 0x7a - } - if len(m.LogOptions) > 0 { - for k := range m.LogOptions { - v := m.LogOptions[k] - baseI := i - i -= len(v) - copy(dAtA[i:], v) - i = encodeVarintAgent(dAtA, i, uint64(len(v))) - i-- - dAtA[i] = 0x12 - i -= len(k) - copy(dAtA[i:], k) - i = encodeVarintAgent(dAtA, i, uint64(len(k))) - i-- - dAtA[i] = 0xa - i = encodeVarintAgent(dAtA, i, uint64(baseI-i)) - i-- - dAtA[i] = 0x72 - } - } - if len(m.LogDriver) > 0 { - i -= len(m.LogDriver) - copy(dAtA[i:], m.LogDriver) - i = encodeVarintAgent(dAtA, i, uint64(len(m.LogDriver))) - i-- - dAtA[i] = 0x6a - } - if len(m.Type) > 0 { - i -= len(m.Type) - copy(dAtA[i:], m.Type) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Type))) - i-- - dAtA[i] = 0x62 - } - if m.ExitCode != nil { - { - size, err := m.ExitCode.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x5a - } - if len(m.KnownStatus) > 0 { - i -= len(m.KnownStatus) - copy(dAtA[i:], m.KnownStatus) - i = encodeVarintAgent(dAtA, i, uint64(len(m.KnownStatus))) - i-- - dAtA[i] = 0x52 - } - if len(m.DesiredStatus) > 0 { - i -= len(m.DesiredStatus) - copy(dAtA[i:], m.DesiredStatus) - i = encodeVarintAgent(dAtA, i, uint64(len(m.DesiredStatus))) - i-- - dAtA[i] = 0x4a - } - if m.FinishedAt != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.FinishedAt)) - i-- - dAtA[i] = 0x40 - } - if m.StartedAt != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.StartedAt)) - i-- - dAtA[i] = 0x38 - } - if m.CreatedAt != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.CreatedAt)) - i-- - dAtA[i] = 0x30 - } - if len(m.ImageID) > 0 { - i -= len(m.ImageID) - copy(dAtA[i:], m.ImageID) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ImageID))) - i-- - dAtA[i] = 0x2a - } - if len(m.Image) > 0 { - i -= len(m.Image) - copy(dAtA[i:], m.Image) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Image))) - i-- - dAtA[i] = 0x22 - } - if len(m.Name) > 0 { - i -= len(m.Name) - copy(dAtA[i:], m.Name) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Name))) - i-- - dAtA[i] = 0x1a - } - if len(m.DockerName) > 0 { - i -= len(m.DockerName) - copy(dAtA[i:], m.DockerName) - i = encodeVarintAgent(dAtA, i, uint64(len(m.DockerName))) - i-- - dAtA[i] = 0x12 - } - if len(m.DockerID) > 0 { - i -= len(m.DockerID) - copy(dAtA[i:], m.DockerID) - i = encodeVarintAgent(dAtA, i, uint64(len(m.DockerID))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *ECSContainerNetwork) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ECSContainerNetwork) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ECSContainerNetwork) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Ipv6Addresses) > 0 { - for iNdEx := len(m.Ipv6Addresses) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.Ipv6Addresses[iNdEx]) - copy(dAtA[i:], m.Ipv6Addresses[iNdEx]) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Ipv6Addresses[iNdEx]))) - i-- - dAtA[i] = 0x1a - } - } - if len(m.Ipv4Addresses) > 0 { - for iNdEx := len(m.Ipv4Addresses) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.Ipv4Addresses[iNdEx]) - copy(dAtA[i:], m.Ipv4Addresses[iNdEx]) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Ipv4Addresses[iNdEx]))) - i-- - dAtA[i] = 0x12 - } - } - if len(m.NetworkMode) > 0 { - i -= len(m.NetworkMode) - copy(dAtA[i:], m.NetworkMode) - i = encodeVarintAgent(dAtA, i, uint64(len(m.NetworkMode))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *ECSContainerPort) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ECSContainerPort) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ECSContainerPort) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.HostPort != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.HostPort)) - i-- - dAtA[i] = 0x20 - } - if len(m.HostIp) > 0 { - i -= len(m.HostIp) - copy(dAtA[i:], m.HostIp) - i = encodeVarintAgent(dAtA, i, uint64(len(m.HostIp))) - i-- - dAtA[i] = 0x1a - } - if len(m.Protocol) > 0 { - i -= len(m.Protocol) - copy(dAtA[i:], m.Protocol) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Protocol))) - i-- - dAtA[i] = 0x12 - } - if m.ContainerPort != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.ContainerPort)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *ECSContainerVolume) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ECSContainerVolume) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ECSContainerVolume) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Destination) > 0 { - i -= len(m.Destination) - copy(dAtA[i:], m.Destination) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Destination))) - i-- - dAtA[i] = 0x1a - } - if len(m.Source) > 0 { - i -= len(m.Source) - copy(dAtA[i:], m.Source) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Source))) - i-- - dAtA[i] = 0x12 - } - if len(m.DockerName) > 0 { - i -= len(m.DockerName) - copy(dAtA[i:], m.DockerName) - i = encodeVarintAgent(dAtA, i, uint64(len(m.DockerName))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *ECSContainerHealth) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ECSContainerHealth) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ECSContainerHealth) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Output) > 0 { - i -= len(m.Output) - copy(dAtA[i:], m.Output) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Output))) - i-- - dAtA[i] = 0x22 - } - if m.ExitCode != nil { - { - size, err := m.ExitCode.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - if m.Since != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Since)) - i-- - dAtA[i] = 0x10 - } - if len(m.Status) > 0 { - i -= len(m.Status) - copy(dAtA[i:], m.Status) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Status))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *ECSContainerExitCode) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ECSContainerExitCode) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ECSContainerExitCode) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.ExitCode != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.ExitCode)) - i-- - dAtA[i] = 0x18 - } - return len(dAtA) - i, nil -} - -func (m *CollectorPod) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *CollectorPod) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *CollectorPod) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Info != nil { - { - size, err := m.Info.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x4a - } - 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 = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) - i-- - dAtA[i] = 0x42 - } - } - if m.Host != nil { - { - size, err := m.Host.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x3a - } - if len(m.Pods) > 0 { - for iNdEx := len(m.Pods) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Pods[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x32 - } - } - if m.GroupSize != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.GroupSize)) - i-- - dAtA[i] = 0x28 - } - if m.GroupId != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.GroupId)) - i-- - dAtA[i] = 0x20 - } - if len(m.ClusterId) > 0 { - i -= len(m.ClusterId) - copy(dAtA[i:], m.ClusterId) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterId))) - i-- - dAtA[i] = 0x1a - } - if len(m.ClusterName) > 0 { - i -= len(m.ClusterName) - copy(dAtA[i:], m.ClusterName) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterName))) - i-- - dAtA[i] = 0x12 - } - if len(m.HostName) > 0 { - i -= len(m.HostName) - copy(dAtA[i:], m.HostName) - i = encodeVarintAgent(dAtA, i, uint64(len(m.HostName))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *CollectorPodDisruptionBudget) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *CollectorPodDisruptionBudget) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *CollectorPodDisruptionBudget) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.GroupSize != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.GroupSize)) - i-- - dAtA[i] = 0x30 - } - 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 = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) - i-- - dAtA[i] = 0x2a - } - } - if len(m.PodDisruptionBudgets) > 0 { - for iNdEx := len(m.PodDisruptionBudgets) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.PodDisruptionBudgets[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x22 - } - } - if m.GroupId != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.GroupId)) - i-- - dAtA[i] = 0x18 - } - if len(m.ClusterId) > 0 { - i -= len(m.ClusterId) - copy(dAtA[i:], m.ClusterId) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterId))) - i-- - dAtA[i] = 0x12 - } - if len(m.ClusterName) > 0 { - i -= len(m.ClusterName) - copy(dAtA[i:], m.ClusterName) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterName))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *CollectorReplicaSet) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *CollectorReplicaSet) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *CollectorReplicaSet) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - 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 = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) - i-- - dAtA[i] = 0x32 - } - } - if len(m.ReplicaSets) > 0 { - for iNdEx := len(m.ReplicaSets) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.ReplicaSets[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x2a - } - } - if m.GroupSize != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.GroupSize)) - i-- - dAtA[i] = 0x20 - } - if m.GroupId != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.GroupId)) - i-- - dAtA[i] = 0x18 - } - if len(m.ClusterId) > 0 { - i -= len(m.ClusterId) - copy(dAtA[i:], m.ClusterId) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterId))) - i-- - dAtA[i] = 0x12 - } - if len(m.ClusterName) > 0 { - i -= len(m.ClusterName) - copy(dAtA[i:], m.ClusterName) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterName))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *CollectorDeployment) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *CollectorDeployment) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *CollectorDeployment) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - 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 = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) - i-- - dAtA[i] = 0x32 - } - } - if len(m.Deployments) > 0 { - for iNdEx := len(m.Deployments) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Deployments[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x2a - } - } - if m.GroupSize != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.GroupSize)) - i-- - dAtA[i] = 0x20 - } - if m.GroupId != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.GroupId)) - i-- - dAtA[i] = 0x18 - } - if len(m.ClusterId) > 0 { - i -= len(m.ClusterId) - copy(dAtA[i:], m.ClusterId) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterId))) - i-- - dAtA[i] = 0x12 - } - if len(m.ClusterName) > 0 { - i -= len(m.ClusterName) - copy(dAtA[i:], m.ClusterName) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterName))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *CollectorService) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *CollectorService) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *CollectorService) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - 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 = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) - i-- - dAtA[i] = 0x32 - } - } - if len(m.Services) > 0 { - for iNdEx := len(m.Services) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Services[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x2a - } - } - if m.GroupSize != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.GroupSize)) - i-- - dAtA[i] = 0x20 - } - if m.GroupId != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.GroupId)) - i-- - dAtA[i] = 0x18 - } - if len(m.ClusterId) > 0 { - i -= len(m.ClusterId) - copy(dAtA[i:], m.ClusterId) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterId))) - i-- - dAtA[i] = 0x12 - } - if len(m.ClusterName) > 0 { - i -= len(m.ClusterName) - copy(dAtA[i:], m.ClusterName) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterName))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *CollectorNode) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *CollectorNode) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *CollectorNode) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.HostAliasMapping) > 0 { - for k := range m.HostAliasMapping { - v := m.HostAliasMapping[k] - baseI := i - if v != nil { - { - size, err := v.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - i -= len(k) - copy(dAtA[i:], k) - i = encodeVarintAgent(dAtA, i, uint64(len(k))) - i-- - dAtA[i] = 0xa - i = encodeVarintAgent(dAtA, i, uint64(baseI-i)) - i-- - dAtA[i] = 0x3a - } - } - 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 = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) - i-- - dAtA[i] = 0x32 - } - } - if len(m.Nodes) > 0 { - for iNdEx := len(m.Nodes) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Nodes[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x2a - } - } - if m.GroupSize != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.GroupSize)) - i-- - dAtA[i] = 0x20 - } - if m.GroupId != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.GroupId)) - i-- - dAtA[i] = 0x18 - } - if len(m.ClusterId) > 0 { - i -= len(m.ClusterId) - copy(dAtA[i:], m.ClusterId) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterId))) - i-- - dAtA[i] = 0x12 - } - if len(m.ClusterName) > 0 { - i -= len(m.ClusterName) - copy(dAtA[i:], m.ClusterName) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterName))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *CollectorCluster) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *CollectorCluster) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *CollectorCluster) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - 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 = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) - i-- - dAtA[i] = 0x32 - } - } - if m.Cluster != nil { - { - size, err := m.Cluster.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x2a - } - if m.GroupSize != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.GroupSize)) - i-- - dAtA[i] = 0x20 - } - if m.GroupId != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.GroupId)) - i-- - dAtA[i] = 0x18 - } - if len(m.ClusterId) > 0 { - i -= len(m.ClusterId) - copy(dAtA[i:], m.ClusterId) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterId))) - i-- - dAtA[i] = 0x12 - } - if len(m.ClusterName) > 0 { - i -= len(m.ClusterName) - copy(dAtA[i:], m.ClusterName) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterName))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *CollectorManifest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *CollectorManifest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *CollectorManifest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - 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 = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) - i-- - dAtA[i] = 0x32 - } - } - if len(m.Manifests) > 0 { - for iNdEx := len(m.Manifests) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Manifests[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x2a - } - } - if m.GroupSize != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.GroupSize)) - i-- - dAtA[i] = 0x20 - } - if m.GroupId != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.GroupId)) - i-- - dAtA[i] = 0x18 - } - if len(m.ClusterId) > 0 { - i -= len(m.ClusterId) - copy(dAtA[i:], m.ClusterId) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterId))) - i-- - dAtA[i] = 0x12 - } - if len(m.ClusterName) > 0 { - i -= len(m.ClusterName) - copy(dAtA[i:], m.ClusterName) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterName))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *CollectorManifestCRD) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *CollectorManifestCRD) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *CollectorManifestCRD) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - 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 = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) - i-- - dAtA[i] = 0x12 - } - } - if m.Manifest != nil { - { - size, err := m.Manifest.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *CollectorManifestCR) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *CollectorManifestCR) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *CollectorManifestCR) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - 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 = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) - i-- - dAtA[i] = 0x12 - } - } - if m.Manifest != nil { - { - size, err := m.Manifest.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *CollectorNamespace) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *CollectorNamespace) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *CollectorNamespace) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - 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 = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) - i-- - dAtA[i] = 0x32 - } - } - if len(m.Namespaces) > 0 { - for iNdEx := len(m.Namespaces) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Namespaces[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x2a - } - } - if m.GroupSize != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.GroupSize)) - i-- - dAtA[i] = 0x20 - } - if m.GroupId != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.GroupId)) - i-- - dAtA[i] = 0x18 - } - if len(m.ClusterId) > 0 { - i -= len(m.ClusterId) - copy(dAtA[i:], m.ClusterId) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterId))) - i-- - dAtA[i] = 0x12 - } - if len(m.ClusterName) > 0 { - i -= len(m.ClusterName) - copy(dAtA[i:], m.ClusterName) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterName))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *CollectorJob) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *CollectorJob) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *CollectorJob) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - 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 = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) - i-- - dAtA[i] = 0x32 - } - } - if len(m.Jobs) > 0 { - for iNdEx := len(m.Jobs) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Jobs[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x2a - } - } - if m.GroupSize != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.GroupSize)) - i-- - dAtA[i] = 0x20 - } - if m.GroupId != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.GroupId)) - i-- - dAtA[i] = 0x18 - } - if len(m.ClusterId) > 0 { - i -= len(m.ClusterId) - copy(dAtA[i:], m.ClusterId) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterId))) - i-- - dAtA[i] = 0x12 - } - if len(m.ClusterName) > 0 { - i -= len(m.ClusterName) - copy(dAtA[i:], m.ClusterName) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterName))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *CollectorCronJob) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *CollectorCronJob) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *CollectorCronJob) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - 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 = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) - i-- - dAtA[i] = 0x32 - } - } - if len(m.CronJobs) > 0 { - for iNdEx := len(m.CronJobs) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.CronJobs[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x2a - } - } - if m.GroupSize != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.GroupSize)) - i-- - dAtA[i] = 0x20 - } - if m.GroupId != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.GroupId)) - i-- - dAtA[i] = 0x18 - } - if len(m.ClusterId) > 0 { - i -= len(m.ClusterId) - copy(dAtA[i:], m.ClusterId) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterId))) - i-- - dAtA[i] = 0x12 - } - if len(m.ClusterName) > 0 { - i -= len(m.ClusterName) - copy(dAtA[i:], m.ClusterName) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterName))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *CollectorDaemonSet) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *CollectorDaemonSet) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *CollectorDaemonSet) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - 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 = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) - i-- - dAtA[i] = 0x32 - } - } - if len(m.DaemonSets) > 0 { - for iNdEx := len(m.DaemonSets) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.DaemonSets[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x2a - } - } - if m.GroupSize != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.GroupSize)) - i-- - dAtA[i] = 0x20 - } - if m.GroupId != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.GroupId)) - i-- - dAtA[i] = 0x18 - } - if len(m.ClusterId) > 0 { - i -= len(m.ClusterId) - copy(dAtA[i:], m.ClusterId) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterId))) - i-- - dAtA[i] = 0x12 - } - if len(m.ClusterName) > 0 { - i -= len(m.ClusterName) - copy(dAtA[i:], m.ClusterName) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterName))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *CollectorStatefulSet) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *CollectorStatefulSet) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *CollectorStatefulSet) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - 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 = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) - i-- - dAtA[i] = 0x32 - } - } - if len(m.StatefulSets) > 0 { - for iNdEx := len(m.StatefulSets) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.StatefulSets[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x2a - } - } - if m.GroupSize != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.GroupSize)) - i-- - dAtA[i] = 0x20 - } - if m.GroupId != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.GroupId)) - i-- - dAtA[i] = 0x18 - } - if len(m.ClusterId) > 0 { - i -= len(m.ClusterId) - copy(dAtA[i:], m.ClusterId) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterId))) - i-- - dAtA[i] = 0x12 - } - if len(m.ClusterName) > 0 { - i -= len(m.ClusterName) - copy(dAtA[i:], m.ClusterName) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterName))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *CollectorPersistentVolume) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *CollectorPersistentVolume) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *CollectorPersistentVolume) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - 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 = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) - i-- - dAtA[i] = 0x32 - } - } - if len(m.PersistentVolumes) > 0 { - for iNdEx := len(m.PersistentVolumes) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.PersistentVolumes[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x2a - } - } - if m.GroupSize != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.GroupSize)) - i-- - dAtA[i] = 0x20 - } - if m.GroupId != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.GroupId)) - i-- - dAtA[i] = 0x18 - } - if len(m.ClusterId) > 0 { - i -= len(m.ClusterId) - copy(dAtA[i:], m.ClusterId) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterId))) - i-- - dAtA[i] = 0x12 - } - if len(m.ClusterName) > 0 { - i -= len(m.ClusterName) - copy(dAtA[i:], m.ClusterName) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterName))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *CollectorPersistentVolumeClaim) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *CollectorPersistentVolumeClaim) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *CollectorPersistentVolumeClaim) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - 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 = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) - i-- - dAtA[i] = 0x32 - } - } - if len(m.PersistentVolumeClaims) > 0 { - for iNdEx := len(m.PersistentVolumeClaims) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.PersistentVolumeClaims[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x2a - } - } - if m.GroupSize != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.GroupSize)) - i-- - dAtA[i] = 0x20 - } - if m.GroupId != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.GroupId)) - i-- - dAtA[i] = 0x18 - } - if len(m.ClusterId) > 0 { - i -= len(m.ClusterId) - copy(dAtA[i:], m.ClusterId) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterId))) - i-- - dAtA[i] = 0x12 - } - if len(m.ClusterName) > 0 { - i -= len(m.ClusterName) - copy(dAtA[i:], m.ClusterName) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterName))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *CollectorRole) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *CollectorRole) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *CollectorRole) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - 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 = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) - i-- - dAtA[i] = 0x32 - } - } - if len(m.Roles) > 0 { - for iNdEx := len(m.Roles) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Roles[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x2a - } - } - if m.GroupSize != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.GroupSize)) - i-- - dAtA[i] = 0x20 - } - if m.GroupId != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.GroupId)) - i-- - dAtA[i] = 0x18 - } - if len(m.ClusterId) > 0 { - i -= len(m.ClusterId) - copy(dAtA[i:], m.ClusterId) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterId))) - i-- - dAtA[i] = 0x12 - } - if len(m.ClusterName) > 0 { - i -= len(m.ClusterName) - copy(dAtA[i:], m.ClusterName) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterName))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *CollectorRoleBinding) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *CollectorRoleBinding) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *CollectorRoleBinding) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - 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 = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) - i-- - dAtA[i] = 0x32 - } - } - if len(m.RoleBindings) > 0 { - for iNdEx := len(m.RoleBindings) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.RoleBindings[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x2a - } - } - if m.GroupSize != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.GroupSize)) - i-- - dAtA[i] = 0x20 - } - if m.GroupId != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.GroupId)) - i-- - dAtA[i] = 0x18 - } - if len(m.ClusterId) > 0 { - i -= len(m.ClusterId) - copy(dAtA[i:], m.ClusterId) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterId))) - i-- - dAtA[i] = 0x12 - } - if len(m.ClusterName) > 0 { - i -= len(m.ClusterName) - copy(dAtA[i:], m.ClusterName) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterName))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *CollectorClusterRole) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *CollectorClusterRole) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *CollectorClusterRole) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - 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 = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) - i-- - dAtA[i] = 0x32 - } - } - if len(m.ClusterRoles) > 0 { - for iNdEx := len(m.ClusterRoles) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.ClusterRoles[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x2a - } - } - if m.GroupSize != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.GroupSize)) - i-- - dAtA[i] = 0x20 - } - if m.GroupId != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.GroupId)) - i-- - dAtA[i] = 0x18 - } - if len(m.ClusterId) > 0 { - i -= len(m.ClusterId) - copy(dAtA[i:], m.ClusterId) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterId))) - i-- - dAtA[i] = 0x12 - } - if len(m.ClusterName) > 0 { - i -= len(m.ClusterName) - copy(dAtA[i:], m.ClusterName) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterName))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *CollectorClusterRoleBinding) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *CollectorClusterRoleBinding) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *CollectorClusterRoleBinding) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - 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 = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) - i-- - dAtA[i] = 0x32 - } - } - if len(m.ClusterRoleBindings) > 0 { - for iNdEx := len(m.ClusterRoleBindings) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.ClusterRoleBindings[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x2a - } - } - if m.GroupSize != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.GroupSize)) - i-- - dAtA[i] = 0x20 - } - if m.GroupId != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.GroupId)) - i-- - dAtA[i] = 0x18 - } - if len(m.ClusterId) > 0 { - i -= len(m.ClusterId) - copy(dAtA[i:], m.ClusterId) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterId))) - i-- - dAtA[i] = 0x12 - } - if len(m.ClusterName) > 0 { - i -= len(m.ClusterName) - copy(dAtA[i:], m.ClusterName) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterName))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *CollectorServiceAccount) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *CollectorServiceAccount) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *CollectorServiceAccount) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - 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 = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) - i-- - dAtA[i] = 0x32 - } - } - if len(m.ServiceAccounts) > 0 { - for iNdEx := len(m.ServiceAccounts) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.ServiceAccounts[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x2a - } - } - if m.GroupSize != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.GroupSize)) - i-- - dAtA[i] = 0x20 - } - if m.GroupId != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.GroupId)) - i-- - dAtA[i] = 0x18 - } - if len(m.ClusterId) > 0 { - i -= len(m.ClusterId) - copy(dAtA[i:], m.ClusterId) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterId))) - i-- - dAtA[i] = 0x12 - } - if len(m.ClusterName) > 0 { - i -= len(m.ClusterName) - copy(dAtA[i:], m.ClusterName) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterName))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *CollectorIngress) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *CollectorIngress) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *CollectorIngress) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - 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 = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) - i-- - dAtA[i] = 0x32 - } - } - if len(m.Ingresses) > 0 { - for iNdEx := len(m.Ingresses) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Ingresses[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x2a - } - } - if m.GroupSize != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.GroupSize)) - i-- - dAtA[i] = 0x20 - } - if m.GroupId != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.GroupId)) - i-- - dAtA[i] = 0x18 - } - if len(m.ClusterId) > 0 { - i -= len(m.ClusterId) - copy(dAtA[i:], m.ClusterId) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterId))) - i-- - dAtA[i] = 0x12 - } - if len(m.ClusterName) > 0 { - i -= len(m.ClusterName) - copy(dAtA[i:], m.ClusterName) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterName))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *CollectorVerticalPodAutoscaler) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *CollectorVerticalPodAutoscaler) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *CollectorVerticalPodAutoscaler) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - 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 = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) - i-- - dAtA[i] = 0x32 - } - } - if len(m.VerticalPodAutoscalers) > 0 { - for iNdEx := len(m.VerticalPodAutoscalers) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.VerticalPodAutoscalers[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x2a - } - } - if m.GroupSize != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.GroupSize)) - i-- - dAtA[i] = 0x20 - } - if m.GroupId != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.GroupId)) - i-- - dAtA[i] = 0x18 - } - if len(m.ClusterId) > 0 { - i -= len(m.ClusterId) - copy(dAtA[i:], m.ClusterId) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterId))) - i-- - dAtA[i] = 0x12 - } - if len(m.ClusterName) > 0 { - i -= len(m.ClusterName) - copy(dAtA[i:], m.ClusterName) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterName))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *CollectorHorizontalPodAutoscaler) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *CollectorHorizontalPodAutoscaler) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *CollectorHorizontalPodAutoscaler) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - 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 = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) - i-- - dAtA[i] = 0x32 - } - } - if len(m.HorizontalPodAutoscalers) > 0 { - for iNdEx := len(m.HorizontalPodAutoscalers) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.HorizontalPodAutoscalers[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x2a - } - } - if m.GroupSize != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.GroupSize)) - i-- - dAtA[i] = 0x20 - } - if m.GroupId != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.GroupId)) - i-- - dAtA[i] = 0x18 - } - if len(m.ClusterId) > 0 { - i -= len(m.ClusterId) - copy(dAtA[i:], m.ClusterId) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterId))) - i-- - dAtA[i] = 0x12 - } - if len(m.ClusterName) > 0 { - i -= len(m.ClusterName) - copy(dAtA[i:], m.ClusterName) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterName))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *CollectorNetworkPolicy) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *CollectorNetworkPolicy) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *CollectorNetworkPolicy) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - 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 = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) - i-- - dAtA[i] = 0x32 - } - } - if len(m.NetworkPolicies) > 0 { - for iNdEx := len(m.NetworkPolicies) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.NetworkPolicies[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x2a - } - } - if m.GroupSize != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.GroupSize)) - i-- - dAtA[i] = 0x20 - } - if m.GroupId != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.GroupId)) - i-- - dAtA[i] = 0x18 - } - if len(m.ClusterId) > 0 { - i -= len(m.ClusterId) - copy(dAtA[i:], m.ClusterId) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterId))) - i-- - dAtA[i] = 0x12 - } - if len(m.ClusterName) > 0 { - i -= len(m.ClusterName) - copy(dAtA[i:], m.ClusterName) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterName))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *CollectorLimitRange) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *CollectorLimitRange) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *CollectorLimitRange) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - 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 = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) - i-- - dAtA[i] = 0x32 - } - } - if len(m.LimitRanges) > 0 { - for iNdEx := len(m.LimitRanges) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.LimitRanges[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x2a - } - } - if m.GroupSize != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.GroupSize)) - i-- - dAtA[i] = 0x20 - } - if m.GroupId != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.GroupId)) - i-- - dAtA[i] = 0x18 - } - if len(m.ClusterId) > 0 { - i -= len(m.ClusterId) - copy(dAtA[i:], m.ClusterId) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterId))) - i-- - dAtA[i] = 0x12 - } - if len(m.ClusterName) > 0 { - i -= len(m.ClusterName) - copy(dAtA[i:], m.ClusterName) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterName))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *CollectorStorageClass) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *CollectorStorageClass) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *CollectorStorageClass) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - 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 = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) - i-- - dAtA[i] = 0x32 - } - } - if len(m.StorageClasses) > 0 { - for iNdEx := len(m.StorageClasses) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.StorageClasses[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x2a - } - } - if m.GroupSize != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.GroupSize)) - i-- - dAtA[i] = 0x20 - } - if m.GroupId != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.GroupId)) - i-- - dAtA[i] = 0x18 - } - if len(m.ClusterId) > 0 { - i -= len(m.ClusterId) - copy(dAtA[i:], m.ClusterId) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterId))) - i-- - dAtA[i] = 0x12 - } - if len(m.ClusterName) > 0 { - i -= len(m.ClusterName) - copy(dAtA[i:], m.ClusterName) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterName))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *CollectorStatus) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *CollectorStatus) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *CollectorStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Interval != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Interval)) - i-- - dAtA[i] = 0x10 - } - if m.ActiveClients != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.ActiveClients)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *Process) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *Process) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Process) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.ProcessContext) > 0 { - for iNdEx := len(m.ProcessContext) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.ProcessContext[iNdEx]) - copy(dAtA[i:], m.ProcessContext[iNdEx]) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ProcessContext[iNdEx]))) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0xb2 - } - } - if m.Networks != nil { - { - size, err := m.Networks.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0xaa - } - if m.NsPid != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.NsPid)) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0xa0 - } - if len(m.ContainerByteKey) > 0 { - i -= len(m.ContainerByteKey) - copy(dAtA[i:], m.ContainerByteKey) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ContainerByteKey))) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0x9a - } - if len(m.ByteKey) > 0 { - i -= len(m.ByteKey) - copy(dAtA[i:], m.ByteKey) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ByteKey))) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0x92 - } - if m.InvoluntaryCtxSwitches != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.InvoluntaryCtxSwitches)) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0x88 - } - if m.VoluntaryCtxSwitches != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.VoluntaryCtxSwitches)) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0x80 - } - if m.ContainerKey != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.ContainerKey)) - i-- - dAtA[i] = 0x78 - } - if len(m.ContainerId) > 0 { - i -= len(m.ContainerId) - copy(dAtA[i:], m.ContainerId) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ContainerId))) - i-- - dAtA[i] = 0x72 - } - if m.IoStat != nil { - { - size, err := m.IoStat.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x6a - } - if m.State != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.State)) - i-- - dAtA[i] = 0x60 - } - if m.OpenFdCount != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.OpenFdCount)) - i-- - dAtA[i] = 0x58 - } - if m.Container != nil { - { - size, err := m.Container.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x52 - } - if m.CreateTime != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.CreateTime)) - i-- - dAtA[i] = 0x48 - } - if m.Cpu != nil { - { - size, err := m.Cpu.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x42 - } - if m.Memory != nil { - { - size, err := m.Memory.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x3a - } - if m.User != nil { - { - size, err := m.User.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x2a - } - if m.Command != nil { - { - size, err := m.Command.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x22 - } - if m.Host != nil { - { - size, err := m.Host.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - if m.Pid != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Pid)) - i-- - dAtA[i] = 0x10 - } - if m.Key != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Key)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *ProcessDiscovery) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ProcessDiscovery) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ProcessDiscovery) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.ByteKey) > 0 { - i -= len(m.ByteKey) - copy(dAtA[i:], m.ByteKey) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ByteKey))) - i-- - dAtA[i] = 0x3a - } - if m.CreateTime != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.CreateTime)) - i-- - dAtA[i] = 0x30 - } - if m.User != nil { - { - size, err := m.User.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x2a - } - if m.Command != nil { - { - size, err := m.Command.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x22 - } - if m.Host != nil { - { - size, err := m.Host.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - if m.NsPid != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.NsPid)) - i-- - dAtA[i] = 0x10 - } - if m.Pid != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Pid)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *Command) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *Command) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Command) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Comm) > 0 { - i -= len(m.Comm) - copy(dAtA[i:], m.Comm) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Comm))) - i-- - dAtA[i] = 0x4a - } - if len(m.Exe) > 0 { - i -= len(m.Exe) - copy(dAtA[i:], m.Exe) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Exe))) - i-- - dAtA[i] = 0x42 - } - if m.Pgroup != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Pgroup)) - i-- - dAtA[i] = 0x38 - } - if m.Ppid != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Ppid)) - i-- - dAtA[i] = 0x30 - } - if m.OnDisk { - i-- - if m.OnDisk { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x28 - } - if len(m.Root) > 0 { - i -= len(m.Root) - copy(dAtA[i:], m.Root) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Root))) - i-- - dAtA[i] = 0x22 - } - if len(m.Cwd) > 0 { - i -= len(m.Cwd) - copy(dAtA[i:], m.Cwd) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Cwd))) - i-- - dAtA[i] = 0x1a - } - 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 = encodeVarintAgent(dAtA, i, uint64(len(m.Args[iNdEx]))) - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *ProcessUser) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ProcessUser) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ProcessUser) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Sgid != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Sgid)) - i-- - dAtA[i] = 0x38 - } - if m.Suid != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Suid)) - i-- - dAtA[i] = 0x30 - } - if m.Egid != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Egid)) - i-- - dAtA[i] = 0x28 - } - if m.Euid != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Euid)) - i-- - dAtA[i] = 0x20 - } - if m.Gid != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Gid)) - i-- - dAtA[i] = 0x18 - } - if m.Uid != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Uid)) - i-- - dAtA[i] = 0x10 - } - if len(m.Name) > 0 { - i -= len(m.Name) - copy(dAtA[i:], m.Name) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Name))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *ProcessNetworks) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ProcessNetworks) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ProcessNetworks) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.BytesRate != 0 { - i -= 4 - encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.BytesRate)))) - i-- - dAtA[i] = 0x15 - } - if m.ConnectionRate != 0 { - i -= 4 - encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.ConnectionRate)))) - i-- - dAtA[i] = 0xd - } - return len(dAtA) - i, nil -} - -func (m *ContainerAddr) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ContainerAddr) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ContainerAddr) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Protocol != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Protocol)) - i-- - dAtA[i] = 0x18 - } - if m.Port != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Port)) - i-- - dAtA[i] = 0x10 - } - if len(m.Ip) > 0 { - i -= len(m.Ip) - copy(dAtA[i:], m.Ip) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Ip))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *Container) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *Container) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Container) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.RepoDigest) > 0 { - i -= len(m.RepoDigest) - copy(dAtA[i:], m.RepoDigest) - i = encodeVarintAgent(dAtA, i, uint64(len(m.RepoDigest))) - i-- - dAtA[i] = 0x2 - i-- - dAtA[i] = 0x9a - } - if m.MemoryRequest != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.MemoryRequest)) - i-- - dAtA[i] = 0x2 - i-- - dAtA[i] = 0x90 - } - if m.CpuRequest != 0 { - i -= 4 - encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.CpuRequest)))) - i-- - dAtA[i] = 0x2 - i-- - dAtA[i] = 0x8d - } - if m.MemAccounted != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.MemAccounted)) - i-- - dAtA[i] = 0x2 - i-- - dAtA[i] = 0x80 - } - if m.CpuUsageNs != 0 { - i -= 4 - encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.CpuUsageNs)))) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0xfd - } - if m.MemUsage != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.MemUsage)) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0xf0 - } - if m.ThreadLimit != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.ThreadLimit)) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0xe8 - } - if m.ThreadCount != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.ThreadCount)) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0xe0 - } - if len(m.Addresses) > 0 { - for iNdEx := len(m.Addresses) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Addresses[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0xda - } - } - 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 = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0xd2 - } - } - if len(m.ByteKey) > 0 { - i -= len(m.ByteKey) - copy(dAtA[i:], m.ByteKey) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ByteKey))) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0xca - } - if m.Started != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Started)) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0xc0 - } - if m.Host != nil { - { - size, err := m.Host.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0xba - } - if m.MemCache != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.MemCache)) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0xb0 - } - if m.MemRss != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.MemRss)) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0xa8 - } - if m.TotalPct != 0 { - i -= 4 - encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.TotalPct)))) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0xa5 - } - if m.SystemPct != 0 { - i -= 4 - encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.SystemPct)))) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0x9d - } - if m.UserPct != 0 { - i -= 4 - encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.UserPct)))) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0x95 - } - if m.NetSentBps != 0 { - i -= 4 - encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.NetSentBps)))) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0x8d - } - if m.NetRcvdBps != 0 { - i -= 4 - encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.NetRcvdBps)))) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0x85 - } - if m.NetSentPs != 0 { - i -= 4 - encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.NetSentPs)))) - i-- - dAtA[i] = 0x7d - } - if m.NetRcvdPs != 0 { - i -= 4 - encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.NetRcvdPs)))) - i-- - dAtA[i] = 0x75 - } - if m.Key != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Key)) - i-- - dAtA[i] = 0x68 - } - if m.Wbps != 0 { - i -= 4 - encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.Wbps)))) - i-- - dAtA[i] = 0x65 - } - if m.Rbps != 0 { - i -= 4 - encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.Rbps)))) - i-- - dAtA[i] = 0x5d - } - if m.Created != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Created)) - i-- - dAtA[i] = 0x50 - } - if m.Health != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Health)) - i-- - dAtA[i] = 0x48 - } - if m.State != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.State)) - i-- - dAtA[i] = 0x40 - } - if m.MemoryLimit != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.MemoryLimit)) - i-- - dAtA[i] = 0x30 - } - if m.CpuLimit != 0 { - i -= 4 - encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.CpuLimit)))) - i-- - dAtA[i] = 0x2d - } - if len(m.Image) > 0 { - i -= len(m.Image) - copy(dAtA[i:], m.Image) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Image))) - i-- - dAtA[i] = 0x22 - } - if len(m.Name) > 0 { - i -= len(m.Name) - copy(dAtA[i:], m.Name) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Name))) - i-- - dAtA[i] = 0x1a - } - if len(m.Id) > 0 { - i -= len(m.Id) - copy(dAtA[i:], m.Id) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Id))) - i-- - dAtA[i] = 0x12 - } - if len(m.Type) > 0 { - i -= len(m.Type) - copy(dAtA[i:], m.Type) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Type))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *ProcessStat) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ProcessStat) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ProcessStat) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Networks != nil { - { - size, err := m.Networks.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0xe2 - } - if len(m.ContainerByteKey) > 0 { - i -= len(m.ContainerByteKey) - copy(dAtA[i:], m.ContainerByteKey) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ContainerByteKey))) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0xda - } - if len(m.ByteKey) > 0 { - i -= len(m.ByteKey) - copy(dAtA[i:], m.ByteKey) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ByteKey))) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0xd2 - } - if m.InvoluntaryCtxSwitches != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.InvoluntaryCtxSwitches)) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0xc8 - } - if m.VoluntaryCtxSwitches != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.VoluntaryCtxSwitches)) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0xc0 - } - if m.ContainerNetSentBps != 0 { - i -= 4 - encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.ContainerNetSentBps)))) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0xbd - } - if m.ContainerNetRcvdBps != 0 { - i -= 4 - encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.ContainerNetRcvdBps)))) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0xb5 - } - if m.ContainerNetSentPs != 0 { - i -= 4 - encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.ContainerNetSentPs)))) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0xad - } - if m.ContainerNetRcvdPs != 0 { - i -= 4 - encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.ContainerNetRcvdPs)))) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0xa5 - } - if m.IoStat != nil { - { - size, err := m.IoStat.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0x9a - } - if m.ContainerKey != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.ContainerKey)) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0x90 - } - if m.ContainerWbps != 0 { - i -= 4 - encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.ContainerWbps)))) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0x8d - } - if m.ContainerRbps != 0 { - i -= 4 - encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.ContainerRbps)))) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0x85 - } - if m.ContainerHealth != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.ContainerHealth)) - i-- - dAtA[i] = 0x78 - } - if m.ProcessState != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.ProcessState)) - i-- - dAtA[i] = 0x60 - } - if m.ContainerState != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.ContainerState)) - i-- - dAtA[i] = 0x58 - } - if len(m.ContainerId) > 0 { - i -= len(m.ContainerId) - copy(dAtA[i:], m.ContainerId) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ContainerId))) - i-- - dAtA[i] = 0x52 - } - if m.Key != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Key)) - i-- - dAtA[i] = 0x48 - } - if m.OpenFdCount != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.OpenFdCount)) - i-- - dAtA[i] = 0x40 - } - if m.Threads != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Threads)) - i-- - dAtA[i] = 0x38 - } - if m.Nice != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Nice)) - i-- - dAtA[i] = 0x28 - } - if m.Cpu != nil { - { - size, err := m.Cpu.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x22 - } - if m.Memory != nil { - { - size, err := m.Memory.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - if m.CreateTime != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.CreateTime)) - i-- - dAtA[i] = 0x10 - } - if m.Pid != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Pid)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *ProcStatsWithPerm) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ProcStatsWithPerm) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ProcStatsWithPerm) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.WriteBytes != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.WriteBytes)) - i-- - dAtA[i] = 0x28 - } - if m.ReadBytes != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.ReadBytes)) - i-- - dAtA[i] = 0x20 - } - if m.WriteCount != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.WriteCount)) - i-- - dAtA[i] = 0x18 - } - if m.ReadCount != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.ReadCount)) - i-- - dAtA[i] = 0x10 - } - if m.OpenFDCount != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.OpenFDCount)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *ProcStatsWithPermByPID) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ProcStatsWithPermByPID) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ProcStatsWithPermByPID) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.StatsByPID) > 0 { - for k := range m.StatsByPID { - v := m.StatsByPID[k] - baseI := i - if v != nil { - { - size, err := v.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - i = encodeVarintAgent(dAtA, i, uint64(k)) - i-- - dAtA[i] = 0x8 - i = encodeVarintAgent(dAtA, i, uint64(baseI-i)) - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *ContainerStat) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ContainerStat) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ContainerStat) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.MemoryRequest != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.MemoryRequest)) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0xd0 - } - if m.CpuRequest != 0 { - i -= 4 - encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.CpuRequest)))) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0xcd - } - if m.MemAccounted != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.MemAccounted)) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0xc0 - } - if m.CpuUsageNs != 0 { - i -= 4 - encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.CpuUsageNs)))) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0xbd - } - if m.MemUsage != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.MemUsage)) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0xb0 - } - if m.ThreadLimit != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.ThreadLimit)) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0xa8 - } - if m.ThreadCount != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.ThreadCount)) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0xa0 - } - if len(m.ByteKey) > 0 { - i -= len(m.ByteKey) - copy(dAtA[i:], m.ByteKey) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ByteKey))) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0x9a - } - if m.Started != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Started)) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0x90 - } - if m.Key != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Key)) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0x88 - } - if m.Health != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Health)) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0x80 - } - if m.State != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.State)) - i-- - dAtA[i] = 0x78 - } - if m.NetSentBps != 0 { - i -= 4 - encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.NetSentBps)))) - i-- - dAtA[i] = 0x75 - } - if m.NetRcvdBps != 0 { - i -= 4 - encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.NetRcvdBps)))) - i-- - dAtA[i] = 0x6d - } - if m.NetSentPs != 0 { - i -= 4 - encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.NetSentPs)))) - i-- - dAtA[i] = 0x65 - } - if m.NetRcvdPs != 0 { - i -= 4 - encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.NetRcvdPs)))) - i-- - dAtA[i] = 0x5d - } - if m.Wbps != 0 { - i -= 4 - encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.Wbps)))) - i-- - dAtA[i] = 0x55 - } - if m.Rbps != 0 { - i -= 4 - encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.Rbps)))) - i-- - dAtA[i] = 0x4d - } - if m.MemLimit != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.MemLimit)) - i-- - dAtA[i] = 0x40 - } - if m.MemCache != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.MemCache)) - i-- - dAtA[i] = 0x38 - } - if m.MemRss != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.MemRss)) - i-- - dAtA[i] = 0x30 - } - if m.CpuLimit != 0 { - i -= 4 - encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.CpuLimit)))) - i-- - dAtA[i] = 0x2d - } - if m.TotalPct != 0 { - i -= 4 - encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.TotalPct)))) - i-- - dAtA[i] = 0x25 - } - if m.SystemPct != 0 { - i -= 4 - encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.SystemPct)))) - i-- - dAtA[i] = 0x1d - } - if m.UserPct != 0 { - i -= 4 - encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.UserPct)))) - i-- - dAtA[i] = 0x15 - } - if len(m.Id) > 0 { - i -= len(m.Id) - copy(dAtA[i:], m.Id) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Id))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *SystemInfo) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *SystemInfo) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *SystemInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.TotalMemory != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.TotalMemory)) - i-- - dAtA[i] = 0x28 - } - if len(m.Cpus) > 0 { - for iNdEx := len(m.Cpus) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Cpus[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - } - if m.Os != nil { - { - size, err := m.Os.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - if len(m.Uuid) > 0 { - i -= len(m.Uuid) - copy(dAtA[i:], m.Uuid) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Uuid))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *OSInfo) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *OSInfo) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *OSInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.KernelVersion) > 0 { - i -= len(m.KernelVersion) - copy(dAtA[i:], m.KernelVersion) - i = encodeVarintAgent(dAtA, i, uint64(len(m.KernelVersion))) - i-- - dAtA[i] = 0x2a - } - if len(m.Version) > 0 { - i -= len(m.Version) - copy(dAtA[i:], m.Version) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Version))) - i-- - dAtA[i] = 0x22 - } - if len(m.Family) > 0 { - i -= len(m.Family) - copy(dAtA[i:], m.Family) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Family))) - i-- - dAtA[i] = 0x1a - } - if len(m.Platform) > 0 { - i -= len(m.Platform) - copy(dAtA[i:], m.Platform) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Platform))) - i-- - dAtA[i] = 0x12 - } - if len(m.Name) > 0 { - i -= len(m.Name) - copy(dAtA[i:], m.Name) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Name))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *IOStat) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *IOStat) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *IOStat) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.WriteBytesRate != 0 { - i -= 4 - encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.WriteBytesRate)))) - i-- - dAtA[i] = 0x25 - } - if m.ReadBytesRate != 0 { - i -= 4 - encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.ReadBytesRate)))) - i-- - dAtA[i] = 0x1d - } - if m.WriteRate != 0 { - i -= 4 - encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.WriteRate)))) - i-- - dAtA[i] = 0x15 - } - if m.ReadRate != 0 { - i -= 4 - encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.ReadRate)))) - i-- - dAtA[i] = 0xd - } - return len(dAtA) - i, nil -} - -func (m *MemoryStat) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *MemoryStat) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MemoryStat) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Dirty != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Dirty)) - i-- - dAtA[i] = 0x40 - } - if m.Data != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Data)) - i-- - dAtA[i] = 0x38 - } - if m.Lib != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Lib)) - i-- - dAtA[i] = 0x30 - } - if m.Text != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Text)) - i-- - dAtA[i] = 0x28 - } - if m.Shared != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Shared)) - i-- - dAtA[i] = 0x20 - } - if m.Swap != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Swap)) - i-- - dAtA[i] = 0x18 - } - if m.Vms != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Vms)) - i-- - dAtA[i] = 0x10 - } - if m.Rss != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Rss)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *CPUStat) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *CPUStat) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *CPUStat) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.SystemTime != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.SystemTime)) - i-- - dAtA[i] = 0x48 - } - if m.UserTime != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.UserTime)) - i-- - dAtA[i] = 0x40 - } - if m.Nice != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Nice)) - i-- - dAtA[i] = 0x38 - } - if len(m.Cpus) > 0 { - for iNdEx := len(m.Cpus) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Cpus[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x32 - } - } - if m.NumThreads != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.NumThreads)) - i-- - dAtA[i] = 0x28 - } - if m.SystemPct != 0 { - i -= 4 - encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.SystemPct)))) - i-- - dAtA[i] = 0x25 - } - if m.UserPct != 0 { - i -= 4 - encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.UserPct)))) - i-- - dAtA[i] = 0x1d - } - if m.TotalPct != 0 { - i -= 4 - encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.TotalPct)))) - i-- - dAtA[i] = 0x15 - } - if len(m.LastCpu) > 0 { - i -= len(m.LastCpu) - copy(dAtA[i:], m.LastCpu) - i = encodeVarintAgent(dAtA, i, uint64(len(m.LastCpu))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *SingleCPUStat) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *SingleCPUStat) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *SingleCPUStat) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.TotalPct != 0 { - i -= 4 - encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.TotalPct)))) - i-- - dAtA[i] = 0x15 - } - if len(m.Name) > 0 { - i -= len(m.Name) - copy(dAtA[i:], m.Name) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Name))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *CPUInfo) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *CPUInfo) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *CPUInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.CacheSize != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.CacheSize)) - i-- - dAtA[i] = 0x48 - } - if m.Mhz != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Mhz)) - i-- - dAtA[i] = 0x40 - } - if m.Cores != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Cores)) - i-- - dAtA[i] = 0x38 - } - if len(m.CoreId) > 0 { - i -= len(m.CoreId) - copy(dAtA[i:], m.CoreId) - i = encodeVarintAgent(dAtA, i, uint64(len(m.CoreId))) - i-- - dAtA[i] = 0x32 - } - if len(m.PhysicalId) > 0 { - i -= len(m.PhysicalId) - copy(dAtA[i:], m.PhysicalId) - i = encodeVarintAgent(dAtA, i, uint64(len(m.PhysicalId))) - i-- - dAtA[i] = 0x2a - } - if len(m.Model) > 0 { - i -= len(m.Model) - copy(dAtA[i:], m.Model) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Model))) - i-- - dAtA[i] = 0x22 - } - if len(m.Family) > 0 { - i -= len(m.Family) - copy(dAtA[i:], m.Family) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Family))) - i-- - dAtA[i] = 0x1a - } - if len(m.Vendor) > 0 { - i -= len(m.Vendor) - copy(dAtA[i:], m.Vendor) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Vendor))) - i-- - dAtA[i] = 0x12 - } - if m.Number != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Number)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *Host) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *Host) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Host) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.TagsModified != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.TagsModified)) - i-- - dAtA[i] = 0x50 - } - if m.TagIndex != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.TagIndex)) - i-- - dAtA[i] = 0x48 - } - if m.TotalMemory != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.TotalMemory)) - i-- - dAtA[i] = 0x40 - } - if m.NumCpus != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.NumCpus)) - i-- - dAtA[i] = 0x38 - } - if len(m.AllTags) > 0 { - for iNdEx := len(m.AllTags) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.AllTags[iNdEx]) - copy(dAtA[i:], m.AllTags[iNdEx]) - i = encodeVarintAgent(dAtA, i, uint64(len(m.AllTags[iNdEx]))) - i-- - dAtA[i] = 0x32 - } - } - if len(m.Name) > 0 { - i -= len(m.Name) - copy(dAtA[i:], m.Name) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Name))) - i-- - dAtA[i] = 0x1a - } - if m.OrgId != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.OrgId)) - i-- - dAtA[i] = 0x10 - } - if m.Id != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Id)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *Cluster) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *Cluster) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Cluster) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.ExtendedResourcesCapacity) > 0 { - for k := range m.ExtendedResourcesCapacity { - v := m.ExtendedResourcesCapacity[k] - baseI := i - i = encodeVarintAgent(dAtA, i, uint64(v)) - i-- - dAtA[i] = 0x10 - i -= len(k) - copy(dAtA[i:], k) - i = encodeVarintAgent(dAtA, i, uint64(len(k))) - i-- - dAtA[i] = 0xa - i = encodeVarintAgent(dAtA, i, uint64(baseI-i)) - i-- - dAtA[i] = 0x7a - } - } - if len(m.ExtendedResourcesAllocatable) > 0 { - for k := range m.ExtendedResourcesAllocatable { - v := m.ExtendedResourcesAllocatable[k] - baseI := i - i = encodeVarintAgent(dAtA, i, uint64(v)) - i-- - dAtA[i] = 0x10 - i -= len(k) - copy(dAtA[i:], k) - i = encodeVarintAgent(dAtA, i, uint64(len(k))) - i-- - dAtA[i] = 0xa - i = encodeVarintAgent(dAtA, i, uint64(baseI-i)) - i-- - dAtA[i] = 0x72 - } - } - if m.Metrics != nil { - { - size, err := m.Metrics.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x6a - } - 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 = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) - i-- - dAtA[i] = 0x62 - } - } - if m.CreationTimestamp != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.CreationTimestamp)) - i-- - dAtA[i] = 0x58 - } - if len(m.ResourceVersion) > 0 { - i -= len(m.ResourceVersion) - copy(dAtA[i:], m.ResourceVersion) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ResourceVersion))) - i-- - dAtA[i] = 0x52 - } - if m.CpuCapacity != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.CpuCapacity)) - i-- - dAtA[i] = 0x48 - } - if m.CpuAllocatable != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.CpuAllocatable)) - i-- - dAtA[i] = 0x40 - } - if m.MemoryCapacity != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.MemoryCapacity)) - i-- - dAtA[i] = 0x38 - } - if m.MemoryAllocatable != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.MemoryAllocatable)) - i-- - dAtA[i] = 0x30 - } - if m.PodAllocatable != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.PodAllocatable)) - i-- - dAtA[i] = 0x28 - } - if m.PodCapacity != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.PodCapacity)) - i-- - dAtA[i] = 0x20 - } - if len(m.ApiServerVersions) > 0 { - for k := range m.ApiServerVersions { - v := m.ApiServerVersions[k] - baseI := i - i = encodeVarintAgent(dAtA, i, uint64(v)) - i-- - dAtA[i] = 0x10 - i -= len(k) - copy(dAtA[i:], k) - i = encodeVarintAgent(dAtA, i, uint64(len(k))) - i-- - dAtA[i] = 0xa - i = encodeVarintAgent(dAtA, i, uint64(baseI-i)) - i-- - dAtA[i] = 0x1a - } - } - if len(m.KubeletVersions) > 0 { - for k := range m.KubeletVersions { - v := m.KubeletVersions[k] - baseI := i - i = encodeVarintAgent(dAtA, i, uint64(v)) - i-- - dAtA[i] = 0x10 - i -= len(k) - copy(dAtA[i:], k) - i = encodeVarintAgent(dAtA, i, uint64(len(k))) - i-- - dAtA[i] = 0xa - i = encodeVarintAgent(dAtA, i, uint64(baseI-i)) - i-- - dAtA[i] = 0x12 - } - } - if m.NodeCount != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.NodeCount)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *Metadata) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *Metadata) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Metadata) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Finalizers) > 0 { - for iNdEx := len(m.Finalizers) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.Finalizers[iNdEx]) - copy(dAtA[i:], m.Finalizers[iNdEx]) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Finalizers[iNdEx]))) - i-- - dAtA[i] = 0x52 - } - } - if len(m.ResourceVersion) > 0 { - i -= len(m.ResourceVersion) - copy(dAtA[i:], m.ResourceVersion) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ResourceVersion))) - i-- - dAtA[i] = 0x4a - } - if len(m.OwnerReferences) > 0 { - for iNdEx := len(m.OwnerReferences) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.OwnerReferences[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x42 - } - } - if len(m.Annotations) > 0 { - for iNdEx := len(m.Annotations) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.Annotations[iNdEx]) - copy(dAtA[i:], m.Annotations[iNdEx]) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Annotations[iNdEx]))) - i-- - dAtA[i] = 0x3a - } - } - if len(m.Labels) > 0 { - for iNdEx := len(m.Labels) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.Labels[iNdEx]) - copy(dAtA[i:], m.Labels[iNdEx]) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Labels[iNdEx]))) - i-- - dAtA[i] = 0x32 - } - } - if m.DeletionTimestamp != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.DeletionTimestamp)) - i-- - dAtA[i] = 0x28 - } - if m.CreationTimestamp != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.CreationTimestamp)) - i-- - dAtA[i] = 0x20 - } - if len(m.Uid) > 0 { - i -= len(m.Uid) - copy(dAtA[i:], m.Uid) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Uid))) - i-- - dAtA[i] = 0x1a - } - if len(m.Namespace) > 0 { - i -= len(m.Namespace) - copy(dAtA[i:], m.Namespace) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Namespace))) - i-- - dAtA[i] = 0x12 - } - if len(m.Name) > 0 { - i -= len(m.Name) - copy(dAtA[i:], m.Name) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Name))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *OwnerReference) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *OwnerReference) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *OwnerReference) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Kind) > 0 { - i -= len(m.Kind) - copy(dAtA[i:], m.Kind) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Kind))) - i-- - dAtA[i] = 0x1a - } - if len(m.Uid) > 0 { - i -= len(m.Uid) - copy(dAtA[i:], m.Uid) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Uid))) - i-- - dAtA[i] = 0x12 - } - if len(m.Name) > 0 { - i -= len(m.Name) - copy(dAtA[i:], m.Name) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Name))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *ObjectReference) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ObjectReference) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ObjectReference) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.FieldPath) > 0 { - i -= len(m.FieldPath) - copy(dAtA[i:], m.FieldPath) - i = encodeVarintAgent(dAtA, i, uint64(len(m.FieldPath))) - i-- - dAtA[i] = 0x3a - } - if len(m.ResourceVersion) > 0 { - i -= len(m.ResourceVersion) - copy(dAtA[i:], m.ResourceVersion) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ResourceVersion))) - i-- - dAtA[i] = 0x32 - } - if len(m.ApiVersion) > 0 { - i -= len(m.ApiVersion) - copy(dAtA[i:], m.ApiVersion) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ApiVersion))) - i-- - dAtA[i] = 0x2a - } - if len(m.Uid) > 0 { - i -= len(m.Uid) - copy(dAtA[i:], m.Uid) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Uid))) - i-- - dAtA[i] = 0x22 - } - if len(m.Name) > 0 { - i -= len(m.Name) - copy(dAtA[i:], m.Name) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Name))) - i-- - dAtA[i] = 0x1a - } - if len(m.Namespace) > 0 { - i -= len(m.Namespace) - copy(dAtA[i:], m.Namespace) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Namespace))) - i-- - dAtA[i] = 0x12 - } - if len(m.Kind) > 0 { - i -= len(m.Kind) - copy(dAtA[i:], m.Kind) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Kind))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *ServicePort) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ServicePort) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ServicePort) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.NodePort != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.NodePort)) - i-- - dAtA[i] = 0x28 - } - if len(m.TargetPort) > 0 { - i -= len(m.TargetPort) - copy(dAtA[i:], m.TargetPort) - i = encodeVarintAgent(dAtA, i, uint64(len(m.TargetPort))) - i-- - dAtA[i] = 0x22 - } - if m.Port != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Port)) - i-- - dAtA[i] = 0x18 - } - if len(m.Protocol) > 0 { - i -= len(m.Protocol) - copy(dAtA[i:], m.Protocol) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Protocol))) - i-- - dAtA[i] = 0x12 - } - if len(m.Name) > 0 { - i -= len(m.Name) - copy(dAtA[i:], m.Name) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Name))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *ServiceSessionAffinityConfig) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ServiceSessionAffinityConfig) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ServiceSessionAffinityConfig) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.ClientIPTimeoutSeconds != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.ClientIPTimeoutSeconds)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *Node) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *Node) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Node) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Metrics != nil { - { - size, err := m.Metrics.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x62 - } - if m.Host != nil { - { - size, err := m.Host.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x5a - } - if len(m.ProviderID) > 0 { - i -= len(m.ProviderID) - copy(dAtA[i:], m.ProviderID) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ProviderID))) - i-- - dAtA[i] = 0x52 - } - 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 = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) - i-- - dAtA[i] = 0x4a - } - } - if len(m.Roles) > 0 { - for iNdEx := len(m.Roles) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.Roles[iNdEx]) - copy(dAtA[i:], m.Roles[iNdEx]) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Roles[iNdEx]))) - i-- - dAtA[i] = 0x42 - } - } - if len(m.Yaml) > 0 { - i -= len(m.Yaml) - copy(dAtA[i:], m.Yaml) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Yaml))) - i-- - dAtA[i] = 0x3a - } - if m.Status != nil { - { - size, err := m.Status.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x32 - } - if len(m.Taints) > 0 { - for iNdEx := len(m.Taints) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Taints[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x2a - } - } - if m.Unschedulable { - i-- - if m.Unschedulable { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x20 - } - if len(m.PodCIDRs) > 0 { - for iNdEx := len(m.PodCIDRs) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.PodCIDRs[iNdEx]) - copy(dAtA[i:], m.PodCIDRs[iNdEx]) - i = encodeVarintAgent(dAtA, i, uint64(len(m.PodCIDRs[iNdEx]))) - i-- - dAtA[i] = 0x1a - } - } - if len(m.PodCIDR) > 0 { - i -= len(m.PodCIDR) - copy(dAtA[i:], m.PodCIDR) - i = encodeVarintAgent(dAtA, i, uint64(len(m.PodCIDR))) - i-- - dAtA[i] = 0x12 - } - if m.Metadata != nil { - { - size, err := m.Metadata.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *NodeStatus) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *NodeStatus) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *NodeStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.ContainerRuntimeVersion) > 0 { - i -= len(m.ContainerRuntimeVersion) - copy(dAtA[i:], m.ContainerRuntimeVersion) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ContainerRuntimeVersion))) - i-- - dAtA[i] = 0x6a - } - if len(m.OsImage) > 0 { - i -= len(m.OsImage) - copy(dAtA[i:], m.OsImage) - i = encodeVarintAgent(dAtA, i, uint64(len(m.OsImage))) - i-- - dAtA[i] = 0x62 - } - if len(m.KernelVersion) > 0 { - i -= len(m.KernelVersion) - copy(dAtA[i:], m.KernelVersion) - i = encodeVarintAgent(dAtA, i, uint64(len(m.KernelVersion))) - i-- - dAtA[i] = 0x5a - } - if len(m.Architecture) > 0 { - i -= len(m.Architecture) - copy(dAtA[i:], m.Architecture) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Architecture))) - i-- - dAtA[i] = 0x52 - } - if len(m.OperatingSystem) > 0 { - i -= len(m.OperatingSystem) - copy(dAtA[i:], m.OperatingSystem) - i = encodeVarintAgent(dAtA, i, uint64(len(m.OperatingSystem))) - i-- - dAtA[i] = 0x4a - } - if len(m.KubeProxyVersion) > 0 { - i -= len(m.KubeProxyVersion) - copy(dAtA[i:], m.KubeProxyVersion) - i = encodeVarintAgent(dAtA, i, uint64(len(m.KubeProxyVersion))) - i-- - dAtA[i] = 0x42 - } - if len(m.Images) > 0 { - for iNdEx := len(m.Images) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Images[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x3a - } - } - if len(m.Conditions) > 0 { - for iNdEx := len(m.Conditions) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Conditions[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x32 - } - } - if len(m.KubeletVersion) > 0 { - i -= len(m.KubeletVersion) - copy(dAtA[i:], m.KubeletVersion) - i = encodeVarintAgent(dAtA, i, uint64(len(m.KubeletVersion))) - i-- - dAtA[i] = 0x2a - } - if len(m.Status) > 0 { - i -= len(m.Status) - copy(dAtA[i:], m.Status) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Status))) - i-- - dAtA[i] = 0x22 - } - if len(m.NodeAddresses) > 0 { - for k := range m.NodeAddresses { - v := m.NodeAddresses[k] - baseI := i - i -= len(v) - copy(dAtA[i:], v) - i = encodeVarintAgent(dAtA, i, uint64(len(v))) - i-- - dAtA[i] = 0x12 - i -= len(k) - copy(dAtA[i:], k) - i = encodeVarintAgent(dAtA, i, uint64(len(k))) - i-- - dAtA[i] = 0xa - i = encodeVarintAgent(dAtA, i, uint64(baseI-i)) - i-- - dAtA[i] = 0x1a - } - } - if len(m.Allocatable) > 0 { - for k := range m.Allocatable { - v := m.Allocatable[k] - baseI := i - i = encodeVarintAgent(dAtA, i, uint64(v)) - i-- - dAtA[i] = 0x10 - i -= len(k) - copy(dAtA[i:], k) - i = encodeVarintAgent(dAtA, i, uint64(len(k))) - i-- - dAtA[i] = 0xa - i = encodeVarintAgent(dAtA, i, uint64(baseI-i)) - i-- - dAtA[i] = 0x12 - } - } - if len(m.Capacity) > 0 { - for k := range m.Capacity { - v := m.Capacity[k] - baseI := i - i = encodeVarintAgent(dAtA, i, uint64(v)) - i-- - dAtA[i] = 0x10 - i -= len(k) - copy(dAtA[i:], k) - i = encodeVarintAgent(dAtA, i, uint64(len(k))) - i-- - dAtA[i] = 0xa - i = encodeVarintAgent(dAtA, i, uint64(baseI-i)) - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *NodeCondition) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *NodeCondition) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *NodeCondition) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Message) > 0 { - i -= len(m.Message) - copy(dAtA[i:], m.Message) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Message))) - i-- - dAtA[i] = 0x2a - } - if len(m.Reason) > 0 { - i -= len(m.Reason) - copy(dAtA[i:], m.Reason) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Reason))) - i-- - dAtA[i] = 0x22 - } - if m.LastTransitionTime != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.LastTransitionTime)) - i-- - dAtA[i] = 0x18 - } - if len(m.Status) > 0 { - i -= len(m.Status) - copy(dAtA[i:], m.Status) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Status))) - i-- - dAtA[i] = 0x12 - } - if len(m.Type) > 0 { - i -= len(m.Type) - copy(dAtA[i:], m.Type) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Type))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *ContainerImage) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ContainerImage) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ContainerImage) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.SizeBytes != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.SizeBytes)) - i-- - dAtA[i] = 0x10 - } - if len(m.Names) > 0 { - for iNdEx := len(m.Names) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.Names[iNdEx]) - copy(dAtA[i:], m.Names[iNdEx]) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Names[iNdEx]))) - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *Taint) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *Taint) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Taint) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.TimeAdded != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.TimeAdded)) - i-- - dAtA[i] = 0x20 - } - if len(m.Effect) > 0 { - i -= len(m.Effect) - copy(dAtA[i:], m.Effect) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Effect))) - i-- - dAtA[i] = 0x1a - } - if len(m.Value) > 0 { - i -= len(m.Value) - copy(dAtA[i:], m.Value) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Value))) - i-- - dAtA[i] = 0x12 - } - if len(m.Key) > 0 { - i -= len(m.Key) - copy(dAtA[i:], m.Key) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Key))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *ServiceSpec) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ServiceSpec) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ServiceSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.IpFamily) > 0 { - i -= len(m.IpFamily) - copy(dAtA[i:], m.IpFamily) - i = encodeVarintAgent(dAtA, i, uint64(len(m.IpFamily))) - i-- - dAtA[i] = 0x72 - } - if m.SessionAffinityConfig != nil { - { - size, err := m.SessionAffinityConfig.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x6a - } - if m.PublishNotReadyAddresses { - i-- - if m.PublishNotReadyAddresses { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x60 - } - if m.HealthCheckNodePort != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.HealthCheckNodePort)) - i-- - dAtA[i] = 0x58 - } - if len(m.ExternalTrafficPolicy) > 0 { - i -= len(m.ExternalTrafficPolicy) - copy(dAtA[i:], m.ExternalTrafficPolicy) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ExternalTrafficPolicy))) - i-- - dAtA[i] = 0x52 - } - if len(m.ExternalName) > 0 { - i -= len(m.ExternalName) - copy(dAtA[i:], m.ExternalName) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ExternalName))) - i-- - dAtA[i] = 0x4a - } - if len(m.LoadBalancerSourceRanges) > 0 { - for iNdEx := len(m.LoadBalancerSourceRanges) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.LoadBalancerSourceRanges[iNdEx]) - copy(dAtA[i:], m.LoadBalancerSourceRanges[iNdEx]) - i = encodeVarintAgent(dAtA, i, uint64(len(m.LoadBalancerSourceRanges[iNdEx]))) - i-- - dAtA[i] = 0x42 - } - } - if len(m.LoadBalancerIP) > 0 { - i -= len(m.LoadBalancerIP) - copy(dAtA[i:], m.LoadBalancerIP) - i = encodeVarintAgent(dAtA, i, uint64(len(m.LoadBalancerIP))) - i-- - dAtA[i] = 0x3a - } - if len(m.SessionAffinity) > 0 { - i -= len(m.SessionAffinity) - copy(dAtA[i:], m.SessionAffinity) - i = encodeVarintAgent(dAtA, i, uint64(len(m.SessionAffinity))) - i-- - dAtA[i] = 0x32 - } - if len(m.ExternalIPs) > 0 { - for iNdEx := len(m.ExternalIPs) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.ExternalIPs[iNdEx]) - copy(dAtA[i:], m.ExternalIPs[iNdEx]) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ExternalIPs[iNdEx]))) - i-- - dAtA[i] = 0x2a - } - } - if len(m.Type) > 0 { - i -= len(m.Type) - copy(dAtA[i:], m.Type) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Type))) - i-- - dAtA[i] = 0x22 - } - if len(m.ClusterIP) > 0 { - i -= len(m.ClusterIP) - copy(dAtA[i:], m.ClusterIP) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterIP))) - i-- - dAtA[i] = 0x1a - } - if len(m.Selectors) > 0 { - for iNdEx := len(m.Selectors) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Selectors[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - } - if len(m.Ports) > 0 { - for iNdEx := len(m.Ports) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Ports[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *ServiceStatus) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ServiceStatus) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ServiceStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.LoadBalancerIngress) > 0 { - for iNdEx := len(m.LoadBalancerIngress) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.LoadBalancerIngress[iNdEx]) - copy(dAtA[i:], m.LoadBalancerIngress[iNdEx]) - i = encodeVarintAgent(dAtA, i, uint64(len(m.LoadBalancerIngress[iNdEx]))) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0x8a - } - } - return len(dAtA) - i, nil -} - -func (m *Service) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *Service) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Service) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Metrics != nil { - { - size, err := m.Metrics.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x32 - } - 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 = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) - i-- - dAtA[i] = 0x2a - } - } - if len(m.Yaml) > 0 { - i -= len(m.Yaml) - copy(dAtA[i:], m.Yaml) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Yaml))) - i-- - dAtA[i] = 0x22 - } - if m.Status != nil { - { - size, err := m.Status.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - if m.Spec != nil { - { - size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - if m.Metadata != nil { - { - size, err := m.Metadata.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *DeploymentCondition) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *DeploymentCondition) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *DeploymentCondition) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.LastTransitionTime != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.LastTransitionTime)) - i-- - dAtA[i] = 0x38 - } - if m.LastUpdateTime != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.LastUpdateTime)) - i-- - dAtA[i] = 0x30 - } - if len(m.Message) > 0 { - i -= len(m.Message) - copy(dAtA[i:], m.Message) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Message))) - i-- - dAtA[i] = 0x2a - } - if len(m.Reason) > 0 { - i -= len(m.Reason) - copy(dAtA[i:], m.Reason) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Reason))) - i-- - dAtA[i] = 0x22 - } - if len(m.Status) > 0 { - i -= len(m.Status) - copy(dAtA[i:], m.Status) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Status))) - i-- - dAtA[i] = 0x12 - } - if len(m.Type) > 0 { - i -= len(m.Type) - copy(dAtA[i:], m.Type) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Type))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *Deployment) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *Deployment) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Deployment) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Conditions) > 0 { - for iNdEx := len(m.Conditions) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Conditions[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0x92 - } - } - if m.Metrics != nil { - { - size, err := m.Metrics.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0x8a - } - if len(m.ResourceRequirements) > 0 { - for iNdEx := len(m.ResourceRequirements) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.ResourceRequirements[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0x82 - } - } - 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 = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) - i-- - dAtA[i] = 0x7a - } - } - if len(m.Yaml) > 0 { - i -= len(m.Yaml) - copy(dAtA[i:], m.Yaml) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Yaml))) - i-- - dAtA[i] = 0x72 - } - if len(m.ConditionMessage) > 0 { - i -= len(m.ConditionMessage) - copy(dAtA[i:], m.ConditionMessage) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ConditionMessage))) - i-- - dAtA[i] = 0x6a - } - if m.UnavailableReplicas != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.UnavailableReplicas)) - i-- - dAtA[i] = 0x60 - } - if m.AvailableReplicas != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.AvailableReplicas)) - i-- - dAtA[i] = 0x58 - } - if m.ReadyReplicas != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.ReadyReplicas)) - i-- - dAtA[i] = 0x50 - } - if m.UpdatedReplicas != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.UpdatedReplicas)) - i-- - dAtA[i] = 0x48 - } - if m.Replicas != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Replicas)) - i-- - dAtA[i] = 0x40 - } - if len(m.Selectors) > 0 { - for iNdEx := len(m.Selectors) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Selectors[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x3a - } - } - if m.Paused { - i-- - if m.Paused { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x30 - } - if len(m.MaxSurge) > 0 { - i -= len(m.MaxSurge) - copy(dAtA[i:], m.MaxSurge) - i = encodeVarintAgent(dAtA, i, uint64(len(m.MaxSurge))) - i-- - dAtA[i] = 0x2a - } - if len(m.MaxUnavailable) > 0 { - i -= len(m.MaxUnavailable) - copy(dAtA[i:], m.MaxUnavailable) - i = encodeVarintAgent(dAtA, i, uint64(len(m.MaxUnavailable))) - i-- - dAtA[i] = 0x22 - } - if len(m.DeploymentStrategy) > 0 { - i -= len(m.DeploymentStrategy) - copy(dAtA[i:], m.DeploymentStrategy) - i = encodeVarintAgent(dAtA, i, uint64(len(m.DeploymentStrategy))) - i-- - dAtA[i] = 0x1a - } - if m.ReplicasDesired != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.ReplicasDesired)) - i-- - dAtA[i] = 0x10 - } - if m.Metadata != nil { - { - size, err := m.Metadata.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *ReplicaSetCondition) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ReplicaSetCondition) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ReplicaSetCondition) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Message) > 0 { - i -= len(m.Message) - copy(dAtA[i:], m.Message) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Message))) - i-- - dAtA[i] = 0x2a - } - if len(m.Reason) > 0 { - i -= len(m.Reason) - copy(dAtA[i:], m.Reason) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Reason))) - i-- - dAtA[i] = 0x22 - } - if m.LastTransitionTime != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.LastTransitionTime)) - i-- - dAtA[i] = 0x18 - } - if len(m.Status) > 0 { - i -= len(m.Status) - copy(dAtA[i:], m.Status) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Status))) - i-- - dAtA[i] = 0x12 - } - if len(m.Type) > 0 { - i -= len(m.Type) - copy(dAtA[i:], m.Type) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Type))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *ReplicaSet) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ReplicaSet) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ReplicaSet) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Conditions) > 0 { - for iNdEx := len(m.Conditions) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Conditions[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x62 - } - } - if m.Metrics != nil { - { - size, err := m.Metrics.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x5a - } - if len(m.ResourceRequirements) > 0 { - for iNdEx := len(m.ResourceRequirements) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.ResourceRequirements[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x52 - } - } - 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 = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) - i-- - dAtA[i] = 0x4a - } - } - if len(m.Yaml) > 0 { - i -= len(m.Yaml) - copy(dAtA[i:], m.Yaml) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Yaml))) - i-- - dAtA[i] = 0x42 - } - if m.AvailableReplicas != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.AvailableReplicas)) - i-- - dAtA[i] = 0x38 - } - if m.ReadyReplicas != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.ReadyReplicas)) - i-- - dAtA[i] = 0x30 - } - if m.FullyLabeledReplicas != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.FullyLabeledReplicas)) - i-- - dAtA[i] = 0x28 - } - if m.Replicas != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Replicas)) - i-- - dAtA[i] = 0x20 - } - if len(m.Selectors) > 0 { - for iNdEx := len(m.Selectors) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Selectors[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - } - if m.ReplicasDesired != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.ReplicasDesired)) - i-- - dAtA[i] = 0x10 - } - if m.Metadata != nil { - { - size, err := m.Metadata.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *LabelSelectorRequirement) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *LabelSelectorRequirement) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *LabelSelectorRequirement) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Values) > 0 { - for iNdEx := len(m.Values) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.Values[iNdEx]) - copy(dAtA[i:], m.Values[iNdEx]) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Values[iNdEx]))) - i-- - dAtA[i] = 0x1a - } - } - if len(m.Operator) > 0 { - i -= len(m.Operator) - copy(dAtA[i:], m.Operator) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Operator))) - i-- - dAtA[i] = 0x12 - } - if len(m.Key) > 0 { - i -= len(m.Key) - copy(dAtA[i:], m.Key) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Key))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *PodDisruptionBudget) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *PodDisruptionBudget) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *PodDisruptionBudget) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - 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 = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) - i-- - dAtA[i] = 0x22 - } - } - if m.Status != nil { - { - size, err := m.Status.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - if m.Spec != nil { - { - size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - if m.Metadata != nil { - { - size, err := m.Metadata.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *PodDisruptionBudgetSpec) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *PodDisruptionBudgetSpec) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *PodDisruptionBudgetSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.UnhealthyPodEvictionPolicy) > 0 { - i -= len(m.UnhealthyPodEvictionPolicy) - copy(dAtA[i:], m.UnhealthyPodEvictionPolicy) - i = encodeVarintAgent(dAtA, i, uint64(len(m.UnhealthyPodEvictionPolicy))) - i-- - dAtA[i] = 0x22 - } - if m.MaxUnavailable != nil { - { - size, err := m.MaxUnavailable.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - if len(m.Selector) > 0 { - for iNdEx := len(m.Selector) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Selector[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - } - if m.MinAvailable != nil { - { - size, err := m.MinAvailable.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *PodDisruptionBudgetStatus) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *PodDisruptionBudgetStatus) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *PodDisruptionBudgetStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Conditions) > 0 { - for iNdEx := len(m.Conditions) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Conditions[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x32 - } - } - if m.ExpectedPods != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.ExpectedPods)) - i-- - dAtA[i] = 0x28 - } - if m.DesiredHealthy != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.DesiredHealthy)) - i-- - dAtA[i] = 0x20 - } - if m.CurrentHealthy != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.CurrentHealthy)) - i-- - dAtA[i] = 0x18 - } - if m.DisruptionsAllowed != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.DisruptionsAllowed)) - i-- - dAtA[i] = 0x10 - } - if len(m.DisruptedPods) > 0 { - for k := range m.DisruptedPods { - v := m.DisruptedPods[k] - baseI := i - i = encodeVarintAgent(dAtA, i, uint64(v)) - i-- - dAtA[i] = 0x10 - i -= len(k) - copy(dAtA[i:], k) - i = encodeVarintAgent(dAtA, i, uint64(len(k))) - i-- - dAtA[i] = 0xa - i = encodeVarintAgent(dAtA, i, uint64(baseI-i)) - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *IntOrString) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *IntOrString) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *IntOrString) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.StrVal) > 0 { - i -= len(m.StrVal) - copy(dAtA[i:], m.StrVal) - i = encodeVarintAgent(dAtA, i, uint64(len(m.StrVal))) - i-- - dAtA[i] = 0x1a - } - if m.IntVal != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.IntVal)) - i-- - dAtA[i] = 0x10 - } - if m.Type != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Type)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *Condition) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *Condition) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Condition) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Message) > 0 { - i -= len(m.Message) - copy(dAtA[i:], m.Message) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Message))) - i-- - dAtA[i] = 0x2a - } - if len(m.Reason) > 0 { - i -= len(m.Reason) - copy(dAtA[i:], m.Reason) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Reason))) - i-- - dAtA[i] = 0x22 - } - if m.LastTransitionTime != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.LastTransitionTime)) - i-- - dAtA[i] = 0x18 - } - if len(m.Status) > 0 { - i -= len(m.Status) - copy(dAtA[i:], m.Status) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Status))) - i-- - dAtA[i] = 0x12 - } - if len(m.Type) > 0 { - i -= len(m.Type) - copy(dAtA[i:], m.Type) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Type))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *Pod) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *Pod) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Pod) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Conditions) > 0 { - for iNdEx := len(m.Conditions) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Conditions[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0xa2 - } - } - if m.ScheduledTime != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.ScheduledTime)) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0x98 - } - if m.StartTime != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.StartTime)) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0x90 - } - if m.Metrics != nil { - { - size, err := m.Metrics.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0x8a - } - if len(m.PriorityClass) > 0 { - i -= len(m.PriorityClass) - copy(dAtA[i:], m.PriorityClass) - i = encodeVarintAgent(dAtA, i, uint64(len(m.PriorityClass))) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0x82 - } - if len(m.QOSClass) > 0 { - i -= len(m.QOSClass) - copy(dAtA[i:], m.QOSClass) - i = encodeVarintAgent(dAtA, i, uint64(len(m.QOSClass))) - i-- - dAtA[i] = 0x7a - } - if len(m.InitContainerStatuses) > 0 { - for iNdEx := len(m.InitContainerStatuses) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.InitContainerStatuses[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x72 - } - } - if len(m.ResourceRequirements) > 0 { - for iNdEx := len(m.ResourceRequirements) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.ResourceRequirements[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x6a - } - } - if m.Host != nil { - { - size, err := m.Host.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x62 - } - 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 = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) - i-- - dAtA[i] = 0x5a - } - } - if len(m.Yaml) > 0 { - i -= len(m.Yaml) - copy(dAtA[i:], m.Yaml) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Yaml))) - i-- - dAtA[i] = 0x52 - } - if len(m.Status) > 0 { - i -= len(m.Status) - copy(dAtA[i:], m.Status) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Status))) - i-- - dAtA[i] = 0x4a - } - if len(m.ConditionMessage) > 0 { - i -= len(m.ConditionMessage) - copy(dAtA[i:], m.ConditionMessage) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ConditionMessage))) - i-- - dAtA[i] = 0x42 - } - if len(m.ContainerStatuses) > 0 { - for iNdEx := len(m.ContainerStatuses) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.ContainerStatuses[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x3a - } - } - if m.RestartCount != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.RestartCount)) - i-- - dAtA[i] = 0x30 - } - if len(m.Phase) > 0 { - i -= len(m.Phase) - copy(dAtA[i:], m.Phase) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Phase))) - i-- - dAtA[i] = 0x2a - } - if len(m.NodeName) > 0 { - i -= len(m.NodeName) - copy(dAtA[i:], m.NodeName) - i = encodeVarintAgent(dAtA, i, uint64(len(m.NodeName))) - i-- - dAtA[i] = 0x22 - } - if len(m.NominatedNodeName) > 0 { - i -= len(m.NominatedNodeName) - copy(dAtA[i:], m.NominatedNodeName) - i = encodeVarintAgent(dAtA, i, uint64(len(m.NominatedNodeName))) - i-- - dAtA[i] = 0x1a - } - if len(m.IP) > 0 { - i -= len(m.IP) - copy(dAtA[i:], m.IP) - i = encodeVarintAgent(dAtA, i, uint64(len(m.IP))) - i-- - dAtA[i] = 0x12 - } - if m.Metadata != nil { - { - size, err := m.Metadata.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *PodCondition) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *PodCondition) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *PodCondition) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Message) > 0 { - i -= len(m.Message) - copy(dAtA[i:], m.Message) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Message))) - i-- - dAtA[i] = 0x32 - } - if len(m.Reason) > 0 { - i -= len(m.Reason) - copy(dAtA[i:], m.Reason) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Reason))) - i-- - dAtA[i] = 0x2a - } - if m.LastTransitionTime != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.LastTransitionTime)) - i-- - dAtA[i] = 0x20 - } - if m.LastProbeTime != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.LastProbeTime)) - i-- - dAtA[i] = 0x18 - } - if len(m.Status) > 0 { - i -= len(m.Status) - copy(dAtA[i:], m.Status) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Status))) - i-- - dAtA[i] = 0x12 - } - if len(m.Type) > 0 { - i -= len(m.Type) - copy(dAtA[i:], m.Type) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Type))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *ContainerStatus) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ContainerStatus) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ContainerStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.ImageID) > 0 { - i -= len(m.ImageID) - copy(dAtA[i:], m.ImageID) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ImageID))) - i-- - dAtA[i] = 0x42 - } - if len(m.Image) > 0 { - i -= len(m.Image) - copy(dAtA[i:], m.Image) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Image))) - i-- - dAtA[i] = 0x3a - } - if len(m.Message) > 0 { - i -= len(m.Message) - copy(dAtA[i:], m.Message) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Message))) - i-- - dAtA[i] = 0x32 - } - if len(m.State) > 0 { - i -= len(m.State) - copy(dAtA[i:], m.State) - i = encodeVarintAgent(dAtA, i, uint64(len(m.State))) - i-- - dAtA[i] = 0x2a - } - if m.RestartCount != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.RestartCount)) - i-- - dAtA[i] = 0x20 - } - if m.Ready { - i-- - if m.Ready { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x18 - } - if len(m.ContainerID) > 0 { - i -= len(m.ContainerID) - copy(dAtA[i:], m.ContainerID) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ContainerID))) - i-- - dAtA[i] = 0x12 - } - if len(m.Name) > 0 { - i -= len(m.Name) - copy(dAtA[i:], m.Name) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Name))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *Manifest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *Manifest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Manifest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Version) > 0 { - i -= len(m.Version) - copy(dAtA[i:], m.Version) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Version))) - i-- - dAtA[i] = 0x32 - } - if len(m.ContentType) > 0 { - i -= len(m.ContentType) - copy(dAtA[i:], m.ContentType) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ContentType))) - i-- - dAtA[i] = 0x2a - } - if len(m.Content) > 0 { - i -= len(m.Content) - copy(dAtA[i:], m.Content) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Content))) - i-- - dAtA[i] = 0x22 - } - if len(m.Uid) > 0 { - i -= len(m.Uid) - copy(dAtA[i:], m.Uid) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Uid))) - i-- - dAtA[i] = 0x1a - } - if len(m.ResourceVersion) > 0 { - i -= len(m.ResourceVersion) - copy(dAtA[i:], m.ResourceVersion) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ResourceVersion))) - i-- - dAtA[i] = 0x12 - } - if m.Type != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Type)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *NamespaceCondition) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *NamespaceCondition) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *NamespaceCondition) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Message) > 0 { - i -= len(m.Message) - copy(dAtA[i:], m.Message) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Message))) - i-- - dAtA[i] = 0x2a - } - if len(m.Reason) > 0 { - i -= len(m.Reason) - copy(dAtA[i:], m.Reason) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Reason))) - i-- - dAtA[i] = 0x22 - } - if m.LastTransitionTime != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.LastTransitionTime)) - i-- - dAtA[i] = 0x18 - } - if len(m.Status) > 0 { - i -= len(m.Status) - copy(dAtA[i:], m.Status) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Status))) - i-- - dAtA[i] = 0x12 - } - if len(m.Type) > 0 { - i -= len(m.Type) - copy(dAtA[i:], m.Type) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Type))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *Namespace) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *Namespace) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Namespace) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Conditions) > 0 { - for iNdEx := len(m.Conditions) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Conditions[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x32 - } - } - 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 = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) - i-- - dAtA[i] = 0x2a - } - } - if len(m.Yaml) > 0 { - i -= len(m.Yaml) - copy(dAtA[i:], m.Yaml) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Yaml))) - i-- - dAtA[i] = 0x22 - } - if len(m.ConditionMessage) > 0 { - i -= len(m.ConditionMessage) - copy(dAtA[i:], m.ConditionMessage) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ConditionMessage))) - i-- - dAtA[i] = 0x1a - } - if len(m.Status) > 0 { - i -= len(m.Status) - copy(dAtA[i:], m.Status) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Status))) - i-- - dAtA[i] = 0x12 - } - if m.Metadata != nil { - { - size, err := m.Metadata.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *ResourceRequirements) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ResourceRequirements) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ResourceRequirements) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Type != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Type)) - i-- - dAtA[i] = 0x20 - } - if len(m.Name) > 0 { - i -= len(m.Name) - copy(dAtA[i:], m.Name) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Name))) - i-- - dAtA[i] = 0x1a - } - if len(m.Requests) > 0 { - for k := range m.Requests { - v := m.Requests[k] - baseI := i - i = encodeVarintAgent(dAtA, i, uint64(v)) - i-- - dAtA[i] = 0x10 - i -= len(k) - copy(dAtA[i:], k) - i = encodeVarintAgent(dAtA, i, uint64(len(k))) - i-- - dAtA[i] = 0xa - i = encodeVarintAgent(dAtA, i, uint64(baseI-i)) - i-- - dAtA[i] = 0x12 - } - } - if len(m.Limits) > 0 { - for k := range m.Limits { - v := m.Limits[k] - baseI := i - i = encodeVarintAgent(dAtA, i, uint64(v)) - i-- - dAtA[i] = 0x10 - i -= len(k) - copy(dAtA[i:], k) - i = encodeVarintAgent(dAtA, i, uint64(len(k))) - i-- - dAtA[i] = 0xa - i = encodeVarintAgent(dAtA, i, uint64(baseI-i)) - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *ResourceMetrics) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ResourceMetrics) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ResourceMetrics) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.MetricValues) > 0 { - for k := range m.MetricValues { - v := m.MetricValues[k] - baseI := i - i -= 8 - encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(v)))) - i-- - dAtA[i] = 0x11 - i -= len(k) - copy(dAtA[i:], k) - i = encodeVarintAgent(dAtA, i, uint64(len(k))) - i-- - dAtA[i] = 0xa - i = encodeVarintAgent(dAtA, i, uint64(baseI-i)) - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *JobSpec) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *JobSpec) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *JobSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.ResourceRequirements) > 0 { - for iNdEx := len(m.ResourceRequirements) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.ResourceRequirements[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x3a - } - } - if m.ManualSelector { - i-- - if m.ManualSelector { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x30 - } - if len(m.Selectors) > 0 { - for iNdEx := len(m.Selectors) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Selectors[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x2a - } - } - if m.BackoffLimit != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.BackoffLimit)) - i-- - dAtA[i] = 0x20 - } - if m.ActiveDeadlineSeconds != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.ActiveDeadlineSeconds)) - i-- - dAtA[i] = 0x18 - } - if m.Completions != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Completions)) - i-- - dAtA[i] = 0x10 - } - if m.Parallelism != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Parallelism)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *JobStatus) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *JobStatus) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *JobStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Failed != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Failed)) - i-- - dAtA[i] = 0x30 - } - if m.Succeeded != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Succeeded)) - i-- - dAtA[i] = 0x28 - } - if m.Active != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Active)) - i-- - dAtA[i] = 0x20 - } - if m.CompletionTime != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.CompletionTime)) - i-- - dAtA[i] = 0x18 - } - if m.StartTime != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.StartTime)) - i-- - dAtA[i] = 0x10 - } - if len(m.ConditionMessage) > 0 { - i -= len(m.ConditionMessage) - copy(dAtA[i:], m.ConditionMessage) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ConditionMessage))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *JobCondition) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *JobCondition) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *JobCondition) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Message) > 0 { - i -= len(m.Message) - copy(dAtA[i:], m.Message) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Message))) - i-- - dAtA[i] = 0x32 - } - if len(m.Reason) > 0 { - i -= len(m.Reason) - copy(dAtA[i:], m.Reason) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Reason))) - i-- - dAtA[i] = 0x2a - } - if m.LastTransitionTime != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.LastTransitionTime)) - i-- - dAtA[i] = 0x20 - } - if m.LastProbeTime != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.LastProbeTime)) - i-- - dAtA[i] = 0x18 - } - if len(m.Status) > 0 { - i -= len(m.Status) - copy(dAtA[i:], m.Status) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Status))) - i-- - dAtA[i] = 0x12 - } - if len(m.Type) > 0 { - i -= len(m.Type) - copy(dAtA[i:], m.Type) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Type))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *Job) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *Job) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Job) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Conditions) > 0 { - for iNdEx := len(m.Conditions) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Conditions[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x32 - } - } - 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 = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) - i-- - dAtA[i] = 0x2a - } - } - if len(m.Yaml) > 0 { - i -= len(m.Yaml) - copy(dAtA[i:], m.Yaml) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Yaml))) - i-- - dAtA[i] = 0x22 - } - if m.Status != nil { - { - size, err := m.Status.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - if m.Spec != nil { - { - size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - if m.Metadata != nil { - { - size, err := m.Metadata.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *CronJobSpec) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *CronJobSpec) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *CronJobSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.ResourceRequirements) > 0 { - for iNdEx := len(m.ResourceRequirements) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.ResourceRequirements[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x3a - } - } - if m.FailedJobsHistoryLimit != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.FailedJobsHistoryLimit)) - i-- - dAtA[i] = 0x30 - } - if m.SuccessfulJobsHistoryLimit != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.SuccessfulJobsHistoryLimit)) - i-- - dAtA[i] = 0x28 - } - if m.Suspend { - i-- - if m.Suspend { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x20 - } - if len(m.ConcurrencyPolicy) > 0 { - i -= len(m.ConcurrencyPolicy) - copy(dAtA[i:], m.ConcurrencyPolicy) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ConcurrencyPolicy))) - i-- - dAtA[i] = 0x1a - } - if m.StartingDeadlineSeconds != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.StartingDeadlineSeconds)) - i-- - dAtA[i] = 0x10 - } - if len(m.Schedule) > 0 { - i -= len(m.Schedule) - copy(dAtA[i:], m.Schedule) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Schedule))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *CronJobStatus) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *CronJobStatus) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *CronJobStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.LastSuccessfulTime != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.LastSuccessfulTime)) - i-- - dAtA[i] = 0x18 - } - if m.LastScheduleTime != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.LastScheduleTime)) - i-- - dAtA[i] = 0x10 - } - if len(m.Active) > 0 { - for iNdEx := len(m.Active) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Active[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *CronJob) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *CronJob) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *CronJob) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - 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 = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) - i-- - dAtA[i] = 0x2a - } - } - if len(m.Yaml) > 0 { - i -= len(m.Yaml) - copy(dAtA[i:], m.Yaml) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Yaml))) - i-- - dAtA[i] = 0x22 - } - if m.Status != nil { - { - size, err := m.Status.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - if m.Spec != nil { - { - size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - if m.Metadata != nil { - { - size, err := m.Metadata.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *DaemonSetSpec) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *DaemonSetSpec) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *DaemonSetSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.ResourceRequirements) > 0 { - for iNdEx := len(m.ResourceRequirements) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.ResourceRequirements[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x32 - } - } - if m.RevisionHistoryLimit != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.RevisionHistoryLimit)) - i-- - dAtA[i] = 0x28 - } - if m.MinReadySeconds != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.MinReadySeconds)) - i-- - dAtA[i] = 0x20 - } - if len(m.MaxUnavailable) > 0 { - i -= len(m.MaxUnavailable) - copy(dAtA[i:], m.MaxUnavailable) - i = encodeVarintAgent(dAtA, i, uint64(len(m.MaxUnavailable))) - i-- - dAtA[i] = 0x1a - } - if len(m.DeploymentStrategy) > 0 { - i -= len(m.DeploymentStrategy) - copy(dAtA[i:], m.DeploymentStrategy) - i = encodeVarintAgent(dAtA, i, uint64(len(m.DeploymentStrategy))) - i-- - dAtA[i] = 0x12 - } - if len(m.Selectors) > 0 { - for iNdEx := len(m.Selectors) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Selectors[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *DaemonSetStatus) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *DaemonSetStatus) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *DaemonSetStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.NumberUnavailable != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.NumberUnavailable)) - i-- - dAtA[i] = 0x40 - } - if m.NumberAvailable != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.NumberAvailable)) - i-- - dAtA[i] = 0x38 - } - if m.UpdatedNumberScheduled != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.UpdatedNumberScheduled)) - i-- - dAtA[i] = 0x30 - } - if m.NumberReady != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.NumberReady)) - i-- - dAtA[i] = 0x20 - } - if m.DesiredNumberScheduled != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.DesiredNumberScheduled)) - i-- - dAtA[i] = 0x18 - } - if m.NumberMisscheduled != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.NumberMisscheduled)) - i-- - dAtA[i] = 0x10 - } - if m.CurrentNumberScheduled != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.CurrentNumberScheduled)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *DaemonSetCondition) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *DaemonSetCondition) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *DaemonSetCondition) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Message) > 0 { - i -= len(m.Message) - copy(dAtA[i:], m.Message) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Message))) - i-- - dAtA[i] = 0x2a - } - if len(m.Reason) > 0 { - i -= len(m.Reason) - copy(dAtA[i:], m.Reason) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Reason))) - i-- - dAtA[i] = 0x22 - } - if m.LastTransitionTime != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.LastTransitionTime)) - i-- - dAtA[i] = 0x18 - } - if len(m.Status) > 0 { - i -= len(m.Status) - copy(dAtA[i:], m.Status) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Status))) - i-- - dAtA[i] = 0x12 - } - if len(m.Type) > 0 { - i -= len(m.Type) - copy(dAtA[i:], m.Type) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Type))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *DaemonSet) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *DaemonSet) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *DaemonSet) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Conditions) > 0 { - for iNdEx := len(m.Conditions) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Conditions[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x3a - } - } - if m.Metrics != nil { - { - size, err := m.Metrics.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x32 - } - 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 = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) - i-- - dAtA[i] = 0x2a - } - } - if len(m.Yaml) > 0 { - i -= len(m.Yaml) - copy(dAtA[i:], m.Yaml) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Yaml))) - i-- - dAtA[i] = 0x22 - } - if m.Status != nil { - { - size, err := m.Status.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - if m.Spec != nil { - { - size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - if m.Metadata != nil { - { - size, err := m.Metadata.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *StatefulSetSpec) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *StatefulSetSpec) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *StatefulSetSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.ResourceRequirements) > 0 { - for iNdEx := len(m.ResourceRequirements) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.ResourceRequirements[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x3a - } - } - if m.Partition != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Partition)) - i-- - dAtA[i] = 0x30 - } - if len(m.UpdateStrategy) > 0 { - i -= len(m.UpdateStrategy) - copy(dAtA[i:], m.UpdateStrategy) - i = encodeVarintAgent(dAtA, i, uint64(len(m.UpdateStrategy))) - i-- - dAtA[i] = 0x2a - } - if len(m.PodManagementPolicy) > 0 { - i -= len(m.PodManagementPolicy) - copy(dAtA[i:], m.PodManagementPolicy) - i = encodeVarintAgent(dAtA, i, uint64(len(m.PodManagementPolicy))) - i-- - dAtA[i] = 0x22 - } - if len(m.ServiceName) > 0 { - i -= len(m.ServiceName) - copy(dAtA[i:], m.ServiceName) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ServiceName))) - i-- - dAtA[i] = 0x1a - } - if len(m.Selectors) > 0 { - for iNdEx := len(m.Selectors) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Selectors[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - } - if m.DesiredReplicas != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.DesiredReplicas)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *StatefulSetStatus) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *StatefulSetStatus) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *StatefulSetStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.UpdatedReplicas != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.UpdatedReplicas)) - i-- - dAtA[i] = 0x20 - } - if m.CurrentReplicas != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.CurrentReplicas)) - i-- - dAtA[i] = 0x18 - } - if m.ReadyReplicas != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.ReadyReplicas)) - i-- - dAtA[i] = 0x10 - } - if m.Replicas != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Replicas)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *StatefulSetCondition) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *StatefulSetCondition) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *StatefulSetCondition) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Message) > 0 { - i -= len(m.Message) - copy(dAtA[i:], m.Message) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Message))) - i-- - dAtA[i] = 0x2a - } - if len(m.Reason) > 0 { - i -= len(m.Reason) - copy(dAtA[i:], m.Reason) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Reason))) - i-- - dAtA[i] = 0x22 - } - if m.LastTransitionTime != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.LastTransitionTime)) - i-- - dAtA[i] = 0x18 - } - if len(m.Status) > 0 { - i -= len(m.Status) - copy(dAtA[i:], m.Status) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Status))) - i-- - dAtA[i] = 0x12 - } - if len(m.Type) > 0 { - i -= len(m.Type) - copy(dAtA[i:], m.Type) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Type))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *StatefulSet) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *StatefulSet) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *StatefulSet) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Conditions) > 0 { - for iNdEx := len(m.Conditions) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Conditions[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x3a - } - } - if m.Metrics != nil { - { - size, err := m.Metrics.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x32 - } - 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 = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) - i-- - dAtA[i] = 0x2a - } - } - if len(m.Yaml) > 0 { - i -= len(m.Yaml) - copy(dAtA[i:], m.Yaml) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Yaml))) - i-- - dAtA[i] = 0x22 - } - if m.Status != nil { - { - size, err := m.Status.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - if m.Spec != nil { - { - size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - if m.Metadata != nil { - { - size, err := m.Metadata.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *PersistentVolume) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *PersistentVolume) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *PersistentVolume) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - 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 = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) - i-- - dAtA[i] = 0x2a - } - } - if len(m.Yaml) > 0 { - i -= len(m.Yaml) - copy(dAtA[i:], m.Yaml) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Yaml))) - i-- - dAtA[i] = 0x22 - } - if m.Status != nil { - { - size, err := m.Status.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - if m.Spec != nil { - { - size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - if m.Metadata != nil { - { - size, err := m.Metadata.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *PersistentVolumeSpec) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *PersistentVolumeSpec) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *PersistentVolumeSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.PersistentVolumeSource != nil { - { - size, err := m.PersistentVolumeSource.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x52 - } - if len(m.NodeAffinity) > 0 { - for iNdEx := len(m.NodeAffinity) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.NodeAffinity[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x4a - } - } - if len(m.VolumeMode) > 0 { - i -= len(m.VolumeMode) - copy(dAtA[i:], m.VolumeMode) - i = encodeVarintAgent(dAtA, i, uint64(len(m.VolumeMode))) - i-- - dAtA[i] = 0x42 - } - if len(m.MountOptions) > 0 { - for iNdEx := len(m.MountOptions) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.MountOptions[iNdEx]) - copy(dAtA[i:], m.MountOptions[iNdEx]) - i = encodeVarintAgent(dAtA, i, uint64(len(m.MountOptions[iNdEx]))) - i-- - dAtA[i] = 0x3a - } - } - if len(m.StorageClassName) > 0 { - i -= len(m.StorageClassName) - copy(dAtA[i:], m.StorageClassName) - i = encodeVarintAgent(dAtA, i, uint64(len(m.StorageClassName))) - i-- - dAtA[i] = 0x32 - } - if len(m.PersistentVolumeReclaimPolicy) > 0 { - i -= len(m.PersistentVolumeReclaimPolicy) - copy(dAtA[i:], m.PersistentVolumeReclaimPolicy) - i = encodeVarintAgent(dAtA, i, uint64(len(m.PersistentVolumeReclaimPolicy))) - i-- - dAtA[i] = 0x2a - } - if m.ClaimRef != nil { - { - size, err := m.ClaimRef.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x22 - } - if len(m.AccessModes) > 0 { - for iNdEx := len(m.AccessModes) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.AccessModes[iNdEx]) - copy(dAtA[i:], m.AccessModes[iNdEx]) - i = encodeVarintAgent(dAtA, i, uint64(len(m.AccessModes[iNdEx]))) - i-- - dAtA[i] = 0x1a - } - } - if len(m.PersistentVolumeType) > 0 { - i -= len(m.PersistentVolumeType) - copy(dAtA[i:], m.PersistentVolumeType) - i = encodeVarintAgent(dAtA, i, uint64(len(m.PersistentVolumeType))) - i-- - dAtA[i] = 0x12 - } - if len(m.Capacity) > 0 { - for k := range m.Capacity { - v := m.Capacity[k] - baseI := i - i = encodeVarintAgent(dAtA, i, uint64(v)) - i-- - dAtA[i] = 0x10 - i -= len(k) - copy(dAtA[i:], k) - i = encodeVarintAgent(dAtA, i, uint64(len(k))) - i-- - dAtA[i] = 0xa - i = encodeVarintAgent(dAtA, i, uint64(baseI-i)) - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *PersistentVolumeSource) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *PersistentVolumeSource) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *PersistentVolumeSource) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Csi != nil { - { - size, err := m.Csi.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x2a - } - if m.AzureDisk != nil { - { - size, err := m.AzureDisk.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x22 - } - if m.AzureFile != nil { - { - size, err := m.AzureFile.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - if m.AwsElasticBlockStore != nil { - { - size, err := m.AwsElasticBlockStore.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - if m.GcePersistentDisk != nil { - { - size, err := m.GcePersistentDisk.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *GCEPersistentDiskVolumeSource) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GCEPersistentDiskVolumeSource) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GCEPersistentDiskVolumeSource) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.ReadOnly { - i-- - if m.ReadOnly { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x20 - } - if m.Partition != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Partition)) - i-- - dAtA[i] = 0x18 - } - if len(m.FsType) > 0 { - i -= len(m.FsType) - copy(dAtA[i:], m.FsType) - i = encodeVarintAgent(dAtA, i, uint64(len(m.FsType))) - i-- - dAtA[i] = 0x12 - } - if len(m.PdName) > 0 { - i -= len(m.PdName) - copy(dAtA[i:], m.PdName) - i = encodeVarintAgent(dAtA, i, uint64(len(m.PdName))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *AWSElasticBlockStoreVolumeSource) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *AWSElasticBlockStoreVolumeSource) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *AWSElasticBlockStoreVolumeSource) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.ReadOnly { - i-- - if m.ReadOnly { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x20 - } - if m.Partition != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Partition)) - i-- - dAtA[i] = 0x18 - } - if len(m.FsType) > 0 { - i -= len(m.FsType) - copy(dAtA[i:], m.FsType) - i = encodeVarintAgent(dAtA, i, uint64(len(m.FsType))) - i-- - dAtA[i] = 0x12 - } - if len(m.VolumeID) > 0 { - i -= len(m.VolumeID) - copy(dAtA[i:], m.VolumeID) - i = encodeVarintAgent(dAtA, i, uint64(len(m.VolumeID))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *AzureFilePersistentVolumeSource) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *AzureFilePersistentVolumeSource) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *AzureFilePersistentVolumeSource) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.SecretNamespace) > 0 { - i -= len(m.SecretNamespace) - copy(dAtA[i:], m.SecretNamespace) - i = encodeVarintAgent(dAtA, i, uint64(len(m.SecretNamespace))) - i-- - dAtA[i] = 0x22 - } - if m.ReadOnly { - i-- - if m.ReadOnly { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x18 - } - if len(m.ShareName) > 0 { - i -= len(m.ShareName) - copy(dAtA[i:], m.ShareName) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ShareName))) - i-- - dAtA[i] = 0x12 - } - if len(m.SecretName) > 0 { - i -= len(m.SecretName) - copy(dAtA[i:], m.SecretName) - i = encodeVarintAgent(dAtA, i, uint64(len(m.SecretName))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *AzureDiskVolumeSource) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *AzureDiskVolumeSource) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *AzureDiskVolumeSource) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Kind) > 0 { - i -= len(m.Kind) - copy(dAtA[i:], m.Kind) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Kind))) - i-- - dAtA[i] = 0x32 - } - if m.ReadOnly { - i-- - if m.ReadOnly { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x28 - } - if len(m.FsType) > 0 { - i -= len(m.FsType) - copy(dAtA[i:], m.FsType) - i = encodeVarintAgent(dAtA, i, uint64(len(m.FsType))) - i-- - dAtA[i] = 0x22 - } - if len(m.CachingMode) > 0 { - i -= len(m.CachingMode) - copy(dAtA[i:], m.CachingMode) - i = encodeVarintAgent(dAtA, i, uint64(len(m.CachingMode))) - i-- - dAtA[i] = 0x1a - } - if len(m.DiskURI) > 0 { - i -= len(m.DiskURI) - copy(dAtA[i:], m.DiskURI) - i = encodeVarintAgent(dAtA, i, uint64(len(m.DiskURI))) - i-- - dAtA[i] = 0x12 - } - if len(m.DiskName) > 0 { - i -= len(m.DiskName) - copy(dAtA[i:], m.DiskName) - i = encodeVarintAgent(dAtA, i, uint64(len(m.DiskName))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *CSIVolumeSource) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *CSIVolumeSource) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *CSIVolumeSource) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.NodeExpandSecretRef != nil { - { - size, err := m.NodeExpandSecretRef.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x52 - } - if m.ControllerExpandSecretRef != nil { - { - size, err := m.ControllerExpandSecretRef.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x4a - } - if m.NodePublishSecretRef != nil { - { - size, err := m.NodePublishSecretRef.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x42 - } - if m.NodeStageSecretRef != nil { - { - size, err := m.NodeStageSecretRef.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x3a - } - if m.ControllerPublishSecretRef != nil { - { - size, err := m.ControllerPublishSecretRef.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x32 - } - if len(m.VolumeAttributes) > 0 { - for k := range m.VolumeAttributes { - v := m.VolumeAttributes[k] - baseI := i - i -= len(v) - copy(dAtA[i:], v) - i = encodeVarintAgent(dAtA, i, uint64(len(v))) - i-- - dAtA[i] = 0x12 - i -= len(k) - copy(dAtA[i:], k) - i = encodeVarintAgent(dAtA, i, uint64(len(k))) - i-- - dAtA[i] = 0xa - i = encodeVarintAgent(dAtA, i, uint64(baseI-i)) - i-- - dAtA[i] = 0x2a - } - } - if len(m.FsType) > 0 { - i -= len(m.FsType) - copy(dAtA[i:], m.FsType) - i = encodeVarintAgent(dAtA, i, uint64(len(m.FsType))) - i-- - dAtA[i] = 0x22 - } - if m.ReadOnly { - i-- - if m.ReadOnly { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x18 - } - if len(m.VolumeHandle) > 0 { - i -= len(m.VolumeHandle) - copy(dAtA[i:], m.VolumeHandle) - i = encodeVarintAgent(dAtA, i, uint64(len(m.VolumeHandle))) - i-- - dAtA[i] = 0x12 - } - if len(m.Driver) > 0 { - i -= len(m.Driver) - copy(dAtA[i:], m.Driver) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Driver))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *SecretReference) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *SecretReference) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *SecretReference) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Namespace) > 0 { - i -= len(m.Namespace) - copy(dAtA[i:], m.Namespace) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Namespace))) - i-- - dAtA[i] = 0x12 - } - if len(m.Name) > 0 { - i -= len(m.Name) - copy(dAtA[i:], m.Name) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Name))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *PersistentVolumeStatus) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *PersistentVolumeStatus) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *PersistentVolumeStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Reason) > 0 { - i -= len(m.Reason) - copy(dAtA[i:], m.Reason) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Reason))) - i-- - dAtA[i] = 0x1a - } - if len(m.Message) > 0 { - i -= len(m.Message) - copy(dAtA[i:], m.Message) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Message))) - i-- - dAtA[i] = 0x12 - } - if len(m.Phase) > 0 { - i -= len(m.Phase) - copy(dAtA[i:], m.Phase) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Phase))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *NodeSelectorTerm) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *NodeSelectorTerm) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *NodeSelectorTerm) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.MatchFields) > 0 { - for iNdEx := len(m.MatchFields) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.MatchFields[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - } - if len(m.MatchExpressions) > 0 { - for iNdEx := len(m.MatchExpressions) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.MatchExpressions[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *PersistentVolumeClaim) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *PersistentVolumeClaim) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *PersistentVolumeClaim) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - 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 = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) - i-- - dAtA[i] = 0x2a - } - } - if len(m.Yaml) > 0 { - i -= len(m.Yaml) - copy(dAtA[i:], m.Yaml) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Yaml))) - i-- - dAtA[i] = 0x22 - } - if m.Status != nil { - { - size, err := m.Status.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - if m.Spec != nil { - { - size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - if m.Metadata != nil { - { - size, err := m.Metadata.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *PersistentVolumeClaimStatus) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *PersistentVolumeClaimStatus) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *PersistentVolumeClaimStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Conditions) > 0 { - for iNdEx := len(m.Conditions) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Conditions[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x22 - } - } - if len(m.Capacity) > 0 { - for k := range m.Capacity { - v := m.Capacity[k] - baseI := i - i = encodeVarintAgent(dAtA, i, uint64(v)) - i-- - dAtA[i] = 0x10 - i -= len(k) - copy(dAtA[i:], k) - i = encodeVarintAgent(dAtA, i, uint64(len(k))) - i-- - dAtA[i] = 0xa - i = encodeVarintAgent(dAtA, i, uint64(baseI-i)) - i-- - dAtA[i] = 0x1a - } - } - if len(m.AccessModes) > 0 { - for iNdEx := len(m.AccessModes) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.AccessModes[iNdEx]) - copy(dAtA[i:], m.AccessModes[iNdEx]) - i = encodeVarintAgent(dAtA, i, uint64(len(m.AccessModes[iNdEx]))) - i-- - dAtA[i] = 0x12 - } - } - if len(m.Phase) > 0 { - i -= len(m.Phase) - copy(dAtA[i:], m.Phase) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Phase))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *PersistentVolumeClaimSpec) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *PersistentVolumeClaimSpec) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *PersistentVolumeClaimSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.DataSource != nil { - { - size, err := m.DataSource.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x3a - } - if len(m.VolumeMode) > 0 { - i -= len(m.VolumeMode) - copy(dAtA[i:], m.VolumeMode) - i = encodeVarintAgent(dAtA, i, uint64(len(m.VolumeMode))) - i-- - dAtA[i] = 0x32 - } - if len(m.StorageClassName) > 0 { - i -= len(m.StorageClassName) - copy(dAtA[i:], m.StorageClassName) - i = encodeVarintAgent(dAtA, i, uint64(len(m.StorageClassName))) - i-- - dAtA[i] = 0x2a - } - if len(m.Selector) > 0 { - for iNdEx := len(m.Selector) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Selector[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x22 - } - } - if len(m.VolumeName) > 0 { - i -= len(m.VolumeName) - copy(dAtA[i:], m.VolumeName) - i = encodeVarintAgent(dAtA, i, uint64(len(m.VolumeName))) - i-- - dAtA[i] = 0x1a - } - if m.Resources != nil { - { - size, err := m.Resources.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - if len(m.AccessModes) > 0 { - for iNdEx := len(m.AccessModes) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.AccessModes[iNdEx]) - copy(dAtA[i:], m.AccessModes[iNdEx]) - i = encodeVarintAgent(dAtA, i, uint64(len(m.AccessModes[iNdEx]))) - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *TypedLocalObjectReference) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *TypedLocalObjectReference) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *TypedLocalObjectReference) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Name) > 0 { - i -= len(m.Name) - copy(dAtA[i:], m.Name) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Name))) - i-- - dAtA[i] = 0x1a - } - if len(m.Kind) > 0 { - i -= len(m.Kind) - copy(dAtA[i:], m.Kind) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Kind))) - i-- - dAtA[i] = 0x12 - } - if len(m.ApiGroup) > 0 { - i -= len(m.ApiGroup) - copy(dAtA[i:], m.ApiGroup) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ApiGroup))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *PersistentVolumeClaimCondition) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *PersistentVolumeClaimCondition) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *PersistentVolumeClaimCondition) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Message) > 0 { - i -= len(m.Message) - copy(dAtA[i:], m.Message) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Message))) - i-- - dAtA[i] = 0x32 - } - if len(m.Reason) > 0 { - i -= len(m.Reason) - copy(dAtA[i:], m.Reason) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Reason))) - i-- - dAtA[i] = 0x2a - } - if m.LastTransitionTime != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.LastTransitionTime)) - i-- - dAtA[i] = 0x20 - } - if m.LastProbeTime != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.LastProbeTime)) - i-- - dAtA[i] = 0x18 - } - if len(m.Status) > 0 { - i -= len(m.Status) - copy(dAtA[i:], m.Status) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Status))) - i-- - dAtA[i] = 0x12 - } - if len(m.Type) > 0 { - i -= len(m.Type) - copy(dAtA[i:], m.Type) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Type))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *PolicyRule) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *PolicyRule) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *PolicyRule) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.NonResourceURLs) > 0 { - for iNdEx := len(m.NonResourceURLs) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.NonResourceURLs[iNdEx]) - copy(dAtA[i:], m.NonResourceURLs[iNdEx]) - i = encodeVarintAgent(dAtA, i, uint64(len(m.NonResourceURLs[iNdEx]))) - i-- - dAtA[i] = 0x2a - } - } - if len(m.ResourceNames) > 0 { - for iNdEx := len(m.ResourceNames) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.ResourceNames[iNdEx]) - copy(dAtA[i:], m.ResourceNames[iNdEx]) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ResourceNames[iNdEx]))) - i-- - dAtA[i] = 0x22 - } - } - if len(m.Resources) > 0 { - for iNdEx := len(m.Resources) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.Resources[iNdEx]) - copy(dAtA[i:], m.Resources[iNdEx]) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Resources[iNdEx]))) - i-- - dAtA[i] = 0x1a - } - } - if len(m.ApiGroups) > 0 { - for iNdEx := len(m.ApiGroups) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.ApiGroups[iNdEx]) - copy(dAtA[i:], m.ApiGroups[iNdEx]) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ApiGroups[iNdEx]))) - i-- - dAtA[i] = 0x12 - } - } - if len(m.Verbs) > 0 { - for iNdEx := len(m.Verbs) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.Verbs[iNdEx]) - copy(dAtA[i:], m.Verbs[iNdEx]) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Verbs[iNdEx]))) - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *Subject) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *Subject) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Subject) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Namespace) > 0 { - i -= len(m.Namespace) - copy(dAtA[i:], m.Namespace) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Namespace))) - i-- - dAtA[i] = 0x22 - } - if len(m.Name) > 0 { - i -= len(m.Name) - copy(dAtA[i:], m.Name) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Name))) - i-- - dAtA[i] = 0x1a - } - if len(m.ApiGroup) > 0 { - i -= len(m.ApiGroup) - copy(dAtA[i:], m.ApiGroup) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ApiGroup))) - i-- - dAtA[i] = 0x12 - } - if len(m.Kind) > 0 { - i -= len(m.Kind) - copy(dAtA[i:], m.Kind) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Kind))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *Role) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *Role) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Role) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - 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 = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) - i-- - dAtA[i] = 0x22 - } - } - if len(m.Yaml) > 0 { - i -= len(m.Yaml) - copy(dAtA[i:], m.Yaml) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Yaml))) - i-- - dAtA[i] = 0x1a - } - if len(m.Rules) > 0 { - for iNdEx := len(m.Rules) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Rules[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - } - if m.Metadata != nil { - { - size, err := m.Metadata.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *RoleBinding) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *RoleBinding) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *RoleBinding) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - 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 = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) - i-- - dAtA[i] = 0x2a - } - } - if len(m.Yaml) > 0 { - i -= len(m.Yaml) - copy(dAtA[i:], m.Yaml) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Yaml))) - i-- - dAtA[i] = 0x22 - } - if m.RoleRef != nil { - { - size, err := m.RoleRef.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - if len(m.Subjects) > 0 { - for iNdEx := len(m.Subjects) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Subjects[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - } - if m.Metadata != nil { - { - size, err := m.Metadata.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *ClusterRole) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ClusterRole) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ClusterRole) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Metrics != nil { - { - size, err := m.Metrics.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x32 - } - 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 = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) - i-- - dAtA[i] = 0x2a - } - } - if len(m.Yaml) > 0 { - i -= len(m.Yaml) - copy(dAtA[i:], m.Yaml) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Yaml))) - i-- - dAtA[i] = 0x22 - } - if len(m.AggregationRules) > 0 { - for iNdEx := len(m.AggregationRules) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.AggregationRules[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - } - if len(m.Rules) > 0 { - for iNdEx := len(m.Rules) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Rules[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - } - if m.Metadata != nil { - { - size, err := m.Metadata.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *ClusterRoleBinding) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ClusterRoleBinding) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ClusterRoleBinding) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - 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 = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) - i-- - dAtA[i] = 0x2a - } - } - if len(m.Yaml) > 0 { - i -= len(m.Yaml) - copy(dAtA[i:], m.Yaml) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Yaml))) - i-- - dAtA[i] = 0x22 - } - if m.RoleRef != nil { - { - size, err := m.RoleRef.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - if len(m.Subjects) > 0 { - for iNdEx := len(m.Subjects) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Subjects[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - } - if m.Metadata != nil { - { - size, err := m.Metadata.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *ServiceAccount) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ServiceAccount) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ServiceAccount) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - 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 = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) - i-- - dAtA[i] = 0x32 - } - } - if len(m.Yaml) > 0 { - i -= len(m.Yaml) - copy(dAtA[i:], m.Yaml) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Yaml))) - i-- - dAtA[i] = 0x2a - } - if m.AutomountServiceAccountToken { - i-- - if m.AutomountServiceAccountToken { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x20 - } - if len(m.ImagePullSecrets) > 0 { - for iNdEx := len(m.ImagePullSecrets) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.ImagePullSecrets[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - } - if len(m.Secrets) > 0 { - for iNdEx := len(m.Secrets) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Secrets[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - } - if m.Metadata != nil { - { - size, err := m.Metadata.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *IngressServiceBackend) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *IngressServiceBackend) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *IngressServiceBackend) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.PortNumber != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.PortNumber)) - i-- - dAtA[i] = 0x18 - } - if len(m.PortName) > 0 { - i -= len(m.PortName) - copy(dAtA[i:], m.PortName) - i = encodeVarintAgent(dAtA, i, uint64(len(m.PortName))) - i-- - dAtA[i] = 0x12 - } - if len(m.ServiceName) > 0 { - i -= len(m.ServiceName) - copy(dAtA[i:], m.ServiceName) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ServiceName))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *IngressBackend) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *IngressBackend) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *IngressBackend) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Resource != nil { - { - size, err := m.Resource.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - if m.Service != nil { - { - size, err := m.Service.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *IngressTLS) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *IngressTLS) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *IngressTLS) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.SecretName) > 0 { - i -= len(m.SecretName) - copy(dAtA[i:], m.SecretName) - i = encodeVarintAgent(dAtA, i, uint64(len(m.SecretName))) - i-- - dAtA[i] = 0x12 - } - if len(m.Hosts) > 0 { - for iNdEx := len(m.Hosts) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.Hosts[iNdEx]) - copy(dAtA[i:], m.Hosts[iNdEx]) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Hosts[iNdEx]))) - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *HTTPIngressPath) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *HTTPIngressPath) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *HTTPIngressPath) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.PathType) > 0 { - i -= len(m.PathType) - copy(dAtA[i:], m.PathType) - i = encodeVarintAgent(dAtA, i, uint64(len(m.PathType))) - i-- - dAtA[i] = 0x1a - } - if m.Backend != nil { - { - size, err := m.Backend.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - if len(m.Path) > 0 { - i -= len(m.Path) - copy(dAtA[i:], m.Path) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Path))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *IngressRule) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *IngressRule) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *IngressRule) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.HttpPaths) > 0 { - for iNdEx := len(m.HttpPaths) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.HttpPaths[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - } - if len(m.Host) > 0 { - i -= len(m.Host) - copy(dAtA[i:], m.Host) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Host))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *IngressSpec) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *IngressSpec) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *IngressSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.IngressClassName) > 0 { - i -= len(m.IngressClassName) - copy(dAtA[i:], m.IngressClassName) - i = encodeVarintAgent(dAtA, i, uint64(len(m.IngressClassName))) - i-- - dAtA[i] = 0x22 - } - if len(m.Rules) > 0 { - for iNdEx := len(m.Rules) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Rules[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - } - if len(m.Tls) > 0 { - for iNdEx := len(m.Tls) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Tls[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - } - if m.DefaultBackend != nil { - { - size, err := m.DefaultBackend.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *PortStatus) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *PortStatus) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *PortStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Error) > 0 { - i -= len(m.Error) - copy(dAtA[i:], m.Error) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Error))) - i-- - dAtA[i] = 0x1a - } - if len(m.Protocol) > 0 { - i -= len(m.Protocol) - copy(dAtA[i:], m.Protocol) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Protocol))) - i-- - dAtA[i] = 0x12 - } - if m.Port != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Port)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *LoadBalancerIngress) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *LoadBalancerIngress) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *LoadBalancerIngress) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Ports) > 0 { - for iNdEx := len(m.Ports) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Ports[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x22 - } - } - if len(m.Hostname) > 0 { - i -= len(m.Hostname) - copy(dAtA[i:], m.Hostname) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Hostname))) - i-- - dAtA[i] = 0x12 - } - if len(m.Ip) > 0 { - i -= len(m.Ip) - copy(dAtA[i:], m.Ip) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Ip))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *IngressStatus) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *IngressStatus) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *IngressStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Ingress) > 0 { - for iNdEx := len(m.Ingress) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Ingress[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *Ingress) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *Ingress) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Ingress) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - 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 = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) - i-- - dAtA[i] = 0x2a - } - } - if len(m.Yaml) > 0 { - i -= len(m.Yaml) - copy(dAtA[i:], m.Yaml) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Yaml))) - i-- - dAtA[i] = 0x22 - } - if m.Status != nil { - { - size, err := m.Status.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - if m.Spec != nil { - { - size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - if m.Metadata != nil { - { - size, err := m.Metadata.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *KafkaStats) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *KafkaStats) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *KafkaStats) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.FirstLatencySample != 0 { - i -= 8 - encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.FirstLatencySample)))) - i-- - dAtA[i] = 0x19 - } - if len(m.Latencies) > 0 { - i -= len(m.Latencies) - copy(dAtA[i:], m.Latencies) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Latencies))) - i-- - dAtA[i] = 0x12 - } - if m.Count != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Count)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *KafkaRequestHeader) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *KafkaRequestHeader) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *KafkaRequestHeader) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.RequestVersion != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.RequestVersion)) - i-- - dAtA[i] = 0x10 - } - if m.RequestType != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.RequestType)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *KafkaAggregation) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *KafkaAggregation) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *KafkaAggregation) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.StatsByErrorCode) > 0 { - for k := range m.StatsByErrorCode { - v := m.StatsByErrorCode[k] - baseI := i - if v != nil { - { - size, err := v.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - i = encodeVarintAgent(dAtA, i, uint64(k)) - i-- - dAtA[i] = 0x8 - i = encodeVarintAgent(dAtA, i, uint64(baseI-i)) - i-- - dAtA[i] = 0x22 - } - } - if m.Count != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Count)) - i-- - dAtA[i] = 0x18 - } - if len(m.Topic) > 0 { - i -= len(m.Topic) - copy(dAtA[i:], m.Topic) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Topic))) - i-- - dAtA[i] = 0x12 - } - if m.Header != nil { - { - size, err := m.Header.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *DataStreamsAggregations) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *DataStreamsAggregations) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *DataStreamsAggregations) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.KafkaAggregations) > 0 { - for iNdEx := len(m.KafkaAggregations) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.KafkaAggregations[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - } - return len(dAtA) - i, nil -} - -func (m *PostgresStats) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *PostgresStats) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *PostgresStats) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Count != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Count)) - i-- - dAtA[i] = 0x28 - } - if m.FirstLatencySample != 0 { - i -= 8 - encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.FirstLatencySample)))) - i-- - dAtA[i] = 0x21 - } - if len(m.Latencies) > 0 { - i -= len(m.Latencies) - copy(dAtA[i:], m.Latencies) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Latencies))) - i-- - dAtA[i] = 0x1a - } - if m.Operation != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Operation)) - i-- - dAtA[i] = 0x10 - } - if len(m.TableName) > 0 { - i -= len(m.TableName) - copy(dAtA[i:], m.TableName) - i = encodeVarintAgent(dAtA, i, uint64(len(m.TableName))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *RedisStats) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *RedisStats) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *RedisStats) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - return len(dAtA) - i, nil -} - -func (m *DatabaseStats) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *DatabaseStats) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *DatabaseStats) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.DbStats != nil { - { - size := m.DbStats.Size() - i -= size - if _, err := m.DbStats.MarshalTo(dAtA[i:]); err != nil { - return 0, err - } - } - } - return len(dAtA) - i, nil -} - -func (m *DatabaseStats_Postgres) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *DatabaseStats_Postgres) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - if m.Postgres != nil { - { - size, err := m.Postgres.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} -func (m *DatabaseStats_Redis) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *DatabaseStats_Redis) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - if m.Redis != nil { - { - size, err := m.Redis.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - return len(dAtA) - i, nil -} -func (m *DatabaseAggregations) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *DatabaseAggregations) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *DatabaseAggregations) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Aggregations) > 0 { - for iNdEx := len(m.Aggregations) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Aggregations[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *HTTPAggregations) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *HTTPAggregations) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *HTTPAggregations) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.EndpointAggregations) > 0 { - for iNdEx := len(m.EndpointAggregations) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.EndpointAggregations[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - } - return len(dAtA) - i, nil -} - -func (m *HTTP2Aggregations) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *HTTP2Aggregations) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *HTTP2Aggregations) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.EndpointAggregations) > 0 { - for iNdEx := len(m.EndpointAggregations) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.EndpointAggregations[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *HTTPStats) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *HTTPStats) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *HTTPStats) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.FullPath { - i-- - if m.FullPath { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x30 - } - if m.Method != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Method)) - i-- - dAtA[i] = 0x28 - } - if len(m.Path) > 0 { - i -= len(m.Path) - copy(dAtA[i:], m.Path) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Path))) - i-- - dAtA[i] = 0x22 - } - if len(m.StatsByStatusCode) > 0 { - for k := range m.StatsByStatusCode { - v := m.StatsByStatusCode[k] - baseI := i - if v != nil { - { - size, err := v.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - i = encodeVarintAgent(dAtA, i, uint64(k)) - i-- - dAtA[i] = 0x8 - i = encodeVarintAgent(dAtA, i, uint64(baseI-i)) - i-- - dAtA[i] = 0x12 - } - } - if len(m.StatsByResponseStatus) > 0 { - for iNdEx := len(m.StatsByResponseStatus) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.StatsByResponseStatus[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *HTTPStats_Data) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *HTTPStats_Data) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *HTTPStats_Data) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.FirstLatencySample != 0 { - i -= 8 - encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.FirstLatencySample)))) - i-- - dAtA[i] = 0x21 - } - if len(m.Latencies) > 0 { - i -= len(m.Latencies) - copy(dAtA[i:], m.Latencies) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Latencies))) - i-- - dAtA[i] = 0x12 - } - if m.Count != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Count)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *DNSDatabaseEntry) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *DNSDatabaseEntry) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *DNSDatabaseEntry) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.NameOffsets) > 0 { - for iNdEx := len(m.NameOffsets) - 1; iNdEx >= 0; iNdEx-- { - i = encodeVarintAgent(dAtA, i, uint64(m.NameOffsets[iNdEx])) - i-- - dAtA[i] = 0x8 - } - } - return len(dAtA) - i, nil -} - -func (m *ResourceList) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ResourceList) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ResourceList) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.MetricValues) > 0 { - for k := range m.MetricValues { - v := m.MetricValues[k] - baseI := i - i -= 8 - encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(v)))) - i-- - dAtA[i] = 0x11 - i -= len(k) - copy(dAtA[i:], k) - i = encodeVarintAgent(dAtA, i, uint64(len(k))) - i-- - dAtA[i] = 0xa - i = encodeVarintAgent(dAtA, i, uint64(baseI-i)) - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *VerticalPodAutoscaler) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *VerticalPodAutoscaler) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *VerticalPodAutoscaler) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Conditions) > 0 { - for iNdEx := len(m.Conditions) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Conditions[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x32 - } - } - 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 = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) - i-- - dAtA[i] = 0x2a - } - } - if len(m.Yaml) > 0 { - i -= len(m.Yaml) - copy(dAtA[i:], m.Yaml) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Yaml))) - i-- - dAtA[i] = 0x22 - } - if m.Status != nil { - { - size, err := m.Status.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - if m.Spec != nil { - { - size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - if m.Metadata != nil { - { - size, err := m.Metadata.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *VerticalPodAutoscalerCondition) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *VerticalPodAutoscalerCondition) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *VerticalPodAutoscalerCondition) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Message) > 0 { - i -= len(m.Message) - copy(dAtA[i:], m.Message) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Message))) - i-- - dAtA[i] = 0x2a - } - if len(m.Reason) > 0 { - i -= len(m.Reason) - copy(dAtA[i:], m.Reason) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Reason))) - i-- - dAtA[i] = 0x22 - } - if m.LastTransitionTime != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.LastTransitionTime)) - i-- - dAtA[i] = 0x18 - } - if len(m.Status) > 0 { - i -= len(m.Status) - copy(dAtA[i:], m.Status) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Status))) - i-- - dAtA[i] = 0x12 - } - if len(m.Type) > 0 { - i -= len(m.Type) - copy(dAtA[i:], m.Type) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Type))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *VerticalPodAutoscalerSpec) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *VerticalPodAutoscalerSpec) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *VerticalPodAutoscalerSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.ResourcePolicies) > 0 { - for iNdEx := len(m.ResourcePolicies) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.ResourcePolicies[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - } - if len(m.UpdateMode) > 0 { - i -= len(m.UpdateMode) - copy(dAtA[i:], m.UpdateMode) - i = encodeVarintAgent(dAtA, i, uint64(len(m.UpdateMode))) - i-- - dAtA[i] = 0x12 - } - if m.Target != nil { - { - size, err := m.Target.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *VerticalPodAutoscalerTarget) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *VerticalPodAutoscalerTarget) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *VerticalPodAutoscalerTarget) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Name) > 0 { - i -= len(m.Name) - copy(dAtA[i:], m.Name) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Name))) - i-- - dAtA[i] = 0x12 - } - if len(m.Kind) > 0 { - i -= len(m.Kind) - copy(dAtA[i:], m.Kind) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Kind))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *ContainerResourcePolicy) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ContainerResourcePolicy) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ContainerResourcePolicy) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.ControlledValues) > 0 { - i -= len(m.ControlledValues) - copy(dAtA[i:], m.ControlledValues) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ControlledValues))) - i-- - dAtA[i] = 0x32 - } - if len(m.ControlledResource) > 0 { - for iNdEx := len(m.ControlledResource) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.ControlledResource[iNdEx]) - copy(dAtA[i:], m.ControlledResource[iNdEx]) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ControlledResource[iNdEx]))) - i-- - dAtA[i] = 0x2a - } - } - if m.MaxAllowed != nil { - { - size, err := m.MaxAllowed.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x22 - } - if m.MinAllowed != nil { - { - size, err := m.MinAllowed.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - if len(m.Mode) > 0 { - i -= len(m.Mode) - copy(dAtA[i:], m.Mode) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Mode))) - i-- - dAtA[i] = 0x12 - } - if len(m.ContainerName) > 0 { - i -= len(m.ContainerName) - copy(dAtA[i:], m.ContainerName) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ContainerName))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *VerticalPodAutoscalerStatus) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *VerticalPodAutoscalerStatus) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *VerticalPodAutoscalerStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Conditions) > 0 { - for iNdEx := len(m.Conditions) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Conditions[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - } - if len(m.Recommendations) > 0 { - for iNdEx := len(m.Recommendations) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Recommendations[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - } - if m.LastRecommendedDate != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.LastRecommendedDate)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *ContainerRecommendation) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ContainerRecommendation) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ContainerRecommendation) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.UncappedTarget != nil { - { - size, err := m.UncappedTarget.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x2a - } - if m.UpperBound != nil { - { - size, err := m.UpperBound.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x22 - } - if m.LowerBound != nil { - { - size, err := m.LowerBound.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - if m.Target != nil { - { - size, err := m.Target.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - if len(m.ContainerName) > 0 { - i -= len(m.ContainerName) - copy(dAtA[i:], m.ContainerName) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ContainerName))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *VPACondition) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *VPACondition) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *VPACondition) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Message) > 0 { - i -= len(m.Message) - copy(dAtA[i:], m.Message) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Message))) - i-- - dAtA[i] = 0x2a - } - if len(m.Reason) > 0 { - i -= len(m.Reason) - copy(dAtA[i:], m.Reason) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Reason))) - i-- - dAtA[i] = 0x22 - } - if m.LastTransitionTime != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.LastTransitionTime)) - i-- - dAtA[i] = 0x18 - } - if len(m.ConditionStatus) > 0 { - i -= len(m.ConditionStatus) - copy(dAtA[i:], m.ConditionStatus) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ConditionStatus))) - i-- - dAtA[i] = 0x12 - } - if len(m.ConditionType) > 0 { - i -= len(m.ConditionType) - copy(dAtA[i:], m.ConditionType) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ConditionType))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *HorizontalPodAutoscaler) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *HorizontalPodAutoscaler) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *HorizontalPodAutoscaler) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Conditions) > 0 { - for iNdEx := len(m.Conditions) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Conditions[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x32 - } - } - 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 = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) - i-- - dAtA[i] = 0x2a - } - } - if len(m.Yaml) > 0 { - i -= len(m.Yaml) - copy(dAtA[i:], m.Yaml) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Yaml))) - i-- - dAtA[i] = 0x22 - } - if m.Status != nil { - { - size, err := m.Status.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - if m.Spec != nil { - { - size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - if m.Metadata != nil { - { - size, err := m.Metadata.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *HorizontalPodAutoscalerSpec) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *HorizontalPodAutoscalerSpec) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *HorizontalPodAutoscalerSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Behavior != nil { - { - size, err := m.Behavior.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x2a - } - if len(m.Metrics) > 0 { - for iNdEx := len(m.Metrics) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Metrics[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x22 - } - } - if m.MaxReplicas != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.MaxReplicas)) - i-- - dAtA[i] = 0x18 - } - if m.MinReplicas != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.MinReplicas)) - i-- - dAtA[i] = 0x10 - } - if m.Target != nil { - { - size, err := m.Target.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *HorizontalPodAutoscalerTarget) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *HorizontalPodAutoscalerTarget) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *HorizontalPodAutoscalerTarget) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Name) > 0 { - i -= len(m.Name) - copy(dAtA[i:], m.Name) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Name))) - i-- - dAtA[i] = 0x12 - } - if len(m.Kind) > 0 { - i -= len(m.Kind) - copy(dAtA[i:], m.Kind) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Kind))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *HorizontalPodAutoscalerMetricSpec) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *HorizontalPodAutoscalerMetricSpec) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *HorizontalPodAutoscalerMetricSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.External != nil { - { - size, err := m.External.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x32 - } - if m.ContainerResource != nil { - { - size, err := m.ContainerResource.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x2a - } - if m.Resource != nil { - { - size, err := m.Resource.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x22 - } - if m.Pods != nil { - { - size, err := m.Pods.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - if m.Object != nil { - { - size, err := m.Object.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - if len(m.Type) > 0 { - i -= len(m.Type) - copy(dAtA[i:], m.Type) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Type))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *ObjectMetricSource) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ObjectMetricSource) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ObjectMetricSource) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Metric != nil { - { - size, err := m.Metric.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - if m.Target != nil { - { - size, err := m.Target.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - if m.DescribedObject != nil { - { - size, err := m.DescribedObject.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *MetricTarget) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *MetricTarget) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MetricTarget) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Value != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Value)) - i-- - dAtA[i] = 0x10 - } - if len(m.Type) > 0 { - i -= len(m.Type) - copy(dAtA[i:], m.Type) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Type))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *MetricIdentifier) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *MetricIdentifier) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MetricIdentifier) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.LabelSelector) > 0 { - for iNdEx := len(m.LabelSelector) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.LabelSelector[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - } - if len(m.Name) > 0 { - i -= len(m.Name) - copy(dAtA[i:], m.Name) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Name))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *PodsMetricSource) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *PodsMetricSource) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *PodsMetricSource) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Target != nil { - { - size, err := m.Target.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - if m.Metric != nil { - { - size, err := m.Metric.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *ResourceMetricSource) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ResourceMetricSource) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ResourceMetricSource) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Target != nil { - { - size, err := m.Target.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - if len(m.ResourceName) > 0 { - i -= len(m.ResourceName) - copy(dAtA[i:], m.ResourceName) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ResourceName))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *ContainerResourceMetricSource) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ContainerResourceMetricSource) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ContainerResourceMetricSource) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Container) > 0 { - i -= len(m.Container) - copy(dAtA[i:], m.Container) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Container))) - i-- - dAtA[i] = 0x1a - } - if m.Target != nil { - { - size, err := m.Target.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - if len(m.ResourceName) > 0 { - i -= len(m.ResourceName) - copy(dAtA[i:], m.ResourceName) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ResourceName))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *ExternalMetricSource) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ExternalMetricSource) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ExternalMetricSource) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Target != nil { - { - size, err := m.Target.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - if m.Metric != nil { - { - size, err := m.Metric.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *HorizontalPodAutoscalerBehavior) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *HorizontalPodAutoscalerBehavior) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *HorizontalPodAutoscalerBehavior) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.ScaleDown != nil { - { - size, err := m.ScaleDown.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - if m.ScaleUp != nil { - { - size, err := m.ScaleUp.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *HPAScalingRules) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *HPAScalingRules) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *HPAScalingRules) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Policies) > 0 { - for iNdEx := len(m.Policies) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Policies[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - } - if len(m.SelectPolicy) > 0 { - i -= len(m.SelectPolicy) - copy(dAtA[i:], m.SelectPolicy) - i = encodeVarintAgent(dAtA, i, uint64(len(m.SelectPolicy))) - i-- - dAtA[i] = 0x12 - } - if m.StabilizationWindowSeconds != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.StabilizationWindowSeconds)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *HPAScalingPolicy) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *HPAScalingPolicy) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *HPAScalingPolicy) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.PeriodSeconds != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.PeriodSeconds)) - i-- - dAtA[i] = 0x18 - } - if m.Value != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Value)) - i-- - dAtA[i] = 0x10 - } - if len(m.Type) > 0 { - i -= len(m.Type) - copy(dAtA[i:], m.Type) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Type))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *HorizontalPodAutoscalerStatus) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *HorizontalPodAutoscalerStatus) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *HorizontalPodAutoscalerStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.CurrentMetrics) > 0 { - for iNdEx := len(m.CurrentMetrics) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.CurrentMetrics[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x2a - } - } - if m.DesiredReplicas != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.DesiredReplicas)) - i-- - dAtA[i] = 0x20 - } - if m.CurrentReplicas != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.CurrentReplicas)) - i-- - dAtA[i] = 0x18 - } - if m.LastScaleTime != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.LastScaleTime)) - i-- - dAtA[i] = 0x10 - } - if m.ObservedGeneration != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.ObservedGeneration)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *HorizontalPodAutoscalerCondition) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *HorizontalPodAutoscalerCondition) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *HorizontalPodAutoscalerCondition) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Message) > 0 { - i -= len(m.Message) - copy(dAtA[i:], m.Message) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Message))) - i-- - dAtA[i] = 0x2a - } - if len(m.Reason) > 0 { - i -= len(m.Reason) - copy(dAtA[i:], m.Reason) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Reason))) - i-- - dAtA[i] = 0x22 - } - if m.LastTransitionTime != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.LastTransitionTime)) - i-- - dAtA[i] = 0x18 - } - if len(m.ConditionStatus) > 0 { - i -= len(m.ConditionStatus) - copy(dAtA[i:], m.ConditionStatus) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ConditionStatus))) - i-- - dAtA[i] = 0x12 - } - if len(m.ConditionType) > 0 { - i -= len(m.ConditionType) - copy(dAtA[i:], m.ConditionType) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ConditionType))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *HorizontalPodAutoscalerMetricStatus) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *HorizontalPodAutoscalerMetricStatus) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *HorizontalPodAutoscalerMetricStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.External != nil { - { - size, err := m.External.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x32 - } - if m.ContainerResource != nil { - { - size, err := m.ContainerResource.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x2a - } - if m.Resource != nil { - { - size, err := m.Resource.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x22 - } - if m.Pods != nil { - { - size, err := m.Pods.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - if m.Object != nil { - { - size, err := m.Object.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - if len(m.Type) > 0 { - i -= len(m.Type) - copy(dAtA[i:], m.Type) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Type))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *ObjectMetricStatus) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ObjectMetricStatus) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ObjectMetricStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Metric != nil { - { - size, err := m.Metric.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - if m.Current != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Current)) - i-- - dAtA[i] = 0x10 - } - if m.DescribedObject != nil { - { - size, err := m.DescribedObject.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *PodsMetricStatus) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *PodsMetricStatus) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *PodsMetricStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Current != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Current)) - i-- - dAtA[i] = 0x10 - } - if m.Metric != nil { - { - size, err := m.Metric.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *ResourceMetricStatus) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ResourceMetricStatus) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ResourceMetricStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Current != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Current)) - i-- - dAtA[i] = 0x10 - } - if len(m.ResourceName) > 0 { - i -= len(m.ResourceName) - copy(dAtA[i:], m.ResourceName) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ResourceName))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *ContainerResourceMetricStatus) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ContainerResourceMetricStatus) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ContainerResourceMetricStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Container) > 0 { - i -= len(m.Container) - copy(dAtA[i:], m.Container) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Container))) - i-- - dAtA[i] = 0x1a - } - if m.Current != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Current)) - i-- - dAtA[i] = 0x10 - } - if len(m.ResourceName) > 0 { - i -= len(m.ResourceName) - copy(dAtA[i:], m.ResourceName) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ResourceName))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *ExternalMetricStatus) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ExternalMetricStatus) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ExternalMetricStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Current != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Current)) - i-- - dAtA[i] = 0x10 - } - if m.Metric != nil { - { - size, err := m.Metric.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *NetworkPolicy) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *NetworkPolicy) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *NetworkPolicy) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - 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 = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) - i-- - dAtA[i] = 0x22 - } - } - if len(m.Yaml) > 0 { - i -= len(m.Yaml) - copy(dAtA[i:], m.Yaml) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Yaml))) - i-- - dAtA[i] = 0x1a - } - if m.Spec != nil { - { - size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - if m.Metadata != nil { - { - size, err := m.Metadata.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *NetworkPolicySpec) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *NetworkPolicySpec) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *NetworkPolicySpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.PolicyTypes) > 0 { - for iNdEx := len(m.PolicyTypes) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.PolicyTypes[iNdEx]) - copy(dAtA[i:], m.PolicyTypes[iNdEx]) - i = encodeVarintAgent(dAtA, i, uint64(len(m.PolicyTypes[iNdEx]))) - i-- - dAtA[i] = 0x22 - } - } - if len(m.Egress) > 0 { - for iNdEx := len(m.Egress) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Egress[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - } - if len(m.Ingress) > 0 { - for iNdEx := len(m.Ingress) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Ingress[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - } - if len(m.Selectors) > 0 { - for iNdEx := len(m.Selectors) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Selectors[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *NetworkPolicyIPBlock) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *NetworkPolicyIPBlock) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *NetworkPolicyIPBlock) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Except) > 0 { - for iNdEx := len(m.Except) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.Except[iNdEx]) - copy(dAtA[i:], m.Except[iNdEx]) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Except[iNdEx]))) - i-- - dAtA[i] = 0x12 - } - } - if len(m.Cidr) > 0 { - i -= len(m.Cidr) - copy(dAtA[i:], m.Cidr) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Cidr))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *NetworkPolicyIngressRule) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *NetworkPolicyIngressRule) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *NetworkPolicyIngressRule) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.From) > 0 { - for iNdEx := len(m.From) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.From[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - } - if len(m.Ports) > 0 { - for iNdEx := len(m.Ports) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Ports[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *NetworkPolicyEgressRule) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *NetworkPolicyEgressRule) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *NetworkPolicyEgressRule) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.To) > 0 { - for iNdEx := len(m.To) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.To[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - } - if len(m.Ports) > 0 { - for iNdEx := len(m.Ports) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Ports[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *NetworkPolicyPeer) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *NetworkPolicyPeer) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *NetworkPolicyPeer) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.HasNamespaceSelector { - i-- - if m.HasNamespaceSelector { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x28 - } - if m.HasPodSelector { - i-- - if m.HasPodSelector { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x20 - } - if m.IpBlock != nil { - { - size, err := m.IpBlock.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - if len(m.NamespaceSelector) > 0 { - for iNdEx := len(m.NamespaceSelector) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.NamespaceSelector[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - } - if len(m.PodSelector) > 0 { - for iNdEx := len(m.PodSelector) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.PodSelector[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *NetworkPolicyPort) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *NetworkPolicyPort) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *NetworkPolicyPort) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.EndPort != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.EndPort)) - i-- - dAtA[i] = 0x18 - } - if m.Port != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Port)) - i-- - dAtA[i] = 0x10 - } - if len(m.Protocol) > 0 { - i -= len(m.Protocol) - copy(dAtA[i:], m.Protocol) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Protocol))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *LimitRange) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *LimitRange) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *LimitRange) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - 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 = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) - i-- - dAtA[i] = 0x22 - } - } - if len(m.LimitTypes) > 0 { - for iNdEx := len(m.LimitTypes) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.LimitTypes[iNdEx]) - copy(dAtA[i:], m.LimitTypes[iNdEx]) - i = encodeVarintAgent(dAtA, i, uint64(len(m.LimitTypes[iNdEx]))) - i-- - dAtA[i] = 0x1a - } - } - if m.Spec != nil { - { - size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - if m.Metadata != nil { - { - size, err := m.Metadata.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *LimitRangeSpec) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *LimitRangeSpec) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *LimitRangeSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Limits) > 0 { - for iNdEx := len(m.Limits) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Limits[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *LimitRangeItem) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *LimitRangeItem) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *LimitRangeItem) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.MaxLimitRequestRatio) > 0 { - for k := range m.MaxLimitRequestRatio { - v := m.MaxLimitRequestRatio[k] - baseI := i - i = encodeVarintAgent(dAtA, i, uint64(v)) - i-- - dAtA[i] = 0x10 - i -= len(k) - copy(dAtA[i:], k) - i = encodeVarintAgent(dAtA, i, uint64(len(k))) - i-- - dAtA[i] = 0xa - i = encodeVarintAgent(dAtA, i, uint64(baseI-i)) - i-- - dAtA[i] = 0x32 - } - } - if len(m.Min) > 0 { - for k := range m.Min { - v := m.Min[k] - baseI := i - i = encodeVarintAgent(dAtA, i, uint64(v)) - i-- - dAtA[i] = 0x10 - i -= len(k) - copy(dAtA[i:], k) - i = encodeVarintAgent(dAtA, i, uint64(len(k))) - i-- - dAtA[i] = 0xa - i = encodeVarintAgent(dAtA, i, uint64(baseI-i)) - i-- - dAtA[i] = 0x2a - } - } - if len(m.Max) > 0 { - for k := range m.Max { - v := m.Max[k] - baseI := i - i = encodeVarintAgent(dAtA, i, uint64(v)) - i-- - dAtA[i] = 0x10 - i -= len(k) - copy(dAtA[i:], k) - i = encodeVarintAgent(dAtA, i, uint64(len(k))) - i-- - dAtA[i] = 0xa - i = encodeVarintAgent(dAtA, i, uint64(baseI-i)) - i-- - dAtA[i] = 0x22 - } - } - if len(m.DefaultRequest) > 0 { - for k := range m.DefaultRequest { - v := m.DefaultRequest[k] - baseI := i - i = encodeVarintAgent(dAtA, i, uint64(v)) - i-- - dAtA[i] = 0x10 - i -= len(k) - copy(dAtA[i:], k) - i = encodeVarintAgent(dAtA, i, uint64(len(k))) - i-- - dAtA[i] = 0xa - i = encodeVarintAgent(dAtA, i, uint64(baseI-i)) - i-- - dAtA[i] = 0x1a - } - } - if len(m.Default) > 0 { - for k := range m.Default { - v := m.Default[k] - baseI := i - i = encodeVarintAgent(dAtA, i, uint64(v)) - i-- - dAtA[i] = 0x10 - i -= len(k) - copy(dAtA[i:], k) - i = encodeVarintAgent(dAtA, i, uint64(len(k))) - i-- - dAtA[i] = 0xa - i = encodeVarintAgent(dAtA, i, uint64(baseI-i)) - i-- - dAtA[i] = 0x12 - } - } - if len(m.Type) > 0 { - i -= len(m.Type) - copy(dAtA[i:], m.Type) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Type))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *StorageClass) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *StorageClass) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *StorageClass) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - 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 = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) - i-- - dAtA[i] = 0x4a - } - } - if len(m.VolumeBindingMode) > 0 { - i -= len(m.VolumeBindingMode) - copy(dAtA[i:], m.VolumeBindingMode) - i = encodeVarintAgent(dAtA, i, uint64(len(m.VolumeBindingMode))) - i-- - dAtA[i] = 0x42 - } - if m.AllowedTopologies != nil { - { - size, err := m.AllowedTopologies.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x3a - } - if m.AllowVolumeExpansion { - i-- - if m.AllowVolumeExpansion { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x30 - } - if len(m.MountOptions) > 0 { - for iNdEx := len(m.MountOptions) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.MountOptions[iNdEx]) - copy(dAtA[i:], m.MountOptions[iNdEx]) - i = encodeVarintAgent(dAtA, i, uint64(len(m.MountOptions[iNdEx]))) - i-- - dAtA[i] = 0x2a - } - } - if len(m.ReclaimPolicy) > 0 { - i -= len(m.ReclaimPolicy) - copy(dAtA[i:], m.ReclaimPolicy) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ReclaimPolicy))) - i-- - dAtA[i] = 0x22 - } - if len(m.Parameters) > 0 { - for k := range m.Parameters { - v := m.Parameters[k] - baseI := i - i -= len(v) - copy(dAtA[i:], v) - i = encodeVarintAgent(dAtA, i, uint64(len(v))) - i-- - dAtA[i] = 0x12 - i -= len(k) - copy(dAtA[i:], k) - i = encodeVarintAgent(dAtA, i, uint64(len(k))) - i-- - dAtA[i] = 0xa - i = encodeVarintAgent(dAtA, i, uint64(baseI-i)) - i-- - dAtA[i] = 0x1a - } - } - if len(m.Provisioner) > 0 { - i -= len(m.Provisioner) - copy(dAtA[i:], m.Provisioner) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Provisioner))) - i-- - dAtA[i] = 0x12 - } - if m.Metadata != nil { - { - size, err := m.Metadata.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *StorageClassTopologies) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *StorageClassTopologies) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *StorageClassTopologies) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.LabelSelectors) > 0 { - for iNdEx := len(m.LabelSelectors) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.LabelSelectors[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *TopologyLabelSelector) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *TopologyLabelSelector) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *TopologyLabelSelector) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Values) > 0 { - for iNdEx := len(m.Values) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.Values[iNdEx]) - copy(dAtA[i:], m.Values[iNdEx]) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Values[iNdEx]))) - i-- - dAtA[i] = 0x12 - } - } - if len(m.Key) > 0 { - i -= len(m.Key) - copy(dAtA[i:], m.Key) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Key))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func encodeVarintAgent(dAtA []byte, offset int, v uint64) int { - offset -= sovAgent(v) - base := offset - for v >= 1<<7 { - dAtA[offset] = uint8(v&0x7f | 0x80) - v >>= 7 - offset++ - } - dAtA[offset] = uint8(v) - return base -} -func (m *ResCollector) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Header != nil { - l = m.Header.Size() - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.Message) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.Status != nil { - l = m.Status.Size() - n += 1 + l + sovAgent(uint64(l)) - } - return n -} - -func (m *ResCollector_Header) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Type != 0 { - n += 1 + sovAgent(uint64(m.Type)) - } - return n -} - -func (m *CollectorProc) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.HostName) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if len(m.Processes) > 0 { - for _, e := range m.Processes { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } - } - if m.Host != nil { - l = m.Host.Size() - n += 1 + l + sovAgent(uint64(l)) - } - if m.Info != nil { - l = m.Info.Size() - n += 1 + l + sovAgent(uint64(l)) - } - if m.GroupId != 0 { - n += 1 + sovAgent(uint64(m.GroupId)) - } - if m.GroupSize != 0 { - n += 1 + sovAgent(uint64(m.GroupSize)) - } - if len(m.Containers) > 0 { - for _, e := range m.Containers { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } - } - l = len(m.NetworkId) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.ContainerHostType != 0 { - n += 1 + sovAgent(uint64(m.ContainerHostType)) - } - if m.Hints != nil { - n += m.Hints.Size() - } - return n -} - -func (m *CollectorProc_HintMask) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - n += 1 + sovAgent(uint64(m.HintMask)) - return n -} -func (m *CollectorProcDiscovery) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.HostName) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.GroupId != 0 { - n += 1 + sovAgent(uint64(m.GroupId)) - } - if m.GroupSize != 0 { - n += 1 + sovAgent(uint64(m.GroupSize)) - } - if len(m.ProcessDiscoveries) > 0 { - for _, e := range m.ProcessDiscoveries { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } - } - if m.Host != nil { - l = m.Host.Size() - n += 1 + l + sovAgent(uint64(l)) - } - return n -} - -func (m *CollectorRealTime) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.HostName) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if len(m.Stats) > 0 { - for _, e := range m.Stats { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } - } - if m.HostId != 0 { - n += 1 + sovAgent(uint64(m.HostId)) - } - if m.OrgId != 0 { - n += 1 + sovAgent(uint64(m.OrgId)) - } - if m.GroupId != 0 { - n += 1 + sovAgent(uint64(m.GroupId)) - } - if m.GroupSize != 0 { - n += 1 + sovAgent(uint64(m.GroupSize)) - } - if m.NumCpus != 0 { - n += 1 + sovAgent(uint64(m.NumCpus)) - } - if m.TotalMemory != 0 { - n += 1 + sovAgent(uint64(m.TotalMemory)) - } - if len(m.ContainerStats) > 0 { - for _, e := range m.ContainerStats { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } - } - if m.ContainerHostType != 0 { - n += 1 + sovAgent(uint64(m.ContainerHostType)) - } - return n -} - -func (m *CollectorContainer) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.HostName) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.Info != nil { - l = m.Info.Size() - n += 1 + l + sovAgent(uint64(l)) - } - if len(m.Containers) > 0 { - for _, e := range m.Containers { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } - } - if m.GroupId != 0 { - n += 1 + sovAgent(uint64(m.GroupId)) - } - if m.GroupSize != 0 { - n += 1 + sovAgent(uint64(m.GroupSize)) - } - if m.Host != nil { - l = m.Host.Size() - n += 1 + l + sovAgent(uint64(l)) - } - if m.ContainerHostType != 0 { - n += 1 + sovAgent(uint64(m.ContainerHostType)) - } - l = len(m.NetworkId) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - return n -} - -func (m *CollectorContainerRealTime) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.HostName) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if len(m.Stats) > 0 { - for _, e := range m.Stats { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } - } - if m.NumCpus != 0 { - n += 1 + sovAgent(uint64(m.NumCpus)) - } - if m.TotalMemory != 0 { - n += 1 + sovAgent(uint64(m.TotalMemory)) - } - if m.HostId != 0 { - n += 1 + sovAgent(uint64(m.HostId)) - } - if m.GroupId != 0 { - n += 1 + sovAgent(uint64(m.GroupId)) - } - if m.GroupSize != 0 { - n += 1 + sovAgent(uint64(m.GroupSize)) - } - if m.ContainerHostType != 0 { - n += 1 + sovAgent(uint64(m.ContainerHostType)) - } - return n -} - -func (m *CollectorReqStatus) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.HostName) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - return n -} - -func (m *CollectorECSTask) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.AwsAccountID != 0 { - n += 1 + sovAgent(uint64(m.AwsAccountID)) - } - l = len(m.ClusterName) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.ClusterId) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.Region) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.GroupId != 0 { - n += 1 + sovAgent(uint64(m.GroupId)) - } - if m.GroupSize != 0 { - n += 1 + sovAgent(uint64(m.GroupSize)) - } - if len(m.Tasks) > 0 { - for _, e := range m.Tasks { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } - } - if len(m.Tags) > 0 { - for _, s := range m.Tags { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) - } - } - if m.Host != nil { - l = m.Host.Size() - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.HostName) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.Info != nil { - l = m.Info.Size() - n += 1 + l + sovAgent(uint64(l)) - } - return n -} - -func (m *ECSTask) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Arn) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.ResourceVersion) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.LaunchType) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.DesiredStatus) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.KnownStatus) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.Family) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.Version) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.AvailabilityZone) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if len(m.Limits) > 0 { - for k, v := range m.Limits { - _ = k - _ = v - mapEntrySize := 1 + len(k) + sovAgent(uint64(len(k))) + 1 + 8 - n += mapEntrySize + 1 + sovAgent(uint64(mapEntrySize)) - } - } - if len(m.EphemeralStorageMetrics) > 0 { - for k, v := range m.EphemeralStorageMetrics { - _ = k - _ = v - mapEntrySize := 1 + len(k) + sovAgent(uint64(len(k))) + 1 + sovAgent(uint64(v)) - n += mapEntrySize + 1 + sovAgent(uint64(mapEntrySize)) - } - } - l = len(m.ServiceName) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.VpcId) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.PullStartedAt != 0 { - n += 1 + sovAgent(uint64(m.PullStartedAt)) - } - if m.PullStoppedAt != 0 { - n += 1 + sovAgent(uint64(m.PullStoppedAt)) - } - if m.ExecutionStoppedAt != 0 { - n += 1 + sovAgent(uint64(m.ExecutionStoppedAt)) - } - if len(m.Containers) > 0 { - for _, e := range m.Containers { - l = e.Size() - n += 2 + l + sovAgent(uint64(l)) - } - } - if len(m.Tags) > 0 { - for _, s := range m.Tags { - l = len(s) - n += 2 + l + sovAgent(uint64(l)) - } - } - if len(m.EcsTags) > 0 { - for _, s := range m.EcsTags { - l = len(s) - n += 2 + l + sovAgent(uint64(l)) - } - } - if len(m.ContainerInstanceTags) > 0 { - for _, s := range m.ContainerInstanceTags { - l = len(s) - n += 2 + l + sovAgent(uint64(l)) - } - } - if m.Host != nil { - l = m.Host.Size() - n += 2 + l + sovAgent(uint64(l)) - } - return n -} - -func (m *ECSContainer) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.DockerID) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.DockerName) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.Name) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.Image) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.ImageID) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.CreatedAt != 0 { - n += 1 + sovAgent(uint64(m.CreatedAt)) - } - if m.StartedAt != 0 { - n += 1 + sovAgent(uint64(m.StartedAt)) - } - if m.FinishedAt != 0 { - n += 1 + sovAgent(uint64(m.FinishedAt)) - } - l = len(m.DesiredStatus) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.KnownStatus) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.ExitCode != nil { - l = m.ExitCode.Size() - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.Type) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.LogDriver) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if len(m.LogOptions) > 0 { - for k, v := range m.LogOptions { - _ = k - _ = v - mapEntrySize := 1 + len(k) + sovAgent(uint64(len(k))) + 1 + len(v) + sovAgent(uint64(len(v))) - n += mapEntrySize + 1 + sovAgent(uint64(mapEntrySize)) - } - } - l = len(m.ContainerArn) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if len(m.Ports) > 0 { - for _, e := range m.Ports { - l = e.Size() - n += 2 + l + sovAgent(uint64(l)) - } - } - if len(m.Networks) > 0 { - for _, e := range m.Networks { - l = e.Size() - n += 2 + l + sovAgent(uint64(l)) - } - } - if len(m.Volumes) > 0 { - for _, e := range m.Volumes { - l = e.Size() - n += 2 + l + sovAgent(uint64(l)) - } - } - if m.Health != nil { - l = m.Health.Size() - n += 2 + l + sovAgent(uint64(l)) - } - if len(m.Labels) > 0 { - for _, s := range m.Labels { - l = len(s) - n += 2 + l + sovAgent(uint64(l)) - } - } - if len(m.Limits) > 0 { - for k, v := range m.Limits { - _ = k - _ = v - mapEntrySize := 1 + len(k) + sovAgent(uint64(len(k))) + 1 + 8 - n += mapEntrySize + 2 + sovAgent(uint64(mapEntrySize)) - } - } - l = len(m.Snapshotter) - if l > 0 { - n += 2 + l + sovAgent(uint64(l)) - } - return n -} - -func (m *ECSContainerNetwork) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.NetworkMode) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if len(m.Ipv4Addresses) > 0 { - for _, s := range m.Ipv4Addresses { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) - } - } - if len(m.Ipv6Addresses) > 0 { - for _, s := range m.Ipv6Addresses { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) - } - } - return n -} - -func (m *ECSContainerPort) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.ContainerPort != 0 { - n += 1 + sovAgent(uint64(m.ContainerPort)) - } - l = len(m.Protocol) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.HostIp) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.HostPort != 0 { - n += 1 + sovAgent(uint64(m.HostPort)) - } - return n -} - -func (m *ECSContainerVolume) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.DockerName) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.Source) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.Destination) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - return n -} - -func (m *ECSContainerHealth) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Status) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.Since != 0 { - n += 1 + sovAgent(uint64(m.Since)) - } - if m.ExitCode != nil { - l = m.ExitCode.Size() - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.Output) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - return n -} - -func (m *ECSContainerExitCode) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.ExitCode != 0 { - n += 1 + sovAgent(uint64(m.ExitCode)) - } - return n -} - -func (m *CollectorPod) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.HostName) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.ClusterName) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.ClusterId) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.GroupId != 0 { - n += 1 + sovAgent(uint64(m.GroupId)) - } - if m.GroupSize != 0 { - n += 1 + sovAgent(uint64(m.GroupSize)) - } - if len(m.Pods) > 0 { - for _, e := range m.Pods { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } - } - if m.Host != nil { - l = m.Host.Size() - n += 1 + l + sovAgent(uint64(l)) - } - if len(m.Tags) > 0 { - for _, s := range m.Tags { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) - } - } - if m.Info != nil { - l = m.Info.Size() - n += 1 + l + sovAgent(uint64(l)) - } - return n -} - -func (m *CollectorPodDisruptionBudget) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.ClusterName) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.ClusterId) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.GroupId != 0 { - n += 1 + sovAgent(uint64(m.GroupId)) - } - if len(m.PodDisruptionBudgets) > 0 { - for _, e := range m.PodDisruptionBudgets { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } - } - if len(m.Tags) > 0 { - for _, s := range m.Tags { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) - } - } - if m.GroupSize != 0 { - n += 1 + sovAgent(uint64(m.GroupSize)) - } - return n -} - -func (m *CollectorReplicaSet) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.ClusterName) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.ClusterId) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.GroupId != 0 { - n += 1 + sovAgent(uint64(m.GroupId)) - } - if m.GroupSize != 0 { - n += 1 + sovAgent(uint64(m.GroupSize)) - } - if len(m.ReplicaSets) > 0 { - for _, e := range m.ReplicaSets { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } - } - if len(m.Tags) > 0 { - for _, s := range m.Tags { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) - } - } - return n -} - -func (m *CollectorDeployment) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.ClusterName) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.ClusterId) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.GroupId != 0 { - n += 1 + sovAgent(uint64(m.GroupId)) - } - if m.GroupSize != 0 { - n += 1 + sovAgent(uint64(m.GroupSize)) - } - if len(m.Deployments) > 0 { - for _, e := range m.Deployments { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } - } - if len(m.Tags) > 0 { - for _, s := range m.Tags { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) - } - } - return n -} - -func (m *CollectorService) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.ClusterName) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.ClusterId) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.GroupId != 0 { - n += 1 + sovAgent(uint64(m.GroupId)) - } - if m.GroupSize != 0 { - n += 1 + sovAgent(uint64(m.GroupSize)) - } - if len(m.Services) > 0 { - for _, e := range m.Services { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } - } - if len(m.Tags) > 0 { - for _, s := range m.Tags { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) - } - } - return n -} - -func (m *CollectorNode) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.ClusterName) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.ClusterId) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.GroupId != 0 { - n += 1 + sovAgent(uint64(m.GroupId)) - } - if m.GroupSize != 0 { - n += 1 + sovAgent(uint64(m.GroupSize)) - } - if len(m.Nodes) > 0 { - for _, e := range m.Nodes { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } - } - if len(m.Tags) > 0 { - for _, s := range m.Tags { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) - } - } - if len(m.HostAliasMapping) > 0 { - for k, v := range m.HostAliasMapping { - _ = k - _ = v - l = 0 - if v != nil { - l = v.Size() - l += 1 + sovAgent(uint64(l)) - } - mapEntrySize := 1 + len(k) + sovAgent(uint64(len(k))) + l - n += mapEntrySize + 1 + sovAgent(uint64(mapEntrySize)) - } - } - return n -} - -func (m *CollectorCluster) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.ClusterName) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.ClusterId) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.GroupId != 0 { - n += 1 + sovAgent(uint64(m.GroupId)) - } - if m.GroupSize != 0 { - n += 1 + sovAgent(uint64(m.GroupSize)) - } - if m.Cluster != nil { - l = m.Cluster.Size() - n += 1 + l + sovAgent(uint64(l)) - } - if len(m.Tags) > 0 { - for _, s := range m.Tags { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) - } - } - return n -} - -func (m *CollectorManifest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.ClusterName) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.ClusterId) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.GroupId != 0 { - n += 1 + sovAgent(uint64(m.GroupId)) - } - if m.GroupSize != 0 { - n += 1 + sovAgent(uint64(m.GroupSize)) - } - if len(m.Manifests) > 0 { - for _, e := range m.Manifests { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } - } - if len(m.Tags) > 0 { - for _, s := range m.Tags { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) - } - } - return n -} - -func (m *CollectorManifestCRD) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Manifest != nil { - l = m.Manifest.Size() - n += 1 + l + sovAgent(uint64(l)) - } - if len(m.Tags) > 0 { - for _, s := range m.Tags { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) - } - } - return n -} - -func (m *CollectorManifestCR) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Manifest != nil { - l = m.Manifest.Size() - n += 1 + l + sovAgent(uint64(l)) - } - if len(m.Tags) > 0 { - for _, s := range m.Tags { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) - } - } - return n -} - -func (m *CollectorNamespace) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.ClusterName) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.ClusterId) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.GroupId != 0 { - n += 1 + sovAgent(uint64(m.GroupId)) - } - if m.GroupSize != 0 { - n += 1 + sovAgent(uint64(m.GroupSize)) - } - if len(m.Namespaces) > 0 { - for _, e := range m.Namespaces { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } - } - if len(m.Tags) > 0 { - for _, s := range m.Tags { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) - } - } - return n -} - -func (m *CollectorJob) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.ClusterName) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.ClusterId) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.GroupId != 0 { - n += 1 + sovAgent(uint64(m.GroupId)) - } - if m.GroupSize != 0 { - n += 1 + sovAgent(uint64(m.GroupSize)) - } - if len(m.Jobs) > 0 { - for _, e := range m.Jobs { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } - } - if len(m.Tags) > 0 { - for _, s := range m.Tags { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) - } - } - return n -} - -func (m *CollectorCronJob) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.ClusterName) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.ClusterId) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.GroupId != 0 { - n += 1 + sovAgent(uint64(m.GroupId)) - } - if m.GroupSize != 0 { - n += 1 + sovAgent(uint64(m.GroupSize)) - } - if len(m.CronJobs) > 0 { - for _, e := range m.CronJobs { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } - } - if len(m.Tags) > 0 { - for _, s := range m.Tags { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) - } - } - return n -} - -func (m *CollectorDaemonSet) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.ClusterName) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.ClusterId) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.GroupId != 0 { - n += 1 + sovAgent(uint64(m.GroupId)) - } - if m.GroupSize != 0 { - n += 1 + sovAgent(uint64(m.GroupSize)) - } - if len(m.DaemonSets) > 0 { - for _, e := range m.DaemonSets { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } - } - if len(m.Tags) > 0 { - for _, s := range m.Tags { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) - } - } - return n -} - -func (m *CollectorStatefulSet) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.ClusterName) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.ClusterId) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.GroupId != 0 { - n += 1 + sovAgent(uint64(m.GroupId)) - } - if m.GroupSize != 0 { - n += 1 + sovAgent(uint64(m.GroupSize)) - } - if len(m.StatefulSets) > 0 { - for _, e := range m.StatefulSets { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } - } - if len(m.Tags) > 0 { - for _, s := range m.Tags { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) - } - } - return n -} - -func (m *CollectorPersistentVolume) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.ClusterName) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.ClusterId) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.GroupId != 0 { - n += 1 + sovAgent(uint64(m.GroupId)) - } - if m.GroupSize != 0 { - n += 1 + sovAgent(uint64(m.GroupSize)) - } - if len(m.PersistentVolumes) > 0 { - for _, e := range m.PersistentVolumes { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } - } - if len(m.Tags) > 0 { - for _, s := range m.Tags { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) - } - } - return n -} - -func (m *CollectorPersistentVolumeClaim) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.ClusterName) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.ClusterId) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.GroupId != 0 { - n += 1 + sovAgent(uint64(m.GroupId)) - } - if m.GroupSize != 0 { - n += 1 + sovAgent(uint64(m.GroupSize)) - } - if len(m.PersistentVolumeClaims) > 0 { - for _, e := range m.PersistentVolumeClaims { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } - } - if len(m.Tags) > 0 { - for _, s := range m.Tags { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) - } - } - return n -} - -func (m *CollectorRole) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.ClusterName) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.ClusterId) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.GroupId != 0 { - n += 1 + sovAgent(uint64(m.GroupId)) - } - if m.GroupSize != 0 { - n += 1 + sovAgent(uint64(m.GroupSize)) - } - if len(m.Roles) > 0 { - for _, e := range m.Roles { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } - } - if len(m.Tags) > 0 { - for _, s := range m.Tags { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) - } - } - return n -} - -func (m *CollectorRoleBinding) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.ClusterName) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.ClusterId) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.GroupId != 0 { - n += 1 + sovAgent(uint64(m.GroupId)) - } - if m.GroupSize != 0 { - n += 1 + sovAgent(uint64(m.GroupSize)) - } - if len(m.RoleBindings) > 0 { - for _, e := range m.RoleBindings { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } - } - if len(m.Tags) > 0 { - for _, s := range m.Tags { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) - } - } - return n -} - -func (m *CollectorClusterRole) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.ClusterName) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.ClusterId) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.GroupId != 0 { - n += 1 + sovAgent(uint64(m.GroupId)) - } - if m.GroupSize != 0 { - n += 1 + sovAgent(uint64(m.GroupSize)) - } - if len(m.ClusterRoles) > 0 { - for _, e := range m.ClusterRoles { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } - } - if len(m.Tags) > 0 { - for _, s := range m.Tags { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) - } - } - return n -} - -func (m *CollectorClusterRoleBinding) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.ClusterName) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.ClusterId) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.GroupId != 0 { - n += 1 + sovAgent(uint64(m.GroupId)) - } - if m.GroupSize != 0 { - n += 1 + sovAgent(uint64(m.GroupSize)) - } - if len(m.ClusterRoleBindings) > 0 { - for _, e := range m.ClusterRoleBindings { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } - } - if len(m.Tags) > 0 { - for _, s := range m.Tags { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) - } - } - return n -} - -func (m *CollectorServiceAccount) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.ClusterName) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.ClusterId) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.GroupId != 0 { - n += 1 + sovAgent(uint64(m.GroupId)) - } - if m.GroupSize != 0 { - n += 1 + sovAgent(uint64(m.GroupSize)) - } - if len(m.ServiceAccounts) > 0 { - for _, e := range m.ServiceAccounts { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } - } - if len(m.Tags) > 0 { - for _, s := range m.Tags { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) - } - } - return n -} - -func (m *CollectorIngress) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.ClusterName) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.ClusterId) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.GroupId != 0 { - n += 1 + sovAgent(uint64(m.GroupId)) - } - if m.GroupSize != 0 { - n += 1 + sovAgent(uint64(m.GroupSize)) - } - if len(m.Ingresses) > 0 { - for _, e := range m.Ingresses { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } - } - if len(m.Tags) > 0 { - for _, s := range m.Tags { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) - } - } - return n -} - -func (m *CollectorVerticalPodAutoscaler) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.ClusterName) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.ClusterId) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.GroupId != 0 { - n += 1 + sovAgent(uint64(m.GroupId)) - } - if m.GroupSize != 0 { - n += 1 + sovAgent(uint64(m.GroupSize)) - } - if len(m.VerticalPodAutoscalers) > 0 { - for _, e := range m.VerticalPodAutoscalers { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } - } - if len(m.Tags) > 0 { - for _, s := range m.Tags { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) - } - } - return n -} - -func (m *CollectorHorizontalPodAutoscaler) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.ClusterName) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.ClusterId) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.GroupId != 0 { - n += 1 + sovAgent(uint64(m.GroupId)) - } - if m.GroupSize != 0 { - n += 1 + sovAgent(uint64(m.GroupSize)) - } - if len(m.HorizontalPodAutoscalers) > 0 { - for _, e := range m.HorizontalPodAutoscalers { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } - } - if len(m.Tags) > 0 { - for _, s := range m.Tags { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) - } - } - return n -} - -func (m *CollectorNetworkPolicy) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.ClusterName) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.ClusterId) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.GroupId != 0 { - n += 1 + sovAgent(uint64(m.GroupId)) - } - if m.GroupSize != 0 { - n += 1 + sovAgent(uint64(m.GroupSize)) - } - if len(m.NetworkPolicies) > 0 { - for _, e := range m.NetworkPolicies { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } - } - if len(m.Tags) > 0 { - for _, s := range m.Tags { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) - } - } - return n -} - -func (m *CollectorLimitRange) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.ClusterName) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.ClusterId) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.GroupId != 0 { - n += 1 + sovAgent(uint64(m.GroupId)) - } - if m.GroupSize != 0 { - n += 1 + sovAgent(uint64(m.GroupSize)) - } - if len(m.LimitRanges) > 0 { - for _, e := range m.LimitRanges { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } - } - if len(m.Tags) > 0 { - for _, s := range m.Tags { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) - } - } - return n -} - -func (m *CollectorStorageClass) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.ClusterName) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.ClusterId) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.GroupId != 0 { - n += 1 + sovAgent(uint64(m.GroupId)) - } - if m.GroupSize != 0 { - n += 1 + sovAgent(uint64(m.GroupSize)) - } - if len(m.StorageClasses) > 0 { - for _, e := range m.StorageClasses { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } - } - if len(m.Tags) > 0 { - for _, s := range m.Tags { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) - } - } - return n -} - -func (m *CollectorStatus) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.ActiveClients != 0 { - n += 1 + sovAgent(uint64(m.ActiveClients)) - } - if m.Interval != 0 { - n += 1 + sovAgent(uint64(m.Interval)) - } - return n -} - -func (m *Process) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Key != 0 { - n += 1 + sovAgent(uint64(m.Key)) - } - if m.Pid != 0 { - n += 1 + sovAgent(uint64(m.Pid)) - } - if m.Host != nil { - l = m.Host.Size() - n += 1 + l + sovAgent(uint64(l)) - } - if m.Command != nil { - l = m.Command.Size() - n += 1 + l + sovAgent(uint64(l)) - } - if m.User != nil { - l = m.User.Size() - n += 1 + l + sovAgent(uint64(l)) - } - if m.Memory != nil { - l = m.Memory.Size() - n += 1 + l + sovAgent(uint64(l)) - } - if m.Cpu != nil { - l = m.Cpu.Size() - n += 1 + l + sovAgent(uint64(l)) - } - if m.CreateTime != 0 { - n += 1 + sovAgent(uint64(m.CreateTime)) - } - if m.Container != nil { - l = m.Container.Size() - n += 1 + l + sovAgent(uint64(l)) - } - if m.OpenFdCount != 0 { - n += 1 + sovAgent(uint64(m.OpenFdCount)) - } - if m.State != 0 { - n += 1 + sovAgent(uint64(m.State)) - } - if m.IoStat != nil { - l = m.IoStat.Size() - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.ContainerId) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.ContainerKey != 0 { - n += 1 + sovAgent(uint64(m.ContainerKey)) - } - if m.VoluntaryCtxSwitches != 0 { - n += 2 + sovAgent(uint64(m.VoluntaryCtxSwitches)) - } - if m.InvoluntaryCtxSwitches != 0 { - n += 2 + sovAgent(uint64(m.InvoluntaryCtxSwitches)) - } - l = len(m.ByteKey) - if l > 0 { - n += 2 + l + sovAgent(uint64(l)) - } - l = len(m.ContainerByteKey) - if l > 0 { - n += 2 + l + sovAgent(uint64(l)) - } - if m.NsPid != 0 { - n += 2 + sovAgent(uint64(m.NsPid)) - } - if m.Networks != nil { - l = m.Networks.Size() - n += 2 + l + sovAgent(uint64(l)) - } - if len(m.ProcessContext) > 0 { - for _, s := range m.ProcessContext { - l = len(s) - n += 2 + l + sovAgent(uint64(l)) - } - } - return n -} - -func (m *ProcessDiscovery) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Pid != 0 { - n += 1 + sovAgent(uint64(m.Pid)) - } - if m.NsPid != 0 { - n += 1 + sovAgent(uint64(m.NsPid)) - } - if m.Host != nil { - l = m.Host.Size() - n += 1 + l + sovAgent(uint64(l)) - } - if m.Command != nil { - l = m.Command.Size() - n += 1 + l + sovAgent(uint64(l)) - } - if m.User != nil { - l = m.User.Size() - n += 1 + l + sovAgent(uint64(l)) - } - if m.CreateTime != 0 { - n += 1 + sovAgent(uint64(m.CreateTime)) - } - l = len(m.ByteKey) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - return n -} - -func (m *Command) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.Args) > 0 { - for _, s := range m.Args { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) - } - } - l = len(m.Cwd) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.Root) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.OnDisk { - n += 2 - } - if m.Ppid != 0 { - n += 1 + sovAgent(uint64(m.Ppid)) - } - if m.Pgroup != 0 { - n += 1 + sovAgent(uint64(m.Pgroup)) - } - l = len(m.Exe) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.Comm) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - return n -} - -func (m *ProcessUser) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Name) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.Uid != 0 { - n += 1 + sovAgent(uint64(m.Uid)) - } - if m.Gid != 0 { - n += 1 + sovAgent(uint64(m.Gid)) - } - if m.Euid != 0 { - n += 1 + sovAgent(uint64(m.Euid)) - } - if m.Egid != 0 { - n += 1 + sovAgent(uint64(m.Egid)) - } - if m.Suid != 0 { - n += 1 + sovAgent(uint64(m.Suid)) - } - if m.Sgid != 0 { - n += 1 + sovAgent(uint64(m.Sgid)) - } - return n -} - -func (m *ProcessNetworks) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.ConnectionRate != 0 { - n += 5 - } - if m.BytesRate != 0 { - n += 5 - } - return n -} - -func (m *ContainerAddr) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Ip) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.Port != 0 { - n += 1 + sovAgent(uint64(m.Port)) - } - if m.Protocol != 0 { - n += 1 + sovAgent(uint64(m.Protocol)) - } - return n -} - -func (m *Container) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Type) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.Id) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.Name) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.Image) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.CpuLimit != 0 { - n += 5 - } - if m.MemoryLimit != 0 { - n += 1 + sovAgent(uint64(m.MemoryLimit)) - } - if m.State != 0 { - n += 1 + sovAgent(uint64(m.State)) - } - if m.Health != 0 { - n += 1 + sovAgent(uint64(m.Health)) - } - if m.Created != 0 { - n += 1 + sovAgent(uint64(m.Created)) - } - if m.Rbps != 0 { - n += 5 - } - if m.Wbps != 0 { - n += 5 - } - if m.Key != 0 { - n += 1 + sovAgent(uint64(m.Key)) - } - if m.NetRcvdPs != 0 { - n += 5 - } - if m.NetSentPs != 0 { - n += 5 - } - if m.NetRcvdBps != 0 { - n += 6 - } - if m.NetSentBps != 0 { - n += 6 - } - if m.UserPct != 0 { - n += 6 - } - if m.SystemPct != 0 { - n += 6 - } - if m.TotalPct != 0 { - n += 6 - } - if m.MemRss != 0 { - n += 2 + sovAgent(uint64(m.MemRss)) - } - if m.MemCache != 0 { - n += 2 + sovAgent(uint64(m.MemCache)) - } - if m.Host != nil { - l = m.Host.Size() - n += 2 + l + sovAgent(uint64(l)) - } - if m.Started != 0 { - n += 2 + sovAgent(uint64(m.Started)) - } - l = len(m.ByteKey) - if l > 0 { - n += 2 + l + sovAgent(uint64(l)) - } - if len(m.Tags) > 0 { - for _, s := range m.Tags { - l = len(s) - n += 2 + l + sovAgent(uint64(l)) - } - } - if len(m.Addresses) > 0 { - for _, e := range m.Addresses { - l = e.Size() - n += 2 + l + sovAgent(uint64(l)) - } - } - if m.ThreadCount != 0 { - n += 2 + sovAgent(uint64(m.ThreadCount)) - } - if m.ThreadLimit != 0 { - n += 2 + sovAgent(uint64(m.ThreadLimit)) - } - if m.MemUsage != 0 { - n += 2 + sovAgent(uint64(m.MemUsage)) - } - if m.CpuUsageNs != 0 { - n += 6 - } - if m.MemAccounted != 0 { - n += 2 + sovAgent(uint64(m.MemAccounted)) - } - if m.CpuRequest != 0 { - n += 6 - } - if m.MemoryRequest != 0 { - n += 2 + sovAgent(uint64(m.MemoryRequest)) - } - l = len(m.RepoDigest) - if l > 0 { - n += 2 + l + sovAgent(uint64(l)) - } - return n -} - -func (m *ProcessStat) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Pid != 0 { - n += 1 + sovAgent(uint64(m.Pid)) - } - if m.CreateTime != 0 { - n += 1 + sovAgent(uint64(m.CreateTime)) - } - if m.Memory != nil { - l = m.Memory.Size() - n += 1 + l + sovAgent(uint64(l)) - } - if m.Cpu != nil { - l = m.Cpu.Size() - n += 1 + l + sovAgent(uint64(l)) - } - if m.Nice != 0 { - n += 1 + sovAgent(uint64(m.Nice)) - } - if m.Threads != 0 { - n += 1 + sovAgent(uint64(m.Threads)) - } - if m.OpenFdCount != 0 { - n += 1 + sovAgent(uint64(m.OpenFdCount)) - } - if m.Key != 0 { - n += 1 + sovAgent(uint64(m.Key)) - } - l = len(m.ContainerId) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.ContainerState != 0 { - n += 1 + sovAgent(uint64(m.ContainerState)) - } - if m.ProcessState != 0 { - n += 1 + sovAgent(uint64(m.ProcessState)) - } - if m.ContainerHealth != 0 { - n += 1 + sovAgent(uint64(m.ContainerHealth)) - } - if m.ContainerRbps != 0 { - n += 6 - } - if m.ContainerWbps != 0 { - n += 6 - } - if m.ContainerKey != 0 { - n += 2 + sovAgent(uint64(m.ContainerKey)) - } - if m.IoStat != nil { - l = m.IoStat.Size() - n += 2 + l + sovAgent(uint64(l)) - } - if m.ContainerNetRcvdPs != 0 { - n += 6 - } - if m.ContainerNetSentPs != 0 { - n += 6 - } - if m.ContainerNetRcvdBps != 0 { - n += 6 - } - if m.ContainerNetSentBps != 0 { - n += 6 - } - if m.VoluntaryCtxSwitches != 0 { - n += 2 + sovAgent(uint64(m.VoluntaryCtxSwitches)) - } - if m.InvoluntaryCtxSwitches != 0 { - n += 2 + sovAgent(uint64(m.InvoluntaryCtxSwitches)) - } - l = len(m.ByteKey) - if l > 0 { - n += 2 + l + sovAgent(uint64(l)) - } - l = len(m.ContainerByteKey) - if l > 0 { - n += 2 + l + sovAgent(uint64(l)) - } - if m.Networks != nil { - l = m.Networks.Size() - n += 2 + l + sovAgent(uint64(l)) - } - return n -} - -func (m *ProcStatsWithPerm) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.OpenFDCount != 0 { - n += 1 + sovAgent(uint64(m.OpenFDCount)) - } - if m.ReadCount != 0 { - n += 1 + sovAgent(uint64(m.ReadCount)) - } - if m.WriteCount != 0 { - n += 1 + sovAgent(uint64(m.WriteCount)) - } - if m.ReadBytes != 0 { - n += 1 + sovAgent(uint64(m.ReadBytes)) - } - if m.WriteBytes != 0 { - n += 1 + sovAgent(uint64(m.WriteBytes)) - } - return n -} - -func (m *ProcStatsWithPermByPID) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.StatsByPID) > 0 { - for k, v := range m.StatsByPID { - _ = k - _ = v - l = 0 - if v != nil { - l = v.Size() - l += 1 + sovAgent(uint64(l)) - } - mapEntrySize := 1 + sovAgent(uint64(k)) + l - n += mapEntrySize + 1 + sovAgent(uint64(mapEntrySize)) - } - } - return n -} - -func (m *ContainerStat) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Id) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.UserPct != 0 { - n += 5 - } - if m.SystemPct != 0 { - n += 5 - } - if m.TotalPct != 0 { - n += 5 - } - if m.CpuLimit != 0 { - n += 5 - } - if m.MemRss != 0 { - n += 1 + sovAgent(uint64(m.MemRss)) - } - if m.MemCache != 0 { - n += 1 + sovAgent(uint64(m.MemCache)) - } - if m.MemLimit != 0 { - n += 1 + sovAgent(uint64(m.MemLimit)) - } - if m.Rbps != 0 { - n += 5 - } - if m.Wbps != 0 { - n += 5 - } - if m.NetRcvdPs != 0 { - n += 5 - } - if m.NetSentPs != 0 { - n += 5 - } - if m.NetRcvdBps != 0 { - n += 5 - } - if m.NetSentBps != 0 { - n += 5 - } - if m.State != 0 { - n += 1 + sovAgent(uint64(m.State)) - } - if m.Health != 0 { - n += 2 + sovAgent(uint64(m.Health)) - } - if m.Key != 0 { - n += 2 + sovAgent(uint64(m.Key)) - } - if m.Started != 0 { - n += 2 + sovAgent(uint64(m.Started)) - } - l = len(m.ByteKey) - if l > 0 { - n += 2 + l + sovAgent(uint64(l)) - } - if m.ThreadCount != 0 { - n += 2 + sovAgent(uint64(m.ThreadCount)) - } - if m.ThreadLimit != 0 { - n += 2 + sovAgent(uint64(m.ThreadLimit)) - } - if m.MemUsage != 0 { - n += 2 + sovAgent(uint64(m.MemUsage)) - } - if m.CpuUsageNs != 0 { - n += 6 - } - if m.MemAccounted != 0 { - n += 2 + sovAgent(uint64(m.MemAccounted)) - } - if m.CpuRequest != 0 { - n += 6 - } - if m.MemoryRequest != 0 { - n += 2 + sovAgent(uint64(m.MemoryRequest)) - } - return n -} - -func (m *SystemInfo) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Uuid) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.Os != nil { - l = m.Os.Size() - n += 1 + l + sovAgent(uint64(l)) - } - if len(m.Cpus) > 0 { - for _, e := range m.Cpus { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } - } - if m.TotalMemory != 0 { - n += 1 + sovAgent(uint64(m.TotalMemory)) - } - return n -} - -func (m *OSInfo) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Name) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.Platform) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.Family) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.Version) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.KernelVersion) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - return n -} - -func (m *IOStat) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.ReadRate != 0 { - n += 5 - } - if m.WriteRate != 0 { - n += 5 - } - if m.ReadBytesRate != 0 { - n += 5 - } - if m.WriteBytesRate != 0 { - n += 5 - } - return n -} - -func (m *MemoryStat) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Rss != 0 { - n += 1 + sovAgent(uint64(m.Rss)) - } - if m.Vms != 0 { - n += 1 + sovAgent(uint64(m.Vms)) - } - if m.Swap != 0 { - n += 1 + sovAgent(uint64(m.Swap)) - } - if m.Shared != 0 { - n += 1 + sovAgent(uint64(m.Shared)) - } - if m.Text != 0 { - n += 1 + sovAgent(uint64(m.Text)) - } - if m.Lib != 0 { - n += 1 + sovAgent(uint64(m.Lib)) - } - if m.Data != 0 { - n += 1 + sovAgent(uint64(m.Data)) - } - if m.Dirty != 0 { - n += 1 + sovAgent(uint64(m.Dirty)) - } - return n -} - -func (m *CPUStat) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.LastCpu) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.TotalPct != 0 { - n += 5 - } - if m.UserPct != 0 { - n += 5 - } - if m.SystemPct != 0 { - n += 5 - } - if m.NumThreads != 0 { - n += 1 + sovAgent(uint64(m.NumThreads)) - } - if len(m.Cpus) > 0 { - for _, e := range m.Cpus { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } - } - if m.Nice != 0 { - n += 1 + sovAgent(uint64(m.Nice)) - } - if m.UserTime != 0 { - n += 1 + sovAgent(uint64(m.UserTime)) - } - if m.SystemTime != 0 { - n += 1 + sovAgent(uint64(m.SystemTime)) - } - return n -} - -func (m *SingleCPUStat) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Name) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.TotalPct != 0 { - n += 5 - } - return n -} - -func (m *CPUInfo) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Number != 0 { - n += 1 + sovAgent(uint64(m.Number)) - } - l = len(m.Vendor) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.Family) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.Model) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.PhysicalId) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.CoreId) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.Cores != 0 { - n += 1 + sovAgent(uint64(m.Cores)) - } - if m.Mhz != 0 { - n += 1 + sovAgent(uint64(m.Mhz)) - } - if m.CacheSize != 0 { - n += 1 + sovAgent(uint64(m.CacheSize)) - } - return n -} - -func (m *Host) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Id != 0 { - n += 1 + sovAgent(uint64(m.Id)) - } - if m.OrgId != 0 { - n += 1 + sovAgent(uint64(m.OrgId)) - } - l = len(m.Name) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if len(m.AllTags) > 0 { - for _, s := range m.AllTags { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) - } - } - if m.NumCpus != 0 { - n += 1 + sovAgent(uint64(m.NumCpus)) - } - if m.TotalMemory != 0 { - n += 1 + sovAgent(uint64(m.TotalMemory)) - } - if m.TagIndex != 0 { - n += 1 + sovAgent(uint64(m.TagIndex)) - } - if m.TagsModified != 0 { - n += 1 + sovAgent(uint64(m.TagsModified)) - } - return n -} - -func (m *Cluster) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.NodeCount != 0 { - n += 1 + sovAgent(uint64(m.NodeCount)) - } - if len(m.KubeletVersions) > 0 { - for k, v := range m.KubeletVersions { - _ = k - _ = v - mapEntrySize := 1 + len(k) + sovAgent(uint64(len(k))) + 1 + sovAgent(uint64(v)) - n += mapEntrySize + 1 + sovAgent(uint64(mapEntrySize)) - } - } - if len(m.ApiServerVersions) > 0 { - for k, v := range m.ApiServerVersions { - _ = k - _ = v - mapEntrySize := 1 + len(k) + sovAgent(uint64(len(k))) + 1 + sovAgent(uint64(v)) - n += mapEntrySize + 1 + sovAgent(uint64(mapEntrySize)) - } - } - if m.PodCapacity != 0 { - n += 1 + sovAgent(uint64(m.PodCapacity)) - } - if m.PodAllocatable != 0 { - n += 1 + sovAgent(uint64(m.PodAllocatable)) - } - if m.MemoryAllocatable != 0 { - n += 1 + sovAgent(uint64(m.MemoryAllocatable)) - } - if m.MemoryCapacity != 0 { - n += 1 + sovAgent(uint64(m.MemoryCapacity)) - } - if m.CpuAllocatable != 0 { - n += 1 + sovAgent(uint64(m.CpuAllocatable)) - } - if m.CpuCapacity != 0 { - n += 1 + sovAgent(uint64(m.CpuCapacity)) - } - l = len(m.ResourceVersion) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.CreationTimestamp != 0 { - n += 1 + sovAgent(uint64(m.CreationTimestamp)) - } - if len(m.Tags) > 0 { - for _, s := range m.Tags { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) - } - } - if m.Metrics != nil { - l = m.Metrics.Size() - n += 1 + l + sovAgent(uint64(l)) - } - if len(m.ExtendedResourcesAllocatable) > 0 { - for k, v := range m.ExtendedResourcesAllocatable { - _ = k - _ = v - mapEntrySize := 1 + len(k) + sovAgent(uint64(len(k))) + 1 + sovAgent(uint64(v)) - n += mapEntrySize + 1 + sovAgent(uint64(mapEntrySize)) - } - } - if len(m.ExtendedResourcesCapacity) > 0 { - for k, v := range m.ExtendedResourcesCapacity { - _ = k - _ = v - mapEntrySize := 1 + len(k) + sovAgent(uint64(len(k))) + 1 + sovAgent(uint64(v)) - n += mapEntrySize + 1 + sovAgent(uint64(mapEntrySize)) - } - } - return n -} - -func (m *Metadata) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Name) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.Namespace) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.Uid) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.CreationTimestamp != 0 { - n += 1 + sovAgent(uint64(m.CreationTimestamp)) - } - if m.DeletionTimestamp != 0 { - n += 1 + sovAgent(uint64(m.DeletionTimestamp)) - } - if len(m.Labels) > 0 { - for _, s := range m.Labels { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) - } - } - if len(m.Annotations) > 0 { - for _, s := range m.Annotations { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) - } - } - if len(m.OwnerReferences) > 0 { - for _, e := range m.OwnerReferences { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } - } - l = len(m.ResourceVersion) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if len(m.Finalizers) > 0 { - for _, s := range m.Finalizers { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) - } - } - return n -} - -func (m *OwnerReference) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Name) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.Uid) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.Kind) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - return n -} - -func (m *ObjectReference) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Kind) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.Namespace) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.Name) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.Uid) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.ApiVersion) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.ResourceVersion) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.FieldPath) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - return n -} - -func (m *ServicePort) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Name) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.Protocol) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.Port != 0 { - n += 1 + sovAgent(uint64(m.Port)) - } - l = len(m.TargetPort) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.NodePort != 0 { - n += 1 + sovAgent(uint64(m.NodePort)) - } - return n -} - -func (m *ServiceSessionAffinityConfig) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.ClientIPTimeoutSeconds != 0 { - n += 1 + sovAgent(uint64(m.ClientIPTimeoutSeconds)) - } - return n -} - -func (m *Node) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Metadata != nil { - l = m.Metadata.Size() - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.PodCIDR) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if len(m.PodCIDRs) > 0 { - for _, s := range m.PodCIDRs { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) - } - } - if m.Unschedulable { - n += 2 - } - if len(m.Taints) > 0 { - for _, e := range m.Taints { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } - } - if m.Status != nil { - l = m.Status.Size() - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.Yaml) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if len(m.Roles) > 0 { - for _, s := range m.Roles { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) - } - } - if len(m.Tags) > 0 { - for _, s := range m.Tags { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) - } - } - l = len(m.ProviderID) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.Host != nil { - l = m.Host.Size() - n += 1 + l + sovAgent(uint64(l)) - } - if m.Metrics != nil { - l = m.Metrics.Size() - n += 1 + l + sovAgent(uint64(l)) - } - return n -} - -func (m *NodeStatus) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.Capacity) > 0 { - for k, v := range m.Capacity { - _ = k - _ = v - mapEntrySize := 1 + len(k) + sovAgent(uint64(len(k))) + 1 + sovAgent(uint64(v)) - n += mapEntrySize + 1 + sovAgent(uint64(mapEntrySize)) - } - } - if len(m.Allocatable) > 0 { - for k, v := range m.Allocatable { - _ = k - _ = v - mapEntrySize := 1 + len(k) + sovAgent(uint64(len(k))) + 1 + sovAgent(uint64(v)) - n += mapEntrySize + 1 + sovAgent(uint64(mapEntrySize)) - } - } - if len(m.NodeAddresses) > 0 { - for k, v := range m.NodeAddresses { - _ = k - _ = v - mapEntrySize := 1 + len(k) + sovAgent(uint64(len(k))) + 1 + len(v) + sovAgent(uint64(len(v))) - n += mapEntrySize + 1 + sovAgent(uint64(mapEntrySize)) - } - } - l = len(m.Status) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.KubeletVersion) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if len(m.Conditions) > 0 { - for _, e := range m.Conditions { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } - } - if len(m.Images) > 0 { - for _, e := range m.Images { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } - } - l = len(m.KubeProxyVersion) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.OperatingSystem) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.Architecture) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.KernelVersion) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.OsImage) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.ContainerRuntimeVersion) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - return n -} - -func (m *NodeCondition) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Type) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.Status) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.LastTransitionTime != 0 { - n += 1 + sovAgent(uint64(m.LastTransitionTime)) - } - l = len(m.Reason) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.Message) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - return n -} - -func (m *ContainerImage) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.Names) > 0 { - for _, s := range m.Names { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) - } - } - if m.SizeBytes != 0 { - n += 1 + sovAgent(uint64(m.SizeBytes)) - } - return n -} - -func (m *Taint) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Key) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.Value) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.Effect) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.TimeAdded != 0 { - n += 1 + sovAgent(uint64(m.TimeAdded)) - } - return n -} - -func (m *ServiceSpec) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.Ports) > 0 { - for _, e := range m.Ports { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } - } - if len(m.Selectors) > 0 { - for _, e := range m.Selectors { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } - } - l = len(m.ClusterIP) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.Type) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if len(m.ExternalIPs) > 0 { - for _, s := range m.ExternalIPs { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) - } - } - l = len(m.SessionAffinity) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.LoadBalancerIP) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if len(m.LoadBalancerSourceRanges) > 0 { - for _, s := range m.LoadBalancerSourceRanges { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) - } - } - l = len(m.ExternalName) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.ExternalTrafficPolicy) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.HealthCheckNodePort != 0 { - n += 1 + sovAgent(uint64(m.HealthCheckNodePort)) - } - if m.PublishNotReadyAddresses { - n += 2 - } - if m.SessionAffinityConfig != nil { - l = m.SessionAffinityConfig.Size() - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.IpFamily) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - return n -} - -func (m *ServiceStatus) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.LoadBalancerIngress) > 0 { - for _, s := range m.LoadBalancerIngress { - l = len(s) - n += 2 + l + sovAgent(uint64(l)) - } - } - return n -} - -func (m *Service) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Metadata != nil { - l = m.Metadata.Size() - n += 1 + l + sovAgent(uint64(l)) - } - if m.Spec != nil { - l = m.Spec.Size() - n += 1 + l + sovAgent(uint64(l)) - } - if m.Status != nil { - l = m.Status.Size() - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.Yaml) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if len(m.Tags) > 0 { - for _, s := range m.Tags { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) - } - } - if m.Metrics != nil { - l = m.Metrics.Size() - n += 1 + l + sovAgent(uint64(l)) - } - return n -} - -func (m *DeploymentCondition) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Type) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.Status) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.Reason) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.Message) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.LastUpdateTime != 0 { - n += 1 + sovAgent(uint64(m.LastUpdateTime)) - } - if m.LastTransitionTime != 0 { - n += 1 + sovAgent(uint64(m.LastTransitionTime)) - } - return n -} - -func (m *Deployment) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Metadata != nil { - l = m.Metadata.Size() - n += 1 + l + sovAgent(uint64(l)) - } - if m.ReplicasDesired != 0 { - n += 1 + sovAgent(uint64(m.ReplicasDesired)) - } - l = len(m.DeploymentStrategy) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.MaxUnavailable) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.MaxSurge) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.Paused { - n += 2 - } - if len(m.Selectors) > 0 { - for _, e := range m.Selectors { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } - } - if m.Replicas != 0 { - n += 1 + sovAgent(uint64(m.Replicas)) - } - if m.UpdatedReplicas != 0 { - n += 1 + sovAgent(uint64(m.UpdatedReplicas)) - } - if m.ReadyReplicas != 0 { - n += 1 + sovAgent(uint64(m.ReadyReplicas)) - } - if m.AvailableReplicas != 0 { - n += 1 + sovAgent(uint64(m.AvailableReplicas)) - } - if m.UnavailableReplicas != 0 { - n += 1 + sovAgent(uint64(m.UnavailableReplicas)) - } - l = len(m.ConditionMessage) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.Yaml) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if len(m.Tags) > 0 { - for _, s := range m.Tags { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) - } - } - if len(m.ResourceRequirements) > 0 { - for _, e := range m.ResourceRequirements { - l = e.Size() - n += 2 + l + sovAgent(uint64(l)) - } - } - if m.Metrics != nil { - l = m.Metrics.Size() - n += 2 + l + sovAgent(uint64(l)) - } - if len(m.Conditions) > 0 { - for _, e := range m.Conditions { - l = e.Size() - n += 2 + l + sovAgent(uint64(l)) - } - } - return n -} - -func (m *ReplicaSetCondition) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Type) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.Status) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.LastTransitionTime != 0 { - n += 1 + sovAgent(uint64(m.LastTransitionTime)) - } - l = len(m.Reason) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.Message) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - return n -} - -func (m *ReplicaSet) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Metadata != nil { - l = m.Metadata.Size() - n += 1 + l + sovAgent(uint64(l)) - } - if m.ReplicasDesired != 0 { - n += 1 + sovAgent(uint64(m.ReplicasDesired)) - } - if len(m.Selectors) > 0 { - for _, e := range m.Selectors { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } - } - if m.Replicas != 0 { - n += 1 + sovAgent(uint64(m.Replicas)) - } - if m.FullyLabeledReplicas != 0 { - n += 1 + sovAgent(uint64(m.FullyLabeledReplicas)) - } - if m.ReadyReplicas != 0 { - n += 1 + sovAgent(uint64(m.ReadyReplicas)) - } - if m.AvailableReplicas != 0 { - n += 1 + sovAgent(uint64(m.AvailableReplicas)) - } - l = len(m.Yaml) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if len(m.Tags) > 0 { - for _, s := range m.Tags { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) - } - } - if len(m.ResourceRequirements) > 0 { - for _, e := range m.ResourceRequirements { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } - } - if m.Metrics != nil { - l = m.Metrics.Size() - n += 1 + l + sovAgent(uint64(l)) - } - if len(m.Conditions) > 0 { - for _, e := range m.Conditions { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } - } - return n -} - -func (m *LabelSelectorRequirement) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Key) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.Operator) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if len(m.Values) > 0 { - for _, s := range m.Values { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) - } - } - return n -} - -func (m *PodDisruptionBudget) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Metadata != nil { - l = m.Metadata.Size() - n += 1 + l + sovAgent(uint64(l)) - } - if m.Spec != nil { - l = m.Spec.Size() - n += 1 + l + sovAgent(uint64(l)) - } - if m.Status != nil { - l = m.Status.Size() - n += 1 + l + sovAgent(uint64(l)) - } - if len(m.Tags) > 0 { - for _, s := range m.Tags { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) - } - } - return n -} - -func (m *PodDisruptionBudgetSpec) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.MinAvailable != nil { - l = m.MinAvailable.Size() - n += 1 + l + sovAgent(uint64(l)) - } - if len(m.Selector) > 0 { - for _, e := range m.Selector { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } - } - if m.MaxUnavailable != nil { - l = m.MaxUnavailable.Size() - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.UnhealthyPodEvictionPolicy) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - return n -} - -func (m *PodDisruptionBudgetStatus) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.DisruptedPods) > 0 { - for k, v := range m.DisruptedPods { - _ = k - _ = v - mapEntrySize := 1 + len(k) + sovAgent(uint64(len(k))) + 1 + sovAgent(uint64(v)) - n += mapEntrySize + 1 + sovAgent(uint64(mapEntrySize)) - } - } - if m.DisruptionsAllowed != 0 { - n += 1 + sovAgent(uint64(m.DisruptionsAllowed)) - } - if m.CurrentHealthy != 0 { - n += 1 + sovAgent(uint64(m.CurrentHealthy)) - } - if m.DesiredHealthy != 0 { - n += 1 + sovAgent(uint64(m.DesiredHealthy)) - } - if m.ExpectedPods != 0 { - n += 1 + sovAgent(uint64(m.ExpectedPods)) - } - if len(m.Conditions) > 0 { - for _, e := range m.Conditions { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } - } - return n -} - -func (m *IntOrString) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Type != 0 { - n += 1 + sovAgent(uint64(m.Type)) - } - if m.IntVal != 0 { - n += 1 + sovAgent(uint64(m.IntVal)) - } - l = len(m.StrVal) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - return n -} - -func (m *Condition) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Type) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.Status) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.LastTransitionTime != 0 { - n += 1 + sovAgent(uint64(m.LastTransitionTime)) - } - l = len(m.Reason) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.Message) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - return n -} - -func (m *Pod) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Metadata != nil { - l = m.Metadata.Size() - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.IP) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.NominatedNodeName) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.NodeName) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.Phase) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.RestartCount != 0 { - n += 1 + sovAgent(uint64(m.RestartCount)) - } - if len(m.ContainerStatuses) > 0 { - for _, e := range m.ContainerStatuses { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } - } - l = len(m.ConditionMessage) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.Status) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.Yaml) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if len(m.Tags) > 0 { - for _, s := range m.Tags { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) - } - } - if m.Host != nil { - l = m.Host.Size() - n += 1 + l + sovAgent(uint64(l)) - } - if len(m.ResourceRequirements) > 0 { - for _, e := range m.ResourceRequirements { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } - } - if len(m.InitContainerStatuses) > 0 { - for _, e := range m.InitContainerStatuses { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } - } - l = len(m.QOSClass) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.PriorityClass) - if l > 0 { - n += 2 + l + sovAgent(uint64(l)) - } - if m.Metrics != nil { - l = m.Metrics.Size() - n += 2 + l + sovAgent(uint64(l)) - } - if m.StartTime != 0 { - n += 2 + sovAgent(uint64(m.StartTime)) - } - if m.ScheduledTime != 0 { - n += 2 + sovAgent(uint64(m.ScheduledTime)) - } - if len(m.Conditions) > 0 { - for _, e := range m.Conditions { - l = e.Size() - n += 2 + l + sovAgent(uint64(l)) - } - } - return n -} - -func (m *PodCondition) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Type) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.Status) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.LastProbeTime != 0 { - n += 1 + sovAgent(uint64(m.LastProbeTime)) - } - if m.LastTransitionTime != 0 { - n += 1 + sovAgent(uint64(m.LastTransitionTime)) - } - l = len(m.Reason) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.Message) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - return n -} - -func (m *ContainerStatus) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Name) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.ContainerID) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.Ready { - n += 2 - } - if m.RestartCount != 0 { - n += 1 + sovAgent(uint64(m.RestartCount)) - } - l = len(m.State) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.Message) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.Image) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.ImageID) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - return n -} - -func (m *Manifest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Type != 0 { - n += 1 + sovAgent(uint64(m.Type)) - } - l = len(m.ResourceVersion) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.Uid) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.Content) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.ContentType) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.Version) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - return n -} - -func (m *NamespaceCondition) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Type) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.Status) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.LastTransitionTime != 0 { - n += 1 + sovAgent(uint64(m.LastTransitionTime)) - } - l = len(m.Reason) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.Message) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - return n -} - -func (m *Namespace) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Metadata != nil { - l = m.Metadata.Size() - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.Status) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.ConditionMessage) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.Yaml) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if len(m.Tags) > 0 { - for _, s := range m.Tags { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) - } - } - if len(m.Conditions) > 0 { - for _, e := range m.Conditions { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } - } - return n -} - -func (m *ResourceRequirements) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.Limits) > 0 { - for k, v := range m.Limits { - _ = k - _ = v - mapEntrySize := 1 + len(k) + sovAgent(uint64(len(k))) + 1 + sovAgent(uint64(v)) - n += mapEntrySize + 1 + sovAgent(uint64(mapEntrySize)) - } - } - if len(m.Requests) > 0 { - for k, v := range m.Requests { - _ = k - _ = v - mapEntrySize := 1 + len(k) + sovAgent(uint64(len(k))) + 1 + sovAgent(uint64(v)) - n += mapEntrySize + 1 + sovAgent(uint64(mapEntrySize)) - } - } - l = len(m.Name) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.Type != 0 { - n += 1 + sovAgent(uint64(m.Type)) - } - return n -} - -func (m *ResourceMetrics) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.MetricValues) > 0 { - for k, v := range m.MetricValues { - _ = k - _ = v - mapEntrySize := 1 + len(k) + sovAgent(uint64(len(k))) + 1 + 8 - n += mapEntrySize + 1 + sovAgent(uint64(mapEntrySize)) - } - } - return n -} - -func (m *JobSpec) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Parallelism != 0 { - n += 1 + sovAgent(uint64(m.Parallelism)) - } - if m.Completions != 0 { - n += 1 + sovAgent(uint64(m.Completions)) - } - if m.ActiveDeadlineSeconds != 0 { - n += 1 + sovAgent(uint64(m.ActiveDeadlineSeconds)) - } - if m.BackoffLimit != 0 { - n += 1 + sovAgent(uint64(m.BackoffLimit)) - } - if len(m.Selectors) > 0 { - for _, e := range m.Selectors { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } - } - if m.ManualSelector { - n += 2 - } - if len(m.ResourceRequirements) > 0 { - for _, e := range m.ResourceRequirements { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } - } - return n -} - -func (m *JobStatus) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.ConditionMessage) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.StartTime != 0 { - n += 1 + sovAgent(uint64(m.StartTime)) - } - if m.CompletionTime != 0 { - n += 1 + sovAgent(uint64(m.CompletionTime)) - } - if m.Active != 0 { - n += 1 + sovAgent(uint64(m.Active)) - } - if m.Succeeded != 0 { - n += 1 + sovAgent(uint64(m.Succeeded)) - } - if m.Failed != 0 { - n += 1 + sovAgent(uint64(m.Failed)) - } - return n -} - -func (m *JobCondition) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Type) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.Status) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.LastProbeTime != 0 { - n += 1 + sovAgent(uint64(m.LastProbeTime)) - } - if m.LastTransitionTime != 0 { - n += 1 + sovAgent(uint64(m.LastTransitionTime)) - } - l = len(m.Reason) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.Message) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - return n -} - -func (m *Job) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Metadata != nil { - l = m.Metadata.Size() - n += 1 + l + sovAgent(uint64(l)) - } - if m.Spec != nil { - l = m.Spec.Size() - n += 1 + l + sovAgent(uint64(l)) - } - if m.Status != nil { - l = m.Status.Size() - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.Yaml) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if len(m.Tags) > 0 { - for _, s := range m.Tags { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) - } - } - if len(m.Conditions) > 0 { - for _, e := range m.Conditions { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } - } - return n -} - -func (m *CronJobSpec) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Schedule) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.StartingDeadlineSeconds != 0 { - n += 1 + sovAgent(uint64(m.StartingDeadlineSeconds)) - } - l = len(m.ConcurrencyPolicy) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.Suspend { - n += 2 - } - if m.SuccessfulJobsHistoryLimit != 0 { - n += 1 + sovAgent(uint64(m.SuccessfulJobsHistoryLimit)) - } - if m.FailedJobsHistoryLimit != 0 { - n += 1 + sovAgent(uint64(m.FailedJobsHistoryLimit)) - } - if len(m.ResourceRequirements) > 0 { - for _, e := range m.ResourceRequirements { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } - } - return n -} - -func (m *CronJobStatus) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.Active) > 0 { - for _, e := range m.Active { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } - } - if m.LastScheduleTime != 0 { - n += 1 + sovAgent(uint64(m.LastScheduleTime)) - } - if m.LastSuccessfulTime != 0 { - n += 1 + sovAgent(uint64(m.LastSuccessfulTime)) - } - return n -} - -func (m *CronJob) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Metadata != nil { - l = m.Metadata.Size() - n += 1 + l + sovAgent(uint64(l)) - } - if m.Spec != nil { - l = m.Spec.Size() - n += 1 + l + sovAgent(uint64(l)) - } - if m.Status != nil { - l = m.Status.Size() - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.Yaml) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if len(m.Tags) > 0 { - for _, s := range m.Tags { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) - } - } - return n -} - -func (m *DaemonSetSpec) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.Selectors) > 0 { - for _, e := range m.Selectors { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } - } - l = len(m.DeploymentStrategy) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.MaxUnavailable) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.MinReadySeconds != 0 { - n += 1 + sovAgent(uint64(m.MinReadySeconds)) - } - if m.RevisionHistoryLimit != 0 { - n += 1 + sovAgent(uint64(m.RevisionHistoryLimit)) - } - if len(m.ResourceRequirements) > 0 { - for _, e := range m.ResourceRequirements { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } - } - return n -} - -func (m *DaemonSetStatus) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.CurrentNumberScheduled != 0 { - n += 1 + sovAgent(uint64(m.CurrentNumberScheduled)) - } - if m.NumberMisscheduled != 0 { - n += 1 + sovAgent(uint64(m.NumberMisscheduled)) - } - if m.DesiredNumberScheduled != 0 { - n += 1 + sovAgent(uint64(m.DesiredNumberScheduled)) - } - if m.NumberReady != 0 { - n += 1 + sovAgent(uint64(m.NumberReady)) - } - if m.UpdatedNumberScheduled != 0 { - n += 1 + sovAgent(uint64(m.UpdatedNumberScheduled)) - } - if m.NumberAvailable != 0 { - n += 1 + sovAgent(uint64(m.NumberAvailable)) - } - if m.NumberUnavailable != 0 { - n += 1 + sovAgent(uint64(m.NumberUnavailable)) - } - return n -} - -func (m *DaemonSetCondition) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Type) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.Status) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.LastTransitionTime != 0 { - n += 1 + sovAgent(uint64(m.LastTransitionTime)) - } - l = len(m.Reason) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.Message) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - return n -} - -func (m *DaemonSet) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Metadata != nil { - l = m.Metadata.Size() - n += 1 + l + sovAgent(uint64(l)) - } - if m.Spec != nil { - l = m.Spec.Size() - n += 1 + l + sovAgent(uint64(l)) - } - if m.Status != nil { - l = m.Status.Size() - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.Yaml) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if len(m.Tags) > 0 { - for _, s := range m.Tags { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) - } - } - if m.Metrics != nil { - l = m.Metrics.Size() - n += 1 + l + sovAgent(uint64(l)) - } - if len(m.Conditions) > 0 { - for _, e := range m.Conditions { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } - } - return n -} - -func (m *StatefulSetSpec) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.DesiredReplicas != 0 { - n += 1 + sovAgent(uint64(m.DesiredReplicas)) - } - if len(m.Selectors) > 0 { - for _, e := range m.Selectors { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } - } - l = len(m.ServiceName) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.PodManagementPolicy) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.UpdateStrategy) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.Partition != 0 { - n += 1 + sovAgent(uint64(m.Partition)) - } - if len(m.ResourceRequirements) > 0 { - for _, e := range m.ResourceRequirements { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } - } - return n -} - -func (m *StatefulSetStatus) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Replicas != 0 { - n += 1 + sovAgent(uint64(m.Replicas)) - } - if m.ReadyReplicas != 0 { - n += 1 + sovAgent(uint64(m.ReadyReplicas)) - } - if m.CurrentReplicas != 0 { - n += 1 + sovAgent(uint64(m.CurrentReplicas)) - } - if m.UpdatedReplicas != 0 { - n += 1 + sovAgent(uint64(m.UpdatedReplicas)) - } - return n -} - -func (m *StatefulSetCondition) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Type) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.Status) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.LastTransitionTime != 0 { - n += 1 + sovAgent(uint64(m.LastTransitionTime)) - } - l = len(m.Reason) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.Message) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - return n -} - -func (m *StatefulSet) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Metadata != nil { - l = m.Metadata.Size() - n += 1 + l + sovAgent(uint64(l)) - } - if m.Spec != nil { - l = m.Spec.Size() - n += 1 + l + sovAgent(uint64(l)) - } - if m.Status != nil { - l = m.Status.Size() - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.Yaml) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if len(m.Tags) > 0 { - for _, s := range m.Tags { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) - } - } - if m.Metrics != nil { - l = m.Metrics.Size() - n += 1 + l + sovAgent(uint64(l)) - } - if len(m.Conditions) > 0 { - for _, e := range m.Conditions { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } - } - return n -} - -func (m *PersistentVolume) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Metadata != nil { - l = m.Metadata.Size() - n += 1 + l + sovAgent(uint64(l)) - } - if m.Spec != nil { - l = m.Spec.Size() - n += 1 + l + sovAgent(uint64(l)) - } - if m.Status != nil { - l = m.Status.Size() - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.Yaml) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if len(m.Tags) > 0 { - for _, s := range m.Tags { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) - } - } - return n -} - -func (m *PersistentVolumeSpec) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.Capacity) > 0 { - for k, v := range m.Capacity { - _ = k - _ = v - mapEntrySize := 1 + len(k) + sovAgent(uint64(len(k))) + 1 + sovAgent(uint64(v)) - n += mapEntrySize + 1 + sovAgent(uint64(mapEntrySize)) - } - } - l = len(m.PersistentVolumeType) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if len(m.AccessModes) > 0 { - for _, s := range m.AccessModes { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) - } - } - if m.ClaimRef != nil { - l = m.ClaimRef.Size() - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.PersistentVolumeReclaimPolicy) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.StorageClassName) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if len(m.MountOptions) > 0 { - for _, s := range m.MountOptions { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) - } - } - l = len(m.VolumeMode) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if len(m.NodeAffinity) > 0 { - for _, e := range m.NodeAffinity { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } - } - if m.PersistentVolumeSource != nil { - l = m.PersistentVolumeSource.Size() - n += 1 + l + sovAgent(uint64(l)) - } - return n -} - -func (m *PersistentVolumeSource) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.GcePersistentDisk != nil { - l = m.GcePersistentDisk.Size() - n += 1 + l + sovAgent(uint64(l)) - } - if m.AwsElasticBlockStore != nil { - l = m.AwsElasticBlockStore.Size() - n += 1 + l + sovAgent(uint64(l)) - } - if m.AzureFile != nil { - l = m.AzureFile.Size() - n += 1 + l + sovAgent(uint64(l)) - } - if m.AzureDisk != nil { - l = m.AzureDisk.Size() - n += 1 + l + sovAgent(uint64(l)) - } - if m.Csi != nil { - l = m.Csi.Size() - n += 1 + l + sovAgent(uint64(l)) - } - return n -} - -func (m *GCEPersistentDiskVolumeSource) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.PdName) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.FsType) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.Partition != 0 { - n += 1 + sovAgent(uint64(m.Partition)) - } - if m.ReadOnly { - n += 2 - } - return n -} - -func (m *AWSElasticBlockStoreVolumeSource) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.VolumeID) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.FsType) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.Partition != 0 { - n += 1 + sovAgent(uint64(m.Partition)) - } - if m.ReadOnly { - n += 2 - } - return n -} - -func (m *AzureFilePersistentVolumeSource) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.SecretName) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.ShareName) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.ReadOnly { - n += 2 - } - l = len(m.SecretNamespace) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - return n -} - -func (m *AzureDiskVolumeSource) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.DiskName) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.DiskURI) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.CachingMode) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.FsType) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.ReadOnly { - n += 2 - } - l = len(m.Kind) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - return n -} - -func (m *CSIVolumeSource) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Driver) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.VolumeHandle) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.ReadOnly { - n += 2 - } - l = len(m.FsType) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if len(m.VolumeAttributes) > 0 { - for k, v := range m.VolumeAttributes { - _ = k - _ = v - mapEntrySize := 1 + len(k) + sovAgent(uint64(len(k))) + 1 + len(v) + sovAgent(uint64(len(v))) - n += mapEntrySize + 1 + sovAgent(uint64(mapEntrySize)) - } - } - if m.ControllerPublishSecretRef != nil { - l = m.ControllerPublishSecretRef.Size() - n += 1 + l + sovAgent(uint64(l)) - } - if m.NodeStageSecretRef != nil { - l = m.NodeStageSecretRef.Size() - n += 1 + l + sovAgent(uint64(l)) - } - if m.NodePublishSecretRef != nil { - l = m.NodePublishSecretRef.Size() - n += 1 + l + sovAgent(uint64(l)) - } - if m.ControllerExpandSecretRef != nil { - l = m.ControllerExpandSecretRef.Size() - n += 1 + l + sovAgent(uint64(l)) - } - if m.NodeExpandSecretRef != nil { - l = m.NodeExpandSecretRef.Size() - n += 1 + l + sovAgent(uint64(l)) - } - return n -} - -func (m *SecretReference) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Name) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.Namespace) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - return n -} - -func (m *PersistentVolumeStatus) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Phase) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.Message) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.Reason) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - return n -} - -func (m *NodeSelectorTerm) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.MatchExpressions) > 0 { - for _, e := range m.MatchExpressions { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } - } - if len(m.MatchFields) > 0 { - for _, e := range m.MatchFields { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } - } - return n -} - -func (m *PersistentVolumeClaim) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Metadata != nil { - l = m.Metadata.Size() - n += 1 + l + sovAgent(uint64(l)) - } - if m.Spec != nil { - l = m.Spec.Size() - n += 1 + l + sovAgent(uint64(l)) - } - if m.Status != nil { - l = m.Status.Size() - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.Yaml) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if len(m.Tags) > 0 { - for _, s := range m.Tags { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) - } - } - return n -} - -func (m *PersistentVolumeClaimStatus) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Phase) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if len(m.AccessModes) > 0 { - for _, s := range m.AccessModes { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) - } - } - if len(m.Capacity) > 0 { - for k, v := range m.Capacity { - _ = k - _ = v - mapEntrySize := 1 + len(k) + sovAgent(uint64(len(k))) + 1 + sovAgent(uint64(v)) - n += mapEntrySize + 1 + sovAgent(uint64(mapEntrySize)) - } - } - if len(m.Conditions) > 0 { - for _, e := range m.Conditions { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } - } - return n -} - -func (m *PersistentVolumeClaimSpec) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.AccessModes) > 0 { - for _, s := range m.AccessModes { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) - } - } - if m.Resources != nil { - l = m.Resources.Size() - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.VolumeName) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if len(m.Selector) > 0 { - for _, e := range m.Selector { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } - } - l = len(m.StorageClassName) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.VolumeMode) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.DataSource != nil { - l = m.DataSource.Size() - n += 1 + l + sovAgent(uint64(l)) - } - return n -} - -func (m *TypedLocalObjectReference) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.ApiGroup) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.Kind) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.Name) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - return n -} - -func (m *PersistentVolumeClaimCondition) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Type) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.Status) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.LastProbeTime != 0 { - n += 1 + sovAgent(uint64(m.LastProbeTime)) - } - if m.LastTransitionTime != 0 { - n += 1 + sovAgent(uint64(m.LastTransitionTime)) - } - l = len(m.Reason) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.Message) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - return n -} - -func (m *PolicyRule) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.Verbs) > 0 { - for _, s := range m.Verbs { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) - } - } - if len(m.ApiGroups) > 0 { - for _, s := range m.ApiGroups { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) - } - } - if len(m.Resources) > 0 { - for _, s := range m.Resources { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) - } - } - if len(m.ResourceNames) > 0 { - for _, s := range m.ResourceNames { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) - } - } - if len(m.NonResourceURLs) > 0 { - for _, s := range m.NonResourceURLs { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) - } - } - return n -} - -func (m *Subject) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Kind) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.ApiGroup) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.Name) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.Namespace) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - return n -} - -func (m *Role) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Metadata != nil { - l = m.Metadata.Size() - n += 1 + l + sovAgent(uint64(l)) - } - if len(m.Rules) > 0 { - for _, e := range m.Rules { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } - } - l = len(m.Yaml) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if len(m.Tags) > 0 { - for _, s := range m.Tags { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) - } - } - return n -} - -func (m *RoleBinding) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Metadata != nil { - l = m.Metadata.Size() - n += 1 + l + sovAgent(uint64(l)) - } - if len(m.Subjects) > 0 { - for _, e := range m.Subjects { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } - } - if m.RoleRef != nil { - l = m.RoleRef.Size() - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.Yaml) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if len(m.Tags) > 0 { - for _, s := range m.Tags { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) - } - } - return n -} - -func (m *ClusterRole) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Metadata != nil { - l = m.Metadata.Size() - n += 1 + l + sovAgent(uint64(l)) - } - if len(m.Rules) > 0 { - for _, e := range m.Rules { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } - } - if len(m.AggregationRules) > 0 { - for _, e := range m.AggregationRules { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } - } - l = len(m.Yaml) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if len(m.Tags) > 0 { - for _, s := range m.Tags { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) - } - } - if m.Metrics != nil { - l = m.Metrics.Size() - n += 1 + l + sovAgent(uint64(l)) - } - return n -} - -func (m *ClusterRoleBinding) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Metadata != nil { - l = m.Metadata.Size() - n += 1 + l + sovAgent(uint64(l)) - } - if len(m.Subjects) > 0 { - for _, e := range m.Subjects { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } - } - if m.RoleRef != nil { - l = m.RoleRef.Size() - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.Yaml) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if len(m.Tags) > 0 { - for _, s := range m.Tags { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) - } - } - return n -} - -func (m *ServiceAccount) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Metadata != nil { - l = m.Metadata.Size() - n += 1 + l + sovAgent(uint64(l)) - } - if len(m.Secrets) > 0 { - for _, e := range m.Secrets { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } - } - if len(m.ImagePullSecrets) > 0 { - for _, e := range m.ImagePullSecrets { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } - } - if m.AutomountServiceAccountToken { - n += 2 - } - l = len(m.Yaml) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if len(m.Tags) > 0 { - for _, s := range m.Tags { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) - } - } - return n -} - -func (m *IngressServiceBackend) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.ServiceName) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.PortName) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.PortNumber != 0 { - n += 1 + sovAgent(uint64(m.PortNumber)) - } - return n -} - -func (m *IngressBackend) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Service != nil { - l = m.Service.Size() - n += 1 + l + sovAgent(uint64(l)) - } - if m.Resource != nil { - l = m.Resource.Size() - n += 1 + l + sovAgent(uint64(l)) - } - return n -} - -func (m *IngressTLS) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.Hosts) > 0 { - for _, s := range m.Hosts { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) - } - } - l = len(m.SecretName) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - return n -} - -func (m *HTTPIngressPath) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Path) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.Backend != nil { - l = m.Backend.Size() - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.PathType) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - return n -} - -func (m *IngressRule) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Host) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if len(m.HttpPaths) > 0 { - for _, e := range m.HttpPaths { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } - } - return n -} - -func (m *IngressSpec) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.DefaultBackend != nil { - l = m.DefaultBackend.Size() - n += 1 + l + sovAgent(uint64(l)) - } - if len(m.Tls) > 0 { - for _, e := range m.Tls { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } - } - if len(m.Rules) > 0 { - for _, e := range m.Rules { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } - } - l = len(m.IngressClassName) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - return n -} - -func (m *PortStatus) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Port != 0 { - n += 1 + sovAgent(uint64(m.Port)) - } - l = len(m.Protocol) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.Error) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - return n -} - -func (m *LoadBalancerIngress) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Ip) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.Hostname) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if len(m.Ports) > 0 { - for _, e := range m.Ports { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } - } - return n -} - -func (m *IngressStatus) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.Ingress) > 0 { - for _, e := range m.Ingress { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } - } - return n -} - -func (m *Ingress) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Metadata != nil { - l = m.Metadata.Size() - n += 1 + l + sovAgent(uint64(l)) - } - if m.Spec != nil { - l = m.Spec.Size() - n += 1 + l + sovAgent(uint64(l)) - } - if m.Status != nil { - l = m.Status.Size() - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.Yaml) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if len(m.Tags) > 0 { - for _, s := range m.Tags { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) - } - } - return n -} - -func (m *KafkaStats) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Count != 0 { - n += 1 + sovAgent(uint64(m.Count)) - } - l = len(m.Latencies) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.FirstLatencySample != 0 { - n += 9 - } - return n -} - -func (m *KafkaRequestHeader) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.RequestType != 0 { - n += 1 + sovAgent(uint64(m.RequestType)) - } - if m.RequestVersion != 0 { - n += 1 + sovAgent(uint64(m.RequestVersion)) - } - return n -} - -func (m *KafkaAggregation) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Header != nil { - l = m.Header.Size() - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.Topic) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.Count != 0 { - n += 1 + sovAgent(uint64(m.Count)) - } - if len(m.StatsByErrorCode) > 0 { - for k, v := range m.StatsByErrorCode { - _ = k - _ = v - l = 0 - if v != nil { - l = v.Size() - l += 1 + sovAgent(uint64(l)) - } - mapEntrySize := 1 + sovAgent(uint64(k)) + l - n += mapEntrySize + 1 + sovAgent(uint64(mapEntrySize)) - } - } - return n -} - -func (m *DataStreamsAggregations) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.KafkaAggregations) > 0 { - for _, e := range m.KafkaAggregations { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } - } - return n -} - -func (m *PostgresStats) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.TableName) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.Operation != 0 { - n += 1 + sovAgent(uint64(m.Operation)) - } - l = len(m.Latencies) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.FirstLatencySample != 0 { - n += 9 - } - if m.Count != 0 { - n += 1 + sovAgent(uint64(m.Count)) - } - return n -} - -func (m *RedisStats) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - return n -} - -func (m *DatabaseStats) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.DbStats != nil { - n += m.DbStats.Size() - } - return n -} - -func (m *DatabaseStats_Postgres) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Postgres != nil { - l = m.Postgres.Size() - n += 1 + l + sovAgent(uint64(l)) - } - return n -} -func (m *DatabaseStats_Redis) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Redis != nil { - l = m.Redis.Size() - n += 1 + l + sovAgent(uint64(l)) - } - return n -} -func (m *DatabaseAggregations) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.Aggregations) > 0 { - for _, e := range m.Aggregations { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } - } - return n -} - -func (m *HTTPAggregations) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.EndpointAggregations) > 0 { - for _, e := range m.EndpointAggregations { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } - } - return n -} - -func (m *HTTP2Aggregations) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.EndpointAggregations) > 0 { - for _, e := range m.EndpointAggregations { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } - } - return n -} - -func (m *HTTPStats) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.StatsByResponseStatus) > 0 { - for _, e := range m.StatsByResponseStatus { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } - } - if len(m.StatsByStatusCode) > 0 { - for k, v := range m.StatsByStatusCode { - _ = k - _ = v - l = 0 - if v != nil { - l = v.Size() - l += 1 + sovAgent(uint64(l)) - } - mapEntrySize := 1 + sovAgent(uint64(k)) + l - n += mapEntrySize + 1 + sovAgent(uint64(mapEntrySize)) - } - } - l = len(m.Path) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.Method != 0 { - n += 1 + sovAgent(uint64(m.Method)) - } - if m.FullPath { - n += 2 - } - return n -} - -func (m *HTTPStats_Data) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Count != 0 { - n += 1 + sovAgent(uint64(m.Count)) - } - l = len(m.Latencies) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.FirstLatencySample != 0 { - n += 9 - } - return n -} - -func (m *DNSDatabaseEntry) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.NameOffsets) > 0 { - for _, e := range m.NameOffsets { - n += 1 + sovAgent(uint64(e)) - } - } - return n -} - -func (m *ResourceList) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.MetricValues) > 0 { - for k, v := range m.MetricValues { - _ = k - _ = v - mapEntrySize := 1 + len(k) + sovAgent(uint64(len(k))) + 1 + 8 - n += mapEntrySize + 1 + sovAgent(uint64(mapEntrySize)) - } - } - return n -} - -func (m *VerticalPodAutoscaler) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Metadata != nil { - l = m.Metadata.Size() - n += 1 + l + sovAgent(uint64(l)) - } - if m.Spec != nil { - l = m.Spec.Size() - n += 1 + l + sovAgent(uint64(l)) - } - if m.Status != nil { - l = m.Status.Size() - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.Yaml) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if len(m.Tags) > 0 { - for _, s := range m.Tags { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) - } - } - if len(m.Conditions) > 0 { - for _, e := range m.Conditions { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } - } - return n -} - -func (m *VerticalPodAutoscalerCondition) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Type) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.Status) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.LastTransitionTime != 0 { - n += 1 + sovAgent(uint64(m.LastTransitionTime)) - } - l = len(m.Reason) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.Message) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - return n -} - -func (m *VerticalPodAutoscalerSpec) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Target != nil { - l = m.Target.Size() - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.UpdateMode) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if len(m.ResourcePolicies) > 0 { - for _, e := range m.ResourcePolicies { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } - } - return n -} - -func (m *VerticalPodAutoscalerTarget) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Kind) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.Name) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - return n -} - -func (m *ContainerResourcePolicy) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.ContainerName) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.Mode) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.MinAllowed != nil { - l = m.MinAllowed.Size() - n += 1 + l + sovAgent(uint64(l)) - } - if m.MaxAllowed != nil { - l = m.MaxAllowed.Size() - n += 1 + l + sovAgent(uint64(l)) - } - if len(m.ControlledResource) > 0 { - for _, s := range m.ControlledResource { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) - } - } - l = len(m.ControlledValues) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - return n -} - -func (m *VerticalPodAutoscalerStatus) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.LastRecommendedDate != 0 { - n += 1 + sovAgent(uint64(m.LastRecommendedDate)) - } - if len(m.Recommendations) > 0 { - for _, e := range m.Recommendations { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } - } - if len(m.Conditions) > 0 { - for _, e := range m.Conditions { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } - } - return n -} - -func (m *ContainerRecommendation) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.ContainerName) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.Target != nil { - l = m.Target.Size() - n += 1 + l + sovAgent(uint64(l)) - } - if m.LowerBound != nil { - l = m.LowerBound.Size() - n += 1 + l + sovAgent(uint64(l)) - } - if m.UpperBound != nil { - l = m.UpperBound.Size() - n += 1 + l + sovAgent(uint64(l)) - } - if m.UncappedTarget != nil { - l = m.UncappedTarget.Size() - n += 1 + l + sovAgent(uint64(l)) - } - return n -} - -func (m *VPACondition) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.ConditionType) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.ConditionStatus) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.LastTransitionTime != 0 { - n += 1 + sovAgent(uint64(m.LastTransitionTime)) - } - l = len(m.Reason) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.Message) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - return n -} - -func (m *HorizontalPodAutoscaler) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Metadata != nil { - l = m.Metadata.Size() - n += 1 + l + sovAgent(uint64(l)) - } - if m.Spec != nil { - l = m.Spec.Size() - n += 1 + l + sovAgent(uint64(l)) - } - if m.Status != nil { - l = m.Status.Size() - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.Yaml) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if len(m.Tags) > 0 { - for _, s := range m.Tags { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) - } - } - if len(m.Conditions) > 0 { - for _, e := range m.Conditions { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } - } - return n -} - -func (m *HorizontalPodAutoscalerSpec) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Target != nil { - l = m.Target.Size() - n += 1 + l + sovAgent(uint64(l)) - } - if m.MinReplicas != 0 { - n += 1 + sovAgent(uint64(m.MinReplicas)) - } - if m.MaxReplicas != 0 { - n += 1 + sovAgent(uint64(m.MaxReplicas)) - } - if len(m.Metrics) > 0 { - for _, e := range m.Metrics { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } - } - if m.Behavior != nil { - l = m.Behavior.Size() - n += 1 + l + sovAgent(uint64(l)) - } - return n -} - -func (m *HorizontalPodAutoscalerTarget) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Kind) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.Name) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - return n -} - -func (m *HorizontalPodAutoscalerMetricSpec) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Type) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.Object != nil { - l = m.Object.Size() - n += 1 + l + sovAgent(uint64(l)) - } - if m.Pods != nil { - l = m.Pods.Size() - n += 1 + l + sovAgent(uint64(l)) - } - if m.Resource != nil { - l = m.Resource.Size() - n += 1 + l + sovAgent(uint64(l)) - } - if m.ContainerResource != nil { - l = m.ContainerResource.Size() - n += 1 + l + sovAgent(uint64(l)) - } - if m.External != nil { - l = m.External.Size() - n += 1 + l + sovAgent(uint64(l)) - } - return n -} - -func (m *ObjectMetricSource) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.DescribedObject != nil { - l = m.DescribedObject.Size() - n += 1 + l + sovAgent(uint64(l)) - } - if m.Target != nil { - l = m.Target.Size() - n += 1 + l + sovAgent(uint64(l)) - } - if m.Metric != nil { - l = m.Metric.Size() - n += 1 + l + sovAgent(uint64(l)) - } - return n -} - -func (m *MetricTarget) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Type) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.Value != 0 { - n += 1 + sovAgent(uint64(m.Value)) - } - return n -} - -func (m *MetricIdentifier) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Name) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if len(m.LabelSelector) > 0 { - for _, e := range m.LabelSelector { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } - } - return n -} - -func (m *PodsMetricSource) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Metric != nil { - l = m.Metric.Size() - n += 1 + l + sovAgent(uint64(l)) - } - if m.Target != nil { - l = m.Target.Size() - n += 1 + l + sovAgent(uint64(l)) - } - return n -} - -func (m *ResourceMetricSource) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.ResourceName) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.Target != nil { - l = m.Target.Size() - n += 1 + l + sovAgent(uint64(l)) - } - return n -} - -func (m *ContainerResourceMetricSource) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.ResourceName) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.Target != nil { - l = m.Target.Size() - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.Container) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - return n -} - -func (m *ExternalMetricSource) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Metric != nil { - l = m.Metric.Size() - n += 1 + l + sovAgent(uint64(l)) - } - if m.Target != nil { - l = m.Target.Size() - n += 1 + l + sovAgent(uint64(l)) - } - return n -} - -func (m *HorizontalPodAutoscalerBehavior) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.ScaleUp != nil { - l = m.ScaleUp.Size() - n += 1 + l + sovAgent(uint64(l)) - } - if m.ScaleDown != nil { - l = m.ScaleDown.Size() - n += 1 + l + sovAgent(uint64(l)) - } - return n -} - -func (m *HPAScalingRules) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.StabilizationWindowSeconds != 0 { - n += 1 + sovAgent(uint64(m.StabilizationWindowSeconds)) - } - l = len(m.SelectPolicy) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if len(m.Policies) > 0 { - for _, e := range m.Policies { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } - } - return n -} - -func (m *HPAScalingPolicy) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Type) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.Value != 0 { - n += 1 + sovAgent(uint64(m.Value)) - } - if m.PeriodSeconds != 0 { - n += 1 + sovAgent(uint64(m.PeriodSeconds)) - } - return n -} - -func (m *HorizontalPodAutoscalerStatus) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.ObservedGeneration != 0 { - n += 1 + sovAgent(uint64(m.ObservedGeneration)) - } - if m.LastScaleTime != 0 { - n += 1 + sovAgent(uint64(m.LastScaleTime)) - } - if m.CurrentReplicas != 0 { - n += 1 + sovAgent(uint64(m.CurrentReplicas)) - } - if m.DesiredReplicas != 0 { - n += 1 + sovAgent(uint64(m.DesiredReplicas)) - } - if len(m.CurrentMetrics) > 0 { - for _, e := range m.CurrentMetrics { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } - } - return n -} - -func (m *HorizontalPodAutoscalerCondition) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.ConditionType) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.ConditionStatus) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.LastTransitionTime != 0 { - n += 1 + sovAgent(uint64(m.LastTransitionTime)) - } - l = len(m.Reason) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.Message) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - return n -} - -func (m *HorizontalPodAutoscalerMetricStatus) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Type) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.Object != nil { - l = m.Object.Size() - n += 1 + l + sovAgent(uint64(l)) - } - if m.Pods != nil { - l = m.Pods.Size() - n += 1 + l + sovAgent(uint64(l)) - } - if m.Resource != nil { - l = m.Resource.Size() - n += 1 + l + sovAgent(uint64(l)) - } - if m.ContainerResource != nil { - l = m.ContainerResource.Size() - n += 1 + l + sovAgent(uint64(l)) - } - if m.External != nil { - l = m.External.Size() - n += 1 + l + sovAgent(uint64(l)) - } - return n -} - -func (m *ObjectMetricStatus) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.DescribedObject != nil { - l = m.DescribedObject.Size() - n += 1 + l + sovAgent(uint64(l)) - } - if m.Current != 0 { - n += 1 + sovAgent(uint64(m.Current)) - } - if m.Metric != nil { - l = m.Metric.Size() - n += 1 + l + sovAgent(uint64(l)) - } - return n -} - -func (m *PodsMetricStatus) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Metric != nil { - l = m.Metric.Size() - n += 1 + l + sovAgent(uint64(l)) - } - if m.Current != 0 { - n += 1 + sovAgent(uint64(m.Current)) - } - return n -} - -func (m *ResourceMetricStatus) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.ResourceName) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.Current != 0 { - n += 1 + sovAgent(uint64(m.Current)) - } - return n -} - -func (m *ContainerResourceMetricStatus) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.ResourceName) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.Current != 0 { - n += 1 + sovAgent(uint64(m.Current)) - } - l = len(m.Container) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - return n -} - -func (m *ExternalMetricStatus) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Metric != nil { - l = m.Metric.Size() - n += 1 + l + sovAgent(uint64(l)) - } - if m.Current != 0 { - n += 1 + sovAgent(uint64(m.Current)) - } - return n -} - -func (m *NetworkPolicy) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Metadata != nil { - l = m.Metadata.Size() - n += 1 + l + sovAgent(uint64(l)) - } - if m.Spec != nil { - l = m.Spec.Size() - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.Yaml) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if len(m.Tags) > 0 { - for _, s := range m.Tags { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) - } - } - return n -} - -func (m *NetworkPolicySpec) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.Selectors) > 0 { - for _, e := range m.Selectors { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } - } - if len(m.Ingress) > 0 { - for _, e := range m.Ingress { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } - } - if len(m.Egress) > 0 { - for _, e := range m.Egress { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } - } - if len(m.PolicyTypes) > 0 { - for _, s := range m.PolicyTypes { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) - } - } - return n -} - -func (m *NetworkPolicyIPBlock) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Cidr) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if len(m.Except) > 0 { - for _, s := range m.Except { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) - } - } - return n -} - -func (m *NetworkPolicyIngressRule) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.Ports) > 0 { - for _, e := range m.Ports { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } - } - if len(m.From) > 0 { - for _, e := range m.From { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } - } - return n -} - -func (m *NetworkPolicyEgressRule) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.Ports) > 0 { - for _, e := range m.Ports { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } - } - if len(m.To) > 0 { - for _, e := range m.To { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } - } - return n -} - -func (m *NetworkPolicyPeer) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.PodSelector) > 0 { - for _, e := range m.PodSelector { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } - } - if len(m.NamespaceSelector) > 0 { - for _, e := range m.NamespaceSelector { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } - } - if m.IpBlock != nil { - l = m.IpBlock.Size() - n += 1 + l + sovAgent(uint64(l)) - } - if m.HasPodSelector { - n += 2 - } - if m.HasNamespaceSelector { - n += 2 - } - return n -} - -func (m *NetworkPolicyPort) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Protocol) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.Port != 0 { - n += 1 + sovAgent(uint64(m.Port)) - } - if m.EndPort != 0 { - n += 1 + sovAgent(uint64(m.EndPort)) - } - return n -} - -func (m *LimitRange) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Metadata != nil { - l = m.Metadata.Size() - n += 1 + l + sovAgent(uint64(l)) - } - if m.Spec != nil { - l = m.Spec.Size() - n += 1 + l + sovAgent(uint64(l)) - } - if len(m.LimitTypes) > 0 { - for _, s := range m.LimitTypes { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) - } - } - if len(m.Tags) > 0 { - for _, s := range m.Tags { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) - } - } - return n -} - -func (m *LimitRangeSpec) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.Limits) > 0 { - for _, e := range m.Limits { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } - } - return n -} - -func (m *LimitRangeItem) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Type) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if len(m.Default) > 0 { - for k, v := range m.Default { - _ = k - _ = v - mapEntrySize := 1 + len(k) + sovAgent(uint64(len(k))) + 1 + sovAgent(uint64(v)) - n += mapEntrySize + 1 + sovAgent(uint64(mapEntrySize)) - } - } - if len(m.DefaultRequest) > 0 { - for k, v := range m.DefaultRequest { - _ = k - _ = v - mapEntrySize := 1 + len(k) + sovAgent(uint64(len(k))) + 1 + sovAgent(uint64(v)) - n += mapEntrySize + 1 + sovAgent(uint64(mapEntrySize)) - } - } - if len(m.Max) > 0 { - for k, v := range m.Max { - _ = k - _ = v - mapEntrySize := 1 + len(k) + sovAgent(uint64(len(k))) + 1 + sovAgent(uint64(v)) - n += mapEntrySize + 1 + sovAgent(uint64(mapEntrySize)) - } - } - if len(m.Min) > 0 { - for k, v := range m.Min { - _ = k - _ = v - mapEntrySize := 1 + len(k) + sovAgent(uint64(len(k))) + 1 + sovAgent(uint64(v)) - n += mapEntrySize + 1 + sovAgent(uint64(mapEntrySize)) - } - } - if len(m.MaxLimitRequestRatio) > 0 { - for k, v := range m.MaxLimitRequestRatio { - _ = k - _ = v - mapEntrySize := 1 + len(k) + sovAgent(uint64(len(k))) + 1 + sovAgent(uint64(v)) - n += mapEntrySize + 1 + sovAgent(uint64(mapEntrySize)) - } - } - return n -} - -func (m *StorageClass) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Metadata != nil { - l = m.Metadata.Size() - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.Provisioner) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if len(m.Parameters) > 0 { - for k, v := range m.Parameters { - _ = k - _ = v - mapEntrySize := 1 + len(k) + sovAgent(uint64(len(k))) + 1 + len(v) + sovAgent(uint64(len(v))) - n += mapEntrySize + 1 + sovAgent(uint64(mapEntrySize)) - } - } - l = len(m.ReclaimPolicy) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if len(m.MountOptions) > 0 { - for _, s := range m.MountOptions { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) - } - } - if m.AllowVolumeExpansion { - n += 2 - } - if m.AllowedTopologies != nil { - l = m.AllowedTopologies.Size() - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.VolumeBindingMode) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if len(m.Tags) > 0 { - for _, s := range m.Tags { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) - } - } - return n -} - -func (m *StorageClassTopologies) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.LabelSelectors) > 0 { - for _, e := range m.LabelSelectors { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } - } - return n -} - -func (m *TopologyLabelSelector) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Key) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if len(m.Values) > 0 { - for _, s := range m.Values { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) - } - } - return n -} - -func sovAgent(x uint64) (n int) { - return (math_bits.Len64(x|1) + 6) / 7 -} -func sozAgent(x uint64) (n int) { - return sovAgent(uint64((x << 1) ^ uint64((int64(x) >> 63)))) -} -func (m *ResCollector) Unmarshal(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 ErrIntOverflowAgent - } - 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: ResCollector: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ResCollector: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Header", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Header == nil { - m.Header = &ResCollector_Header{} - } - if err := m.Header.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Message = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Status == nil { - m.Status = &CollectorStatus{} - } - if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ResCollector_Header) Unmarshal(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 ErrIntOverflowAgent - } - 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: Header: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Header: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 4: - 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 ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Type |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *CollectorProc) Unmarshal(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 ErrIntOverflowAgent - } - 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: CollectorProc: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: CollectorProc: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field HostName", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.HostName = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Processes", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Processes = append(m.Processes, &Process{}) - if err := m.Processes[len(m.Processes)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Host", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Host == nil { - m.Host = &Host{} - } - if err := m.Host.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Info", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Info == nil { - m.Info = &SystemInfo{} - } - if err := m.Info.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 6: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field GroupId", wireType) - } - m.GroupId = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.GroupId |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 7: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field GroupSize", wireType) - } - m.GroupSize = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.GroupSize |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 10: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Containers", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Containers = append(m.Containers, &Container{}) - if err := m.Containers[len(m.Containers)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 11: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field NetworkId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.NetworkId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 12: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ContainerHostType", wireType) - } - m.ContainerHostType = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.ContainerHostType |= ContainerHostType(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 14: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field HintMask", wireType) - } - var v int32 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.Hints = &CollectorProc_HintMask{v} - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *CollectorProcDiscovery) Unmarshal(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 ErrIntOverflowAgent - } - 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: CollectorProcDiscovery: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: CollectorProcDiscovery: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field HostName", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.HostName = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field GroupId", wireType) - } - m.GroupId = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.GroupId |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field GroupSize", wireType) - } - m.GroupSize = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.GroupSize |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ProcessDiscoveries", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ProcessDiscoveries = append(m.ProcessDiscoveries, &ProcessDiscovery{}) - if err := m.ProcessDiscoveries[len(m.ProcessDiscoveries)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Host", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Host == nil { - m.Host = &Host{} - } - if err := m.Host.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *CollectorRealTime) Unmarshal(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 ErrIntOverflowAgent - } - 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: CollectorRealTime: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: CollectorRealTime: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field HostName", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.HostName = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Stats", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Stats = append(m.Stats, &ProcessStat{}) - if err := m.Stats[len(m.Stats)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field HostId", wireType) - } - m.HostId = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.HostId |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 5: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field OrgId", wireType) - } - m.OrgId = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.OrgId |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 6: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field GroupId", wireType) - } - m.GroupId = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.GroupId |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 7: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field GroupSize", wireType) - } - m.GroupSize = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.GroupSize |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 8: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field NumCpus", wireType) - } - m.NumCpus = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.NumCpus |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 9: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field TotalMemory", wireType) - } - m.TotalMemory = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.TotalMemory |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 10: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ContainerStats", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ContainerStats = append(m.ContainerStats, &ContainerStat{}) - if err := m.ContainerStats[len(m.ContainerStats)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 11: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ContainerHostType", wireType) - } - m.ContainerHostType = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.ContainerHostType |= ContainerHostType(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *CollectorContainer) Unmarshal(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 ErrIntOverflowAgent - } - 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: CollectorContainer: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: CollectorContainer: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field HostName", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.HostName = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Info", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Info == nil { - m.Info = &SystemInfo{} - } - if err := m.Info.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Containers", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Containers = append(m.Containers, &Container{}) - if err := m.Containers[len(m.Containers)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field GroupId", wireType) - } - m.GroupId = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.GroupId |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 5: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field GroupSize", wireType) - } - m.GroupSize = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.GroupSize |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 8: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Host", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Host == nil { - m.Host = &Host{} - } - if err := m.Host.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 9: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ContainerHostType", wireType) - } - m.ContainerHostType = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.ContainerHostType |= ContainerHostType(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 11: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field NetworkId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.NetworkId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *CollectorContainerRealTime) Unmarshal(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 ErrIntOverflowAgent - } - 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: CollectorContainerRealTime: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: CollectorContainerRealTime: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field HostName", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.HostName = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Stats", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Stats = append(m.Stats, &ContainerStat{}) - if err := m.Stats[len(m.Stats)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field NumCpus", wireType) - } - m.NumCpus = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.NumCpus |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field TotalMemory", wireType) - } - m.TotalMemory = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.TotalMemory |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 5: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field HostId", wireType) - } - m.HostId = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.HostId |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 6: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field GroupId", wireType) - } - m.GroupId = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.GroupId |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 7: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field GroupSize", wireType) - } - m.GroupSize = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.GroupSize |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 8: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ContainerHostType", wireType) - } - m.ContainerHostType = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.ContainerHostType |= ContainerHostType(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *CollectorReqStatus) Unmarshal(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 ErrIntOverflowAgent - } - 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: CollectorReqStatus: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: CollectorReqStatus: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field HostName", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.HostName = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *CollectorECSTask) Unmarshal(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 ErrIntOverflowAgent - } - 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: CollectorECSTask: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: CollectorECSTask: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field AwsAccountID", wireType) - } - m.AwsAccountID = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.AwsAccountID |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ClusterName", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ClusterName = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ClusterId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ClusterId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Region", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Region = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 5: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field GroupId", wireType) - } - m.GroupId = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.GroupId |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 6: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field GroupSize", wireType) - } - m.GroupSize = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.GroupSize |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 7: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Tasks", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Tasks = append(m.Tasks, &ECSTask{}) - if err := m.Tasks[len(m.Tasks)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 8: - 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 ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Tags = append(m.Tags, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - case 9: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Host", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Host == nil { - m.Host = &Host{} - } - if err := m.Host.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 10: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field HostName", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.HostName = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 11: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Info", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Info == nil { - m.Info = &SystemInfo{} - } - if err := m.Info.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ECSTask) Unmarshal(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 ErrIntOverflowAgent - } - 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: ECSTask: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ECSTask: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Arn", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Arn = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ResourceVersion = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field LaunchType", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.LaunchType = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field DesiredStatus", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.DesiredStatus = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field KnownStatus", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.KnownStatus = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 6: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Family", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Family = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 7: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Version = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 8: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AvailabilityZone", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.AvailabilityZone = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 9: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Limits", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Limits == nil { - m.Limits = make(map[string]float64) - } - var mapkey string - var mapvalue float64 - for iNdEx < postIndex { - entryPreIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postStringIndexmapkey := iNdEx + intStringLenmapkey - if postStringIndexmapkey < 0 { - return ErrInvalidLengthAgent - } - if postStringIndexmapkey > l { - return io.ErrUnexpectedEOF - } - mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) - iNdEx = postStringIndexmapkey - } else if fieldNum == 2 { - var mapvaluetemp uint64 - if (iNdEx + 8) > l { - return io.ErrUnexpectedEOF - } - mapvaluetemp = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:])) - iNdEx += 8 - mapvalue = math.Float64frombits(mapvaluetemp) - } else { - iNdEx = entryPreIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > postIndex { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - m.Limits[mapkey] = mapvalue - iNdEx = postIndex - case 10: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field EphemeralStorageMetrics", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.EphemeralStorageMetrics == nil { - m.EphemeralStorageMetrics = make(map[string]int64) - } - var mapkey string - var mapvalue int64 - for iNdEx < postIndex { - entryPreIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postStringIndexmapkey := iNdEx + intStringLenmapkey - if postStringIndexmapkey < 0 { - return ErrInvalidLengthAgent - } - if postStringIndexmapkey > l { - return io.ErrUnexpectedEOF - } - mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) - iNdEx = postStringIndexmapkey - } else if fieldNum == 2 { - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - mapvalue |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - } else { - iNdEx = entryPreIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > postIndex { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - m.EphemeralStorageMetrics[mapkey] = mapvalue - iNdEx = postIndex - case 11: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ServiceName", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ServiceName = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 12: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field VpcId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.VpcId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 13: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field PullStartedAt", wireType) - } - m.PullStartedAt = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.PullStartedAt |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 14: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field PullStoppedAt", wireType) - } - m.PullStoppedAt = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.PullStoppedAt |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 15: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ExecutionStoppedAt", wireType) - } - m.ExecutionStoppedAt = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.ExecutionStoppedAt |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 16: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Containers", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Containers = append(m.Containers, &ECSContainer{}) - if err := m.Containers[len(m.Containers)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 17: - 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 ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Tags = append(m.Tags, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - case 18: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field EcsTags", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.EcsTags = append(m.EcsTags, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - case 19: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ContainerInstanceTags", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ContainerInstanceTags = append(m.ContainerInstanceTags, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - case 20: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Host", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Host == nil { - m.Host = &Host{} - } - if err := m.Host.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ECSContainer) Unmarshal(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 ErrIntOverflowAgent - } - 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: ECSContainer: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ECSContainer: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field DockerID", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.DockerID = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field DockerName", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.DockerName = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - 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 ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Name = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Image", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Image = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ImageID", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ImageID = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 6: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field CreatedAt", wireType) - } - m.CreatedAt = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.CreatedAt |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 7: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field StartedAt", wireType) - } - m.StartedAt = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.StartedAt |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 8: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field FinishedAt", wireType) - } - m.FinishedAt = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.FinishedAt |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 9: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field DesiredStatus", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.DesiredStatus = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 10: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field KnownStatus", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.KnownStatus = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 11: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ExitCode", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.ExitCode == nil { - m.ExitCode = &ECSContainerExitCode{} - } - if err := m.ExitCode.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 12: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Type = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 13: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field LogDriver", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.LogDriver = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 14: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field LogOptions", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.LogOptions == nil { - m.LogOptions = make(map[string]string) - } - var mapkey string - var mapvalue string - for iNdEx < postIndex { - entryPreIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postStringIndexmapkey := iNdEx + intStringLenmapkey - if postStringIndexmapkey < 0 { - return ErrInvalidLengthAgent - } - if postStringIndexmapkey > l { - return io.ErrUnexpectedEOF - } - mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) - iNdEx = postStringIndexmapkey - } else if fieldNum == 2 { - var stringLenmapvalue uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLenmapvalue |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLenmapvalue := int(stringLenmapvalue) - if intStringLenmapvalue < 0 { - return ErrInvalidLengthAgent - } - postStringIndexmapvalue := iNdEx + intStringLenmapvalue - if postStringIndexmapvalue < 0 { - return ErrInvalidLengthAgent - } - if postStringIndexmapvalue > l { - return io.ErrUnexpectedEOF - } - mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue]) - iNdEx = postStringIndexmapvalue - } else { - iNdEx = entryPreIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > postIndex { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - m.LogOptions[mapkey] = mapvalue - iNdEx = postIndex - case 15: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ContainerArn", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ContainerArn = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 16: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Ports", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Ports = append(m.Ports, &ECSContainerPort{}) - if err := m.Ports[len(m.Ports)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 17: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Networks", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Networks = append(m.Networks, &ECSContainerNetwork{}) - if err := m.Networks[len(m.Networks)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 18: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Volumes", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Volumes = append(m.Volumes, &ECSContainerVolume{}) - if err := m.Volumes[len(m.Volumes)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 19: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Health", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Health == nil { - m.Health = &ECSContainerHealth{} - } - if err := m.Health.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 20: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Labels", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Labels = append(m.Labels, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - case 21: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Limits", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Limits == nil { - m.Limits = make(map[string]float64) - } - var mapkey string - var mapvalue float64 - for iNdEx < postIndex { - entryPreIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postStringIndexmapkey := iNdEx + intStringLenmapkey - if postStringIndexmapkey < 0 { - return ErrInvalidLengthAgent - } - if postStringIndexmapkey > l { - return io.ErrUnexpectedEOF - } - mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) - iNdEx = postStringIndexmapkey - } else if fieldNum == 2 { - var mapvaluetemp uint64 - if (iNdEx + 8) > l { - return io.ErrUnexpectedEOF - } - mapvaluetemp = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:])) - iNdEx += 8 - mapvalue = math.Float64frombits(mapvaluetemp) - } else { - iNdEx = entryPreIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > postIndex { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - m.Limits[mapkey] = mapvalue - iNdEx = postIndex - case 22: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Snapshotter", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Snapshotter = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ECSContainerNetwork) Unmarshal(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 ErrIntOverflowAgent - } - 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: ECSContainerNetwork: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ECSContainerNetwork: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field NetworkMode", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.NetworkMode = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Ipv4Addresses", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Ipv4Addresses = append(m.Ipv4Addresses, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Ipv6Addresses", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Ipv6Addresses = append(m.Ipv6Addresses, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ECSContainerPort) Unmarshal(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 ErrIntOverflowAgent - } - 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: ECSContainerPort: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ECSContainerPort: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ContainerPort", wireType) - } - m.ContainerPort = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.ContainerPort |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Protocol", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Protocol = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field HostIp", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.HostIp = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field HostPort", wireType) - } - m.HostPort = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.HostPort |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ECSContainerVolume) Unmarshal(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 ErrIntOverflowAgent - } - 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: ECSContainerVolume: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ECSContainerVolume: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field DockerName", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.DockerName = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - 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 ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Source = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Destination", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Destination = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ECSContainerHealth) Unmarshal(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 ErrIntOverflowAgent - } - 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: ECSContainerHealth: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ECSContainerHealth: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Status = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Since", wireType) - } - m.Since = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Since |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ExitCode", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.ExitCode == nil { - m.ExitCode = &ECSContainerExitCode{} - } - if err := m.ExitCode.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Output", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Output = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ECSContainerExitCode) Unmarshal(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 ErrIntOverflowAgent - } - 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: ECSContainerExitCode: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ECSContainerExitCode: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ExitCode", wireType) - } - m.ExitCode = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.ExitCode |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *CollectorPod) Unmarshal(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 ErrIntOverflowAgent - } - 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: CollectorPod: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: CollectorPod: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field HostName", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.HostName = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ClusterName", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ClusterName = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ClusterId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ClusterId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field GroupId", wireType) - } - m.GroupId = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.GroupId |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 5: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field GroupSize", wireType) - } - m.GroupSize = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.GroupSize |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 6: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Pods", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Pods = append(m.Pods, &Pod{}) - if err := m.Pods[len(m.Pods)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 7: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Host", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Host == nil { - m.Host = &Host{} - } - if err := m.Host.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 8: - 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 ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Tags = append(m.Tags, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - case 9: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Info", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Info == nil { - m.Info = &SystemInfo{} - } - if err := m.Info.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *CollectorPodDisruptionBudget) Unmarshal(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 ErrIntOverflowAgent - } - 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: CollectorPodDisruptionBudget: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: CollectorPodDisruptionBudget: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ClusterName", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ClusterName = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ClusterId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ClusterId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field GroupId", wireType) - } - m.GroupId = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.GroupId |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PodDisruptionBudgets", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.PodDisruptionBudgets = append(m.PodDisruptionBudgets, &PodDisruptionBudget{}) - if err := m.PodDisruptionBudgets[len(m.PodDisruptionBudgets)-1].Unmarshal(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 ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Tags = append(m.Tags, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - case 6: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field GroupSize", wireType) - } - m.GroupSize = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.GroupSize |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *CollectorReplicaSet) Unmarshal(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 ErrIntOverflowAgent - } - 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: CollectorReplicaSet: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: CollectorReplicaSet: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ClusterName", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ClusterName = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ClusterId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ClusterId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field GroupId", wireType) - } - m.GroupId = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.GroupId |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field GroupSize", wireType) - } - m.GroupSize = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.GroupSize |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ReplicaSets", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ReplicaSets = append(m.ReplicaSets, &ReplicaSet{}) - if err := m.ReplicaSets[len(m.ReplicaSets)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 6: - 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 ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Tags = append(m.Tags, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *CollectorDeployment) Unmarshal(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 ErrIntOverflowAgent - } - 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: CollectorDeployment: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: CollectorDeployment: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ClusterName", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ClusterName = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ClusterId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ClusterId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field GroupId", wireType) - } - m.GroupId = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.GroupId |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field GroupSize", wireType) - } - m.GroupSize = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.GroupSize |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Deployments", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Deployments = append(m.Deployments, &Deployment{}) - if err := m.Deployments[len(m.Deployments)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 6: - 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 ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Tags = append(m.Tags, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *CollectorService) Unmarshal(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 ErrIntOverflowAgent - } - 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: CollectorService: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: CollectorService: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ClusterName", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ClusterName = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ClusterId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ClusterId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field GroupId", wireType) - } - m.GroupId = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.GroupId |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field GroupSize", wireType) - } - m.GroupSize = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.GroupSize |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Services", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Services = append(m.Services, &Service{}) - if err := m.Services[len(m.Services)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 6: - 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 ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Tags = append(m.Tags, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *CollectorNode) Unmarshal(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 ErrIntOverflowAgent - } - 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: CollectorNode: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: CollectorNode: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ClusterName", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ClusterName = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ClusterId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ClusterId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field GroupId", wireType) - } - m.GroupId = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.GroupId |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field GroupSize", wireType) - } - m.GroupSize = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.GroupSize |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Nodes", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Nodes = append(m.Nodes, &Node{}) - if err := m.Nodes[len(m.Nodes)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 6: - 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 ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Tags = append(m.Tags, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - case 7: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field HostAliasMapping", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.HostAliasMapping == nil { - m.HostAliasMapping = make(map[string]*Host) - } - var mapkey string - var mapvalue *Host - for iNdEx < postIndex { - entryPreIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postStringIndexmapkey := iNdEx + intStringLenmapkey - if postStringIndexmapkey < 0 { - return ErrInvalidLengthAgent - } - 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 ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - mapmsglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if mapmsglen < 0 { - return ErrInvalidLengthAgent - } - postmsgIndex := iNdEx + mapmsglen - if postmsgIndex < 0 { - return ErrInvalidLengthAgent - } - if postmsgIndex > l { - return io.ErrUnexpectedEOF - } - mapvalue = &Host{} - if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { - return err - } - iNdEx = postmsgIndex - } else { - iNdEx = entryPreIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > postIndex { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - m.HostAliasMapping[mapkey] = mapvalue - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *CollectorCluster) Unmarshal(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 ErrIntOverflowAgent - } - 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: CollectorCluster: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: CollectorCluster: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ClusterName", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ClusterName = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ClusterId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ClusterId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field GroupId", wireType) - } - m.GroupId = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.GroupId |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field GroupSize", wireType) - } - m.GroupSize = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.GroupSize |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Cluster", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Cluster == nil { - m.Cluster = &Cluster{} - } - if err := m.Cluster.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 6: - 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 ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Tags = append(m.Tags, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *CollectorManifest) Unmarshal(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 ErrIntOverflowAgent - } - 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: CollectorManifest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: CollectorManifest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ClusterName", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ClusterName = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ClusterId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ClusterId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field GroupId", wireType) - } - m.GroupId = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.GroupId |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field GroupSize", wireType) - } - m.GroupSize = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.GroupSize |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Manifests", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Manifests = append(m.Manifests, &Manifest{}) - if err := m.Manifests[len(m.Manifests)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 6: - 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 ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Tags = append(m.Tags, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *CollectorManifestCRD) Unmarshal(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 ErrIntOverflowAgent - } - 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: CollectorManifestCRD: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: CollectorManifestCRD: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Manifest", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Manifest == nil { - m.Manifest = &CollectorManifest{} - } - if err := m.Manifest.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - 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 ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Tags = append(m.Tags, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *CollectorManifestCR) Unmarshal(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 ErrIntOverflowAgent - } - 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: CollectorManifestCR: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: CollectorManifestCR: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Manifest", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Manifest == nil { - m.Manifest = &CollectorManifest{} - } - if err := m.Manifest.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - 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 ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Tags = append(m.Tags, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *CollectorNamespace) Unmarshal(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 ErrIntOverflowAgent - } - 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: CollectorNamespace: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: CollectorNamespace: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ClusterName", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ClusterName = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ClusterId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ClusterId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field GroupId", wireType) - } - m.GroupId = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.GroupId |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field GroupSize", wireType) - } - m.GroupSize = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.GroupSize |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Namespaces", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Namespaces = append(m.Namespaces, &Namespace{}) - if err := m.Namespaces[len(m.Namespaces)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 6: - 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 ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Tags = append(m.Tags, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *CollectorJob) Unmarshal(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 ErrIntOverflowAgent - } - 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: CollectorJob: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: CollectorJob: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ClusterName", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ClusterName = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ClusterId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ClusterId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field GroupId", wireType) - } - m.GroupId = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.GroupId |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field GroupSize", wireType) - } - m.GroupSize = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.GroupSize |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Jobs", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Jobs = append(m.Jobs, &Job{}) - if err := m.Jobs[len(m.Jobs)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 6: - 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 ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Tags = append(m.Tags, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *CollectorCronJob) Unmarshal(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 ErrIntOverflowAgent - } - 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: CollectorCronJob: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: CollectorCronJob: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ClusterName", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ClusterName = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ClusterId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ClusterId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field GroupId", wireType) - } - m.GroupId = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.GroupId |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field GroupSize", wireType) - } - m.GroupSize = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.GroupSize |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field CronJobs", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.CronJobs = append(m.CronJobs, &CronJob{}) - if err := m.CronJobs[len(m.CronJobs)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 6: - 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 ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Tags = append(m.Tags, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *CollectorDaemonSet) Unmarshal(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 ErrIntOverflowAgent - } - 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: CollectorDaemonSet: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: CollectorDaemonSet: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ClusterName", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ClusterName = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ClusterId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ClusterId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field GroupId", wireType) - } - m.GroupId = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.GroupId |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field GroupSize", wireType) - } - m.GroupSize = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.GroupSize |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field DaemonSets", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.DaemonSets = append(m.DaemonSets, &DaemonSet{}) - if err := m.DaemonSets[len(m.DaemonSets)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 6: - 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 ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Tags = append(m.Tags, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *CollectorStatefulSet) Unmarshal(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 ErrIntOverflowAgent - } - 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: CollectorStatefulSet: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: CollectorStatefulSet: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ClusterName", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ClusterName = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ClusterId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ClusterId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field GroupId", wireType) - } - m.GroupId = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.GroupId |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field GroupSize", wireType) - } - m.GroupSize = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.GroupSize |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field StatefulSets", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.StatefulSets = append(m.StatefulSets, &StatefulSet{}) - if err := m.StatefulSets[len(m.StatefulSets)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 6: - 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 ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Tags = append(m.Tags, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *CollectorPersistentVolume) Unmarshal(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 ErrIntOverflowAgent - } - 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: CollectorPersistentVolume: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: CollectorPersistentVolume: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ClusterName", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ClusterName = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ClusterId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ClusterId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field GroupId", wireType) - } - m.GroupId = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.GroupId |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field GroupSize", wireType) - } - m.GroupSize = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.GroupSize |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PersistentVolumes", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.PersistentVolumes = append(m.PersistentVolumes, &PersistentVolume{}) - if err := m.PersistentVolumes[len(m.PersistentVolumes)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 6: - 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 ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Tags = append(m.Tags, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *CollectorPersistentVolumeClaim) Unmarshal(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 ErrIntOverflowAgent - } - 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: CollectorPersistentVolumeClaim: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: CollectorPersistentVolumeClaim: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ClusterName", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ClusterName = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ClusterId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ClusterId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field GroupId", wireType) - } - m.GroupId = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.GroupId |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field GroupSize", wireType) - } - m.GroupSize = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.GroupSize |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PersistentVolumeClaims", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.PersistentVolumeClaims = append(m.PersistentVolumeClaims, &PersistentVolumeClaim{}) - if err := m.PersistentVolumeClaims[len(m.PersistentVolumeClaims)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 6: - 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 ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Tags = append(m.Tags, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *CollectorRole) Unmarshal(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 ErrIntOverflowAgent - } - 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: CollectorRole: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: CollectorRole: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ClusterName", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ClusterName = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ClusterId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ClusterId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field GroupId", wireType) - } - m.GroupId = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.GroupId |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field GroupSize", wireType) - } - m.GroupSize = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.GroupSize |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Roles", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Roles = append(m.Roles, &Role{}) - if err := m.Roles[len(m.Roles)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 6: - 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 ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Tags = append(m.Tags, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *CollectorRoleBinding) Unmarshal(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 ErrIntOverflowAgent - } - 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: CollectorRoleBinding: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: CollectorRoleBinding: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ClusterName", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ClusterName = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ClusterId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ClusterId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field GroupId", wireType) - } - m.GroupId = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.GroupId |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field GroupSize", wireType) - } - m.GroupSize = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.GroupSize |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RoleBindings", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.RoleBindings = append(m.RoleBindings, &RoleBinding{}) - if err := m.RoleBindings[len(m.RoleBindings)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 6: - 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 ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Tags = append(m.Tags, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *CollectorClusterRole) Unmarshal(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 ErrIntOverflowAgent - } - 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: CollectorClusterRole: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: CollectorClusterRole: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ClusterName", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ClusterName = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ClusterId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ClusterId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field GroupId", wireType) - } - m.GroupId = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.GroupId |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field GroupSize", wireType) - } - m.GroupSize = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.GroupSize |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ClusterRoles", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ClusterRoles = append(m.ClusterRoles, &ClusterRole{}) - if err := m.ClusterRoles[len(m.ClusterRoles)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 6: - 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 ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Tags = append(m.Tags, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *CollectorClusterRoleBinding) Unmarshal(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 ErrIntOverflowAgent - } - 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: CollectorClusterRoleBinding: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: CollectorClusterRoleBinding: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ClusterName", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ClusterName = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ClusterId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ClusterId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field GroupId", wireType) - } - m.GroupId = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.GroupId |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field GroupSize", wireType) - } - m.GroupSize = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.GroupSize |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ClusterRoleBindings", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ClusterRoleBindings = append(m.ClusterRoleBindings, &ClusterRoleBinding{}) - if err := m.ClusterRoleBindings[len(m.ClusterRoleBindings)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 6: - 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 ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Tags = append(m.Tags, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *CollectorServiceAccount) Unmarshal(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 ErrIntOverflowAgent - } - 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: CollectorServiceAccount: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: CollectorServiceAccount: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ClusterName", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ClusterName = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ClusterId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ClusterId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field GroupId", wireType) - } - m.GroupId = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.GroupId |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field GroupSize", wireType) - } - m.GroupSize = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.GroupSize |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ServiceAccounts", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ServiceAccounts = append(m.ServiceAccounts, &ServiceAccount{}) - if err := m.ServiceAccounts[len(m.ServiceAccounts)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 6: - 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 ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Tags = append(m.Tags, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *CollectorIngress) Unmarshal(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 ErrIntOverflowAgent - } - 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: CollectorIngress: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: CollectorIngress: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ClusterName", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ClusterName = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ClusterId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ClusterId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field GroupId", wireType) - } - m.GroupId = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.GroupId |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field GroupSize", wireType) - } - m.GroupSize = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.GroupSize |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Ingresses", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Ingresses = append(m.Ingresses, &Ingress{}) - if err := m.Ingresses[len(m.Ingresses)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 6: - 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 ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Tags = append(m.Tags, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *CollectorVerticalPodAutoscaler) Unmarshal(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 ErrIntOverflowAgent - } - 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: CollectorVerticalPodAutoscaler: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: CollectorVerticalPodAutoscaler: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ClusterName", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ClusterName = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ClusterId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ClusterId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field GroupId", wireType) - } - m.GroupId = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.GroupId |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field GroupSize", wireType) - } - m.GroupSize = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.GroupSize |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field VerticalPodAutoscalers", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.VerticalPodAutoscalers = append(m.VerticalPodAutoscalers, &VerticalPodAutoscaler{}) - if err := m.VerticalPodAutoscalers[len(m.VerticalPodAutoscalers)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 6: - 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 ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Tags = append(m.Tags, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *CollectorHorizontalPodAutoscaler) Unmarshal(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 ErrIntOverflowAgent - } - 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: CollectorHorizontalPodAutoscaler: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: CollectorHorizontalPodAutoscaler: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ClusterName", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ClusterName = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ClusterId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ClusterId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field GroupId", wireType) - } - m.GroupId = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.GroupId |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field GroupSize", wireType) - } - m.GroupSize = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.GroupSize |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field HorizontalPodAutoscalers", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.HorizontalPodAutoscalers = append(m.HorizontalPodAutoscalers, &HorizontalPodAutoscaler{}) - if err := m.HorizontalPodAutoscalers[len(m.HorizontalPodAutoscalers)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 6: - 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 ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Tags = append(m.Tags, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *CollectorNetworkPolicy) Unmarshal(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 ErrIntOverflowAgent - } - 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: CollectorNetworkPolicy: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: CollectorNetworkPolicy: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ClusterName", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ClusterName = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ClusterId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ClusterId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field GroupId", wireType) - } - m.GroupId = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.GroupId |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field GroupSize", wireType) - } - m.GroupSize = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.GroupSize |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field NetworkPolicies", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.NetworkPolicies = append(m.NetworkPolicies, &NetworkPolicy{}) - if err := m.NetworkPolicies[len(m.NetworkPolicies)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 6: - 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 ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Tags = append(m.Tags, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *CollectorLimitRange) Unmarshal(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 ErrIntOverflowAgent - } - 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: CollectorLimitRange: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: CollectorLimitRange: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ClusterName", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ClusterName = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ClusterId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ClusterId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field GroupId", wireType) - } - m.GroupId = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.GroupId |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field GroupSize", wireType) - } - m.GroupSize = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.GroupSize |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field LimitRanges", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.LimitRanges = append(m.LimitRanges, &LimitRange{}) - if err := m.LimitRanges[len(m.LimitRanges)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 6: - 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 ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Tags = append(m.Tags, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *CollectorStorageClass) Unmarshal(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 ErrIntOverflowAgent - } - 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: CollectorStorageClass: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: CollectorStorageClass: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ClusterName", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ClusterName = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ClusterId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ClusterId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field GroupId", wireType) - } - m.GroupId = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.GroupId |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field GroupSize", wireType) - } - m.GroupSize = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.GroupSize |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field StorageClasses", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.StorageClasses = append(m.StorageClasses, &StorageClass{}) - if err := m.StorageClasses[len(m.StorageClasses)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 6: - 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 ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Tags = append(m.Tags, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *CollectorStatus) Unmarshal(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 ErrIntOverflowAgent - } - 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: CollectorStatus: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: CollectorStatus: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ActiveClients", wireType) - } - m.ActiveClients = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.ActiveClients |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Interval", wireType) - } - m.Interval = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Interval |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *Process) Unmarshal(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 ErrIntOverflowAgent - } - 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: Process: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Process: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType) - } - m.Key = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Key |= uint32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Pid", wireType) - } - m.Pid = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Pid |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Host", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Host == nil { - m.Host = &Host{} - } - if err := m.Host.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Command", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Command == nil { - m.Command = &Command{} - } - if err := m.Command.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field User", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.User == nil { - m.User = &ProcessUser{} - } - if err := m.User.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 7: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Memory", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Memory == nil { - m.Memory = &MemoryStat{} - } - if err := m.Memory.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 8: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Cpu", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Cpu == nil { - m.Cpu = &CPUStat{} - } - if err := m.Cpu.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 9: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field CreateTime", wireType) - } - m.CreateTime = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.CreateTime |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 10: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Container", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Container == nil { - m.Container = &Container{} - } - if err := m.Container.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 11: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field OpenFdCount", wireType) - } - m.OpenFdCount = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.OpenFdCount |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 12: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field State", wireType) - } - m.State = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.State |= ProcessState(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 13: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field IoStat", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.IoStat == nil { - m.IoStat = &IOStat{} - } - if err := m.IoStat.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 14: - 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 ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ContainerId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 15: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ContainerKey", wireType) - } - m.ContainerKey = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.ContainerKey |= uint32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 16: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field VoluntaryCtxSwitches", wireType) - } - m.VoluntaryCtxSwitches = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.VoluntaryCtxSwitches |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 17: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field InvoluntaryCtxSwitches", wireType) - } - m.InvoluntaryCtxSwitches = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.InvoluntaryCtxSwitches |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 18: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ByteKey", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ByteKey = append(m.ByteKey[:0], dAtA[iNdEx:postIndex]...) - if m.ByteKey == nil { - m.ByteKey = []byte{} - } - iNdEx = postIndex - case 19: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ContainerByteKey", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ContainerByteKey = append(m.ContainerByteKey[:0], dAtA[iNdEx:postIndex]...) - if m.ContainerByteKey == nil { - m.ContainerByteKey = []byte{} - } - iNdEx = postIndex - case 20: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field NsPid", wireType) - } - m.NsPid = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.NsPid |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 21: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Networks", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Networks == nil { - m.Networks = &ProcessNetworks{} - } - if err := m.Networks.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 22: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ProcessContext", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ProcessContext = append(m.ProcessContext, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ProcessDiscovery) Unmarshal(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 ErrIntOverflowAgent - } - 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: ProcessDiscovery: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ProcessDiscovery: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Pid", wireType) - } - m.Pid = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Pid |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field NsPid", wireType) - } - m.NsPid = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.NsPid |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Host", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Host == nil { - m.Host = &Host{} - } - if err := m.Host.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Command", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Command == nil { - m.Command = &Command{} - } - if err := m.Command.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field User", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.User == nil { - m.User = &ProcessUser{} - } - if err := m.User.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 6: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field CreateTime", wireType) - } - m.CreateTime = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.CreateTime |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 7: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ByteKey", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ByteKey = append(m.ByteKey[:0], dAtA[iNdEx:postIndex]...) - if m.ByteKey == nil { - m.ByteKey = []byte{} - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *Command) Unmarshal(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 ErrIntOverflowAgent - } - 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: Command: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Command: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Args", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Args = append(m.Args, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Cwd", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Cwd = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Root", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Root = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 5: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field OnDisk", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.OnDisk = bool(v != 0) - case 6: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Ppid", wireType) - } - m.Ppid = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Ppid |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 7: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Pgroup", wireType) - } - m.Pgroup = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Pgroup |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 8: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Exe", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Exe = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 9: - 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 ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Comm = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ProcessUser) Unmarshal(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 ErrIntOverflowAgent - } - 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: ProcessUser: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ProcessUser: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - 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 ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Name = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Uid", wireType) - } - m.Uid = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Uid |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Gid", wireType) - } - m.Gid = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Gid |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Euid", wireType) - } - m.Euid = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Euid |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 5: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Egid", wireType) - } - m.Egid = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Egid |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 6: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Suid", wireType) - } - m.Suid = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Suid |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 7: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Sgid", wireType) - } - m.Sgid = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Sgid |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ProcessNetworks) Unmarshal(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 ErrIntOverflowAgent - } - 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: ProcessNetworks: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ProcessNetworks: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 5 { - return fmt.Errorf("proto: wrong wireType = %d for field ConnectionRate", wireType) - } - var v uint32 - if (iNdEx + 4) > l { - return io.ErrUnexpectedEOF - } - v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:])) - iNdEx += 4 - m.ConnectionRate = float32(math.Float32frombits(v)) - case 2: - if wireType != 5 { - return fmt.Errorf("proto: wrong wireType = %d for field BytesRate", wireType) - } - var v uint32 - if (iNdEx + 4) > l { - return io.ErrUnexpectedEOF - } - v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:])) - iNdEx += 4 - m.BytesRate = float32(math.Float32frombits(v)) - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ContainerAddr) Unmarshal(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 ErrIntOverflowAgent - } - 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: ContainerAddr: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ContainerAddr: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Ip", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Ip = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Port", wireType) - } - m.Port = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Port |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Protocol", wireType) - } - m.Protocol = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Protocol |= ConnectionType(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *Container) Unmarshal(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 ErrIntOverflowAgent - } - 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: Container: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Container: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Type = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Id = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - 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 ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Name = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Image", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Image = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 5: - if wireType != 5 { - return fmt.Errorf("proto: wrong wireType = %d for field CpuLimit", wireType) - } - var v uint32 - if (iNdEx + 4) > l { - return io.ErrUnexpectedEOF - } - v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:])) - iNdEx += 4 - m.CpuLimit = float32(math.Float32frombits(v)) - case 6: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field MemoryLimit", wireType) - } - m.MemoryLimit = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.MemoryLimit |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 8: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field State", wireType) - } - m.State = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.State |= ContainerState(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 9: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Health", wireType) - } - m.Health = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Health |= ContainerHealth(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 10: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Created", wireType) - } - m.Created = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Created |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 11: - if wireType != 5 { - return fmt.Errorf("proto: wrong wireType = %d for field Rbps", wireType) - } - var v uint32 - if (iNdEx + 4) > l { - return io.ErrUnexpectedEOF - } - v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:])) - iNdEx += 4 - m.Rbps = float32(math.Float32frombits(v)) - case 12: - if wireType != 5 { - return fmt.Errorf("proto: wrong wireType = %d for field Wbps", wireType) - } - var v uint32 - if (iNdEx + 4) > l { - return io.ErrUnexpectedEOF - } - v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:])) - iNdEx += 4 - m.Wbps = float32(math.Float32frombits(v)) - case 13: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType) - } - m.Key = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Key |= uint32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 14: - if wireType != 5 { - return fmt.Errorf("proto: wrong wireType = %d for field NetRcvdPs", wireType) - } - var v uint32 - if (iNdEx + 4) > l { - return io.ErrUnexpectedEOF - } - v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:])) - iNdEx += 4 - m.NetRcvdPs = float32(math.Float32frombits(v)) - case 15: - if wireType != 5 { - return fmt.Errorf("proto: wrong wireType = %d for field NetSentPs", wireType) - } - var v uint32 - if (iNdEx + 4) > l { - return io.ErrUnexpectedEOF - } - v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:])) - iNdEx += 4 - m.NetSentPs = float32(math.Float32frombits(v)) - case 16: - if wireType != 5 { - return fmt.Errorf("proto: wrong wireType = %d for field NetRcvdBps", wireType) - } - var v uint32 - if (iNdEx + 4) > l { - return io.ErrUnexpectedEOF - } - v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:])) - iNdEx += 4 - m.NetRcvdBps = float32(math.Float32frombits(v)) - case 17: - if wireType != 5 { - return fmt.Errorf("proto: wrong wireType = %d for field NetSentBps", wireType) - } - var v uint32 - if (iNdEx + 4) > l { - return io.ErrUnexpectedEOF - } - v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:])) - iNdEx += 4 - m.NetSentBps = float32(math.Float32frombits(v)) - case 18: - if wireType != 5 { - return fmt.Errorf("proto: wrong wireType = %d for field UserPct", wireType) - } - var v uint32 - if (iNdEx + 4) > l { - return io.ErrUnexpectedEOF - } - v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:])) - iNdEx += 4 - m.UserPct = float32(math.Float32frombits(v)) - case 19: - if wireType != 5 { - return fmt.Errorf("proto: wrong wireType = %d for field SystemPct", wireType) - } - var v uint32 - if (iNdEx + 4) > l { - return io.ErrUnexpectedEOF - } - v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:])) - iNdEx += 4 - m.SystemPct = float32(math.Float32frombits(v)) - case 20: - if wireType != 5 { - return fmt.Errorf("proto: wrong wireType = %d for field TotalPct", wireType) - } - var v uint32 - if (iNdEx + 4) > l { - return io.ErrUnexpectedEOF - } - v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:])) - iNdEx += 4 - m.TotalPct = float32(math.Float32frombits(v)) - case 21: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field MemRss", wireType) - } - m.MemRss = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.MemRss |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 22: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field MemCache", wireType) - } - m.MemCache = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.MemCache |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 23: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Host", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Host == nil { - m.Host = &Host{} - } - if err := m.Host.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 24: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Started", wireType) - } - m.Started = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Started |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 25: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ByteKey", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ByteKey = append(m.ByteKey[:0], dAtA[iNdEx:postIndex]...) - if m.ByteKey == nil { - m.ByteKey = []byte{} - } - iNdEx = postIndex - case 26: - 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 ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Tags = append(m.Tags, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - case 27: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Addresses", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Addresses = append(m.Addresses, &ContainerAddr{}) - if err := m.Addresses[len(m.Addresses)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 28: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ThreadCount", wireType) - } - m.ThreadCount = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.ThreadCount |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 29: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ThreadLimit", wireType) - } - m.ThreadLimit = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.ThreadLimit |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 30: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field MemUsage", wireType) - } - m.MemUsage = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.MemUsage |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 31: - if wireType != 5 { - return fmt.Errorf("proto: wrong wireType = %d for field CpuUsageNs", wireType) - } - var v uint32 - if (iNdEx + 4) > l { - return io.ErrUnexpectedEOF - } - v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:])) - iNdEx += 4 - m.CpuUsageNs = float32(math.Float32frombits(v)) - case 32: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field MemAccounted", wireType) - } - m.MemAccounted = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.MemAccounted |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 33: - if wireType != 5 { - return fmt.Errorf("proto: wrong wireType = %d for field CpuRequest", wireType) - } - var v uint32 - if (iNdEx + 4) > l { - return io.ErrUnexpectedEOF - } - v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:])) - iNdEx += 4 - m.CpuRequest = float32(math.Float32frombits(v)) - case 34: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field MemoryRequest", wireType) - } - m.MemoryRequest = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.MemoryRequest |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 35: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RepoDigest", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.RepoDigest = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ProcessStat) Unmarshal(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 ErrIntOverflowAgent - } - 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: ProcessStat: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ProcessStat: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Pid", wireType) - } - m.Pid = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Pid |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field CreateTime", wireType) - } - m.CreateTime = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.CreateTime |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Memory", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Memory == nil { - m.Memory = &MemoryStat{} - } - if err := m.Memory.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Cpu", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Cpu == nil { - m.Cpu = &CPUStat{} - } - if err := m.Cpu.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 5: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Nice", wireType) - } - m.Nice = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Nice |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 7: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Threads", wireType) - } - m.Threads = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Threads |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 8: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field OpenFdCount", wireType) - } - m.OpenFdCount = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.OpenFdCount |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 9: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType) - } - m.Key = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Key |= uint32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 10: - 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 ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ContainerId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 11: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ContainerState", wireType) - } - m.ContainerState = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.ContainerState |= ContainerState(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 12: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ProcessState", wireType) - } - m.ProcessState = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.ProcessState |= ProcessState(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 15: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ContainerHealth", wireType) - } - m.ContainerHealth = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.ContainerHealth |= ContainerHealth(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 16: - if wireType != 5 { - return fmt.Errorf("proto: wrong wireType = %d for field ContainerRbps", wireType) - } - var v uint32 - if (iNdEx + 4) > l { - return io.ErrUnexpectedEOF - } - v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:])) - iNdEx += 4 - m.ContainerRbps = float32(math.Float32frombits(v)) - case 17: - if wireType != 5 { - return fmt.Errorf("proto: wrong wireType = %d for field ContainerWbps", wireType) - } - var v uint32 - if (iNdEx + 4) > l { - return io.ErrUnexpectedEOF - } - v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:])) - iNdEx += 4 - m.ContainerWbps = float32(math.Float32frombits(v)) - case 18: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ContainerKey", wireType) - } - m.ContainerKey = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.ContainerKey |= uint32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 19: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field IoStat", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.IoStat == nil { - m.IoStat = &IOStat{} - } - if err := m.IoStat.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 20: - if wireType != 5 { - return fmt.Errorf("proto: wrong wireType = %d for field ContainerNetRcvdPs", wireType) - } - var v uint32 - if (iNdEx + 4) > l { - return io.ErrUnexpectedEOF - } - v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:])) - iNdEx += 4 - m.ContainerNetRcvdPs = float32(math.Float32frombits(v)) - case 21: - if wireType != 5 { - return fmt.Errorf("proto: wrong wireType = %d for field ContainerNetSentPs", wireType) - } - var v uint32 - if (iNdEx + 4) > l { - return io.ErrUnexpectedEOF - } - v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:])) - iNdEx += 4 - m.ContainerNetSentPs = float32(math.Float32frombits(v)) - case 22: - if wireType != 5 { - return fmt.Errorf("proto: wrong wireType = %d for field ContainerNetRcvdBps", wireType) - } - var v uint32 - if (iNdEx + 4) > l { - return io.ErrUnexpectedEOF - } - v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:])) - iNdEx += 4 - m.ContainerNetRcvdBps = float32(math.Float32frombits(v)) - case 23: - if wireType != 5 { - return fmt.Errorf("proto: wrong wireType = %d for field ContainerNetSentBps", wireType) - } - var v uint32 - if (iNdEx + 4) > l { - return io.ErrUnexpectedEOF - } - v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:])) - iNdEx += 4 - m.ContainerNetSentBps = float32(math.Float32frombits(v)) - case 24: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field VoluntaryCtxSwitches", wireType) - } - m.VoluntaryCtxSwitches = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.VoluntaryCtxSwitches |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 25: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field InvoluntaryCtxSwitches", wireType) - } - m.InvoluntaryCtxSwitches = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.InvoluntaryCtxSwitches |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 26: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ByteKey", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ByteKey = append(m.ByteKey[:0], dAtA[iNdEx:postIndex]...) - if m.ByteKey == nil { - m.ByteKey = []byte{} - } - iNdEx = postIndex - case 27: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ContainerByteKey", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ContainerByteKey = append(m.ContainerByteKey[:0], dAtA[iNdEx:postIndex]...) - if m.ContainerByteKey == nil { - m.ContainerByteKey = []byte{} - } - iNdEx = postIndex - case 28: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Networks", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Networks == nil { - m.Networks = &ProcessNetworks{} - } - if err := m.Networks.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ProcStatsWithPerm) Unmarshal(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 ErrIntOverflowAgent - } - 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: ProcStatsWithPerm: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ProcStatsWithPerm: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field OpenFDCount", wireType) - } - m.OpenFDCount = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.OpenFDCount |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ReadCount", wireType) - } - m.ReadCount = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.ReadCount |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field WriteCount", wireType) - } - m.WriteCount = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.WriteCount |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ReadBytes", wireType) - } - m.ReadBytes = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.ReadBytes |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 5: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field WriteBytes", wireType) - } - m.WriteBytes = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.WriteBytes |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ProcStatsWithPermByPID) Unmarshal(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 ErrIntOverflowAgent - } - 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: ProcStatsWithPermByPID: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ProcStatsWithPermByPID: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field StatsByPID", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.StatsByPID == nil { - m.StatsByPID = make(map[int32]*ProcStatsWithPerm) - } - var mapkey int32 - var mapvalue *ProcStatsWithPerm - for iNdEx < postIndex { - entryPreIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 { - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - mapkey |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - } else if fieldNum == 2 { - var mapmsglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - mapmsglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if mapmsglen < 0 { - return ErrInvalidLengthAgent - } - postmsgIndex := iNdEx + mapmsglen - if postmsgIndex < 0 { - return ErrInvalidLengthAgent - } - if postmsgIndex > l { - return io.ErrUnexpectedEOF - } - mapvalue = &ProcStatsWithPerm{} - if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { - return err - } - iNdEx = postmsgIndex - } else { - iNdEx = entryPreIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > postIndex { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - m.StatsByPID[mapkey] = mapvalue - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ContainerStat) Unmarshal(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 ErrIntOverflowAgent - } - 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: ContainerStat: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ContainerStat: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Id = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 5 { - return fmt.Errorf("proto: wrong wireType = %d for field UserPct", wireType) - } - var v uint32 - if (iNdEx + 4) > l { - return io.ErrUnexpectedEOF - } - v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:])) - iNdEx += 4 - m.UserPct = float32(math.Float32frombits(v)) - case 3: - if wireType != 5 { - return fmt.Errorf("proto: wrong wireType = %d for field SystemPct", wireType) - } - var v uint32 - if (iNdEx + 4) > l { - return io.ErrUnexpectedEOF - } - v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:])) - iNdEx += 4 - m.SystemPct = float32(math.Float32frombits(v)) - case 4: - if wireType != 5 { - return fmt.Errorf("proto: wrong wireType = %d for field TotalPct", wireType) - } - var v uint32 - if (iNdEx + 4) > l { - return io.ErrUnexpectedEOF - } - v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:])) - iNdEx += 4 - m.TotalPct = float32(math.Float32frombits(v)) - case 5: - if wireType != 5 { - return fmt.Errorf("proto: wrong wireType = %d for field CpuLimit", wireType) - } - var v uint32 - if (iNdEx + 4) > l { - return io.ErrUnexpectedEOF - } - v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:])) - iNdEx += 4 - m.CpuLimit = float32(math.Float32frombits(v)) - case 6: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field MemRss", wireType) - } - m.MemRss = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.MemRss |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 7: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field MemCache", wireType) - } - m.MemCache = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.MemCache |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 8: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field MemLimit", wireType) - } - m.MemLimit = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.MemLimit |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 9: - if wireType != 5 { - return fmt.Errorf("proto: wrong wireType = %d for field Rbps", wireType) - } - var v uint32 - if (iNdEx + 4) > l { - return io.ErrUnexpectedEOF - } - v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:])) - iNdEx += 4 - m.Rbps = float32(math.Float32frombits(v)) - case 10: - if wireType != 5 { - return fmt.Errorf("proto: wrong wireType = %d for field Wbps", wireType) - } - var v uint32 - if (iNdEx + 4) > l { - return io.ErrUnexpectedEOF - } - v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:])) - iNdEx += 4 - m.Wbps = float32(math.Float32frombits(v)) - case 11: - if wireType != 5 { - return fmt.Errorf("proto: wrong wireType = %d for field NetRcvdPs", wireType) - } - var v uint32 - if (iNdEx + 4) > l { - return io.ErrUnexpectedEOF - } - v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:])) - iNdEx += 4 - m.NetRcvdPs = float32(math.Float32frombits(v)) - case 12: - if wireType != 5 { - return fmt.Errorf("proto: wrong wireType = %d for field NetSentPs", wireType) - } - var v uint32 - if (iNdEx + 4) > l { - return io.ErrUnexpectedEOF - } - v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:])) - iNdEx += 4 - m.NetSentPs = float32(math.Float32frombits(v)) - case 13: - if wireType != 5 { - return fmt.Errorf("proto: wrong wireType = %d for field NetRcvdBps", wireType) - } - var v uint32 - if (iNdEx + 4) > l { - return io.ErrUnexpectedEOF - } - v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:])) - iNdEx += 4 - m.NetRcvdBps = float32(math.Float32frombits(v)) - case 14: - if wireType != 5 { - return fmt.Errorf("proto: wrong wireType = %d for field NetSentBps", wireType) - } - var v uint32 - if (iNdEx + 4) > l { - return io.ErrUnexpectedEOF - } - v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:])) - iNdEx += 4 - m.NetSentBps = float32(math.Float32frombits(v)) - case 15: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field State", wireType) - } - m.State = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.State |= ContainerState(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 16: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Health", wireType) - } - m.Health = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Health |= ContainerHealth(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 17: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType) - } - m.Key = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Key |= uint32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 18: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Started", wireType) - } - m.Started = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Started |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 19: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ByteKey", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ByteKey = append(m.ByteKey[:0], dAtA[iNdEx:postIndex]...) - if m.ByteKey == nil { - m.ByteKey = []byte{} - } - iNdEx = postIndex - case 20: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ThreadCount", wireType) - } - m.ThreadCount = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.ThreadCount |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 21: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ThreadLimit", wireType) - } - m.ThreadLimit = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.ThreadLimit |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 22: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field MemUsage", wireType) - } - m.MemUsage = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.MemUsage |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 23: - if wireType != 5 { - return fmt.Errorf("proto: wrong wireType = %d for field CpuUsageNs", wireType) - } - var v uint32 - if (iNdEx + 4) > l { - return io.ErrUnexpectedEOF - } - v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:])) - iNdEx += 4 - m.CpuUsageNs = float32(math.Float32frombits(v)) - case 24: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field MemAccounted", wireType) - } - m.MemAccounted = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.MemAccounted |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 25: - if wireType != 5 { - return fmt.Errorf("proto: wrong wireType = %d for field CpuRequest", wireType) - } - var v uint32 - if (iNdEx + 4) > l { - return io.ErrUnexpectedEOF - } - v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:])) - iNdEx += 4 - m.CpuRequest = float32(math.Float32frombits(v)) - case 26: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field MemoryRequest", wireType) - } - m.MemoryRequest = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.MemoryRequest |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *SystemInfo) Unmarshal(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 ErrIntOverflowAgent - } - 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: SystemInfo: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: SystemInfo: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Uuid", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Uuid = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Os", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Os == nil { - m.Os = &OSInfo{} - } - if err := m.Os.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Cpus", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Cpus = append(m.Cpus, &CPUInfo{}) - if err := m.Cpus[len(m.Cpus)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 5: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field TotalMemory", wireType) - } - m.TotalMemory = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.TotalMemory |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *OSInfo) Unmarshal(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 ErrIntOverflowAgent - } - 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: OSInfo: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: OSInfo: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - 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 ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Name = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Platform", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Platform = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Family", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Family = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Version = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 5: - 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 ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.KernelVersion = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *IOStat) Unmarshal(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 ErrIntOverflowAgent - } - 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: IOStat: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: IOStat: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 5 { - return fmt.Errorf("proto: wrong wireType = %d for field ReadRate", wireType) - } - var v uint32 - if (iNdEx + 4) > l { - return io.ErrUnexpectedEOF - } - v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:])) - iNdEx += 4 - m.ReadRate = float32(math.Float32frombits(v)) - case 2: - if wireType != 5 { - return fmt.Errorf("proto: wrong wireType = %d for field WriteRate", wireType) - } - var v uint32 - if (iNdEx + 4) > l { - return io.ErrUnexpectedEOF - } - v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:])) - iNdEx += 4 - m.WriteRate = float32(math.Float32frombits(v)) - case 3: - if wireType != 5 { - return fmt.Errorf("proto: wrong wireType = %d for field ReadBytesRate", wireType) - } - var v uint32 - if (iNdEx + 4) > l { - return io.ErrUnexpectedEOF - } - v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:])) - iNdEx += 4 - m.ReadBytesRate = float32(math.Float32frombits(v)) - case 4: - if wireType != 5 { - return fmt.Errorf("proto: wrong wireType = %d for field WriteBytesRate", wireType) - } - var v uint32 - if (iNdEx + 4) > l { - return io.ErrUnexpectedEOF - } - v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:])) - iNdEx += 4 - m.WriteBytesRate = float32(math.Float32frombits(v)) - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *MemoryStat) Unmarshal(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 ErrIntOverflowAgent - } - 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: MemoryStat: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: MemoryStat: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Rss", wireType) - } - m.Rss = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Rss |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Vms", wireType) - } - m.Vms = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Vms |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Swap", wireType) - } - m.Swap = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Swap |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Shared", wireType) - } - m.Shared = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Shared |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 5: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Text", wireType) - } - m.Text = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Text |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 6: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Lib", wireType) - } - m.Lib = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Lib |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 7: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType) - } - m.Data = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Data |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 8: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Dirty", wireType) - } - m.Dirty = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Dirty |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *CPUStat) Unmarshal(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 ErrIntOverflowAgent - } - 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: CPUStat: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: CPUStat: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field LastCpu", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.LastCpu = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 5 { - return fmt.Errorf("proto: wrong wireType = %d for field TotalPct", wireType) - } - var v uint32 - if (iNdEx + 4) > l { - return io.ErrUnexpectedEOF - } - v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:])) - iNdEx += 4 - m.TotalPct = float32(math.Float32frombits(v)) - case 3: - if wireType != 5 { - return fmt.Errorf("proto: wrong wireType = %d for field UserPct", wireType) - } - var v uint32 - if (iNdEx + 4) > l { - return io.ErrUnexpectedEOF - } - v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:])) - iNdEx += 4 - m.UserPct = float32(math.Float32frombits(v)) - case 4: - if wireType != 5 { - return fmt.Errorf("proto: wrong wireType = %d for field SystemPct", wireType) - } - var v uint32 - if (iNdEx + 4) > l { - return io.ErrUnexpectedEOF - } - v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:])) - iNdEx += 4 - m.SystemPct = float32(math.Float32frombits(v)) - case 5: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field NumThreads", wireType) - } - m.NumThreads = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.NumThreads |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 6: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Cpus", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Cpus = append(m.Cpus, &SingleCPUStat{}) - if err := m.Cpus[len(m.Cpus)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 7: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Nice", wireType) - } - m.Nice = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Nice |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 8: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field UserTime", wireType) - } - m.UserTime = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.UserTime |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 9: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field SystemTime", wireType) - } - m.SystemTime = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.SystemTime |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *SingleCPUStat) Unmarshal(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 ErrIntOverflowAgent - } - 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: SingleCPUStat: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: SingleCPUStat: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - 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 ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Name = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 5 { - return fmt.Errorf("proto: wrong wireType = %d for field TotalPct", wireType) - } - var v uint32 - if (iNdEx + 4) > l { - return io.ErrUnexpectedEOF - } - v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:])) - iNdEx += 4 - m.TotalPct = float32(math.Float32frombits(v)) - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *CPUInfo) Unmarshal(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 ErrIntOverflowAgent - } - 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: CPUInfo: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: CPUInfo: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Number", wireType) - } - m.Number = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Number |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Vendor", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Vendor = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Family", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Family = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Model", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Model = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PhysicalId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.PhysicalId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 6: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field CoreId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.CoreId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 7: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Cores", wireType) - } - m.Cores = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Cores |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 8: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Mhz", wireType) - } - m.Mhz = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Mhz |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 9: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field CacheSize", wireType) - } - m.CacheSize = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.CacheSize |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *Host) Unmarshal(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 ErrIntOverflowAgent - } - 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: Host: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Host: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) - } - m.Id = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Id |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field OrgId", wireType) - } - m.OrgId = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.OrgId |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 3: - 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 ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - 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 AllTags", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.AllTags = append(m.AllTags, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - case 7: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field NumCpus", wireType) - } - m.NumCpus = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.NumCpus |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 8: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field TotalMemory", wireType) - } - m.TotalMemory = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.TotalMemory |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 9: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field TagIndex", wireType) - } - m.TagIndex = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.TagIndex |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 10: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field TagsModified", wireType) - } - m.TagsModified = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.TagsModified |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *Cluster) Unmarshal(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 ErrIntOverflowAgent - } - 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: Cluster: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Cluster: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field NodeCount", wireType) - } - m.NodeCount = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.NodeCount |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field KubeletVersions", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.KubeletVersions == nil { - m.KubeletVersions = make(map[string]int32) - } - var mapkey string - var mapvalue int32 - for iNdEx < postIndex { - entryPreIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postStringIndexmapkey := iNdEx + intStringLenmapkey - if postStringIndexmapkey < 0 { - return ErrInvalidLengthAgent - } - if postStringIndexmapkey > l { - return io.ErrUnexpectedEOF - } - mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) - iNdEx = postStringIndexmapkey - } else if fieldNum == 2 { - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - mapvalue |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - } else { - iNdEx = entryPreIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > postIndex { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - m.KubeletVersions[mapkey] = mapvalue - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ApiServerVersions", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.ApiServerVersions == nil { - m.ApiServerVersions = make(map[string]int32) - } - var mapkey string - var mapvalue int32 - for iNdEx < postIndex { - entryPreIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postStringIndexmapkey := iNdEx + intStringLenmapkey - if postStringIndexmapkey < 0 { - return ErrInvalidLengthAgent - } - if postStringIndexmapkey > l { - return io.ErrUnexpectedEOF - } - mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) - iNdEx = postStringIndexmapkey - } else if fieldNum == 2 { - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - mapvalue |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - } else { - iNdEx = entryPreIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > postIndex { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - m.ApiServerVersions[mapkey] = mapvalue - iNdEx = postIndex - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field PodCapacity", wireType) - } - m.PodCapacity = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.PodCapacity |= uint32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 5: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field PodAllocatable", wireType) - } - m.PodAllocatable = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.PodAllocatable |= uint32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 6: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field MemoryAllocatable", wireType) - } - m.MemoryAllocatable = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.MemoryAllocatable |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 7: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field MemoryCapacity", wireType) - } - m.MemoryCapacity = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.MemoryCapacity |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 8: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field CpuAllocatable", wireType) - } - m.CpuAllocatable = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.CpuAllocatable |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 9: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field CpuCapacity", wireType) - } - m.CpuCapacity = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.CpuCapacity |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 10: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ResourceVersion = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 11: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field CreationTimestamp", wireType) - } - m.CreationTimestamp = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.CreationTimestamp |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 12: - 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 ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Tags = append(m.Tags, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - case 13: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Metrics", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Metrics == nil { - m.Metrics = &ResourceMetrics{} - } - if err := m.Metrics.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 14: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ExtendedResourcesAllocatable", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.ExtendedResourcesAllocatable == nil { - m.ExtendedResourcesAllocatable = make(map[string]int64) - } - var mapkey string - var mapvalue int64 - for iNdEx < postIndex { - entryPreIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postStringIndexmapkey := iNdEx + intStringLenmapkey - if postStringIndexmapkey < 0 { - return ErrInvalidLengthAgent - } - if postStringIndexmapkey > l { - return io.ErrUnexpectedEOF - } - mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) - iNdEx = postStringIndexmapkey - } else if fieldNum == 2 { - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - mapvalue |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - } else { - iNdEx = entryPreIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > postIndex { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - m.ExtendedResourcesAllocatable[mapkey] = mapvalue - iNdEx = postIndex - case 15: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ExtendedResourcesCapacity", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.ExtendedResourcesCapacity == nil { - m.ExtendedResourcesCapacity = make(map[string]int64) - } - var mapkey string - var mapvalue int64 - for iNdEx < postIndex { - entryPreIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postStringIndexmapkey := iNdEx + intStringLenmapkey - if postStringIndexmapkey < 0 { - return ErrInvalidLengthAgent - } - if postStringIndexmapkey > l { - return io.ErrUnexpectedEOF - } - mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) - iNdEx = postStringIndexmapkey - } else if fieldNum == 2 { - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - mapvalue |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - } else { - iNdEx = entryPreIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > postIndex { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - m.ExtendedResourcesCapacity[mapkey] = mapvalue - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *Metadata) Unmarshal(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 ErrIntOverflowAgent - } - 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 Name", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Name = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Namespace = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Uid", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Uid = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field CreationTimestamp", wireType) - } - m.CreationTimestamp = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.CreationTimestamp |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 5: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field DeletionTimestamp", wireType) - } - m.DeletionTimestamp = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.DeletionTimestamp |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 6: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Labels", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Labels = append(m.Labels, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - case 7: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Annotations", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Annotations = append(m.Annotations, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - case 8: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field OwnerReferences", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.OwnerReferences = append(m.OwnerReferences, &OwnerReference{}) - if err := m.OwnerReferences[len(m.OwnerReferences)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 9: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ResourceVersion = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 10: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Finalizers", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Finalizers = append(m.Finalizers, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *OwnerReference) Unmarshal(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 ErrIntOverflowAgent - } - 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: OwnerReference: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: OwnerReference: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - 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 ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Name = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Uid", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Uid = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Kind = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ObjectReference) Unmarshal(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 ErrIntOverflowAgent - } - 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: ObjectReference: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ObjectReference: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Kind = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Namespace = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - 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 ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Name = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Uid", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Uid = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ApiVersion", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ApiVersion = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 6: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ResourceVersion = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 7: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field FieldPath", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.FieldPath = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ServicePort) Unmarshal(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 ErrIntOverflowAgent - } - 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: ServicePort: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ServicePort: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - 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 ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Name = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Protocol", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Protocol = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Port", wireType) - } - m.Port = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Port |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field TargetPort", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.TargetPort = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 5: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field NodePort", wireType) - } - m.NodePort = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.NodePort |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ServiceSessionAffinityConfig) Unmarshal(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 ErrIntOverflowAgent - } - 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: ServiceSessionAffinityConfig: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ServiceSessionAffinityConfig: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ClientIPTimeoutSeconds", wireType) - } - m.ClientIPTimeoutSeconds = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.ClientIPTimeoutSeconds |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *Node) Unmarshal(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 ErrIntOverflowAgent - } - 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: Node: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Node: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - 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 ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Metadata == nil { - m.Metadata = &Metadata{} - } - if err := m.Metadata.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PodCIDR", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.PodCIDR = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PodCIDRs", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.PodCIDRs = append(m.PodCIDRs, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Unschedulable", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.Unschedulable = bool(v != 0) - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Taints", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Taints = append(m.Taints, &Taint{}) - if err := m.Taints[len(m.Taints)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 6: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Status == nil { - m.Status = &NodeStatus{} - } - if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 7: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Yaml", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Yaml = append(m.Yaml[:0], dAtA[iNdEx:postIndex]...) - if m.Yaml == nil { - m.Yaml = []byte{} - } - iNdEx = postIndex - case 8: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Roles", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Roles = append(m.Roles, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - case 9: - 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 ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Tags = append(m.Tags, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - case 10: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ProviderID", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ProviderID = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 11: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Host", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Host == nil { - m.Host = &Host{} - } - if err := m.Host.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 12: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Metrics", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Metrics == nil { - m.Metrics = &ResourceMetrics{} - } - if err := m.Metrics.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *NodeStatus) Unmarshal(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 ErrIntOverflowAgent - } - 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: NodeStatus: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: NodeStatus: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Capacity", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Capacity == nil { - m.Capacity = make(map[string]int64) - } - var mapkey string - var mapvalue int64 - for iNdEx < postIndex { - entryPreIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postStringIndexmapkey := iNdEx + intStringLenmapkey - if postStringIndexmapkey < 0 { - return ErrInvalidLengthAgent - } - if postStringIndexmapkey > l { - return io.ErrUnexpectedEOF - } - mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) - iNdEx = postStringIndexmapkey - } else if fieldNum == 2 { - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - mapvalue |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - } else { - iNdEx = entryPreIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > postIndex { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - m.Capacity[mapkey] = mapvalue - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Allocatable", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Allocatable == nil { - m.Allocatable = make(map[string]int64) - } - var mapkey string - var mapvalue int64 - for iNdEx < postIndex { - entryPreIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postStringIndexmapkey := iNdEx + intStringLenmapkey - if postStringIndexmapkey < 0 { - return ErrInvalidLengthAgent - } - if postStringIndexmapkey > l { - return io.ErrUnexpectedEOF - } - mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) - iNdEx = postStringIndexmapkey - } else if fieldNum == 2 { - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - mapvalue |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - } else { - iNdEx = entryPreIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > postIndex { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - m.Allocatable[mapkey] = mapvalue - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field NodeAddresses", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.NodeAddresses == nil { - m.NodeAddresses = make(map[string]string) - } - var mapkey string - var mapvalue string - for iNdEx < postIndex { - entryPreIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postStringIndexmapkey := iNdEx + intStringLenmapkey - if postStringIndexmapkey < 0 { - return ErrInvalidLengthAgent - } - if postStringIndexmapkey > l { - return io.ErrUnexpectedEOF - } - mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) - iNdEx = postStringIndexmapkey - } else if fieldNum == 2 { - var stringLenmapvalue uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLenmapvalue |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLenmapvalue := int(stringLenmapvalue) - if intStringLenmapvalue < 0 { - return ErrInvalidLengthAgent - } - postStringIndexmapvalue := iNdEx + intStringLenmapvalue - if postStringIndexmapvalue < 0 { - return ErrInvalidLengthAgent - } - if postStringIndexmapvalue > l { - return io.ErrUnexpectedEOF - } - mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue]) - iNdEx = postStringIndexmapvalue - } else { - iNdEx = entryPreIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > postIndex { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - m.NodeAddresses[mapkey] = mapvalue - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Status = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field KubeletVersion", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.KubeletVersion = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 6: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Conditions", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Conditions = append(m.Conditions, &NodeCondition{}) - if err := m.Conditions[len(m.Conditions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 7: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Images", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Images = append(m.Images, &ContainerImage{}) - if err := m.Images[len(m.Images)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 8: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field KubeProxyVersion", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.KubeProxyVersion = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 9: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field OperatingSystem", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.OperatingSystem = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 10: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Architecture", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Architecture = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 11: - 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 ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.KernelVersion = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 12: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field OsImage", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.OsImage = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 13: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ContainerRuntimeVersion", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ContainerRuntimeVersion = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *NodeCondition) Unmarshal(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 ErrIntOverflowAgent - } - 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: NodeCondition: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: NodeCondition: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Type = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Status = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field LastTransitionTime", wireType) - } - m.LastTransitionTime = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.LastTransitionTime |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Reason = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Message = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ContainerImage) Unmarshal(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 ErrIntOverflowAgent - } - 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: ContainerImage: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ContainerImage: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Names", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Names = append(m.Names, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field SizeBytes", wireType) - } - m.SizeBytes = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.SizeBytes |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *Taint) Unmarshal(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 ErrIntOverflowAgent - } - 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: Taint: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Taint: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Key = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Value = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Effect", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Effect = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field TimeAdded", wireType) - } - m.TimeAdded = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.TimeAdded |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ServiceSpec) Unmarshal(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 ErrIntOverflowAgent - } - 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: ServiceSpec: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ServiceSpec: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Ports", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Ports = append(m.Ports, &ServicePort{}) - if err := m.Ports[len(m.Ports)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Selectors", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Selectors = append(m.Selectors, &LabelSelectorRequirement{}) - if err := m.Selectors[len(m.Selectors)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ClusterIP", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ClusterIP = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Type = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ExternalIPs", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ExternalIPs = append(m.ExternalIPs, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - case 6: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field SessionAffinity", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.SessionAffinity = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 7: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field LoadBalancerIP", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.LoadBalancerIP = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 8: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field LoadBalancerSourceRanges", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.LoadBalancerSourceRanges = append(m.LoadBalancerSourceRanges, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - case 9: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ExternalName", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ExternalName = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 10: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ExternalTrafficPolicy", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ExternalTrafficPolicy = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 11: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field HealthCheckNodePort", wireType) - } - m.HealthCheckNodePort = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.HealthCheckNodePort |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 12: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field PublishNotReadyAddresses", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.PublishNotReadyAddresses = bool(v != 0) - case 13: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field SessionAffinityConfig", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.SessionAffinityConfig == nil { - m.SessionAffinityConfig = &ServiceSessionAffinityConfig{} - } - if err := m.SessionAffinityConfig.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 14: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field IpFamily", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.IpFamily = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ServiceStatus) Unmarshal(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 ErrIntOverflowAgent - } - 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: ServiceStatus: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ServiceStatus: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 17: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field LoadBalancerIngress", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.LoadBalancerIngress = append(m.LoadBalancerIngress, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *Service) Unmarshal(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 ErrIntOverflowAgent - } - 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: Service: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Service: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - 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 ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Metadata == nil { - m.Metadata = &Metadata{} - } - if err := m.Metadata.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Spec == nil { - m.Spec = &ServiceSpec{} - } - if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Status == nil { - m.Status = &ServiceStatus{} - } - if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Yaml", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Yaml = append(m.Yaml[:0], dAtA[iNdEx:postIndex]...) - if m.Yaml == nil { - m.Yaml = []byte{} - } - 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 ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - 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 Metrics", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Metrics == nil { - m.Metrics = &ResourceMetrics{} - } - if err := m.Metrics.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *DeploymentCondition) Unmarshal(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 ErrIntOverflowAgent - } - 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: DeploymentCondition: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: DeploymentCondition: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Type = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Status = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Reason = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Message = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 6: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field LastUpdateTime", wireType) - } - m.LastUpdateTime = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.LastUpdateTime |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 7: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field LastTransitionTime", wireType) - } - m.LastTransitionTime = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.LastTransitionTime |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *Deployment) Unmarshal(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 ErrIntOverflowAgent - } - 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: Deployment: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Deployment: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - 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 ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Metadata == nil { - m.Metadata = &Metadata{} - } - if err := m.Metadata.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ReplicasDesired", wireType) - } - m.ReplicasDesired = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.ReplicasDesired |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field DeploymentStrategy", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.DeploymentStrategy = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field MaxUnavailable", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.MaxUnavailable = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field MaxSurge", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.MaxSurge = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 6: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Paused", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.Paused = bool(v != 0) - case 7: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Selectors", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Selectors = append(m.Selectors, &LabelSelectorRequirement{}) - if err := m.Selectors[len(m.Selectors)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 8: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Replicas", wireType) - } - m.Replicas = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Replicas |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 9: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field UpdatedReplicas", wireType) - } - m.UpdatedReplicas = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.UpdatedReplicas |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 10: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ReadyReplicas", wireType) - } - m.ReadyReplicas = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.ReadyReplicas |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 11: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field AvailableReplicas", wireType) - } - m.AvailableReplicas = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.AvailableReplicas |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 12: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field UnavailableReplicas", wireType) - } - m.UnavailableReplicas = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.UnavailableReplicas |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 13: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ConditionMessage", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ConditionMessage = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 14: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Yaml", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Yaml = append(m.Yaml[:0], dAtA[iNdEx:postIndex]...) - if m.Yaml == nil { - m.Yaml = []byte{} - } - iNdEx = postIndex - case 15: - 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 ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Tags = append(m.Tags, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - case 16: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ResourceRequirements", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ResourceRequirements = append(m.ResourceRequirements, &ResourceRequirements{}) - if err := m.ResourceRequirements[len(m.ResourceRequirements)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 17: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Metrics", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Metrics == nil { - m.Metrics = &ResourceMetrics{} - } - if err := m.Metrics.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 18: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Conditions", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Conditions = append(m.Conditions, &DeploymentCondition{}) - if err := m.Conditions[len(m.Conditions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ReplicaSetCondition) Unmarshal(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 ErrIntOverflowAgent - } - 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: ReplicaSetCondition: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ReplicaSetCondition: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Type = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Status = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field LastTransitionTime", wireType) - } - m.LastTransitionTime = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.LastTransitionTime |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Reason = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Message = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ReplicaSet) Unmarshal(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 ErrIntOverflowAgent - } - 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: ReplicaSet: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ReplicaSet: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - 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 ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Metadata == nil { - m.Metadata = &Metadata{} - } - if err := m.Metadata.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ReplicasDesired", wireType) - } - m.ReplicasDesired = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.ReplicasDesired |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Selectors", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Selectors = append(m.Selectors, &LabelSelectorRequirement{}) - if err := m.Selectors[len(m.Selectors)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Replicas", wireType) - } - m.Replicas = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Replicas |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 5: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field FullyLabeledReplicas", wireType) - } - m.FullyLabeledReplicas = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.FullyLabeledReplicas |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 6: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ReadyReplicas", wireType) - } - m.ReadyReplicas = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.ReadyReplicas |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 7: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field AvailableReplicas", wireType) - } - m.AvailableReplicas = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.AvailableReplicas |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 8: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Yaml", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Yaml = append(m.Yaml[:0], dAtA[iNdEx:postIndex]...) - if m.Yaml == nil { - m.Yaml = []byte{} - } - iNdEx = postIndex - case 9: - 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 ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Tags = append(m.Tags, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - case 10: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ResourceRequirements", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ResourceRequirements = append(m.ResourceRequirements, &ResourceRequirements{}) - if err := m.ResourceRequirements[len(m.ResourceRequirements)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 11: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Metrics", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Metrics == nil { - m.Metrics = &ResourceMetrics{} - } - if err := m.Metrics.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 12: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Conditions", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Conditions = append(m.Conditions, &ReplicaSetCondition{}) - if err := m.Conditions[len(m.Conditions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *LabelSelectorRequirement) Unmarshal(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 ErrIntOverflowAgent - } - 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: LabelSelectorRequirement: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: LabelSelectorRequirement: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Key = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Operator", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Operator = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Values", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Values = append(m.Values, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *PodDisruptionBudget) Unmarshal(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 ErrIntOverflowAgent - } - 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: PodDisruptionBudget: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: PodDisruptionBudget: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - 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 ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Metadata == nil { - m.Metadata = &Metadata{} - } - if err := m.Metadata.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Spec == nil { - m.Spec = &PodDisruptionBudgetSpec{} - } - if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Status == nil { - m.Status = &PodDisruptionBudgetStatus{} - } - if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 4: - 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 ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Tags = append(m.Tags, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *PodDisruptionBudgetSpec) Unmarshal(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 ErrIntOverflowAgent - } - 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: PodDisruptionBudgetSpec: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: PodDisruptionBudgetSpec: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field MinAvailable", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.MinAvailable == nil { - m.MinAvailable = &IntOrString{} - } - if err := m.MinAvailable.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Selector", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Selector = append(m.Selector, &LabelSelectorRequirement{}) - if err := m.Selector[len(m.Selector)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field MaxUnavailable", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.MaxUnavailable == nil { - m.MaxUnavailable = &IntOrString{} - } - if err := m.MaxUnavailable.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field UnhealthyPodEvictionPolicy", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.UnhealthyPodEvictionPolicy = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *PodDisruptionBudgetStatus) Unmarshal(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 ErrIntOverflowAgent - } - 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: PodDisruptionBudgetStatus: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: PodDisruptionBudgetStatus: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field DisruptedPods", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.DisruptedPods == nil { - m.DisruptedPods = make(map[string]int64) - } - var mapkey string - var mapvalue int64 - for iNdEx < postIndex { - entryPreIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postStringIndexmapkey := iNdEx + intStringLenmapkey - if postStringIndexmapkey < 0 { - return ErrInvalidLengthAgent - } - if postStringIndexmapkey > l { - return io.ErrUnexpectedEOF - } - mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) - iNdEx = postStringIndexmapkey - } else if fieldNum == 2 { - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - mapvalue |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - } else { - iNdEx = entryPreIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > postIndex { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - m.DisruptedPods[mapkey] = mapvalue - iNdEx = postIndex - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field DisruptionsAllowed", wireType) - } - m.DisruptionsAllowed = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.DisruptionsAllowed |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field CurrentHealthy", wireType) - } - m.CurrentHealthy = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.CurrentHealthy |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field DesiredHealthy", wireType) - } - m.DesiredHealthy = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.DesiredHealthy |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 5: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ExpectedPods", wireType) - } - m.ExpectedPods = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.ExpectedPods |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 6: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Conditions", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Conditions = append(m.Conditions, &Condition{}) - if err := m.Conditions[len(m.Conditions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *IntOrString) Unmarshal(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 ErrIntOverflowAgent - } - 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: IntOrString: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: IntOrString: 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 ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Type |= IntOrString_Type(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field IntVal", wireType) - } - m.IntVal = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.IntVal |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field StrVal", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.StrVal = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *Condition) Unmarshal(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 ErrIntOverflowAgent - } - 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: Condition: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Condition: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Type = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Status = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field LastTransitionTime", wireType) - } - m.LastTransitionTime = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.LastTransitionTime |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Reason = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Message = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *Pod) Unmarshal(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 ErrIntOverflowAgent - } - 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: Pod: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Pod: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - 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 ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Metadata == nil { - m.Metadata = &Metadata{} - } - if err := m.Metadata.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field IP", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.IP = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field NominatedNodeName", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.NominatedNodeName = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field NodeName", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.NodeName = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Phase", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Phase = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 6: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field RestartCount", wireType) - } - m.RestartCount = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.RestartCount |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 7: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ContainerStatuses", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ContainerStatuses = append(m.ContainerStatuses, &ContainerStatus{}) - if err := m.ContainerStatuses[len(m.ContainerStatuses)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 8: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ConditionMessage", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ConditionMessage = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 9: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Status = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 10: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Yaml", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Yaml = append(m.Yaml[:0], dAtA[iNdEx:postIndex]...) - if m.Yaml == nil { - m.Yaml = []byte{} - } - iNdEx = postIndex - case 11: - 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 ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Tags = append(m.Tags, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - case 12: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Host", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Host == nil { - m.Host = &Host{} - } - if err := m.Host.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 13: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ResourceRequirements", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ResourceRequirements = append(m.ResourceRequirements, &ResourceRequirements{}) - if err := m.ResourceRequirements[len(m.ResourceRequirements)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 14: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field InitContainerStatuses", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.InitContainerStatuses = append(m.InitContainerStatuses, &ContainerStatus{}) - if err := m.InitContainerStatuses[len(m.InitContainerStatuses)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 15: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field QOSClass", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.QOSClass = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 16: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PriorityClass", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.PriorityClass = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 17: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Metrics", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Metrics == nil { - m.Metrics = &ResourceMetrics{} - } - if err := m.Metrics.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 18: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field StartTime", wireType) - } - m.StartTime = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.StartTime |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 19: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ScheduledTime", wireType) - } - m.ScheduledTime = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.ScheduledTime |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 20: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Conditions", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Conditions = append(m.Conditions, &PodCondition{}) - if err := m.Conditions[len(m.Conditions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *PodCondition) Unmarshal(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 ErrIntOverflowAgent - } - 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: PodCondition: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: PodCondition: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Type = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Status = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field LastProbeTime", wireType) - } - m.LastProbeTime = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.LastProbeTime |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field LastTransitionTime", wireType) - } - m.LastTransitionTime = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.LastTransitionTime |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Reason = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 6: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Message = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ContainerStatus) Unmarshal(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 ErrIntOverflowAgent - } - 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: ContainerStatus: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ContainerStatus: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - 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 ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Name = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - 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 ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ContainerID = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Ready", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.Ready = bool(v != 0) - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field RestartCount", wireType) - } - m.RestartCount = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.RestartCount |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field State", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.State = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 6: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Message = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 7: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Image", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Image = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 8: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ImageID", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ImageID = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *Manifest) Unmarshal(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 ErrIntOverflowAgent - } - 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: Manifest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Manifest: 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 ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Type |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ResourceVersion = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Uid", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Uid = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Content", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Content = append(m.Content[:0], dAtA[iNdEx:postIndex]...) - if m.Content == nil { - m.Content = []byte{} - } - iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ContentType", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ContentType = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 6: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Version = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *NamespaceCondition) Unmarshal(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 ErrIntOverflowAgent - } - 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: NamespaceCondition: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: NamespaceCondition: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Type = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Status = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field LastTransitionTime", wireType) - } - m.LastTransitionTime = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.LastTransitionTime |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Reason = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Message = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *Namespace) Unmarshal(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 ErrIntOverflowAgent - } - 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: Namespace: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Namespace: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - 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 ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Metadata == nil { - m.Metadata = &Metadata{} - } - if err := m.Metadata.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Status = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ConditionMessage", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ConditionMessage = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Yaml", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Yaml = append(m.Yaml[:0], dAtA[iNdEx:postIndex]...) - if m.Yaml == nil { - m.Yaml = []byte{} - } - 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 ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - 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 Conditions", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Conditions = append(m.Conditions, &NamespaceCondition{}) - if err := m.Conditions[len(m.Conditions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ResourceRequirements) Unmarshal(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 ErrIntOverflowAgent - } - 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: ResourceRequirements: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ResourceRequirements: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Limits", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Limits == nil { - m.Limits = make(map[string]int64) - } - var mapkey string - var mapvalue int64 - for iNdEx < postIndex { - entryPreIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postStringIndexmapkey := iNdEx + intStringLenmapkey - if postStringIndexmapkey < 0 { - return ErrInvalidLengthAgent - } - if postStringIndexmapkey > l { - return io.ErrUnexpectedEOF - } - mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) - iNdEx = postStringIndexmapkey - } else if fieldNum == 2 { - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - mapvalue |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - } else { - iNdEx = entryPreIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > postIndex { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - m.Limits[mapkey] = mapvalue - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Requests", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Requests == nil { - m.Requests = make(map[string]int64) - } - var mapkey string - var mapvalue int64 - for iNdEx < postIndex { - entryPreIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postStringIndexmapkey := iNdEx + intStringLenmapkey - if postStringIndexmapkey < 0 { - return ErrInvalidLengthAgent - } - if postStringIndexmapkey > l { - return io.ErrUnexpectedEOF - } - mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) - iNdEx = postStringIndexmapkey - } else if fieldNum == 2 { - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - mapvalue |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - } else { - iNdEx = entryPreIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > postIndex { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - m.Requests[mapkey] = mapvalue - iNdEx = postIndex - case 3: - 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 ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Name = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - 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 ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Type |= ResourceRequirementsType(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ResourceMetrics) Unmarshal(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 ErrIntOverflowAgent - } - 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: ResourceMetrics: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ResourceMetrics: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field MetricValues", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.MetricValues == nil { - m.MetricValues = make(map[string]float64) - } - var mapkey string - var mapvalue float64 - for iNdEx < postIndex { - entryPreIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postStringIndexmapkey := iNdEx + intStringLenmapkey - if postStringIndexmapkey < 0 { - return ErrInvalidLengthAgent - } - if postStringIndexmapkey > l { - return io.ErrUnexpectedEOF - } - mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) - iNdEx = postStringIndexmapkey - } else if fieldNum == 2 { - var mapvaluetemp uint64 - if (iNdEx + 8) > l { - return io.ErrUnexpectedEOF - } - mapvaluetemp = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:])) - iNdEx += 8 - mapvalue = math.Float64frombits(mapvaluetemp) - } else { - iNdEx = entryPreIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > postIndex { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - m.MetricValues[mapkey] = mapvalue - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *JobSpec) Unmarshal(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 ErrIntOverflowAgent - } - 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: JobSpec: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: JobSpec: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Parallelism", wireType) - } - m.Parallelism = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Parallelism |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Completions", wireType) - } - m.Completions = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Completions |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ActiveDeadlineSeconds", wireType) - } - m.ActiveDeadlineSeconds = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.ActiveDeadlineSeconds |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field BackoffLimit", wireType) - } - m.BackoffLimit = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.BackoffLimit |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Selectors", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Selectors = append(m.Selectors, &LabelSelectorRequirement{}) - if err := m.Selectors[len(m.Selectors)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 6: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ManualSelector", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.ManualSelector = bool(v != 0) - case 7: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ResourceRequirements", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ResourceRequirements = append(m.ResourceRequirements, &ResourceRequirements{}) - if err := m.ResourceRequirements[len(m.ResourceRequirements)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *JobStatus) Unmarshal(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 ErrIntOverflowAgent - } - 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: JobStatus: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: JobStatus: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ConditionMessage", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ConditionMessage = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field StartTime", wireType) - } - m.StartTime = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.StartTime |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field CompletionTime", wireType) - } - m.CompletionTime = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.CompletionTime |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Active", wireType) - } - m.Active = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Active |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 5: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Succeeded", wireType) - } - m.Succeeded = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Succeeded |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 6: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Failed", wireType) - } - m.Failed = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Failed |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *JobCondition) Unmarshal(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 ErrIntOverflowAgent - } - 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: JobCondition: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: JobCondition: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Type = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Status = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field LastProbeTime", wireType) - } - m.LastProbeTime = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.LastProbeTime |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field LastTransitionTime", wireType) - } - m.LastTransitionTime = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.LastTransitionTime |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Reason = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 6: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Message = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *Job) Unmarshal(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 ErrIntOverflowAgent - } - 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: Job: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Job: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - 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 ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Metadata == nil { - m.Metadata = &Metadata{} - } - if err := m.Metadata.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Spec == nil { - m.Spec = &JobSpec{} - } - if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Status == nil { - m.Status = &JobStatus{} - } - if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Yaml", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Yaml = append(m.Yaml[:0], dAtA[iNdEx:postIndex]...) - if m.Yaml == nil { - m.Yaml = []byte{} - } - 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 ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - 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 Conditions", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Conditions = append(m.Conditions, &JobCondition{}) - if err := m.Conditions[len(m.Conditions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *CronJobSpec) Unmarshal(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 ErrIntOverflowAgent - } - 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: CronJobSpec: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: CronJobSpec: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Schedule", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Schedule = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field StartingDeadlineSeconds", wireType) - } - m.StartingDeadlineSeconds = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.StartingDeadlineSeconds |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ConcurrencyPolicy", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ConcurrencyPolicy = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Suspend", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.Suspend = bool(v != 0) - case 5: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field SuccessfulJobsHistoryLimit", wireType) - } - m.SuccessfulJobsHistoryLimit = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.SuccessfulJobsHistoryLimit |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 6: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field FailedJobsHistoryLimit", wireType) - } - m.FailedJobsHistoryLimit = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.FailedJobsHistoryLimit |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 7: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ResourceRequirements", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ResourceRequirements = append(m.ResourceRequirements, &ResourceRequirements{}) - if err := m.ResourceRequirements[len(m.ResourceRequirements)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *CronJobStatus) Unmarshal(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 ErrIntOverflowAgent - } - 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: CronJobStatus: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: CronJobStatus: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Active", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Active = append(m.Active, &ObjectReference{}) - if err := m.Active[len(m.Active)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field LastScheduleTime", wireType) - } - m.LastScheduleTime = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.LastScheduleTime |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field LastSuccessfulTime", wireType) - } - m.LastSuccessfulTime = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.LastSuccessfulTime |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *CronJob) Unmarshal(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 ErrIntOverflowAgent - } - 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: CronJob: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: CronJob: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - 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 ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Metadata == nil { - m.Metadata = &Metadata{} - } - if err := m.Metadata.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Spec == nil { - m.Spec = &CronJobSpec{} - } - if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Status == nil { - m.Status = &CronJobStatus{} - } - if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Yaml", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Yaml = append(m.Yaml[:0], dAtA[iNdEx:postIndex]...) - if m.Yaml == nil { - m.Yaml = []byte{} - } - 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 ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Tags = append(m.Tags, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *DaemonSetSpec) Unmarshal(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 ErrIntOverflowAgent - } - 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: DaemonSetSpec: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: DaemonSetSpec: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Selectors", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Selectors = append(m.Selectors, &LabelSelectorRequirement{}) - if err := m.Selectors[len(m.Selectors)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field DeploymentStrategy", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.DeploymentStrategy = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field MaxUnavailable", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.MaxUnavailable = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field MinReadySeconds", wireType) - } - m.MinReadySeconds = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.MinReadySeconds |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 5: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field RevisionHistoryLimit", wireType) - } - m.RevisionHistoryLimit = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.RevisionHistoryLimit |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 6: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ResourceRequirements", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ResourceRequirements = append(m.ResourceRequirements, &ResourceRequirements{}) - if err := m.ResourceRequirements[len(m.ResourceRequirements)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *DaemonSetStatus) Unmarshal(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 ErrIntOverflowAgent - } - 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: DaemonSetStatus: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: DaemonSetStatus: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field CurrentNumberScheduled", wireType) - } - m.CurrentNumberScheduled = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.CurrentNumberScheduled |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field NumberMisscheduled", wireType) - } - m.NumberMisscheduled = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.NumberMisscheduled |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field DesiredNumberScheduled", wireType) - } - m.DesiredNumberScheduled = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.DesiredNumberScheduled |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field NumberReady", wireType) - } - m.NumberReady = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.NumberReady |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 6: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field UpdatedNumberScheduled", wireType) - } - m.UpdatedNumberScheduled = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.UpdatedNumberScheduled |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 7: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field NumberAvailable", wireType) - } - m.NumberAvailable = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.NumberAvailable |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 8: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field NumberUnavailable", wireType) - } - m.NumberUnavailable = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.NumberUnavailable |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *DaemonSetCondition) Unmarshal(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 ErrIntOverflowAgent - } - 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: DaemonSetCondition: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: DaemonSetCondition: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Type = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Status = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field LastTransitionTime", wireType) - } - m.LastTransitionTime = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.LastTransitionTime |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Reason = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Message = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *DaemonSet) Unmarshal(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 ErrIntOverflowAgent - } - 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: DaemonSet: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: DaemonSet: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - 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 ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Metadata == nil { - m.Metadata = &Metadata{} - } - if err := m.Metadata.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Spec == nil { - m.Spec = &DaemonSetSpec{} - } - if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Status == nil { - m.Status = &DaemonSetStatus{} - } - if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Yaml", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Yaml = append(m.Yaml[:0], dAtA[iNdEx:postIndex]...) - if m.Yaml == nil { - m.Yaml = []byte{} - } - 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 ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - 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 Metrics", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Metrics == nil { - m.Metrics = &ResourceMetrics{} - } - if err := m.Metrics.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 7: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Conditions", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Conditions = append(m.Conditions, &DaemonSetCondition{}) - if err := m.Conditions[len(m.Conditions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *StatefulSetSpec) Unmarshal(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 ErrIntOverflowAgent - } - 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: StatefulSetSpec: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: StatefulSetSpec: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field DesiredReplicas", wireType) - } - m.DesiredReplicas = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.DesiredReplicas |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Selectors", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Selectors = append(m.Selectors, &LabelSelectorRequirement{}) - if err := m.Selectors[len(m.Selectors)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ServiceName", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ServiceName = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PodManagementPolicy", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.PodManagementPolicy = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field UpdateStrategy", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.UpdateStrategy = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 6: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Partition", wireType) - } - m.Partition = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Partition |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 7: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ResourceRequirements", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ResourceRequirements = append(m.ResourceRequirements, &ResourceRequirements{}) - if err := m.ResourceRequirements[len(m.ResourceRequirements)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *StatefulSetStatus) Unmarshal(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 ErrIntOverflowAgent - } - 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: StatefulSetStatus: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: StatefulSetStatus: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Replicas", wireType) - } - m.Replicas = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Replicas |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ReadyReplicas", wireType) - } - m.ReadyReplicas = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.ReadyReplicas |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field CurrentReplicas", wireType) - } - m.CurrentReplicas = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.CurrentReplicas |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field UpdatedReplicas", wireType) - } - m.UpdatedReplicas = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.UpdatedReplicas |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *StatefulSetCondition) Unmarshal(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 ErrIntOverflowAgent - } - 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: StatefulSetCondition: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: StatefulSetCondition: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Type = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Status = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field LastTransitionTime", wireType) - } - m.LastTransitionTime = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.LastTransitionTime |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Reason = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Message = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *StatefulSet) Unmarshal(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 ErrIntOverflowAgent - } - 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: StatefulSet: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: StatefulSet: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - 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 ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Metadata == nil { - m.Metadata = &Metadata{} - } - if err := m.Metadata.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Spec == nil { - m.Spec = &StatefulSetSpec{} - } - if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Status == nil { - m.Status = &StatefulSetStatus{} - } - if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Yaml", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Yaml = append(m.Yaml[:0], dAtA[iNdEx:postIndex]...) - if m.Yaml == nil { - m.Yaml = []byte{} - } - 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 ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - 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 Metrics", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Metrics == nil { - m.Metrics = &ResourceMetrics{} - } - if err := m.Metrics.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 7: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Conditions", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Conditions = append(m.Conditions, &StatefulSetCondition{}) - if err := m.Conditions[len(m.Conditions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *PersistentVolume) Unmarshal(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 ErrIntOverflowAgent - } - 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: PersistentVolume: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: PersistentVolume: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - 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 ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Metadata == nil { - m.Metadata = &Metadata{} - } - if err := m.Metadata.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Spec == nil { - m.Spec = &PersistentVolumeSpec{} - } - if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Status == nil { - m.Status = &PersistentVolumeStatus{} - } - if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Yaml", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Yaml = append(m.Yaml[:0], dAtA[iNdEx:postIndex]...) - if m.Yaml == nil { - m.Yaml = []byte{} - } - 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 ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Tags = append(m.Tags, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *PersistentVolumeSpec) Unmarshal(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 ErrIntOverflowAgent - } - 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: PersistentVolumeSpec: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: PersistentVolumeSpec: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Capacity", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Capacity == nil { - m.Capacity = make(map[string]int64) - } - var mapkey string - var mapvalue int64 - for iNdEx < postIndex { - entryPreIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postStringIndexmapkey := iNdEx + intStringLenmapkey - if postStringIndexmapkey < 0 { - return ErrInvalidLengthAgent - } - if postStringIndexmapkey > l { - return io.ErrUnexpectedEOF - } - mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) - iNdEx = postStringIndexmapkey - } else if fieldNum == 2 { - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - mapvalue |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - } else { - iNdEx = entryPreIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > postIndex { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - m.Capacity[mapkey] = mapvalue - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PersistentVolumeType", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.PersistentVolumeType = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AccessModes", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.AccessModes = append(m.AccessModes, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ClaimRef", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.ClaimRef == nil { - m.ClaimRef = &ObjectReference{} - } - if err := m.ClaimRef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PersistentVolumeReclaimPolicy", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.PersistentVolumeReclaimPolicy = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 6: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field StorageClassName", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.StorageClassName = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 7: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field MountOptions", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.MountOptions = append(m.MountOptions, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - case 8: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field VolumeMode", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.VolumeMode = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 9: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field NodeAffinity", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.NodeAffinity = append(m.NodeAffinity, &NodeSelectorTerm{}) - if err := m.NodeAffinity[len(m.NodeAffinity)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 10: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PersistentVolumeSource", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.PersistentVolumeSource == nil { - m.PersistentVolumeSource = &PersistentVolumeSource{} - } - if err := m.PersistentVolumeSource.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *PersistentVolumeSource) Unmarshal(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 ErrIntOverflowAgent - } - 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: PersistentVolumeSource: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: PersistentVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field GcePersistentDisk", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.GcePersistentDisk == nil { - m.GcePersistentDisk = &GCEPersistentDiskVolumeSource{} - } - if err := m.GcePersistentDisk.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AwsElasticBlockStore", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.AwsElasticBlockStore == nil { - m.AwsElasticBlockStore = &AWSElasticBlockStoreVolumeSource{} - } - if err := m.AwsElasticBlockStore.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AzureFile", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.AzureFile == nil { - m.AzureFile = &AzureFilePersistentVolumeSource{} - } - if err := m.AzureFile.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AzureDisk", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.AzureDisk == nil { - m.AzureDisk = &AzureDiskVolumeSource{} - } - if err := m.AzureDisk.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Csi", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Csi == nil { - m.Csi = &CSIVolumeSource{} - } - if err := m.Csi.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GCEPersistentDiskVolumeSource) Unmarshal(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 ErrIntOverflowAgent - } - 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: GCEPersistentDiskVolumeSource: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GCEPersistentDiskVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PdName", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.PdName = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field FsType", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.FsType = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Partition", wireType) - } - m.Partition = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Partition |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ReadOnly", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.ReadOnly = bool(v != 0) - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *AWSElasticBlockStoreVolumeSource) Unmarshal(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 ErrIntOverflowAgent - } - 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: AWSElasticBlockStoreVolumeSource: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: AWSElasticBlockStoreVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field VolumeID", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.VolumeID = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field FsType", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.FsType = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Partition", wireType) - } - m.Partition = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Partition |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ReadOnly", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.ReadOnly = bool(v != 0) - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *AzureFilePersistentVolumeSource) Unmarshal(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 ErrIntOverflowAgent - } - 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: AzureFilePersistentVolumeSource: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: AzureFilePersistentVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field SecretName", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.SecretName = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ShareName", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ShareName = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ReadOnly", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.ReadOnly = bool(v != 0) - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field SecretNamespace", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.SecretNamespace = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *AzureDiskVolumeSource) Unmarshal(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 ErrIntOverflowAgent - } - 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: AzureDiskVolumeSource: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: AzureDiskVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field DiskName", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.DiskName = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field DiskURI", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.DiskURI = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field CachingMode", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.CachingMode = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field FsType", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.FsType = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 5: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ReadOnly", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.ReadOnly = bool(v != 0) - case 6: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Kind = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *CSIVolumeSource) Unmarshal(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 ErrIntOverflowAgent - } - 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: CSIVolumeSource: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: CSIVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Driver", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Driver = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field VolumeHandle", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.VolumeHandle = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ReadOnly", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.ReadOnly = bool(v != 0) - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field FsType", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.FsType = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field VolumeAttributes", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.VolumeAttributes == nil { - m.VolumeAttributes = make(map[string]string) - } - var mapkey string - var mapvalue string - for iNdEx < postIndex { - entryPreIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postStringIndexmapkey := iNdEx + intStringLenmapkey - if postStringIndexmapkey < 0 { - return ErrInvalidLengthAgent - } - if postStringIndexmapkey > l { - return io.ErrUnexpectedEOF - } - mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) - iNdEx = postStringIndexmapkey - } else if fieldNum == 2 { - var stringLenmapvalue uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLenmapvalue |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLenmapvalue := int(stringLenmapvalue) - if intStringLenmapvalue < 0 { - return ErrInvalidLengthAgent - } - postStringIndexmapvalue := iNdEx + intStringLenmapvalue - if postStringIndexmapvalue < 0 { - return ErrInvalidLengthAgent - } - if postStringIndexmapvalue > l { - return io.ErrUnexpectedEOF - } - mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue]) - iNdEx = postStringIndexmapvalue - } else { - iNdEx = entryPreIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > postIndex { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - m.VolumeAttributes[mapkey] = mapvalue - iNdEx = postIndex - case 6: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ControllerPublishSecretRef", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.ControllerPublishSecretRef == nil { - m.ControllerPublishSecretRef = &SecretReference{} - } - if err := m.ControllerPublishSecretRef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 7: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field NodeStageSecretRef", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.NodeStageSecretRef == nil { - m.NodeStageSecretRef = &SecretReference{} - } - if err := m.NodeStageSecretRef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 8: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field NodePublishSecretRef", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.NodePublishSecretRef == nil { - m.NodePublishSecretRef = &SecretReference{} - } - if err := m.NodePublishSecretRef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 9: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ControllerExpandSecretRef", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.ControllerExpandSecretRef == nil { - m.ControllerExpandSecretRef = &SecretReference{} - } - if err := m.ControllerExpandSecretRef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 10: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field NodeExpandSecretRef", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.NodeExpandSecretRef == nil { - m.NodeExpandSecretRef = &SecretReference{} - } - if err := m.NodeExpandSecretRef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *SecretReference) Unmarshal(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 ErrIntOverflowAgent - } - 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: SecretReference: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: SecretReference: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - 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 ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Name = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Namespace = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *PersistentVolumeStatus) Unmarshal(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 ErrIntOverflowAgent - } - 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: PersistentVolumeStatus: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: PersistentVolumeStatus: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Phase", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Phase = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Message = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Reason = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *NodeSelectorTerm) Unmarshal(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 ErrIntOverflowAgent - } - 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: NodeSelectorTerm: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: NodeSelectorTerm: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field MatchExpressions", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.MatchExpressions = append(m.MatchExpressions, &LabelSelectorRequirement{}) - if err := m.MatchExpressions[len(m.MatchExpressions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field MatchFields", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.MatchFields = append(m.MatchFields, &LabelSelectorRequirement{}) - if err := m.MatchFields[len(m.MatchFields)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *PersistentVolumeClaim) Unmarshal(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 ErrIntOverflowAgent - } - 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: PersistentVolumeClaim: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: PersistentVolumeClaim: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - 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 ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Metadata == nil { - m.Metadata = &Metadata{} - } - if err := m.Metadata.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Spec == nil { - m.Spec = &PersistentVolumeClaimSpec{} - } - if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Status == nil { - m.Status = &PersistentVolumeClaimStatus{} - } - if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Yaml", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Yaml = append(m.Yaml[:0], dAtA[iNdEx:postIndex]...) - if m.Yaml == nil { - m.Yaml = []byte{} - } - 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 ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Tags = append(m.Tags, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *PersistentVolumeClaimStatus) Unmarshal(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 ErrIntOverflowAgent - } - 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: PersistentVolumeClaimStatus: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: PersistentVolumeClaimStatus: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Phase", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Phase = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AccessModes", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.AccessModes = append(m.AccessModes, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Capacity", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Capacity == nil { - m.Capacity = make(map[string]int64) - } - var mapkey string - var mapvalue int64 - for iNdEx < postIndex { - entryPreIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postStringIndexmapkey := iNdEx + intStringLenmapkey - if postStringIndexmapkey < 0 { - return ErrInvalidLengthAgent - } - if postStringIndexmapkey > l { - return io.ErrUnexpectedEOF - } - mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) - iNdEx = postStringIndexmapkey - } else if fieldNum == 2 { - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - mapvalue |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - } else { - iNdEx = entryPreIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > postIndex { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - m.Capacity[mapkey] = mapvalue - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Conditions", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Conditions = append(m.Conditions, &PersistentVolumeClaimCondition{}) - if err := m.Conditions[len(m.Conditions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *PersistentVolumeClaimSpec) Unmarshal(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 ErrIntOverflowAgent - } - 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: PersistentVolumeClaimSpec: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: PersistentVolumeClaimSpec: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AccessModes", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.AccessModes = append(m.AccessModes, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Resources", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Resources == nil { - m.Resources = &ResourceRequirements{} - } - if err := m.Resources.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field VolumeName", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.VolumeName = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Selector", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Selector = append(m.Selector, &LabelSelectorRequirement{}) - if err := m.Selector[len(m.Selector)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field StorageClassName", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.StorageClassName = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 6: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field VolumeMode", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.VolumeMode = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 7: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field DataSource", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.DataSource == nil { - m.DataSource = &TypedLocalObjectReference{} - } - if err := m.DataSource.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *TypedLocalObjectReference) Unmarshal(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 ErrIntOverflowAgent - } - 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: TypedLocalObjectReference: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: TypedLocalObjectReference: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ApiGroup", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ApiGroup = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Kind = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - 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 ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Name = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *PersistentVolumeClaimCondition) Unmarshal(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 ErrIntOverflowAgent - } - 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: PersistentVolumeClaimCondition: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: PersistentVolumeClaimCondition: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Type = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Status = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field LastProbeTime", wireType) - } - m.LastProbeTime = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.LastProbeTime |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field LastTransitionTime", wireType) - } - m.LastTransitionTime = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.LastTransitionTime |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Reason = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 6: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Message = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *PolicyRule) Unmarshal(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 ErrIntOverflowAgent - } - 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: PolicyRule: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: PolicyRule: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Verbs", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Verbs = append(m.Verbs, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ApiGroups", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ApiGroups = append(m.ApiGroups, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Resources", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Resources = append(m.Resources, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ResourceNames", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ResourceNames = append(m.ResourceNames, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field NonResourceURLs", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.NonResourceURLs = append(m.NonResourceURLs, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *Subject) Unmarshal(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 ErrIntOverflowAgent - } - 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: Subject: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Subject: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Kind = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ApiGroup", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ApiGroup = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - 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 ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Name = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Namespace = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *Role) Unmarshal(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 ErrIntOverflowAgent - } - 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: Role: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Role: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - 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 ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Metadata == nil { - m.Metadata = &Metadata{} - } - if err := m.Metadata.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Rules", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Rules = append(m.Rules, &PolicyRule{}) - if err := m.Rules[len(m.Rules)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Yaml", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Yaml = append(m.Yaml[:0], dAtA[iNdEx:postIndex]...) - if m.Yaml == nil { - m.Yaml = []byte{} - } - iNdEx = postIndex - case 4: - 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 ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Tags = append(m.Tags, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *RoleBinding) Unmarshal(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 ErrIntOverflowAgent - } - 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: RoleBinding: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: RoleBinding: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - 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 ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Metadata == nil { - m.Metadata = &Metadata{} - } - if err := m.Metadata.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Subjects", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Subjects = append(m.Subjects, &Subject{}) - if err := m.Subjects[len(m.Subjects)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RoleRef", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.RoleRef == nil { - m.RoleRef = &TypedLocalObjectReference{} - } - if err := m.RoleRef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Yaml", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Yaml = append(m.Yaml[:0], dAtA[iNdEx:postIndex]...) - if m.Yaml == nil { - m.Yaml = []byte{} - } - 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 ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Tags = append(m.Tags, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ClusterRole) Unmarshal(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 ErrIntOverflowAgent - } - 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: ClusterRole: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ClusterRole: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - 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 ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Metadata == nil { - m.Metadata = &Metadata{} - } - if err := m.Metadata.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Rules", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Rules = append(m.Rules, &PolicyRule{}) - if err := m.Rules[len(m.Rules)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AggregationRules", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.AggregationRules = append(m.AggregationRules, &LabelSelectorRequirement{}) - if err := m.AggregationRules[len(m.AggregationRules)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Yaml", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Yaml = append(m.Yaml[:0], dAtA[iNdEx:postIndex]...) - if m.Yaml == nil { - m.Yaml = []byte{} - } - 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 ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - 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 Metrics", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Metrics == nil { - m.Metrics = &ResourceMetrics{} - } - if err := m.Metrics.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ClusterRoleBinding) Unmarshal(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 ErrIntOverflowAgent - } - 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: ClusterRoleBinding: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ClusterRoleBinding: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - 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 ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Metadata == nil { - m.Metadata = &Metadata{} - } - if err := m.Metadata.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Subjects", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Subjects = append(m.Subjects, &Subject{}) - if err := m.Subjects[len(m.Subjects)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RoleRef", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.RoleRef == nil { - m.RoleRef = &TypedLocalObjectReference{} - } - if err := m.RoleRef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Yaml", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Yaml = append(m.Yaml[:0], dAtA[iNdEx:postIndex]...) - if m.Yaml == nil { - m.Yaml = []byte{} - } - 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 ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Tags = append(m.Tags, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ServiceAccount) Unmarshal(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 ErrIntOverflowAgent - } - 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: ServiceAccount: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ServiceAccount: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - 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 ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Metadata == nil { - m.Metadata = &Metadata{} - } - if err := m.Metadata.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Secrets", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Secrets = append(m.Secrets, &ObjectReference{}) - if err := m.Secrets[len(m.Secrets)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ImagePullSecrets", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ImagePullSecrets = append(m.ImagePullSecrets, &TypedLocalObjectReference{}) - if err := m.ImagePullSecrets[len(m.ImagePullSecrets)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field AutomountServiceAccountToken", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.AutomountServiceAccountToken = bool(v != 0) - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Yaml", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Yaml = append(m.Yaml[:0], dAtA[iNdEx:postIndex]...) - if m.Yaml == nil { - m.Yaml = []byte{} - } - iNdEx = postIndex - case 6: - 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 ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Tags = append(m.Tags, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *IngressServiceBackend) Unmarshal(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 ErrIntOverflowAgent - } - 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: IngressServiceBackend: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: IngressServiceBackend: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ServiceName", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ServiceName = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PortName", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.PortName = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field PortNumber", wireType) - } - m.PortNumber = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.PortNumber |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *IngressBackend) Unmarshal(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 ErrIntOverflowAgent - } - 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: IngressBackend: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: IngressBackend: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Service", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Service == nil { - m.Service = &IngressServiceBackend{} - } - if err := m.Service.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Resource", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Resource == nil { - m.Resource = &TypedLocalObjectReference{} - } - if err := m.Resource.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *IngressTLS) Unmarshal(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 ErrIntOverflowAgent - } - 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: IngressTLS: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: IngressTLS: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Hosts", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Hosts = append(m.Hosts, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field SecretName", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.SecretName = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *HTTPIngressPath) Unmarshal(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 ErrIntOverflowAgent - } - 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: HTTPIngressPath: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: HTTPIngressPath: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Path", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Path = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Backend", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Backend == nil { - m.Backend = &IngressBackend{} - } - if err := m.Backend.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PathType", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.PathType = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *IngressRule) Unmarshal(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 ErrIntOverflowAgent - } - 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: IngressRule: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: IngressRule: 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 ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - 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 HttpPaths", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.HttpPaths = append(m.HttpPaths, &HTTPIngressPath{}) - if err := m.HttpPaths[len(m.HttpPaths)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *IngressSpec) Unmarshal(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 ErrIntOverflowAgent - } - 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: IngressSpec: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: IngressSpec: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field DefaultBackend", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.DefaultBackend == nil { - m.DefaultBackend = &IngressBackend{} - } - if err := m.DefaultBackend.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Tls", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Tls = append(m.Tls, &IngressTLS{}) - if err := m.Tls[len(m.Tls)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Rules", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Rules = append(m.Rules, &IngressRule{}) - if err := m.Rules[len(m.Rules)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field IngressClassName", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.IngressClassName = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *PortStatus) Unmarshal(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 ErrIntOverflowAgent - } - 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: PortStatus: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: PortStatus: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Port", wireType) - } - m.Port = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Port |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Protocol", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Protocol = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Error", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Error = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *LoadBalancerIngress) Unmarshal(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 ErrIntOverflowAgent - } - 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: LoadBalancerIngress: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: LoadBalancerIngress: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Ip", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Ip = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Hostname", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Hostname = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Ports", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Ports = append(m.Ports, &PortStatus{}) - if err := m.Ports[len(m.Ports)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *IngressStatus) Unmarshal(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 ErrIntOverflowAgent - } - 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: IngressStatus: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: IngressStatus: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Ingress", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Ingress = append(m.Ingress, &LoadBalancerIngress{}) - if err := m.Ingress[len(m.Ingress)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *Ingress) Unmarshal(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 ErrIntOverflowAgent - } - 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: Ingress: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Ingress: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - 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 ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Metadata == nil { - m.Metadata = &Metadata{} - } - if err := m.Metadata.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Spec == nil { - m.Spec = &IngressSpec{} - } - if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Status == nil { - m.Status = &IngressStatus{} - } - if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Yaml", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Yaml = append(m.Yaml[:0], dAtA[iNdEx:postIndex]...) - if m.Yaml == nil { - m.Yaml = []byte{} - } - 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 ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Tags = append(m.Tags, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *KafkaStats) Unmarshal(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 ErrIntOverflowAgent - } - 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: KafkaStats: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: KafkaStats: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Count", wireType) - } - m.Count = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Count |= uint32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Latencies", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Latencies = append(m.Latencies[:0], dAtA[iNdEx:postIndex]...) - if m.Latencies == nil { - m.Latencies = []byte{} - } - iNdEx = postIndex - case 3: - if wireType != 1 { - return fmt.Errorf("proto: wrong wireType = %d for field FirstLatencySample", wireType) - } - var v uint64 - if (iNdEx + 8) > l { - return io.ErrUnexpectedEOF - } - v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:])) - iNdEx += 8 - m.FirstLatencySample = float64(math.Float64frombits(v)) - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *KafkaRequestHeader) Unmarshal(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 ErrIntOverflowAgent - } - 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: KafkaRequestHeader: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: KafkaRequestHeader: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field RequestType", wireType) - } - m.RequestType = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.RequestType |= uint32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field RequestVersion", wireType) - } - m.RequestVersion = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.RequestVersion |= uint32(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *KafkaAggregation) Unmarshal(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 ErrIntOverflowAgent - } - 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: KafkaAggregation: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: KafkaAggregation: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Header", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Header == nil { - m.Header = &KafkaRequestHeader{} - } - if err := m.Header.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Topic", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Topic = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Count", wireType) - } - m.Count = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Count |= uint32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field StatsByErrorCode", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.StatsByErrorCode == nil { - m.StatsByErrorCode = make(map[int32]*KafkaStats) - } - var mapkey int32 - var mapvalue *KafkaStats - for iNdEx < postIndex { - entryPreIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 { - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - mapkey |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - } else if fieldNum == 2 { - var mapmsglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - mapmsglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if mapmsglen < 0 { - return ErrInvalidLengthAgent - } - postmsgIndex := iNdEx + mapmsglen - if postmsgIndex < 0 { - return ErrInvalidLengthAgent - } - if postmsgIndex > l { - return io.ErrUnexpectedEOF - } - mapvalue = &KafkaStats{} - if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { - return err - } - iNdEx = postmsgIndex - } else { - iNdEx = entryPreIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > postIndex { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - m.StatsByErrorCode[mapkey] = mapvalue - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *DataStreamsAggregations) Unmarshal(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 ErrIntOverflowAgent - } - 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: DataStreamsAggregations: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: DataStreamsAggregations: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field KafkaAggregations", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.KafkaAggregations = append(m.KafkaAggregations, &KafkaAggregation{}) - if err := m.KafkaAggregations[len(m.KafkaAggregations)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *PostgresStats) Unmarshal(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 ErrIntOverflowAgent - } - 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: PostgresStats: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: PostgresStats: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field TableName", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.TableName = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Operation", wireType) - } - m.Operation = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Operation |= PostgresOperation(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Latencies", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Latencies = append(m.Latencies[:0], dAtA[iNdEx:postIndex]...) - if m.Latencies == nil { - m.Latencies = []byte{} - } - iNdEx = postIndex - case 4: - if wireType != 1 { - return fmt.Errorf("proto: wrong wireType = %d for field FirstLatencySample", wireType) - } - var v uint64 - if (iNdEx + 8) > l { - return io.ErrUnexpectedEOF - } - v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:])) - iNdEx += 8 - m.FirstLatencySample = float64(math.Float64frombits(v)) - case 5: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Count", wireType) - } - m.Count = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Count |= uint32(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *RedisStats) Unmarshal(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 ErrIntOverflowAgent - } - 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: RedisStats: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: RedisStats: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *DatabaseStats) Unmarshal(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 ErrIntOverflowAgent - } - 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: DatabaseStats: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: DatabaseStats: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Postgres", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - v := &PostgresStats{} - if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - m.DbStats = &DatabaseStats_Postgres{v} - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Redis", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - v := &RedisStats{} - if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - m.DbStats = &DatabaseStats_Redis{v} - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *DatabaseAggregations) Unmarshal(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 ErrIntOverflowAgent - } - 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: DatabaseAggregations: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: DatabaseAggregations: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Aggregations", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Aggregations = append(m.Aggregations, &DatabaseStats{}) - if err := m.Aggregations[len(m.Aggregations)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *HTTPAggregations) Unmarshal(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 ErrIntOverflowAgent - } - 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: HTTPAggregations: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: HTTPAggregations: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field EndpointAggregations", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.EndpointAggregations = append(m.EndpointAggregations, &HTTPStats{}) - if err := m.EndpointAggregations[len(m.EndpointAggregations)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *HTTP2Aggregations) Unmarshal(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 ErrIntOverflowAgent - } - 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: HTTP2Aggregations: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: HTTP2Aggregations: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field EndpointAggregations", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.EndpointAggregations = append(m.EndpointAggregations, &HTTPStats{}) - if err := m.EndpointAggregations[len(m.EndpointAggregations)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *HTTPStats) Unmarshal(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 ErrIntOverflowAgent - } - 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: HTTPStats: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: HTTPStats: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field StatsByResponseStatus", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.StatsByResponseStatus = append(m.StatsByResponseStatus, &HTTPStats_Data{}) - if err := m.StatsByResponseStatus[len(m.StatsByResponseStatus)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field StatsByStatusCode", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.StatsByStatusCode == nil { - m.StatsByStatusCode = make(map[int32]*HTTPStats_Data) - } - var mapkey int32 - var mapvalue *HTTPStats_Data - for iNdEx < postIndex { - entryPreIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 { - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - mapkey |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - } else if fieldNum == 2 { - var mapmsglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - mapmsglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if mapmsglen < 0 { - return ErrInvalidLengthAgent - } - postmsgIndex := iNdEx + mapmsglen - if postmsgIndex < 0 { - return ErrInvalidLengthAgent - } - if postmsgIndex > l { - return io.ErrUnexpectedEOF - } - mapvalue = &HTTPStats_Data{} - if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { - return err - } - iNdEx = postmsgIndex - } else { - iNdEx = entryPreIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > postIndex { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - m.StatsByStatusCode[mapkey] = mapvalue - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Path", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Path = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 5: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Method", wireType) - } - m.Method = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Method |= HTTPMethod(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 6: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field FullPath", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.FullPath = bool(v != 0) - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *HTTPStats_Data) Unmarshal(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 ErrIntOverflowAgent - } - 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: Data: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Data: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Count", wireType) - } - m.Count = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Count |= uint32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Latencies", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Latencies = append(m.Latencies[:0], dAtA[iNdEx:postIndex]...) - if m.Latencies == nil { - m.Latencies = []byte{} - } - iNdEx = postIndex - case 4: - if wireType != 1 { - return fmt.Errorf("proto: wrong wireType = %d for field FirstLatencySample", wireType) - } - var v uint64 - if (iNdEx + 8) > l { - return io.ErrUnexpectedEOF - } - v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:])) - iNdEx += 8 - m.FirstLatencySample = float64(math.Float64frombits(v)) - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *DNSDatabaseEntry) Unmarshal(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 ErrIntOverflowAgent - } - 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: DNSDatabaseEntry: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: DNSDatabaseEntry: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType == 0 { - var v int32 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.NameOffsets = append(m.NameOffsets, v) - } else if wireType == 2 { - var packedLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - packedLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if packedLen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + packedLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - var elementCount int - var count int - for _, integer := range dAtA[iNdEx:postIndex] { - if integer < 128 { - count++ - } - } - elementCount = count - if elementCount != 0 && len(m.NameOffsets) == 0 { - m.NameOffsets = make([]int32, 0, elementCount) - } - for iNdEx < postIndex { - var v int32 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.NameOffsets = append(m.NameOffsets, v) - } - } else { - return fmt.Errorf("proto: wrong wireType = %d for field NameOffsets", wireType) - } - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ResourceList) Unmarshal(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 ErrIntOverflowAgent - } - 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: ResourceList: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ResourceList: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field MetricValues", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.MetricValues == nil { - m.MetricValues = make(map[string]float64) - } - var mapkey string - var mapvalue float64 - for iNdEx < postIndex { - entryPreIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postStringIndexmapkey := iNdEx + intStringLenmapkey - if postStringIndexmapkey < 0 { - return ErrInvalidLengthAgent - } - if postStringIndexmapkey > l { - return io.ErrUnexpectedEOF - } - mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) - iNdEx = postStringIndexmapkey - } else if fieldNum == 2 { - var mapvaluetemp uint64 - if (iNdEx + 8) > l { - return io.ErrUnexpectedEOF - } - mapvaluetemp = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:])) - iNdEx += 8 - mapvalue = math.Float64frombits(mapvaluetemp) - } else { - iNdEx = entryPreIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > postIndex { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - m.MetricValues[mapkey] = mapvalue - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *VerticalPodAutoscaler) Unmarshal(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 ErrIntOverflowAgent - } - 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: VerticalPodAutoscaler: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: VerticalPodAutoscaler: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - 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 ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Metadata == nil { - m.Metadata = &Metadata{} - } - if err := m.Metadata.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Spec == nil { - m.Spec = &VerticalPodAutoscalerSpec{} - } - if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Status == nil { - m.Status = &VerticalPodAutoscalerStatus{} - } - if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Yaml", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Yaml = append(m.Yaml[:0], dAtA[iNdEx:postIndex]...) - if m.Yaml == nil { - m.Yaml = []byte{} - } - 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 ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - 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 Conditions", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Conditions = append(m.Conditions, &VerticalPodAutoscalerCondition{}) - if err := m.Conditions[len(m.Conditions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *VerticalPodAutoscalerCondition) Unmarshal(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 ErrIntOverflowAgent - } - 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: VerticalPodAutoscalerCondition: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: VerticalPodAutoscalerCondition: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Type = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Status = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field LastTransitionTime", wireType) - } - m.LastTransitionTime = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.LastTransitionTime |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Reason = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Message = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *VerticalPodAutoscalerSpec) Unmarshal(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 ErrIntOverflowAgent - } - 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: VerticalPodAutoscalerSpec: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: VerticalPodAutoscalerSpec: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Target", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Target == nil { - m.Target = &VerticalPodAutoscalerTarget{} - } - if err := m.Target.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field UpdateMode", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.UpdateMode = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ResourcePolicies", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ResourcePolicies = append(m.ResourcePolicies, &ContainerResourcePolicy{}) - if err := m.ResourcePolicies[len(m.ResourcePolicies)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *VerticalPodAutoscalerTarget) Unmarshal(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 ErrIntOverflowAgent - } - 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: VerticalPodAutoscalerTarget: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: VerticalPodAutoscalerTarget: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Kind = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - 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 ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Name = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ContainerResourcePolicy) Unmarshal(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 ErrIntOverflowAgent - } - 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: ContainerResourcePolicy: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ContainerResourcePolicy: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ContainerName", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ContainerName = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Mode", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Mode = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field MinAllowed", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.MinAllowed == nil { - m.MinAllowed = &ResourceList{} - } - if err := m.MinAllowed.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field MaxAllowed", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.MaxAllowed == nil { - m.MaxAllowed = &ResourceList{} - } - if err := m.MaxAllowed.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ControlledResource", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ControlledResource = append(m.ControlledResource, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - case 6: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ControlledValues", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ControlledValues = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *VerticalPodAutoscalerStatus) Unmarshal(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 ErrIntOverflowAgent - } - 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: VerticalPodAutoscalerStatus: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: VerticalPodAutoscalerStatus: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field LastRecommendedDate", wireType) - } - m.LastRecommendedDate = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.LastRecommendedDate |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Recommendations", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Recommendations = append(m.Recommendations, &ContainerRecommendation{}) - if err := m.Recommendations[len(m.Recommendations)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Conditions", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Conditions = append(m.Conditions, &VPACondition{}) - if err := m.Conditions[len(m.Conditions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ContainerRecommendation) Unmarshal(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 ErrIntOverflowAgent - } - 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: ContainerRecommendation: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ContainerRecommendation: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ContainerName", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ContainerName = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Target", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Target == nil { - m.Target = &ResourceList{} - } - if err := m.Target.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field LowerBound", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.LowerBound == nil { - m.LowerBound = &ResourceList{} - } - if err := m.LowerBound.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field UpperBound", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.UpperBound == nil { - m.UpperBound = &ResourceList{} - } - if err := m.UpperBound.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field UncappedTarget", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.UncappedTarget == nil { - m.UncappedTarget = &ResourceList{} - } - if err := m.UncappedTarget.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *VPACondition) Unmarshal(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 ErrIntOverflowAgent - } - 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: VPACondition: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: VPACondition: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ConditionType", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ConditionType = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ConditionStatus", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ConditionStatus = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field LastTransitionTime", wireType) - } - m.LastTransitionTime = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.LastTransitionTime |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Reason = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Message = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *HorizontalPodAutoscaler) Unmarshal(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 ErrIntOverflowAgent - } - 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: HorizontalPodAutoscaler: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: HorizontalPodAutoscaler: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - 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 ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Metadata == nil { - m.Metadata = &Metadata{} - } - if err := m.Metadata.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Spec == nil { - m.Spec = &HorizontalPodAutoscalerSpec{} - } - if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Status == nil { - m.Status = &HorizontalPodAutoscalerStatus{} - } - if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Yaml", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Yaml = append(m.Yaml[:0], dAtA[iNdEx:postIndex]...) - if m.Yaml == nil { - m.Yaml = []byte{} - } - 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 ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - 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 Conditions", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Conditions = append(m.Conditions, &HorizontalPodAutoscalerCondition{}) - if err := m.Conditions[len(m.Conditions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *HorizontalPodAutoscalerSpec) Unmarshal(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 ErrIntOverflowAgent - } - 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: HorizontalPodAutoscalerSpec: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: HorizontalPodAutoscalerSpec: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Target", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Target == nil { - m.Target = &HorizontalPodAutoscalerTarget{} - } - if err := m.Target.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field MinReplicas", wireType) - } - m.MinReplicas = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.MinReplicas |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field MaxReplicas", wireType) - } - m.MaxReplicas = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.MaxReplicas |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Metrics", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Metrics = append(m.Metrics, &HorizontalPodAutoscalerMetricSpec{}) - if err := m.Metrics[len(m.Metrics)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Behavior", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Behavior == nil { - m.Behavior = &HorizontalPodAutoscalerBehavior{} - } - if err := m.Behavior.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *HorizontalPodAutoscalerTarget) Unmarshal(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 ErrIntOverflowAgent - } - 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: HorizontalPodAutoscalerTarget: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: HorizontalPodAutoscalerTarget: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Kind = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - 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 ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Name = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *HorizontalPodAutoscalerMetricSpec) Unmarshal(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 ErrIntOverflowAgent - } - 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: HorizontalPodAutoscalerMetricSpec: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: HorizontalPodAutoscalerMetricSpec: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Type = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Object", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Object == nil { - m.Object = &ObjectMetricSource{} - } - if err := m.Object.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Pods", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Pods == nil { - m.Pods = &PodsMetricSource{} - } - if err := m.Pods.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Resource", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Resource == nil { - m.Resource = &ResourceMetricSource{} - } - if err := m.Resource.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ContainerResource", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.ContainerResource == nil { - m.ContainerResource = &ContainerResourceMetricSource{} - } - if err := m.ContainerResource.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 6: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field External", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.External == nil { - m.External = &ExternalMetricSource{} - } - if err := m.External.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ObjectMetricSource) Unmarshal(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 ErrIntOverflowAgent - } - 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: ObjectMetricSource: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ObjectMetricSource: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field DescribedObject", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.DescribedObject == nil { - m.DescribedObject = &ObjectReference{} - } - if err := m.DescribedObject.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Target", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Target == nil { - m.Target = &MetricTarget{} - } - if err := m.Target.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Metric", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Metric == nil { - m.Metric = &MetricIdentifier{} - } - if err := m.Metric.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *MetricTarget) Unmarshal(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 ErrIntOverflowAgent - } - 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: MetricTarget: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: MetricTarget: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Type = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) - } - m.Value = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Value |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *MetricIdentifier) Unmarshal(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 ErrIntOverflowAgent - } - 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: MetricIdentifier: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: MetricIdentifier: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - 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 ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Name = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field LabelSelector", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.LabelSelector = append(m.LabelSelector, &LabelSelectorRequirement{}) - if err := m.LabelSelector[len(m.LabelSelector)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *PodsMetricSource) Unmarshal(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 ErrIntOverflowAgent - } - 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: PodsMetricSource: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: PodsMetricSource: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Metric", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Metric == nil { - m.Metric = &MetricIdentifier{} - } - if err := m.Metric.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Target", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Target == nil { - m.Target = &MetricTarget{} - } - if err := m.Target.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ResourceMetricSource) Unmarshal(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 ErrIntOverflowAgent - } - 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: ResourceMetricSource: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ResourceMetricSource: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ResourceName", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ResourceName = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Target", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Target == nil { - m.Target = &MetricTarget{} - } - if err := m.Target.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ContainerResourceMetricSource) Unmarshal(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 ErrIntOverflowAgent - } - 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: ContainerResourceMetricSource: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ContainerResourceMetricSource: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ResourceName", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ResourceName = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Target", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Target == nil { - m.Target = &MetricTarget{} - } - if err := m.Target.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Container", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Container = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ExternalMetricSource) Unmarshal(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 ErrIntOverflowAgent - } - 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: ExternalMetricSource: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ExternalMetricSource: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Metric", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Metric == nil { - m.Metric = &MetricIdentifier{} - } - if err := m.Metric.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Target", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Target == nil { - m.Target = &MetricTarget{} - } - if err := m.Target.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *HorizontalPodAutoscalerBehavior) Unmarshal(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 ErrIntOverflowAgent - } - 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: HorizontalPodAutoscalerBehavior: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: HorizontalPodAutoscalerBehavior: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ScaleUp", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.ScaleUp == nil { - m.ScaleUp = &HPAScalingRules{} - } - if err := m.ScaleUp.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ScaleDown", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.ScaleDown == nil { - m.ScaleDown = &HPAScalingRules{} - } - if err := m.ScaleDown.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *HPAScalingRules) Unmarshal(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 ErrIntOverflowAgent - } - 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: HPAScalingRules: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: HPAScalingRules: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field StabilizationWindowSeconds", wireType) - } - m.StabilizationWindowSeconds = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.StabilizationWindowSeconds |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field SelectPolicy", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.SelectPolicy = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Policies", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Policies = append(m.Policies, &HPAScalingPolicy{}) - if err := m.Policies[len(m.Policies)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *HPAScalingPolicy) Unmarshal(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 ErrIntOverflowAgent - } - 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: HPAScalingPolicy: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: HPAScalingPolicy: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Type = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) - } - m.Value = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Value |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field PeriodSeconds", wireType) - } - m.PeriodSeconds = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.PeriodSeconds |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *HorizontalPodAutoscalerStatus) Unmarshal(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 ErrIntOverflowAgent - } - 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: HorizontalPodAutoscalerStatus: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: HorizontalPodAutoscalerStatus: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ObservedGeneration", wireType) - } - m.ObservedGeneration = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.ObservedGeneration |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field LastScaleTime", wireType) - } - m.LastScaleTime = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.LastScaleTime |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field CurrentReplicas", wireType) - } - m.CurrentReplicas = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.CurrentReplicas |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field DesiredReplicas", wireType) - } - m.DesiredReplicas = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.DesiredReplicas |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field CurrentMetrics", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.CurrentMetrics = append(m.CurrentMetrics, &HorizontalPodAutoscalerMetricStatus{}) - if err := m.CurrentMetrics[len(m.CurrentMetrics)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *HorizontalPodAutoscalerCondition) Unmarshal(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 ErrIntOverflowAgent - } - 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: HorizontalPodAutoscalerCondition: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: HorizontalPodAutoscalerCondition: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ConditionType", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ConditionType = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ConditionStatus", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ConditionStatus = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field LastTransitionTime", wireType) - } - m.LastTransitionTime = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.LastTransitionTime |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Reason = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Message = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *HorizontalPodAutoscalerMetricStatus) Unmarshal(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 ErrIntOverflowAgent - } - 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: HorizontalPodAutoscalerMetricStatus: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: HorizontalPodAutoscalerMetricStatus: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Type = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Object", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Object == nil { - m.Object = &ObjectMetricStatus{} - } - if err := m.Object.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Pods", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Pods == nil { - m.Pods = &PodsMetricStatus{} - } - if err := m.Pods.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Resource", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Resource == nil { - m.Resource = &ResourceMetricStatus{} - } - if err := m.Resource.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ContainerResource", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.ContainerResource == nil { - m.ContainerResource = &ContainerResourceMetricStatus{} - } - if err := m.ContainerResource.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 6: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field External", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.External == nil { - m.External = &ExternalMetricStatus{} - } - if err := m.External.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ObjectMetricStatus) Unmarshal(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 ErrIntOverflowAgent - } - 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: ObjectMetricStatus: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ObjectMetricStatus: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field DescribedObject", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.DescribedObject == nil { - m.DescribedObject = &ObjectReference{} - } - if err := m.DescribedObject.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Current", wireType) - } - m.Current = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Current |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Metric", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Metric == nil { - m.Metric = &MetricIdentifier{} - } - if err := m.Metric.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *PodsMetricStatus) Unmarshal(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 ErrIntOverflowAgent - } - 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: PodsMetricStatus: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: PodsMetricStatus: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Metric", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Metric == nil { - m.Metric = &MetricIdentifier{} - } - if err := m.Metric.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Current", wireType) - } - m.Current = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Current |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ResourceMetricStatus) Unmarshal(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 ErrIntOverflowAgent - } - 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: ResourceMetricStatus: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ResourceMetricStatus: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ResourceName", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ResourceName = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Current", wireType) - } - m.Current = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Current |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ContainerResourceMetricStatus) Unmarshal(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 ErrIntOverflowAgent - } - 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: ContainerResourceMetricStatus: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ContainerResourceMetricStatus: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ResourceName", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ResourceName = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Current", wireType) - } - m.Current = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Current |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Container", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Container = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ExternalMetricStatus) Unmarshal(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 ErrIntOverflowAgent - } - 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: ExternalMetricStatus: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ExternalMetricStatus: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Metric", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Metric == nil { - m.Metric = &MetricIdentifier{} - } - if err := m.Metric.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Current", wireType) - } - m.Current = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Current |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *NetworkPolicy) Unmarshal(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 ErrIntOverflowAgent - } - 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: NetworkPolicy: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: NetworkPolicy: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - 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 ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Metadata == nil { - m.Metadata = &Metadata{} - } - if err := m.Metadata.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Spec == nil { - m.Spec = &NetworkPolicySpec{} - } - if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Yaml", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Yaml = append(m.Yaml[:0], dAtA[iNdEx:postIndex]...) - if m.Yaml == nil { - m.Yaml = []byte{} - } - iNdEx = postIndex - case 4: - 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 ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Tags = append(m.Tags, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *NetworkPolicySpec) Unmarshal(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 ErrIntOverflowAgent - } - 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: NetworkPolicySpec: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: NetworkPolicySpec: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Selectors", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Selectors = append(m.Selectors, &LabelSelectorRequirement{}) - if err := m.Selectors[len(m.Selectors)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Ingress", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Ingress = append(m.Ingress, &NetworkPolicyIngressRule{}) - if err := m.Ingress[len(m.Ingress)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Egress", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Egress = append(m.Egress, &NetworkPolicyEgressRule{}) - if err := m.Egress[len(m.Egress)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PolicyTypes", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.PolicyTypes = append(m.PolicyTypes, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *NetworkPolicyIPBlock) Unmarshal(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 ErrIntOverflowAgent - } - 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: NetworkPolicyIPBlock: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: NetworkPolicyIPBlock: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Cidr", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Cidr = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Except", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Except = append(m.Except, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *NetworkPolicyIngressRule) Unmarshal(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 ErrIntOverflowAgent - } - 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: NetworkPolicyIngressRule: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: NetworkPolicyIngressRule: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Ports", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Ports = append(m.Ports, &NetworkPolicyPort{}) - if err := m.Ports[len(m.Ports)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field From", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.From = append(m.From, &NetworkPolicyPeer{}) - if err := m.From[len(m.From)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *NetworkPolicyEgressRule) Unmarshal(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 ErrIntOverflowAgent - } - 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: NetworkPolicyEgressRule: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: NetworkPolicyEgressRule: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Ports", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Ports = append(m.Ports, &NetworkPolicyPort{}) - if err := m.Ports[len(m.Ports)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field To", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.To = append(m.To, &NetworkPolicyPeer{}) - if err := m.To[len(m.To)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *NetworkPolicyPeer) Unmarshal(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 ErrIntOverflowAgent - } - 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: NetworkPolicyPeer: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: NetworkPolicyPeer: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PodSelector", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.PodSelector = append(m.PodSelector, &LabelSelectorRequirement{}) - if err := m.PodSelector[len(m.PodSelector)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field NamespaceSelector", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.NamespaceSelector = append(m.NamespaceSelector, &LabelSelectorRequirement{}) - if err := m.NamespaceSelector[len(m.NamespaceSelector)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field IpBlock", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.IpBlock == nil { - m.IpBlock = &NetworkPolicyIPBlock{} - } - if err := m.IpBlock.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field HasPodSelector", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.HasPodSelector = bool(v != 0) - case 5: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field HasNamespaceSelector", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.HasNamespaceSelector = bool(v != 0) - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *NetworkPolicyPort) Unmarshal(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 ErrIntOverflowAgent - } - 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: NetworkPolicyPort: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: NetworkPolicyPort: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Protocol", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Protocol = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Port", wireType) - } - m.Port = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Port |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field EndPort", wireType) - } - m.EndPort = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.EndPort |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *LimitRange) Unmarshal(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 ErrIntOverflowAgent - } - 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: LimitRange: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: LimitRange: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - 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 ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Metadata == nil { - m.Metadata = &Metadata{} - } - if err := m.Metadata.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Spec == nil { - m.Spec = &LimitRangeSpec{} - } - if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field LimitTypes", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.LimitTypes = append(m.LimitTypes, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - case 4: - 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 ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Tags = append(m.Tags, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *LimitRangeSpec) Unmarshal(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 ErrIntOverflowAgent - } - 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: LimitRangeSpec: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: LimitRangeSpec: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Limits", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Limits = append(m.Limits, &LimitRangeItem{}) - if err := m.Limits[len(m.Limits)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *LimitRangeItem) Unmarshal(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 ErrIntOverflowAgent - } - 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: LimitRangeItem: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: LimitRangeItem: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Type = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Default", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Default == nil { - m.Default = make(map[string]int64) - } - var mapkey string - var mapvalue int64 - for iNdEx < postIndex { - entryPreIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postStringIndexmapkey := iNdEx + intStringLenmapkey - if postStringIndexmapkey < 0 { - return ErrInvalidLengthAgent - } - if postStringIndexmapkey > l { - return io.ErrUnexpectedEOF - } - mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) - iNdEx = postStringIndexmapkey - } else if fieldNum == 2 { - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - mapvalue |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - } else { - iNdEx = entryPreIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > postIndex { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - m.Default[mapkey] = mapvalue - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field DefaultRequest", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.DefaultRequest == nil { - m.DefaultRequest = make(map[string]int64) - } - var mapkey string - var mapvalue int64 - for iNdEx < postIndex { - entryPreIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postStringIndexmapkey := iNdEx + intStringLenmapkey - if postStringIndexmapkey < 0 { - return ErrInvalidLengthAgent - } - if postStringIndexmapkey > l { - return io.ErrUnexpectedEOF - } - mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) - iNdEx = postStringIndexmapkey - } else if fieldNum == 2 { - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - mapvalue |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - } else { - iNdEx = entryPreIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > postIndex { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - m.DefaultRequest[mapkey] = mapvalue - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Max", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Max == nil { - m.Max = make(map[string]int64) - } - var mapkey string - var mapvalue int64 - for iNdEx < postIndex { - entryPreIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postStringIndexmapkey := iNdEx + intStringLenmapkey - if postStringIndexmapkey < 0 { - return ErrInvalidLengthAgent - } - if postStringIndexmapkey > l { - return io.ErrUnexpectedEOF - } - mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) - iNdEx = postStringIndexmapkey - } else if fieldNum == 2 { - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - mapvalue |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - } else { - iNdEx = entryPreIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > postIndex { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - m.Max[mapkey] = mapvalue - iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Min", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Min == nil { - m.Min = make(map[string]int64) - } - var mapkey string - var mapvalue int64 - for iNdEx < postIndex { - entryPreIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postStringIndexmapkey := iNdEx + intStringLenmapkey - if postStringIndexmapkey < 0 { - return ErrInvalidLengthAgent - } - if postStringIndexmapkey > l { - return io.ErrUnexpectedEOF - } - mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) - iNdEx = postStringIndexmapkey - } else if fieldNum == 2 { - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - mapvalue |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - } else { - iNdEx = entryPreIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > postIndex { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - m.Min[mapkey] = mapvalue - iNdEx = postIndex - case 6: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field MaxLimitRequestRatio", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.MaxLimitRequestRatio == nil { - m.MaxLimitRequestRatio = make(map[string]int64) - } - var mapkey string - var mapvalue int64 - for iNdEx < postIndex { - entryPreIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postStringIndexmapkey := iNdEx + intStringLenmapkey - if postStringIndexmapkey < 0 { - return ErrInvalidLengthAgent - } - if postStringIndexmapkey > l { - return io.ErrUnexpectedEOF - } - mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) - iNdEx = postStringIndexmapkey - } else if fieldNum == 2 { - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - mapvalue |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - } else { - iNdEx = entryPreIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > postIndex { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - m.MaxLimitRequestRatio[mapkey] = mapvalue - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil + return mi.MessageOf(x) } -func (m *StorageClass) Unmarshal(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 ErrIntOverflowAgent - } - 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: StorageClass: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: StorageClass: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - 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 ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Metadata == nil { - m.Metadata = &Metadata{} - } - if err := m.Metadata.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Provisioner", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Provisioner = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Parameters", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Parameters == nil { - m.Parameters = make(map[string]string) - } - var mapkey string - var mapvalue string - for iNdEx < postIndex { - entryPreIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postStringIndexmapkey := iNdEx + intStringLenmapkey - if postStringIndexmapkey < 0 { - return ErrInvalidLengthAgent - } - if postStringIndexmapkey > l { - return io.ErrUnexpectedEOF - } - mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) - iNdEx = postStringIndexmapkey - } else if fieldNum == 2 { - var stringLenmapvalue uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLenmapvalue |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLenmapvalue := int(stringLenmapvalue) - if intStringLenmapvalue < 0 { - return ErrInvalidLengthAgent - } - postStringIndexmapvalue := iNdEx + intStringLenmapvalue - if postStringIndexmapvalue < 0 { - return ErrInvalidLengthAgent - } - if postStringIndexmapvalue > l { - return io.ErrUnexpectedEOF - } - mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue]) - iNdEx = postStringIndexmapvalue - } else { - iNdEx = entryPreIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > postIndex { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - m.Parameters[mapkey] = mapvalue - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ReclaimPolicy", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ReclaimPolicy = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field MountOptions", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.MountOptions = append(m.MountOptions, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - case 6: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field AllowVolumeExpansion", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.AllowVolumeExpansion = bool(v != 0) - case 7: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AllowedTopologies", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.AllowedTopologies == nil { - m.AllowedTopologies = &StorageClassTopologies{} - } - if err := m.AllowedTopologies.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 8: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field VolumeBindingMode", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.VolumeBindingMode = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 9: - 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 ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Tags = append(m.Tags, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil +// Deprecated: Use HTTPStats_Data.ProtoReflect.Descriptor instead. +func (*HTTPStats_Data) Descriptor() ([]byte, []int) { + return file_proto_process_agent_proto_rawDescGZIP(), []int{153, 1} +} + +func (x *HTTPStats_Data) GetCount() uint32 { + if x != nil { + return x.Count + } + return 0 +} + +func (x *HTTPStats_Data) GetLatencies() []byte { + if x != nil { + return x.Latencies + } + return nil +} + +func (x *HTTPStats_Data) GetFirstLatencySample() float64 { + if x != nil { + return x.FirstLatencySample + } + return 0 +} + +var File_proto_process_agent_proto protoreflect.FileDescriptor + +var file_proto_process_agent_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x2f, + 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x15, 0x64, 0x61, 0x74, + 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, + 0x6e, 0x74, 0x22, 0xca, 0x01, 0x0a, 0x0c, 0x52, 0x65, 0x73, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, + 0x74, 0x6f, 0x72, 0x12, 0x42, 0x0a, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, + 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x52, 0x65, 0x73, 0x43, + 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, + 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, + 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, + 0x65, 0x12, 0x3e, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x26, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, + 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, + 0x74, 0x6f, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x1a, 0x1c, 0x0a, 0x06, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x74, + 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, + 0xfa, 0x03, 0x0a, 0x0d, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, + 0x63, 0x12, 0x1a, 0x0a, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, + 0x09, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x49, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x09, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x49, 0x64, 0x12, 0x3c, 0x0a, 0x09, 0x70, + 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, + 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, + 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x52, 0x09, + 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x65, 0x73, 0x12, 0x2f, 0x0a, 0x04, 0x68, 0x6f, 0x73, + 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, + 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, + 0x48, 0x6f, 0x73, 0x74, 0x52, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x12, 0x35, 0x0a, 0x04, 0x69, 0x6e, + 0x66, 0x6f, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, + 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, + 0x2e, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x69, 0x6e, 0x66, + 0x6f, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x18, 0x06, 0x20, 0x01, + 0x28, 0x05, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x67, + 0x72, 0x6f, 0x75, 0x70, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, + 0x67, 0x72, 0x6f, 0x75, 0x70, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x40, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, + 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, + 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, + 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x52, + 0x0a, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x12, 0x56, 0x0a, 0x11, 0x63, + 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x48, 0x6f, 0x73, 0x74, 0x54, 0x79, 0x70, 0x65, + 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x28, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, + 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x43, + 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x48, 0x6f, 0x73, 0x74, 0x54, 0x79, 0x70, 0x65, + 0x52, 0x11, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x48, 0x6f, 0x73, 0x74, 0x54, + 0x79, 0x70, 0x65, 0x12, 0x1c, 0x0a, 0x08, 0x68, 0x69, 0x6e, 0x74, 0x4d, 0x61, 0x73, 0x6b, 0x18, + 0x0e, 0x20, 0x01, 0x28, 0x05, 0x48, 0x00, 0x52, 0x08, 0x68, 0x69, 0x6e, 0x74, 0x4d, 0x61, 0x73, + 0x6b, 0x42, 0x07, 0x0a, 0x05, 0x68, 0x69, 0x6e, 0x74, 0x73, 0x4a, 0x04, 0x08, 0x0d, 0x10, 0x0e, + 0x4a, 0x04, 0x08, 0x08, 0x10, 0x09, 0x4a, 0x04, 0x08, 0x09, 0x10, 0x0a, 0x22, 0xf6, 0x01, 0x0a, + 0x16, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x63, 0x44, 0x69, + 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x4e, + 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x4e, + 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x1c, 0x0a, + 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, + 0x52, 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x57, 0x0a, 0x12, 0x70, + 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x69, 0x65, + 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, + 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, + 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, + 0x52, 0x12, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, + 0x72, 0x69, 0x65, 0x73, 0x12, 0x2f, 0x0a, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, + 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x48, 0x6f, 0x73, 0x74, 0x52, + 0x04, 0x68, 0x6f, 0x73, 0x74, 0x22, 0xb1, 0x03, 0x0a, 0x11, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, + 0x74, 0x6f, 0x72, 0x52, 0x65, 0x61, 0x6c, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x68, + 0x6f, 0x73, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x68, + 0x6f, 0x73, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x38, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x73, + 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, + 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x50, + 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x53, 0x74, 0x61, 0x74, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, + 0x73, 0x12, 0x16, 0x0a, 0x06, 0x68, 0x6f, 0x73, 0x74, 0x49, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x06, 0x68, 0x6f, 0x73, 0x74, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x6f, 0x72, 0x67, + 0x49, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x6f, 0x72, 0x67, 0x49, 0x64, 0x12, + 0x18, 0x0a, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, + 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x67, 0x72, 0x6f, + 0x75, 0x70, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x67, 0x72, + 0x6f, 0x75, 0x70, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6e, 0x75, 0x6d, 0x43, 0x70, + 0x75, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x6e, 0x75, 0x6d, 0x43, 0x70, 0x75, + 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, + 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x4d, 0x65, 0x6d, + 0x6f, 0x72, 0x79, 0x12, 0x4c, 0x0a, 0x0e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, + 0x53, 0x74, 0x61, 0x74, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x64, 0x61, + 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, + 0x65, 0x6e, 0x74, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x53, 0x74, 0x61, + 0x74, 0x52, 0x0e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, + 0x73, 0x12, 0x56, 0x0a, 0x11, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x48, 0x6f, + 0x73, 0x74, 0x54, 0x79, 0x70, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x28, 0x2e, 0x64, + 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, + 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x48, 0x6f, + 0x73, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x11, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, + 0x72, 0x48, 0x6f, 0x73, 0x74, 0x54, 0x79, 0x70, 0x65, 0x22, 0x94, 0x03, 0x0a, 0x12, 0x43, 0x6f, + 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, + 0x12, 0x1a, 0x0a, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, + 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x49, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x09, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x49, 0x64, 0x12, 0x35, 0x0a, 0x04, 0x69, 0x6e, + 0x66, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, + 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, + 0x2e, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x69, 0x6e, 0x66, + 0x6f, 0x12, 0x40, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x18, + 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, + 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x43, 0x6f, + 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, + 0x65, 0x72, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x1c, 0x0a, + 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, + 0x52, 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x2f, 0x0a, 0x04, 0x68, + 0x6f, 0x73, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x64, 0x61, 0x74, 0x61, + 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, + 0x74, 0x2e, 0x48, 0x6f, 0x73, 0x74, 0x52, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x12, 0x56, 0x0a, 0x11, + 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x48, 0x6f, 0x73, 0x74, 0x54, 0x79, 0x70, + 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x28, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, + 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, + 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x48, 0x6f, 0x73, 0x74, 0x54, 0x79, 0x70, + 0x65, 0x52, 0x11, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x48, 0x6f, 0x73, 0x74, + 0x54, 0x79, 0x70, 0x65, 0x4a, 0x04, 0x08, 0x06, 0x10, 0x07, 0x4a, 0x04, 0x08, 0x07, 0x10, 0x08, + 0x22, 0xd8, 0x02, 0x0a, 0x1a, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x43, 0x6f, + 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x52, 0x65, 0x61, 0x6c, 0x54, 0x69, 0x6d, 0x65, 0x12, + 0x1a, 0x0a, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x3a, 0x0a, 0x05, 0x73, + 0x74, 0x61, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x64, 0x61, 0x74, + 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, + 0x6e, 0x74, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, + 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x6e, 0x75, 0x6d, 0x43, 0x70, + 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x6e, 0x75, 0x6d, 0x43, 0x70, 0x75, + 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x4d, 0x65, 0x6d, + 0x6f, 0x72, 0x79, 0x12, 0x16, 0x0a, 0x06, 0x68, 0x6f, 0x73, 0x74, 0x49, 0x64, 0x18, 0x05, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x06, 0x68, 0x6f, 0x73, 0x74, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x67, + 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x67, 0x72, + 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x53, 0x69, + 0x7a, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x53, + 0x69, 0x7a, 0x65, 0x12, 0x56, 0x0a, 0x11, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, + 0x48, 0x6f, 0x73, 0x74, 0x54, 0x79, 0x70, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x28, + 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, + 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, + 0x48, 0x6f, 0x73, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x11, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, + 0x6e, 0x65, 0x72, 0x48, 0x6f, 0x73, 0x74, 0x54, 0x79, 0x70, 0x65, 0x22, 0x30, 0x0a, 0x12, 0x43, + 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x53, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x94, 0x03, + 0x0a, 0x10, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x45, 0x43, 0x53, 0x54, 0x61, + 0x73, 0x6b, 0x12, 0x22, 0x0a, 0x0c, 0x61, 0x77, 0x73, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, + 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x61, 0x77, 0x73, 0x41, 0x63, 0x63, + 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x44, 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, + 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6c, 0x75, + 0x73, 0x74, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6c, 0x75, 0x73, + 0x74, 0x65, 0x72, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6c, 0x75, + 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x12, 0x18, + 0x0a, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x67, 0x72, 0x6f, 0x75, + 0x70, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x67, 0x72, 0x6f, + 0x75, 0x70, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x34, 0x0a, 0x05, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x18, + 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, + 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x45, 0x43, + 0x53, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x05, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x12, 0x12, 0x0a, 0x04, + 0x74, 0x61, 0x67, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, + 0x12, 0x2f, 0x0a, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, + 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, + 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x48, 0x6f, 0x73, 0x74, 0x52, 0x04, 0x68, 0x6f, 0x73, + 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x0a, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x35, 0x0a, + 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x64, 0x61, + 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, + 0x65, 0x6e, 0x74, 0x2e, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, + 0x69, 0x6e, 0x66, 0x6f, 0x22, 0xdb, 0x07, 0x0a, 0x07, 0x45, 0x43, 0x53, 0x54, 0x61, 0x73, 0x6b, + 0x12, 0x10, 0x0a, 0x03, 0x61, 0x72, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x61, + 0x72, 0x6e, 0x12, 0x28, 0x0a, 0x0f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x56, 0x65, + 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x72, 0x65, 0x73, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1e, 0x0a, 0x0a, + 0x6c, 0x61, 0x75, 0x6e, 0x63, 0x68, 0x54, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0a, 0x6c, 0x61, 0x75, 0x6e, 0x63, 0x68, 0x54, 0x79, 0x70, 0x65, 0x12, 0x24, 0x0a, 0x0d, + 0x64, 0x65, 0x73, 0x69, 0x72, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0d, 0x64, 0x65, 0x73, 0x69, 0x72, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, + 0x75, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x53, 0x74, + 0x61, 0x74, 0x75, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x18, 0x06, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x12, 0x18, 0x0a, 0x07, + 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, + 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2a, 0x0a, 0x10, 0x61, 0x76, 0x61, 0x69, 0x6c, 0x61, + 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x5a, 0x6f, 0x6e, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x10, 0x61, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x5a, 0x6f, + 0x6e, 0x65, 0x12, 0x42, 0x0a, 0x06, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x18, 0x09, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, + 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x45, 0x43, 0x53, 0x54, 0x61, + 0x73, 0x6b, 0x2e, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, + 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x12, 0x75, 0x0a, 0x17, 0x65, 0x70, 0x68, 0x65, 0x6d, 0x65, + 0x72, 0x61, 0x6c, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, + 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3b, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, + 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, + 0x45, 0x43, 0x53, 0x54, 0x61, 0x73, 0x6b, 0x2e, 0x45, 0x70, 0x68, 0x65, 0x6d, 0x65, 0x72, 0x61, + 0x6c, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x45, + 0x6e, 0x74, 0x72, 0x79, 0x52, 0x17, 0x65, 0x70, 0x68, 0x65, 0x6d, 0x65, 0x72, 0x61, 0x6c, 0x53, + 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x12, 0x20, 0x0a, + 0x0b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x0b, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, + 0x14, 0x0a, 0x05, 0x76, 0x70, 0x63, 0x49, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, + 0x76, 0x70, 0x63, 0x49, 0x64, 0x12, 0x24, 0x0a, 0x0d, 0x70, 0x75, 0x6c, 0x6c, 0x53, 0x74, 0x61, + 0x72, 0x74, 0x65, 0x64, 0x41, 0x74, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x70, 0x75, + 0x6c, 0x6c, 0x53, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x24, 0x0a, 0x0d, 0x70, + 0x75, 0x6c, 0x6c, 0x53, 0x74, 0x6f, 0x70, 0x70, 0x65, 0x64, 0x41, 0x74, 0x18, 0x0e, 0x20, 0x01, + 0x28, 0x03, 0x52, 0x0d, 0x70, 0x75, 0x6c, 0x6c, 0x53, 0x74, 0x6f, 0x70, 0x70, 0x65, 0x64, 0x41, + 0x74, 0x12, 0x2e, 0x0a, 0x12, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, + 0x6f, 0x70, 0x70, 0x65, 0x64, 0x41, 0x74, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x03, 0x52, 0x12, 0x65, + 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x6f, 0x70, 0x70, 0x65, 0x64, 0x41, + 0x74, 0x12, 0x43, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x18, + 0x10, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, + 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x45, 0x43, + 0x53, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x74, + 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x61, 0x67, 0x73, 0x18, 0x11, + 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x63, + 0x73, 0x54, 0x61, 0x67, 0x73, 0x18, 0x12, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x65, 0x63, 0x73, + 0x54, 0x61, 0x67, 0x73, 0x12, 0x34, 0x0a, 0x15, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, + 0x72, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x54, 0x61, 0x67, 0x73, 0x18, 0x13, 0x20, + 0x03, 0x28, 0x09, 0x52, 0x15, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x49, 0x6e, + 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x54, 0x61, 0x67, 0x73, 0x12, 0x2f, 0x0a, 0x04, 0x68, 0x6f, + 0x73, 0x74, 0x18, 0x14, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, + 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, + 0x2e, 0x48, 0x6f, 0x73, 0x74, 0x52, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x1a, 0x39, 0x0a, 0x0b, 0x4c, + 0x69, 0x6d, 0x69, 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, 0x14, 0x0a, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, 0x52, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x4a, 0x0a, 0x1c, 0x45, 0x70, 0x68, 0x65, 0x6d, 0x65, + 0x72, 0x61, 0x6c, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, + 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, 0x03, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, + 0x38, 0x01, 0x22, 0xb2, 0x08, 0x0a, 0x0c, 0x45, 0x43, 0x53, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, + 0x6e, 0x65, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x49, 0x44, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x49, 0x44, 0x12, + 0x1e, 0x0a, 0x0a, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0a, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, + 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, + 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x05, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x69, 0x6d, 0x61, + 0x67, 0x65, 0x49, 0x44, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x69, 0x6d, 0x61, 0x67, + 0x65, 0x49, 0x44, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, + 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, + 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x41, 0x74, 0x18, 0x07, + 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, + 0x1e, 0x0a, 0x0a, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x41, 0x74, 0x18, 0x08, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x0a, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x41, 0x74, 0x12, + 0x24, 0x0a, 0x0d, 0x64, 0x65, 0x73, 0x69, 0x72, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x64, 0x65, 0x73, 0x69, 0x72, 0x65, 0x64, 0x53, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x53, 0x74, + 0x61, 0x74, 0x75, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6b, 0x6e, 0x6f, 0x77, + 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x47, 0x0a, 0x08, 0x65, 0x78, 0x69, 0x74, 0x43, + 0x6f, 0x64, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x64, 0x61, 0x74, 0x61, + 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, + 0x74, 0x2e, 0x45, 0x43, 0x53, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x45, 0x78, + 0x69, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x08, 0x65, 0x78, 0x69, 0x74, 0x43, 0x6f, 0x64, 0x65, + 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, + 0x74, 0x79, 0x70, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x6c, 0x6f, 0x67, 0x44, 0x72, 0x69, 0x76, 0x65, + 0x72, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6c, 0x6f, 0x67, 0x44, 0x72, 0x69, 0x76, + 0x65, 0x72, 0x12, 0x53, 0x0a, 0x0a, 0x6c, 0x6f, 0x67, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x18, 0x0e, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, + 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x45, + 0x43, 0x53, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x2e, 0x4c, 0x6f, 0x67, 0x4f, + 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x6c, 0x6f, 0x67, + 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x22, 0x0a, 0x0c, 0x63, 0x6f, 0x6e, 0x74, 0x61, + 0x69, 0x6e, 0x65, 0x72, 0x41, 0x72, 0x6e, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63, + 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x41, 0x72, 0x6e, 0x12, 0x3d, 0x0a, 0x05, 0x70, + 0x6f, 0x72, 0x74, 0x73, 0x18, 0x10, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x64, 0x61, 0x74, + 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, + 0x6e, 0x74, 0x2e, 0x45, 0x43, 0x53, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x50, + 0x6f, 0x72, 0x74, 0x52, 0x05, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x12, 0x46, 0x0a, 0x08, 0x6e, 0x65, + 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x18, 0x11, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x64, + 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, + 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x45, 0x43, 0x53, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, + 0x72, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x52, 0x08, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, + 0x6b, 0x73, 0x12, 0x43, 0x0a, 0x07, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x18, 0x12, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, + 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x45, 0x43, 0x53, 0x43, + 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x07, + 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x12, 0x41, 0x0a, 0x06, 0x68, 0x65, 0x61, 0x6c, 0x74, + 0x68, 0x18, 0x13, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, + 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, + 0x45, 0x43, 0x53, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x48, 0x65, 0x61, 0x6c, + 0x74, 0x68, 0x52, 0x06, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x12, 0x16, 0x0a, 0x06, 0x6c, 0x61, + 0x62, 0x65, 0x6c, 0x73, 0x18, 0x14, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, + 0x6c, 0x73, 0x12, 0x47, 0x0a, 0x06, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x18, 0x15, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, + 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x45, 0x43, 0x53, 0x43, 0x6f, + 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x2e, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x45, 0x6e, + 0x74, 0x72, 0x79, 0x52, 0x06, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x73, + 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x74, 0x65, 0x72, 0x18, 0x16, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0b, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x74, 0x65, 0x72, 0x1a, 0x3d, 0x0a, + 0x0f, 0x4c, 0x6f, 0x67, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 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, 0x1a, 0x39, 0x0a, 0x0b, + 0x4c, 0x69, 0x6d, 0x69, 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, 0x14, 0x0a, + 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, 0x52, 0x05, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x83, 0x01, 0x0a, 0x13, 0x45, 0x43, 0x53, 0x43, + 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x12, + 0x20, 0x0a, 0x0b, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x4d, 0x6f, 0x64, 0x65, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x4d, 0x6f, 0x64, + 0x65, 0x12, 0x24, 0x0a, 0x0d, 0x69, 0x70, 0x76, 0x34, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, + 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x69, 0x70, 0x76, 0x34, 0x41, 0x64, + 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x12, 0x24, 0x0a, 0x0d, 0x69, 0x70, 0x76, 0x36, 0x41, + 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, + 0x69, 0x70, 0x76, 0x36, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x22, 0x88, 0x01, + 0x0a, 0x10, 0x45, 0x43, 0x53, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x50, 0x6f, + 0x72, 0x74, 0x12, 0x24, 0x0a, 0x0d, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x50, + 0x6f, 0x72, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d, 0x63, 0x6f, 0x6e, 0x74, 0x61, + 0x69, 0x6e, 0x65, 0x72, 0x50, 0x6f, 0x72, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0x16, 0x0a, 0x06, 0x68, 0x6f, 0x73, 0x74, 0x49, 0x70, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x68, 0x6f, 0x73, 0x74, 0x49, 0x70, 0x12, 0x1a, 0x0a, 0x08, + 0x68, 0x6f, 0x73, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, + 0x68, 0x6f, 0x73, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x22, 0x6e, 0x0a, 0x12, 0x45, 0x43, 0x53, 0x43, + 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x12, 0x1e, + 0x0a, 0x0a, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0a, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x16, + 0x0a, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, + 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, + 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xa3, 0x01, 0x0a, 0x12, 0x45, 0x43, 0x53, + 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x12, + 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x69, 0x6e, 0x63, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x73, 0x69, 0x6e, 0x63, 0x65, 0x12, 0x47, 0x0a, + 0x08, 0x65, 0x78, 0x69, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x2b, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, + 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x45, 0x43, 0x53, 0x43, 0x6f, 0x6e, 0x74, 0x61, + 0x69, 0x6e, 0x65, 0x72, 0x45, 0x78, 0x69, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x08, 0x65, 0x78, + 0x69, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x22, 0x32, + 0x0a, 0x14, 0x45, 0x43, 0x53, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x45, 0x78, + 0x69, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x65, 0x78, 0x69, 0x74, 0x43, 0x6f, + 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x65, 0x78, 0x69, 0x74, 0x43, 0x6f, + 0x64, 0x65, 0x22, 0xce, 0x02, 0x0a, 0x0c, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, + 0x50, 0x6f, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, + 0x20, 0x0a, 0x0b, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x4e, 0x61, 0x6d, + 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, + 0x18, 0x0a, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, + 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x67, 0x72, 0x6f, + 0x75, 0x70, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x67, 0x72, + 0x6f, 0x75, 0x70, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x2e, 0x0a, 0x04, 0x70, 0x6f, 0x64, 0x73, 0x18, + 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, + 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x50, 0x6f, + 0x64, 0x52, 0x04, 0x70, 0x6f, 0x64, 0x73, 0x12, 0x2f, 0x0a, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x18, + 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, + 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x48, 0x6f, + 0x73, 0x74, 0x52, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x61, 0x67, 0x73, + 0x18, 0x08, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x12, 0x35, 0x0a, 0x04, + 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x64, 0x61, 0x74, + 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, + 0x6e, 0x74, 0x2e, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x69, + 0x6e, 0x66, 0x6f, 0x22, 0x8a, 0x02, 0x0a, 0x1c, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x6f, + 0x72, 0x50, 0x6f, 0x64, 0x44, 0x69, 0x73, 0x72, 0x75, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x75, + 0x64, 0x67, 0x65, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x4e, + 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6c, 0x75, 0x73, 0x74, + 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, + 0x72, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, + 0x65, 0x72, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x5e, + 0x0a, 0x14, 0x70, 0x6f, 0x64, 0x44, 0x69, 0x73, 0x72, 0x75, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x42, + 0x75, 0x64, 0x67, 0x65, 0x74, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x64, + 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, + 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x50, 0x6f, 0x64, 0x44, 0x69, 0x73, 0x72, 0x75, 0x70, 0x74, 0x69, + 0x6f, 0x6e, 0x42, 0x75, 0x64, 0x67, 0x65, 0x74, 0x52, 0x14, 0x70, 0x6f, 0x64, 0x44, 0x69, 0x73, + 0x72, 0x75, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x75, 0x64, 0x67, 0x65, 0x74, 0x73, 0x12, 0x12, + 0x0a, 0x04, 0x74, 0x61, 0x67, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x74, 0x61, + 0x67, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x53, 0x69, 0x7a, 0x65, 0x18, + 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x53, 0x69, 0x7a, 0x65, + 0x22, 0xe6, 0x01, 0x0a, 0x13, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x65, + 0x70, 0x6c, 0x69, 0x63, 0x61, 0x53, 0x65, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x6c, 0x75, 0x73, + 0x74, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, + 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6c, + 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, + 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x72, 0x6f, 0x75, + 0x70, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, + 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x53, 0x69, 0x7a, 0x65, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x53, 0x69, 0x7a, 0x65, + 0x12, 0x43, 0x0a, 0x0b, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x53, 0x65, 0x74, 0x73, 0x18, + 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, + 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x52, 0x65, + 0x70, 0x6c, 0x69, 0x63, 0x61, 0x53, 0x65, 0x74, 0x52, 0x0b, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, + 0x61, 0x53, 0x65, 0x74, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x61, 0x67, 0x73, 0x18, 0x06, 0x20, + 0x03, 0x28, 0x09, 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x22, 0xe6, 0x01, 0x0a, 0x13, 0x43, 0x6f, + 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, + 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x4e, + 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, + 0x64, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x05, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x67, + 0x72, 0x6f, 0x75, 0x70, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, + 0x67, 0x72, 0x6f, 0x75, 0x70, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x43, 0x0a, 0x0b, 0x64, 0x65, 0x70, + 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, + 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, + 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, + 0x74, 0x52, 0x0b, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x12, + 0x0a, 0x04, 0x74, 0x61, 0x67, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x74, 0x61, + 0x67, 0x73, 0x22, 0xda, 0x01, 0x0a, 0x10, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, + 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x6c, 0x75, 0x73, 0x74, + 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6c, + 0x75, 0x73, 0x74, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6c, 0x75, + 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6c, + 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, + 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, + 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x53, 0x69, 0x7a, 0x65, 0x12, + 0x3a, 0x0a, 0x08, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x1e, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, + 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0x52, 0x08, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x74, + 0x61, 0x67, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x22, + 0x98, 0x03, 0x0a, 0x0d, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x4e, 0x6f, 0x64, + 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x4e, + 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, + 0x64, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x05, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x67, + 0x72, 0x6f, 0x75, 0x70, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, + 0x67, 0x72, 0x6f, 0x75, 0x70, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x31, 0x0a, 0x05, 0x6e, 0x6f, 0x64, + 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, + 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, + 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x05, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x12, 0x12, 0x0a, 0x04, + 0x74, 0x61, 0x67, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, + 0x12, 0x66, 0x0a, 0x10, 0x68, 0x6f, 0x73, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x4d, 0x61, 0x70, + 0x70, 0x69, 0x6e, 0x67, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x64, 0x61, 0x74, + 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, + 0x6e, 0x74, 0x2e, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x4e, 0x6f, 0x64, 0x65, + 0x2e, 0x48, 0x6f, 0x73, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, + 0x67, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x10, 0x68, 0x6f, 0x73, 0x74, 0x41, 0x6c, 0x69, 0x61, + 0x73, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x1a, 0x60, 0x0a, 0x15, 0x48, 0x6f, 0x73, 0x74, + 0x41, 0x6c, 0x69, 0x61, 0x73, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x45, 0x6e, 0x74, 0x72, + 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, + 0x6b, 0x65, 0x79, 0x12, 0x31, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, + 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x48, 0x6f, 0x73, 0x74, 0x52, + 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xd8, 0x01, 0x0a, 0x10, 0x43, + 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, + 0x20, 0x0a, 0x0b, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x4e, 0x61, 0x6d, + 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, + 0x18, 0x0a, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, + 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x67, 0x72, 0x6f, + 0x75, 0x70, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x67, 0x72, + 0x6f, 0x75, 0x70, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x38, 0x0a, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, + 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, + 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, + 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, + 0x72, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x61, 0x67, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, + 0x04, 0x74, 0x61, 0x67, 0x73, 0x22, 0xde, 0x01, 0x0a, 0x11, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, + 0x74, 0x6f, 0x72, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x63, + 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0b, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, + 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x67, + 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x67, 0x72, + 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x53, 0x69, + 0x7a, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x53, + 0x69, 0x7a, 0x65, 0x12, 0x3d, 0x0a, 0x09, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x73, + 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, + 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x4d, + 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x52, 0x09, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, + 0x74, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x61, 0x67, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, + 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x22, 0x70, 0x0a, 0x14, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, + 0x74, 0x6f, 0x72, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x43, 0x52, 0x44, 0x12, 0x44, + 0x0a, 0x08, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x28, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, + 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, + 0x6f, 0x72, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x52, 0x08, 0x6d, 0x61, 0x6e, 0x69, + 0x66, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x61, 0x67, 0x73, 0x18, 0x02, 0x20, 0x03, + 0x28, 0x09, 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x22, 0x6f, 0x0a, 0x13, 0x43, 0x6f, 0x6c, 0x6c, + 0x65, 0x63, 0x74, 0x6f, 0x72, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x43, 0x52, 0x12, + 0x44, 0x0a, 0x08, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x28, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, + 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, + 0x74, 0x6f, 0x72, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x52, 0x08, 0x6d, 0x61, 0x6e, + 0x69, 0x66, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x61, 0x67, 0x73, 0x18, 0x02, 0x20, + 0x03, 0x28, 0x09, 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x22, 0xe2, 0x01, 0x0a, 0x12, 0x43, 0x6f, + 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x4e, 0x61, + 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, + 0x12, 0x18, 0x0a, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x67, 0x72, + 0x6f, 0x75, 0x70, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x67, + 0x72, 0x6f, 0x75, 0x70, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x40, 0x0a, 0x0a, 0x6e, 0x61, 0x6d, 0x65, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x64, + 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, + 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x0a, + 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x61, + 0x67, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x22, 0xca, + 0x01, 0x0a, 0x0c, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x4a, 0x6f, 0x62, 0x12, + 0x20, 0x0a, 0x0b, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x4e, 0x61, 0x6d, + 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, + 0x18, 0x0a, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, + 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x67, 0x72, 0x6f, + 0x75, 0x70, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x67, 0x72, + 0x6f, 0x75, 0x70, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x2e, 0x0a, 0x04, 0x6a, 0x6f, 0x62, 0x73, 0x18, + 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, + 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x4a, 0x6f, + 0x62, 0x52, 0x04, 0x6a, 0x6f, 0x62, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x61, 0x67, 0x73, 0x18, + 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x22, 0xda, 0x01, 0x0a, 0x10, + 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x43, 0x72, 0x6f, 0x6e, 0x4a, 0x6f, 0x62, + 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x4e, 0x61, + 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, + 0x12, 0x18, 0x0a, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x67, 0x72, + 0x6f, 0x75, 0x70, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x67, + 0x72, 0x6f, 0x75, 0x70, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x3a, 0x0a, 0x08, 0x63, 0x72, 0x6f, 0x6e, + 0x4a, 0x6f, 0x62, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x64, 0x61, 0x74, + 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, + 0x6e, 0x74, 0x2e, 0x43, 0x72, 0x6f, 0x6e, 0x4a, 0x6f, 0x62, 0x52, 0x08, 0x63, 0x72, 0x6f, 0x6e, + 0x4a, 0x6f, 0x62, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x61, 0x67, 0x73, 0x18, 0x06, 0x20, 0x03, + 0x28, 0x09, 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x22, 0xe2, 0x01, 0x0a, 0x12, 0x43, 0x6f, 0x6c, + 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x44, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x53, 0x65, 0x74, 0x12, + 0x20, 0x0a, 0x0b, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x4e, 0x61, 0x6d, + 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, + 0x18, 0x0a, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, + 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x67, 0x72, 0x6f, + 0x75, 0x70, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x67, 0x72, + 0x6f, 0x75, 0x70, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x40, 0x0a, 0x0a, 0x64, 0x61, 0x65, 0x6d, 0x6f, + 0x6e, 0x53, 0x65, 0x74, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x64, 0x61, + 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, + 0x65, 0x6e, 0x74, 0x2e, 0x44, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x53, 0x65, 0x74, 0x52, 0x0a, 0x64, + 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x53, 0x65, 0x74, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x61, 0x67, + 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x22, 0xea, 0x01, + 0x0a, 0x14, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x53, 0x74, 0x61, 0x74, 0x65, + 0x66, 0x75, 0x6c, 0x53, 0x65, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, + 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6c, 0x75, + 0x73, 0x74, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6c, 0x75, 0x73, + 0x74, 0x65, 0x72, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6c, 0x75, + 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, + 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, + 0x12, 0x1c, 0x0a, 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x46, + 0x0a, 0x0c, 0x73, 0x74, 0x61, 0x74, 0x65, 0x66, 0x75, 0x6c, 0x53, 0x65, 0x74, 0x73, 0x18, 0x05, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, + 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x53, 0x74, 0x61, + 0x74, 0x65, 0x66, 0x75, 0x6c, 0x53, 0x65, 0x74, 0x52, 0x0c, 0x73, 0x74, 0x61, 0x74, 0x65, 0x66, + 0x75, 0x6c, 0x53, 0x65, 0x74, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x61, 0x67, 0x73, 0x18, 0x06, + 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x22, 0xfe, 0x01, 0x0a, 0x19, 0x43, + 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x50, 0x65, 0x72, 0x73, 0x69, 0x73, 0x74, 0x65, + 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x6c, 0x75, 0x73, + 0x74, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, + 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6c, + 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, + 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x72, 0x6f, 0x75, + 0x70, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, + 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x53, 0x69, 0x7a, 0x65, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x53, 0x69, 0x7a, 0x65, + 0x12, 0x55, 0x0a, 0x11, 0x70, 0x65, 0x72, 0x73, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x74, 0x56, 0x6f, + 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x64, 0x61, + 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, + 0x65, 0x6e, 0x74, 0x2e, 0x50, 0x65, 0x72, 0x73, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x74, 0x56, 0x6f, + 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x11, 0x70, 0x65, 0x72, 0x73, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x74, + 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x61, 0x67, 0x73, 0x18, + 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x22, 0x92, 0x02, 0x0a, 0x1e, + 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x50, 0x65, 0x72, 0x73, 0x69, 0x73, 0x74, + 0x65, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x12, 0x20, + 0x0a, 0x0b, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, + 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x18, + 0x0a, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x67, 0x72, 0x6f, 0x75, + 0x70, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x67, 0x72, 0x6f, + 0x75, 0x70, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x64, 0x0a, 0x16, 0x70, 0x65, 0x72, 0x73, 0x69, 0x73, + 0x74, 0x65, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x73, + 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, + 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x50, + 0x65, 0x72, 0x73, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x43, + 0x6c, 0x61, 0x69, 0x6d, 0x52, 0x16, 0x70, 0x65, 0x72, 0x73, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x74, + 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x73, 0x12, 0x12, 0x0a, 0x04, + 0x74, 0x61, 0x67, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, + 0x22, 0xce, 0x01, 0x0a, 0x0d, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x6f, + 0x6c, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x4e, 0x61, 0x6d, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, + 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, + 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, + 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, + 0x67, 0x72, 0x6f, 0x75, 0x70, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x31, 0x0a, 0x05, 0x72, 0x6f, + 0x6c, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x64, 0x61, 0x74, 0x61, + 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, + 0x74, 0x2e, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x05, 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x12, 0x12, 0x0a, + 0x04, 0x74, 0x61, 0x67, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x74, 0x61, 0x67, + 0x73, 0x22, 0xea, 0x01, 0x0a, 0x14, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, + 0x6f, 0x6c, 0x65, 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x6c, + 0x75, 0x73, 0x74, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0b, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, + 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x72, + 0x6f, 0x75, 0x70, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x67, 0x72, 0x6f, + 0x75, 0x70, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x53, 0x69, 0x7a, + 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x53, 0x69, + 0x7a, 0x65, 0x12, 0x46, 0x0a, 0x0c, 0x72, 0x6f, 0x6c, 0x65, 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e, + 0x67, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, + 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, + 0x2e, 0x52, 0x6f, 0x6c, 0x65, 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x52, 0x0c, 0x72, 0x6f, + 0x6c, 0x65, 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x61, + 0x67, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x22, 0xea, + 0x01, 0x0a, 0x14, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x43, 0x6c, 0x75, 0x73, + 0x74, 0x65, 0x72, 0x52, 0x6f, 0x6c, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x6c, 0x75, 0x73, 0x74, + 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6c, + 0x75, 0x73, 0x74, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6c, 0x75, + 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6c, + 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, + 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, + 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x53, 0x69, 0x7a, 0x65, 0x12, + 0x46, 0x0a, 0x0c, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x6f, 0x6c, 0x65, 0x73, 0x18, + 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, + 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x43, 0x6c, + 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x0c, 0x63, 0x6c, 0x75, 0x73, 0x74, + 0x65, 0x72, 0x52, 0x6f, 0x6c, 0x65, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x61, 0x67, 0x73, 0x18, + 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x22, 0x86, 0x02, 0x0a, 0x1b, + 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, + 0x52, 0x6f, 0x6c, 0x65, 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x12, 0x20, 0x0a, 0x0b, 0x63, + 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0b, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, + 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x67, + 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x67, 0x72, + 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x53, 0x69, + 0x7a, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x53, + 0x69, 0x7a, 0x65, 0x12, 0x5b, 0x0a, 0x13, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x6f, + 0x6c, 0x65, 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x29, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, + 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, + 0x52, 0x6f, 0x6c, 0x65, 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x52, 0x13, 0x63, 0x6c, 0x75, + 0x73, 0x74, 0x65, 0x72, 0x52, 0x6f, 0x6c, 0x65, 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x73, + 0x12, 0x12, 0x0a, 0x04, 0x74, 0x61, 0x67, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, + 0x74, 0x61, 0x67, 0x73, 0x22, 0xf6, 0x01, 0x0a, 0x17, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, + 0x6f, 0x72, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, + 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x4e, 0x61, + 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, + 0x12, 0x18, 0x0a, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x67, 0x72, + 0x6f, 0x75, 0x70, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x67, + 0x72, 0x6f, 0x75, 0x70, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x4f, 0x0a, 0x0f, 0x73, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x25, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, + 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x0f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x61, 0x67, + 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x22, 0xdc, 0x01, + 0x0a, 0x10, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x67, 0x72, 0x65, + 0x73, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x4e, 0x61, 0x6d, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, + 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, + 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, + 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, + 0x67, 0x72, 0x6f, 0x75, 0x70, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x3c, 0x0a, 0x09, 0x69, 0x6e, + 0x67, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, + 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, + 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x49, 0x6e, 0x67, 0x72, 0x65, 0x73, 0x73, 0x52, 0x09, 0x69, + 0x6e, 0x67, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x61, 0x67, 0x73, + 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x22, 0x92, 0x02, 0x0a, + 0x1e, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x56, 0x65, 0x72, 0x74, 0x69, 0x63, + 0x61, 0x6c, 0x50, 0x6f, 0x64, 0x41, 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x72, 0x12, + 0x20, 0x0a, 0x0b, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x4e, 0x61, 0x6d, + 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, + 0x18, 0x0a, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, + 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x67, 0x72, 0x6f, + 0x75, 0x70, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x67, 0x72, + 0x6f, 0x75, 0x70, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x64, 0x0a, 0x16, 0x76, 0x65, 0x72, 0x74, 0x69, + 0x63, 0x61, 0x6c, 0x50, 0x6f, 0x64, 0x41, 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x72, + 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, + 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, + 0x56, 0x65, 0x72, 0x74, 0x69, 0x63, 0x61, 0x6c, 0x50, 0x6f, 0x64, 0x41, 0x75, 0x74, 0x6f, 0x73, + 0x63, 0x61, 0x6c, 0x65, 0x72, 0x52, 0x16, 0x76, 0x65, 0x72, 0x74, 0x69, 0x63, 0x61, 0x6c, 0x50, + 0x6f, 0x64, 0x41, 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x72, 0x73, 0x12, 0x12, 0x0a, + 0x04, 0x74, 0x61, 0x67, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x74, 0x61, 0x67, + 0x73, 0x22, 0x9a, 0x02, 0x0a, 0x20, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x48, + 0x6f, 0x72, 0x69, 0x7a, 0x6f, 0x6e, 0x74, 0x61, 0x6c, 0x50, 0x6f, 0x64, 0x41, 0x75, 0x74, 0x6f, + 0x73, 0x63, 0x61, 0x6c, 0x65, 0x72, 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, + 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6c, 0x75, + 0x73, 0x74, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6c, 0x75, 0x73, + 0x74, 0x65, 0x72, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6c, 0x75, + 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, + 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, + 0x12, 0x1c, 0x0a, 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x6a, + 0x0a, 0x18, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x6f, 0x6e, 0x74, 0x61, 0x6c, 0x50, 0x6f, 0x64, 0x41, + 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x72, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x2e, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, + 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x48, 0x6f, 0x72, 0x69, 0x7a, 0x6f, 0x6e, + 0x74, 0x61, 0x6c, 0x50, 0x6f, 0x64, 0x41, 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x72, + 0x52, 0x18, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x6f, 0x6e, 0x74, 0x61, 0x6c, 0x50, 0x6f, 0x64, 0x41, + 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x72, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x61, + 0x67, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x22, 0xf4, + 0x01, 0x0a, 0x16, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x4e, 0x65, 0x74, 0x77, + 0x6f, 0x72, 0x6b, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x6c, 0x75, + 0x73, 0x74, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, + 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x63, + 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, + 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x72, 0x6f, + 0x75, 0x70, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, + 0x70, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x53, 0x69, 0x7a, 0x65, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x53, 0x69, 0x7a, + 0x65, 0x12, 0x4e, 0x0a, 0x0f, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x50, 0x6f, 0x6c, 0x69, + 0x63, 0x69, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x64, 0x61, 0x74, + 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, + 0x6e, 0x74, 0x2e, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, + 0x52, 0x0f, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, + 0x73, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x61, 0x67, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, + 0x04, 0x74, 0x61, 0x67, 0x73, 0x22, 0xe6, 0x01, 0x0a, 0x13, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, + 0x74, 0x6f, 0x72, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x20, 0x0a, + 0x0b, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, + 0x1c, 0x0a, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x18, 0x0a, + 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, + 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, + 0x53, 0x69, 0x7a, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x67, 0x72, 0x6f, 0x75, + 0x70, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x43, 0x0a, 0x0b, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x52, 0x61, + 0x6e, 0x67, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x64, 0x61, 0x74, + 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, + 0x6e, 0x74, 0x2e, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x0b, 0x6c, + 0x69, 0x6d, 0x69, 0x74, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x61, + 0x67, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x22, 0xf0, + 0x01, 0x0a, 0x15, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x53, 0x74, 0x6f, 0x72, + 0x61, 0x67, 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x6c, 0x75, 0x73, + 0x74, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, + 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6c, + 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, + 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x72, 0x6f, 0x75, + 0x70, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, + 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x53, 0x69, 0x7a, 0x65, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x53, 0x69, 0x7a, 0x65, + 0x12, 0x4b, 0x0a, 0x0e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73, + 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, + 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, + 0x2e, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x52, 0x0e, 0x73, + 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x65, 0x73, 0x12, 0x12, 0x0a, + 0x04, 0x74, 0x61, 0x67, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x74, 0x61, 0x67, + 0x73, 0x22, 0x53, 0x0a, 0x0f, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x53, 0x74, + 0x61, 0x74, 0x75, 0x73, 0x12, 0x24, 0x0a, 0x0d, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x43, 0x6c, + 0x69, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d, 0x61, 0x63, 0x74, + 0x69, 0x76, 0x65, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x6e, + 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x69, 0x6e, + 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x22, 0xb1, 0x07, 0x0a, 0x07, 0x50, 0x72, 0x6f, 0x63, 0x65, + 0x73, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x03, 0x6b, 0x65, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x70, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x03, 0x70, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x6e, 0x73, 0x50, 0x69, 0x64, 0x18, + 0x14, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x6e, 0x73, 0x50, 0x69, 0x64, 0x12, 0x2f, 0x0a, 0x04, + 0x68, 0x6f, 0x73, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x64, 0x61, 0x74, + 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, + 0x6e, 0x74, 0x2e, 0x48, 0x6f, 0x73, 0x74, 0x52, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x12, 0x38, 0x0a, + 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, + 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, + 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x52, 0x07, + 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x36, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, + 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, + 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x50, 0x72, + 0x6f, 0x63, 0x65, 0x73, 0x73, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, + 0x39, 0x0a, 0x06, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x21, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, + 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x53, 0x74, + 0x61, 0x74, 0x52, 0x06, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x12, 0x30, 0x0a, 0x03, 0x63, 0x70, + 0x75, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, + 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, + 0x43, 0x50, 0x55, 0x53, 0x74, 0x61, 0x74, 0x52, 0x03, 0x63, 0x70, 0x75, 0x12, 0x1e, 0x0a, 0x0a, + 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x3e, 0x0a, 0x09, + 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x20, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, + 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, + 0x72, 0x52, 0x09, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x12, 0x20, 0x0a, 0x0b, + 0x6f, 0x70, 0x65, 0x6e, 0x46, 0x64, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x0b, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x0b, 0x6f, 0x70, 0x65, 0x6e, 0x46, 0x64, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x39, + 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x23, 0x2e, + 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, + 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x53, 0x74, 0x61, + 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x35, 0x0a, 0x06, 0x69, 0x6f, 0x53, + 0x74, 0x61, 0x74, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x64, 0x61, 0x74, 0x61, + 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, + 0x74, 0x2e, 0x49, 0x4f, 0x53, 0x74, 0x61, 0x74, 0x52, 0x06, 0x69, 0x6f, 0x53, 0x74, 0x61, 0x74, + 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x49, 0x64, 0x18, + 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, + 0x49, 0x64, 0x12, 0x22, 0x0a, 0x0c, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x4b, + 0x65, 0x79, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, + 0x6e, 0x65, 0x72, 0x4b, 0x65, 0x79, 0x12, 0x32, 0x0a, 0x14, 0x76, 0x6f, 0x6c, 0x75, 0x6e, 0x74, + 0x61, 0x72, 0x79, 0x43, 0x74, 0x78, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x65, 0x73, 0x18, 0x10, + 0x20, 0x01, 0x28, 0x04, 0x52, 0x14, 0x76, 0x6f, 0x6c, 0x75, 0x6e, 0x74, 0x61, 0x72, 0x79, 0x43, + 0x74, 0x78, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x65, 0x73, 0x12, 0x36, 0x0a, 0x16, 0x69, 0x6e, + 0x76, 0x6f, 0x6c, 0x75, 0x6e, 0x74, 0x61, 0x72, 0x79, 0x43, 0x74, 0x78, 0x53, 0x77, 0x69, 0x74, + 0x63, 0x68, 0x65, 0x73, 0x18, 0x11, 0x20, 0x01, 0x28, 0x04, 0x52, 0x16, 0x69, 0x6e, 0x76, 0x6f, + 0x6c, 0x75, 0x6e, 0x74, 0x61, 0x72, 0x79, 0x43, 0x74, 0x78, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, + 0x65, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x62, 0x79, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x18, 0x12, 0x20, + 0x01, 0x28, 0x0c, 0x52, 0x07, 0x62, 0x79, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x12, 0x2a, 0x0a, 0x10, + 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x42, 0x79, 0x74, 0x65, 0x4b, 0x65, 0x79, + 0x18, 0x13, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x10, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, + 0x72, 0x42, 0x79, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x12, 0x42, 0x0a, 0x08, 0x6e, 0x65, 0x74, 0x77, + 0x6f, 0x72, 0x6b, 0x73, 0x18, 0x15, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x64, 0x61, 0x74, + 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, + 0x6e, 0x74, 0x2e, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, + 0x6b, 0x73, 0x52, 0x08, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x12, 0x26, 0x0a, 0x0e, + 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x18, 0x16, + 0x20, 0x03, 0x28, 0x09, 0x52, 0x0e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x43, 0x6f, 0x6e, + 0x74, 0x65, 0x78, 0x74, 0x4a, 0x04, 0x08, 0x06, 0x10, 0x07, 0x22, 0x97, 0x02, 0x0a, 0x10, 0x50, + 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x12, + 0x10, 0x0a, 0x03, 0x70, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x70, 0x69, + 0x64, 0x12, 0x14, 0x0a, 0x05, 0x6e, 0x73, 0x50, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, + 0x52, 0x05, 0x6e, 0x73, 0x50, 0x69, 0x64, 0x12, 0x2f, 0x0a, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, + 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x48, 0x6f, + 0x73, 0x74, 0x52, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, + 0x61, 0x6e, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x64, 0x61, 0x74, 0x61, + 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, + 0x74, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, + 0x6e, 0x64, 0x12, 0x36, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x22, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, + 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, + 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, + 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x62, 0x79, + 0x74, 0x65, 0x4b, 0x65, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x62, 0x79, 0x74, + 0x65, 0x4b, 0x65, 0x79, 0x22, 0xad, 0x01, 0x0a, 0x07, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, + 0x12, 0x12, 0x0a, 0x04, 0x61, 0x72, 0x67, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, + 0x61, 0x72, 0x67, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x63, 0x77, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x03, 0x63, 0x77, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x72, 0x6f, 0x6f, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x6e, + 0x44, 0x69, 0x73, 0x6b, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x6f, 0x6e, 0x44, 0x69, + 0x73, 0x6b, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x70, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, + 0x52, 0x04, 0x70, 0x70, 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x67, 0x72, 0x6f, 0x75, 0x70, + 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x70, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x10, + 0x0a, 0x03, 0x65, 0x78, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x65, 0x78, 0x65, + 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x6d, 0x6d, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, + 0x63, 0x6f, 0x6d, 0x6d, 0x22, 0x95, 0x01, 0x0a, 0x0b, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, + 0x55, 0x73, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x67, 0x69, + 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x67, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, + 0x65, 0x75, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x65, 0x75, 0x69, 0x64, + 0x12, 0x12, 0x0a, 0x04, 0x65, 0x67, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, + 0x65, 0x67, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x75, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, + 0x28, 0x05, 0x52, 0x04, 0x73, 0x75, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x67, 0x69, 0x64, + 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x73, 0x67, 0x69, 0x64, 0x22, 0x57, 0x0a, 0x0f, + 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x12, + 0x26, 0x0a, 0x0e, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x61, 0x74, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x02, 0x52, 0x0e, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x52, 0x61, 0x74, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x62, 0x79, 0x74, 0x65, 0x73, + 0x52, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x02, 0x52, 0x09, 0x62, 0x79, 0x74, 0x65, + 0x73, 0x52, 0x61, 0x74, 0x65, 0x22, 0x76, 0x0a, 0x0d, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, + 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 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, 0x05, 0x52, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x41, 0x0a, 0x08, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x25, 0x2e, 0x64, + 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, + 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x54, + 0x79, 0x70, 0x65, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x22, 0xb9, 0x08, + 0x0a, 0x09, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x74, + 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, + 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, + 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, + 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x05, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x70, 0x75, + 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x02, 0x52, 0x08, 0x63, 0x70, 0x75, + 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x4c, + 0x69, 0x6d, 0x69, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x6d, 0x65, 0x6d, 0x6f, + 0x72, 0x79, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x3b, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, + 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x25, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, + 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x43, + 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, + 0x74, 0x61, 0x74, 0x65, 0x12, 0x3e, 0x0a, 0x06, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x18, 0x09, + 0x20, 0x01, 0x28, 0x0e, 0x32, 0x26, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, + 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x43, 0x6f, 0x6e, + 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x52, 0x06, 0x68, 0x65, + 0x61, 0x6c, 0x74, 0x68, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x18, + 0x0a, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x12, 0x12, + 0x0a, 0x04, 0x72, 0x62, 0x70, 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x02, 0x52, 0x04, 0x72, 0x62, + 0x70, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x77, 0x62, 0x70, 0x73, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x02, + 0x52, 0x04, 0x77, 0x62, 0x70, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x0d, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x65, 0x74, 0x52, + 0x63, 0x76, 0x64, 0x50, 0x73, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x02, 0x52, 0x09, 0x6e, 0x65, 0x74, + 0x52, 0x63, 0x76, 0x64, 0x50, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x65, 0x74, 0x53, 0x65, 0x6e, + 0x74, 0x50, 0x73, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x02, 0x52, 0x09, 0x6e, 0x65, 0x74, 0x53, 0x65, + 0x6e, 0x74, 0x50, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x6e, 0x65, 0x74, 0x52, 0x63, 0x76, 0x64, 0x42, + 0x70, 0x73, 0x18, 0x10, 0x20, 0x01, 0x28, 0x02, 0x52, 0x0a, 0x6e, 0x65, 0x74, 0x52, 0x63, 0x76, + 0x64, 0x42, 0x70, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x6e, 0x65, 0x74, 0x53, 0x65, 0x6e, 0x74, 0x42, + 0x70, 0x73, 0x18, 0x11, 0x20, 0x01, 0x28, 0x02, 0x52, 0x0a, 0x6e, 0x65, 0x74, 0x53, 0x65, 0x6e, + 0x74, 0x42, 0x70, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x50, 0x63, 0x74, 0x18, + 0x12, 0x20, 0x01, 0x28, 0x02, 0x52, 0x07, 0x75, 0x73, 0x65, 0x72, 0x50, 0x63, 0x74, 0x12, 0x1c, + 0x0a, 0x09, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x50, 0x63, 0x74, 0x18, 0x13, 0x20, 0x01, 0x28, + 0x02, 0x52, 0x09, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x50, 0x63, 0x74, 0x12, 0x1a, 0x0a, 0x08, + 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x50, 0x63, 0x74, 0x18, 0x14, 0x20, 0x01, 0x28, 0x02, 0x52, 0x08, + 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x50, 0x63, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x65, 0x6d, 0x52, + 0x73, 0x73, 0x18, 0x15, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x6d, 0x65, 0x6d, 0x52, 0x73, 0x73, + 0x12, 0x1a, 0x0a, 0x08, 0x6d, 0x65, 0x6d, 0x43, 0x61, 0x63, 0x68, 0x65, 0x18, 0x16, 0x20, 0x01, + 0x28, 0x04, 0x52, 0x08, 0x6d, 0x65, 0x6d, 0x43, 0x61, 0x63, 0x68, 0x65, 0x12, 0x2f, 0x0a, 0x04, + 0x68, 0x6f, 0x73, 0x74, 0x18, 0x17, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x64, 0x61, 0x74, + 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, + 0x6e, 0x74, 0x2e, 0x48, 0x6f, 0x73, 0x74, 0x52, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x12, 0x18, 0x0a, + 0x07, 0x73, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x18, 0x18, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, + 0x73, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x62, 0x79, 0x74, 0x65, 0x4b, + 0x65, 0x79, 0x18, 0x19, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x62, 0x79, 0x74, 0x65, 0x4b, 0x65, + 0x79, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x61, 0x67, 0x73, 0x18, 0x1a, 0x20, 0x03, 0x28, 0x09, 0x52, + 0x04, 0x74, 0x61, 0x67, 0x73, 0x12, 0x42, 0x0a, 0x09, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, + 0x65, 0x73, 0x18, 0x1b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, + 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, + 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x52, 0x09, + 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x74, 0x68, 0x72, + 0x65, 0x61, 0x64, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x1c, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, + 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x74, + 0x68, 0x72, 0x65, 0x61, 0x64, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x1d, 0x20, 0x01, 0x28, 0x04, + 0x52, 0x0b, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x1a, 0x0a, + 0x08, 0x6d, 0x65, 0x6d, 0x55, 0x73, 0x61, 0x67, 0x65, 0x18, 0x1e, 0x20, 0x01, 0x28, 0x04, 0x52, + 0x08, 0x6d, 0x65, 0x6d, 0x55, 0x73, 0x61, 0x67, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x70, 0x75, + 0x55, 0x73, 0x61, 0x67, 0x65, 0x4e, 0x73, 0x18, 0x1f, 0x20, 0x01, 0x28, 0x02, 0x52, 0x0a, 0x63, + 0x70, 0x75, 0x55, 0x73, 0x61, 0x67, 0x65, 0x4e, 0x73, 0x12, 0x22, 0x0a, 0x0c, 0x6d, 0x65, 0x6d, + 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x64, 0x18, 0x20, 0x20, 0x01, 0x28, 0x04, 0x52, + 0x0c, 0x6d, 0x65, 0x6d, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x64, 0x12, 0x1e, 0x0a, + 0x0a, 0x63, 0x70, 0x75, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x21, 0x20, 0x01, 0x28, + 0x02, 0x52, 0x0a, 0x63, 0x70, 0x75, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x24, 0x0a, + 0x0d, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x22, + 0x20, 0x01, 0x28, 0x04, 0x52, 0x0d, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x44, 0x69, 0x67, 0x65, 0x73, + 0x74, 0x18, 0x23, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x44, 0x69, 0x67, + 0x65, 0x73, 0x74, 0x4a, 0x04, 0x08, 0x07, 0x10, 0x08, 0x22, 0xfb, 0x08, 0x0a, 0x0b, 0x50, 0x72, + 0x6f, 0x63, 0x65, 0x73, 0x73, 0x53, 0x74, 0x61, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x70, 0x69, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x70, 0x69, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x63, + 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x39, 0x0a, 0x06, 0x6d, + 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x64, 0x61, + 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, + 0x65, 0x6e, 0x74, 0x2e, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x53, 0x74, 0x61, 0x74, 0x52, 0x06, + 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x12, 0x30, 0x0a, 0x03, 0x63, 0x70, 0x75, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, + 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x43, 0x50, 0x55, 0x53, + 0x74, 0x61, 0x74, 0x52, 0x03, 0x63, 0x70, 0x75, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x69, 0x63, 0x65, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x6e, 0x69, 0x63, 0x65, 0x12, 0x18, 0x0a, 0x07, + 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x74, + 0x68, 0x72, 0x65, 0x61, 0x64, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x6f, 0x70, 0x65, 0x6e, 0x46, 0x64, + 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x6f, 0x70, 0x65, + 0x6e, 0x46, 0x64, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, + 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x6f, + 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x49, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x49, 0x64, 0x12, 0x4d, 0x0a, 0x0e, + 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x65, 0x18, 0x0b, + 0x20, 0x01, 0x28, 0x0e, 0x32, 0x25, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, + 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x43, 0x6f, 0x6e, + 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x0e, 0x63, 0x6f, 0x6e, + 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x47, 0x0a, 0x0c, 0x70, + 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x53, 0x74, 0x61, 0x74, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, + 0x0e, 0x32, 0x23, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, + 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, + 0x73, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x0c, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x53, + 0x74, 0x61, 0x74, 0x65, 0x12, 0x35, 0x0a, 0x06, 0x69, 0x6f, 0x53, 0x74, 0x61, 0x74, 0x18, 0x13, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, + 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x49, 0x4f, 0x53, + 0x74, 0x61, 0x74, 0x52, 0x06, 0x69, 0x6f, 0x53, 0x74, 0x61, 0x74, 0x12, 0x42, 0x0a, 0x08, 0x6e, + 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x18, 0x1c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, + 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, + 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x4e, 0x65, 0x74, + 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x52, 0x08, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x12, + 0x50, 0x0a, 0x0f, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x48, 0x65, 0x61, 0x6c, + 0x74, 0x68, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x26, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, + 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, + 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, + 0x52, 0x0f, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x48, 0x65, 0x61, 0x6c, 0x74, + 0x68, 0x12, 0x24, 0x0a, 0x0d, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x52, 0x62, + 0x70, 0x73, 0x18, 0x10, 0x20, 0x01, 0x28, 0x02, 0x52, 0x0d, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, + 0x6e, 0x65, 0x72, 0x52, 0x62, 0x70, 0x73, 0x12, 0x24, 0x0a, 0x0d, 0x63, 0x6f, 0x6e, 0x74, 0x61, + 0x69, 0x6e, 0x65, 0x72, 0x57, 0x62, 0x70, 0x73, 0x18, 0x11, 0x20, 0x01, 0x28, 0x02, 0x52, 0x0d, + 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x57, 0x62, 0x70, 0x73, 0x12, 0x22, 0x0a, + 0x0c, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x4b, 0x65, 0x79, 0x18, 0x12, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x4b, 0x65, + 0x79, 0x12, 0x2e, 0x0a, 0x12, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x4e, 0x65, + 0x74, 0x52, 0x63, 0x76, 0x64, 0x50, 0x73, 0x18, 0x14, 0x20, 0x01, 0x28, 0x02, 0x52, 0x12, 0x63, + 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x4e, 0x65, 0x74, 0x52, 0x63, 0x76, 0x64, 0x50, + 0x73, 0x12, 0x2e, 0x0a, 0x12, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x4e, 0x65, + 0x74, 0x53, 0x65, 0x6e, 0x74, 0x50, 0x73, 0x18, 0x15, 0x20, 0x01, 0x28, 0x02, 0x52, 0x12, 0x63, + 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x4e, 0x65, 0x74, 0x53, 0x65, 0x6e, 0x74, 0x50, + 0x73, 0x12, 0x30, 0x0a, 0x13, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x4e, 0x65, + 0x74, 0x52, 0x63, 0x76, 0x64, 0x42, 0x70, 0x73, 0x18, 0x16, 0x20, 0x01, 0x28, 0x02, 0x52, 0x13, + 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x4e, 0x65, 0x74, 0x52, 0x63, 0x76, 0x64, + 0x42, 0x70, 0x73, 0x12, 0x30, 0x0a, 0x13, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, + 0x4e, 0x65, 0x74, 0x53, 0x65, 0x6e, 0x74, 0x42, 0x70, 0x73, 0x18, 0x17, 0x20, 0x01, 0x28, 0x02, + 0x52, 0x13, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x4e, 0x65, 0x74, 0x53, 0x65, + 0x6e, 0x74, 0x42, 0x70, 0x73, 0x12, 0x32, 0x0a, 0x14, 0x76, 0x6f, 0x6c, 0x75, 0x6e, 0x74, 0x61, + 0x72, 0x79, 0x43, 0x74, 0x78, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x65, 0x73, 0x18, 0x18, 0x20, + 0x01, 0x28, 0x04, 0x52, 0x14, 0x76, 0x6f, 0x6c, 0x75, 0x6e, 0x74, 0x61, 0x72, 0x79, 0x43, 0x74, + 0x78, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x65, 0x73, 0x12, 0x36, 0x0a, 0x16, 0x69, 0x6e, 0x76, + 0x6f, 0x6c, 0x75, 0x6e, 0x74, 0x61, 0x72, 0x79, 0x43, 0x74, 0x78, 0x53, 0x77, 0x69, 0x74, 0x63, + 0x68, 0x65, 0x73, 0x18, 0x19, 0x20, 0x01, 0x28, 0x04, 0x52, 0x16, 0x69, 0x6e, 0x76, 0x6f, 0x6c, + 0x75, 0x6e, 0x74, 0x61, 0x72, 0x79, 0x43, 0x74, 0x78, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x65, + 0x73, 0x12, 0x18, 0x0a, 0x07, 0x62, 0x79, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x18, 0x1a, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x07, 0x62, 0x79, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x12, 0x2a, 0x0a, 0x10, 0x63, + 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x42, 0x79, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x18, + 0x1b, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x10, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, + 0x42, 0x79, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x22, 0xb1, 0x01, 0x0a, 0x11, 0x50, 0x72, 0x6f, 0x63, + 0x53, 0x74, 0x61, 0x74, 0x73, 0x57, 0x69, 0x74, 0x68, 0x50, 0x65, 0x72, 0x6d, 0x12, 0x20, 0x0a, + 0x0b, 0x6f, 0x70, 0x65, 0x6e, 0x46, 0x44, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x05, 0x52, 0x0b, 0x6f, 0x70, 0x65, 0x6e, 0x46, 0x44, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, + 0x1c, 0x0a, 0x09, 0x72, 0x65, 0x61, 0x64, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x03, 0x52, 0x09, 0x72, 0x65, 0x61, 0x64, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1e, 0x0a, + 0x0a, 0x77, 0x72, 0x69, 0x74, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x0a, 0x77, 0x72, 0x69, 0x74, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1c, 0x0a, + 0x09, 0x72, 0x65, 0x61, 0x64, 0x42, 0x79, 0x74, 0x65, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x09, 0x72, 0x65, 0x61, 0x64, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x77, + 0x72, 0x69, 0x74, 0x65, 0x42, 0x79, 0x74, 0x65, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x0a, 0x77, 0x72, 0x69, 0x74, 0x65, 0x42, 0x79, 0x74, 0x65, 0x73, 0x22, 0xe0, 0x01, 0x0a, 0x16, + 0x50, 0x72, 0x6f, 0x63, 0x53, 0x74, 0x61, 0x74, 0x73, 0x57, 0x69, 0x74, 0x68, 0x50, 0x65, 0x72, + 0x6d, 0x42, 0x79, 0x50, 0x49, 0x44, 0x12, 0x5d, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x74, 0x73, 0x42, + 0x79, 0x50, 0x49, 0x44, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3d, 0x2e, 0x64, 0x61, 0x74, + 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, + 0x6e, 0x74, 0x2e, 0x50, 0x72, 0x6f, 0x63, 0x53, 0x74, 0x61, 0x74, 0x73, 0x57, 0x69, 0x74, 0x68, + 0x50, 0x65, 0x72, 0x6d, 0x42, 0x79, 0x50, 0x49, 0x44, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x73, 0x42, + 0x79, 0x50, 0x49, 0x44, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x73, 0x74, 0x61, 0x74, 0x73, + 0x42, 0x79, 0x50, 0x49, 0x44, 0x1a, 0x67, 0x0a, 0x0f, 0x53, 0x74, 0x61, 0x74, 0x73, 0x42, 0x79, + 0x50, 0x49, 0x44, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x3e, 0x0a, 0x05, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x64, 0x61, 0x74, 0x61, + 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, + 0x74, 0x2e, 0x50, 0x72, 0x6f, 0x63, 0x53, 0x74, 0x61, 0x74, 0x73, 0x57, 0x69, 0x74, 0x68, 0x50, + 0x65, 0x72, 0x6d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xb0, + 0x06, 0x0a, 0x0d, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, + 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, + 0x12, 0x18, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x50, 0x63, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x02, 0x52, 0x07, 0x75, 0x73, 0x65, 0x72, 0x50, 0x63, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x79, + 0x73, 0x74, 0x65, 0x6d, 0x50, 0x63, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x02, 0x52, 0x09, 0x73, + 0x79, 0x73, 0x74, 0x65, 0x6d, 0x50, 0x63, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x74, 0x6f, 0x74, 0x61, + 0x6c, 0x50, 0x63, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x02, 0x52, 0x08, 0x74, 0x6f, 0x74, 0x61, + 0x6c, 0x50, 0x63, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x70, 0x75, 0x4c, 0x69, 0x6d, 0x69, 0x74, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x02, 0x52, 0x08, 0x63, 0x70, 0x75, 0x4c, 0x69, 0x6d, 0x69, 0x74, + 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x65, 0x6d, 0x52, 0x73, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, + 0x52, 0x06, 0x6d, 0x65, 0x6d, 0x52, 0x73, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x6d, 0x65, 0x6d, 0x43, + 0x61, 0x63, 0x68, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x6d, 0x65, 0x6d, 0x43, + 0x61, 0x63, 0x68, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x6d, 0x65, 0x6d, 0x4c, 0x69, 0x6d, 0x69, 0x74, + 0x18, 0x08, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x6d, 0x65, 0x6d, 0x4c, 0x69, 0x6d, 0x69, 0x74, + 0x12, 0x12, 0x0a, 0x04, 0x72, 0x62, 0x70, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x02, 0x52, 0x04, + 0x72, 0x62, 0x70, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x77, 0x62, 0x70, 0x73, 0x18, 0x0a, 0x20, 0x01, + 0x28, 0x02, 0x52, 0x04, 0x77, 0x62, 0x70, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x65, 0x74, 0x52, + 0x63, 0x76, 0x64, 0x50, 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x02, 0x52, 0x09, 0x6e, 0x65, 0x74, + 0x52, 0x63, 0x76, 0x64, 0x50, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x65, 0x74, 0x53, 0x65, 0x6e, + 0x74, 0x50, 0x73, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x02, 0x52, 0x09, 0x6e, 0x65, 0x74, 0x53, 0x65, + 0x6e, 0x74, 0x50, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x6e, 0x65, 0x74, 0x52, 0x63, 0x76, 0x64, 0x42, + 0x70, 0x73, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x02, 0x52, 0x0a, 0x6e, 0x65, 0x74, 0x52, 0x63, 0x76, + 0x64, 0x42, 0x70, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x6e, 0x65, 0x74, 0x53, 0x65, 0x6e, 0x74, 0x42, + 0x70, 0x73, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x02, 0x52, 0x0a, 0x6e, 0x65, 0x74, 0x53, 0x65, 0x6e, + 0x74, 0x42, 0x70, 0x73, 0x12, 0x3b, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x0f, 0x20, + 0x01, 0x28, 0x0e, 0x32, 0x25, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, + 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x43, 0x6f, 0x6e, 0x74, + 0x61, 0x69, 0x6e, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, + 0x65, 0x12, 0x3e, 0x0a, 0x06, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x18, 0x10, 0x20, 0x01, 0x28, + 0x0e, 0x32, 0x26, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, + 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, + 0x6e, 0x65, 0x72, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x52, 0x06, 0x68, 0x65, 0x61, 0x6c, 0x74, + 0x68, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x11, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, + 0x6b, 0x65, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x18, 0x12, + 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x73, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x12, 0x18, 0x0a, + 0x07, 0x62, 0x79, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x18, 0x13, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, + 0x62, 0x79, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x12, 0x20, 0x0a, 0x0b, 0x74, 0x68, 0x72, 0x65, 0x61, + 0x64, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x14, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x74, 0x68, + 0x72, 0x65, 0x61, 0x64, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x74, 0x68, 0x72, + 0x65, 0x61, 0x64, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x15, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, + 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x6d, + 0x65, 0x6d, 0x55, 0x73, 0x61, 0x67, 0x65, 0x18, 0x16, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x6d, + 0x65, 0x6d, 0x55, 0x73, 0x61, 0x67, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x70, 0x75, 0x55, 0x73, + 0x61, 0x67, 0x65, 0x4e, 0x73, 0x18, 0x17, 0x20, 0x01, 0x28, 0x02, 0x52, 0x0a, 0x63, 0x70, 0x75, + 0x55, 0x73, 0x61, 0x67, 0x65, 0x4e, 0x73, 0x12, 0x22, 0x0a, 0x0c, 0x6d, 0x65, 0x6d, 0x41, 0x63, + 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x64, 0x18, 0x18, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0c, 0x6d, + 0x65, 0x6d, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x63, + 0x70, 0x75, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x19, 0x20, 0x01, 0x28, 0x02, 0x52, + 0x0a, 0x63, 0x70, 0x75, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x24, 0x0a, 0x0d, 0x6d, + 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x1a, 0x20, 0x01, + 0x28, 0x04, 0x52, 0x0d, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x22, 0xab, 0x01, 0x0a, 0x0a, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x49, 0x6e, 0x66, 0x6f, + 0x12, 0x12, 0x0a, 0x04, 0x75, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, + 0x75, 0x75, 0x69, 0x64, 0x12, 0x2d, 0x0a, 0x02, 0x6f, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1d, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, + 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x4f, 0x53, 0x49, 0x6e, 0x66, 0x6f, 0x52, + 0x02, 0x6f, 0x73, 0x12, 0x32, 0x0a, 0x04, 0x63, 0x70, 0x75, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x1e, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, + 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x43, 0x50, 0x55, 0x49, 0x6e, 0x66, + 0x6f, 0x52, 0x04, 0x63, 0x70, 0x75, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x74, 0x6f, 0x74, 0x61, 0x6c, + 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x74, 0x6f, + 0x74, 0x61, 0x6c, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x4a, 0x04, 0x08, 0x04, 0x10, 0x05, 0x22, + 0x90, 0x01, 0x0a, 0x06, 0x4f, 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, 0x1a, + 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x61, + 0x6d, 0x69, 0x6c, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x61, 0x6d, 0x69, + 0x6c, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x24, 0x0a, 0x0d, + 0x6b, 0x65, 0x72, 0x6e, 0x65, 0x6c, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6b, 0x65, 0x72, 0x6e, 0x65, 0x6c, 0x56, 0x65, 0x72, 0x73, 0x69, + 0x6f, 0x6e, 0x22, 0x90, 0x01, 0x0a, 0x06, 0x49, 0x4f, 0x53, 0x74, 0x61, 0x74, 0x12, 0x1a, 0x0a, + 0x08, 0x72, 0x65, 0x61, 0x64, 0x52, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x02, 0x52, + 0x08, 0x72, 0x65, 0x61, 0x64, 0x52, 0x61, 0x74, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x77, 0x72, 0x69, + 0x74, 0x65, 0x52, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x02, 0x52, 0x09, 0x77, 0x72, + 0x69, 0x74, 0x65, 0x52, 0x61, 0x74, 0x65, 0x12, 0x24, 0x0a, 0x0d, 0x72, 0x65, 0x61, 0x64, 0x42, + 0x79, 0x74, 0x65, 0x73, 0x52, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x02, 0x52, 0x0d, + 0x72, 0x65, 0x61, 0x64, 0x42, 0x79, 0x74, 0x65, 0x73, 0x52, 0x61, 0x74, 0x65, 0x12, 0x26, 0x0a, + 0x0e, 0x77, 0x72, 0x69, 0x74, 0x65, 0x42, 0x79, 0x74, 0x65, 0x73, 0x52, 0x61, 0x74, 0x65, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x02, 0x52, 0x0e, 0x77, 0x72, 0x69, 0x74, 0x65, 0x42, 0x79, 0x74, 0x65, + 0x73, 0x52, 0x61, 0x74, 0x65, 0x22, 0xac, 0x01, 0x0a, 0x0a, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, + 0x53, 0x74, 0x61, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x72, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x04, 0x52, 0x03, 0x72, 0x73, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x76, 0x6d, 0x73, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x04, 0x52, 0x03, 0x76, 0x6d, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x77, 0x61, 0x70, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x73, 0x77, 0x61, 0x70, 0x12, 0x16, 0x0a, 0x06, + 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x73, 0x68, + 0x61, 0x72, 0x65, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x65, 0x78, 0x74, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x04, 0x52, 0x04, 0x74, 0x65, 0x78, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x6c, 0x69, 0x62, 0x18, + 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, 0x03, 0x6c, 0x69, 0x62, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, + 0x74, 0x61, 0x18, 0x07, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x14, + 0x0a, 0x05, 0x64, 0x69, 0x72, 0x74, 0x79, 0x18, 0x08, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x64, + 0x69, 0x72, 0x74, 0x79, 0x22, 0xa1, 0x02, 0x0a, 0x07, 0x43, 0x50, 0x55, 0x53, 0x74, 0x61, 0x74, + 0x12, 0x18, 0x0a, 0x07, 0x6c, 0x61, 0x73, 0x74, 0x43, 0x70, 0x75, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x07, 0x6c, 0x61, 0x73, 0x74, 0x43, 0x70, 0x75, 0x12, 0x1a, 0x0a, 0x08, 0x74, 0x6f, + 0x74, 0x61, 0x6c, 0x50, 0x63, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x02, 0x52, 0x08, 0x74, 0x6f, + 0x74, 0x61, 0x6c, 0x50, 0x63, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x50, 0x63, + 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x02, 0x52, 0x07, 0x75, 0x73, 0x65, 0x72, 0x50, 0x63, 0x74, + 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x50, 0x63, 0x74, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x02, 0x52, 0x09, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x50, 0x63, 0x74, 0x12, 0x1e, + 0x0a, 0x0a, 0x6e, 0x75, 0x6d, 0x54, 0x68, 0x72, 0x65, 0x61, 0x64, 0x73, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x05, 0x52, 0x0a, 0x6e, 0x75, 0x6d, 0x54, 0x68, 0x72, 0x65, 0x61, 0x64, 0x73, 0x12, 0x38, + 0x0a, 0x04, 0x63, 0x70, 0x75, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x64, + 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, + 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x53, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x43, 0x50, 0x55, 0x53, 0x74, + 0x61, 0x74, 0x52, 0x04, 0x63, 0x70, 0x75, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x69, 0x63, 0x65, + 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x6e, 0x69, 0x63, 0x65, 0x12, 0x1a, 0x0a, 0x08, + 0x75, 0x73, 0x65, 0x72, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, + 0x75, 0x73, 0x65, 0x72, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x73, 0x79, 0x73, 0x74, + 0x65, 0x6d, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x73, 0x79, + 0x73, 0x74, 0x65, 0x6d, 0x54, 0x69, 0x6d, 0x65, 0x22, 0x3f, 0x0a, 0x0d, 0x53, 0x69, 0x6e, 0x67, + 0x6c, 0x65, 0x43, 0x50, 0x55, 0x53, 0x74, 0x61, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, + 0x08, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x50, 0x63, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x02, 0x52, + 0x08, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x50, 0x63, 0x74, 0x22, 0xe5, 0x01, 0x0a, 0x07, 0x43, 0x50, + 0x55, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x16, 0x0a, + 0x06, 0x76, 0x65, 0x6e, 0x64, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x76, + 0x65, 0x6e, 0x64, 0x6f, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x12, 0x14, 0x0a, + 0x05, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6d, 0x6f, + 0x64, 0x65, 0x6c, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x68, 0x79, 0x73, 0x69, 0x63, 0x61, 0x6c, 0x49, + 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x68, 0x79, 0x73, 0x69, 0x63, 0x61, + 0x6c, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x6f, 0x72, 0x65, 0x49, 0x64, 0x18, 0x06, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x06, 0x63, 0x6f, 0x72, 0x65, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x63, + 0x6f, 0x72, 0x65, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x63, 0x6f, 0x72, 0x65, + 0x73, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x68, 0x7a, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, + 0x6d, 0x68, 0x7a, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x61, 0x63, 0x68, 0x65, 0x53, 0x69, 0x7a, 0x65, + 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x63, 0x61, 0x63, 0x68, 0x65, 0x53, 0x69, 0x7a, + 0x65, 0x22, 0xe2, 0x01, 0x0a, 0x04, 0x48, 0x6f, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x6f, 0x72, + 0x67, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x6f, 0x72, 0x67, 0x49, 0x64, + 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, + 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x6c, 0x6c, 0x54, 0x61, 0x67, 0x73, 0x18, + 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x61, 0x6c, 0x6c, 0x54, 0x61, 0x67, 0x73, 0x12, 0x18, + 0x0a, 0x07, 0x6e, 0x75, 0x6d, 0x43, 0x70, 0x75, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x07, 0x6e, 0x75, 0x6d, 0x43, 0x70, 0x75, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x74, 0x6f, 0x74, 0x61, + 0x6c, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x74, + 0x6f, 0x74, 0x61, 0x6c, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x74, 0x61, + 0x67, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x74, 0x61, + 0x67, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x22, 0x0a, 0x0c, 0x74, 0x61, 0x67, 0x73, 0x4d, 0x6f, + 0x64, 0x69, 0x66, 0x69, 0x65, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x74, 0x61, + 0x67, 0x73, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x64, 0x4a, 0x04, 0x08, 0x04, 0x10, 0x05, + 0x4a, 0x04, 0x08, 0x05, 0x10, 0x06, 0x22, 0xb0, 0x09, 0x0a, 0x07, 0x43, 0x6c, 0x75, 0x73, 0x74, + 0x65, 0x72, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x6f, 0x64, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x6e, 0x6f, 0x64, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, + 0x12, 0x5d, 0x0a, 0x0f, 0x6b, 0x75, 0x62, 0x65, 0x6c, 0x65, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, + 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x64, 0x61, 0x74, 0x61, + 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, + 0x74, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x4b, 0x75, 0x62, 0x65, 0x6c, 0x65, + 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0f, + 0x6b, 0x75, 0x62, 0x65, 0x6c, 0x65, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, + 0x63, 0x0a, 0x11, 0x61, 0x70, 0x69, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x56, 0x65, 0x72, 0x73, + 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x64, 0x61, 0x74, + 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, + 0x6e, 0x74, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x41, 0x70, 0x69, 0x53, 0x65, + 0x72, 0x76, 0x65, 0x72, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, + 0x79, 0x52, 0x11, 0x61, 0x70, 0x69, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x56, 0x65, 0x72, 0x73, + 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x70, 0x6f, 0x64, 0x43, 0x61, 0x70, 0x61, 0x63, + 0x69, 0x74, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x70, 0x6f, 0x64, 0x43, 0x61, + 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x12, 0x26, 0x0a, 0x0e, 0x70, 0x6f, 0x64, 0x41, 0x6c, 0x6c, + 0x6f, 0x63, 0x61, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, + 0x70, 0x6f, 0x64, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x2c, + 0x0a, 0x11, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x61, + 0x62, 0x6c, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, 0x11, 0x6d, 0x65, 0x6d, 0x6f, 0x72, + 0x79, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x26, 0x0a, 0x0e, + 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x43, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x18, 0x07, + 0x20, 0x01, 0x28, 0x04, 0x52, 0x0e, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x43, 0x61, 0x70, 0x61, + 0x63, 0x69, 0x74, 0x79, 0x12, 0x26, 0x0a, 0x0e, 0x63, 0x70, 0x75, 0x41, 0x6c, 0x6c, 0x6f, 0x63, + 0x61, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0e, 0x63, 0x70, + 0x75, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x20, 0x0a, 0x0b, + 0x63, 0x70, 0x75, 0x43, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x18, 0x09, 0x20, 0x01, 0x28, + 0x04, 0x52, 0x0b, 0x63, 0x70, 0x75, 0x43, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x12, 0x28, + 0x0a, 0x0f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, + 0x6e, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2c, 0x0a, 0x11, 0x63, 0x72, 0x65, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x0b, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x11, 0x63, 0x72, 0x65, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, + 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x61, 0x67, 0x73, 0x18, 0x0c, + 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x12, 0x40, 0x0a, 0x07, 0x6d, 0x65, + 0x74, 0x72, 0x69, 0x63, 0x73, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x64, 0x61, + 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, + 0x65, 0x6e, 0x74, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4d, 0x65, 0x74, 0x72, + 0x69, 0x63, 0x73, 0x52, 0x07, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x12, 0x84, 0x01, 0x0a, + 0x1c, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x73, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x0e, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x40, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, + 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x43, 0x6c, 0x75, 0x73, + 0x74, 0x65, 0x72, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x73, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x61, 0x62, 0x6c, 0x65, + 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x1c, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x52, + 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x61, + 0x62, 0x6c, 0x65, 0x12, 0x7b, 0x0a, 0x19, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x52, + 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x43, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, + 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3d, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, + 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x43, + 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x52, + 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x43, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, + 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x19, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x52, + 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x43, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, + 0x1a, 0x42, 0x0a, 0x14, 0x4b, 0x75, 0x62, 0x65, 0x6c, 0x65, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, + 0x6f, 0x6e, 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, 0x05, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x44, 0x0a, 0x16, 0x41, 0x70, 0x69, 0x53, 0x65, 0x72, 0x76, 0x65, + 0x72, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 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, 0x05, 0x52, + 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x4f, 0x0a, 0x21, 0x45, 0x78, + 0x74, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x41, + 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x61, 0x62, 0x6c, 0x65, 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, 0x03, + 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x4c, 0x0a, 0x1e, 0x45, + 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, + 0x43, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 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, 0x03, 0x52, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xff, 0x02, 0x0a, 0x08, 0x4d, 0x65, + 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, + 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, + 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x2c, 0x0a, 0x11, 0x63, 0x72, + 0x65, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x11, 0x63, 0x72, 0x65, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, + 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x2c, 0x0a, 0x11, 0x64, 0x65, 0x6c, 0x65, + 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x05, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x11, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, + 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x16, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, + 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x20, + 0x0a, 0x0b, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x07, 0x20, + 0x03, 0x28, 0x09, 0x52, 0x0b, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x12, 0x4f, 0x0a, 0x0f, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, + 0x63, 0x65, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x64, 0x61, 0x74, 0x61, + 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, + 0x74, 0x2e, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, + 0x52, 0x0f, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, + 0x73, 0x12, 0x28, 0x0a, 0x0f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x56, 0x65, 0x72, + 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x72, 0x65, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1e, 0x0a, 0x0a, 0x66, + 0x69, 0x6e, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x72, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x09, 0x52, + 0x0a, 0x66, 0x69, 0x6e, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x72, 0x73, 0x22, 0x4a, 0x0a, 0x0e, 0x4f, + 0x77, 0x6e, 0x65, 0x72, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x12, 0x0a, + 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, + 0x65, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, + 0x75, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x22, 0xd1, 0x01, 0x0a, 0x0f, 0x4f, 0x62, 0x6a, 0x65, + 0x63, 0x74, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6b, + 0x69, 0x6e, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x12, + 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x12, 0x0a, + 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, + 0x65, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, + 0x75, 0x69, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x61, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, + 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x61, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, + 0x69, 0x6f, 0x6e, 0x12, 0x28, 0x0a, 0x0f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x56, + 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x72, 0x65, + 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1c, 0x0a, + 0x09, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x50, 0x61, 0x74, 0x68, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x09, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x50, 0x61, 0x74, 0x68, 0x22, 0x8d, 0x01, 0x0a, 0x0b, + 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x6f, 0x72, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, + 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, + 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x70, + 0x6f, 0x72, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x12, + 0x1e, 0x0a, 0x0a, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0a, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x12, + 0x1a, 0x0a, 0x08, 0x6e, 0x6f, 0x64, 0x65, 0x50, 0x6f, 0x72, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x08, 0x6e, 0x6f, 0x64, 0x65, 0x50, 0x6f, 0x72, 0x74, 0x22, 0x56, 0x0a, 0x1c, 0x53, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x41, 0x66, 0x66, + 0x69, 0x6e, 0x69, 0x74, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x36, 0x0a, 0x16, 0x63, + 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x49, 0x50, 0x54, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x53, 0x65, + 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x16, 0x63, 0x6c, 0x69, + 0x65, 0x6e, 0x74, 0x49, 0x50, 0x54, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x53, 0x65, 0x63, 0x6f, + 0x6e, 0x64, 0x73, 0x22, 0xe5, 0x03, 0x0a, 0x04, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x3b, 0x0a, 0x08, + 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, + 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, + 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, + 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x6f, 0x64, + 0x43, 0x49, 0x44, 0x52, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x6f, 0x64, 0x43, + 0x49, 0x44, 0x52, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6f, 0x64, 0x43, 0x49, 0x44, 0x52, 0x73, 0x18, + 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6f, 0x64, 0x43, 0x49, 0x44, 0x52, 0x73, 0x12, + 0x24, 0x0a, 0x0d, 0x75, 0x6e, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x61, 0x62, 0x6c, 0x65, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x75, 0x6e, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, + 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x34, 0x0a, 0x06, 0x74, 0x61, 0x69, 0x6e, 0x74, 0x73, 0x18, + 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, + 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x54, 0x61, + 0x69, 0x6e, 0x74, 0x52, 0x06, 0x74, 0x61, 0x69, 0x6e, 0x74, 0x73, 0x12, 0x39, 0x0a, 0x06, 0x73, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x64, 0x61, + 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, + 0x65, 0x6e, 0x74, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, + 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x16, 0x0a, 0x04, 0x79, 0x61, 0x6d, 0x6c, 0x18, 0x07, + 0x20, 0x01, 0x28, 0x0c, 0x42, 0x02, 0x18, 0x01, 0x52, 0x04, 0x79, 0x61, 0x6d, 0x6c, 0x12, 0x14, + 0x0a, 0x05, 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x72, + 0x6f, 0x6c, 0x65, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x61, 0x67, 0x73, 0x18, 0x09, 0x20, 0x03, + 0x28, 0x09, 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x76, + 0x69, 0x64, 0x65, 0x72, 0x49, 0x44, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x72, + 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x44, 0x12, 0x2f, 0x0a, 0x04, 0x68, 0x6f, 0x73, 0x74, + 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, + 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x48, + 0x6f, 0x73, 0x74, 0x52, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x12, 0x40, 0x0a, 0x07, 0x6d, 0x65, 0x74, + 0x72, 0x69, 0x63, 0x73, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x64, 0x61, 0x74, + 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, + 0x6e, 0x74, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4d, 0x65, 0x74, 0x72, 0x69, + 0x63, 0x73, 0x52, 0x07, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x22, 0x83, 0x07, 0x0a, 0x0a, + 0x4e, 0x6f, 0x64, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x4b, 0x0a, 0x08, 0x63, 0x61, + 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x64, + 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, + 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, + 0x43, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x63, + 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x12, 0x54, 0x0a, 0x0b, 0x61, 0x6c, 0x6c, 0x6f, 0x63, + 0x61, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x64, + 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, + 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, + 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, + 0x52, 0x0b, 0x61, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x5a, 0x0a, + 0x0d, 0x6e, 0x6f, 0x64, 0x65, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x18, 0x03, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, + 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x4e, 0x6f, 0x64, + 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x41, 0x64, 0x64, 0x72, + 0x65, 0x73, 0x73, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0d, 0x6e, 0x6f, 0x64, 0x65, + 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, + 0x74, 0x75, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x12, 0x26, 0x0a, 0x0e, 0x6b, 0x75, 0x62, 0x65, 0x6c, 0x65, 0x74, 0x56, 0x65, 0x72, 0x73, + 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6b, 0x75, 0x62, 0x65, 0x6c, + 0x65, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x44, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, + 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, + 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, + 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, + 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, + 0x3d, 0x0a, 0x06, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x25, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, + 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, + 0x72, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x52, 0x06, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x73, 0x12, 0x2a, + 0x0a, 0x10, 0x6b, 0x75, 0x62, 0x65, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x56, 0x65, 0x72, 0x73, 0x69, + 0x6f, 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x6b, 0x75, 0x62, 0x65, 0x50, 0x72, + 0x6f, 0x78, 0x79, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x28, 0x0a, 0x0f, 0x6f, 0x70, + 0x65, 0x72, 0x61, 0x74, 0x69, 0x6e, 0x67, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x18, 0x09, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6e, 0x67, 0x53, 0x79, + 0x73, 0x74, 0x65, 0x6d, 0x12, 0x22, 0x0a, 0x0c, 0x61, 0x72, 0x63, 0x68, 0x69, 0x74, 0x65, 0x63, + 0x74, 0x75, 0x72, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x61, 0x72, 0x63, 0x68, + 0x69, 0x74, 0x65, 0x63, 0x74, 0x75, 0x72, 0x65, 0x12, 0x24, 0x0a, 0x0d, 0x6b, 0x65, 0x72, 0x6e, + 0x65, 0x6c, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0d, 0x6b, 0x65, 0x72, 0x6e, 0x65, 0x6c, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x18, + 0x0a, 0x07, 0x6f, 0x73, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x07, 0x6f, 0x73, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x38, 0x0a, 0x17, 0x63, 0x6f, 0x6e, 0x74, + 0x61, 0x69, 0x6e, 0x65, 0x72, 0x52, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x56, 0x65, 0x72, 0x73, + 0x69, 0x6f, 0x6e, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x17, 0x63, 0x6f, 0x6e, 0x74, 0x61, + 0x69, 0x6e, 0x65, 0x72, 0x52, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, + 0x6f, 0x6e, 0x1a, 0x3b, 0x0a, 0x0d, 0x43, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 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, 0x03, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, + 0x3e, 0x0a, 0x10, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x61, 0x62, 0x6c, 0x65, 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, 0x03, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, + 0x40, 0x0a, 0x12, 0x4e, 0x6f, 0x64, 0x65, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 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, 0x9d, 0x01, 0x0a, 0x0d, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, + 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, + 0x2e, 0x0a, 0x12, 0x6c, 0x61, 0x73, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x6f, + 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x12, 0x6c, 0x61, 0x73, + 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x12, + 0x16, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, + 0x67, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, + 0x65, 0x22, 0x44, 0x0a, 0x0e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x49, 0x6d, + 0x61, 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, + 0x28, 0x09, 0x52, 0x05, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x69, 0x7a, + 0x65, 0x42, 0x79, 0x74, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x73, 0x69, + 0x7a, 0x65, 0x42, 0x79, 0x74, 0x65, 0x73, 0x22, 0x65, 0x0a, 0x05, 0x54, 0x61, 0x69, 0x6e, 0x74, + 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, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x66, 0x66, 0x65, + 0x63, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, + 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x41, 0x64, 0x64, 0x65, 0x64, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x41, 0x64, 0x64, 0x65, 0x64, 0x22, 0xc7, + 0x05, 0x0a, 0x0b, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x53, 0x70, 0x65, 0x63, 0x12, 0x38, + 0x0a, 0x05, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, + 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, + 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x6f, 0x72, + 0x74, 0x52, 0x05, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x12, 0x4d, 0x0a, 0x09, 0x73, 0x65, 0x6c, 0x65, + 0x63, 0x74, 0x6f, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x64, 0x61, + 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, + 0x65, 0x6e, 0x74, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, + 0x72, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x09, 0x73, 0x65, + 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, + 0x65, 0x72, 0x49, 0x50, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, + 0x74, 0x65, 0x72, 0x49, 0x50, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x65, 0x78, 0x74, + 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x49, 0x50, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, + 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x49, 0x50, 0x73, 0x12, 0x28, 0x0a, 0x0f, 0x73, + 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x41, 0x66, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x79, 0x18, 0x06, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x41, 0x66, 0x66, + 0x69, 0x6e, 0x69, 0x74, 0x79, 0x12, 0x26, 0x0a, 0x0e, 0x6c, 0x6f, 0x61, 0x64, 0x42, 0x61, 0x6c, + 0x61, 0x6e, 0x63, 0x65, 0x72, 0x49, 0x50, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6c, + 0x6f, 0x61, 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x49, 0x50, 0x12, 0x3a, 0x0a, + 0x18, 0x6c, 0x6f, 0x61, 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x53, 0x6f, 0x75, + 0x72, 0x63, 0x65, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x09, 0x52, + 0x18, 0x6c, 0x6f, 0x61, 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x53, 0x6f, 0x75, + 0x72, 0x63, 0x65, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x12, 0x22, 0x0a, 0x0c, 0x65, 0x78, 0x74, + 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0c, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x34, 0x0a, + 0x15, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, + 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x15, 0x65, 0x78, + 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x50, 0x6f, 0x6c, + 0x69, 0x63, 0x79, 0x12, 0x30, 0x0a, 0x13, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, + 0x63, 0x6b, 0x4e, 0x6f, 0x64, 0x65, 0x50, 0x6f, 0x72, 0x74, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x05, + 0x52, 0x13, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x4e, 0x6f, 0x64, + 0x65, 0x50, 0x6f, 0x72, 0x74, 0x12, 0x3a, 0x0a, 0x18, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, + 0x4e, 0x6f, 0x74, 0x52, 0x65, 0x61, 0x64, 0x79, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, + 0x73, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x08, 0x52, 0x18, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, + 0x4e, 0x6f, 0x74, 0x52, 0x65, 0x61, 0x64, 0x79, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, + 0x73, 0x12, 0x69, 0x0a, 0x15, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x41, 0x66, 0x66, 0x69, + 0x6e, 0x69, 0x74, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x33, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, + 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x41, 0x66, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x79, 0x43, + 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x15, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x41, 0x66, + 0x66, 0x69, 0x6e, 0x69, 0x74, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x1a, 0x0a, 0x08, + 0x69, 0x70, 0x46, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, + 0x69, 0x70, 0x46, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x22, 0x41, 0x0a, 0x0d, 0x53, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x30, 0x0a, 0x13, 0x6c, 0x6f, 0x61, + 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x49, 0x6e, 0x67, 0x72, 0x65, 0x73, 0x73, + 0x18, 0x11, 0x20, 0x03, 0x28, 0x09, 0x52, 0x13, 0x6c, 0x6f, 0x61, 0x64, 0x42, 0x61, 0x6c, 0x61, + 0x6e, 0x63, 0x65, 0x72, 0x49, 0x6e, 0x67, 0x72, 0x65, 0x73, 0x73, 0x22, 0xaa, 0x02, 0x0a, 0x07, + 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x3b, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, + 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x64, 0x61, 0x74, 0x61, + 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, + 0x74, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, + 0x64, 0x61, 0x74, 0x61, 0x12, 0x36, 0x0a, 0x04, 0x73, 0x70, 0x65, 0x63, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, + 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x53, 0x70, 0x65, 0x63, 0x52, 0x04, 0x73, 0x70, 0x65, 0x63, 0x12, 0x3c, 0x0a, 0x06, + 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x64, + 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, + 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, + 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x16, 0x0a, 0x04, 0x79, 0x61, + 0x6d, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x02, 0x18, 0x01, 0x52, 0x04, 0x79, 0x61, + 0x6d, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x61, 0x67, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, + 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x12, 0x40, 0x0a, 0x07, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, + 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, + 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, + 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x52, + 0x07, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x22, 0xcb, 0x01, 0x0a, 0x13, 0x44, 0x65, 0x70, + 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, + 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, + 0x74, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x26, 0x0a, 0x0e, + 0x6c, 0x61, 0x73, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x06, + 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x6c, 0x61, 0x73, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x54, 0x69, 0x6d, 0x65, 0x12, 0x2e, 0x0a, 0x12, 0x6c, 0x61, 0x73, 0x74, 0x54, 0x72, 0x61, 0x6e, + 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x12, 0x6c, 0x61, 0x73, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, + 0x54, 0x69, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, + 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, + 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0xe1, 0x06, 0x0a, 0x0a, 0x44, 0x65, 0x70, 0x6c, 0x6f, + 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x3b, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, + 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, + 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, + 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, + 0x74, 0x61, 0x12, 0x28, 0x0a, 0x0f, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x44, 0x65, + 0x73, 0x69, 0x72, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0f, 0x72, 0x65, 0x70, + 0x6c, 0x69, 0x63, 0x61, 0x73, 0x44, 0x65, 0x73, 0x69, 0x72, 0x65, 0x64, 0x12, 0x2e, 0x0a, 0x12, + 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, + 0x67, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, + 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x12, 0x26, 0x0a, 0x0e, + 0x6d, 0x61, 0x78, 0x55, 0x6e, 0x61, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6d, 0x61, 0x78, 0x55, 0x6e, 0x61, 0x76, 0x61, 0x69, 0x6c, + 0x61, 0x62, 0x6c, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x6d, 0x61, 0x78, 0x53, 0x75, 0x72, 0x67, 0x65, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x61, 0x78, 0x53, 0x75, 0x72, 0x67, 0x65, + 0x12, 0x16, 0x0a, 0x06, 0x70, 0x61, 0x75, 0x73, 0x65, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x06, 0x70, 0x61, 0x75, 0x73, 0x65, 0x64, 0x12, 0x4d, 0x0a, 0x09, 0x73, 0x65, 0x6c, 0x65, + 0x63, 0x74, 0x6f, 0x72, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x64, 0x61, + 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, + 0x65, 0x6e, 0x74, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, + 0x72, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x09, 0x73, 0x65, + 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x70, 0x6c, 0x69, + 0x63, 0x61, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x72, 0x65, 0x70, 0x6c, 0x69, + 0x63, 0x61, 0x73, 0x12, 0x28, 0x0a, 0x0f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, + 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0f, 0x75, 0x70, + 0x64, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x12, 0x24, 0x0a, + 0x0d, 0x72, 0x65, 0x61, 0x64, 0x79, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x18, 0x0a, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d, 0x72, 0x65, 0x61, 0x64, 0x79, 0x52, 0x65, 0x70, 0x6c, 0x69, + 0x63, 0x61, 0x73, 0x12, 0x2c, 0x0a, 0x11, 0x61, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, + 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x05, 0x52, 0x11, + 0x61, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, + 0x73, 0x12, 0x30, 0x0a, 0x13, 0x75, 0x6e, 0x61, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, + 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x05, 0x52, 0x13, + 0x75, 0x6e, 0x61, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x69, + 0x63, 0x61, 0x73, 0x12, 0x2a, 0x0a, 0x10, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, + 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x63, + 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, + 0x5f, 0x0a, 0x14, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x69, + 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x10, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, + 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, + 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, + 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x14, 0x72, 0x65, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, + 0x12, 0x16, 0x0a, 0x04, 0x79, 0x61, 0x6d, 0x6c, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x02, + 0x18, 0x01, 0x52, 0x04, 0x79, 0x61, 0x6d, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x61, 0x67, 0x73, + 0x18, 0x0f, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x12, 0x40, 0x0a, 0x07, + 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x18, 0x11, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, + 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, + 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4d, 0x65, + 0x74, 0x72, 0x69, 0x63, 0x73, 0x52, 0x07, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x12, 0x4a, + 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x12, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, + 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x44, 0x65, 0x70, 0x6c, 0x6f, + 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, + 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0xa3, 0x01, 0x0a, 0x13, 0x52, + 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x53, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, + 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x2e, + 0x0a, 0x12, 0x6c, 0x61, 0x73, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, + 0x54, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x12, 0x6c, 0x61, 0x73, 0x74, + 0x54, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x16, + 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, + 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, + 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, + 0x22, 0x81, 0x05, 0x0a, 0x0a, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x53, 0x65, 0x74, 0x12, + 0x3b, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1f, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, + 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, + 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x28, 0x0a, 0x0f, + 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x44, 0x65, 0x73, 0x69, 0x72, 0x65, 0x64, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0f, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x44, + 0x65, 0x73, 0x69, 0x72, 0x65, 0x64, 0x12, 0x4d, 0x0a, 0x09, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, + 0x6f, 0x72, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x64, 0x61, 0x74, 0x61, + 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, + 0x74, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, + 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x09, 0x73, 0x65, 0x6c, 0x65, + 0x63, 0x74, 0x6f, 0x72, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, + 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, + 0x73, 0x12, 0x32, 0x0a, 0x14, 0x66, 0x75, 0x6c, 0x6c, 0x79, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x65, + 0x64, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x14, 0x66, 0x75, 0x6c, 0x6c, 0x79, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x65, 0x64, 0x52, 0x65, 0x70, + 0x6c, 0x69, 0x63, 0x61, 0x73, 0x12, 0x24, 0x0a, 0x0d, 0x72, 0x65, 0x61, 0x64, 0x79, 0x52, 0x65, + 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d, 0x72, 0x65, + 0x61, 0x64, 0x79, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x12, 0x2c, 0x0a, 0x11, 0x61, + 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, + 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x11, 0x61, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, + 0x65, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x12, 0x5f, 0x0a, 0x14, 0x72, 0x65, 0x73, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, + 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, + 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, + 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, + 0x65, 0x6e, 0x74, 0x73, 0x52, 0x14, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, + 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x16, 0x0a, 0x04, 0x79, 0x61, + 0x6d, 0x6c, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x02, 0x18, 0x01, 0x52, 0x04, 0x79, 0x61, + 0x6d, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x61, 0x67, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x09, + 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x12, 0x40, 0x0a, 0x07, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, + 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, + 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, + 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x52, + 0x07, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x12, 0x4a, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x64, + 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x64, + 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, + 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x53, 0x65, 0x74, 0x43, + 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x60, 0x0a, 0x18, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x53, 0x65, 0x6c, + 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, + 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, + 0x65, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x16, + 0x0a, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x22, 0xf4, 0x01, 0x0a, 0x13, 0x50, 0x6f, 0x64, 0x44, 0x69, + 0x73, 0x72, 0x75, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x75, 0x64, 0x67, 0x65, 0x74, 0x12, 0x3b, + 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1f, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, + 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, + 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x42, 0x0a, 0x04, 0x73, + 0x70, 0x65, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x64, 0x61, 0x74, 0x61, + 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, + 0x74, 0x2e, 0x50, 0x6f, 0x64, 0x44, 0x69, 0x73, 0x72, 0x75, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x42, + 0x75, 0x64, 0x67, 0x65, 0x74, 0x53, 0x70, 0x65, 0x63, 0x52, 0x04, 0x73, 0x70, 0x65, 0x63, 0x12, + 0x48, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x30, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, + 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x50, 0x6f, 0x64, 0x44, 0x69, 0x73, 0x72, 0x75, + 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x75, 0x64, 0x67, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x61, 0x67, + 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x22, 0xba, 0x02, + 0x0a, 0x17, 0x50, 0x6f, 0x64, 0x44, 0x69, 0x73, 0x72, 0x75, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x42, + 0x75, 0x64, 0x67, 0x65, 0x74, 0x53, 0x70, 0x65, 0x63, 0x12, 0x46, 0x0a, 0x0c, 0x6d, 0x69, 0x6e, + 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x22, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, + 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x49, 0x6e, 0x74, 0x4f, 0x72, 0x53, 0x74, 0x72, + 0x69, 0x6e, 0x67, 0x52, 0x0c, 0x6d, 0x69, 0x6e, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, + 0x65, 0x12, 0x4b, 0x0a, 0x08, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x18, 0x02, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, + 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x4c, 0x61, 0x62, 0x65, + 0x6c, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, + 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x08, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x12, 0x4a, + 0x0a, 0x0e, 0x6d, 0x61, 0x78, 0x55, 0x6e, 0x61, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, + 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x49, + 0x6e, 0x74, 0x4f, 0x72, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x0e, 0x6d, 0x61, 0x78, 0x55, + 0x6e, 0x61, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x3e, 0x0a, 0x1a, 0x75, 0x6e, + 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x79, 0x50, 0x6f, 0x64, 0x45, 0x76, 0x69, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x1a, + 0x75, 0x6e, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x79, 0x50, 0x6f, 0x64, 0x45, 0x76, 0x69, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x22, 0xae, 0x03, 0x0a, 0x19, 0x50, + 0x6f, 0x64, 0x44, 0x69, 0x73, 0x72, 0x75, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x75, 0x64, 0x67, + 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x69, 0x0a, 0x0d, 0x64, 0x69, 0x73, 0x72, + 0x75, 0x70, 0x74, 0x65, 0x64, 0x50, 0x6f, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x43, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, + 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x50, 0x6f, 0x64, 0x44, 0x69, 0x73, 0x72, 0x75, + 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x75, 0x64, 0x67, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x2e, 0x44, 0x69, 0x73, 0x72, 0x75, 0x70, 0x74, 0x65, 0x64, 0x50, 0x6f, 0x64, 0x73, 0x45, + 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0d, 0x64, 0x69, 0x73, 0x72, 0x75, 0x70, 0x74, 0x65, 0x64, 0x50, + 0x6f, 0x64, 0x73, 0x12, 0x2e, 0x0a, 0x12, 0x64, 0x69, 0x73, 0x72, 0x75, 0x70, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x12, 0x64, 0x69, 0x73, 0x72, 0x75, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x41, 0x6c, 0x6c, 0x6f, + 0x77, 0x65, 0x64, 0x12, 0x26, 0x0a, 0x0e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x48, 0x65, + 0x61, 0x6c, 0x74, 0x68, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0e, 0x63, 0x75, 0x72, + 0x72, 0x65, 0x6e, 0x74, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x79, 0x12, 0x26, 0x0a, 0x0e, 0x64, + 0x65, 0x73, 0x69, 0x72, 0x65, 0x64, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x79, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x0e, 0x64, 0x65, 0x73, 0x69, 0x72, 0x65, 0x64, 0x48, 0x65, 0x61, 0x6c, + 0x74, 0x68, 0x79, 0x12, 0x22, 0x0a, 0x0c, 0x65, 0x78, 0x70, 0x65, 0x63, 0x74, 0x65, 0x64, 0x50, + 0x6f, 0x64, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x65, 0x78, 0x70, 0x65, 0x63, + 0x74, 0x65, 0x64, 0x50, 0x6f, 0x64, 0x73, 0x12, 0x40, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x64, 0x69, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x64, 0x61, + 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, + 0x65, 0x6e, 0x74, 0x2e, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x63, + 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x40, 0x0a, 0x12, 0x44, 0x69, 0x73, + 0x72, 0x75, 0x70, 0x74, 0x65, 0x64, 0x50, 0x6f, 0x64, 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, 0x03, + 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x97, 0x01, 0x0a, 0x0b, + 0x49, 0x6e, 0x74, 0x4f, 0x72, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x3b, 0x0a, 0x04, 0x74, + 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x64, 0x61, 0x74, 0x61, + 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, + 0x74, 0x2e, 0x49, 0x6e, 0x74, 0x4f, 0x72, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x54, 0x79, + 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x69, 0x6e, 0x74, 0x56, + 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x69, 0x6e, 0x74, 0x56, 0x61, 0x6c, + 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x72, 0x56, 0x61, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x06, 0x73, 0x74, 0x72, 0x56, 0x61, 0x6c, 0x22, 0x1b, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, + 0x12, 0x07, 0x0a, 0x03, 0x49, 0x6e, 0x74, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x74, 0x72, + 0x69, 0x6e, 0x67, 0x10, 0x01, 0x22, 0x99, 0x01, 0x0a, 0x09, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, + 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, + 0x2e, 0x0a, 0x12, 0x6c, 0x61, 0x73, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x6f, + 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x12, 0x6c, 0x61, 0x73, + 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x12, + 0x16, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, + 0x67, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, + 0x65, 0x22, 0x99, 0x07, 0x0a, 0x03, 0x50, 0x6f, 0x64, 0x12, 0x3b, 0x0a, 0x08, 0x6d, 0x65, 0x74, + 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x64, 0x61, + 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, + 0x65, 0x6e, 0x74, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, + 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x50, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x02, 0x49, 0x50, 0x12, 0x2c, 0x0a, 0x11, 0x6e, 0x6f, 0x6d, 0x69, 0x6e, 0x61, + 0x74, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x11, 0x6e, 0x6f, 0x6d, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, + 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x6f, 0x64, 0x65, 0x4e, 0x61, 0x6d, 0x65, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x6f, 0x64, 0x65, 0x4e, 0x61, 0x6d, 0x65, + 0x12, 0x14, 0x0a, 0x05, 0x70, 0x68, 0x61, 0x73, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x05, 0x70, 0x68, 0x61, 0x73, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x72, 0x65, 0x73, 0x74, 0x61, 0x72, + 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x72, 0x65, + 0x73, 0x74, 0x61, 0x72, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x54, 0x0a, 0x11, 0x63, 0x6f, + 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x65, 0x73, 0x18, + 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, + 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x43, 0x6f, + 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x11, 0x63, + 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x65, 0x73, + 0x12, 0x5c, 0x0a, 0x15, 0x69, 0x6e, 0x69, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, + 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x65, 0x73, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x26, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, + 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, + 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x15, 0x69, 0x6e, 0x69, 0x74, 0x43, 0x6f, 0x6e, + 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x65, 0x73, 0x12, 0x2a, + 0x0a, 0x10, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x73, 0x73, 0x61, + 0x67, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, + 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, + 0x61, 0x74, 0x75, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, + 0x75, 0x73, 0x12, 0x16, 0x0a, 0x04, 0x79, 0x61, 0x6d, 0x6c, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0c, + 0x42, 0x02, 0x18, 0x01, 0x52, 0x04, 0x79, 0x61, 0x6d, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x61, + 0x67, 0x73, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x12, 0x2f, + 0x0a, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x64, + 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, + 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x48, 0x6f, 0x73, 0x74, 0x52, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x12, + 0x5f, 0x0a, 0x14, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x69, + 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, + 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, + 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, + 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x14, 0x72, 0x65, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, + 0x12, 0x1a, 0x0a, 0x08, 0x51, 0x4f, 0x53, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x18, 0x0f, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x08, 0x51, 0x4f, 0x53, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x12, 0x24, 0x0a, 0x0d, + 0x70, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x18, 0x10, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0d, 0x70, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x43, 0x6c, 0x61, + 0x73, 0x73, 0x12, 0x40, 0x0a, 0x07, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x18, 0x11, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, + 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x52, 0x65, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x52, 0x07, 0x6d, 0x65, 0x74, + 0x72, 0x69, 0x63, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, + 0x65, 0x18, 0x12, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, + 0x6d, 0x65, 0x12, 0x24, 0x0a, 0x0d, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x64, 0x54, + 0x69, 0x6d, 0x65, 0x18, 0x13, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x73, 0x63, 0x68, 0x65, 0x64, + 0x75, 0x6c, 0x65, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x43, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x64, + 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x14, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x64, + 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, + 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x50, 0x6f, 0x64, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, + 0x6e, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0xc2, 0x01, + 0x0a, 0x0c, 0x50, 0x6f, 0x64, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, + 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, + 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x24, 0x0a, 0x0d, 0x6c, 0x61, + 0x73, 0x74, 0x50, 0x72, 0x6f, 0x62, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x0d, 0x6c, 0x61, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x62, 0x65, 0x54, 0x69, 0x6d, 0x65, + 0x12, 0x2e, 0x0a, 0x12, 0x6c, 0x61, 0x73, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x69, + 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x12, 0x6c, 0x61, + 0x73, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, + 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, + 0x61, 0x67, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, + 0x67, 0x65, 0x22, 0xe1, 0x01, 0x0a, 0x0f, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, + 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x6f, + 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x49, 0x44, 0x12, 0x14, 0x0a, 0x05, + 0x72, 0x65, 0x61, 0x64, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x72, 0x65, 0x61, + 0x64, 0x79, 0x12, 0x22, 0x0a, 0x0c, 0x72, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x43, 0x6f, 0x75, + 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x74, 0x61, 0x72, + 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, + 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x18, 0x0a, 0x07, + 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, + 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x18, + 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x18, 0x0a, 0x07, + 0x69, 0x6d, 0x61, 0x67, 0x65, 0x49, 0x44, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x69, + 0x6d, 0x61, 0x67, 0x65, 0x49, 0x44, 0x22, 0xb0, 0x01, 0x0a, 0x08, 0x4d, 0x61, 0x6e, 0x69, 0x66, + 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x28, 0x0a, 0x0f, 0x72, 0x65, 0x73, 0x6f, 0x75, + 0x72, 0x63, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, + 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, + 0x75, 0x69, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x20, 0x0a, + 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, + 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0xa2, 0x01, 0x0a, 0x12, 0x4e, 0x61, + 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, + 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, + 0x74, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x2e, 0x0a, 0x12, + 0x6c, 0x61, 0x73, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, + 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x12, 0x6c, 0x61, 0x73, 0x74, 0x54, 0x72, + 0x61, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, + 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, + 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, + 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x83, + 0x02, 0x0a, 0x09, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x3b, 0x0a, 0x08, + 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, + 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, + 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, + 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, + 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x12, 0x2a, 0x0a, 0x10, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, + 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x63, 0x6f, 0x6e, + 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x16, 0x0a, + 0x04, 0x79, 0x61, 0x6d, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x02, 0x18, 0x01, 0x52, + 0x04, 0x79, 0x61, 0x6d, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x61, 0x67, 0x73, 0x18, 0x05, 0x20, + 0x03, 0x28, 0x09, 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x12, 0x49, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, + 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, + 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, + 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x43, + 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x8f, 0x03, 0x0a, 0x14, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x4f, 0x0a, + 0x06, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x37, 0x2e, + 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, + 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, + 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x4c, 0x69, 0x6d, 0x69, 0x74, + 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x12, 0x55, + 0x0a, 0x08, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x39, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, + 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x72, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x43, 0x0a, 0x04, 0x74, 0x79, 0x70, + 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2f, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, + 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, + 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, + 0x65, 0x6e, 0x74, 0x73, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x1a, 0x39, + 0x0a, 0x0b, 0x4c, 0x69, 0x6d, 0x69, 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, + 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x3b, 0x0a, 0x0d, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 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, 0x14, 0x0a, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xb0, 0x01, 0x0a, 0x0f, 0x52, 0x65, 0x73, 0x6f, 0x75, + 0x72, 0x63, 0x65, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x12, 0x5c, 0x0a, 0x0c, 0x6d, 0x65, + 0x74, 0x72, 0x69, 0x63, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x38, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, + 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x56, + 0x61, 0x6c, 0x75, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0c, 0x6d, 0x65, 0x74, 0x72, + 0x69, 0x63, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x1a, 0x3f, 0x0a, 0x11, 0x4d, 0x65, 0x74, 0x72, + 0x69, 0x63, 0x56, 0x61, 0x6c, 0x75, 0x65, 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, 0x01, 0x52, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xff, 0x02, 0x0a, 0x07, 0x4a, 0x6f, + 0x62, 0x53, 0x70, 0x65, 0x63, 0x12, 0x20, 0x0a, 0x0b, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x6c, 0x65, + 0x6c, 0x69, 0x73, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x70, 0x61, 0x72, 0x61, + 0x6c, 0x6c, 0x65, 0x6c, 0x69, 0x73, 0x6d, 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x6f, 0x6d, 0x70, 0x6c, + 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x63, 0x6f, + 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x34, 0x0a, 0x15, 0x61, 0x63, 0x74, + 0x69, 0x76, 0x65, 0x44, 0x65, 0x61, 0x64, 0x6c, 0x69, 0x6e, 0x65, 0x53, 0x65, 0x63, 0x6f, 0x6e, + 0x64, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x15, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, + 0x44, 0x65, 0x61, 0x64, 0x6c, 0x69, 0x6e, 0x65, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x12, + 0x22, 0x0a, 0x0c, 0x62, 0x61, 0x63, 0x6b, 0x6f, 0x66, 0x66, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x62, 0x61, 0x63, 0x6b, 0x6f, 0x66, 0x66, 0x4c, 0x69, + 0x6d, 0x69, 0x74, 0x12, 0x4d, 0x0a, 0x09, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x73, + 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, + 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x4c, + 0x61, 0x62, 0x65, 0x6c, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, + 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x09, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, + 0x72, 0x73, 0x12, 0x26, 0x0a, 0x0e, 0x6d, 0x61, 0x6e, 0x75, 0x61, 0x6c, 0x53, 0x65, 0x6c, 0x65, + 0x63, 0x74, 0x6f, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x6d, 0x61, 0x6e, 0x75, + 0x61, 0x6c, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x12, 0x5f, 0x0a, 0x14, 0x72, 0x65, + 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, + 0x74, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, + 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, + 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, + 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x14, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, + 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x22, 0xcb, 0x01, 0x0a, 0x09, + 0x4a, 0x6f, 0x62, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x2a, 0x0a, 0x10, 0x63, 0x6f, 0x6e, + 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x10, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, + 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, + 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, + 0x69, 0x6d, 0x65, 0x12, 0x26, 0x0a, 0x0e, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, + 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x63, 0x6f, 0x6d, + 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x61, + 0x63, 0x74, 0x69, 0x76, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x61, 0x63, 0x74, + 0x69, 0x76, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x75, 0x63, 0x63, 0x65, 0x65, 0x64, 0x65, 0x64, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x73, 0x75, 0x63, 0x63, 0x65, 0x65, 0x64, 0x65, + 0x64, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x06, 0x66, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x22, 0xc2, 0x01, 0x0a, 0x0c, 0x4a, 0x6f, + 0x62, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, + 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x16, + 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, + 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x24, 0x0a, 0x0d, 0x6c, 0x61, 0x73, 0x74, 0x50, 0x72, + 0x6f, 0x62, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x6c, + 0x61, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x62, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x2e, 0x0a, 0x12, + 0x6c, 0x61, 0x73, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, + 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x12, 0x6c, 0x61, 0x73, 0x74, 0x54, 0x72, + 0x61, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, + 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, + 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, + 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0xa1, + 0x02, 0x0a, 0x03, 0x4a, 0x6f, 0x62, 0x12, 0x3b, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, + 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, + 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, + 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, + 0x61, 0x74, 0x61, 0x12, 0x32, 0x0a, 0x04, 0x73, 0x70, 0x65, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1e, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, + 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x4a, 0x6f, 0x62, 0x53, 0x70, 0x65, + 0x63, 0x52, 0x04, 0x73, 0x70, 0x65, 0x63, 0x12, 0x38, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, + 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, + 0x4a, 0x6f, 0x62, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x12, 0x16, 0x0a, 0x04, 0x79, 0x61, 0x6d, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x42, + 0x02, 0x18, 0x01, 0x52, 0x04, 0x79, 0x61, 0x6d, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x61, 0x67, + 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x12, 0x43, 0x0a, + 0x0a, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x23, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, + 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x4a, 0x6f, 0x62, 0x43, 0x6f, 0x6e, + 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x22, 0x84, 0x03, 0x0a, 0x0b, 0x43, 0x72, 0x6f, 0x6e, 0x4a, 0x6f, 0x62, 0x53, 0x70, + 0x65, 0x63, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x12, 0x38, + 0x0a, 0x17, 0x73, 0x74, 0x61, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x44, 0x65, 0x61, 0x64, 0x6c, 0x69, + 0x6e, 0x65, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x17, 0x73, 0x74, 0x61, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x44, 0x65, 0x61, 0x64, 0x6c, 0x69, 0x6e, + 0x65, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x12, 0x2c, 0x0a, 0x11, 0x63, 0x6f, 0x6e, 0x63, + 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x11, 0x63, 0x6f, 0x6e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, + 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x73, 0x70, 0x65, 0x6e, + 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x73, 0x75, 0x73, 0x70, 0x65, 0x6e, 0x64, + 0x12, 0x3e, 0x0a, 0x1a, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x66, 0x75, 0x6c, 0x4a, 0x6f, + 0x62, 0x73, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x1a, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x66, 0x75, 0x6c, + 0x4a, 0x6f, 0x62, 0x73, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x4c, 0x69, 0x6d, 0x69, 0x74, + 0x12, 0x36, 0x0a, 0x16, 0x66, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x4a, 0x6f, 0x62, 0x73, 0x48, 0x69, + 0x73, 0x74, 0x6f, 0x72, 0x79, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, + 0x52, 0x16, 0x66, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x4a, 0x6f, 0x62, 0x73, 0x48, 0x69, 0x73, 0x74, + 0x6f, 0x72, 0x79, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x5f, 0x0a, 0x14, 0x72, 0x65, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, + 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, + 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x52, + 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, + 0x6e, 0x74, 0x73, 0x52, 0x14, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x71, + 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x22, 0xab, 0x01, 0x0a, 0x0d, 0x43, 0x72, + 0x6f, 0x6e, 0x4a, 0x6f, 0x62, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x3e, 0x0a, 0x06, 0x61, + 0x63, 0x74, 0x69, 0x76, 0x65, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x64, 0x61, + 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, + 0x65, 0x6e, 0x74, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, + 0x6e, 0x63, 0x65, 0x52, 0x06, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x12, 0x2a, 0x0a, 0x10, 0x6c, + 0x61, 0x73, 0x74, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x10, 0x6c, 0x61, 0x73, 0x74, 0x53, 0x63, 0x68, 0x65, 0x64, + 0x75, 0x6c, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x2e, 0x0a, 0x12, 0x6c, 0x61, 0x73, 0x74, 0x53, + 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x66, 0x75, 0x6c, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x12, 0x6c, 0x61, 0x73, 0x74, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, + 0x66, 0x75, 0x6c, 0x54, 0x69, 0x6d, 0x65, 0x22, 0xe8, 0x01, 0x0a, 0x07, 0x43, 0x72, 0x6f, 0x6e, + 0x4a, 0x6f, 0x62, 0x12, 0x3b, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, + 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x4d, 0x65, + 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, + 0x12, 0x36, 0x0a, 0x04, 0x73, 0x70, 0x65, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, + 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, + 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x43, 0x72, 0x6f, 0x6e, 0x4a, 0x6f, 0x62, 0x53, 0x70, + 0x65, 0x63, 0x52, 0x04, 0x73, 0x70, 0x65, 0x63, 0x12, 0x3c, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, + 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, + 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, + 0x2e, 0x43, 0x72, 0x6f, 0x6e, 0x4a, 0x6f, 0x62, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, + 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x16, 0x0a, 0x04, 0x79, 0x61, 0x6d, 0x6c, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x0c, 0x42, 0x02, 0x18, 0x01, 0x52, 0x04, 0x79, 0x61, 0x6d, 0x6c, 0x12, 0x12, + 0x0a, 0x04, 0x74, 0x61, 0x67, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x74, 0x61, + 0x67, 0x73, 0x22, 0xf5, 0x02, 0x0a, 0x0d, 0x44, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x53, 0x65, 0x74, + 0x53, 0x70, 0x65, 0x63, 0x12, 0x4d, 0x0a, 0x09, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, + 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, + 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, + 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, + 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x09, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, + 0x6f, 0x72, 0x73, 0x12, 0x2e, 0x0a, 0x12, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, + 0x74, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x12, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x72, 0x61, 0x74, + 0x65, 0x67, 0x79, 0x12, 0x26, 0x0a, 0x0e, 0x6d, 0x61, 0x78, 0x55, 0x6e, 0x61, 0x76, 0x61, 0x69, + 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6d, 0x61, 0x78, + 0x55, 0x6e, 0x61, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x28, 0x0a, 0x0f, 0x6d, + 0x69, 0x6e, 0x52, 0x65, 0x61, 0x64, 0x79, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x0f, 0x6d, 0x69, 0x6e, 0x52, 0x65, 0x61, 0x64, 0x79, 0x53, 0x65, + 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x12, 0x32, 0x0a, 0x14, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, + 0x6e, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x05, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x14, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x48, 0x69, 0x73, + 0x74, 0x6f, 0x72, 0x79, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x5f, 0x0a, 0x14, 0x72, 0x65, 0x73, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, + 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, + 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, + 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, + 0x65, 0x6e, 0x74, 0x73, 0x52, 0x14, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, + 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x22, 0xe3, 0x02, 0x0a, 0x0f, 0x44, + 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x53, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x36, + 0x0a, 0x16, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x53, + 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x16, + 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x53, 0x63, 0x68, + 0x65, 0x64, 0x75, 0x6c, 0x65, 0x64, 0x12, 0x2e, 0x0a, 0x12, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, + 0x4d, 0x69, 0x73, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x05, 0x52, 0x12, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x4d, 0x69, 0x73, 0x73, 0x63, 0x68, + 0x65, 0x64, 0x75, 0x6c, 0x65, 0x64, 0x12, 0x36, 0x0a, 0x16, 0x64, 0x65, 0x73, 0x69, 0x72, 0x65, + 0x64, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x64, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x16, 0x64, 0x65, 0x73, 0x69, 0x72, 0x65, 0x64, 0x4e, + 0x75, 0x6d, 0x62, 0x65, 0x72, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x64, 0x12, 0x20, + 0x0a, 0x0b, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x61, 0x64, 0x79, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x0b, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x61, 0x64, 0x79, + 0x12, 0x36, 0x0a, 0x16, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x4e, 0x75, 0x6d, 0x62, 0x65, + 0x72, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, + 0x52, 0x16, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x53, + 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x64, 0x12, 0x28, 0x0a, 0x0f, 0x6e, 0x75, 0x6d, 0x62, + 0x65, 0x72, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x0f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, + 0x6c, 0x65, 0x12, 0x2c, 0x0a, 0x11, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x55, 0x6e, 0x61, 0x76, + 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x11, 0x6e, + 0x75, 0x6d, 0x62, 0x65, 0x72, 0x55, 0x6e, 0x61, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, + 0x22, 0xa2, 0x01, 0x0a, 0x12, 0x44, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x53, 0x65, 0x74, 0x43, 0x6f, + 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x74, 0x61, + 0x74, 0x75, 0x73, 0x12, 0x2e, 0x0a, 0x12, 0x6c, 0x61, 0x73, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, + 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x12, 0x6c, 0x61, 0x73, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x54, + 0x69, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x6d, + 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, + 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0xfb, 0x02, 0x0a, 0x09, 0x44, 0x61, 0x65, 0x6d, 0x6f, 0x6e, + 0x53, 0x65, 0x74, 0x12, 0x3b, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, + 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x4d, 0x65, + 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, + 0x12, 0x38, 0x0a, 0x04, 0x73, 0x70, 0x65, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, + 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, + 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x44, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x53, 0x65, 0x74, + 0x53, 0x70, 0x65, 0x63, 0x52, 0x04, 0x73, 0x70, 0x65, 0x63, 0x12, 0x3e, 0x0a, 0x06, 0x73, 0x74, + 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x64, 0x61, 0x74, + 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, + 0x6e, 0x74, 0x2e, 0x44, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x53, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, + 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x16, 0x0a, 0x04, 0x79, 0x61, + 0x6d, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x02, 0x18, 0x01, 0x52, 0x04, 0x79, 0x61, + 0x6d, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x61, 0x67, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, + 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x12, 0x40, 0x0a, 0x07, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, + 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, + 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, + 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x52, + 0x07, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x12, 0x49, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x64, + 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x64, + 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, + 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x44, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x53, 0x65, 0x74, 0x43, 0x6f, + 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x22, 0x85, 0x03, 0x0a, 0x0f, 0x53, 0x74, 0x61, 0x74, 0x65, 0x66, 0x75, 0x6c, + 0x53, 0x65, 0x74, 0x53, 0x70, 0x65, 0x63, 0x12, 0x28, 0x0a, 0x0f, 0x64, 0x65, 0x73, 0x69, 0x72, + 0x65, 0x64, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, + 0x52, 0x0f, 0x64, 0x65, 0x73, 0x69, 0x72, 0x65, 0x64, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, + 0x73, 0x12, 0x4d, 0x0a, 0x09, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x73, 0x18, 0x02, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, + 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x4c, 0x61, 0x62, + 0x65, 0x6c, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, + 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x09, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x73, + 0x12, 0x20, 0x0a, 0x0b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4e, 0x61, + 0x6d, 0x65, 0x12, 0x30, 0x0a, 0x13, 0x70, 0x6f, 0x64, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x6d, + 0x65, 0x6e, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x13, 0x70, 0x6f, 0x64, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x50, 0x6f, + 0x6c, 0x69, 0x63, 0x79, 0x12, 0x26, 0x0a, 0x0e, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x74, + 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x75, 0x70, + 0x64, 0x61, 0x74, 0x65, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x12, 0x1c, 0x0a, 0x09, + 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x09, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x5f, 0x0a, 0x14, 0x72, 0x65, + 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, + 0x74, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, + 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, + 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, + 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x14, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, + 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x22, 0xa9, 0x01, 0x0a, 0x11, + 0x53, 0x74, 0x61, 0x74, 0x65, 0x66, 0x75, 0x6c, 0x53, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x08, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x12, 0x24, 0x0a, + 0x0d, 0x72, 0x65, 0x61, 0x64, 0x79, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d, 0x72, 0x65, 0x61, 0x64, 0x79, 0x52, 0x65, 0x70, 0x6c, 0x69, + 0x63, 0x61, 0x73, 0x12, 0x28, 0x0a, 0x0f, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x52, 0x65, + 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0f, 0x63, 0x75, + 0x72, 0x72, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x12, 0x28, 0x0a, + 0x0f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x52, + 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x22, 0xa4, 0x01, 0x0a, 0x14, 0x53, 0x74, 0x61, 0x74, + 0x65, 0x66, 0x75, 0x6c, 0x53, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, + 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, + 0x74, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x2e, 0x0a, 0x12, + 0x6c, 0x61, 0x73, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, + 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x12, 0x6c, 0x61, 0x73, 0x74, 0x54, 0x72, + 0x61, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, + 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, + 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, + 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x83, + 0x03, 0x0a, 0x0b, 0x53, 0x74, 0x61, 0x74, 0x65, 0x66, 0x75, 0x6c, 0x53, 0x65, 0x74, 0x12, 0x3b, + 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1f, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, + 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, + 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x3a, 0x0a, 0x04, 0x73, + 0x70, 0x65, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x64, 0x61, 0x74, 0x61, + 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, + 0x74, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x66, 0x75, 0x6c, 0x53, 0x65, 0x74, 0x53, 0x70, 0x65, + 0x63, 0x52, 0x04, 0x73, 0x70, 0x65, 0x63, 0x12, 0x40, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, + 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, + 0x53, 0x74, 0x61, 0x74, 0x65, 0x66, 0x75, 0x6c, 0x53, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x16, 0x0a, 0x04, 0x79, 0x61, 0x6d, + 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x02, 0x18, 0x01, 0x52, 0x04, 0x79, 0x61, 0x6d, + 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x61, 0x67, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, + 0x04, 0x74, 0x61, 0x67, 0x73, 0x12, 0x40, 0x0a, 0x07, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, + 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, + 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x52, + 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x52, 0x07, + 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x12, 0x4b, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x64, 0x69, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x64, 0x61, + 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, + 0x65, 0x6e, 0x74, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x66, 0x75, 0x6c, 0x53, 0x65, 0x74, 0x43, + 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x83, 0x02, 0x0a, 0x10, 0x50, 0x65, 0x72, 0x73, 0x69, 0x73, 0x74, + 0x65, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x12, 0x3b, 0x0a, 0x08, 0x6d, 0x65, 0x74, + 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x64, 0x61, + 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, + 0x65, 0x6e, 0x74, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, + 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x3f, 0x0a, 0x04, 0x73, 0x70, 0x65, 0x63, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, + 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x50, 0x65, 0x72, + 0x73, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x70, 0x65, + 0x63, 0x52, 0x04, 0x73, 0x70, 0x65, 0x63, 0x12, 0x45, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, + 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, + 0x50, 0x65, 0x72, 0x73, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, + 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x16, + 0x0a, 0x04, 0x79, 0x61, 0x6d, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x02, 0x18, 0x01, + 0x52, 0x04, 0x79, 0x61, 0x6d, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x61, 0x67, 0x73, 0x18, 0x05, + 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x22, 0xae, 0x05, 0x0a, 0x14, 0x50, + 0x65, 0x72, 0x73, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, + 0x70, 0x65, 0x63, 0x12, 0x55, 0x0a, 0x08, 0x63, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x18, + 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, + 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x50, 0x65, + 0x72, 0x73, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x70, + 0x65, 0x63, 0x2e, 0x43, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x45, 0x6e, 0x74, 0x72, 0x79, + 0x52, 0x08, 0x63, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x12, 0x32, 0x0a, 0x14, 0x70, 0x65, + 0x72, 0x73, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x54, 0x79, + 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x14, 0x70, 0x65, 0x72, 0x73, 0x69, 0x73, + 0x74, 0x65, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x20, + 0x0a, 0x0b, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x4d, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x03, 0x20, + 0x03, 0x28, 0x09, 0x52, 0x0b, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x4d, 0x6f, 0x64, 0x65, 0x73, + 0x12, 0x42, 0x0a, 0x08, 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x52, 0x65, 0x66, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, + 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, + 0x74, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x08, 0x63, 0x6c, 0x61, 0x69, + 0x6d, 0x52, 0x65, 0x66, 0x12, 0x44, 0x0a, 0x1d, 0x70, 0x65, 0x72, 0x73, 0x69, 0x73, 0x74, 0x65, + 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x50, + 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x1d, 0x70, 0x65, 0x72, + 0x73, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x63, + 0x6c, 0x61, 0x69, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x2a, 0x0a, 0x10, 0x73, 0x74, + 0x6f, 0x72, 0x61, 0x67, 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x06, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x43, 0x6c, 0x61, + 0x73, 0x73, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x4f, + 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x6d, 0x6f, + 0x75, 0x6e, 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x76, 0x6f, + 0x6c, 0x75, 0x6d, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, + 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x4b, 0x0a, 0x0c, 0x6e, 0x6f, + 0x64, 0x65, 0x41, 0x66, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x79, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x27, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, + 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x53, 0x65, 0x6c, + 0x65, 0x63, 0x74, 0x6f, 0x72, 0x54, 0x65, 0x72, 0x6d, 0x52, 0x0c, 0x6e, 0x6f, 0x64, 0x65, 0x41, + 0x66, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x79, 0x12, 0x65, 0x0a, 0x16, 0x70, 0x65, 0x72, 0x73, 0x69, + 0x73, 0x74, 0x65, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, + 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, + 0x50, 0x65, 0x72, 0x73, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, + 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x16, 0x70, 0x65, 0x72, 0x73, 0x69, 0x73, 0x74, 0x65, + 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x1a, 0x3b, + 0x0a, 0x0d, 0x43, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 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, 0x03, + 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xc5, 0x03, 0x0a, 0x16, + 0x50, 0x65, 0x72, 0x73, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, + 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x62, 0x0a, 0x11, 0x67, 0x63, 0x65, 0x50, 0x65, 0x72, + 0x73, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x34, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, + 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x47, 0x43, 0x45, 0x50, 0x65, 0x72, + 0x73, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x56, 0x6f, 0x6c, 0x75, 0x6d, + 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x11, 0x67, 0x63, 0x65, 0x50, 0x65, 0x72, 0x73, + 0x69, 0x73, 0x74, 0x65, 0x6e, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x12, 0x6b, 0x0a, 0x14, 0x61, 0x77, + 0x73, 0x45, 0x6c, 0x61, 0x73, 0x74, 0x69, 0x63, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x53, 0x74, 0x6f, + 0x72, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, + 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, + 0x2e, 0x41, 0x57, 0x53, 0x45, 0x6c, 0x61, 0x73, 0x74, 0x69, 0x63, 0x42, 0x6c, 0x6f, 0x63, 0x6b, + 0x53, 0x74, 0x6f, 0x72, 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x52, 0x14, 0x61, 0x77, 0x73, 0x45, 0x6c, 0x61, 0x73, 0x74, 0x69, 0x63, 0x42, 0x6c, 0x6f, + 0x63, 0x6b, 0x53, 0x74, 0x6f, 0x72, 0x65, 0x12, 0x54, 0x0a, 0x09, 0x61, 0x7a, 0x75, 0x72, 0x65, + 0x46, 0x69, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x64, 0x61, 0x74, + 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, + 0x6e, 0x74, 0x2e, 0x41, 0x7a, 0x75, 0x72, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x50, 0x65, 0x72, 0x73, + 0x69, 0x73, 0x74, 0x65, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x52, 0x09, 0x61, 0x7a, 0x75, 0x72, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x4a, 0x0a, + 0x09, 0x61, 0x7a, 0x75, 0x72, 0x65, 0x44, 0x69, 0x73, 0x6b, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x2c, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, + 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x41, 0x7a, 0x75, 0x72, 0x65, 0x44, 0x69, + 0x73, 0x6b, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x09, + 0x61, 0x7a, 0x75, 0x72, 0x65, 0x44, 0x69, 0x73, 0x6b, 0x12, 0x38, 0x0a, 0x03, 0x63, 0x73, 0x69, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, + 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x43, + 0x53, 0x49, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x03, + 0x63, 0x73, 0x69, 0x22, 0x89, 0x01, 0x0a, 0x1d, 0x47, 0x43, 0x45, 0x50, 0x65, 0x72, 0x73, 0x69, + 0x73, 0x74, 0x65, 0x6e, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, + 0x06, 0x66, 0x73, 0x54, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, + 0x73, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, + 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, + 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x61, 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x72, 0x65, 0x61, 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x22, + 0x90, 0x01, 0x0a, 0x20, 0x41, 0x57, 0x53, 0x45, 0x6c, 0x61, 0x73, 0x74, 0x69, 0x63, 0x42, 0x6c, + 0x6f, 0x63, 0x6b, 0x53, 0x74, 0x6f, 0x72, 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x44, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x44, + 0x12, 0x16, 0x0a, 0x06, 0x66, 0x73, 0x54, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x06, 0x66, 0x73, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x61, 0x72, 0x74, + 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x70, 0x61, 0x72, + 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x61, 0x64, 0x4f, 0x6e, + 0x6c, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x72, 0x65, 0x61, 0x64, 0x4f, 0x6e, + 0x6c, 0x79, 0x22, 0xa5, 0x01, 0x0a, 0x1f, 0x41, 0x7a, 0x75, 0x72, 0x65, 0x46, 0x69, 0x6c, 0x65, + 0x50, 0x65, 0x72, 0x73, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, + 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, + 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x65, 0x63, 0x72, + 0x65, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x68, 0x61, 0x72, 0x65, 0x4e, + 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x68, 0x61, 0x72, 0x65, + 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x61, 0x64, 0x4f, 0x6e, 0x6c, 0x79, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x72, 0x65, 0x61, 0x64, 0x4f, 0x6e, 0x6c, 0x79, + 0x12, 0x28, 0x0a, 0x0f, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x73, 0x65, 0x63, 0x72, 0x65, + 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x22, 0xb7, 0x01, 0x0a, 0x15, 0x41, + 0x7a, 0x75, 0x72, 0x65, 0x44, 0x69, 0x73, 0x6b, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x69, 0x73, 0x6b, 0x4e, 0x61, 0x6d, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x64, 0x69, 0x73, 0x6b, 0x4e, 0x61, 0x6d, 0x65, + 0x12, 0x18, 0x0a, 0x07, 0x64, 0x69, 0x73, 0x6b, 0x55, 0x52, 0x49, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x07, 0x64, 0x69, 0x73, 0x6b, 0x55, 0x52, 0x49, 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x61, + 0x63, 0x68, 0x69, 0x6e, 0x67, 0x4d, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0b, 0x63, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x67, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x16, 0x0a, 0x06, + 0x66, 0x73, 0x54, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x73, + 0x54, 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x61, 0x64, 0x4f, 0x6e, 0x6c, 0x79, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x72, 0x65, 0x61, 0x64, 0x4f, 0x6e, 0x6c, 0x79, + 0x12, 0x12, 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, + 0x6b, 0x69, 0x6e, 0x64, 0x22, 0x8c, 0x06, 0x0a, 0x0f, 0x43, 0x53, 0x49, 0x56, 0x6f, 0x6c, 0x75, + 0x6d, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x72, 0x69, 0x76, + 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x72, 0x69, 0x76, 0x65, 0x72, + 0x12, 0x22, 0x0a, 0x0c, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x48, 0x61, + 0x6e, 0x64, 0x6c, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x61, 0x64, 0x4f, 0x6e, 0x6c, 0x79, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x72, 0x65, 0x61, 0x64, 0x4f, 0x6e, 0x6c, 0x79, + 0x12, 0x16, 0x0a, 0x06, 0x66, 0x73, 0x54, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x06, 0x66, 0x73, 0x54, 0x79, 0x70, 0x65, 0x12, 0x68, 0x0a, 0x10, 0x76, 0x6f, 0x6c, 0x75, + 0x6d, 0x65, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x3c, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, + 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x43, 0x53, 0x49, 0x56, 0x6f, + 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, + 0x65, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, + 0x52, 0x10, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, + 0x65, 0x73, 0x12, 0x66, 0x0a, 0x1a, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, + 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x66, + 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, + 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x53, + 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x1a, + 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, + 0x68, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x66, 0x12, 0x56, 0x0a, 0x12, 0x6e, 0x6f, + 0x64, 0x65, 0x53, 0x74, 0x61, 0x67, 0x65, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x66, + 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, + 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x53, + 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x12, + 0x6e, 0x6f, 0x64, 0x65, 0x53, 0x74, 0x61, 0x67, 0x65, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, + 0x65, 0x66, 0x12, 0x5a, 0x0a, 0x14, 0x6e, 0x6f, 0x64, 0x65, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, + 0x68, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x66, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x26, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, + 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, + 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x14, 0x6e, 0x6f, 0x64, 0x65, 0x50, 0x75, + 0x62, 0x6c, 0x69, 0x73, 0x68, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x66, 0x12, 0x64, + 0x0a, 0x19, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x45, 0x78, 0x70, 0x61, + 0x6e, 0x64, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x66, 0x18, 0x09, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x26, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, + 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, + 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x19, 0x63, 0x6f, 0x6e, 0x74, 0x72, + 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x45, 0x78, 0x70, 0x61, 0x6e, 0x64, 0x53, 0x65, 0x63, 0x72, 0x65, + 0x74, 0x52, 0x65, 0x66, 0x12, 0x58, 0x0a, 0x13, 0x6e, 0x6f, 0x64, 0x65, 0x45, 0x78, 0x70, 0x61, + 0x6e, 0x64, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x66, 0x18, 0x0a, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x26, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, + 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, + 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x13, 0x6e, 0x6f, 0x64, 0x65, 0x45, + 0x78, 0x70, 0x61, 0x6e, 0x64, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x66, 0x1a, 0x43, + 0x0a, 0x15, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, + 0x65, 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, 0x43, 0x0a, 0x0f, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x66, + 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, + 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, + 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x22, 0x60, 0x0a, 0x16, 0x50, 0x65, 0x72, 0x73, + 0x69, 0x73, 0x74, 0x65, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x74, + 0x75, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x68, 0x61, 0x73, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x05, 0x70, 0x68, 0x61, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, + 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, + 0x67, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x22, 0xc2, 0x01, 0x0a, 0x10, 0x4e, + 0x6f, 0x64, 0x65, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x54, 0x65, 0x72, 0x6d, 0x12, + 0x5b, 0x0a, 0x10, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x45, 0x78, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, + 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x64, 0x61, 0x74, 0x61, + 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, + 0x74, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, + 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x10, 0x6d, 0x61, 0x74, 0x63, + 0x68, 0x45, 0x78, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x51, 0x0a, 0x0b, + 0x6d, 0x61, 0x74, 0x63, 0x68, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x2f, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, + 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x53, + 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, + 0x6e, 0x74, 0x52, 0x0b, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x22, + 0x92, 0x02, 0x0a, 0x15, 0x50, 0x65, 0x72, 0x73, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x74, 0x56, 0x6f, + 0x6c, 0x75, 0x6d, 0x65, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x12, 0x3b, 0x0a, 0x08, 0x6d, 0x65, 0x74, + 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x64, 0x61, + 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, + 0x65, 0x6e, 0x74, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, + 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x44, 0x0a, 0x04, 0x73, 0x70, 0x65, 0x63, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, + 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x50, 0x65, 0x72, + 0x73, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x43, 0x6c, 0x61, + 0x69, 0x6d, 0x53, 0x70, 0x65, 0x63, 0x52, 0x04, 0x73, 0x70, 0x65, 0x63, 0x12, 0x4a, 0x0a, 0x06, + 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x64, + 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, + 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x50, 0x65, 0x72, 0x73, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x74, 0x56, + 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x16, 0x0a, 0x04, 0x79, 0x61, 0x6d, 0x6c, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x02, 0x18, 0x01, 0x52, 0x04, 0x79, 0x61, 0x6d, 0x6c, + 0x12, 0x12, 0x0a, 0x04, 0x74, 0x61, 0x67, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, + 0x74, 0x61, 0x67, 0x73, 0x22, 0xc7, 0x02, 0x0a, 0x1b, 0x50, 0x65, 0x72, 0x73, 0x69, 0x73, 0x74, + 0x65, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x53, 0x74, + 0x61, 0x74, 0x75, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x68, 0x61, 0x73, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x68, 0x61, 0x73, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x61, 0x63, + 0x63, 0x65, 0x73, 0x73, 0x4d, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, + 0x0b, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x4d, 0x6f, 0x64, 0x65, 0x73, 0x12, 0x5c, 0x0a, 0x08, + 0x63, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x40, + 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, + 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x50, 0x65, 0x72, 0x73, 0x69, 0x73, 0x74, 0x65, 0x6e, + 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x53, 0x74, 0x61, 0x74, + 0x75, 0x73, 0x2e, 0x43, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x45, 0x6e, 0x74, 0x72, 0x79, + 0x52, 0x08, 0x63, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x12, 0x55, 0x0a, 0x0a, 0x63, 0x6f, + 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x35, + 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, + 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x50, 0x65, 0x72, 0x73, 0x69, 0x73, 0x74, 0x65, 0x6e, + 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x43, 0x6f, 0x6e, 0x64, + 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x1a, 0x3b, 0x0a, 0x0d, 0x43, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 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, 0x03, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x93, + 0x03, 0x0a, 0x19, 0x50, 0x65, 0x72, 0x73, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x74, 0x56, 0x6f, 0x6c, + 0x75, 0x6d, 0x65, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x53, 0x70, 0x65, 0x63, 0x12, 0x20, 0x0a, 0x0b, + 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x4d, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, + 0x09, 0x52, 0x0b, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x4d, 0x6f, 0x64, 0x65, 0x73, 0x12, 0x49, + 0x0a, 0x09, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x2b, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, + 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x09, + 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x76, 0x6f, 0x6c, + 0x75, 0x6d, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x76, + 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x4b, 0x0a, 0x08, 0x73, 0x65, 0x6c, + 0x65, 0x63, 0x74, 0x6f, 0x72, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x64, 0x61, + 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, + 0x65, 0x6e, 0x74, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, + 0x72, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x08, 0x73, 0x65, + 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x12, 0x2a, 0x0a, 0x10, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, + 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x10, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x4e, 0x61, + 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x4d, 0x6f, 0x64, 0x65, + 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x4d, 0x6f, + 0x64, 0x65, 0x12, 0x50, 0x0a, 0x0a, 0x64, 0x61, 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, + 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, + 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x54, + 0x79, 0x70, 0x65, 0x64, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x52, + 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x0a, 0x64, 0x61, 0x74, 0x61, 0x53, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x22, 0x5f, 0x0a, 0x19, 0x54, 0x79, 0x70, 0x65, 0x64, 0x4c, 0x6f, 0x63, + 0x61, 0x6c, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, + 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x61, 0x70, 0x69, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x08, 0x61, 0x70, 0x69, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x12, 0x0a, + 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6b, 0x69, 0x6e, + 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0xd4, 0x01, 0x0a, 0x1e, 0x50, 0x65, 0x72, 0x73, 0x69, 0x73, + 0x74, 0x65, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x43, + 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06, + 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x74, + 0x61, 0x74, 0x75, 0x73, 0x12, 0x24, 0x0a, 0x0d, 0x6c, 0x61, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x62, + 0x65, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x6c, 0x61, 0x73, + 0x74, 0x50, 0x72, 0x6f, 0x62, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x2e, 0x0a, 0x12, 0x6c, 0x61, + 0x73, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x12, 0x6c, 0x61, 0x73, 0x74, 0x54, 0x72, 0x61, 0x6e, + 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, + 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x61, 0x73, + 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x06, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0xae, 0x01, 0x0a, + 0x0a, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x75, 0x6c, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, + 0x65, 0x72, 0x62, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x76, 0x65, 0x72, 0x62, + 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x70, 0x69, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x18, 0x02, + 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x61, 0x70, 0x69, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x12, + 0x1c, 0x0a, 0x09, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, + 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x12, 0x24, 0x0a, + 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x04, + 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e, 0x61, + 0x6d, 0x65, 0x73, 0x12, 0x28, 0x0a, 0x0f, 0x6e, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x55, 0x52, 0x4c, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0f, 0x6e, 0x6f, + 0x6e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x55, 0x52, 0x4c, 0x73, 0x22, 0x6b, 0x0a, + 0x07, 0x53, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x12, 0x1a, 0x0a, 0x08, + 0x61, 0x70, 0x69, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, + 0x61, 0x70, 0x69, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, + 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x22, 0xa8, 0x01, 0x0a, 0x04, 0x52, + 0x6f, 0x6c, 0x65, 0x12, 0x3b, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, + 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x4d, 0x65, + 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, + 0x12, 0x37, 0x0a, 0x05, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x21, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, + 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x75, + 0x6c, 0x65, 0x52, 0x05, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x16, 0x0a, 0x04, 0x79, 0x61, 0x6d, + 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x02, 0x18, 0x01, 0x52, 0x04, 0x79, 0x61, 0x6d, + 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x61, 0x67, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, + 0x04, 0x74, 0x61, 0x67, 0x73, 0x22, 0xfe, 0x01, 0x0a, 0x0b, 0x52, 0x6f, 0x6c, 0x65, 0x42, 0x69, + 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x12, 0x3b, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, + 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, + 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, + 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, + 0x74, 0x61, 0x12, 0x3a, 0x0a, 0x08, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x18, 0x02, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, + 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x53, 0x75, 0x62, + 0x6a, 0x65, 0x63, 0x74, 0x52, 0x08, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x12, 0x4a, + 0x0a, 0x07, 0x72, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x66, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x30, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, + 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x64, 0x4c, 0x6f, 0x63, + 0x61, 0x6c, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, + 0x65, 0x52, 0x07, 0x72, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x66, 0x12, 0x16, 0x0a, 0x04, 0x79, 0x61, + 0x6d, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x02, 0x18, 0x01, 0x52, 0x04, 0x79, 0x61, + 0x6d, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x61, 0x67, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, + 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x22, 0xce, 0x02, 0x0a, 0x0b, 0x43, 0x6c, 0x75, 0x73, 0x74, + 0x65, 0x72, 0x52, 0x6f, 0x6c, 0x65, 0x12, 0x3b, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, + 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, + 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, + 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, + 0x61, 0x74, 0x61, 0x12, 0x37, 0x0a, 0x05, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, + 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x50, 0x6f, 0x6c, 0x69, 0x63, + 0x79, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x05, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x5b, 0x0a, 0x10, + 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x75, 0x6c, 0x65, 0x73, + 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, + 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x4c, + 0x61, 0x62, 0x65, 0x6c, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, + 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x10, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x16, 0x0a, 0x04, 0x79, 0x61, 0x6d, + 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x02, 0x18, 0x01, 0x52, 0x04, 0x79, 0x61, 0x6d, + 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x61, 0x67, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, + 0x04, 0x74, 0x61, 0x67, 0x73, 0x12, 0x40, 0x0a, 0x07, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, + 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, + 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x52, + 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x52, 0x07, + 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x22, 0x85, 0x02, 0x0a, 0x12, 0x43, 0x6c, 0x75, 0x73, + 0x74, 0x65, 0x72, 0x52, 0x6f, 0x6c, 0x65, 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x12, 0x3b, + 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1f, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, + 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, + 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x3a, 0x0a, 0x08, 0x73, + 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, + 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, + 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x53, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x08, 0x73, + 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x12, 0x4a, 0x0a, 0x07, 0x72, 0x6f, 0x6c, 0x65, 0x52, + 0x65, 0x66, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, + 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, + 0x2e, 0x54, 0x79, 0x70, 0x65, 0x64, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x4f, 0x62, 0x6a, 0x65, 0x63, + 0x74, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x07, 0x72, 0x6f, 0x6c, 0x65, + 0x52, 0x65, 0x66, 0x12, 0x16, 0x0a, 0x04, 0x79, 0x61, 0x6d, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x0c, 0x42, 0x02, 0x18, 0x01, 0x52, 0x04, 0x79, 0x61, 0x6d, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x74, + 0x61, 0x67, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x22, + 0xdd, 0x02, 0x0a, 0x0e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, + 0x6e, 0x74, 0x12, 0x3b, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, + 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x4d, 0x65, 0x74, + 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, + 0x40, 0x0a, 0x07, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x26, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, + 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x52, + 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x07, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, + 0x73, 0x12, 0x5c, 0x0a, 0x10, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x50, 0x75, 0x6c, 0x6c, 0x53, 0x65, + 0x63, 0x72, 0x65, 0x74, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x64, 0x61, + 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, + 0x65, 0x6e, 0x74, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x64, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x4f, 0x62, + 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x10, 0x69, + 0x6d, 0x61, 0x67, 0x65, 0x50, 0x75, 0x6c, 0x6c, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x12, + 0x42, 0x0a, 0x1c, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x53, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x1c, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6f, 0x75, 0x6e, 0x74, + 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x54, 0x6f, + 0x6b, 0x65, 0x6e, 0x12, 0x16, 0x0a, 0x04, 0x79, 0x61, 0x6d, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, + 0x0c, 0x42, 0x02, 0x18, 0x01, 0x52, 0x04, 0x79, 0x61, 0x6d, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x74, + 0x61, 0x67, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x22, + 0x75, 0x0a, 0x15, 0x49, 0x6e, 0x67, 0x72, 0x65, 0x73, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0x42, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x73, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x73, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6f, + 0x72, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6f, + 0x72, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x6f, 0x72, 0x74, 0x4e, 0x75, + 0x6d, 0x62, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x70, 0x6f, 0x72, 0x74, + 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x22, 0xa6, 0x01, 0x0a, 0x0e, 0x49, 0x6e, 0x67, 0x72, 0x65, + 0x73, 0x73, 0x42, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x12, 0x46, 0x0a, 0x07, 0x73, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x64, 0x61, 0x74, + 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, + 0x6e, 0x74, 0x2e, 0x49, 0x6e, 0x67, 0x72, 0x65, 0x73, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0x42, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x52, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0x12, 0x4c, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, + 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x54, 0x79, 0x70, 0x65, + 0x64, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x66, 0x65, + 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x22, + 0x42, 0x0a, 0x0a, 0x49, 0x6e, 0x67, 0x72, 0x65, 0x73, 0x73, 0x54, 0x4c, 0x53, 0x12, 0x14, 0x0a, + 0x05, 0x68, 0x6f, 0x73, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x68, 0x6f, + 0x73, 0x74, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x4e, 0x61, 0x6d, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x4e, + 0x61, 0x6d, 0x65, 0x22, 0x82, 0x01, 0x0a, 0x0f, 0x48, 0x54, 0x54, 0x50, 0x49, 0x6e, 0x67, 0x72, + 0x65, 0x73, 0x73, 0x50, 0x61, 0x74, 0x68, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x1a, 0x0a, 0x08, 0x70, + 0x61, 0x74, 0x68, 0x54, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, + 0x61, 0x74, 0x68, 0x54, 0x79, 0x70, 0x65, 0x12, 0x3f, 0x0a, 0x07, 0x62, 0x61, 0x63, 0x6b, 0x65, + 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, + 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, + 0x2e, 0x49, 0x6e, 0x67, 0x72, 0x65, 0x73, 0x73, 0x42, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x52, + 0x07, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x22, 0x67, 0x0a, 0x0b, 0x49, 0x6e, 0x67, 0x72, + 0x65, 0x73, 0x73, 0x52, 0x75, 0x6c, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x12, 0x44, 0x0a, 0x09, 0x68, + 0x74, 0x74, 0x70, 0x50, 0x61, 0x74, 0x68, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, + 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, + 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x48, 0x54, 0x54, 0x50, 0x49, 0x6e, 0x67, 0x72, 0x65, + 0x73, 0x73, 0x50, 0x61, 0x74, 0x68, 0x52, 0x09, 0x68, 0x74, 0x74, 0x70, 0x50, 0x61, 0x74, 0x68, + 0x73, 0x22, 0xf7, 0x01, 0x0a, 0x0b, 0x49, 0x6e, 0x67, 0x72, 0x65, 0x73, 0x73, 0x53, 0x70, 0x65, + 0x63, 0x12, 0x4d, 0x0a, 0x0e, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x42, 0x61, 0x63, 0x6b, + 0x65, 0x6e, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x64, 0x61, 0x74, 0x61, + 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, + 0x74, 0x2e, 0x49, 0x6e, 0x67, 0x72, 0x65, 0x73, 0x73, 0x42, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, + 0x52, 0x0e, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x42, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, + 0x12, 0x33, 0x0a, 0x03, 0x74, 0x6c, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, + 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, + 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x49, 0x6e, 0x67, 0x72, 0x65, 0x73, 0x73, 0x54, 0x4c, 0x53, + 0x52, 0x03, 0x74, 0x6c, 0x73, 0x12, 0x38, 0x0a, 0x05, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x03, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, + 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x49, 0x6e, 0x67, + 0x72, 0x65, 0x73, 0x73, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x05, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x12, + 0x2a, 0x0a, 0x10, 0x69, 0x6e, 0x67, 0x72, 0x65, 0x73, 0x73, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x4e, + 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x69, 0x6e, 0x67, 0x72, 0x65, + 0x73, 0x73, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x52, 0x0a, 0x0a, 0x50, + 0x6f, 0x72, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x6f, 0x72, + 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x1a, 0x0a, + 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, + 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, + 0x7a, 0x0a, 0x13, 0x4c, 0x6f, 0x61, 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x49, + 0x6e, 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x70, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x02, 0x69, 0x70, 0x12, 0x1a, 0x0a, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x6e, 0x61, + 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x6e, 0x61, + 0x6d, 0x65, 0x12, 0x37, 0x0a, 0x05, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x21, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, + 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x50, 0x6f, 0x72, 0x74, 0x53, 0x74, + 0x61, 0x74, 0x75, 0x73, 0x52, 0x05, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x22, 0x55, 0x0a, 0x0d, 0x49, + 0x6e, 0x67, 0x72, 0x65, 0x73, 0x73, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x44, 0x0a, 0x07, + 0x69, 0x6e, 0x67, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, + 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, + 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x4c, 0x6f, 0x61, 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, + 0x65, 0x72, 0x49, 0x6e, 0x67, 0x72, 0x65, 0x73, 0x73, 0x52, 0x07, 0x69, 0x6e, 0x67, 0x72, 0x65, + 0x73, 0x73, 0x22, 0xe8, 0x01, 0x0a, 0x07, 0x49, 0x6e, 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x3b, + 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1f, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, + 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, + 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x36, 0x0a, 0x04, 0x73, + 0x70, 0x65, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x64, 0x61, 0x74, 0x61, + 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, + 0x74, 0x2e, 0x49, 0x6e, 0x67, 0x72, 0x65, 0x73, 0x73, 0x53, 0x70, 0x65, 0x63, 0x52, 0x04, 0x73, + 0x70, 0x65, 0x63, 0x12, 0x3c, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, + 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x49, 0x6e, 0x67, 0x72, + 0x65, 0x73, 0x73, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x12, 0x16, 0x0a, 0x04, 0x79, 0x61, 0x6d, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x42, + 0x02, 0x18, 0x01, 0x52, 0x04, 0x79, 0x61, 0x6d, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x61, 0x67, + 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x22, 0x70, 0x0a, + 0x0a, 0x4b, 0x61, 0x66, 0x6b, 0x61, 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x63, + 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, + 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x6c, 0x61, 0x74, 0x65, 0x6e, 0x63, 0x69, 0x65, 0x73, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x6c, 0x61, 0x74, 0x65, 0x6e, 0x63, 0x69, 0x65, 0x73, 0x12, + 0x2e, 0x0a, 0x12, 0x66, 0x69, 0x72, 0x73, 0x74, 0x4c, 0x61, 0x74, 0x65, 0x6e, 0x63, 0x79, 0x53, + 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x01, 0x52, 0x12, 0x66, 0x69, 0x72, + 0x73, 0x74, 0x4c, 0x61, 0x74, 0x65, 0x6e, 0x63, 0x79, 0x53, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x22, + 0x60, 0x0a, 0x12, 0x4b, 0x61, 0x66, 0x6b, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, + 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x21, 0x0a, 0x0c, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x72, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x72, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x0e, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, + 0x6e, 0x22, 0xd8, 0x02, 0x0a, 0x10, 0x4b, 0x61, 0x66, 0x6b, 0x61, 0x41, 0x67, 0x67, 0x72, 0x65, + 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x41, 0x0a, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, + 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x4b, + 0x61, 0x66, 0x6b, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x65, 0x61, 0x64, 0x65, + 0x72, 0x52, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x70, + 0x69, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x12, + 0x69, 0x0a, 0x10, 0x73, 0x74, 0x61, 0x74, 0x73, 0x42, 0x79, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x43, + 0x6f, 0x64, 0x65, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3d, 0x2e, 0x64, 0x61, 0x74, 0x61, + 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, + 0x74, 0x2e, 0x4b, 0x61, 0x66, 0x6b, 0x61, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x73, 0x42, 0x79, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x43, + 0x6f, 0x64, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x10, 0x73, 0x74, 0x61, 0x74, 0x73, 0x42, + 0x79, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x18, 0x0a, 0x05, 0x63, 0x6f, + 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x42, 0x02, 0x18, 0x01, 0x52, 0x05, 0x63, + 0x6f, 0x75, 0x6e, 0x74, 0x1a, 0x66, 0x0a, 0x15, 0x53, 0x74, 0x61, 0x74, 0x73, 0x42, 0x79, 0x45, + 0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, + 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, + 0x37, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, + 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, + 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x4b, 0x61, 0x66, 0x6b, 0x61, 0x53, 0x74, 0x61, 0x74, + 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x7c, 0x0a, 0x17, + 0x44, 0x61, 0x74, 0x61, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x73, 0x41, 0x67, 0x67, 0x72, 0x65, + 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x55, 0x0a, 0x11, 0x6b, 0x61, 0x66, 0x6b, 0x61, + 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, + 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x4b, 0x61, 0x66, 0x6b, 0x61, + 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x11, 0x6b, 0x61, 0x66, + 0x6b, 0x61, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x4a, 0x04, + 0x08, 0x01, 0x10, 0x02, 0x4a, 0x04, 0x08, 0x02, 0x10, 0x03, 0x22, 0xd9, 0x01, 0x0a, 0x0d, 0x50, + 0x6f, 0x73, 0x74, 0x67, 0x72, 0x65, 0x73, 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x1c, 0x0a, 0x09, + 0x74, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x09, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x46, 0x0a, 0x09, 0x6f, 0x70, + 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x28, 0x2e, + 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, + 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x50, 0x6f, 0x73, 0x74, 0x67, 0x72, 0x65, 0x73, 0x4f, 0x70, + 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x12, 0x1c, 0x0a, 0x09, 0x6c, 0x61, 0x74, 0x65, 0x6e, 0x63, 0x69, 0x65, 0x73, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x6c, 0x61, 0x74, 0x65, 0x6e, 0x63, 0x69, 0x65, 0x73, + 0x12, 0x2e, 0x0a, 0x12, 0x66, 0x69, 0x72, 0x73, 0x74, 0x4c, 0x61, 0x74, 0x65, 0x6e, 0x63, 0x79, + 0x53, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x01, 0x52, 0x12, 0x66, 0x69, + 0x72, 0x73, 0x74, 0x4c, 0x61, 0x74, 0x65, 0x6e, 0x63, 0x79, 0x53, 0x61, 0x6d, 0x70, 0x6c, 0x65, + 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x0c, 0x0a, 0x0a, 0x52, 0x65, 0x64, 0x69, 0x73, 0x53, + 0x74, 0x61, 0x74, 0x73, 0x22, 0x99, 0x01, 0x0a, 0x0d, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, + 0x65, 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x42, 0x0a, 0x08, 0x70, 0x6f, 0x73, 0x74, 0x67, 0x72, + 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, + 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, + 0x2e, 0x50, 0x6f, 0x73, 0x74, 0x67, 0x72, 0x65, 0x73, 0x53, 0x74, 0x61, 0x74, 0x73, 0x48, 0x00, + 0x52, 0x08, 0x70, 0x6f, 0x73, 0x74, 0x67, 0x72, 0x65, 0x73, 0x12, 0x39, 0x0a, 0x05, 0x72, 0x65, + 0x64, 0x69, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x64, 0x61, 0x74, 0x61, + 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, + 0x74, 0x2e, 0x52, 0x65, 0x64, 0x69, 0x73, 0x53, 0x74, 0x61, 0x74, 0x73, 0x48, 0x00, 0x52, 0x05, + 0x72, 0x65, 0x64, 0x69, 0x73, 0x42, 0x09, 0x0a, 0x07, 0x64, 0x62, 0x53, 0x74, 0x61, 0x74, 0x73, + 0x22, 0x60, 0x0a, 0x14, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x41, 0x67, 0x67, 0x72, + 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x48, 0x0a, 0x0c, 0x61, 0x67, 0x67, 0x72, + 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, + 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, + 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x53, + 0x74, 0x61, 0x74, 0x73, 0x52, 0x0c, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x22, 0x6e, 0x0a, 0x10, 0x48, 0x54, 0x54, 0x50, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x54, 0x0a, 0x14, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, + 0x6e, 0x74, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, + 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x48, 0x54, 0x54, + 0x50, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x14, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, + 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x4a, 0x04, 0x08, 0x01, + 0x10, 0x02, 0x22, 0x69, 0x0a, 0x11, 0x48, 0x54, 0x54, 0x50, 0x32, 0x41, 0x67, 0x67, 0x72, 0x65, + 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x54, 0x0a, 0x14, 0x65, 0x6e, 0x64, 0x70, 0x6f, + 0x69, 0x6e, 0x74, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, + 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, + 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x48, 0x54, + 0x54, 0x50, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x14, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, + 0x74, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x99, 0x04, + 0x0a, 0x09, 0x48, 0x54, 0x54, 0x50, 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x70, + 0x61, 0x74, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, + 0x39, 0x0a, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x21, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, + 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x48, 0x54, 0x54, 0x50, 0x4d, 0x65, 0x74, 0x68, + 0x6f, 0x64, 0x52, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x75, + 0x6c, 0x6c, 0x50, 0x61, 0x74, 0x68, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x66, 0x75, + 0x6c, 0x6c, 0x50, 0x61, 0x74, 0x68, 0x12, 0x5b, 0x0a, 0x15, 0x73, 0x74, 0x61, 0x74, 0x73, 0x42, + 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, + 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, + 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x48, 0x54, + 0x54, 0x50, 0x53, 0x74, 0x61, 0x74, 0x73, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x52, 0x15, 0x73, 0x74, + 0x61, 0x74, 0x73, 0x42, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x53, 0x74, 0x61, + 0x74, 0x75, 0x73, 0x12, 0x65, 0x0a, 0x11, 0x73, 0x74, 0x61, 0x74, 0x73, 0x42, 0x79, 0x53, 0x74, + 0x61, 0x74, 0x75, 0x73, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x37, + 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, + 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x48, 0x54, 0x54, 0x50, 0x53, 0x74, 0x61, 0x74, 0x73, + 0x2e, 0x53, 0x74, 0x61, 0x74, 0x73, 0x42, 0x79, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x43, 0x6f, + 0x64, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x11, 0x73, 0x74, 0x61, 0x74, 0x73, 0x42, 0x79, + 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x43, 0x6f, 0x64, 0x65, 0x1a, 0x6b, 0x0a, 0x16, 0x53, 0x74, + 0x61, 0x74, 0x73, 0x42, 0x79, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x43, 0x6f, 0x64, 0x65, 0x45, + 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x05, 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, + 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x48, 0x54, + 0x54, 0x50, 0x53, 0x74, 0x61, 0x74, 0x73, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x52, 0x05, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x70, 0x0a, 0x04, 0x44, 0x61, 0x74, 0x61, 0x12, + 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, + 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x6c, 0x61, 0x74, 0x65, 0x6e, 0x63, 0x69, + 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x6c, 0x61, 0x74, 0x65, 0x6e, 0x63, + 0x69, 0x65, 0x73, 0x12, 0x2e, 0x0a, 0x12, 0x66, 0x69, 0x72, 0x73, 0x74, 0x4c, 0x61, 0x74, 0x65, + 0x6e, 0x63, 0x79, 0x53, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x01, 0x52, + 0x12, 0x66, 0x69, 0x72, 0x73, 0x74, 0x4c, 0x61, 0x74, 0x65, 0x6e, 0x63, 0x79, 0x53, 0x61, 0x6d, + 0x70, 0x6c, 0x65, 0x4a, 0x04, 0x08, 0x03, 0x10, 0x04, 0x22, 0x38, 0x0a, 0x10, 0x44, 0x4e, 0x53, + 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x24, 0x0a, + 0x0b, 0x6e, 0x61, 0x6d, 0x65, 0x4f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, + 0x28, 0x05, 0x42, 0x02, 0x10, 0x00, 0x52, 0x0b, 0x6e, 0x61, 0x6d, 0x65, 0x4f, 0x66, 0x66, 0x73, + 0x65, 0x74, 0x73, 0x22, 0xaa, 0x01, 0x0a, 0x0c, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, + 0x4c, 0x69, 0x73, 0x74, 0x12, 0x59, 0x0a, 0x0c, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x56, 0x61, + 0x6c, 0x75, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x64, 0x61, 0x74, + 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, + 0x6e, 0x74, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x2e, + 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, + 0x79, 0x52, 0x0c, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x1a, + 0x3f, 0x0a, 0x11, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x56, 0x61, 0x6c, 0x75, 0x65, 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, 0x01, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, + 0x22, 0xe9, 0x02, 0x0a, 0x15, 0x56, 0x65, 0x72, 0x74, 0x69, 0x63, 0x61, 0x6c, 0x50, 0x6f, 0x64, + 0x41, 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x72, 0x12, 0x3b, 0x0a, 0x08, 0x6d, 0x65, + 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x64, + 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, + 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x08, 0x6d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x44, 0x0a, 0x04, 0x73, 0x70, 0x65, 0x63, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, + 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x56, 0x65, + 0x72, 0x74, 0x69, 0x63, 0x61, 0x6c, 0x50, 0x6f, 0x64, 0x41, 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, + 0x6c, 0x65, 0x72, 0x53, 0x70, 0x65, 0x63, 0x52, 0x04, 0x73, 0x70, 0x65, 0x63, 0x12, 0x4a, 0x0a, + 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, + 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, + 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x56, 0x65, 0x72, 0x74, 0x69, 0x63, 0x61, 0x6c, 0x50, 0x6f, + 0x64, 0x41, 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x16, 0x0a, 0x04, 0x79, 0x61, 0x6d, + 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x02, 0x18, 0x01, 0x52, 0x04, 0x79, 0x61, 0x6d, + 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x61, 0x67, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, + 0x04, 0x74, 0x61, 0x67, 0x73, 0x12, 0x55, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x64, 0x61, 0x74, 0x61, + 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, + 0x74, 0x2e, 0x56, 0x65, 0x72, 0x74, 0x69, 0x63, 0x61, 0x6c, 0x50, 0x6f, 0x64, 0x41, 0x75, 0x74, + 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, + 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0xae, 0x01, 0x0a, + 0x1e, 0x56, 0x65, 0x72, 0x74, 0x69, 0x63, 0x61, 0x6c, 0x50, 0x6f, 0x64, 0x41, 0x75, 0x74, 0x6f, + 0x73, 0x63, 0x61, 0x6c, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, + 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, + 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x2e, 0x0a, 0x12, 0x6c, + 0x61, 0x73, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, + 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x12, 0x6c, 0x61, 0x73, 0x74, 0x54, 0x72, 0x61, + 0x6e, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x72, + 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x61, + 0x73, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0xe3, 0x01, + 0x0a, 0x19, 0x56, 0x65, 0x72, 0x74, 0x69, 0x63, 0x61, 0x6c, 0x50, 0x6f, 0x64, 0x41, 0x75, 0x74, + 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x72, 0x53, 0x70, 0x65, 0x63, 0x12, 0x4a, 0x0a, 0x06, 0x74, + 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x64, 0x61, + 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, + 0x65, 0x6e, 0x74, 0x2e, 0x56, 0x65, 0x72, 0x74, 0x69, 0x63, 0x61, 0x6c, 0x50, 0x6f, 0x64, 0x41, + 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x72, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, + 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x75, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x5a, 0x0a, 0x10, 0x72, 0x65, 0x73, 0x6f, 0x75, + 0x72, 0x63, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x2e, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, + 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, + 0x6e, 0x65, 0x72, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, + 0x79, 0x52, 0x10, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, + 0x69, 0x65, 0x73, 0x22, 0x45, 0x0a, 0x1b, 0x56, 0x65, 0x72, 0x74, 0x69, 0x63, 0x61, 0x6c, 0x50, + 0x6f, 0x64, 0x41, 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x72, 0x54, 0x61, 0x72, 0x67, + 0x65, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0xb9, 0x02, 0x0a, 0x17, 0x43, + 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, + 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x24, 0x0a, 0x0d, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, + 0x6e, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x63, + 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, + 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6d, 0x6f, 0x64, 0x65, + 0x12, 0x43, 0x0a, 0x0a, 0x6d, 0x69, 0x6e, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, + 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x52, 0x65, 0x73, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x0a, 0x6d, 0x69, 0x6e, 0x41, 0x6c, + 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x12, 0x43, 0x0a, 0x0a, 0x6d, 0x61, 0x78, 0x41, 0x6c, 0x6c, 0x6f, + 0x77, 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x64, 0x61, 0x74, 0x61, + 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, + 0x74, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x0a, + 0x6d, 0x61, 0x78, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x12, 0x2e, 0x0a, 0x12, 0x63, 0x6f, + 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, + 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x12, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, + 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x2a, 0x0a, 0x10, 0x63, 0x6f, + 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x06, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x64, + 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x22, 0xee, 0x01, 0x0a, 0x1b, 0x56, 0x65, 0x72, 0x74, 0x69, + 0x63, 0x61, 0x6c, 0x50, 0x6f, 0x64, 0x41, 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x72, + 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x30, 0x0a, 0x13, 0x4c, 0x61, 0x73, 0x74, 0x52, 0x65, + 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x44, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x13, 0x4c, 0x61, 0x73, 0x74, 0x52, 0x65, 0x63, 0x6f, 0x6d, 0x6d, 0x65, + 0x6e, 0x64, 0x65, 0x64, 0x44, 0x61, 0x74, 0x65, 0x12, 0x58, 0x0a, 0x0f, 0x72, 0x65, 0x63, 0x6f, + 0x6d, 0x6d, 0x65, 0x6e, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x2e, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, + 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, + 0x6e, 0x65, 0x72, 0x52, 0x65, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x64, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x52, 0x0f, 0x72, 0x65, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x64, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x12, 0x43, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, + 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x56, + 0x50, 0x41, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x63, 0x6f, 0x6e, + 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0xd3, 0x02, 0x0a, 0x17, 0x43, 0x6f, 0x6e, 0x74, + 0x61, 0x69, 0x6e, 0x65, 0x72, 0x52, 0x65, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x64, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x12, 0x24, 0x0a, 0x0d, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, + 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x63, 0x6f, 0x6e, 0x74, + 0x61, 0x69, 0x6e, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x3b, 0x0a, 0x06, 0x74, 0x61, 0x72, + 0x67, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x64, 0x61, 0x74, 0x61, + 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, + 0x74, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x06, + 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x43, 0x0a, 0x0a, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x42, + 0x6f, 0x75, 0x6e, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x64, 0x61, 0x74, + 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, + 0x6e, 0x74, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x52, + 0x0a, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x42, 0x6f, 0x75, 0x6e, 0x64, 0x12, 0x43, 0x0a, 0x0a, 0x75, + 0x70, 0x70, 0x65, 0x72, 0x42, 0x6f, 0x75, 0x6e, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x23, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, + 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, + 0x4c, 0x69, 0x73, 0x74, 0x52, 0x0a, 0x75, 0x70, 0x70, 0x65, 0x72, 0x42, 0x6f, 0x75, 0x6e, 0x64, + 0x12, 0x4b, 0x0a, 0x0e, 0x75, 0x6e, 0x63, 0x61, 0x70, 0x70, 0x65, 0x64, 0x54, 0x61, 0x72, 0x67, + 0x65, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, + 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, + 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x0e, 0x75, + 0x6e, 0x63, 0x61, 0x70, 0x70, 0x65, 0x64, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x22, 0xc0, 0x01, + 0x0a, 0x0c, 0x56, 0x50, 0x41, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x24, + 0x0a, 0x0d, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, + 0x54, 0x79, 0x70, 0x65, 0x12, 0x28, 0x0a, 0x0f, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, + 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x43, + 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x2e, + 0x0a, 0x12, 0x4c, 0x61, 0x73, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, + 0x54, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x12, 0x4c, 0x61, 0x73, 0x74, + 0x54, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x16, + 0x0a, 0x06, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, + 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, + 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, + 0x22, 0xf1, 0x02, 0x0a, 0x17, 0x48, 0x6f, 0x72, 0x69, 0x7a, 0x6f, 0x6e, 0x74, 0x61, 0x6c, 0x50, + 0x6f, 0x64, 0x41, 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x72, 0x12, 0x3b, 0x0a, 0x08, + 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, + 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, + 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, + 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x46, 0x0a, 0x04, 0x73, 0x70, 0x65, + 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, + 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, + 0x48, 0x6f, 0x72, 0x69, 0x7a, 0x6f, 0x6e, 0x74, 0x61, 0x6c, 0x50, 0x6f, 0x64, 0x41, 0x75, 0x74, + 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x72, 0x53, 0x70, 0x65, 0x63, 0x52, 0x04, 0x73, 0x70, 0x65, + 0x63, 0x12, 0x4c, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x34, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, + 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x48, 0x6f, 0x72, 0x69, 0x7a, 0x6f, + 0x6e, 0x74, 0x61, 0x6c, 0x50, 0x6f, 0x64, 0x41, 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x65, + 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, + 0x16, 0x0a, 0x04, 0x79, 0x61, 0x6d, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x02, 0x18, + 0x01, 0x52, 0x04, 0x79, 0x61, 0x6d, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x61, 0x67, 0x73, 0x18, + 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x12, 0x57, 0x0a, 0x0a, 0x63, + 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x37, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, + 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x48, 0x6f, 0x72, 0x69, 0x7a, 0x6f, 0x6e, 0x74, + 0x61, 0x6c, 0x50, 0x6f, 0x64, 0x41, 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x72, 0x43, + 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x22, 0xd7, 0x02, 0x0a, 0x1b, 0x48, 0x6f, 0x72, 0x69, 0x7a, 0x6f, 0x6e, + 0x74, 0x61, 0x6c, 0x50, 0x6f, 0x64, 0x41, 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x72, + 0x53, 0x70, 0x65, 0x63, 0x12, 0x4c, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, + 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x48, 0x6f, 0x72, + 0x69, 0x7a, 0x6f, 0x6e, 0x74, 0x61, 0x6c, 0x50, 0x6f, 0x64, 0x41, 0x75, 0x74, 0x6f, 0x73, 0x63, + 0x61, 0x6c, 0x65, 0x72, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, + 0x65, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x6d, 0x69, 0x6e, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, + 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x6d, 0x69, 0x6e, 0x52, 0x65, 0x70, 0x6c, + 0x69, 0x63, 0x61, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x6d, 0x61, 0x78, 0x52, 0x65, 0x70, 0x6c, 0x69, + 0x63, 0x61, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x6d, 0x61, 0x78, 0x52, 0x65, + 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x12, 0x52, 0x0a, 0x07, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, + 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x38, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, + 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, + 0x48, 0x6f, 0x72, 0x69, 0x7a, 0x6f, 0x6e, 0x74, 0x61, 0x6c, 0x50, 0x6f, 0x64, 0x41, 0x75, 0x74, + 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x72, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x53, 0x70, 0x65, + 0x63, 0x52, 0x07, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x12, 0x52, 0x0a, 0x08, 0x62, 0x65, + 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x64, + 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, + 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x48, 0x6f, 0x72, 0x69, 0x7a, 0x6f, 0x6e, 0x74, 0x61, 0x6c, 0x50, + 0x6f, 0x64, 0x41, 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x72, 0x42, 0x65, 0x68, 0x61, + 0x76, 0x69, 0x6f, 0x72, 0x52, 0x08, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x22, 0x47, + 0x0a, 0x1d, 0x48, 0x6f, 0x72, 0x69, 0x7a, 0x6f, 0x6e, 0x74, 0x61, 0x6c, 0x50, 0x6f, 0x64, 0x41, + 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x72, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, + 0x12, 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6b, + 0x69, 0x6e, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0xad, 0x03, 0x0a, 0x21, 0x48, 0x6f, 0x72, 0x69, + 0x7a, 0x6f, 0x6e, 0x74, 0x61, 0x6c, 0x50, 0x6f, 0x64, 0x41, 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, + 0x6c, 0x65, 0x72, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x53, 0x70, 0x65, 0x63, 0x12, 0x12, 0x0a, + 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, + 0x65, 0x12, 0x41, 0x0a, 0x06, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x29, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, + 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, + 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x06, 0x6f, 0x62, + 0x6a, 0x65, 0x63, 0x74, 0x12, 0x3b, 0x0a, 0x04, 0x70, 0x6f, 0x64, 0x73, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, + 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x50, 0x6f, 0x64, 0x73, 0x4d, + 0x65, 0x74, 0x72, 0x69, 0x63, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x04, 0x70, 0x6f, 0x64, + 0x73, 0x12, 0x47, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, + 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x52, 0x65, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, + 0x52, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x62, 0x0a, 0x11, 0x63, 0x6f, + 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, + 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, + 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x43, 0x6f, + 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4d, + 0x65, 0x74, 0x72, 0x69, 0x63, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x11, 0x63, 0x6f, 0x6e, + 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x47, + 0x0a, 0x08, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x2b, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, + 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, + 0x6c, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x08, 0x65, + 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x22, 0xe4, 0x01, 0x0a, 0x12, 0x4f, 0x62, 0x6a, 0x65, + 0x63, 0x74, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x50, + 0x0a, 0x0f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x64, 0x4f, 0x62, 0x6a, 0x65, 0x63, + 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, + 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, + 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, + 0x0f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x64, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, + 0x12, 0x3b, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x23, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, + 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x54, + 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x3f, 0x0a, + 0x06, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, + 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, + 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x49, 0x64, 0x65, 0x6e, + 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, 0x06, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x22, 0x38, + 0x0a, 0x0c, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x12, + 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, + 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x7d, 0x0a, 0x10, 0x4d, 0x65, 0x74, 0x72, + 0x69, 0x63, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, + 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, + 0x12, 0x55, 0x0a, 0x0d, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, + 0x72, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, + 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, + 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, + 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x0d, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x53, + 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x22, 0x90, 0x01, 0x0a, 0x10, 0x50, 0x6f, 0x64, 0x73, + 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x3f, 0x0a, 0x06, + 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x64, + 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, + 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x49, 0x64, 0x65, 0x6e, 0x74, + 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, 0x06, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x12, 0x3b, 0x0a, + 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, + 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, + 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x54, 0x61, 0x72, 0x67, + 0x65, 0x74, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x22, 0x77, 0x0a, 0x14, 0x52, 0x65, + 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x53, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e, 0x61, + 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x3b, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, + 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x4d, + 0x65, 0x74, 0x72, 0x69, 0x63, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x06, 0x74, 0x61, 0x72, + 0x67, 0x65, 0x74, 0x22, 0x9e, 0x01, 0x0a, 0x1d, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, + 0x72, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x53, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x73, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x3b, 0x0a, 0x06, 0x74, 0x61, 0x72, + 0x67, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x64, 0x61, 0x74, 0x61, + 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, + 0x74, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x06, + 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, + 0x6e, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6f, 0x6e, 0x74, 0x61, + 0x69, 0x6e, 0x65, 0x72, 0x22, 0x94, 0x01, 0x0a, 0x14, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, + 0x6c, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x3f, 0x0a, + 0x06, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, + 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, + 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x49, 0x64, 0x65, 0x6e, + 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, 0x06, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x12, 0x3b, + 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, + 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, + 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x54, 0x61, 0x72, + 0x67, 0x65, 0x74, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x22, 0xa9, 0x01, 0x0a, 0x1f, + 0x48, 0x6f, 0x72, 0x69, 0x7a, 0x6f, 0x6e, 0x74, 0x61, 0x6c, 0x50, 0x6f, 0x64, 0x41, 0x75, 0x74, + 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x72, 0x42, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x12, + 0x40, 0x0a, 0x07, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x55, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x26, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, + 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x48, 0x50, 0x41, 0x53, 0x63, 0x61, 0x6c, + 0x69, 0x6e, 0x67, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x52, 0x07, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x55, + 0x70, 0x12, 0x44, 0x0a, 0x09, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x44, 0x6f, 0x77, 0x6e, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, + 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x48, 0x50, 0x41, + 0x53, 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x52, 0x09, 0x73, 0x63, + 0x61, 0x6c, 0x65, 0x44, 0x6f, 0x77, 0x6e, 0x22, 0xba, 0x01, 0x0a, 0x0f, 0x48, 0x50, 0x41, 0x53, + 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x3e, 0x0a, 0x1a, 0x73, + 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x69, 0x6e, 0x64, + 0x6f, 0x77, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x1a, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x69, + 0x6e, 0x64, 0x6f, 0x77, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x12, 0x22, 0x0a, 0x0c, 0x73, + 0x65, 0x6c, 0x65, 0x63, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0c, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, + 0x43, 0x0a, 0x08, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x27, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, + 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x48, 0x50, 0x41, 0x53, 0x63, 0x61, + 0x6c, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x08, 0x70, 0x6f, 0x6c, 0x69, + 0x63, 0x69, 0x65, 0x73, 0x22, 0x62, 0x0a, 0x10, 0x48, 0x50, 0x41, 0x53, 0x63, 0x61, 0x6c, 0x69, + 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x12, 0x24, 0x0a, 0x0d, 0x70, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x53, 0x65, 0x63, 0x6f, + 0x6e, 0x64, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d, 0x70, 0x65, 0x72, 0x69, 0x6f, + 0x64, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x22, 0xad, 0x02, 0x0a, 0x1d, 0x48, 0x6f, 0x72, + 0x69, 0x7a, 0x6f, 0x6e, 0x74, 0x61, 0x6c, 0x50, 0x6f, 0x64, 0x41, 0x75, 0x74, 0x6f, 0x73, 0x63, + 0x61, 0x6c, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x2e, 0x0a, 0x12, 0x6f, 0x62, + 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x12, 0x6f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, + 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x24, 0x0a, 0x0d, 0x6c, 0x61, + 0x73, 0x74, 0x53, 0x63, 0x61, 0x6c, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x0d, 0x6c, 0x61, 0x73, 0x74, 0x53, 0x63, 0x61, 0x6c, 0x65, 0x54, 0x69, 0x6d, 0x65, + 0x12, 0x28, 0x0a, 0x0f, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, + 0x63, 0x61, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0f, 0x63, 0x75, 0x72, 0x72, 0x65, + 0x6e, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x12, 0x28, 0x0a, 0x0f, 0x64, 0x65, + 0x73, 0x69, 0x72, 0x65, 0x64, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x0f, 0x64, 0x65, 0x73, 0x69, 0x72, 0x65, 0x64, 0x52, 0x65, 0x70, 0x6c, + 0x69, 0x63, 0x61, 0x73, 0x12, 0x62, 0x0a, 0x0e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x4d, + 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x64, + 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, + 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x48, 0x6f, 0x72, 0x69, 0x7a, 0x6f, 0x6e, 0x74, 0x61, 0x6c, 0x50, + 0x6f, 0x64, 0x41, 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x72, 0x4d, 0x65, 0x74, 0x72, + 0x69, 0x63, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, + 0x74, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x22, 0xd4, 0x01, 0x0a, 0x20, 0x48, 0x6f, 0x72, + 0x69, 0x7a, 0x6f, 0x6e, 0x74, 0x61, 0x6c, 0x50, 0x6f, 0x64, 0x41, 0x75, 0x74, 0x6f, 0x73, 0x63, + 0x61, 0x6c, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x24, 0x0a, + 0x0d, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x54, + 0x79, 0x70, 0x65, 0x12, 0x28, 0x0a, 0x0f, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, + 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x63, 0x6f, + 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x2e, 0x0a, + 0x12, 0x6c, 0x61, 0x73, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x54, + 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x12, 0x6c, 0x61, 0x73, 0x74, 0x54, + 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x16, 0x0a, + 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, + 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, + 0xaf, 0x03, 0x0a, 0x23, 0x48, 0x6f, 0x72, 0x69, 0x7a, 0x6f, 0x6e, 0x74, 0x61, 0x6c, 0x50, 0x6f, + 0x64, 0x41, 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x72, 0x4d, 0x65, 0x74, 0x72, 0x69, + 0x63, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x41, 0x0a, 0x06, 0x6f, + 0x62, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x64, 0x61, + 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, + 0x65, 0x6e, 0x74, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, + 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x3b, + 0x0a, 0x04, 0x70, 0x6f, 0x64, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x64, + 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, + 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x50, 0x6f, 0x64, 0x73, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x53, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x04, 0x70, 0x6f, 0x64, 0x73, 0x12, 0x47, 0x0a, 0x08, 0x72, + 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, + 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, + 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4d, 0x65, + 0x74, 0x72, 0x69, 0x63, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x08, 0x72, 0x65, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x12, 0x62, 0x0a, 0x11, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, + 0x72, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x34, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, + 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, + 0x72, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x53, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x11, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, + 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x47, 0x0a, 0x08, 0x65, 0x78, 0x74, 0x65, + 0x72, 0x6e, 0x61, 0x6c, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x64, 0x61, 0x74, + 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, + 0x6e, 0x74, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x4d, 0x65, 0x74, 0x72, 0x69, + 0x63, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x08, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, + 0x6c, 0x22, 0xc1, 0x01, 0x0a, 0x12, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x4d, 0x65, 0x74, 0x72, + 0x69, 0x63, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x50, 0x0a, 0x0f, 0x64, 0x65, 0x73, 0x63, + 0x72, 0x69, 0x62, 0x65, 0x64, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x26, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, + 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, + 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x0f, 0x64, 0x65, 0x73, 0x63, 0x72, + 0x69, 0x62, 0x65, 0x64, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x75, + 0x72, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x63, 0x75, 0x72, + 0x72, 0x65, 0x6e, 0x74, 0x12, 0x3f, 0x0a, 0x06, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, + 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x4d, 0x65, 0x74, + 0x72, 0x69, 0x63, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, 0x06, 0x6d, + 0x65, 0x74, 0x72, 0x69, 0x63, 0x22, 0x6d, 0x0a, 0x10, 0x50, 0x6f, 0x64, 0x73, 0x4d, 0x65, 0x74, + 0x72, 0x69, 0x63, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x3f, 0x0a, 0x06, 0x6d, 0x65, 0x74, + 0x72, 0x69, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x64, 0x61, 0x74, 0x61, + 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, + 0x74, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, + 0x65, 0x72, 0x52, 0x06, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x75, + 0x72, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x63, 0x75, 0x72, + 0x72, 0x65, 0x6e, 0x74, 0x22, 0x54, 0x0a, 0x14, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, + 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x22, 0x0a, 0x0c, + 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, + 0x12, 0x18, 0x0a, 0x07, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x07, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x22, 0x7b, 0x0a, 0x1d, 0x43, 0x6f, + 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4d, + 0x65, 0x74, 0x72, 0x69, 0x63, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x22, 0x0a, 0x0c, 0x72, + 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, + 0x18, 0x0a, 0x07, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x07, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6f, 0x6e, + 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6f, + 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x22, 0x71, 0x0a, 0x14, 0x45, 0x78, 0x74, 0x65, 0x72, + 0x6e, 0x61, 0x6c, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, + 0x3f, 0x0a, 0x06, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x27, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, + 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x49, 0x64, + 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, 0x06, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, + 0x12, 0x18, 0x0a, 0x07, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x07, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x22, 0xb6, 0x01, 0x0a, 0x0d, 0x4e, + 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x3b, 0x0a, 0x08, + 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, + 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, + 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, + 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x3c, 0x0a, 0x04, 0x73, 0x70, 0x65, + 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, + 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, + 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x53, 0x70, 0x65, + 0x63, 0x52, 0x04, 0x73, 0x70, 0x65, 0x63, 0x12, 0x16, 0x0a, 0x04, 0x79, 0x61, 0x6d, 0x6c, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x02, 0x18, 0x01, 0x52, 0x04, 0x79, 0x61, 0x6d, 0x6c, 0x12, + 0x12, 0x0a, 0x04, 0x74, 0x61, 0x67, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x74, + 0x61, 0x67, 0x73, 0x22, 0x97, 0x02, 0x0a, 0x11, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x50, + 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x53, 0x70, 0x65, 0x63, 0x12, 0x4d, 0x0a, 0x09, 0x73, 0x65, 0x6c, + 0x65, 0x63, 0x74, 0x6f, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x64, + 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, + 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, + 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x09, 0x73, + 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x73, 0x12, 0x49, 0x0a, 0x07, 0x69, 0x6e, 0x67, 0x72, + 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x64, 0x61, 0x74, 0x61, + 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, + 0x74, 0x2e, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, + 0x6e, 0x67, 0x72, 0x65, 0x73, 0x73, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x07, 0x69, 0x6e, 0x67, 0x72, + 0x65, 0x73, 0x73, 0x12, 0x46, 0x0a, 0x06, 0x65, 0x67, 0x72, 0x65, 0x73, 0x73, 0x18, 0x03, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, + 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x4e, 0x65, 0x74, 0x77, + 0x6f, 0x72, 0x6b, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x52, + 0x75, 0x6c, 0x65, 0x52, 0x06, 0x65, 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x70, + 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x54, 0x79, 0x70, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, + 0x52, 0x0b, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x54, 0x79, 0x70, 0x65, 0x73, 0x22, 0x42, 0x0a, + 0x14, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x50, + 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x69, 0x64, 0x72, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x69, 0x64, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x78, 0x63, + 0x65, 0x70, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x65, 0x78, 0x63, 0x65, 0x70, + 0x74, 0x22, 0x98, 0x01, 0x0a, 0x18, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x50, 0x6f, 0x6c, + 0x69, 0x63, 0x79, 0x49, 0x6e, 0x67, 0x72, 0x65, 0x73, 0x73, 0x52, 0x75, 0x6c, 0x65, 0x12, 0x3e, + 0x0a, 0x05, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, + 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, + 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x50, 0x6f, 0x6c, + 0x69, 0x63, 0x79, 0x50, 0x6f, 0x72, 0x74, 0x52, 0x05, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x12, 0x3c, + 0x0a, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x64, + 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, + 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x50, 0x6f, 0x6c, 0x69, + 0x63, 0x79, 0x50, 0x65, 0x65, 0x72, 0x52, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x22, 0x93, 0x01, 0x0a, + 0x17, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x45, 0x67, + 0x72, 0x65, 0x73, 0x73, 0x52, 0x75, 0x6c, 0x65, 0x12, 0x3e, 0x0a, 0x05, 0x70, 0x6f, 0x72, 0x74, + 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, + 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, + 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x50, 0x6f, 0x72, + 0x74, 0x52, 0x05, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x12, 0x38, 0x0a, 0x02, 0x74, 0x6f, 0x18, 0x02, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, + 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x4e, 0x65, 0x74, + 0x77, 0x6f, 0x72, 0x6b, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x50, 0x65, 0x65, 0x72, 0x52, 0x02, + 0x74, 0x6f, 0x22, 0xe8, 0x02, 0x0a, 0x11, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x50, 0x6f, + 0x6c, 0x69, 0x63, 0x79, 0x50, 0x65, 0x65, 0x72, 0x12, 0x51, 0x0a, 0x0b, 0x70, 0x6f, 0x64, 0x53, + 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2f, 0x2e, + 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, + 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x53, 0x65, 0x6c, 0x65, 0x63, + 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x0b, + 0x70, 0x6f, 0x64, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x12, 0x5d, 0x0a, 0x11, 0x6e, + 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, + 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, + 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x4c, + 0x61, 0x62, 0x65, 0x6c, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, + 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x11, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x12, 0x45, 0x0a, 0x07, 0x69, 0x70, + 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x64, 0x61, + 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, + 0x65, 0x6e, 0x74, 0x2e, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x50, 0x6f, 0x6c, 0x69, 0x63, + 0x79, 0x49, 0x50, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x07, 0x69, 0x70, 0x42, 0x6c, 0x6f, 0x63, + 0x6b, 0x12, 0x26, 0x0a, 0x0e, 0x68, 0x61, 0x73, 0x50, 0x6f, 0x64, 0x53, 0x65, 0x6c, 0x65, 0x63, + 0x74, 0x6f, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x68, 0x61, 0x73, 0x50, 0x6f, + 0x64, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x12, 0x32, 0x0a, 0x14, 0x68, 0x61, 0x73, + 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, + 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x14, 0x68, 0x61, 0x73, 0x4e, 0x61, 0x6d, 0x65, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x22, 0x5d, 0x0a, + 0x11, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x50, 0x6f, + 0x72, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0x12, + 0x0a, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x70, 0x6f, + 0x72, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x6e, 0x64, 0x50, 0x6f, 0x72, 0x74, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x50, 0x6f, 0x72, 0x74, 0x22, 0xb8, 0x01, 0x0a, + 0x0a, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x3b, 0x0a, 0x08, 0x6d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, + 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, + 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x08, + 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x39, 0x0a, 0x04, 0x73, 0x70, 0x65, 0x63, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, + 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x4c, + 0x69, 0x6d, 0x69, 0x74, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x53, 0x70, 0x65, 0x63, 0x52, 0x04, 0x73, + 0x70, 0x65, 0x63, 0x12, 0x1e, 0x0a, 0x0a, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x54, 0x79, 0x70, 0x65, + 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x54, 0x79, + 0x70, 0x65, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x61, 0x67, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, + 0x09, 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x22, 0x4f, 0x0a, 0x0e, 0x4c, 0x69, 0x6d, 0x69, 0x74, + 0x52, 0x61, 0x6e, 0x67, 0x65, 0x53, 0x70, 0x65, 0x63, 0x12, 0x3d, 0x0a, 0x06, 0x6c, 0x69, 0x6d, + 0x69, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x64, 0x61, 0x74, 0x61, + 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, + 0x74, 0x2e, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x49, 0x74, 0x65, 0x6d, + 0x52, 0x06, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x22, 0x86, 0x06, 0x0a, 0x0e, 0x4c, 0x69, 0x6d, + 0x69, 0x74, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x12, 0x0a, 0x04, 0x74, + 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, + 0x4c, 0x0a, 0x07, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x32, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, + 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x52, 0x61, + 0x6e, 0x67, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x2e, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x45, + 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x12, 0x61, 0x0a, + 0x0e, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, + 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, + 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x4c, 0x69, + 0x6d, 0x69, 0x74, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x2e, 0x44, 0x65, 0x66, + 0x61, 0x75, 0x6c, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, + 0x52, 0x0e, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x40, 0x0a, 0x03, 0x6d, 0x61, 0x78, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e, 0x2e, + 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, + 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x52, 0x61, 0x6e, 0x67, 0x65, + 0x49, 0x74, 0x65, 0x6d, 0x2e, 0x4d, 0x61, 0x78, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x03, 0x6d, + 0x61, 0x78, 0x12, 0x40, 0x0a, 0x03, 0x6d, 0x69, 0x6e, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x2e, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, + 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x52, 0x61, 0x6e, + 0x67, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x2e, 0x4d, 0x69, 0x6e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, + 0x03, 0x6d, 0x69, 0x6e, 0x12, 0x73, 0x0a, 0x14, 0x6d, 0x61, 0x78, 0x4c, 0x69, 0x6d, 0x69, 0x74, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x61, 0x74, 0x69, 0x6f, 0x18, 0x06, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x3f, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, + 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x4c, 0x69, 0x6d, 0x69, 0x74, + 0x52, 0x61, 0x6e, 0x67, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x2e, 0x4d, 0x61, 0x78, 0x4c, 0x69, 0x6d, + 0x69, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x61, 0x74, 0x69, 0x6f, 0x45, 0x6e, + 0x74, 0x72, 0x79, 0x52, 0x14, 0x6d, 0x61, 0x78, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x52, 0x61, 0x74, 0x69, 0x6f, 0x1a, 0x3a, 0x0a, 0x0c, 0x44, 0x65, 0x66, + 0x61, 0x75, 0x6c, 0x74, 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, 0x03, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x41, 0x0a, 0x13, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 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, 0x03, 0x52, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x36, 0x0a, 0x08, 0x4d, 0x61, 0x78, 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, 0x03, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, + 0x1a, 0x36, 0x0a, 0x08, 0x4d, 0x69, 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, 0x14, + 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x47, 0x0a, 0x19, 0x4d, 0x61, 0x78, 0x4c, + 0x69, 0x6d, 0x69, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x61, 0x74, 0x69, 0x6f, + 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, 0x03, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, + 0x01, 0x22, 0x9e, 0x04, 0x0a, 0x0c, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x43, 0x6c, 0x61, + 0x73, 0x73, 0x12, 0x3b, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, + 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x4d, 0x65, 0x74, + 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, + 0x20, 0x0a, 0x0b, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x72, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x65, + 0x72, 0x12, 0x53, 0x0a, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x18, + 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, + 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x53, 0x74, + 0x6f, 0x72, 0x61, 0x67, 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, + 0x65, 0x74, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x70, 0x61, 0x72, 0x61, + 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x24, 0x0a, 0x0d, 0x72, 0x65, 0x63, 0x6c, 0x61, 0x69, + 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x72, + 0x65, 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x22, 0x0a, 0x0c, + 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x05, 0x20, 0x03, + 0x28, 0x09, 0x52, 0x0c, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x12, 0x32, 0x0a, 0x14, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x45, + 0x78, 0x70, 0x61, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x14, + 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x45, 0x78, 0x70, 0x61, 0x6e, + 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x5b, 0x0a, 0x11, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x54, + 0x6f, 0x70, 0x6f, 0x6c, 0x6f, 0x67, 0x69, 0x65, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x2d, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, + 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x43, + 0x6c, 0x61, 0x73, 0x73, 0x54, 0x6f, 0x70, 0x6f, 0x6c, 0x6f, 0x67, 0x69, 0x65, 0x73, 0x52, 0x11, + 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x54, 0x6f, 0x70, 0x6f, 0x6c, 0x6f, 0x67, 0x69, 0x65, + 0x73, 0x12, 0x2c, 0x0a, 0x11, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x42, 0x69, 0x6e, 0x64, 0x69, + 0x6e, 0x67, 0x4d, 0x6f, 0x64, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x76, 0x6f, + 0x6c, 0x75, 0x6d, 0x65, 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x4d, 0x6f, 0x64, 0x65, 0x12, + 0x12, 0x0a, 0x04, 0x74, 0x61, 0x67, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x74, + 0x61, 0x67, 0x73, 0x1a, 0x3d, 0x0a, 0x0f, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, + 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, 0x6e, 0x0a, 0x16, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x43, 0x6c, 0x61, + 0x73, 0x73, 0x54, 0x6f, 0x70, 0x6f, 0x6c, 0x6f, 0x67, 0x69, 0x65, 0x73, 0x12, 0x54, 0x0a, 0x0e, + 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x73, 0x18, 0x01, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, + 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x54, 0x6f, 0x70, + 0x6f, 0x6c, 0x6f, 0x67, 0x79, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, + 0x6f, 0x72, 0x52, 0x0e, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, + 0x72, 0x73, 0x22, 0x41, 0x0a, 0x15, 0x54, 0x6f, 0x70, 0x6f, 0x6c, 0x6f, 0x67, 0x79, 0x4c, 0x61, + 0x62, 0x65, 0x6c, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x12, 0x10, 0x0a, 0x03, 0x6b, + 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x16, 0x0a, + 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x73, 0x2a, 0x45, 0x0a, 0x11, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, + 0x65, 0x72, 0x48, 0x6f, 0x73, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x10, 0x0a, 0x0c, 0x6e, 0x6f, + 0x74, 0x53, 0x70, 0x65, 0x63, 0x69, 0x66, 0x69, 0x65, 0x64, 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, + 0x66, 0x61, 0x72, 0x67, 0x61, 0x74, 0x65, 0x45, 0x43, 0x53, 0x10, 0x01, 0x12, 0x0e, 0x0a, 0x0a, + 0x66, 0x61, 0x72, 0x67, 0x61, 0x74, 0x65, 0x45, 0x4b, 0x53, 0x10, 0x02, 0x2a, 0x69, 0x0a, 0x0e, + 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x0b, + 0x0a, 0x07, 0x75, 0x6e, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x63, + 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x10, 0x01, 0x12, 0x0e, 0x0a, 0x0a, 0x72, 0x65, 0x73, 0x74, + 0x61, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x10, 0x02, 0x12, 0x0b, 0x0a, 0x07, 0x72, 0x75, 0x6e, 0x6e, + 0x69, 0x6e, 0x67, 0x10, 0x03, 0x12, 0x0a, 0x0a, 0x06, 0x70, 0x61, 0x75, 0x73, 0x65, 0x64, 0x10, + 0x04, 0x12, 0x0a, 0x0a, 0x06, 0x65, 0x78, 0x69, 0x74, 0x65, 0x64, 0x10, 0x05, 0x12, 0x08, 0x0a, + 0x04, 0x64, 0x65, 0x61, 0x64, 0x10, 0x06, 0x2a, 0x4e, 0x0a, 0x0f, 0x43, 0x6f, 0x6e, 0x74, 0x61, + 0x69, 0x6e, 0x65, 0x72, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x12, 0x11, 0x0a, 0x0d, 0x75, 0x6e, + 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x10, 0x00, 0x12, 0x0c, 0x0a, + 0x08, 0x73, 0x74, 0x61, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x68, + 0x65, 0x61, 0x6c, 0x74, 0x68, 0x79, 0x10, 0x02, 0x12, 0x0d, 0x0a, 0x09, 0x75, 0x6e, 0x68, 0x65, + 0x61, 0x6c, 0x74, 0x68, 0x79, 0x10, 0x03, 0x2a, 0x46, 0x0a, 0x0c, 0x50, 0x72, 0x6f, 0x63, 0x65, + 0x73, 0x73, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x05, 0x0a, 0x01, 0x55, 0x10, 0x00, 0x12, 0x05, + 0x0a, 0x01, 0x44, 0x10, 0x01, 0x12, 0x05, 0x0a, 0x01, 0x52, 0x10, 0x02, 0x12, 0x05, 0x0a, 0x01, + 0x53, 0x10, 0x03, 0x12, 0x05, 0x0a, 0x01, 0x54, 0x10, 0x04, 0x12, 0x05, 0x0a, 0x01, 0x57, 0x10, + 0x05, 0x12, 0x05, 0x0a, 0x01, 0x58, 0x10, 0x06, 0x12, 0x05, 0x0a, 0x01, 0x5a, 0x10, 0x07, 0x2a, + 0x22, 0x0a, 0x0e, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, + 0x65, 0x12, 0x07, 0x0a, 0x03, 0x74, 0x63, 0x70, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x75, 0x64, + 0x70, 0x10, 0x01, 0x2a, 0xf0, 0x03, 0x0a, 0x14, 0x4f, 0x72, 0x63, 0x68, 0x65, 0x73, 0x74, 0x72, + 0x61, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x24, 0x0a, 0x20, + 0x4f, 0x72, 0x63, 0x68, 0x65, 0x73, 0x74, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, + 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x50, 0x4f, 0x44, 0x10, 0x01, 0x12, 0x0e, 0x0a, 0x0a, 0x52, + 0x45, 0x50, 0x4c, 0x49, 0x43, 0x41, 0x53, 0x45, 0x54, 0x10, 0x02, 0x12, 0x0b, 0x0a, 0x07, 0x53, + 0x45, 0x52, 0x56, 0x49, 0x43, 0x45, 0x10, 0x03, 0x12, 0x08, 0x0a, 0x04, 0x4e, 0x4f, 0x44, 0x45, + 0x10, 0x04, 0x12, 0x0b, 0x0a, 0x07, 0x43, 0x4c, 0x55, 0x53, 0x54, 0x45, 0x52, 0x10, 0x05, 0x12, + 0x07, 0x0a, 0x03, 0x4a, 0x4f, 0x42, 0x10, 0x06, 0x12, 0x0b, 0x0a, 0x07, 0x43, 0x52, 0x4f, 0x4e, + 0x4a, 0x4f, 0x42, 0x10, 0x07, 0x12, 0x0d, 0x0a, 0x09, 0x44, 0x41, 0x45, 0x4d, 0x4f, 0x4e, 0x53, + 0x45, 0x54, 0x10, 0x08, 0x12, 0x0f, 0x0a, 0x0b, 0x53, 0x54, 0x41, 0x54, 0x45, 0x46, 0x55, 0x4c, + 0x53, 0x45, 0x54, 0x10, 0x09, 0x12, 0x14, 0x0a, 0x10, 0x50, 0x45, 0x52, 0x53, 0x49, 0x53, 0x54, + 0x45, 0x4e, 0x54, 0x56, 0x4f, 0x4c, 0x55, 0x4d, 0x45, 0x10, 0x0a, 0x12, 0x19, 0x0a, 0x15, 0x50, + 0x45, 0x52, 0x53, 0x49, 0x53, 0x54, 0x45, 0x4e, 0x54, 0x56, 0x4f, 0x4c, 0x55, 0x4d, 0x45, 0x43, + 0x4c, 0x41, 0x49, 0x4d, 0x10, 0x0b, 0x12, 0x08, 0x0a, 0x04, 0x52, 0x4f, 0x4c, 0x45, 0x10, 0x0c, + 0x12, 0x0f, 0x0a, 0x0b, 0x52, 0x4f, 0x4c, 0x45, 0x42, 0x49, 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x10, + 0x0d, 0x12, 0x0f, 0x0a, 0x0b, 0x43, 0x4c, 0x55, 0x53, 0x54, 0x45, 0x52, 0x52, 0x4f, 0x4c, 0x45, + 0x10, 0x0e, 0x12, 0x16, 0x0a, 0x12, 0x43, 0x4c, 0x55, 0x53, 0x54, 0x45, 0x52, 0x52, 0x4f, 0x4c, + 0x45, 0x42, 0x49, 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x10, 0x0f, 0x12, 0x12, 0x0a, 0x0e, 0x53, 0x45, + 0x52, 0x56, 0x49, 0x43, 0x45, 0x41, 0x43, 0x43, 0x4f, 0x55, 0x4e, 0x54, 0x10, 0x10, 0x12, 0x0b, + 0x0a, 0x07, 0x49, 0x4e, 0x47, 0x52, 0x45, 0x53, 0x53, 0x10, 0x11, 0x12, 0x0e, 0x0a, 0x0a, 0x44, + 0x45, 0x50, 0x4c, 0x4f, 0x59, 0x4d, 0x45, 0x4e, 0x54, 0x10, 0x12, 0x12, 0x0d, 0x0a, 0x09, 0x4e, + 0x41, 0x4d, 0x45, 0x53, 0x50, 0x41, 0x43, 0x45, 0x10, 0x13, 0x12, 0x07, 0x0a, 0x03, 0x43, 0x52, + 0x44, 0x10, 0x14, 0x12, 0x06, 0x0a, 0x02, 0x43, 0x52, 0x10, 0x15, 0x12, 0x19, 0x0a, 0x15, 0x56, + 0x45, 0x52, 0x54, 0x49, 0x43, 0x41, 0x4c, 0x50, 0x4f, 0x44, 0x41, 0x55, 0x54, 0x4f, 0x53, 0x43, + 0x41, 0x4c, 0x45, 0x52, 0x10, 0x16, 0x12, 0x1b, 0x0a, 0x17, 0x48, 0x4f, 0x52, 0x49, 0x5a, 0x4f, + 0x4e, 0x54, 0x41, 0x4c, 0x50, 0x4f, 0x44, 0x41, 0x55, 0x54, 0x4f, 0x53, 0x43, 0x41, 0x4c, 0x45, + 0x52, 0x10, 0x17, 0x12, 0x11, 0x0a, 0x0d, 0x4e, 0x45, 0x54, 0x57, 0x4f, 0x52, 0x4b, 0x50, 0x4f, + 0x4c, 0x49, 0x43, 0x59, 0x10, 0x18, 0x12, 0x0e, 0x0a, 0x0a, 0x4c, 0x49, 0x4d, 0x49, 0x54, 0x52, + 0x41, 0x4e, 0x47, 0x45, 0x10, 0x19, 0x12, 0x10, 0x0a, 0x0c, 0x53, 0x54, 0x4f, 0x52, 0x41, 0x47, + 0x45, 0x43, 0x4c, 0x41, 0x53, 0x53, 0x10, 0x1a, 0x12, 0x0c, 0x0a, 0x07, 0x45, 0x43, 0x53, 0x54, + 0x41, 0x53, 0x4b, 0x10, 0x96, 0x01, 0x2a, 0x65, 0x0a, 0x18, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x54, 0x79, + 0x70, 0x65, 0x12, 0x0f, 0x0a, 0x0b, 0x75, 0x6e, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x54, 0x79, 0x70, + 0x65, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, + 0x10, 0x01, 0x12, 0x11, 0x0a, 0x0d, 0x69, 0x6e, 0x69, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, + 0x6e, 0x65, 0x72, 0x10, 0x02, 0x12, 0x16, 0x0a, 0x12, 0x65, 0x70, 0x68, 0x65, 0x6d, 0x65, 0x72, + 0x61, 0x6c, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x10, 0x03, 0x2a, 0xed, 0x01, + 0x0a, 0x11, 0x50, 0x6f, 0x73, 0x74, 0x67, 0x72, 0x65, 0x73, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x12, 0x15, 0x0a, 0x11, 0x50, 0x6f, 0x73, 0x74, 0x67, 0x72, 0x65, 0x73, 0x55, + 0x6e, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x4f, 0x70, 0x10, 0x00, 0x12, 0x14, 0x0a, 0x10, 0x50, 0x6f, + 0x73, 0x74, 0x67, 0x72, 0x65, 0x73, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x4f, 0x70, 0x10, 0x01, + 0x12, 0x14, 0x0a, 0x10, 0x50, 0x6f, 0x73, 0x74, 0x67, 0x72, 0x65, 0x73, 0x49, 0x6e, 0x73, 0x65, + 0x72, 0x74, 0x4f, 0x70, 0x10, 0x02, 0x12, 0x14, 0x0a, 0x10, 0x50, 0x6f, 0x73, 0x74, 0x67, 0x72, + 0x65, 0x73, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4f, 0x70, 0x10, 0x03, 0x12, 0x14, 0x0a, 0x10, + 0x50, 0x6f, 0x73, 0x74, 0x67, 0x72, 0x65, 0x73, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4f, 0x70, + 0x10, 0x04, 0x12, 0x13, 0x0a, 0x0f, 0x50, 0x6f, 0x73, 0x74, 0x67, 0x72, 0x65, 0x73, 0x41, 0x6c, + 0x74, 0x65, 0x72, 0x4f, 0x70, 0x10, 0x05, 0x12, 0x14, 0x0a, 0x10, 0x50, 0x6f, 0x73, 0x74, 0x67, + 0x72, 0x65, 0x73, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x70, 0x10, 0x06, 0x12, 0x12, 0x0a, + 0x0e, 0x50, 0x6f, 0x73, 0x74, 0x67, 0x72, 0x65, 0x73, 0x44, 0x72, 0x6f, 0x70, 0x4f, 0x70, 0x10, + 0x07, 0x12, 0x16, 0x0a, 0x12, 0x50, 0x6f, 0x73, 0x74, 0x67, 0x72, 0x65, 0x73, 0x54, 0x72, 0x75, + 0x6e, 0x63, 0x61, 0x74, 0x65, 0x4f, 0x70, 0x10, 0x08, 0x12, 0x12, 0x0a, 0x0e, 0x50, 0x6f, 0x73, + 0x74, 0x67, 0x72, 0x65, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x4f, 0x70, 0x10, 0x09, 0x2a, 0x57, 0x0a, + 0x12, 0x48, 0x54, 0x54, 0x50, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x53, 0x74, 0x61, + 0x74, 0x75, 0x73, 0x12, 0x08, 0x0a, 0x04, 0x49, 0x6e, 0x66, 0x6f, 0x10, 0x00, 0x12, 0x0b, 0x0a, + 0x07, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x52, 0x65, + 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x10, 0x02, 0x12, 0x0d, 0x0a, 0x09, 0x43, 0x6c, 0x69, 0x65, + 0x6e, 0x74, 0x45, 0x72, 0x72, 0x10, 0x03, 0x12, 0x0d, 0x0a, 0x09, 0x53, 0x65, 0x72, 0x76, 0x65, + 0x72, 0x45, 0x72, 0x72, 0x10, 0x04, 0x2a, 0x6e, 0x0a, 0x0a, 0x48, 0x54, 0x54, 0x50, 0x4d, 0x65, + 0x74, 0x68, 0x6f, 0x64, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x6e, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x10, + 0x00, 0x12, 0x07, 0x0a, 0x03, 0x47, 0x65, 0x74, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x50, 0x6f, + 0x73, 0x74, 0x10, 0x02, 0x12, 0x07, 0x0a, 0x03, 0x50, 0x75, 0x74, 0x10, 0x03, 0x12, 0x0a, 0x0a, + 0x06, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x10, 0x04, 0x12, 0x08, 0x0a, 0x04, 0x48, 0x65, 0x61, + 0x64, 0x10, 0x05, 0x12, 0x0b, 0x0a, 0x07, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x10, 0x06, + 0x12, 0x09, 0x0a, 0x05, 0x50, 0x61, 0x74, 0x63, 0x68, 0x10, 0x07, 0x12, 0x09, 0x0a, 0x05, 0x54, + 0x72, 0x61, 0x63, 0x65, 0x10, 0x08, 0x42, 0x2d, 0x5a, 0x2b, 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, 0x70, 0x72, + 0x6f, 0x63, 0x65, 0x73, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } -func (m *StorageClassTopologies) Unmarshal(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 ErrIntOverflowAgent - } - 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: StorageClassTopologies: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: StorageClassTopologies: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field LabelSelectors", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.LabelSelectors = append(m.LabelSelectors, &TopologyLabelSelector{}) - if err := m.LabelSelectors[len(m.LabelSelectors)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *TopologyLabelSelector) Unmarshal(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 ErrIntOverflowAgent - } - 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: TopologyLabelSelector: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: TopologyLabelSelector: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Key = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Values", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - 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 ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Values = append(m.Values, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } +var ( + file_proto_process_agent_proto_rawDescOnce sync.Once + file_proto_process_agent_proto_rawDescData = file_proto_process_agent_proto_rawDesc +) - if iNdEx > l { - return io.ErrUnexpectedEOF +func file_proto_process_agent_proto_rawDescGZIP() []byte { + file_proto_process_agent_proto_rawDescOnce.Do(func() { + file_proto_process_agent_proto_rawDescData = protoimpl.X.CompressGZIP(file_proto_process_agent_proto_rawDescData) + }) + return file_proto_process_agent_proto_rawDescData +} + +var file_proto_process_agent_proto_enumTypes = make([]protoimpl.EnumInfo, 11) +var file_proto_process_agent_proto_msgTypes = make([]protoimpl.MessageInfo, 230) +var file_proto_process_agent_proto_goTypes = []interface{}{ + (ContainerHostType)(0), // 0: datadog.process_agent.ContainerHostType + (ContainerState)(0), // 1: datadog.process_agent.ContainerState + (ContainerHealth)(0), // 2: datadog.process_agent.ContainerHealth + (ProcessState)(0), // 3: datadog.process_agent.ProcessState + (ConnectionType)(0), // 4: datadog.process_agent.ConnectionType + (OrchestratorResource)(0), // 5: datadog.process_agent.OrchestratorResource + (ResourceRequirementsType)(0), // 6: datadog.process_agent.ResourceRequirementsType + (PostgresOperation)(0), // 7: datadog.process_agent.PostgresOperation + (HTTPResponseStatus)(0), // 8: datadog.process_agent.HTTPResponseStatus + (HTTPMethod)(0), // 9: datadog.process_agent.HTTPMethod + (IntOrString_Type)(0), // 10: datadog.process_agent.IntOrString.Type + (*ResCollector)(nil), // 11: datadog.process_agent.ResCollector + (*CollectorProc)(nil), // 12: datadog.process_agent.CollectorProc + (*CollectorProcDiscovery)(nil), // 13: datadog.process_agent.CollectorProcDiscovery + (*CollectorRealTime)(nil), // 14: datadog.process_agent.CollectorRealTime + (*CollectorContainer)(nil), // 15: datadog.process_agent.CollectorContainer + (*CollectorContainerRealTime)(nil), // 16: datadog.process_agent.CollectorContainerRealTime + (*CollectorReqStatus)(nil), // 17: datadog.process_agent.CollectorReqStatus + (*CollectorECSTask)(nil), // 18: datadog.process_agent.CollectorECSTask + (*ECSTask)(nil), // 19: datadog.process_agent.ECSTask + (*ECSContainer)(nil), // 20: datadog.process_agent.ECSContainer + (*ECSContainerNetwork)(nil), // 21: datadog.process_agent.ECSContainerNetwork + (*ECSContainerPort)(nil), // 22: datadog.process_agent.ECSContainerPort + (*ECSContainerVolume)(nil), // 23: datadog.process_agent.ECSContainerVolume + (*ECSContainerHealth)(nil), // 24: datadog.process_agent.ECSContainerHealth + (*ECSContainerExitCode)(nil), // 25: datadog.process_agent.ECSContainerExitCode + (*CollectorPod)(nil), // 26: datadog.process_agent.CollectorPod + (*CollectorPodDisruptionBudget)(nil), // 27: datadog.process_agent.CollectorPodDisruptionBudget + (*CollectorReplicaSet)(nil), // 28: datadog.process_agent.CollectorReplicaSet + (*CollectorDeployment)(nil), // 29: datadog.process_agent.CollectorDeployment + (*CollectorService)(nil), // 30: datadog.process_agent.CollectorService + (*CollectorNode)(nil), // 31: datadog.process_agent.CollectorNode + (*CollectorCluster)(nil), // 32: datadog.process_agent.CollectorCluster + (*CollectorManifest)(nil), // 33: datadog.process_agent.CollectorManifest + (*CollectorManifestCRD)(nil), // 34: datadog.process_agent.CollectorManifestCRD + (*CollectorManifestCR)(nil), // 35: datadog.process_agent.CollectorManifestCR + (*CollectorNamespace)(nil), // 36: datadog.process_agent.CollectorNamespace + (*CollectorJob)(nil), // 37: datadog.process_agent.CollectorJob + (*CollectorCronJob)(nil), // 38: datadog.process_agent.CollectorCronJob + (*CollectorDaemonSet)(nil), // 39: datadog.process_agent.CollectorDaemonSet + (*CollectorStatefulSet)(nil), // 40: datadog.process_agent.CollectorStatefulSet + (*CollectorPersistentVolume)(nil), // 41: datadog.process_agent.CollectorPersistentVolume + (*CollectorPersistentVolumeClaim)(nil), // 42: datadog.process_agent.CollectorPersistentVolumeClaim + (*CollectorRole)(nil), // 43: datadog.process_agent.CollectorRole + (*CollectorRoleBinding)(nil), // 44: datadog.process_agent.CollectorRoleBinding + (*CollectorClusterRole)(nil), // 45: datadog.process_agent.CollectorClusterRole + (*CollectorClusterRoleBinding)(nil), // 46: datadog.process_agent.CollectorClusterRoleBinding + (*CollectorServiceAccount)(nil), // 47: datadog.process_agent.CollectorServiceAccount + (*CollectorIngress)(nil), // 48: datadog.process_agent.CollectorIngress + (*CollectorVerticalPodAutoscaler)(nil), // 49: datadog.process_agent.CollectorVerticalPodAutoscaler + (*CollectorHorizontalPodAutoscaler)(nil), // 50: datadog.process_agent.CollectorHorizontalPodAutoscaler + (*CollectorNetworkPolicy)(nil), // 51: datadog.process_agent.CollectorNetworkPolicy + (*CollectorLimitRange)(nil), // 52: datadog.process_agent.CollectorLimitRange + (*CollectorStorageClass)(nil), // 53: datadog.process_agent.CollectorStorageClass + (*CollectorStatus)(nil), // 54: datadog.process_agent.CollectorStatus + (*Process)(nil), // 55: datadog.process_agent.Process + (*ProcessDiscovery)(nil), // 56: datadog.process_agent.ProcessDiscovery + (*Command)(nil), // 57: datadog.process_agent.Command + (*ProcessUser)(nil), // 58: datadog.process_agent.ProcessUser + (*ProcessNetworks)(nil), // 59: datadog.process_agent.ProcessNetworks + (*ContainerAddr)(nil), // 60: datadog.process_agent.ContainerAddr + (*Container)(nil), // 61: datadog.process_agent.Container + (*ProcessStat)(nil), // 62: datadog.process_agent.ProcessStat + (*ProcStatsWithPerm)(nil), // 63: datadog.process_agent.ProcStatsWithPerm + (*ProcStatsWithPermByPID)(nil), // 64: datadog.process_agent.ProcStatsWithPermByPID + (*ContainerStat)(nil), // 65: datadog.process_agent.ContainerStat + (*SystemInfo)(nil), // 66: datadog.process_agent.SystemInfo + (*OSInfo)(nil), // 67: datadog.process_agent.OSInfo + (*IOStat)(nil), // 68: datadog.process_agent.IOStat + (*MemoryStat)(nil), // 69: datadog.process_agent.MemoryStat + (*CPUStat)(nil), // 70: datadog.process_agent.CPUStat + (*SingleCPUStat)(nil), // 71: datadog.process_agent.SingleCPUStat + (*CPUInfo)(nil), // 72: datadog.process_agent.CPUInfo + (*Host)(nil), // 73: datadog.process_agent.Host + (*Cluster)(nil), // 74: datadog.process_agent.Cluster + (*Metadata)(nil), // 75: datadog.process_agent.Metadata + (*OwnerReference)(nil), // 76: datadog.process_agent.OwnerReference + (*ObjectReference)(nil), // 77: datadog.process_agent.ObjectReference + (*ServicePort)(nil), // 78: datadog.process_agent.ServicePort + (*ServiceSessionAffinityConfig)(nil), // 79: datadog.process_agent.ServiceSessionAffinityConfig + (*Node)(nil), // 80: datadog.process_agent.Node + (*NodeStatus)(nil), // 81: datadog.process_agent.NodeStatus + (*NodeCondition)(nil), // 82: datadog.process_agent.NodeCondition + (*ContainerImage)(nil), // 83: datadog.process_agent.ContainerImage + (*Taint)(nil), // 84: datadog.process_agent.Taint + (*ServiceSpec)(nil), // 85: datadog.process_agent.ServiceSpec + (*ServiceStatus)(nil), // 86: datadog.process_agent.ServiceStatus + (*Service)(nil), // 87: datadog.process_agent.Service + (*DeploymentCondition)(nil), // 88: datadog.process_agent.DeploymentCondition + (*Deployment)(nil), // 89: datadog.process_agent.Deployment + (*ReplicaSetCondition)(nil), // 90: datadog.process_agent.ReplicaSetCondition + (*ReplicaSet)(nil), // 91: datadog.process_agent.ReplicaSet + (*LabelSelectorRequirement)(nil), // 92: datadog.process_agent.LabelSelectorRequirement + (*PodDisruptionBudget)(nil), // 93: datadog.process_agent.PodDisruptionBudget + (*PodDisruptionBudgetSpec)(nil), // 94: datadog.process_agent.PodDisruptionBudgetSpec + (*PodDisruptionBudgetStatus)(nil), // 95: datadog.process_agent.PodDisruptionBudgetStatus + (*IntOrString)(nil), // 96: datadog.process_agent.IntOrString + (*Condition)(nil), // 97: datadog.process_agent.Condition + (*Pod)(nil), // 98: datadog.process_agent.Pod + (*PodCondition)(nil), // 99: datadog.process_agent.PodCondition + (*ContainerStatus)(nil), // 100: datadog.process_agent.ContainerStatus + (*Manifest)(nil), // 101: datadog.process_agent.Manifest + (*NamespaceCondition)(nil), // 102: datadog.process_agent.NamespaceCondition + (*Namespace)(nil), // 103: datadog.process_agent.Namespace + (*ResourceRequirements)(nil), // 104: datadog.process_agent.ResourceRequirements + (*ResourceMetrics)(nil), // 105: datadog.process_agent.ResourceMetrics + (*JobSpec)(nil), // 106: datadog.process_agent.JobSpec + (*JobStatus)(nil), // 107: datadog.process_agent.JobStatus + (*JobCondition)(nil), // 108: datadog.process_agent.JobCondition + (*Job)(nil), // 109: datadog.process_agent.Job + (*CronJobSpec)(nil), // 110: datadog.process_agent.CronJobSpec + (*CronJobStatus)(nil), // 111: datadog.process_agent.CronJobStatus + (*CronJob)(nil), // 112: datadog.process_agent.CronJob + (*DaemonSetSpec)(nil), // 113: datadog.process_agent.DaemonSetSpec + (*DaemonSetStatus)(nil), // 114: datadog.process_agent.DaemonSetStatus + (*DaemonSetCondition)(nil), // 115: datadog.process_agent.DaemonSetCondition + (*DaemonSet)(nil), // 116: datadog.process_agent.DaemonSet + (*StatefulSetSpec)(nil), // 117: datadog.process_agent.StatefulSetSpec + (*StatefulSetStatus)(nil), // 118: datadog.process_agent.StatefulSetStatus + (*StatefulSetCondition)(nil), // 119: datadog.process_agent.StatefulSetCondition + (*StatefulSet)(nil), // 120: datadog.process_agent.StatefulSet + (*PersistentVolume)(nil), // 121: datadog.process_agent.PersistentVolume + (*PersistentVolumeSpec)(nil), // 122: datadog.process_agent.PersistentVolumeSpec + (*PersistentVolumeSource)(nil), // 123: datadog.process_agent.PersistentVolumeSource + (*GCEPersistentDiskVolumeSource)(nil), // 124: datadog.process_agent.GCEPersistentDiskVolumeSource + (*AWSElasticBlockStoreVolumeSource)(nil), // 125: datadog.process_agent.AWSElasticBlockStoreVolumeSource + (*AzureFilePersistentVolumeSource)(nil), // 126: datadog.process_agent.AzureFilePersistentVolumeSource + (*AzureDiskVolumeSource)(nil), // 127: datadog.process_agent.AzureDiskVolumeSource + (*CSIVolumeSource)(nil), // 128: datadog.process_agent.CSIVolumeSource + (*SecretReference)(nil), // 129: datadog.process_agent.SecretReference + (*PersistentVolumeStatus)(nil), // 130: datadog.process_agent.PersistentVolumeStatus + (*NodeSelectorTerm)(nil), // 131: datadog.process_agent.NodeSelectorTerm + (*PersistentVolumeClaim)(nil), // 132: datadog.process_agent.PersistentVolumeClaim + (*PersistentVolumeClaimStatus)(nil), // 133: datadog.process_agent.PersistentVolumeClaimStatus + (*PersistentVolumeClaimSpec)(nil), // 134: datadog.process_agent.PersistentVolumeClaimSpec + (*TypedLocalObjectReference)(nil), // 135: datadog.process_agent.TypedLocalObjectReference + (*PersistentVolumeClaimCondition)(nil), // 136: datadog.process_agent.PersistentVolumeClaimCondition + (*PolicyRule)(nil), // 137: datadog.process_agent.PolicyRule + (*Subject)(nil), // 138: datadog.process_agent.Subject + (*Role)(nil), // 139: datadog.process_agent.Role + (*RoleBinding)(nil), // 140: datadog.process_agent.RoleBinding + (*ClusterRole)(nil), // 141: datadog.process_agent.ClusterRole + (*ClusterRoleBinding)(nil), // 142: datadog.process_agent.ClusterRoleBinding + (*ServiceAccount)(nil), // 143: datadog.process_agent.ServiceAccount + (*IngressServiceBackend)(nil), // 144: datadog.process_agent.IngressServiceBackend + (*IngressBackend)(nil), // 145: datadog.process_agent.IngressBackend + (*IngressTLS)(nil), // 146: datadog.process_agent.IngressTLS + (*HTTPIngressPath)(nil), // 147: datadog.process_agent.HTTPIngressPath + (*IngressRule)(nil), // 148: datadog.process_agent.IngressRule + (*IngressSpec)(nil), // 149: datadog.process_agent.IngressSpec + (*PortStatus)(nil), // 150: datadog.process_agent.PortStatus + (*LoadBalancerIngress)(nil), // 151: datadog.process_agent.LoadBalancerIngress + (*IngressStatus)(nil), // 152: datadog.process_agent.IngressStatus + (*Ingress)(nil), // 153: datadog.process_agent.Ingress + (*KafkaStats)(nil), // 154: datadog.process_agent.KafkaStats + (*KafkaRequestHeader)(nil), // 155: datadog.process_agent.KafkaRequestHeader + (*KafkaAggregation)(nil), // 156: datadog.process_agent.KafkaAggregation + (*DataStreamsAggregations)(nil), // 157: datadog.process_agent.DataStreamsAggregations + (*PostgresStats)(nil), // 158: datadog.process_agent.PostgresStats + (*RedisStats)(nil), // 159: datadog.process_agent.RedisStats + (*DatabaseStats)(nil), // 160: datadog.process_agent.DatabaseStats + (*DatabaseAggregations)(nil), // 161: datadog.process_agent.DatabaseAggregations + (*HTTPAggregations)(nil), // 162: datadog.process_agent.HTTPAggregations + (*HTTP2Aggregations)(nil), // 163: datadog.process_agent.HTTP2Aggregations + (*HTTPStats)(nil), // 164: datadog.process_agent.HTTPStats + (*DNSDatabaseEntry)(nil), // 165: datadog.process_agent.DNSDatabaseEntry + (*ResourceList)(nil), // 166: datadog.process_agent.ResourceList + (*VerticalPodAutoscaler)(nil), // 167: datadog.process_agent.VerticalPodAutoscaler + (*VerticalPodAutoscalerCondition)(nil), // 168: datadog.process_agent.VerticalPodAutoscalerCondition + (*VerticalPodAutoscalerSpec)(nil), // 169: datadog.process_agent.VerticalPodAutoscalerSpec + (*VerticalPodAutoscalerTarget)(nil), // 170: datadog.process_agent.VerticalPodAutoscalerTarget + (*ContainerResourcePolicy)(nil), // 171: datadog.process_agent.ContainerResourcePolicy + (*VerticalPodAutoscalerStatus)(nil), // 172: datadog.process_agent.VerticalPodAutoscalerStatus + (*ContainerRecommendation)(nil), // 173: datadog.process_agent.ContainerRecommendation + (*VPACondition)(nil), // 174: datadog.process_agent.VPACondition + (*HorizontalPodAutoscaler)(nil), // 175: datadog.process_agent.HorizontalPodAutoscaler + (*HorizontalPodAutoscalerSpec)(nil), // 176: datadog.process_agent.HorizontalPodAutoscalerSpec + (*HorizontalPodAutoscalerTarget)(nil), // 177: datadog.process_agent.HorizontalPodAutoscalerTarget + (*HorizontalPodAutoscalerMetricSpec)(nil), // 178: datadog.process_agent.HorizontalPodAutoscalerMetricSpec + (*ObjectMetricSource)(nil), // 179: datadog.process_agent.ObjectMetricSource + (*MetricTarget)(nil), // 180: datadog.process_agent.MetricTarget + (*MetricIdentifier)(nil), // 181: datadog.process_agent.MetricIdentifier + (*PodsMetricSource)(nil), // 182: datadog.process_agent.PodsMetricSource + (*ResourceMetricSource)(nil), // 183: datadog.process_agent.ResourceMetricSource + (*ContainerResourceMetricSource)(nil), // 184: datadog.process_agent.ContainerResourceMetricSource + (*ExternalMetricSource)(nil), // 185: datadog.process_agent.ExternalMetricSource + (*HorizontalPodAutoscalerBehavior)(nil), // 186: datadog.process_agent.HorizontalPodAutoscalerBehavior + (*HPAScalingRules)(nil), // 187: datadog.process_agent.HPAScalingRules + (*HPAScalingPolicy)(nil), // 188: datadog.process_agent.HPAScalingPolicy + (*HorizontalPodAutoscalerStatus)(nil), // 189: datadog.process_agent.HorizontalPodAutoscalerStatus + (*HorizontalPodAutoscalerCondition)(nil), // 190: datadog.process_agent.HorizontalPodAutoscalerCondition + (*HorizontalPodAutoscalerMetricStatus)(nil), // 191: datadog.process_agent.HorizontalPodAutoscalerMetricStatus + (*ObjectMetricStatus)(nil), // 192: datadog.process_agent.ObjectMetricStatus + (*PodsMetricStatus)(nil), // 193: datadog.process_agent.PodsMetricStatus + (*ResourceMetricStatus)(nil), // 194: datadog.process_agent.ResourceMetricStatus + (*ContainerResourceMetricStatus)(nil), // 195: datadog.process_agent.ContainerResourceMetricStatus + (*ExternalMetricStatus)(nil), // 196: datadog.process_agent.ExternalMetricStatus + (*NetworkPolicy)(nil), // 197: datadog.process_agent.NetworkPolicy + (*NetworkPolicySpec)(nil), // 198: datadog.process_agent.NetworkPolicySpec + (*NetworkPolicyIPBlock)(nil), // 199: datadog.process_agent.NetworkPolicyIPBlock + (*NetworkPolicyIngressRule)(nil), // 200: datadog.process_agent.NetworkPolicyIngressRule + (*NetworkPolicyEgressRule)(nil), // 201: datadog.process_agent.NetworkPolicyEgressRule + (*NetworkPolicyPeer)(nil), // 202: datadog.process_agent.NetworkPolicyPeer + (*NetworkPolicyPort)(nil), // 203: datadog.process_agent.NetworkPolicyPort + (*LimitRange)(nil), // 204: datadog.process_agent.LimitRange + (*LimitRangeSpec)(nil), // 205: datadog.process_agent.LimitRangeSpec + (*LimitRangeItem)(nil), // 206: datadog.process_agent.LimitRangeItem + (*StorageClass)(nil), // 207: datadog.process_agent.StorageClass + (*StorageClassTopologies)(nil), // 208: datadog.process_agent.StorageClassTopologies + (*TopologyLabelSelector)(nil), // 209: datadog.process_agent.TopologyLabelSelector + (*ResCollector_Header)(nil), // 210: datadog.process_agent.ResCollector.Header + nil, // 211: datadog.process_agent.ECSTask.LimitsEntry + nil, // 212: datadog.process_agent.ECSTask.EphemeralStorageMetricsEntry + nil, // 213: datadog.process_agent.ECSContainer.LogOptionsEntry + nil, // 214: datadog.process_agent.ECSContainer.LimitsEntry + nil, // 215: datadog.process_agent.CollectorNode.HostAliasMappingEntry + nil, // 216: datadog.process_agent.ProcStatsWithPermByPID.StatsByPIDEntry + nil, // 217: datadog.process_agent.Cluster.KubeletVersionsEntry + nil, // 218: datadog.process_agent.Cluster.ApiServerVersionsEntry + nil, // 219: datadog.process_agent.Cluster.ExtendedResourcesAllocatableEntry + nil, // 220: datadog.process_agent.Cluster.ExtendedResourcesCapacityEntry + nil, // 221: datadog.process_agent.NodeStatus.CapacityEntry + nil, // 222: datadog.process_agent.NodeStatus.AllocatableEntry + nil, // 223: datadog.process_agent.NodeStatus.NodeAddressesEntry + nil, // 224: datadog.process_agent.PodDisruptionBudgetStatus.DisruptedPodsEntry + nil, // 225: datadog.process_agent.ResourceRequirements.LimitsEntry + nil, // 226: datadog.process_agent.ResourceRequirements.RequestsEntry + nil, // 227: datadog.process_agent.ResourceMetrics.MetricValuesEntry + nil, // 228: datadog.process_agent.PersistentVolumeSpec.CapacityEntry + nil, // 229: datadog.process_agent.CSIVolumeSource.VolumeAttributesEntry + nil, // 230: datadog.process_agent.PersistentVolumeClaimStatus.CapacityEntry + nil, // 231: datadog.process_agent.KafkaAggregation.StatsByErrorCodeEntry + nil, // 232: datadog.process_agent.HTTPStats.StatsByStatusCodeEntry + (*HTTPStats_Data)(nil), // 233: datadog.process_agent.HTTPStats.Data + nil, // 234: datadog.process_agent.ResourceList.MetricValuesEntry + nil, // 235: datadog.process_agent.LimitRangeItem.DefaultEntry + nil, // 236: datadog.process_agent.LimitRangeItem.DefaultRequestEntry + nil, // 237: datadog.process_agent.LimitRangeItem.MaxEntry + nil, // 238: datadog.process_agent.LimitRangeItem.MinEntry + nil, // 239: datadog.process_agent.LimitRangeItem.MaxLimitRequestRatioEntry + nil, // 240: datadog.process_agent.StorageClass.ParametersEntry +} +var file_proto_process_agent_proto_depIdxs = []int32{ + 210, // 0: datadog.process_agent.ResCollector.header:type_name -> datadog.process_agent.ResCollector.Header + 54, // 1: datadog.process_agent.ResCollector.status:type_name -> datadog.process_agent.CollectorStatus + 55, // 2: datadog.process_agent.CollectorProc.processes:type_name -> datadog.process_agent.Process + 73, // 3: datadog.process_agent.CollectorProc.host:type_name -> datadog.process_agent.Host + 66, // 4: datadog.process_agent.CollectorProc.info:type_name -> datadog.process_agent.SystemInfo + 61, // 5: datadog.process_agent.CollectorProc.containers:type_name -> datadog.process_agent.Container + 0, // 6: datadog.process_agent.CollectorProc.containerHostType:type_name -> datadog.process_agent.ContainerHostType + 56, // 7: datadog.process_agent.CollectorProcDiscovery.processDiscoveries:type_name -> datadog.process_agent.ProcessDiscovery + 73, // 8: datadog.process_agent.CollectorProcDiscovery.host:type_name -> datadog.process_agent.Host + 62, // 9: datadog.process_agent.CollectorRealTime.stats:type_name -> datadog.process_agent.ProcessStat + 65, // 10: datadog.process_agent.CollectorRealTime.containerStats:type_name -> datadog.process_agent.ContainerStat + 0, // 11: datadog.process_agent.CollectorRealTime.containerHostType:type_name -> datadog.process_agent.ContainerHostType + 66, // 12: datadog.process_agent.CollectorContainer.info:type_name -> datadog.process_agent.SystemInfo + 61, // 13: datadog.process_agent.CollectorContainer.containers:type_name -> datadog.process_agent.Container + 73, // 14: datadog.process_agent.CollectorContainer.host:type_name -> datadog.process_agent.Host + 0, // 15: datadog.process_agent.CollectorContainer.containerHostType:type_name -> datadog.process_agent.ContainerHostType + 65, // 16: datadog.process_agent.CollectorContainerRealTime.stats:type_name -> datadog.process_agent.ContainerStat + 0, // 17: datadog.process_agent.CollectorContainerRealTime.containerHostType:type_name -> datadog.process_agent.ContainerHostType + 19, // 18: datadog.process_agent.CollectorECSTask.tasks:type_name -> datadog.process_agent.ECSTask + 73, // 19: datadog.process_agent.CollectorECSTask.host:type_name -> datadog.process_agent.Host + 66, // 20: datadog.process_agent.CollectorECSTask.info:type_name -> datadog.process_agent.SystemInfo + 211, // 21: datadog.process_agent.ECSTask.limits:type_name -> datadog.process_agent.ECSTask.LimitsEntry + 212, // 22: datadog.process_agent.ECSTask.ephemeralStorageMetrics:type_name -> datadog.process_agent.ECSTask.EphemeralStorageMetricsEntry + 20, // 23: datadog.process_agent.ECSTask.containers:type_name -> datadog.process_agent.ECSContainer + 73, // 24: datadog.process_agent.ECSTask.host:type_name -> datadog.process_agent.Host + 25, // 25: datadog.process_agent.ECSContainer.exitCode:type_name -> datadog.process_agent.ECSContainerExitCode + 213, // 26: datadog.process_agent.ECSContainer.logOptions:type_name -> datadog.process_agent.ECSContainer.LogOptionsEntry + 22, // 27: datadog.process_agent.ECSContainer.ports:type_name -> datadog.process_agent.ECSContainerPort + 21, // 28: datadog.process_agent.ECSContainer.networks:type_name -> datadog.process_agent.ECSContainerNetwork + 23, // 29: datadog.process_agent.ECSContainer.volumes:type_name -> datadog.process_agent.ECSContainerVolume + 24, // 30: datadog.process_agent.ECSContainer.health:type_name -> datadog.process_agent.ECSContainerHealth + 214, // 31: datadog.process_agent.ECSContainer.limits:type_name -> datadog.process_agent.ECSContainer.LimitsEntry + 25, // 32: datadog.process_agent.ECSContainerHealth.exitCode:type_name -> datadog.process_agent.ECSContainerExitCode + 98, // 33: datadog.process_agent.CollectorPod.pods:type_name -> datadog.process_agent.Pod + 73, // 34: datadog.process_agent.CollectorPod.host:type_name -> datadog.process_agent.Host + 66, // 35: datadog.process_agent.CollectorPod.info:type_name -> datadog.process_agent.SystemInfo + 93, // 36: datadog.process_agent.CollectorPodDisruptionBudget.podDisruptionBudgets:type_name -> datadog.process_agent.PodDisruptionBudget + 91, // 37: datadog.process_agent.CollectorReplicaSet.replicaSets:type_name -> datadog.process_agent.ReplicaSet + 89, // 38: datadog.process_agent.CollectorDeployment.deployments:type_name -> datadog.process_agent.Deployment + 87, // 39: datadog.process_agent.CollectorService.services:type_name -> datadog.process_agent.Service + 80, // 40: datadog.process_agent.CollectorNode.nodes:type_name -> datadog.process_agent.Node + 215, // 41: datadog.process_agent.CollectorNode.hostAliasMapping:type_name -> datadog.process_agent.CollectorNode.HostAliasMappingEntry + 74, // 42: datadog.process_agent.CollectorCluster.cluster:type_name -> datadog.process_agent.Cluster + 101, // 43: datadog.process_agent.CollectorManifest.manifests:type_name -> datadog.process_agent.Manifest + 33, // 44: datadog.process_agent.CollectorManifestCRD.manifest:type_name -> datadog.process_agent.CollectorManifest + 33, // 45: datadog.process_agent.CollectorManifestCR.manifest:type_name -> datadog.process_agent.CollectorManifest + 103, // 46: datadog.process_agent.CollectorNamespace.namespaces:type_name -> datadog.process_agent.Namespace + 109, // 47: datadog.process_agent.CollectorJob.jobs:type_name -> datadog.process_agent.Job + 112, // 48: datadog.process_agent.CollectorCronJob.cronJobs:type_name -> datadog.process_agent.CronJob + 116, // 49: datadog.process_agent.CollectorDaemonSet.daemonSets:type_name -> datadog.process_agent.DaemonSet + 120, // 50: datadog.process_agent.CollectorStatefulSet.statefulSets:type_name -> datadog.process_agent.StatefulSet + 121, // 51: datadog.process_agent.CollectorPersistentVolume.persistentVolumes:type_name -> datadog.process_agent.PersistentVolume + 132, // 52: datadog.process_agent.CollectorPersistentVolumeClaim.persistentVolumeClaims:type_name -> datadog.process_agent.PersistentVolumeClaim + 139, // 53: datadog.process_agent.CollectorRole.roles:type_name -> datadog.process_agent.Role + 140, // 54: datadog.process_agent.CollectorRoleBinding.roleBindings:type_name -> datadog.process_agent.RoleBinding + 141, // 55: datadog.process_agent.CollectorClusterRole.clusterRoles:type_name -> datadog.process_agent.ClusterRole + 142, // 56: datadog.process_agent.CollectorClusterRoleBinding.clusterRoleBindings:type_name -> datadog.process_agent.ClusterRoleBinding + 143, // 57: datadog.process_agent.CollectorServiceAccount.serviceAccounts:type_name -> datadog.process_agent.ServiceAccount + 153, // 58: datadog.process_agent.CollectorIngress.ingresses:type_name -> datadog.process_agent.Ingress + 167, // 59: datadog.process_agent.CollectorVerticalPodAutoscaler.verticalPodAutoscalers:type_name -> datadog.process_agent.VerticalPodAutoscaler + 175, // 60: datadog.process_agent.CollectorHorizontalPodAutoscaler.horizontalPodAutoscalers:type_name -> datadog.process_agent.HorizontalPodAutoscaler + 197, // 61: datadog.process_agent.CollectorNetworkPolicy.networkPolicies:type_name -> datadog.process_agent.NetworkPolicy + 204, // 62: datadog.process_agent.CollectorLimitRange.limitRanges:type_name -> datadog.process_agent.LimitRange + 207, // 63: datadog.process_agent.CollectorStorageClass.storageClasses:type_name -> datadog.process_agent.StorageClass + 73, // 64: datadog.process_agent.Process.host:type_name -> datadog.process_agent.Host + 57, // 65: datadog.process_agent.Process.command:type_name -> datadog.process_agent.Command + 58, // 66: datadog.process_agent.Process.user:type_name -> datadog.process_agent.ProcessUser + 69, // 67: datadog.process_agent.Process.memory:type_name -> datadog.process_agent.MemoryStat + 70, // 68: datadog.process_agent.Process.cpu:type_name -> datadog.process_agent.CPUStat + 61, // 69: datadog.process_agent.Process.container:type_name -> datadog.process_agent.Container + 3, // 70: datadog.process_agent.Process.state:type_name -> datadog.process_agent.ProcessState + 68, // 71: datadog.process_agent.Process.ioStat:type_name -> datadog.process_agent.IOStat + 59, // 72: datadog.process_agent.Process.networks:type_name -> datadog.process_agent.ProcessNetworks + 73, // 73: datadog.process_agent.ProcessDiscovery.host:type_name -> datadog.process_agent.Host + 57, // 74: datadog.process_agent.ProcessDiscovery.command:type_name -> datadog.process_agent.Command + 58, // 75: datadog.process_agent.ProcessDiscovery.user:type_name -> datadog.process_agent.ProcessUser + 4, // 76: datadog.process_agent.ContainerAddr.protocol:type_name -> datadog.process_agent.ConnectionType + 1, // 77: datadog.process_agent.Container.state:type_name -> datadog.process_agent.ContainerState + 2, // 78: datadog.process_agent.Container.health:type_name -> datadog.process_agent.ContainerHealth + 73, // 79: datadog.process_agent.Container.host:type_name -> datadog.process_agent.Host + 60, // 80: datadog.process_agent.Container.addresses:type_name -> datadog.process_agent.ContainerAddr + 69, // 81: datadog.process_agent.ProcessStat.memory:type_name -> datadog.process_agent.MemoryStat + 70, // 82: datadog.process_agent.ProcessStat.cpu:type_name -> datadog.process_agent.CPUStat + 1, // 83: datadog.process_agent.ProcessStat.containerState:type_name -> datadog.process_agent.ContainerState + 3, // 84: datadog.process_agent.ProcessStat.processState:type_name -> datadog.process_agent.ProcessState + 68, // 85: datadog.process_agent.ProcessStat.ioStat:type_name -> datadog.process_agent.IOStat + 59, // 86: datadog.process_agent.ProcessStat.networks:type_name -> datadog.process_agent.ProcessNetworks + 2, // 87: datadog.process_agent.ProcessStat.containerHealth:type_name -> datadog.process_agent.ContainerHealth + 216, // 88: datadog.process_agent.ProcStatsWithPermByPID.statsByPID:type_name -> datadog.process_agent.ProcStatsWithPermByPID.StatsByPIDEntry + 1, // 89: datadog.process_agent.ContainerStat.state:type_name -> datadog.process_agent.ContainerState + 2, // 90: datadog.process_agent.ContainerStat.health:type_name -> datadog.process_agent.ContainerHealth + 67, // 91: datadog.process_agent.SystemInfo.os:type_name -> datadog.process_agent.OSInfo + 72, // 92: datadog.process_agent.SystemInfo.cpus:type_name -> datadog.process_agent.CPUInfo + 71, // 93: datadog.process_agent.CPUStat.cpus:type_name -> datadog.process_agent.SingleCPUStat + 217, // 94: datadog.process_agent.Cluster.kubeletVersions:type_name -> datadog.process_agent.Cluster.KubeletVersionsEntry + 218, // 95: datadog.process_agent.Cluster.apiServerVersions:type_name -> datadog.process_agent.Cluster.ApiServerVersionsEntry + 105, // 96: datadog.process_agent.Cluster.metrics:type_name -> datadog.process_agent.ResourceMetrics + 219, // 97: datadog.process_agent.Cluster.extendedResourcesAllocatable:type_name -> datadog.process_agent.Cluster.ExtendedResourcesAllocatableEntry + 220, // 98: datadog.process_agent.Cluster.extendedResourcesCapacity:type_name -> datadog.process_agent.Cluster.ExtendedResourcesCapacityEntry + 76, // 99: datadog.process_agent.Metadata.ownerReferences:type_name -> datadog.process_agent.OwnerReference + 75, // 100: datadog.process_agent.Node.metadata:type_name -> datadog.process_agent.Metadata + 84, // 101: datadog.process_agent.Node.taints:type_name -> datadog.process_agent.Taint + 81, // 102: datadog.process_agent.Node.status:type_name -> datadog.process_agent.NodeStatus + 73, // 103: datadog.process_agent.Node.host:type_name -> datadog.process_agent.Host + 105, // 104: datadog.process_agent.Node.metrics:type_name -> datadog.process_agent.ResourceMetrics + 221, // 105: datadog.process_agent.NodeStatus.capacity:type_name -> datadog.process_agent.NodeStatus.CapacityEntry + 222, // 106: datadog.process_agent.NodeStatus.allocatable:type_name -> datadog.process_agent.NodeStatus.AllocatableEntry + 223, // 107: datadog.process_agent.NodeStatus.nodeAddresses:type_name -> datadog.process_agent.NodeStatus.NodeAddressesEntry + 82, // 108: datadog.process_agent.NodeStatus.conditions:type_name -> datadog.process_agent.NodeCondition + 83, // 109: datadog.process_agent.NodeStatus.images:type_name -> datadog.process_agent.ContainerImage + 78, // 110: datadog.process_agent.ServiceSpec.ports:type_name -> datadog.process_agent.ServicePort + 92, // 111: datadog.process_agent.ServiceSpec.selectors:type_name -> datadog.process_agent.LabelSelectorRequirement + 79, // 112: datadog.process_agent.ServiceSpec.sessionAffinityConfig:type_name -> datadog.process_agent.ServiceSessionAffinityConfig + 75, // 113: datadog.process_agent.Service.metadata:type_name -> datadog.process_agent.Metadata + 85, // 114: datadog.process_agent.Service.spec:type_name -> datadog.process_agent.ServiceSpec + 86, // 115: datadog.process_agent.Service.status:type_name -> datadog.process_agent.ServiceStatus + 105, // 116: datadog.process_agent.Service.metrics:type_name -> datadog.process_agent.ResourceMetrics + 75, // 117: datadog.process_agent.Deployment.metadata:type_name -> datadog.process_agent.Metadata + 92, // 118: datadog.process_agent.Deployment.selectors:type_name -> datadog.process_agent.LabelSelectorRequirement + 104, // 119: datadog.process_agent.Deployment.resourceRequirements:type_name -> datadog.process_agent.ResourceRequirements + 105, // 120: datadog.process_agent.Deployment.metrics:type_name -> datadog.process_agent.ResourceMetrics + 88, // 121: datadog.process_agent.Deployment.conditions:type_name -> datadog.process_agent.DeploymentCondition + 75, // 122: datadog.process_agent.ReplicaSet.metadata:type_name -> datadog.process_agent.Metadata + 92, // 123: datadog.process_agent.ReplicaSet.selectors:type_name -> datadog.process_agent.LabelSelectorRequirement + 104, // 124: datadog.process_agent.ReplicaSet.resourceRequirements:type_name -> datadog.process_agent.ResourceRequirements + 105, // 125: datadog.process_agent.ReplicaSet.metrics:type_name -> datadog.process_agent.ResourceMetrics + 90, // 126: datadog.process_agent.ReplicaSet.conditions:type_name -> datadog.process_agent.ReplicaSetCondition + 75, // 127: datadog.process_agent.PodDisruptionBudget.metadata:type_name -> datadog.process_agent.Metadata + 94, // 128: datadog.process_agent.PodDisruptionBudget.spec:type_name -> datadog.process_agent.PodDisruptionBudgetSpec + 95, // 129: datadog.process_agent.PodDisruptionBudget.status:type_name -> datadog.process_agent.PodDisruptionBudgetStatus + 96, // 130: datadog.process_agent.PodDisruptionBudgetSpec.minAvailable:type_name -> datadog.process_agent.IntOrString + 92, // 131: datadog.process_agent.PodDisruptionBudgetSpec.selector:type_name -> datadog.process_agent.LabelSelectorRequirement + 96, // 132: datadog.process_agent.PodDisruptionBudgetSpec.maxUnavailable:type_name -> datadog.process_agent.IntOrString + 224, // 133: datadog.process_agent.PodDisruptionBudgetStatus.disruptedPods:type_name -> datadog.process_agent.PodDisruptionBudgetStatus.DisruptedPodsEntry + 97, // 134: datadog.process_agent.PodDisruptionBudgetStatus.conditions:type_name -> datadog.process_agent.Condition + 10, // 135: datadog.process_agent.IntOrString.type:type_name -> datadog.process_agent.IntOrString.Type + 75, // 136: datadog.process_agent.Pod.metadata:type_name -> datadog.process_agent.Metadata + 100, // 137: datadog.process_agent.Pod.containerStatuses:type_name -> datadog.process_agent.ContainerStatus + 100, // 138: datadog.process_agent.Pod.initContainerStatuses:type_name -> datadog.process_agent.ContainerStatus + 73, // 139: datadog.process_agent.Pod.host:type_name -> datadog.process_agent.Host + 104, // 140: datadog.process_agent.Pod.resourceRequirements:type_name -> datadog.process_agent.ResourceRequirements + 105, // 141: datadog.process_agent.Pod.metrics:type_name -> datadog.process_agent.ResourceMetrics + 99, // 142: datadog.process_agent.Pod.conditions:type_name -> datadog.process_agent.PodCondition + 75, // 143: datadog.process_agent.Namespace.metadata:type_name -> datadog.process_agent.Metadata + 102, // 144: datadog.process_agent.Namespace.conditions:type_name -> datadog.process_agent.NamespaceCondition + 225, // 145: datadog.process_agent.ResourceRequirements.limits:type_name -> datadog.process_agent.ResourceRequirements.LimitsEntry + 226, // 146: datadog.process_agent.ResourceRequirements.requests:type_name -> datadog.process_agent.ResourceRequirements.RequestsEntry + 6, // 147: datadog.process_agent.ResourceRequirements.type:type_name -> datadog.process_agent.ResourceRequirementsType + 227, // 148: datadog.process_agent.ResourceMetrics.metricValues:type_name -> datadog.process_agent.ResourceMetrics.MetricValuesEntry + 92, // 149: datadog.process_agent.JobSpec.selectors:type_name -> datadog.process_agent.LabelSelectorRequirement + 104, // 150: datadog.process_agent.JobSpec.resourceRequirements:type_name -> datadog.process_agent.ResourceRequirements + 75, // 151: datadog.process_agent.Job.metadata:type_name -> datadog.process_agent.Metadata + 106, // 152: datadog.process_agent.Job.spec:type_name -> datadog.process_agent.JobSpec + 107, // 153: datadog.process_agent.Job.status:type_name -> datadog.process_agent.JobStatus + 108, // 154: datadog.process_agent.Job.conditions:type_name -> datadog.process_agent.JobCondition + 104, // 155: datadog.process_agent.CronJobSpec.resourceRequirements:type_name -> datadog.process_agent.ResourceRequirements + 77, // 156: datadog.process_agent.CronJobStatus.active:type_name -> datadog.process_agent.ObjectReference + 75, // 157: datadog.process_agent.CronJob.metadata:type_name -> datadog.process_agent.Metadata + 110, // 158: datadog.process_agent.CronJob.spec:type_name -> datadog.process_agent.CronJobSpec + 111, // 159: datadog.process_agent.CronJob.status:type_name -> datadog.process_agent.CronJobStatus + 92, // 160: datadog.process_agent.DaemonSetSpec.selectors:type_name -> datadog.process_agent.LabelSelectorRequirement + 104, // 161: datadog.process_agent.DaemonSetSpec.resourceRequirements:type_name -> datadog.process_agent.ResourceRequirements + 75, // 162: datadog.process_agent.DaemonSet.metadata:type_name -> datadog.process_agent.Metadata + 113, // 163: datadog.process_agent.DaemonSet.spec:type_name -> datadog.process_agent.DaemonSetSpec + 114, // 164: datadog.process_agent.DaemonSet.status:type_name -> datadog.process_agent.DaemonSetStatus + 105, // 165: datadog.process_agent.DaemonSet.metrics:type_name -> datadog.process_agent.ResourceMetrics + 115, // 166: datadog.process_agent.DaemonSet.conditions:type_name -> datadog.process_agent.DaemonSetCondition + 92, // 167: datadog.process_agent.StatefulSetSpec.selectors:type_name -> datadog.process_agent.LabelSelectorRequirement + 104, // 168: datadog.process_agent.StatefulSetSpec.resourceRequirements:type_name -> datadog.process_agent.ResourceRequirements + 75, // 169: datadog.process_agent.StatefulSet.metadata:type_name -> datadog.process_agent.Metadata + 117, // 170: datadog.process_agent.StatefulSet.spec:type_name -> datadog.process_agent.StatefulSetSpec + 118, // 171: datadog.process_agent.StatefulSet.status:type_name -> datadog.process_agent.StatefulSetStatus + 105, // 172: datadog.process_agent.StatefulSet.metrics:type_name -> datadog.process_agent.ResourceMetrics + 119, // 173: datadog.process_agent.StatefulSet.conditions:type_name -> datadog.process_agent.StatefulSetCondition + 75, // 174: datadog.process_agent.PersistentVolume.metadata:type_name -> datadog.process_agent.Metadata + 122, // 175: datadog.process_agent.PersistentVolume.spec:type_name -> datadog.process_agent.PersistentVolumeSpec + 130, // 176: datadog.process_agent.PersistentVolume.status:type_name -> datadog.process_agent.PersistentVolumeStatus + 228, // 177: datadog.process_agent.PersistentVolumeSpec.capacity:type_name -> datadog.process_agent.PersistentVolumeSpec.CapacityEntry + 77, // 178: datadog.process_agent.PersistentVolumeSpec.claimRef:type_name -> datadog.process_agent.ObjectReference + 131, // 179: datadog.process_agent.PersistentVolumeSpec.nodeAffinity:type_name -> datadog.process_agent.NodeSelectorTerm + 123, // 180: datadog.process_agent.PersistentVolumeSpec.persistentVolumeSource:type_name -> datadog.process_agent.PersistentVolumeSource + 124, // 181: datadog.process_agent.PersistentVolumeSource.gcePersistentDisk:type_name -> datadog.process_agent.GCEPersistentDiskVolumeSource + 125, // 182: datadog.process_agent.PersistentVolumeSource.awsElasticBlockStore:type_name -> datadog.process_agent.AWSElasticBlockStoreVolumeSource + 126, // 183: datadog.process_agent.PersistentVolumeSource.azureFile:type_name -> datadog.process_agent.AzureFilePersistentVolumeSource + 127, // 184: datadog.process_agent.PersistentVolumeSource.azureDisk:type_name -> datadog.process_agent.AzureDiskVolumeSource + 128, // 185: datadog.process_agent.PersistentVolumeSource.csi:type_name -> datadog.process_agent.CSIVolumeSource + 229, // 186: datadog.process_agent.CSIVolumeSource.volumeAttributes:type_name -> datadog.process_agent.CSIVolumeSource.VolumeAttributesEntry + 129, // 187: datadog.process_agent.CSIVolumeSource.controllerPublishSecretRef:type_name -> datadog.process_agent.SecretReference + 129, // 188: datadog.process_agent.CSIVolumeSource.nodeStageSecretRef:type_name -> datadog.process_agent.SecretReference + 129, // 189: datadog.process_agent.CSIVolumeSource.nodePublishSecretRef:type_name -> datadog.process_agent.SecretReference + 129, // 190: datadog.process_agent.CSIVolumeSource.controllerExpandSecretRef:type_name -> datadog.process_agent.SecretReference + 129, // 191: datadog.process_agent.CSIVolumeSource.nodeExpandSecretRef:type_name -> datadog.process_agent.SecretReference + 92, // 192: datadog.process_agent.NodeSelectorTerm.matchExpressions:type_name -> datadog.process_agent.LabelSelectorRequirement + 92, // 193: datadog.process_agent.NodeSelectorTerm.matchFields:type_name -> datadog.process_agent.LabelSelectorRequirement + 75, // 194: datadog.process_agent.PersistentVolumeClaim.metadata:type_name -> datadog.process_agent.Metadata + 134, // 195: datadog.process_agent.PersistentVolumeClaim.spec:type_name -> datadog.process_agent.PersistentVolumeClaimSpec + 133, // 196: datadog.process_agent.PersistentVolumeClaim.status:type_name -> datadog.process_agent.PersistentVolumeClaimStatus + 230, // 197: datadog.process_agent.PersistentVolumeClaimStatus.capacity:type_name -> datadog.process_agent.PersistentVolumeClaimStatus.CapacityEntry + 136, // 198: datadog.process_agent.PersistentVolumeClaimStatus.conditions:type_name -> datadog.process_agent.PersistentVolumeClaimCondition + 104, // 199: datadog.process_agent.PersistentVolumeClaimSpec.resources:type_name -> datadog.process_agent.ResourceRequirements + 92, // 200: datadog.process_agent.PersistentVolumeClaimSpec.selector:type_name -> datadog.process_agent.LabelSelectorRequirement + 135, // 201: datadog.process_agent.PersistentVolumeClaimSpec.dataSource:type_name -> datadog.process_agent.TypedLocalObjectReference + 75, // 202: datadog.process_agent.Role.metadata:type_name -> datadog.process_agent.Metadata + 137, // 203: datadog.process_agent.Role.rules:type_name -> datadog.process_agent.PolicyRule + 75, // 204: datadog.process_agent.RoleBinding.metadata:type_name -> datadog.process_agent.Metadata + 138, // 205: datadog.process_agent.RoleBinding.subjects:type_name -> datadog.process_agent.Subject + 135, // 206: datadog.process_agent.RoleBinding.roleRef:type_name -> datadog.process_agent.TypedLocalObjectReference + 75, // 207: datadog.process_agent.ClusterRole.metadata:type_name -> datadog.process_agent.Metadata + 137, // 208: datadog.process_agent.ClusterRole.rules:type_name -> datadog.process_agent.PolicyRule + 92, // 209: datadog.process_agent.ClusterRole.aggregationRules:type_name -> datadog.process_agent.LabelSelectorRequirement + 105, // 210: datadog.process_agent.ClusterRole.metrics:type_name -> datadog.process_agent.ResourceMetrics + 75, // 211: datadog.process_agent.ClusterRoleBinding.metadata:type_name -> datadog.process_agent.Metadata + 138, // 212: datadog.process_agent.ClusterRoleBinding.subjects:type_name -> datadog.process_agent.Subject + 135, // 213: datadog.process_agent.ClusterRoleBinding.roleRef:type_name -> datadog.process_agent.TypedLocalObjectReference + 75, // 214: datadog.process_agent.ServiceAccount.metadata:type_name -> datadog.process_agent.Metadata + 77, // 215: datadog.process_agent.ServiceAccount.secrets:type_name -> datadog.process_agent.ObjectReference + 135, // 216: datadog.process_agent.ServiceAccount.imagePullSecrets:type_name -> datadog.process_agent.TypedLocalObjectReference + 144, // 217: datadog.process_agent.IngressBackend.service:type_name -> datadog.process_agent.IngressServiceBackend + 135, // 218: datadog.process_agent.IngressBackend.resource:type_name -> datadog.process_agent.TypedLocalObjectReference + 145, // 219: datadog.process_agent.HTTPIngressPath.backend:type_name -> datadog.process_agent.IngressBackend + 147, // 220: datadog.process_agent.IngressRule.httpPaths:type_name -> datadog.process_agent.HTTPIngressPath + 145, // 221: datadog.process_agent.IngressSpec.defaultBackend:type_name -> datadog.process_agent.IngressBackend + 146, // 222: datadog.process_agent.IngressSpec.tls:type_name -> datadog.process_agent.IngressTLS + 148, // 223: datadog.process_agent.IngressSpec.rules:type_name -> datadog.process_agent.IngressRule + 150, // 224: datadog.process_agent.LoadBalancerIngress.ports:type_name -> datadog.process_agent.PortStatus + 151, // 225: datadog.process_agent.IngressStatus.ingress:type_name -> datadog.process_agent.LoadBalancerIngress + 75, // 226: datadog.process_agent.Ingress.metadata:type_name -> datadog.process_agent.Metadata + 149, // 227: datadog.process_agent.Ingress.spec:type_name -> datadog.process_agent.IngressSpec + 152, // 228: datadog.process_agent.Ingress.status:type_name -> datadog.process_agent.IngressStatus + 155, // 229: datadog.process_agent.KafkaAggregation.header:type_name -> datadog.process_agent.KafkaRequestHeader + 231, // 230: datadog.process_agent.KafkaAggregation.statsByErrorCode:type_name -> datadog.process_agent.KafkaAggregation.StatsByErrorCodeEntry + 156, // 231: datadog.process_agent.DataStreamsAggregations.kafkaAggregations:type_name -> datadog.process_agent.KafkaAggregation + 7, // 232: datadog.process_agent.PostgresStats.operation:type_name -> datadog.process_agent.PostgresOperation + 158, // 233: datadog.process_agent.DatabaseStats.postgres:type_name -> datadog.process_agent.PostgresStats + 159, // 234: datadog.process_agent.DatabaseStats.redis:type_name -> datadog.process_agent.RedisStats + 160, // 235: datadog.process_agent.DatabaseAggregations.aggregations:type_name -> datadog.process_agent.DatabaseStats + 164, // 236: datadog.process_agent.HTTPAggregations.endpointAggregations:type_name -> datadog.process_agent.HTTPStats + 164, // 237: datadog.process_agent.HTTP2Aggregations.endpointAggregations:type_name -> datadog.process_agent.HTTPStats + 9, // 238: datadog.process_agent.HTTPStats.method:type_name -> datadog.process_agent.HTTPMethod + 233, // 239: datadog.process_agent.HTTPStats.statsByResponseStatus:type_name -> datadog.process_agent.HTTPStats.Data + 232, // 240: datadog.process_agent.HTTPStats.statsByStatusCode:type_name -> datadog.process_agent.HTTPStats.StatsByStatusCodeEntry + 234, // 241: datadog.process_agent.ResourceList.metricValues:type_name -> datadog.process_agent.ResourceList.MetricValuesEntry + 75, // 242: datadog.process_agent.VerticalPodAutoscaler.metadata:type_name -> datadog.process_agent.Metadata + 169, // 243: datadog.process_agent.VerticalPodAutoscaler.spec:type_name -> datadog.process_agent.VerticalPodAutoscalerSpec + 172, // 244: datadog.process_agent.VerticalPodAutoscaler.status:type_name -> datadog.process_agent.VerticalPodAutoscalerStatus + 168, // 245: datadog.process_agent.VerticalPodAutoscaler.conditions:type_name -> datadog.process_agent.VerticalPodAutoscalerCondition + 170, // 246: datadog.process_agent.VerticalPodAutoscalerSpec.target:type_name -> datadog.process_agent.VerticalPodAutoscalerTarget + 171, // 247: datadog.process_agent.VerticalPodAutoscalerSpec.resourcePolicies:type_name -> datadog.process_agent.ContainerResourcePolicy + 166, // 248: datadog.process_agent.ContainerResourcePolicy.minAllowed:type_name -> datadog.process_agent.ResourceList + 166, // 249: datadog.process_agent.ContainerResourcePolicy.maxAllowed:type_name -> datadog.process_agent.ResourceList + 173, // 250: datadog.process_agent.VerticalPodAutoscalerStatus.recommendations:type_name -> datadog.process_agent.ContainerRecommendation + 174, // 251: datadog.process_agent.VerticalPodAutoscalerStatus.conditions:type_name -> datadog.process_agent.VPACondition + 166, // 252: datadog.process_agent.ContainerRecommendation.target:type_name -> datadog.process_agent.ResourceList + 166, // 253: datadog.process_agent.ContainerRecommendation.lowerBound:type_name -> datadog.process_agent.ResourceList + 166, // 254: datadog.process_agent.ContainerRecommendation.upperBound:type_name -> datadog.process_agent.ResourceList + 166, // 255: datadog.process_agent.ContainerRecommendation.uncappedTarget:type_name -> datadog.process_agent.ResourceList + 75, // 256: datadog.process_agent.HorizontalPodAutoscaler.metadata:type_name -> datadog.process_agent.Metadata + 176, // 257: datadog.process_agent.HorizontalPodAutoscaler.spec:type_name -> datadog.process_agent.HorizontalPodAutoscalerSpec + 189, // 258: datadog.process_agent.HorizontalPodAutoscaler.status:type_name -> datadog.process_agent.HorizontalPodAutoscalerStatus + 190, // 259: datadog.process_agent.HorizontalPodAutoscaler.conditions:type_name -> datadog.process_agent.HorizontalPodAutoscalerCondition + 177, // 260: datadog.process_agent.HorizontalPodAutoscalerSpec.target:type_name -> datadog.process_agent.HorizontalPodAutoscalerTarget + 178, // 261: datadog.process_agent.HorizontalPodAutoscalerSpec.metrics:type_name -> datadog.process_agent.HorizontalPodAutoscalerMetricSpec + 186, // 262: datadog.process_agent.HorizontalPodAutoscalerSpec.behavior:type_name -> datadog.process_agent.HorizontalPodAutoscalerBehavior + 179, // 263: datadog.process_agent.HorizontalPodAutoscalerMetricSpec.object:type_name -> datadog.process_agent.ObjectMetricSource + 182, // 264: datadog.process_agent.HorizontalPodAutoscalerMetricSpec.pods:type_name -> datadog.process_agent.PodsMetricSource + 183, // 265: datadog.process_agent.HorizontalPodAutoscalerMetricSpec.resource:type_name -> datadog.process_agent.ResourceMetricSource + 184, // 266: datadog.process_agent.HorizontalPodAutoscalerMetricSpec.containerResource:type_name -> datadog.process_agent.ContainerResourceMetricSource + 185, // 267: datadog.process_agent.HorizontalPodAutoscalerMetricSpec.external:type_name -> datadog.process_agent.ExternalMetricSource + 77, // 268: datadog.process_agent.ObjectMetricSource.describedObject:type_name -> datadog.process_agent.ObjectReference + 180, // 269: datadog.process_agent.ObjectMetricSource.target:type_name -> datadog.process_agent.MetricTarget + 181, // 270: datadog.process_agent.ObjectMetricSource.metric:type_name -> datadog.process_agent.MetricIdentifier + 92, // 271: datadog.process_agent.MetricIdentifier.labelSelector:type_name -> datadog.process_agent.LabelSelectorRequirement + 181, // 272: datadog.process_agent.PodsMetricSource.metric:type_name -> datadog.process_agent.MetricIdentifier + 180, // 273: datadog.process_agent.PodsMetricSource.target:type_name -> datadog.process_agent.MetricTarget + 180, // 274: datadog.process_agent.ResourceMetricSource.target:type_name -> datadog.process_agent.MetricTarget + 180, // 275: datadog.process_agent.ContainerResourceMetricSource.target:type_name -> datadog.process_agent.MetricTarget + 181, // 276: datadog.process_agent.ExternalMetricSource.metric:type_name -> datadog.process_agent.MetricIdentifier + 180, // 277: datadog.process_agent.ExternalMetricSource.target:type_name -> datadog.process_agent.MetricTarget + 187, // 278: datadog.process_agent.HorizontalPodAutoscalerBehavior.scaleUp:type_name -> datadog.process_agent.HPAScalingRules + 187, // 279: datadog.process_agent.HorizontalPodAutoscalerBehavior.scaleDown:type_name -> datadog.process_agent.HPAScalingRules + 188, // 280: datadog.process_agent.HPAScalingRules.policies:type_name -> datadog.process_agent.HPAScalingPolicy + 191, // 281: datadog.process_agent.HorizontalPodAutoscalerStatus.currentMetrics:type_name -> datadog.process_agent.HorizontalPodAutoscalerMetricStatus + 192, // 282: datadog.process_agent.HorizontalPodAutoscalerMetricStatus.object:type_name -> datadog.process_agent.ObjectMetricStatus + 193, // 283: datadog.process_agent.HorizontalPodAutoscalerMetricStatus.pods:type_name -> datadog.process_agent.PodsMetricStatus + 194, // 284: datadog.process_agent.HorizontalPodAutoscalerMetricStatus.resource:type_name -> datadog.process_agent.ResourceMetricStatus + 195, // 285: datadog.process_agent.HorizontalPodAutoscalerMetricStatus.containerResource:type_name -> datadog.process_agent.ContainerResourceMetricStatus + 196, // 286: datadog.process_agent.HorizontalPodAutoscalerMetricStatus.external:type_name -> datadog.process_agent.ExternalMetricStatus + 77, // 287: datadog.process_agent.ObjectMetricStatus.describedObject:type_name -> datadog.process_agent.ObjectReference + 181, // 288: datadog.process_agent.ObjectMetricStatus.metric:type_name -> datadog.process_agent.MetricIdentifier + 181, // 289: datadog.process_agent.PodsMetricStatus.metric:type_name -> datadog.process_agent.MetricIdentifier + 181, // 290: datadog.process_agent.ExternalMetricStatus.metric:type_name -> datadog.process_agent.MetricIdentifier + 75, // 291: datadog.process_agent.NetworkPolicy.metadata:type_name -> datadog.process_agent.Metadata + 198, // 292: datadog.process_agent.NetworkPolicy.spec:type_name -> datadog.process_agent.NetworkPolicySpec + 92, // 293: datadog.process_agent.NetworkPolicySpec.selectors:type_name -> datadog.process_agent.LabelSelectorRequirement + 200, // 294: datadog.process_agent.NetworkPolicySpec.ingress:type_name -> datadog.process_agent.NetworkPolicyIngressRule + 201, // 295: datadog.process_agent.NetworkPolicySpec.egress:type_name -> datadog.process_agent.NetworkPolicyEgressRule + 203, // 296: datadog.process_agent.NetworkPolicyIngressRule.ports:type_name -> datadog.process_agent.NetworkPolicyPort + 202, // 297: datadog.process_agent.NetworkPolicyIngressRule.from:type_name -> datadog.process_agent.NetworkPolicyPeer + 203, // 298: datadog.process_agent.NetworkPolicyEgressRule.ports:type_name -> datadog.process_agent.NetworkPolicyPort + 202, // 299: datadog.process_agent.NetworkPolicyEgressRule.to:type_name -> datadog.process_agent.NetworkPolicyPeer + 92, // 300: datadog.process_agent.NetworkPolicyPeer.podSelector:type_name -> datadog.process_agent.LabelSelectorRequirement + 92, // 301: datadog.process_agent.NetworkPolicyPeer.namespaceSelector:type_name -> datadog.process_agent.LabelSelectorRequirement + 199, // 302: datadog.process_agent.NetworkPolicyPeer.ipBlock:type_name -> datadog.process_agent.NetworkPolicyIPBlock + 75, // 303: datadog.process_agent.LimitRange.metadata:type_name -> datadog.process_agent.Metadata + 205, // 304: datadog.process_agent.LimitRange.spec:type_name -> datadog.process_agent.LimitRangeSpec + 206, // 305: datadog.process_agent.LimitRangeSpec.limits:type_name -> datadog.process_agent.LimitRangeItem + 235, // 306: datadog.process_agent.LimitRangeItem.default:type_name -> datadog.process_agent.LimitRangeItem.DefaultEntry + 236, // 307: datadog.process_agent.LimitRangeItem.defaultRequest:type_name -> datadog.process_agent.LimitRangeItem.DefaultRequestEntry + 237, // 308: datadog.process_agent.LimitRangeItem.max:type_name -> datadog.process_agent.LimitRangeItem.MaxEntry + 238, // 309: datadog.process_agent.LimitRangeItem.min:type_name -> datadog.process_agent.LimitRangeItem.MinEntry + 239, // 310: datadog.process_agent.LimitRangeItem.maxLimitRequestRatio:type_name -> datadog.process_agent.LimitRangeItem.MaxLimitRequestRatioEntry + 75, // 311: datadog.process_agent.StorageClass.metadata:type_name -> datadog.process_agent.Metadata + 240, // 312: datadog.process_agent.StorageClass.parameters:type_name -> datadog.process_agent.StorageClass.ParametersEntry + 208, // 313: datadog.process_agent.StorageClass.allowedTopologies:type_name -> datadog.process_agent.StorageClassTopologies + 209, // 314: datadog.process_agent.StorageClassTopologies.labelSelectors:type_name -> datadog.process_agent.TopologyLabelSelector + 73, // 315: datadog.process_agent.CollectorNode.HostAliasMappingEntry.value:type_name -> datadog.process_agent.Host + 63, // 316: datadog.process_agent.ProcStatsWithPermByPID.StatsByPIDEntry.value:type_name -> datadog.process_agent.ProcStatsWithPerm + 154, // 317: datadog.process_agent.KafkaAggregation.StatsByErrorCodeEntry.value:type_name -> datadog.process_agent.KafkaStats + 233, // 318: datadog.process_agent.HTTPStats.StatsByStatusCodeEntry.value:type_name -> datadog.process_agent.HTTPStats.Data + 319, // [319:319] is the sub-list for method output_type + 319, // [319:319] is the sub-list for method input_type + 319, // [319:319] is the sub-list for extension type_name + 319, // [319:319] is the sub-list for extension extendee + 0, // [0:319] is the sub-list for field type_name +} + +func init() { file_proto_process_agent_proto_init() } +func file_proto_process_agent_proto_init() { + if File_proto_process_agent_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_proto_process_agent_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ResCollector); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CollectorProc); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CollectorProcDiscovery); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CollectorRealTime); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CollectorContainer); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CollectorContainerRealTime); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CollectorReqStatus); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CollectorECSTask); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ECSTask); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ECSContainer); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ECSContainerNetwork); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ECSContainerPort); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ECSContainerVolume); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ECSContainerHealth); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ECSContainerExitCode); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CollectorPod); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CollectorPodDisruptionBudget); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CollectorReplicaSet); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CollectorDeployment); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CollectorService); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CollectorNode); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CollectorCluster); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CollectorManifest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CollectorManifestCRD); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CollectorManifestCR); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CollectorNamespace); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CollectorJob); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CollectorCronJob); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CollectorDaemonSet); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CollectorStatefulSet); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CollectorPersistentVolume); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CollectorPersistentVolumeClaim); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CollectorRole); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CollectorRoleBinding); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CollectorClusterRole); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CollectorClusterRoleBinding); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CollectorServiceAccount); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CollectorIngress); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CollectorVerticalPodAutoscaler); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CollectorHorizontalPodAutoscaler); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CollectorNetworkPolicy); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CollectorLimitRange); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CollectorStorageClass); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CollectorStatus); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Process); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProcessDiscovery); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Command); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[47].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProcessUser); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[48].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProcessNetworks); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[49].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ContainerAddr); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[50].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Container); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[51].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProcessStat); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[52].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProcStatsWithPerm); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[53].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProcStatsWithPermByPID); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[54].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ContainerStat); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[55].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SystemInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[56].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*OSInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[57].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IOStat); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[58].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MemoryStat); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[59].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CPUStat); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[60].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SingleCPUStat); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[61].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CPUInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[62].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Host); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[63].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Cluster); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[64].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Metadata); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[65].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*OwnerReference); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[66].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ObjectReference); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[67].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ServicePort); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[68].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ServiceSessionAffinityConfig); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[69].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Node); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[70].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NodeStatus); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[71].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NodeCondition); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[72].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ContainerImage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[73].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Taint); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[74].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ServiceSpec); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[75].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ServiceStatus); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[76].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Service); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[77].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeploymentCondition); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[78].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Deployment); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[79].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ReplicaSetCondition); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[80].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ReplicaSet); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[81].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LabelSelectorRequirement); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[82].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PodDisruptionBudget); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[83].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PodDisruptionBudgetSpec); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[84].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PodDisruptionBudgetStatus); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[85].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IntOrString); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[86].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Condition); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[87].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Pod); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[88].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PodCondition); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[89].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ContainerStatus); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[90].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Manifest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[91].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NamespaceCondition); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[92].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Namespace); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[93].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ResourceRequirements); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[94].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ResourceMetrics); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[95].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*JobSpec); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[96].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*JobStatus); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[97].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*JobCondition); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[98].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Job); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[99].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CronJobSpec); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[100].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CronJobStatus); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[101].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CronJob); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[102].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DaemonSetSpec); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[103].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DaemonSetStatus); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[104].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DaemonSetCondition); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[105].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DaemonSet); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[106].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StatefulSetSpec); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[107].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StatefulSetStatus); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[108].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StatefulSetCondition); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[109].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StatefulSet); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[110].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PersistentVolume); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[111].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PersistentVolumeSpec); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[112].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PersistentVolumeSource); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[113].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GCEPersistentDiskVolumeSource); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[114].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AWSElasticBlockStoreVolumeSource); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[115].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AzureFilePersistentVolumeSource); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[116].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AzureDiskVolumeSource); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[117].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CSIVolumeSource); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[118].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SecretReference); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[119].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PersistentVolumeStatus); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[120].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NodeSelectorTerm); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[121].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PersistentVolumeClaim); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[122].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PersistentVolumeClaimStatus); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[123].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PersistentVolumeClaimSpec); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[124].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TypedLocalObjectReference); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[125].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PersistentVolumeClaimCondition); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[126].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PolicyRule); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[127].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Subject); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[128].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Role); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[129].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RoleBinding); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[130].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ClusterRole); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[131].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ClusterRoleBinding); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[132].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ServiceAccount); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[133].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IngressServiceBackend); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[134].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IngressBackend); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[135].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IngressTLS); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[136].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HTTPIngressPath); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[137].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IngressRule); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[138].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IngressSpec); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[139].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PortStatus); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[140].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LoadBalancerIngress); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[141].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IngressStatus); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[142].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Ingress); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[143].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*KafkaStats); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[144].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*KafkaRequestHeader); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[145].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*KafkaAggregation); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[146].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DataStreamsAggregations); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[147].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PostgresStats); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[148].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RedisStats); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[149].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DatabaseStats); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[150].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DatabaseAggregations); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[151].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HTTPAggregations); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[152].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HTTP2Aggregations); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[153].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HTTPStats); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[154].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DNSDatabaseEntry); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[155].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ResourceList); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[156].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*VerticalPodAutoscaler); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[157].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*VerticalPodAutoscalerCondition); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[158].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*VerticalPodAutoscalerSpec); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[159].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*VerticalPodAutoscalerTarget); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[160].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ContainerResourcePolicy); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[161].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*VerticalPodAutoscalerStatus); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[162].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ContainerRecommendation); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[163].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*VPACondition); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[164].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HorizontalPodAutoscaler); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[165].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HorizontalPodAutoscalerSpec); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[166].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HorizontalPodAutoscalerTarget); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[167].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HorizontalPodAutoscalerMetricSpec); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[168].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ObjectMetricSource); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[169].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MetricTarget); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[170].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MetricIdentifier); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[171].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PodsMetricSource); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[172].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ResourceMetricSource); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[173].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ContainerResourceMetricSource); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[174].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ExternalMetricSource); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[175].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HorizontalPodAutoscalerBehavior); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[176].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HPAScalingRules); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[177].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HPAScalingPolicy); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[178].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HorizontalPodAutoscalerStatus); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[179].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HorizontalPodAutoscalerCondition); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[180].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HorizontalPodAutoscalerMetricStatus); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[181].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ObjectMetricStatus); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[182].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PodsMetricStatus); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[183].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ResourceMetricStatus); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[184].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ContainerResourceMetricStatus); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[185].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ExternalMetricStatus); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[186].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NetworkPolicy); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[187].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NetworkPolicySpec); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[188].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NetworkPolicyIPBlock); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[189].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NetworkPolicyIngressRule); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[190].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NetworkPolicyEgressRule); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[191].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NetworkPolicyPeer); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[192].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NetworkPolicyPort); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[193].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LimitRange); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[194].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LimitRangeSpec); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[195].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LimitRangeItem); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[196].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StorageClass); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[197].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StorageClassTopologies); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[198].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TopologyLabelSelector); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[199].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ResCollector_Header); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_agent_proto_msgTypes[222].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HTTPStats_Data); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_proto_process_agent_proto_msgTypes[1].OneofWrappers = []interface{}{ + (*CollectorProc_HintMask)(nil), } - return nil -} -func skipAgent(dAtA []byte) (n int, err error) { - l := len(dAtA) - iNdEx := 0 - depth := 0 - for iNdEx < l { - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowAgent - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= (uint64(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - wireType := int(wire & 0x7) - switch wireType { - case 0: - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowAgent - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - iNdEx++ - if dAtA[iNdEx-1] < 0x80 { - break - } - } - case 1: - iNdEx += 8 - case 2: - var length int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowAgent - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - length |= (int(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - if length < 0 { - return 0, ErrInvalidLengthAgent - } - iNdEx += length - case 3: - depth++ - case 4: - if depth == 0 { - return 0, ErrUnexpectedEndOfGroupAgent - } - depth-- - case 5: - iNdEx += 4 - default: - return 0, fmt.Errorf("proto: illegal wireType %d", wireType) - } - if iNdEx < 0 { - return 0, ErrInvalidLengthAgent - } - if depth == 0 { - return iNdEx, nil - } + file_proto_process_agent_proto_msgTypes[149].OneofWrappers = []interface{}{ + (*DatabaseStats_Postgres)(nil), + (*DatabaseStats_Redis)(nil), } - return 0, io.ErrUnexpectedEOF + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_proto_process_agent_proto_rawDesc, + NumEnums: 11, + NumMessages: 230, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_proto_process_agent_proto_goTypes, + DependencyIndexes: file_proto_process_agent_proto_depIdxs, + EnumInfos: file_proto_process_agent_proto_enumTypes, + MessageInfos: file_proto_process_agent_proto_msgTypes, + }.Build() + File_proto_process_agent_proto = out.File + file_proto_process_agent_proto_rawDesc = nil + file_proto_process_agent_proto_goTypes = nil + file_proto_process_agent_proto_depIdxs = nil } - -var ( - ErrInvalidLengthAgent = fmt.Errorf("proto: negative length found during unmarshaling") - ErrIntOverflowAgent = fmt.Errorf("proto: integer overflow") - ErrUnexpectedEndOfGroupAgent = fmt.Errorf("proto: unexpected end of group") -) diff --git a/process/connections.pb.go b/process/connections.pb.go index a26770f9..82982e54 100644 --- a/process/connections.pb.go +++ b/process/connections.pb.go @@ -1,26 +1,24 @@ -// Code generated by protoc-gen-gogo. DO NOT EDIT. +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.34.1 +// protoc v3.21.12 // source: proto/process/connections.proto package process import ( - fmt "fmt" - proto "github.com/gogo/protobuf/proto" - io "io" - math "math" - math_bits "math/bits" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) type RuntimeCompilationResult int32 @@ -39,42 +37,63 @@ const ( RuntimeCompilationResult_InputHashError RuntimeCompilationResult = 11 ) -var RuntimeCompilationResult_name = map[int32]string{ - 0: "NotAttempted", - 1: "CompilationSuccess", - 2: "KernelVersionErr", - 3: "VerificationError", - 4: "OutputDirErr", - 5: "OutputFileErr", - 6: "NewCompilerErr", - 7: "CompilationErr", - 8: "ResultReadErr", - 9: "HeaderFetchErr", - 10: "CompiledOutputFound", - 11: "InputHashError", -} - -var RuntimeCompilationResult_value = map[string]int32{ - "NotAttempted": 0, - "CompilationSuccess": 1, - "KernelVersionErr": 2, - "VerificationError": 3, - "OutputDirErr": 4, - "OutputFileErr": 5, - "NewCompilerErr": 6, - "CompilationErr": 7, - "ResultReadErr": 8, - "HeaderFetchErr": 9, - "CompiledOutputFound": 10, - "InputHashError": 11, +// Enum value maps for RuntimeCompilationResult. +var ( + RuntimeCompilationResult_name = map[int32]string{ + 0: "NotAttempted", + 1: "CompilationSuccess", + 2: "KernelVersionErr", + 3: "VerificationError", + 4: "OutputDirErr", + 5: "OutputFileErr", + 6: "NewCompilerErr", + 7: "CompilationErr", + 8: "ResultReadErr", + 9: "HeaderFetchErr", + 10: "CompiledOutputFound", + 11: "InputHashError", + } + RuntimeCompilationResult_value = map[string]int32{ + "NotAttempted": 0, + "CompilationSuccess": 1, + "KernelVersionErr": 2, + "VerificationError": 3, + "OutputDirErr": 4, + "OutputFileErr": 5, + "NewCompilerErr": 6, + "CompilationErr": 7, + "ResultReadErr": 8, + "HeaderFetchErr": 9, + "CompiledOutputFound": 10, + "InputHashError": 11, + } +) + +func (x RuntimeCompilationResult) Enum() *RuntimeCompilationResult { + p := new(RuntimeCompilationResult) + *p = x + return p } func (x RuntimeCompilationResult) String() string { - return proto.EnumName(RuntimeCompilationResult_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (RuntimeCompilationResult) Descriptor() protoreflect.EnumDescriptor { + return file_proto_process_connections_proto_enumTypes[0].Descriptor() +} + +func (RuntimeCompilationResult) Type() protoreflect.EnumType { + return &file_proto_process_connections_proto_enumTypes[0] +} + +func (x RuntimeCompilationResult) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) } +// Deprecated: Use RuntimeCompilationResult.Descriptor instead. func (RuntimeCompilationResult) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_8f660660e88b5927, []int{0} + return file_proto_process_connections_proto_rawDescGZIP(), []int{0} } type KernelHeaderFetchResult int32 @@ -93,40 +112,61 @@ const ( KernelHeaderFetchResult_HeadersNotFoundDownloadDisabled KernelHeaderFetchResult = 10 ) -var KernelHeaderFetchResult_name = map[int32]string{ - 0: "FetchNotAttempted", - 1: "CustomHeadersFound", - 2: "DefaultHeadersFound", - 3: "SysfsHeadersFound", - 4: "DownloadedHeadersFound", - 5: "DownloadSuccess", - 6: "HostVersionErr", - 7: "DownloadFailure", - 8: "ValidationFailure", - 9: "ReposDirAccessFailure", - 10: "HeadersNotFoundDownloadDisabled", -} - -var KernelHeaderFetchResult_value = map[string]int32{ - "FetchNotAttempted": 0, - "CustomHeadersFound": 1, - "DefaultHeadersFound": 2, - "SysfsHeadersFound": 3, - "DownloadedHeadersFound": 4, - "DownloadSuccess": 5, - "HostVersionErr": 6, - "DownloadFailure": 7, - "ValidationFailure": 8, - "ReposDirAccessFailure": 9, - "HeadersNotFoundDownloadDisabled": 10, +// Enum value maps for KernelHeaderFetchResult. +var ( + KernelHeaderFetchResult_name = map[int32]string{ + 0: "FetchNotAttempted", + 1: "CustomHeadersFound", + 2: "DefaultHeadersFound", + 3: "SysfsHeadersFound", + 4: "DownloadedHeadersFound", + 5: "DownloadSuccess", + 6: "HostVersionErr", + 7: "DownloadFailure", + 8: "ValidationFailure", + 9: "ReposDirAccessFailure", + 10: "HeadersNotFoundDownloadDisabled", + } + KernelHeaderFetchResult_value = map[string]int32{ + "FetchNotAttempted": 0, + "CustomHeadersFound": 1, + "DefaultHeadersFound": 2, + "SysfsHeadersFound": 3, + "DownloadedHeadersFound": 4, + "DownloadSuccess": 5, + "HostVersionErr": 6, + "DownloadFailure": 7, + "ValidationFailure": 8, + "ReposDirAccessFailure": 9, + "HeadersNotFoundDownloadDisabled": 10, + } +) + +func (x KernelHeaderFetchResult) Enum() *KernelHeaderFetchResult { + p := new(KernelHeaderFetchResult) + *p = x + return p } func (x KernelHeaderFetchResult) String() string { - return proto.EnumName(KernelHeaderFetchResult_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (KernelHeaderFetchResult) Descriptor() protoreflect.EnumDescriptor { + return file_proto_process_connections_proto_enumTypes[1].Descriptor() +} + +func (KernelHeaderFetchResult) Type() protoreflect.EnumType { + return &file_proto_process_connections_proto_enumTypes[1] +} + +func (x KernelHeaderFetchResult) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) } +// Deprecated: Use KernelHeaderFetchResult.Descriptor instead. func (KernelHeaderFetchResult) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_8f660660e88b5927, []int{1} + return file_proto_process_connections_proto_rawDescGZIP(), []int{1} } type COREResult int32 @@ -141,32 +181,53 @@ const ( COREResult_LoaderError COREResult = 6 ) -var COREResult_name = map[int32]string{ - 0: "SuccessCustomBTF", - 1: "SuccessEmbeddedBTF", - 2: "SuccessDefaultBTF", - 3: "BtfNotFound", - 4: "AssetReadError", - 5: "VerifierError", - 6: "LoaderError", -} +// Enum value maps for COREResult. +var ( + COREResult_name = map[int32]string{ + 0: "SuccessCustomBTF", + 1: "SuccessEmbeddedBTF", + 2: "SuccessDefaultBTF", + 3: "BtfNotFound", + 4: "AssetReadError", + 5: "VerifierError", + 6: "LoaderError", + } + COREResult_value = map[string]int32{ + "SuccessCustomBTF": 0, + "SuccessEmbeddedBTF": 1, + "SuccessDefaultBTF": 2, + "BtfNotFound": 3, + "AssetReadError": 4, + "VerifierError": 5, + "LoaderError": 6, + } +) -var COREResult_value = map[string]int32{ - "SuccessCustomBTF": 0, - "SuccessEmbeddedBTF": 1, - "SuccessDefaultBTF": 2, - "BtfNotFound": 3, - "AssetReadError": 4, - "VerifierError": 5, - "LoaderError": 6, +func (x COREResult) Enum() *COREResult { + p := new(COREResult) + *p = x + return p } func (x COREResult) String() string { - return proto.EnumName(COREResult_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (COREResult) Descriptor() protoreflect.EnumDescriptor { + return file_proto_process_connections_proto_enumTypes[2].Descriptor() +} + +func (COREResult) Type() protoreflect.EnumType { + return &file_proto_process_connections_proto_enumTypes[2] +} + +func (x COREResult) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) } +// Deprecated: Use COREResult.Descriptor instead. func (COREResult) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_8f660660e88b5927, []int{2} + return file_proto_process_connections_proto_rawDescGZIP(), []int{2} } type ConnectionFamily int32 @@ -176,22 +237,43 @@ const ( ConnectionFamily_v6 ConnectionFamily = 1 ) -var ConnectionFamily_name = map[int32]string{ - 0: "v4", - 1: "v6", -} +// Enum value maps for ConnectionFamily. +var ( + ConnectionFamily_name = map[int32]string{ + 0: "v4", + 1: "v6", + } + ConnectionFamily_value = map[string]int32{ + "v4": 0, + "v6": 1, + } +) -var ConnectionFamily_value = map[string]int32{ - "v4": 0, - "v6": 1, +func (x ConnectionFamily) Enum() *ConnectionFamily { + p := new(ConnectionFamily) + *p = x + return p } func (x ConnectionFamily) String() string { - return proto.EnumName(ConnectionFamily_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ConnectionFamily) Descriptor() protoreflect.EnumDescriptor { + return file_proto_process_connections_proto_enumTypes[3].Descriptor() } +func (ConnectionFamily) Type() protoreflect.EnumType { + return &file_proto_process_connections_proto_enumTypes[3] +} + +func (x ConnectionFamily) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ConnectionFamily.Descriptor instead. func (ConnectionFamily) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_8f660660e88b5927, []int{3} + return file_proto_process_connections_proto_rawDescGZIP(), []int{3} } type ConnectionDirection int32 @@ -204,28 +286,49 @@ const ( ConnectionDirection_none ConnectionDirection = 4 ) -var ConnectionDirection_name = map[int32]string{ - 0: "unspecified", - 1: "incoming", - 2: "outgoing", - 3: "local", - 4: "none", -} +// Enum value maps for ConnectionDirection. +var ( + ConnectionDirection_name = map[int32]string{ + 0: "unspecified", + 1: "incoming", + 2: "outgoing", + 3: "local", + 4: "none", + } + ConnectionDirection_value = map[string]int32{ + "unspecified": 0, + "incoming": 1, + "outgoing": 2, + "local": 3, + "none": 4, + } +) -var ConnectionDirection_value = map[string]int32{ - "unspecified": 0, - "incoming": 1, - "outgoing": 2, - "local": 3, - "none": 4, +func (x ConnectionDirection) Enum() *ConnectionDirection { + p := new(ConnectionDirection) + *p = x + return p } func (x ConnectionDirection) String() string { - return proto.EnumName(ConnectionDirection_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } +func (ConnectionDirection) Descriptor() protoreflect.EnumDescriptor { + return file_proto_process_connections_proto_enumTypes[4].Descriptor() +} + +func (ConnectionDirection) Type() protoreflect.EnumType { + return &file_proto_process_connections_proto_enumTypes[4] +} + +func (x ConnectionDirection) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ConnectionDirection.Descriptor instead. func (ConnectionDirection) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_8f660660e88b5927, []int{4} + return file_proto_process_connections_proto_rawDescGZIP(), []int{4} } type EphemeralPortState int32 @@ -236,24 +339,45 @@ const ( EphemeralPortState_ephemeralFalse EphemeralPortState = 2 ) -var EphemeralPortState_name = map[int32]string{ - 0: "ephemeralUnspecified", - 1: "ephemeralTrue", - 2: "ephemeralFalse", -} +// Enum value maps for EphemeralPortState. +var ( + EphemeralPortState_name = map[int32]string{ + 0: "ephemeralUnspecified", + 1: "ephemeralTrue", + 2: "ephemeralFalse", + } + EphemeralPortState_value = map[string]int32{ + "ephemeralUnspecified": 0, + "ephemeralTrue": 1, + "ephemeralFalse": 2, + } +) -var EphemeralPortState_value = map[string]int32{ - "ephemeralUnspecified": 0, - "ephemeralTrue": 1, - "ephemeralFalse": 2, +func (x EphemeralPortState) Enum() *EphemeralPortState { + p := new(EphemeralPortState) + *p = x + return p } func (x EphemeralPortState) String() string { - return proto.EnumName(EphemeralPortState_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (EphemeralPortState) Descriptor() protoreflect.EnumDescriptor { + return file_proto_process_connections_proto_enumTypes[5].Descriptor() +} + +func (EphemeralPortState) Type() protoreflect.EnumType { + return &file_proto_process_connections_proto_enumTypes[5] +} + +func (x EphemeralPortState) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) } +// Deprecated: Use EphemeralPortState.Descriptor instead. func (EphemeralPortState) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_8f660660e88b5927, []int{5} + return file_proto_process_connections_proto_rawDescGZIP(), []int{5} } type ProtocolType int32 @@ -273,45 +397,70 @@ const ( ProtocolType_protocolGRPC ProtocolType = 11 ) -var ProtocolType_name = map[int32]string{ - 0: "protocolUnclassified", - 1: "protocolUnknown", - 2: "protocolHTTP", - 3: "protocolHTTP2", - 4: "protocolTLS", - 5: "protocolKafka", - 6: "protocolMongo", - 7: "protocolPostgres", - 8: "protocolAMQP", - 9: "protocolRedis", - 10: "protocolMySQL", - 11: "protocolGRPC", -} - -var ProtocolType_value = map[string]int32{ - "protocolUnclassified": 0, - "protocolUnknown": 1, - "protocolHTTP": 2, - "protocolHTTP2": 3, - "protocolTLS": 4, - "protocolKafka": 5, - "protocolMongo": 6, - "protocolPostgres": 7, - "protocolAMQP": 8, - "protocolRedis": 9, - "protocolMySQL": 10, - "protocolGRPC": 11, +// Enum value maps for ProtocolType. +var ( + ProtocolType_name = map[int32]string{ + 0: "protocolUnclassified", + 1: "protocolUnknown", + 2: "protocolHTTP", + 3: "protocolHTTP2", + 4: "protocolTLS", + 5: "protocolKafka", + 6: "protocolMongo", + 7: "protocolPostgres", + 8: "protocolAMQP", + 9: "protocolRedis", + 10: "protocolMySQL", + 11: "protocolGRPC", + } + ProtocolType_value = map[string]int32{ + "protocolUnclassified": 0, + "protocolUnknown": 1, + "protocolHTTP": 2, + "protocolHTTP2": 3, + "protocolTLS": 4, + "protocolKafka": 5, + "protocolMongo": 6, + "protocolPostgres": 7, + "protocolAMQP": 8, + "protocolRedis": 9, + "protocolMySQL": 10, + "protocolGRPC": 11, + } +) + +func (x ProtocolType) Enum() *ProtocolType { + p := new(ProtocolType) + *p = x + return p } func (x ProtocolType) String() string { - return proto.EnumName(ProtocolType_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ProtocolType) Descriptor() protoreflect.EnumDescriptor { + return file_proto_process_connections_proto_enumTypes[6].Descriptor() +} + +func (ProtocolType) Type() protoreflect.EnumType { + return &file_proto_process_connections_proto_enumTypes[6] +} + +func (x ProtocolType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) } +// Deprecated: Use ProtocolType.Descriptor instead. func (ProtocolType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_8f660660e88b5927, []int{6} + return file_proto_process_connections_proto_rawDescGZIP(), []int{6} } type CollectorConnections struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // the detected hostname for the agent that collected these connections HostName string `protobuf:"bytes,2,opt,name=hostName,proto3" json:"hostName,omitempty"` // this "ID" of the network. This is generally set to VPC ID in the major clouds. @@ -321,7 +470,7 @@ type CollectorConnections struct { GroupId int32 `protobuf:"varint,5,opt,name=groupId,proto3" json:"groupId,omitempty"` GroupSize int32 `protobuf:"varint,6,opt,name=groupSize,proto3" json:"groupSize,omitempty"` // Mapping of resourceID to metadata. For containers, each `connection` has a containerId field which can be mapped here. - ResolvedResources map[string]*ResourceMetadata `protobuf:"bytes,8,rep,name=resolvedResources,proto3" json:"resolvedResources,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + ResolvedResources map[string]*ResourceMetadata `protobuf:"bytes,8,rep,name=resolvedResources,proto3" json:"resolvedResources,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // Post-resolution field // Mapping of processes running in each container ContainerForPid map[int32]string `protobuf:"bytes,10,rep,name=containerForPid,proto3" json:"containerForPid,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // encodedTags is an opaque byte format that stores several sets of tags in a way that @@ -359,13 +508,13 @@ type CollectorConnections struct { // see Connection#routeIdx Routes []*Route `protobuf:"bytes,31,rep,name=routes,proto3" json:"routes,omitempty"` // the next l3 route for all connections in this payload, AWS only. - RouteMetadata []*RouteMetadata `protobuf:"bytes,34,rep,name=routeMetadata,proto3" json:"routeMetadata,omitempty"` + RouteMetadata []*RouteMetadata `protobuf:"bytes,34,rep,name=routeMetadata,proto3" json:"routeMetadata,omitempty"` // backend use only AgentConfiguration *AgentConfiguration `protobuf:"bytes,35,opt,name=agentConfiguration,proto3" json:"agentConfiguration,omitempty"` // encoded dns is a map of (string) ip-> list of domains (DNSEntry) EncodedDNS []byte `protobuf:"bytes,14,opt,name=encodedDNS,proto3" json:"encodedDNS,omitempty"` // All queried DNS domains for which we have collected stats Domains []string `protobuf:"bytes,30,rep,name=domains,proto3" json:"domains,omitempty"` - ////////////////// + // //////////////// // V2 encodings // all domain strings are now indexes into a single array of strings // hostname query information. Encoded via V2DNSEncoder.EncodeDomainDatabase @@ -375,248 +524,251 @@ type CollectorConnections struct { // of the IP --> DNSDatabaseEntry message. (was encodedDNS). Encoded // via V2DNSEncoder.EncodeMapped. Full buffer description provided there. EncodedDnsLookups []byte `protobuf:"bytes,37,opt,name=encodedDnsLookups,proto3" json:"encodedDnsLookups,omitempty"` - ResolvedHostsByName map[string]*Host `protobuf:"bytes,40,rep,name=resolvedHostsByName,proto3" json:"resolvedHostsByName,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + ResolvedHostsByName map[string]*Host `protobuf:"bytes,40,rep,name=resolvedHostsByName,proto3" json:"resolvedHostsByName,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // Post-resolution field EcsTask string `protobuf:"bytes,45,opt,name=ecsTask,proto3" json:"ecsTask,omitempty"` } -func (m *CollectorConnections) Reset() { *m = CollectorConnections{} } -func (m *CollectorConnections) String() string { return proto.CompactTextString(m) } -func (*CollectorConnections) ProtoMessage() {} -func (*CollectorConnections) Descriptor() ([]byte, []int) { - return fileDescriptor_8f660660e88b5927, []int{0} -} -func (m *CollectorConnections) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *CollectorConnections) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_CollectorConnections.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *CollectorConnections) Reset() { + *x = CollectorConnections{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_connections_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *CollectorConnections) XXX_Merge(src proto.Message) { - xxx_messageInfo_CollectorConnections.Merge(m, src) -} -func (m *CollectorConnections) XXX_Size() int { - return m.Size() + +func (x *CollectorConnections) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CollectorConnections) XXX_DiscardUnknown() { - xxx_messageInfo_CollectorConnections.DiscardUnknown(m) + +func (*CollectorConnections) ProtoMessage() {} + +func (x *CollectorConnections) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_connections_proto_msgTypes[0] + 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) } -var xxx_messageInfo_CollectorConnections proto.InternalMessageInfo +// Deprecated: Use CollectorConnections.ProtoReflect.Descriptor instead. +func (*CollectorConnections) Descriptor() ([]byte, []int) { + return file_proto_process_connections_proto_rawDescGZIP(), []int{0} +} -func (m *CollectorConnections) GetHostName() string { - if m != nil { - return m.HostName +func (x *CollectorConnections) GetHostName() string { + if x != nil { + return x.HostName } return "" } -func (m *CollectorConnections) GetNetworkId() string { - if m != nil { - return m.NetworkId +func (x *CollectorConnections) GetNetworkId() string { + if x != nil { + return x.NetworkId } return "" } -func (m *CollectorConnections) GetConnections() []*Connection { - if m != nil { - return m.Connections +func (x *CollectorConnections) GetConnections() []*Connection { + if x != nil { + return x.Connections } return nil } -func (m *CollectorConnections) GetGroupId() int32 { - if m != nil { - return m.GroupId +func (x *CollectorConnections) GetGroupId() int32 { + if x != nil { + return x.GroupId } return 0 } -func (m *CollectorConnections) GetGroupSize() int32 { - if m != nil { - return m.GroupSize +func (x *CollectorConnections) GetGroupSize() int32 { + if x != nil { + return x.GroupSize } return 0 } -func (m *CollectorConnections) GetResolvedResources() map[string]*ResourceMetadata { - if m != nil { - return m.ResolvedResources +func (x *CollectorConnections) GetResolvedResources() map[string]*ResourceMetadata { + if x != nil { + return x.ResolvedResources } return nil } -func (m *CollectorConnections) GetContainerForPid() map[int32]string { - if m != nil { - return m.ContainerForPid +func (x *CollectorConnections) GetContainerForPid() map[int32]string { + if x != nil { + return x.ContainerForPid } return nil } -func (m *CollectorConnections) GetEncodedTags() []byte { - if m != nil { - return m.EncodedTags +func (x *CollectorConnections) GetEncodedTags() []byte { + if x != nil { + return x.EncodedTags } return nil } -func (m *CollectorConnections) GetEncodedConnectionsTags() []byte { - if m != nil { - return m.EncodedConnectionsTags +func (x *CollectorConnections) GetEncodedConnectionsTags() []byte { + if x != nil { + return x.EncodedConnectionsTags } return nil } -func (m *CollectorConnections) GetContainerHostType() ContainerHostType { - if m != nil { - return m.ContainerHostType +func (x *CollectorConnections) GetContainerHostType() ContainerHostType { + if x != nil { + return x.ContainerHostType } return ContainerHostType_notSpecified } -func (m *CollectorConnections) GetConnTelemetry() *CollectorConnectionsTelemetry { - if m != nil { - return m.ConnTelemetry +func (x *CollectorConnections) GetConnTelemetry() *CollectorConnectionsTelemetry { + if x != nil { + return x.ConnTelemetry } return nil } -func (m *CollectorConnections) GetConnTelemetryMap() map[string]int64 { - if m != nil { - return m.ConnTelemetryMap +func (x *CollectorConnections) GetConnTelemetryMap() map[string]int64 { + if x != nil { + return x.ConnTelemetryMap } return nil } -func (m *CollectorConnections) GetArchitecture() string { - if m != nil { - return m.Architecture +func (x *CollectorConnections) GetArchitecture() string { + if x != nil { + return x.Architecture } return "" } -func (m *CollectorConnections) GetKernelVersion() string { - if m != nil { - return m.KernelVersion +func (x *CollectorConnections) GetKernelVersion() string { + if x != nil { + return x.KernelVersion } return "" } -func (m *CollectorConnections) GetPlatform() string { - if m != nil { - return m.Platform +func (x *CollectorConnections) GetPlatform() string { + if x != nil { + return x.Platform } return "" } -func (m *CollectorConnections) GetPlatformVersion() string { - if m != nil { - return m.PlatformVersion +func (x *CollectorConnections) GetPlatformVersion() string { + if x != nil { + return x.PlatformVersion } return "" } -func (m *CollectorConnections) GetCompilationTelemetryByAsset() map[string]*RuntimeCompilationTelemetry { - if m != nil { - return m.CompilationTelemetryByAsset +func (x *CollectorConnections) GetCompilationTelemetryByAsset() map[string]*RuntimeCompilationTelemetry { + if x != nil { + return x.CompilationTelemetryByAsset } return nil } -func (m *CollectorConnections) GetKernelHeaderFetchResult() KernelHeaderFetchResult { - if m != nil { - return m.KernelHeaderFetchResult +func (x *CollectorConnections) GetKernelHeaderFetchResult() KernelHeaderFetchResult { + if x != nil { + return x.KernelHeaderFetchResult } return KernelHeaderFetchResult_FetchNotAttempted } -func (m *CollectorConnections) GetCORETelemetryByAsset() map[string]COREResult { - if m != nil { - return m.CORETelemetryByAsset +func (x *CollectorConnections) GetCORETelemetryByAsset() map[string]COREResult { + if x != nil { + return x.CORETelemetryByAsset } return nil } -func (m *CollectorConnections) GetPrebuiltEBPFAssets() []string { - if m != nil { - return m.PrebuiltEBPFAssets +func (x *CollectorConnections) GetPrebuiltEBPFAssets() []string { + if x != nil { + return x.PrebuiltEBPFAssets } return nil } -func (m *CollectorConnections) GetRoutes() []*Route { - if m != nil { - return m.Routes +func (x *CollectorConnections) GetRoutes() []*Route { + if x != nil { + return x.Routes } return nil } -func (m *CollectorConnections) GetRouteMetadata() []*RouteMetadata { - if m != nil { - return m.RouteMetadata +func (x *CollectorConnections) GetRouteMetadata() []*RouteMetadata { + if x != nil { + return x.RouteMetadata } return nil } -func (m *CollectorConnections) GetAgentConfiguration() *AgentConfiguration { - if m != nil { - return m.AgentConfiguration +func (x *CollectorConnections) GetAgentConfiguration() *AgentConfiguration { + if x != nil { + return x.AgentConfiguration } return nil } -func (m *CollectorConnections) GetEncodedDNS() []byte { - if m != nil { - return m.EncodedDNS +func (x *CollectorConnections) GetEncodedDNS() []byte { + if x != nil { + return x.EncodedDNS } return nil } -func (m *CollectorConnections) GetDomains() []string { - if m != nil { - return m.Domains +func (x *CollectorConnections) GetDomains() []string { + if x != nil { + return x.Domains } return nil } -func (m *CollectorConnections) GetEncodedDomainDatabase() []byte { - if m != nil { - return m.EncodedDomainDatabase +func (x *CollectorConnections) GetEncodedDomainDatabase() []byte { + if x != nil { + return x.EncodedDomainDatabase } return nil } -func (m *CollectorConnections) GetEncodedDnsLookups() []byte { - if m != nil { - return m.EncodedDnsLookups +func (x *CollectorConnections) GetEncodedDnsLookups() []byte { + if x != nil { + return x.EncodedDnsLookups } return nil } -func (m *CollectorConnections) GetResolvedHostsByName() map[string]*Host { - if m != nil { - return m.ResolvedHostsByName +func (x *CollectorConnections) GetResolvedHostsByName() map[string]*Host { + if x != nil { + return x.ResolvedHostsByName } return nil } -func (m *CollectorConnections) GetEcsTask() string { - if m != nil { - return m.EcsTask +func (x *CollectorConnections) GetEcsTask() string { + if x != nil { + return x.EcsTask } return "" } // Connections is only used to communicate between the process agent and system-probe. type Connections struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Conns []*Connection `protobuf:"bytes,1,rep,name=conns,proto3" json:"conns,omitempty"` Dns map[string]*DNSEntry `protobuf:"bytes,2,rep,name=dns,proto3" json:"dns,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // For now, we'll keep emitting telemetry from agents < 7.35 @@ -632,127 +784,130 @@ type Connections struct { PrebuiltEBPFAssets []string `protobuf:"bytes,12,rep,name=PrebuiltEBPFAssets,proto3" json:"PrebuiltEBPFAssets,omitempty"` } -func (m *Connections) Reset() { *m = Connections{} } -func (m *Connections) String() string { return proto.CompactTextString(m) } -func (*Connections) ProtoMessage() {} -func (*Connections) Descriptor() ([]byte, []int) { - return fileDescriptor_8f660660e88b5927, []int{1} -} -func (m *Connections) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *Connections) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Connections.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *Connections) Reset() { + *x = Connections{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_connections_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *Connections) XXX_Merge(src proto.Message) { - xxx_messageInfo_Connections.Merge(m, src) -} -func (m *Connections) XXX_Size() int { - return m.Size() + +func (x *Connections) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Connections) XXX_DiscardUnknown() { - xxx_messageInfo_Connections.DiscardUnknown(m) + +func (*Connections) ProtoMessage() {} + +func (x *Connections) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_connections_proto_msgTypes[1] + 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) } -var xxx_messageInfo_Connections proto.InternalMessageInfo +// Deprecated: Use Connections.ProtoReflect.Descriptor instead. +func (*Connections) Descriptor() ([]byte, []int) { + return file_proto_process_connections_proto_rawDescGZIP(), []int{1} +} -func (m *Connections) GetConns() []*Connection { - if m != nil { - return m.Conns +func (x *Connections) GetConns() []*Connection { + if x != nil { + return x.Conns } return nil } -func (m *Connections) GetDns() map[string]*DNSEntry { - if m != nil { - return m.Dns +func (x *Connections) GetDns() map[string]*DNSEntry { + if x != nil { + return x.Dns } return nil } -func (m *Connections) GetConnTelemetry() *ConnectionsTelemetry { - if m != nil { - return m.ConnTelemetry +func (x *Connections) GetConnTelemetry() *ConnectionsTelemetry { + if x != nil { + return x.ConnTelemetry } return nil } -func (m *Connections) GetDomains() []string { - if m != nil { - return m.Domains +func (x *Connections) GetDomains() []string { + if x != nil { + return x.Domains } return nil } -func (m *Connections) GetRoutes() []*Route { - if m != nil { - return m.Routes +func (x *Connections) GetRoutes() []*Route { + if x != nil { + return x.Routes } return nil } -func (m *Connections) GetCompilationTelemetryByAsset() map[string]*RuntimeCompilationTelemetry { - if m != nil { - return m.CompilationTelemetryByAsset +func (x *Connections) GetCompilationTelemetryByAsset() map[string]*RuntimeCompilationTelemetry { + if x != nil { + return x.CompilationTelemetryByAsset } return nil } -func (m *Connections) GetAgentConfiguration() *AgentConfiguration { - if m != nil { - return m.AgentConfiguration +func (x *Connections) GetAgentConfiguration() *AgentConfiguration { + if x != nil { + return x.AgentConfiguration } return nil } -func (m *Connections) GetTags() []string { - if m != nil { - return m.Tags +func (x *Connections) GetTags() []string { + if x != nil { + return x.Tags } return nil } -func (m *Connections) GetConnTelemetryMap() map[string]int64 { - if m != nil { - return m.ConnTelemetryMap +func (x *Connections) GetConnTelemetryMap() map[string]int64 { + if x != nil { + return x.ConnTelemetryMap } return nil } -func (m *Connections) GetKernelHeaderFetchResult() KernelHeaderFetchResult { - if m != nil { - return m.KernelHeaderFetchResult +func (x *Connections) GetKernelHeaderFetchResult() KernelHeaderFetchResult { + if x != nil { + return x.KernelHeaderFetchResult } return KernelHeaderFetchResult_FetchNotAttempted } -func (m *Connections) GetCORETelemetryByAsset() map[string]COREResult { - if m != nil { - return m.CORETelemetryByAsset +func (x *Connections) GetCORETelemetryByAsset() map[string]COREResult { + if x != nil { + return x.CORETelemetryByAsset } return nil } -func (m *Connections) GetPrebuiltEBPFAssets() []string { - if m != nil { - return m.PrebuiltEBPFAssets +func (x *Connections) GetPrebuiltEBPFAssets() []string { + if x != nil { + return x.PrebuiltEBPFAssets } return nil } type Connection struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Pid int32 `protobuf:"varint,1,opt,name=pid,proto3" json:"pid,omitempty"` - Laddr *Addr `protobuf:"bytes,5,opt,name=laddr,proto3" json:"laddr,omitempty"` - Raddr *Addr `protobuf:"bytes,6,opt,name=raddr,proto3" json:"raddr,omitempty"` + Laddr *Addr `protobuf:"bytes,5,opt,name=laddr,proto3" json:"laddr,omitempty"` // Local address + Raddr *Addr `protobuf:"bytes,6,opt,name=raddr,proto3" json:"raddr,omitempty"` // Remote address Family ConnectionFamily `protobuf:"varint,10,opt,name=family,proto3,enum=datadog.process_agent.ConnectionFamily" json:"family,omitempty"` Type ConnectionType `protobuf:"varint,11,opt,name=type,proto3,enum=datadog.process_agent.ConnectionType" json:"type,omitempty"` IsLocalPortEphemeral EphemeralPortState `protobuf:"varint,41,opt,name=isLocalPortEphemeral,proto3,enum=datadog.process_agent.EphemeralPortState" json:"isLocalPortEphemeral,omitempty"` @@ -818,335 +973,338 @@ type Connection struct { RemoteEcsTask string `protobuf:"bytes,53,opt,name=remoteEcsTask,proto3" json:"remoteEcsTask,omitempty"` } -func (m *Connection) Reset() { *m = Connection{} } -func (m *Connection) String() string { return proto.CompactTextString(m) } -func (*Connection) ProtoMessage() {} -func (*Connection) Descriptor() ([]byte, []int) { - return fileDescriptor_8f660660e88b5927, []int{2} -} -func (m *Connection) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *Connection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Connection.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *Connection) Reset() { + *x = Connection{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_connections_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *Connection) XXX_Merge(src proto.Message) { - xxx_messageInfo_Connection.Merge(m, src) -} -func (m *Connection) XXX_Size() int { - return m.Size() + +func (x *Connection) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Connection) XXX_DiscardUnknown() { - xxx_messageInfo_Connection.DiscardUnknown(m) + +func (*Connection) ProtoMessage() {} + +func (x *Connection) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_connections_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) } -var xxx_messageInfo_Connection proto.InternalMessageInfo +// Deprecated: Use Connection.ProtoReflect.Descriptor instead. +func (*Connection) Descriptor() ([]byte, []int) { + return file_proto_process_connections_proto_rawDescGZIP(), []int{2} +} -func (m *Connection) GetPid() int32 { - if m != nil { - return m.Pid +func (x *Connection) GetPid() int32 { + if x != nil { + return x.Pid } return 0 } -func (m *Connection) GetLaddr() *Addr { - if m != nil { - return m.Laddr +func (x *Connection) GetLaddr() *Addr { + if x != nil { + return x.Laddr } return nil } -func (m *Connection) GetRaddr() *Addr { - if m != nil { - return m.Raddr +func (x *Connection) GetRaddr() *Addr { + if x != nil { + return x.Raddr } return nil } -func (m *Connection) GetFamily() ConnectionFamily { - if m != nil { - return m.Family +func (x *Connection) GetFamily() ConnectionFamily { + if x != nil { + return x.Family } return ConnectionFamily_v4 } -func (m *Connection) GetType() ConnectionType { - if m != nil { - return m.Type +func (x *Connection) GetType() ConnectionType { + if x != nil { + return x.Type } return ConnectionType_tcp } -func (m *Connection) GetIsLocalPortEphemeral() EphemeralPortState { - if m != nil { - return m.IsLocalPortEphemeral +func (x *Connection) GetIsLocalPortEphemeral() EphemeralPortState { + if x != nil { + return x.IsLocalPortEphemeral } return EphemeralPortState_ephemeralUnspecified } -func (m *Connection) GetLastBytesSent() uint64 { - if m != nil { - return m.LastBytesSent +func (x *Connection) GetLastBytesSent() uint64 { + if x != nil { + return x.LastBytesSent } return 0 } -func (m *Connection) GetLastBytesReceived() uint64 { - if m != nil { - return m.LastBytesReceived +func (x *Connection) GetLastBytesReceived() uint64 { + if x != nil { + return x.LastBytesReceived } return 0 } -func (m *Connection) GetLastRetransmits() uint32 { - if m != nil { - return m.LastRetransmits +func (x *Connection) GetLastRetransmits() uint32 { + if x != nil { + return x.LastRetransmits } return 0 } -func (m *Connection) GetDirection() ConnectionDirection { - if m != nil { - return m.Direction +func (x *Connection) GetDirection() ConnectionDirection { + if x != nil { + return x.Direction } return ConnectionDirection_unspecified } -func (m *Connection) GetLastPacketsSent() uint64 { - if m != nil { - return m.LastPacketsSent +func (x *Connection) GetLastPacketsSent() uint64 { + if x != nil { + return x.LastPacketsSent } return 0 } -func (m *Connection) GetLastPacketsReceived() uint64 { - if m != nil { - return m.LastPacketsReceived +func (x *Connection) GetLastPacketsReceived() uint64 { + if x != nil { + return x.LastPacketsReceived } return 0 } -func (m *Connection) GetProtocol() *ProtocolStack { - if m != nil { - return m.Protocol +func (x *Connection) GetProtocol() *ProtocolStack { + if x != nil { + return x.Protocol } return nil } -func (m *Connection) GetNetNS() uint32 { - if m != nil { - return m.NetNS +func (x *Connection) GetNetNS() uint32 { + if x != nil { + return x.NetNS } return 0 } -func (m *Connection) GetRemoteNetworkId() string { - if m != nil { - return m.RemoteNetworkId +func (x *Connection) GetRemoteNetworkId() string { + if x != nil { + return x.RemoteNetworkId } return "" } -func (m *Connection) GetIpTranslation() *IPTranslation { - if m != nil { - return m.IpTranslation +func (x *Connection) GetIpTranslation() *IPTranslation { + if x != nil { + return x.IpTranslation } return nil } -func (m *Connection) GetRtt() uint32 { - if m != nil { - return m.Rtt +func (x *Connection) GetRtt() uint32 { + if x != nil { + return x.Rtt } return 0 } -func (m *Connection) GetRttVar() uint32 { - if m != nil { - return m.RttVar +func (x *Connection) GetRttVar() uint32 { + if x != nil { + return x.RttVar } return 0 } -func (m *Connection) GetIntraHost() bool { - if m != nil { - return m.IntraHost +func (x *Connection) GetIntraHost() bool { + if x != nil { + return x.IntraHost } return false } -func (m *Connection) GetDnsSuccessfulResponses() uint32 { - if m != nil { - return m.DnsSuccessfulResponses +func (x *Connection) GetDnsSuccessfulResponses() uint32 { + if x != nil { + return x.DnsSuccessfulResponses } return 0 } -func (m *Connection) GetDnsFailedResponses() uint32 { - if m != nil { - return m.DnsFailedResponses +func (x *Connection) GetDnsFailedResponses() uint32 { + if x != nil { + return x.DnsFailedResponses } return 0 } -func (m *Connection) GetDnsTimeouts() uint32 { - if m != nil { - return m.DnsTimeouts +func (x *Connection) GetDnsTimeouts() uint32 { + if x != nil { + return x.DnsTimeouts } return 0 } -func (m *Connection) GetDnsSuccessLatencySum() uint64 { - if m != nil { - return m.DnsSuccessLatencySum +func (x *Connection) GetDnsSuccessLatencySum() uint64 { + if x != nil { + return x.DnsSuccessLatencySum } return 0 } -func (m *Connection) GetDnsFailureLatencySum() uint64 { - if m != nil { - return m.DnsFailureLatencySum +func (x *Connection) GetDnsFailureLatencySum() uint64 { + if x != nil { + return x.DnsFailureLatencySum } return 0 } -func (m *Connection) GetDnsCountByRcode() map[uint32]uint32 { - if m != nil { - return m.DnsCountByRcode +func (x *Connection) GetDnsCountByRcode() map[uint32]uint32 { + if x != nil { + return x.DnsCountByRcode } return nil } -func (m *Connection) GetLastTcpEstablished() uint32 { - if m != nil { - return m.LastTcpEstablished +func (x *Connection) GetLastTcpEstablished() uint32 { + if x != nil { + return x.LastTcpEstablished } return 0 } -func (m *Connection) GetLastTcpClosed() uint32 { - if m != nil { - return m.LastTcpClosed +func (x *Connection) GetLastTcpClosed() uint32 { + if x != nil { + return x.LastTcpClosed } return 0 } -func (m *Connection) GetDnsStatsByDomain() map[int32]*DNSStats { - if m != nil { - return m.DnsStatsByDomain +func (x *Connection) GetDnsStatsByDomain() map[int32]*DNSStats { + if x != nil { + return x.DnsStatsByDomain } return nil } -func (m *Connection) GetDnsStatsByDomainByQueryType() map[int32]*DNSStatsByQueryType { - if m != nil { - return m.DnsStatsByDomainByQueryType +func (x *Connection) GetDnsStatsByDomainByQueryType() map[int32]*DNSStatsByQueryType { + if x != nil { + return x.DnsStatsByDomainByQueryType } return nil } -func (m *Connection) GetDnsStatsByDomainOffsetByQueryType() map[int32]*DNSStatsByQueryType { - if m != nil { - return m.DnsStatsByDomainOffsetByQueryType +func (x *Connection) GetDnsStatsByDomainOffsetByQueryType() map[int32]*DNSStatsByQueryType { + if x != nil { + return x.DnsStatsByDomainOffsetByQueryType } return nil } -func (m *Connection) GetRouteIdx() int32 { - if m != nil { - return m.RouteIdx +func (x *Connection) GetRouteIdx() int32 { + if x != nil { + return x.RouteIdx } return 0 } -func (m *Connection) GetRouteTargetIdx() int32 { - if m != nil { - return m.RouteTargetIdx +func (x *Connection) GetRouteTargetIdx() int32 { + if x != nil { + return x.RouteTargetIdx } return 0 } -func (m *Connection) GetHttpAggregations() []byte { - if m != nil { - return m.HttpAggregations +func (x *Connection) GetHttpAggregations() []byte { + if x != nil { + return x.HttpAggregations } return nil } -func (m *Connection) GetTags() []uint32 { - if m != nil { - return m.Tags +func (x *Connection) GetTags() []uint32 { + if x != nil { + return x.Tags } return nil } -func (m *Connection) GetTagsIdx() int32 { - if m != nil { - return m.TagsIdx +func (x *Connection) GetTagsIdx() int32 { + if x != nil { + return x.TagsIdx } return 0 } -func (m *Connection) GetTagsChecksum() uint32 { - if m != nil { - return m.TagsChecksum +func (x *Connection) GetTagsChecksum() uint32 { + if x != nil { + return x.TagsChecksum } return 0 } -func (m *Connection) GetStateIndex() uint32 { - if m != nil { - return m.StateIndex +func (x *Connection) GetStateIndex() uint32 { + if x != nil { + return x.StateIndex } return 0 } -func (m *Connection) GetDataStreamsAggregations() []byte { - if m != nil { - return m.DataStreamsAggregations +func (x *Connection) GetDataStreamsAggregations() []byte { + if x != nil { + return x.DataStreamsAggregations } return nil } -func (m *Connection) GetHttp2Aggregations() []byte { - if m != nil { - return m.Http2Aggregations +func (x *Connection) GetHttp2Aggregations() []byte { + if x != nil { + return x.Http2Aggregations } return nil } -func (m *Connection) GetDatabaseAggregations() []byte { - if m != nil { - return m.DatabaseAggregations +func (x *Connection) GetDatabaseAggregations() []byte { + if x != nil { + return x.DatabaseAggregations } return nil } -func (m *Connection) GetTcpFailuresByErrCode() map[uint32]uint32 { - if m != nil { - return m.TcpFailuresByErrCode +func (x *Connection) GetTcpFailuresByErrCode() map[uint32]uint32 { + if x != nil { + return x.TcpFailuresByErrCode } return nil } -func (m *Connection) GetRemoteEcsTask() string { - if m != nil { - return m.RemoteEcsTask +func (x *Connection) GetRemoteEcsTask() string { + if x != nil { + return x.RemoteEcsTask } return "" } // ResourceMetadata only holds enough information to identify a resource in connection data type ResourceMetadata struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` ByteKey []byte `protobuf:"bytes,3,opt,name=byteKey,proto3" json:"byteKey,omitempty"` // backend use only, associates tags with a given ResourceMetadata. @@ -1163,75 +1321,78 @@ type ResourceMetadata struct { TagsModified int64 `protobuf:"varint,6,opt,name=tagsModified,proto3" json:"tagsModified,omitempty"` } -func (m *ResourceMetadata) Reset() { *m = ResourceMetadata{} } -func (m *ResourceMetadata) String() string { return proto.CompactTextString(m) } -func (*ResourceMetadata) ProtoMessage() {} -func (*ResourceMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_8f660660e88b5927, []int{3} -} -func (m *ResourceMetadata) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ResourceMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ResourceMetadata.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ResourceMetadata) Reset() { + *x = ResourceMetadata{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_connections_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ResourceMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_ResourceMetadata.Merge(m, src) -} -func (m *ResourceMetadata) XXX_Size() int { - return m.Size() + +func (x *ResourceMetadata) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ResourceMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_ResourceMetadata.DiscardUnknown(m) + +func (*ResourceMetadata) ProtoMessage() {} + +func (x *ResourceMetadata) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_connections_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) } -var xxx_messageInfo_ResourceMetadata proto.InternalMessageInfo +// Deprecated: Use ResourceMetadata.ProtoReflect.Descriptor instead. +func (*ResourceMetadata) Descriptor() ([]byte, []int) { + return file_proto_process_connections_proto_rawDescGZIP(), []int{3} +} -func (m *ResourceMetadata) GetId() string { - if m != nil { - return m.Id +func (x *ResourceMetadata) GetId() string { + if x != nil { + return x.Id } return "" } -func (m *ResourceMetadata) GetByteKey() []byte { - if m != nil { - return m.ByteKey +func (x *ResourceMetadata) GetByteKey() []byte { + if x != nil { + return x.ByteKey } return nil } -func (m *ResourceMetadata) GetTags() []string { - if m != nil { - return m.Tags +func (x *ResourceMetadata) GetTags() []string { + if x != nil { + return x.Tags } return nil } -func (m *ResourceMetadata) GetTagIndex() int32 { - if m != nil { - return m.TagIndex +func (x *ResourceMetadata) GetTagIndex() int32 { + if x != nil { + return x.TagIndex } return 0 } -func (m *ResourceMetadata) GetTagsModified() int64 { - if m != nil { - return m.TagsModified +func (x *ResourceMetadata) GetTagsModified() int64 { + if x != nil { + return x.TagsModified } return 0 } type ConnectionsTelemetry struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + MonotonicKprobesTriggered int64 `protobuf:"varint,1,opt,name=monotonicKprobesTriggered,proto3" json:"monotonicKprobesTriggered,omitempty"` MonotonicKprobesMissed int64 `protobuf:"varint,2,opt,name=monotonicKprobesMissed,proto3" json:"monotonicKprobesMissed,omitempty"` MonotonicConntrackRegisters int64 `protobuf:"varint,3,opt,name=monotonicConntrackRegisters,proto3" json:"monotonicConntrackRegisters,omitempty"` @@ -1245,117 +1406,120 @@ type ConnectionsTelemetry struct { DnsStatsDropped int64 `protobuf:"varint,11,opt,name=dnsStatsDropped,proto3" json:"dnsStatsDropped,omitempty"` } -func (m *ConnectionsTelemetry) Reset() { *m = ConnectionsTelemetry{} } -func (m *ConnectionsTelemetry) String() string { return proto.CompactTextString(m) } -func (*ConnectionsTelemetry) ProtoMessage() {} -func (*ConnectionsTelemetry) Descriptor() ([]byte, []int) { - return fileDescriptor_8f660660e88b5927, []int{4} -} -func (m *ConnectionsTelemetry) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ConnectionsTelemetry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ConnectionsTelemetry.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ConnectionsTelemetry) Reset() { + *x = ConnectionsTelemetry{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_connections_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ConnectionsTelemetry) XXX_Merge(src proto.Message) { - xxx_messageInfo_ConnectionsTelemetry.Merge(m, src) -} -func (m *ConnectionsTelemetry) XXX_Size() int { - return m.Size() + +func (x *ConnectionsTelemetry) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ConnectionsTelemetry) XXX_DiscardUnknown() { - xxx_messageInfo_ConnectionsTelemetry.DiscardUnknown(m) + +func (*ConnectionsTelemetry) ProtoMessage() {} + +func (x *ConnectionsTelemetry) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_connections_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) } -var xxx_messageInfo_ConnectionsTelemetry proto.InternalMessageInfo +// Deprecated: Use ConnectionsTelemetry.ProtoReflect.Descriptor instead. +func (*ConnectionsTelemetry) Descriptor() ([]byte, []int) { + return file_proto_process_connections_proto_rawDescGZIP(), []int{4} +} -func (m *ConnectionsTelemetry) GetMonotonicKprobesTriggered() int64 { - if m != nil { - return m.MonotonicKprobesTriggered +func (x *ConnectionsTelemetry) GetMonotonicKprobesTriggered() int64 { + if x != nil { + return x.MonotonicKprobesTriggered } return 0 } -func (m *ConnectionsTelemetry) GetMonotonicKprobesMissed() int64 { - if m != nil { - return m.MonotonicKprobesMissed +func (x *ConnectionsTelemetry) GetMonotonicKprobesMissed() int64 { + if x != nil { + return x.MonotonicKprobesMissed } return 0 } -func (m *ConnectionsTelemetry) GetMonotonicConntrackRegisters() int64 { - if m != nil { - return m.MonotonicConntrackRegisters +func (x *ConnectionsTelemetry) GetMonotonicConntrackRegisters() int64 { + if x != nil { + return x.MonotonicConntrackRegisters } return 0 } -func (m *ConnectionsTelemetry) GetMonotonicConntrackRegistersDropped() int64 { - if m != nil { - return m.MonotonicConntrackRegistersDropped +func (x *ConnectionsTelemetry) GetMonotonicConntrackRegistersDropped() int64 { + if x != nil { + return x.MonotonicConntrackRegistersDropped } return 0 } -func (m *ConnectionsTelemetry) GetMonotonicDnsPacketsProcessed() int64 { - if m != nil { - return m.MonotonicDnsPacketsProcessed +func (x *ConnectionsTelemetry) GetMonotonicDnsPacketsProcessed() int64 { + if x != nil { + return x.MonotonicDnsPacketsProcessed } return 0 } -func (m *ConnectionsTelemetry) GetMonotonicConnsClosed() int64 { - if m != nil { - return m.MonotonicConnsClosed +func (x *ConnectionsTelemetry) GetMonotonicConnsClosed() int64 { + if x != nil { + return x.MonotonicConnsClosed } return 0 } -func (m *ConnectionsTelemetry) GetConnsBpfMapSize() int64 { - if m != nil { - return m.ConnsBpfMapSize +func (x *ConnectionsTelemetry) GetConnsBpfMapSize() int64 { + if x != nil { + return x.ConnsBpfMapSize } return 0 } -func (m *ConnectionsTelemetry) GetMonotonicUdpSendsProcessed() int64 { - if m != nil { - return m.MonotonicUdpSendsProcessed +func (x *ConnectionsTelemetry) GetMonotonicUdpSendsProcessed() int64 { + if x != nil { + return x.MonotonicUdpSendsProcessed } return 0 } -func (m *ConnectionsTelemetry) GetMonotonicUdpSendsMissed() int64 { - if m != nil { - return m.MonotonicUdpSendsMissed +func (x *ConnectionsTelemetry) GetMonotonicUdpSendsMissed() int64 { + if x != nil { + return x.MonotonicUdpSendsMissed } return 0 } -func (m *ConnectionsTelemetry) GetConntrackSamplingPercent() int64 { - if m != nil { - return m.ConntrackSamplingPercent +func (x *ConnectionsTelemetry) GetConntrackSamplingPercent() int64 { + if x != nil { + return x.ConntrackSamplingPercent } return 0 } -func (m *ConnectionsTelemetry) GetDnsStatsDropped() int64 { - if m != nil { - return m.DnsStatsDropped +func (x *ConnectionsTelemetry) GetDnsStatsDropped() int64 { + if x != nil { + return x.DnsStatsDropped } return 0 } type CollectorConnectionsTelemetry struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + KprobesTriggered int64 `protobuf:"varint,1,opt,name=kprobesTriggered,proto3" json:"kprobesTriggered,omitempty"` KprobesMissed int64 `protobuf:"varint,2,opt,name=kprobesMissed,proto3" json:"kprobesMissed,omitempty"` ConntrackRegisters int64 `protobuf:"varint,3,opt,name=conntrackRegisters,proto3" json:"conntrackRegisters,omitempty"` @@ -1369,117 +1533,120 @@ type CollectorConnectionsTelemetry struct { DnsStatsDropped int64 `protobuf:"varint,11,opt,name=dnsStatsDropped,proto3" json:"dnsStatsDropped,omitempty"` } -func (m *CollectorConnectionsTelemetry) Reset() { *m = CollectorConnectionsTelemetry{} } -func (m *CollectorConnectionsTelemetry) String() string { return proto.CompactTextString(m) } -func (*CollectorConnectionsTelemetry) ProtoMessage() {} -func (*CollectorConnectionsTelemetry) Descriptor() ([]byte, []int) { - return fileDescriptor_8f660660e88b5927, []int{5} -} -func (m *CollectorConnectionsTelemetry) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *CollectorConnectionsTelemetry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_CollectorConnectionsTelemetry.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *CollectorConnectionsTelemetry) Reset() { + *x = CollectorConnectionsTelemetry{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_connections_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *CollectorConnectionsTelemetry) XXX_Merge(src proto.Message) { - xxx_messageInfo_CollectorConnectionsTelemetry.Merge(m, src) -} -func (m *CollectorConnectionsTelemetry) XXX_Size() int { - return m.Size() + +func (x *CollectorConnectionsTelemetry) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CollectorConnectionsTelemetry) XXX_DiscardUnknown() { - xxx_messageInfo_CollectorConnectionsTelemetry.DiscardUnknown(m) + +func (*CollectorConnectionsTelemetry) ProtoMessage() {} + +func (x *CollectorConnectionsTelemetry) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_connections_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) } -var xxx_messageInfo_CollectorConnectionsTelemetry proto.InternalMessageInfo +// Deprecated: Use CollectorConnectionsTelemetry.ProtoReflect.Descriptor instead. +func (*CollectorConnectionsTelemetry) Descriptor() ([]byte, []int) { + return file_proto_process_connections_proto_rawDescGZIP(), []int{5} +} -func (m *CollectorConnectionsTelemetry) GetKprobesTriggered() int64 { - if m != nil { - return m.KprobesTriggered +func (x *CollectorConnectionsTelemetry) GetKprobesTriggered() int64 { + if x != nil { + return x.KprobesTriggered } return 0 } -func (m *CollectorConnectionsTelemetry) GetKprobesMissed() int64 { - if m != nil { - return m.KprobesMissed +func (x *CollectorConnectionsTelemetry) GetKprobesMissed() int64 { + if x != nil { + return x.KprobesMissed } return 0 } -func (m *CollectorConnectionsTelemetry) GetConntrackRegisters() int64 { - if m != nil { - return m.ConntrackRegisters +func (x *CollectorConnectionsTelemetry) GetConntrackRegisters() int64 { + if x != nil { + return x.ConntrackRegisters } return 0 } -func (m *CollectorConnectionsTelemetry) GetConntrackRegistersDropped() int64 { - if m != nil { - return m.ConntrackRegistersDropped +func (x *CollectorConnectionsTelemetry) GetConntrackRegistersDropped() int64 { + if x != nil { + return x.ConntrackRegistersDropped } return 0 } -func (m *CollectorConnectionsTelemetry) GetDnsPacketsProcessed() int64 { - if m != nil { - return m.DnsPacketsProcessed +func (x *CollectorConnectionsTelemetry) GetDnsPacketsProcessed() int64 { + if x != nil { + return x.DnsPacketsProcessed } return 0 } -func (m *CollectorConnectionsTelemetry) GetConnsClosed() int64 { - if m != nil { - return m.ConnsClosed +func (x *CollectorConnectionsTelemetry) GetConnsClosed() int64 { + if x != nil { + return x.ConnsClosed } return 0 } -func (m *CollectorConnectionsTelemetry) GetConnsBpfMapSize() int64 { - if m != nil { - return m.ConnsBpfMapSize +func (x *CollectorConnectionsTelemetry) GetConnsBpfMapSize() int64 { + if x != nil { + return x.ConnsBpfMapSize } return 0 } -func (m *CollectorConnectionsTelemetry) GetUdpSendsProcessed() int64 { - if m != nil { - return m.UdpSendsProcessed +func (x *CollectorConnectionsTelemetry) GetUdpSendsProcessed() int64 { + if x != nil { + return x.UdpSendsProcessed } return 0 } -func (m *CollectorConnectionsTelemetry) GetUdpSendsMissed() int64 { - if m != nil { - return m.UdpSendsMissed +func (x *CollectorConnectionsTelemetry) GetUdpSendsMissed() int64 { + if x != nil { + return x.UdpSendsMissed } return 0 } -func (m *CollectorConnectionsTelemetry) GetConntrackSamplingPercent() int64 { - if m != nil { - return m.ConntrackSamplingPercent +func (x *CollectorConnectionsTelemetry) GetConntrackSamplingPercent() int64 { + if x != nil { + return x.ConntrackSamplingPercent } return 0 } -func (m *CollectorConnectionsTelemetry) GetDnsStatsDropped() int64 { - if m != nil { - return m.DnsStatsDropped +func (x *CollectorConnectionsTelemetry) GetDnsStatsDropped() int64 { + if x != nil { + return x.DnsStatsDropped } return 0 } type RuntimeCompilationTelemetry struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + RuntimeCompilationEnabled bool `protobuf:"varint,1,opt,name=runtimeCompilationEnabled,proto3" json:"runtimeCompilationEnabled,omitempty"` RuntimeCompilationResult RuntimeCompilationResult `protobuf:"varint,2,opt,name=runtimeCompilationResult,proto3,enum=datadog.process_agent.RuntimeCompilationResult" json:"runtimeCompilationResult,omitempty"` RuntimeCompilationDuration int64 `protobuf:"varint,3,opt,name=runtimeCompilationDuration,proto3" json:"runtimeCompilationDuration,omitempty"` @@ -1487,68 +1654,71 @@ type RuntimeCompilationTelemetry struct { KernelHeaderFetchResult KernelHeaderFetchResult `protobuf:"varint,4,opt,name=kernelHeaderFetchResult,proto3,enum=datadog.process_agent.KernelHeaderFetchResult" json:"kernelHeaderFetchResult,omitempty"` } -func (m *RuntimeCompilationTelemetry) Reset() { *m = RuntimeCompilationTelemetry{} } -func (m *RuntimeCompilationTelemetry) String() string { return proto.CompactTextString(m) } -func (*RuntimeCompilationTelemetry) ProtoMessage() {} -func (*RuntimeCompilationTelemetry) Descriptor() ([]byte, []int) { - return fileDescriptor_8f660660e88b5927, []int{6} -} -func (m *RuntimeCompilationTelemetry) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *RuntimeCompilationTelemetry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_RuntimeCompilationTelemetry.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *RuntimeCompilationTelemetry) Reset() { + *x = RuntimeCompilationTelemetry{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_connections_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *RuntimeCompilationTelemetry) XXX_Merge(src proto.Message) { - xxx_messageInfo_RuntimeCompilationTelemetry.Merge(m, src) -} -func (m *RuntimeCompilationTelemetry) XXX_Size() int { - return m.Size() + +func (x *RuntimeCompilationTelemetry) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *RuntimeCompilationTelemetry) XXX_DiscardUnknown() { - xxx_messageInfo_RuntimeCompilationTelemetry.DiscardUnknown(m) + +func (*RuntimeCompilationTelemetry) ProtoMessage() {} + +func (x *RuntimeCompilationTelemetry) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_connections_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) } -var xxx_messageInfo_RuntimeCompilationTelemetry proto.InternalMessageInfo +// Deprecated: Use RuntimeCompilationTelemetry.ProtoReflect.Descriptor instead. +func (*RuntimeCompilationTelemetry) Descriptor() ([]byte, []int) { + return file_proto_process_connections_proto_rawDescGZIP(), []int{6} +} -func (m *RuntimeCompilationTelemetry) GetRuntimeCompilationEnabled() bool { - if m != nil { - return m.RuntimeCompilationEnabled +func (x *RuntimeCompilationTelemetry) GetRuntimeCompilationEnabled() bool { + if x != nil { + return x.RuntimeCompilationEnabled } return false } -func (m *RuntimeCompilationTelemetry) GetRuntimeCompilationResult() RuntimeCompilationResult { - if m != nil { - return m.RuntimeCompilationResult +func (x *RuntimeCompilationTelemetry) GetRuntimeCompilationResult() RuntimeCompilationResult { + if x != nil { + return x.RuntimeCompilationResult } return RuntimeCompilationResult_NotAttempted } -func (m *RuntimeCompilationTelemetry) GetRuntimeCompilationDuration() int64 { - if m != nil { - return m.RuntimeCompilationDuration +func (x *RuntimeCompilationTelemetry) GetRuntimeCompilationDuration() int64 { + if x != nil { + return x.RuntimeCompilationDuration } return 0 } -func (m *RuntimeCompilationTelemetry) GetKernelHeaderFetchResult() KernelHeaderFetchResult { - if m != nil { - return m.KernelHeaderFetchResult +func (x *RuntimeCompilationTelemetry) GetKernelHeaderFetchResult() KernelHeaderFetchResult { + if x != nil { + return x.KernelHeaderFetchResult } return KernelHeaderFetchResult_FetchNotAttempted } type AgentConfiguration struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + NpmEnabled bool `protobuf:"varint,1,opt,name=npmEnabled,proto3" json:"npmEnabled,omitempty"` UsmEnabled bool `protobuf:"varint,2,opt,name=usmEnabled,proto3" json:"usmEnabled,omitempty"` DsmEnabled bool `protobuf:"varint,3,opt,name=dsmEnabled,proto3" json:"dsmEnabled,omitempty"` @@ -1556,70 +1726,69 @@ type AgentConfiguration struct { CsmEnabled bool `protobuf:"varint,5,opt,name=csmEnabled,proto3" json:"csmEnabled,omitempty"` } -func (m *AgentConfiguration) Reset() { *m = AgentConfiguration{} } -func (m *AgentConfiguration) String() string { return proto.CompactTextString(m) } -func (*AgentConfiguration) ProtoMessage() {} -func (*AgentConfiguration) Descriptor() ([]byte, []int) { - return fileDescriptor_8f660660e88b5927, []int{7} -} -func (m *AgentConfiguration) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *AgentConfiguration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_AgentConfiguration.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *AgentConfiguration) Reset() { + *x = AgentConfiguration{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_connections_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *AgentConfiguration) XXX_Merge(src proto.Message) { - xxx_messageInfo_AgentConfiguration.Merge(m, src) -} -func (m *AgentConfiguration) XXX_Size() int { - return m.Size() + +func (x *AgentConfiguration) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *AgentConfiguration) XXX_DiscardUnknown() { - xxx_messageInfo_AgentConfiguration.DiscardUnknown(m) + +func (*AgentConfiguration) ProtoMessage() {} + +func (x *AgentConfiguration) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_connections_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) } -var xxx_messageInfo_AgentConfiguration proto.InternalMessageInfo +// Deprecated: Use AgentConfiguration.ProtoReflect.Descriptor instead. +func (*AgentConfiguration) Descriptor() ([]byte, []int) { + return file_proto_process_connections_proto_rawDescGZIP(), []int{7} +} -func (m *AgentConfiguration) GetNpmEnabled() bool { - if m != nil { - return m.NpmEnabled +func (x *AgentConfiguration) GetNpmEnabled() bool { + if x != nil { + return x.NpmEnabled } return false } -func (m *AgentConfiguration) GetUsmEnabled() bool { - if m != nil { - return m.UsmEnabled +func (x *AgentConfiguration) GetUsmEnabled() bool { + if x != nil { + return x.UsmEnabled } return false } -func (m *AgentConfiguration) GetDsmEnabled() bool { - if m != nil { - return m.DsmEnabled +func (x *AgentConfiguration) GetDsmEnabled() bool { + if x != nil { + return x.DsmEnabled } return false } -func (m *AgentConfiguration) GetCcmEnabled() bool { - if m != nil { - return m.CcmEnabled +func (x *AgentConfiguration) GetCcmEnabled() bool { + if x != nil { + return x.CcmEnabled } return false } -func (m *AgentConfiguration) GetCsmEnabled() bool { - if m != nil { - return m.CsmEnabled +func (x *AgentConfiguration) GetCsmEnabled() bool { + if x != nil { + return x.CsmEnabled } return false } @@ -1628,233 +1797,249 @@ func (m *AgentConfiguration) GetCsmEnabled() bool { // this is used primarily in AWS where we discover the subnet a // that a connection was associated with type Route struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Subnet *Subnet `protobuf:"bytes,1,opt,name=subnet,proto3" json:"subnet,omitempty"` } -func (m *Route) Reset() { *m = Route{} } -func (m *Route) String() string { return proto.CompactTextString(m) } -func (*Route) ProtoMessage() {} -func (*Route) Descriptor() ([]byte, []int) { - return fileDescriptor_8f660660e88b5927, []int{8} -} -func (m *Route) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *Route) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Route.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *Route) Reset() { + *x = Route{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_connections_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *Route) XXX_Merge(src proto.Message) { - xxx_messageInfo_Route.Merge(m, src) -} -func (m *Route) XXX_Size() int { - return m.Size() + +func (x *Route) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Route) XXX_DiscardUnknown() { - xxx_messageInfo_Route.DiscardUnknown(m) + +func (*Route) ProtoMessage() {} + +func (x *Route) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_connections_proto_msgTypes[8] + 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) } -var xxx_messageInfo_Route proto.InternalMessageInfo +// Deprecated: Use Route.ProtoReflect.Descriptor instead. +func (*Route) Descriptor() ([]byte, []int) { + return file_proto_process_connections_proto_rawDescGZIP(), []int{8} +} -func (m *Route) GetSubnet() *Subnet { - if m != nil { - return m.Subnet +func (x *Route) GetSubnet() *Subnet { + if x != nil { + return x.Subnet } return nil } type Subnet struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Alias string `protobuf:"bytes,1,opt,name=alias,proto3" json:"alias,omitempty"` } -func (m *Subnet) Reset() { *m = Subnet{} } -func (m *Subnet) String() string { return proto.CompactTextString(m) } -func (*Subnet) ProtoMessage() {} -func (*Subnet) Descriptor() ([]byte, []int) { - return fileDescriptor_8f660660e88b5927, []int{9} -} -func (m *Subnet) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *Subnet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Subnet.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *Subnet) Reset() { + *x = Subnet{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_connections_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *Subnet) XXX_Merge(src proto.Message) { - xxx_messageInfo_Subnet.Merge(m, src) -} -func (m *Subnet) XXX_Size() int { - return m.Size() + +func (x *Subnet) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Subnet) XXX_DiscardUnknown() { - xxx_messageInfo_Subnet.DiscardUnknown(m) + +func (*Subnet) ProtoMessage() {} + +func (x *Subnet) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_connections_proto_msgTypes[9] + 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) } -var xxx_messageInfo_Subnet proto.InternalMessageInfo +// Deprecated: Use Subnet.ProtoReflect.Descriptor instead. +func (*Subnet) Descriptor() ([]byte, []int) { + return file_proto_process_connections_proto_rawDescGZIP(), []int{9} +} -func (m *Subnet) GetAlias() string { - if m != nil { - return m.Alias +func (x *Subnet) GetAlias() string { + if x != nil { + return x.Alias } return "" } // RouteMetadata type RouteMetadata struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Alias string `protobuf:"bytes,1,opt,name=alias,proto3" json:"alias,omitempty"` // the tags for the inferred route target (see Connection#routeTargetIdx) // whenever this type is encoded on the wire, use tagsIndex and tagsModified -- not tags. TagIndex int32 `protobuf:"varint,2,opt,name=tagIndex,proto3" json:"tagIndex,omitempty"` TagsModified int64 `protobuf:"varint,3,opt,name=tagsModified,proto3" json:"tagsModified,omitempty"` - Tags []string `protobuf:"bytes,4,rep,name=tags,proto3" json:"tags,omitempty"` + Tags []string `protobuf:"bytes,4,rep,name=tags,proto3" json:"tags,omitempty"` // Used only on the backend } -func (m *RouteMetadata) Reset() { *m = RouteMetadata{} } -func (m *RouteMetadata) String() string { return proto.CompactTextString(m) } -func (*RouteMetadata) ProtoMessage() {} -func (*RouteMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_8f660660e88b5927, []int{10} -} -func (m *RouteMetadata) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *RouteMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_RouteMetadata.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *RouteMetadata) Reset() { + *x = RouteMetadata{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_connections_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *RouteMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_RouteMetadata.Merge(m, src) -} -func (m *RouteMetadata) XXX_Size() int { - return m.Size() + +func (x *RouteMetadata) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *RouteMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_RouteMetadata.DiscardUnknown(m) + +func (*RouteMetadata) ProtoMessage() {} + +func (x *RouteMetadata) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_connections_proto_msgTypes[10] + 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) } -var xxx_messageInfo_RouteMetadata proto.InternalMessageInfo +// Deprecated: Use RouteMetadata.ProtoReflect.Descriptor instead. +func (*RouteMetadata) Descriptor() ([]byte, []int) { + return file_proto_process_connections_proto_rawDescGZIP(), []int{10} +} -func (m *RouteMetadata) GetAlias() string { - if m != nil { - return m.Alias +func (x *RouteMetadata) GetAlias() string { + if x != nil { + return x.Alias } return "" } -func (m *RouteMetadata) GetTagIndex() int32 { - if m != nil { - return m.TagIndex +func (x *RouteMetadata) GetTagIndex() int32 { + if x != nil { + return x.TagIndex } return 0 } -func (m *RouteMetadata) GetTagsModified() int64 { - if m != nil { - return m.TagsModified +func (x *RouteMetadata) GetTagsModified() int64 { + if x != nil { + return x.TagsModified } return 0 } -func (m *RouteMetadata) GetTags() []string { - if m != nil { - return m.Tags +func (x *RouteMetadata) GetTags() []string { + if x != nil { + return x.Tags } return nil } type IPTranslation struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + ReplSrcIP string `protobuf:"bytes,1,opt,name=replSrcIP,proto3" json:"replSrcIP,omitempty"` ReplDstIP string `protobuf:"bytes,2,opt,name=replDstIP,proto3" json:"replDstIP,omitempty"` ReplSrcPort int32 `protobuf:"varint,3,opt,name=replSrcPort,proto3" json:"replSrcPort,omitempty"` ReplDstPort int32 `protobuf:"varint,4,opt,name=replDstPort,proto3" json:"replDstPort,omitempty"` } -func (m *IPTranslation) Reset() { *m = IPTranslation{} } -func (m *IPTranslation) String() string { return proto.CompactTextString(m) } -func (*IPTranslation) ProtoMessage() {} -func (*IPTranslation) Descriptor() ([]byte, []int) { - return fileDescriptor_8f660660e88b5927, []int{11} -} -func (m *IPTranslation) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *IPTranslation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_IPTranslation.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *IPTranslation) Reset() { + *x = IPTranslation{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_connections_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *IPTranslation) XXX_Merge(src proto.Message) { - xxx_messageInfo_IPTranslation.Merge(m, src) -} -func (m *IPTranslation) XXX_Size() int { - return m.Size() + +func (x *IPTranslation) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *IPTranslation) XXX_DiscardUnknown() { - xxx_messageInfo_IPTranslation.DiscardUnknown(m) + +func (*IPTranslation) ProtoMessage() {} + +func (x *IPTranslation) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_connections_proto_msgTypes[11] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_IPTranslation proto.InternalMessageInfo +// Deprecated: Use IPTranslation.ProtoReflect.Descriptor instead. +func (*IPTranslation) Descriptor() ([]byte, []int) { + return file_proto_process_connections_proto_rawDescGZIP(), []int{11} +} -func (m *IPTranslation) GetReplSrcIP() string { - if m != nil { - return m.ReplSrcIP +func (x *IPTranslation) GetReplSrcIP() string { + if x != nil { + return x.ReplSrcIP } return "" } -func (m *IPTranslation) GetReplDstIP() string { - if m != nil { - return m.ReplDstIP +func (x *IPTranslation) GetReplDstIP() string { + if x != nil { + return x.ReplDstIP } return "" } -func (m *IPTranslation) GetReplSrcPort() int32 { - if m != nil { - return m.ReplSrcPort +func (x *IPTranslation) GetReplSrcPort() int32 { + if x != nil { + return x.ReplSrcPort } return 0 } -func (m *IPTranslation) GetReplDstPort() int32 { - if m != nil { - return m.ReplDstPort +func (x *IPTranslation) GetReplDstPort() int32 { + if x != nil { + return x.ReplDstPort } return 0 } type Addr struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Ip string `protobuf:"bytes,2,opt,name=ip,proto3" json:"ip,omitempty"` Port int32 `protobuf:"varint,3,opt,name=port,proto3" json:"port,omitempty"` // the containerID associated with the addr. This value can be used to look up a value in @@ -1867,9083 +2052,1330 @@ type Addr struct { ContainerId string `protobuf:"bytes,5,opt,name=containerId,proto3" json:"containerId,omitempty"` // the host associated with the addr. This value can be used to look up a value in // CollectorConnections#resolvedHostsByName. - HostName string `protobuf:"bytes,7,opt,name=hostName,proto3" json:"hostName,omitempty"` + HostName string `protobuf:"bytes,7,opt,name=hostName,proto3" json:"hostName,omitempty"` // post-resolution field } -func (m *Addr) Reset() { *m = Addr{} } -func (m *Addr) String() string { return proto.CompactTextString(m) } -func (*Addr) ProtoMessage() {} -func (*Addr) Descriptor() ([]byte, []int) { - return fileDescriptor_8f660660e88b5927, []int{12} -} -func (m *Addr) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *Addr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Addr.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *Addr) Reset() { + *x = Addr{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_connections_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *Addr) XXX_Merge(src proto.Message) { - xxx_messageInfo_Addr.Merge(m, src) -} -func (m *Addr) XXX_Size() int { - return m.Size() + +func (x *Addr) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Addr) XXX_DiscardUnknown() { - xxx_messageInfo_Addr.DiscardUnknown(m) + +func (*Addr) ProtoMessage() {} + +func (x *Addr) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_connections_proto_msgTypes[12] + 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) } -var xxx_messageInfo_Addr proto.InternalMessageInfo +// Deprecated: Use Addr.ProtoReflect.Descriptor instead. +func (*Addr) Descriptor() ([]byte, []int) { + return file_proto_process_connections_proto_rawDescGZIP(), []int{12} +} -func (m *Addr) GetIp() string { - if m != nil { - return m.Ip +func (x *Addr) GetIp() string { + if x != nil { + return x.Ip } return "" } -func (m *Addr) GetPort() int32 { - if m != nil { - return m.Port +func (x *Addr) GetPort() int32 { + if x != nil { + return x.Port } return 0 } -func (m *Addr) GetContainerId() string { - if m != nil { - return m.ContainerId +func (x *Addr) GetContainerId() string { + if x != nil { + return x.ContainerId } return "" } -func (m *Addr) GetHostName() string { - if m != nil { - return m.HostName +func (x *Addr) GetHostName() string { + if x != nil { + return x.HostName } return "" } type ProtocolStack struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Stack []ProtocolType `protobuf:"varint,1,rep,name=stack,proto3,enum=datadog.process_agent.ProtocolType" json:"stack,omitempty"` } -func (m *ProtocolStack) Reset() { *m = ProtocolStack{} } -func (m *ProtocolStack) String() string { return proto.CompactTextString(m) } -func (*ProtocolStack) ProtoMessage() {} -func (*ProtocolStack) Descriptor() ([]byte, []int) { - return fileDescriptor_8f660660e88b5927, []int{13} -} -func (m *ProtocolStack) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ProtocolStack) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ProtocolStack.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ProtocolStack) Reset() { + *x = ProtocolStack{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_connections_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ProtocolStack) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProtocolStack.Merge(m, src) -} -func (m *ProtocolStack) XXX_Size() int { - return m.Size() + +func (x *ProtocolStack) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ProtocolStack) XXX_DiscardUnknown() { - xxx_messageInfo_ProtocolStack.DiscardUnknown(m) + +func (*ProtocolStack) ProtoMessage() {} + +func (x *ProtocolStack) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_connections_proto_msgTypes[13] + 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) } -var xxx_messageInfo_ProtocolStack proto.InternalMessageInfo +// Deprecated: Use ProtocolStack.ProtoReflect.Descriptor instead. +func (*ProtocolStack) Descriptor() ([]byte, []int) { + return file_proto_process_connections_proto_rawDescGZIP(), []int{13} +} -func (m *ProtocolStack) GetStack() []ProtocolType { - if m != nil { - return m.Stack +func (x *ProtocolStack) GetStack() []ProtocolType { + if x != nil { + return x.Stack } return nil } type DNSEntry struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Names []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"` } -func (m *DNSEntry) Reset() { *m = DNSEntry{} } -func (m *DNSEntry) String() string { return proto.CompactTextString(m) } -func (*DNSEntry) ProtoMessage() {} -func (*DNSEntry) Descriptor() ([]byte, []int) { - return fileDescriptor_8f660660e88b5927, []int{14} -} -func (m *DNSEntry) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *DNSEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_DNSEntry.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *DNSEntry) Reset() { + *x = DNSEntry{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_connections_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *DNSEntry) XXX_Merge(src proto.Message) { - xxx_messageInfo_DNSEntry.Merge(m, src) -} -func (m *DNSEntry) XXX_Size() int { - return m.Size() + +func (x *DNSEntry) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DNSEntry) XXX_DiscardUnknown() { - xxx_messageInfo_DNSEntry.DiscardUnknown(m) + +func (*DNSEntry) ProtoMessage() {} + +func (x *DNSEntry) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_connections_proto_msgTypes[14] + 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) } -var xxx_messageInfo_DNSEntry proto.InternalMessageInfo +// Deprecated: Use DNSEntry.ProtoReflect.Descriptor instead. +func (*DNSEntry) Descriptor() ([]byte, []int) { + return file_proto_process_connections_proto_rawDescGZIP(), []int{14} +} -func (m *DNSEntry) GetNames() []string { - if m != nil { - return m.Names +func (x *DNSEntry) GetNames() []string { + if x != nil { + return x.Names } return nil } type DNSStats struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + DnsTimeouts uint32 `protobuf:"varint,1,opt,name=dnsTimeouts,proto3" json:"dnsTimeouts,omitempty"` DnsSuccessLatencySum uint64 `protobuf:"varint,2,opt,name=dnsSuccessLatencySum,proto3" json:"dnsSuccessLatencySum,omitempty"` DnsFailureLatencySum uint64 `protobuf:"varint,3,opt,name=dnsFailureLatencySum,proto3" json:"dnsFailureLatencySum,omitempty"` DnsCountByRcode map[uint32]uint32 `protobuf:"bytes,4,rep,name=dnsCountByRcode,proto3" json:"dnsCountByRcode,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` } -func (m *DNSStats) Reset() { *m = DNSStats{} } -func (m *DNSStats) String() string { return proto.CompactTextString(m) } -func (*DNSStats) ProtoMessage() {} -func (*DNSStats) Descriptor() ([]byte, []int) { - return fileDescriptor_8f660660e88b5927, []int{15} -} -func (m *DNSStats) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *DNSStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_DNSStats.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *DNSStats) Reset() { + *x = DNSStats{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_connections_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *DNSStats) XXX_Merge(src proto.Message) { - xxx_messageInfo_DNSStats.Merge(m, src) -} -func (m *DNSStats) XXX_Size() int { - return m.Size() + +func (x *DNSStats) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DNSStats) XXX_DiscardUnknown() { - xxx_messageInfo_DNSStats.DiscardUnknown(m) + +func (*DNSStats) ProtoMessage() {} + +func (x *DNSStats) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_connections_proto_msgTypes[15] + 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) } -var xxx_messageInfo_DNSStats proto.InternalMessageInfo +// Deprecated: Use DNSStats.ProtoReflect.Descriptor instead. +func (*DNSStats) Descriptor() ([]byte, []int) { + return file_proto_process_connections_proto_rawDescGZIP(), []int{15} +} -func (m *DNSStats) GetDnsTimeouts() uint32 { - if m != nil { - return m.DnsTimeouts +func (x *DNSStats) GetDnsTimeouts() uint32 { + if x != nil { + return x.DnsTimeouts } return 0 } -func (m *DNSStats) GetDnsSuccessLatencySum() uint64 { - if m != nil { - return m.DnsSuccessLatencySum +func (x *DNSStats) GetDnsSuccessLatencySum() uint64 { + if x != nil { + return x.DnsSuccessLatencySum } return 0 } -func (m *DNSStats) GetDnsFailureLatencySum() uint64 { - if m != nil { - return m.DnsFailureLatencySum +func (x *DNSStats) GetDnsFailureLatencySum() uint64 { + if x != nil { + return x.DnsFailureLatencySum } return 0 } -func (m *DNSStats) GetDnsCountByRcode() map[uint32]uint32 { - if m != nil { - return m.DnsCountByRcode +func (x *DNSStats) GetDnsCountByRcode() map[uint32]uint32 { + if x != nil { + return x.DnsCountByRcode } return nil } type DNSStatsByQueryType struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + DnsStatsByQueryType map[int32]*DNSStats `protobuf:"bytes,1,rep,name=dnsStatsByQueryType,proto3" json:"dnsStatsByQueryType,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } -func (m *DNSStatsByQueryType) Reset() { *m = DNSStatsByQueryType{} } -func (m *DNSStatsByQueryType) String() string { return proto.CompactTextString(m) } -func (*DNSStatsByQueryType) ProtoMessage() {} -func (*DNSStatsByQueryType) Descriptor() ([]byte, []int) { - return fileDescriptor_8f660660e88b5927, []int{16} -} -func (m *DNSStatsByQueryType) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *DNSStatsByQueryType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_DNSStatsByQueryType.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *DNSStatsByQueryType) Reset() { + *x = DNSStatsByQueryType{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_connections_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *DNSStatsByQueryType) XXX_Merge(src proto.Message) { - xxx_messageInfo_DNSStatsByQueryType.Merge(m, src) -} -func (m *DNSStatsByQueryType) XXX_Size() int { - return m.Size() + +func (x *DNSStatsByQueryType) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DNSStatsByQueryType) XXX_DiscardUnknown() { - xxx_messageInfo_DNSStatsByQueryType.DiscardUnknown(m) -} - -var xxx_messageInfo_DNSStatsByQueryType proto.InternalMessageInfo - -func (m *DNSStatsByQueryType) GetDnsStatsByQueryType() map[int32]*DNSStats { - if m != nil { - return m.DnsStatsByQueryType - } - return nil -} - -func init() { - proto.RegisterEnum("datadog.process_agent.RuntimeCompilationResult", RuntimeCompilationResult_name, RuntimeCompilationResult_value) - proto.RegisterEnum("datadog.process_agent.KernelHeaderFetchResult", KernelHeaderFetchResult_name, KernelHeaderFetchResult_value) - proto.RegisterEnum("datadog.process_agent.COREResult", COREResult_name, COREResult_value) - proto.RegisterEnum("datadog.process_agent.ConnectionFamily", ConnectionFamily_name, ConnectionFamily_value) - proto.RegisterEnum("datadog.process_agent.ConnectionDirection", ConnectionDirection_name, ConnectionDirection_value) - proto.RegisterEnum("datadog.process_agent.EphemeralPortState", EphemeralPortState_name, EphemeralPortState_value) - proto.RegisterEnum("datadog.process_agent.ProtocolType", ProtocolType_name, ProtocolType_value) - proto.RegisterType((*CollectorConnections)(nil), "datadog.process_agent.CollectorConnections") - proto.RegisterMapType((map[string]COREResult)(nil), "datadog.process_agent.CollectorConnections.CORETelemetryByAssetEntry") - proto.RegisterMapType((map[string]*RuntimeCompilationTelemetry)(nil), "datadog.process_agent.CollectorConnections.CompilationTelemetryByAssetEntry") - proto.RegisterMapType((map[string]int64)(nil), "datadog.process_agent.CollectorConnections.ConnTelemetryMapEntry") - proto.RegisterMapType((map[int32]string)(nil), "datadog.process_agent.CollectorConnections.ContainerForPidEntry") - proto.RegisterMapType((map[string]*Host)(nil), "datadog.process_agent.CollectorConnections.ResolvedHostsByNameEntry") - proto.RegisterMapType((map[string]*ResourceMetadata)(nil), "datadog.process_agent.CollectorConnections.ResolvedResourcesEntry") - proto.RegisterType((*Connections)(nil), "datadog.process_agent.Connections") - proto.RegisterMapType((map[string]COREResult)(nil), "datadog.process_agent.Connections.CORETelemetryByAssetEntry") - proto.RegisterMapType((map[string]*RuntimeCompilationTelemetry)(nil), "datadog.process_agent.Connections.CompilationTelemetryByAssetEntry") - proto.RegisterMapType((map[string]int64)(nil), "datadog.process_agent.Connections.ConnTelemetryMapEntry") - proto.RegisterMapType((map[string]*DNSEntry)(nil), "datadog.process_agent.Connections.DnsEntry") - proto.RegisterType((*Connection)(nil), "datadog.process_agent.Connection") - proto.RegisterMapType((map[uint32]uint32)(nil), "datadog.process_agent.Connection.DnsCountByRcodeEntry") - proto.RegisterMapType((map[int32]*DNSStatsByQueryType)(nil), "datadog.process_agent.Connection.DnsStatsByDomainByQueryTypeEntry") - proto.RegisterMapType((map[int32]*DNSStats)(nil), "datadog.process_agent.Connection.DnsStatsByDomainEntry") - proto.RegisterMapType((map[int32]*DNSStatsByQueryType)(nil), "datadog.process_agent.Connection.DnsStatsByDomainOffsetByQueryTypeEntry") - proto.RegisterMapType((map[uint32]uint32)(nil), "datadog.process_agent.Connection.TcpFailuresByErrCodeEntry") - proto.RegisterType((*ResourceMetadata)(nil), "datadog.process_agent.ResourceMetadata") - proto.RegisterType((*ConnectionsTelemetry)(nil), "datadog.process_agent.ConnectionsTelemetry") - proto.RegisterType((*CollectorConnectionsTelemetry)(nil), "datadog.process_agent.CollectorConnectionsTelemetry") - proto.RegisterType((*RuntimeCompilationTelemetry)(nil), "datadog.process_agent.RuntimeCompilationTelemetry") - proto.RegisterType((*AgentConfiguration)(nil), "datadog.process_agent.AgentConfiguration") - proto.RegisterType((*Route)(nil), "datadog.process_agent.Route") - proto.RegisterType((*Subnet)(nil), "datadog.process_agent.Subnet") - proto.RegisterType((*RouteMetadata)(nil), "datadog.process_agent.RouteMetadata") - proto.RegisterType((*IPTranslation)(nil), "datadog.process_agent.IPTranslation") - proto.RegisterType((*Addr)(nil), "datadog.process_agent.Addr") - proto.RegisterType((*ProtocolStack)(nil), "datadog.process_agent.ProtocolStack") - proto.RegisterType((*DNSEntry)(nil), "datadog.process_agent.DNSEntry") - proto.RegisterType((*DNSStats)(nil), "datadog.process_agent.DNSStats") - proto.RegisterMapType((map[uint32]uint32)(nil), "datadog.process_agent.DNSStats.DnsCountByRcodeEntry") - proto.RegisterType((*DNSStatsByQueryType)(nil), "datadog.process_agent.DNSStatsByQueryType") - proto.RegisterMapType((map[int32]*DNSStats)(nil), "datadog.process_agent.DNSStatsByQueryType.DnsStatsByQueryTypeEntry") -} - -func init() { proto.RegisterFile("proto/process/connections.proto", fileDescriptor_8f660660e88b5927) } - -var fileDescriptor_8f660660e88b5927 = []byte{ - // 3271 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x5a, 0xcd, 0x73, 0xdb, 0xc6, - 0xd9, 0x37, 0xf8, 0x21, 0x91, 0x0f, 0xf5, 0x01, 0xad, 0x3e, 0x0c, 0xcb, 0x8e, 0x4c, 0xd3, 0x8e, - 0xad, 0x28, 0x8e, 0x9c, 0x28, 0xb6, 0x93, 0x37, 0x6f, 0x92, 0xd7, 0xa2, 0x28, 0x45, 0x92, 0x6d, - 0x99, 0x06, 0x69, 0x67, 0xde, 0xcc, 0xbc, 0x1f, 0x10, 0xb0, 0xa2, 0x10, 0x81, 0x00, 0x66, 0x77, - 0x61, 0x87, 0x39, 0x75, 0x3a, 0xed, 0xb5, 0xed, 0x74, 0xa6, 0x99, 0x69, 0x4f, 0xb9, 0xf6, 0xde, - 0x43, 0xff, 0x84, 0x1e, 0x73, 0xec, 0xb1, 0x13, 0xff, 0x07, 0x9d, 0xe9, 0xa1, 0xb7, 0xce, 0xee, - 0x02, 0x24, 0x40, 0x02, 0xa2, 0x94, 0xba, 0x99, 0x9e, 0x08, 0xfc, 0x9e, 0xaf, 0xdd, 0x07, 0xcf, - 0xee, 0xf3, 0xec, 0xb3, 0x84, 0xab, 0x3e, 0xf1, 0x98, 0x77, 0xc7, 0x27, 0x9e, 0x89, 0x29, 0xbd, - 0x63, 0x7a, 0xae, 0x8b, 0x4d, 0x66, 0x7b, 0x2e, 0x5d, 0x17, 0x14, 0xb4, 0x68, 0x19, 0xcc, 0xb0, - 0xbc, 0xce, 0x7a, 0xc8, 0xf2, 0x7f, 0x46, 0x07, 0xbb, 0x6c, 0xf9, 0x52, 0x52, 0x4e, 0x80, 0x52, - 0xa2, 0xf6, 0x6a, 0x1e, 0x16, 0xb6, 0x3c, 0xc7, 0xc1, 0x26, 0xf3, 0xc8, 0xd6, 0x40, 0x21, 0x5a, - 0x86, 0xd2, 0xb1, 0x47, 0xd9, 0x81, 0xd1, 0xc5, 0x5a, 0xae, 0xaa, 0xac, 0x96, 0xf5, 0xfe, 0x3b, - 0xba, 0x02, 0x65, 0x17, 0xb3, 0x97, 0x1e, 0x39, 0xd9, 0xb3, 0xb4, 0x29, 0x41, 0x1c, 0x00, 0x68, - 0x0b, 0x2a, 0xb1, 0x91, 0x69, 0xf9, 0x6a, 0x7e, 0xb5, 0xb2, 0x71, 0x6d, 0x3d, 0x75, 0x68, 0xeb, - 0x03, 0x93, 0x7a, 0x5c, 0x0a, 0x69, 0x30, 0xd9, 0x21, 0x5e, 0xe0, 0xef, 0x59, 0x5a, 0xb1, 0xaa, - 0xac, 0x16, 0xf5, 0xe8, 0x95, 0x1b, 0x17, 0x8f, 0x2d, 0xfb, 0x6b, 0xac, 0x4d, 0x08, 0xda, 0x00, - 0x40, 0x3e, 0xcc, 0x11, 0x4c, 0x3d, 0xe7, 0x05, 0xb6, 0x74, 0x4c, 0xbd, 0x80, 0x98, 0x98, 0x6a, - 0x25, 0x31, 0x84, 0x7a, 0xe6, 0x10, 0x46, 0xa7, 0xbf, 0xae, 0x0f, 0x2b, 0xd9, 0x76, 0x19, 0xe9, - 0xe9, 0xa3, 0xca, 0xd1, 0x97, 0x30, 0x6b, 0x7a, 0x2e, 0x33, 0x6c, 0x17, 0x93, 0x1d, 0x8f, 0x34, - 0x6d, 0x4b, 0x03, 0x61, 0xef, 0xc1, 0x79, 0xec, 0x6d, 0x25, 0x55, 0x48, 0x6b, 0xc3, 0x8a, 0x51, - 0x15, 0x2a, 0xd8, 0x35, 0x3d, 0x0b, 0x5b, 0x6d, 0xa3, 0x43, 0xb5, 0x4a, 0x55, 0x59, 0x9d, 0xd2, - 0xe3, 0x10, 0xba, 0x0f, 0x4b, 0xe1, 0x6b, 0x4c, 0xbb, 0x60, 0xbe, 0x29, 0x98, 0x33, 0xa8, 0xe8, - 0x39, 0xcc, 0xf5, 0x8d, 0xed, 0x7a, 0x94, 0xb5, 0x7b, 0x3e, 0xd6, 0x66, 0xab, 0xca, 0xea, 0xcc, - 0xc6, 0x6a, 0xf6, 0xa7, 0x4b, 0xf2, 0xeb, 0xa3, 0x2a, 0xd0, 0x17, 0x30, 0xcd, 0x3f, 0x6b, 0x1b, - 0x3b, 0xb8, 0x8b, 0x19, 0xe9, 0x69, 0x6a, 0x55, 0x59, 0xad, 0x6c, 0xdc, 0x3d, 0x87, 0x6f, 0xfa, - 0xb2, 0x7a, 0x52, 0x15, 0xea, 0x82, 0x9a, 0x00, 0x1e, 0x1b, 0xbe, 0x76, 0x4b, 0xb8, 0x7e, 0xf3, - 0x9c, 0xae, 0x4f, 0xe8, 0x90, 0xbe, 0x1f, 0x51, 0x8d, 0x6a, 0x30, 0x65, 0x10, 0xf3, 0xd8, 0x66, - 0xd8, 0x64, 0x01, 0xc1, 0xda, 0x9c, 0x08, 0xfc, 0x04, 0x86, 0x6e, 0xc0, 0xf4, 0x09, 0x26, 0x2e, - 0x76, 0x9e, 0x63, 0x42, 0x6d, 0xcf, 0xd5, 0x90, 0x60, 0x4a, 0x82, 0x7c, 0x6d, 0xf9, 0x8e, 0xc1, - 0x8e, 0x3c, 0xd2, 0xd5, 0xe6, 0xe5, 0xda, 0x8a, 0xde, 0xd1, 0x2a, 0xcc, 0x46, 0xcf, 0x91, 0x8e, - 0x05, 0xc1, 0x32, 0x0c, 0xa3, 0x5f, 0x28, 0x70, 0xd9, 0xf4, 0xba, 0xbe, 0xed, 0x18, 0x7c, 0x22, - 0xfd, 0xb1, 0xd6, 0x7b, 0x9b, 0x94, 0x62, 0xa6, 0x2d, 0x0a, 0x57, 0x3c, 0x3a, 0x9f, 0x2b, 0x32, - 0xd5, 0x49, 0xaf, 0x9c, 0x66, 0x10, 0x1d, 0xc3, 0x45, 0x39, 0xcf, 0x5d, 0x6c, 0x58, 0x98, 0xec, - 0x60, 0x66, 0x1e, 0xeb, 0x98, 0x06, 0x0e, 0xd3, 0xde, 0x12, 0x91, 0xb4, 0x9e, 0x31, 0x96, 0x87, - 0xe9, 0x52, 0x7a, 0x96, 0x3a, 0xd4, 0x83, 0x85, 0xad, 0x27, 0xfa, 0xf6, 0xc8, 0x94, 0xd7, 0xc4, - 0x94, 0xb7, 0xcf, 0x35, 0xe5, 0x14, 0x3d, 0x72, 0xae, 0xa9, 0x26, 0xd0, 0x3a, 0xa0, 0x26, 0xc1, - 0x87, 0x81, 0xed, 0xb0, 0xed, 0x7a, 0x73, 0x47, 0x80, 0x54, 0xbb, 0x5d, 0xcd, 0xaf, 0x96, 0xf5, - 0x14, 0x0a, 0xba, 0x0b, 0x13, 0xc4, 0x0b, 0x18, 0xa6, 0xda, 0x55, 0x31, 0xb8, 0x2b, 0x19, 0x83, - 0xd3, 0x39, 0x93, 0x1e, 0xf2, 0xa2, 0x7d, 0x98, 0x16, 0x4f, 0x8f, 0x31, 0x33, 0x38, 0xbf, 0x56, - 0x13, 0xc2, 0x37, 0x4e, 0x13, 0x8e, 0x78, 0xf5, 0xa4, 0x28, 0xfa, 0x6f, 0x40, 0x82, 0x6b, 0xcb, - 0x73, 0x8f, 0xec, 0x4e, 0x40, 0xc4, 0xc7, 0xd3, 0xae, 0x8b, 0x75, 0xf8, 0x56, 0x86, 0xc2, 0xcd, - 0x11, 0x01, 0x3d, 0x45, 0x09, 0x5a, 0x01, 0x08, 0xf7, 0x93, 0xc6, 0x41, 0x4b, 0x9b, 0x11, 0x3b, - 0x4c, 0x0c, 0xe1, 0xbb, 0xb8, 0xe5, 0x75, 0x0d, 0xdb, 0xa5, 0xda, 0x8a, 0xf0, 0x50, 0xf4, 0x8a, - 0xee, 0xc2, 0x62, 0xc4, 0x27, 0x90, 0x86, 0xc1, 0x8c, 0x43, 0x83, 0x62, 0xed, 0x86, 0x50, 0x92, - 0x4e, 0x44, 0xb7, 0x61, 0x2e, 0x22, 0xb8, 0xf4, 0x91, 0xe7, 0x9d, 0x04, 0x3e, 0xd5, 0xde, 0x14, - 0x12, 0xa3, 0x04, 0xf4, 0x02, 0xe6, 0xa3, 0xed, 0x9a, 0xef, 0x47, 0xb4, 0xde, 0x13, 0xd9, 0x6c, - 0x55, 0xb8, 0xb2, 0xf1, 0x43, 0xb2, 0x41, 0x4c, 0x8d, 0x8c, 0x91, 0x34, 0x03, 0x7c, 0xd6, 0xd8, - 0xa4, 0x6d, 0x83, 0x9e, 0x68, 0xef, 0x88, 0xa5, 0x1b, 0xbd, 0x2e, 0x77, 0x61, 0x29, 0x3d, 0xb1, - 0x20, 0x15, 0xf2, 0x27, 0xb8, 0xa7, 0x29, 0x82, 0x9f, 0x3f, 0xa2, 0x4f, 0xa0, 0xf8, 0xc2, 0x70, - 0x02, 0x99, 0x7d, 0x2b, 0x1b, 0xb7, 0xb2, 0x3e, 0x7d, 0xa8, 0xa7, 0xff, 0xf5, 0xa5, 0xd4, 0x47, - 0xb9, 0x0f, 0x95, 0xe5, 0x3a, 0xcf, 0xed, 0xa3, 0x79, 0x25, 0x6e, 0xac, 0x28, 0x8d, 0x2d, 0xc4, - 0x8d, 0x95, 0xe3, 0x3a, 0xb6, 0x60, 0x31, 0x75, 0x83, 0x4c, 0x19, 0x71, 0x42, 0x49, 0x3e, 0xae, - 0xe4, 0xa7, 0x0a, 0x54, 0xc7, 0xed, 0x2d, 0x29, 0x0a, 0x77, 0x93, 0x2e, 0xd8, 0xc8, 0x72, 0x41, - 0xe0, 0x32, 0xbb, 0x8b, 0xd3, 0x0c, 0xc4, 0x07, 0xf1, 0x25, 0x5c, 0xca, 0x5c, 0xec, 0x29, 0xc6, - 0x3f, 0x88, 0x1b, 0x9f, 0xc9, 0x2e, 0x60, 0x9e, 0xe8, 0xdb, 0xe1, 0x76, 0x15, 0xb3, 0x65, 0x82, - 0x96, 0x15, 0x33, 0x29, 0xa6, 0xde, 0x4b, 0xce, 0xf3, 0x72, 0x86, 0x29, 0xae, 0x29, 0x66, 0x64, - 0xbf, 0x50, 0x52, 0xd4, 0xdc, 0x7e, 0xa1, 0x54, 0x50, 0x8b, 0xfb, 0x85, 0xd2, 0xa4, 0x5a, 0xda, - 0x2f, 0x94, 0xca, 0x2a, 0xec, 0x17, 0x4a, 0xd3, 0xea, 0xcc, 0x7e, 0xa1, 0x54, 0x55, 0xaf, 0xed, - 0x17, 0x4a, 0xd7, 0xd4, 0x5a, 0xed, 0x5b, 0x80, 0x4a, 0xbc, 0xb8, 0xfb, 0x00, 0x8a, 0x3c, 0xbd, - 0x51, 0x4d, 0x39, 0x6b, 0x71, 0x26, 0xf9, 0xd1, 0x27, 0x90, 0xb7, 0x5c, 0xaa, 0xe5, 0x84, 0xd8, - 0xdb, 0x63, 0xc5, 0xe8, 0x7a, 0xc3, 0x0d, 0x2b, 0x27, 0x2e, 0x87, 0x9e, 0x0e, 0x57, 0x03, 0x79, - 0x31, 0xe1, 0x33, 0x28, 0xca, 0x2c, 0x02, 0x62, 0x5b, 0x4c, 0x61, 0x78, 0x8b, 0x89, 0x76, 0xde, - 0xe2, 0x39, 0x76, 0xde, 0x9f, 0x8f, 0xc9, 0xaa, 0x13, 0x42, 0xd7, 0xd6, 0x19, 0xa6, 0xfe, 0xcf, - 0x25, 0xd3, 0xf4, 0x5d, 0x7b, 0xf2, 0x75, 0xec, 0xda, 0x08, 0x0a, 0x8c, 0x57, 0x84, 0x25, 0xe1, - 0x2f, 0xf1, 0x8c, 0xac, 0x94, 0x5a, 0xaa, 0x2c, 0xa6, 0xfa, 0xe1, 0x99, 0xa6, 0x7a, 0xb6, 0x12, - 0xea, 0x94, 0x0a, 0x01, 0x5e, 0x6f, 0x85, 0xe0, 0x67, 0x54, 0x08, 0x15, 0x31, 0xa7, 0x8f, 0xcf, - 0x32, 0xa7, 0xd7, 0x52, 0x18, 0x4c, 0x65, 0x15, 0x06, 0xcb, 0x9f, 0x43, 0x29, 0x5a, 0x1c, 0x29, - 0x5b, 0xc2, 0xbd, 0xe4, 0x96, 0x70, 0x35, 0x63, 0xc0, 0x8d, 0x83, 0x96, 0x1c, 0xd3, 0xbf, 0xdb, - 0x66, 0xfb, 0x5a, 0xd2, 0xc6, 0x8f, 0xb8, 0x63, 0xd7, 0x7e, 0xb3, 0x04, 0x30, 0xf8, 0xfc, 0x5c, - 0xbb, 0x6f, 0x5b, 0x51, 0x8a, 0xf4, 0x6d, 0x8b, 0x6f, 0xd2, 0x8e, 0x61, 0x59, 0x44, 0x9c, 0x47, - 0xb3, 0x37, 0xe9, 0x4d, 0xcb, 0x22, 0xba, 0xe4, 0xe4, 0x22, 0x44, 0x88, 0x4c, 0x9c, 0x41, 0x44, - 0x70, 0xa2, 0xff, 0x82, 0x89, 0x23, 0xa3, 0x6b, 0x3b, 0xbd, 0x70, 0x41, 0xdc, 0x1a, 0x1b, 0xa9, - 0x3b, 0x82, 0x5d, 0x0f, 0xc5, 0xd0, 0x7f, 0x40, 0x81, 0xf1, 0xb3, 0x5b, 0x45, 0x88, 0xbf, 0x39, - 0x56, 0x5c, 0x1c, 0xdc, 0x84, 0x08, 0xfa, 0x1f, 0x58, 0xb0, 0xe9, 0x23, 0xcf, 0x34, 0x9c, 0xa6, - 0x47, 0xd8, 0xb6, 0x7f, 0x8c, 0xbb, 0x98, 0x18, 0x4e, 0x58, 0xbc, 0x67, 0x6d, 0x3a, 0x7d, 0x3e, - 0x2e, 0xd4, 0x62, 0x06, 0xc3, 0x7a, 0xaa, 0x1a, 0x7e, 0x36, 0x72, 0x0c, 0xca, 0xea, 0x3d, 0x86, - 0x69, 0x0b, 0xbb, 0x4c, 0x1c, 0x05, 0x0b, 0x7a, 0x12, 0xe4, 0x25, 0x5e, 0x1f, 0xd0, 0xb1, 0x89, - 0xed, 0x17, 0xd8, 0x12, 0x47, 0xad, 0x82, 0x3e, 0x4a, 0xe0, 0xa7, 0x25, 0x0e, 0xea, 0x98, 0x11, - 0xc3, 0xa5, 0x5d, 0x9b, 0x51, 0x71, 0xe2, 0x9a, 0xd6, 0x87, 0x61, 0xb4, 0x0b, 0x65, 0xcb, 0x26, - 0x72, 0xce, 0xe2, 0xd0, 0x35, 0xb3, 0xb1, 0x36, 0xd6, 0x39, 0x8d, 0x48, 0x42, 0x1f, 0x08, 0x47, - 0x36, 0x9b, 0x86, 0x79, 0x82, 0x99, 0x9c, 0xc9, 0x4d, 0x31, 0xbe, 0x61, 0x18, 0xbd, 0x0b, 0xf3, - 0x31, 0xa8, 0x3f, 0x9b, 0x5b, 0x82, 0x3b, 0x8d, 0x84, 0x1e, 0x40, 0x49, 0xf4, 0x65, 0x4c, 0xcf, - 0xd1, 0xde, 0x15, 0x41, 0x93, 0x55, 0xf2, 0x37, 0x43, 0xb6, 0x16, 0x33, 0xcc, 0x13, 0xbd, 0x2f, - 0xc5, 0x57, 0x93, 0x8b, 0xd9, 0x41, 0x4b, 0x9c, 0x1a, 0xa7, 0x75, 0xf9, 0xc2, 0xc7, 0x4c, 0x70, - 0xd7, 0x63, 0xf8, 0xa0, 0xdf, 0xb7, 0xa9, 0xca, 0x53, 0xe5, 0x10, 0xcc, 0x4f, 0x1e, 0xb6, 0xdf, - 0xe6, 0x6e, 0x93, 0xab, 0x5b, 0x5b, 0x3c, 0x75, 0x18, 0x7b, 0xcd, 0x18, 0xaf, 0x9e, 0x14, 0xe5, - 0x8b, 0x88, 0x30, 0xa6, 0x2d, 0x89, 0x91, 0xf0, 0x47, 0xb4, 0x04, 0x13, 0x84, 0xb1, 0xe7, 0x06, - 0xd1, 0x2e, 0x0a, 0x30, 0x7c, 0x43, 0x57, 0xa0, 0x6c, 0xbb, 0x8c, 0x18, 0xbc, 0xc4, 0xd1, 0xb4, - 0xaa, 0xb2, 0x5a, 0xd2, 0x07, 0x00, 0xba, 0x0f, 0x4b, 0x96, 0x4b, 0x5b, 0x81, 0xc9, 0x0d, 0x1f, - 0x05, 0x8e, 0x8e, 0xa9, 0xef, 0xb9, 0x14, 0x53, 0xed, 0x92, 0xd0, 0x92, 0x41, 0xe5, 0x5b, 0xb2, - 0xe5, 0xd2, 0x1d, 0xc3, 0x76, 0x44, 0xbd, 0x1d, 0xca, 0x2c, 0x0b, 0x99, 0x14, 0x0a, 0xaa, 0x42, - 0xc5, 0x72, 0x69, 0xdb, 0xee, 0x62, 0x2f, 0x60, 0x54, 0xbb, 0x2c, 0x18, 0xe3, 0x10, 0xda, 0x80, - 0x85, 0x81, 0xad, 0x47, 0x06, 0xc3, 0xae, 0xd9, 0x6b, 0x05, 0x5d, 0xed, 0x8a, 0xf8, 0xa4, 0xa9, - 0xb4, 0x50, 0x86, 0xdb, 0x0a, 0x08, 0x8e, 0xc9, 0xbc, 0xd1, 0x97, 0x19, 0xa1, 0xa1, 0xff, 0x87, - 0x59, 0xcb, 0xa5, 0x5b, 0x5e, 0xe0, 0xb2, 0x7a, 0x4f, 0xe7, 0x07, 0x1b, 0xed, 0x9a, 0xc8, 0x5c, - 0xf7, 0xc7, 0xc6, 0x2c, 0x2f, 0xb9, 0xe2, 0x82, 0x61, 0x2b, 0x69, 0x48, 0x1d, 0xf7, 0x0d, 0x0f, - 0xc0, 0xb6, 0xe9, 0x6f, 0x53, 0x66, 0x1c, 0x3a, 0x36, 0x3d, 0xc6, 0x96, 0xb6, 0x22, 0x7d, 0x33, - 0x4a, 0x89, 0x56, 0x6f, 0xdb, 0xf4, 0xb7, 0x1c, 0x8f, 0x62, 0x4b, 0xbb, 0x2a, 0x58, 0x93, 0x20, - 0x32, 0x41, 0xe5, 0x3e, 0x60, 0x06, 0x2f, 0x79, 0xe5, 0xe1, 0x2d, 0x3c, 0xba, 0x7e, 0x70, 0xa6, - 0x81, 0x27, 0x24, 0xc3, 0x2a, 0x62, 0x58, 0x21, 0xfa, 0x99, 0x02, 0x97, 0x87, 0xc1, 0x7a, 0xef, - 0x69, 0x80, 0x49, 0x4f, 0xb4, 0xad, 0xd6, 0xc6, 0xb4, 0xfb, 0x32, 0x0d, 0xc6, 0x94, 0x84, 0x15, - 0xda, 0x29, 0x66, 0xd0, 0x37, 0x0a, 0x5c, 0x1b, 0xa6, 0x3f, 0x39, 0x3a, 0xa2, 0x98, 0xc5, 0x07, - 0xf3, 0xb6, 0x18, 0xcc, 0xee, 0xf9, 0x07, 0x33, 0xa2, 0x4a, 0x0e, 0x69, 0xbc, 0x49, 0xb4, 0x0c, - 0x25, 0x51, 0xcc, 0xee, 0x59, 0x5f, 0x89, 0xe3, 0x74, 0x51, 0xef, 0xbf, 0xa3, 0x9b, 0x30, 0x23, - 0x9e, 0xdb, 0x06, 0xe9, 0x60, 0xc6, 0x39, 0x56, 0x05, 0xc7, 0x10, 0x8a, 0xd6, 0x40, 0x3d, 0x66, - 0xcc, 0xdf, 0xec, 0x74, 0x08, 0xee, 0x18, 0xb2, 0x93, 0x2b, 0x0f, 0xda, 0x23, 0x38, 0x5a, 0x0a, - 0xeb, 0xc9, 0xdb, 0xd5, 0xfc, 0xea, 0x74, 0x3d, 0xa7, 0x5e, 0x08, 0x6b, 0x4a, 0x0d, 0x26, 0xf9, - 0x2f, 0x37, 0xf2, 0x8e, 0xec, 0xe1, 0x86, 0xaf, 0xa8, 0x06, 0x53, 0xfc, 0x71, 0xeb, 0x18, 0x9b, - 0x27, 0x34, 0xe8, 0x6a, 0x77, 0x44, 0x2c, 0x25, 0x30, 0xb4, 0x02, 0x40, 0x79, 0x36, 0xd9, 0x73, - 0x2d, 0xfc, 0x95, 0xb6, 0x2e, 0x38, 0x62, 0x08, 0xfa, 0x10, 0x2e, 0x72, 0x9f, 0xb6, 0x18, 0xc1, - 0x46, 0x97, 0x26, 0x06, 0xfa, 0x9e, 0x18, 0x68, 0x16, 0x99, 0xa7, 0x18, 0x3e, 0x87, 0x8d, 0x84, - 0xcc, 0x86, 0xec, 0x22, 0x8c, 0x10, 0xc4, 0xf2, 0x0d, 0xfb, 0x0f, 0x09, 0x81, 0xf7, 0x85, 0x40, - 0x2a, 0x0d, 0x79, 0xb0, 0xc0, 0x4c, 0x3f, 0x5c, 0xd6, 0xb4, 0xde, 0xdb, 0x26, 0x64, 0x8b, 0xaf, - 0xe1, 0xbb, 0x22, 0x18, 0xfe, 0x73, 0x7c, 0x30, 0xb4, 0x53, 0xa4, 0xc3, 0xe2, 0x33, 0x4d, 0x31, - 0x5f, 0x9d, 0x72, 0x23, 0xdf, 0x0e, 0x1b, 0x0f, 0xf7, 0x64, 0xdf, 0x31, 0x01, 0x2e, 0xd7, 0x61, - 0x21, 0x6d, 0x73, 0x88, 0x97, 0x52, 0xd3, 0x29, 0x35, 0xd9, 0x74, 0xbc, 0x26, 0xb3, 0x60, 0x31, - 0x75, 0x9d, 0xa6, 0x34, 0x15, 0xce, 0x5e, 0xc3, 0x0a, 0x75, 0x71, 0x2b, 0x5f, 0x43, 0x75, 0xdc, - 0xe2, 0x4c, 0x31, 0xf8, 0x20, 0x69, 0x70, 0x6d, 0x8c, 0xc1, 0x98, 0xc6, 0xb8, 0xed, 0x9f, 0x28, - 0x70, 0xf3, 0x6c, 0x8b, 0xf1, 0x5f, 0x36, 0x84, 0xcf, 0xe0, 0x52, 0x66, 0x04, 0x9c, 0xe7, 0x6b, - 0xed, 0x17, 0x4a, 0x39, 0x35, 0xbf, 0x5f, 0x28, 0xe5, 0xd5, 0xc2, 0x50, 0xa3, 0xa0, 0xa4, 0x96, - 0xfb, 0xed, 0x82, 0x29, 0x75, 0xba, 0xdf, 0x34, 0x98, 0x51, 0x67, 0xf7, 0x0b, 0xa5, 0x59, 0x55, - 0xdd, 0x2f, 0x94, 0xae, 0xab, 0x37, 0x6a, 0xdf, 0x28, 0xa0, 0x0e, 0xf7, 0x98, 0xd0, 0x0c, 0xe4, - 0xc2, 0xe2, 0xb8, 0xac, 0xe7, 0x6c, 0x8b, 0xaf, 0xf4, 0xc3, 0x1e, 0xc3, 0x0f, 0xb1, 0x3c, 0xd1, - 0x4f, 0xe9, 0xd1, 0x6b, 0xff, 0xac, 0x59, 0x88, 0x9d, 0x35, 0x97, 0xa1, 0xc4, 0x8c, 0x8e, 0x5c, - 0xd7, 0xf2, 0x72, 0xa7, 0xff, 0x1e, 0xed, 0x0c, 0x8f, 0x3d, 0xcb, 0x3e, 0xb2, 0xb1, 0x25, 0x2a, - 0xe7, 0xbc, 0x9e, 0xc0, 0xe4, 0xa4, 0x6a, 0xdf, 0x16, 0x45, 0x77, 0x6b, 0xa4, 0x41, 0x80, 0x3e, - 0x86, 0x4b, 0x5d, 0xcf, 0xf5, 0x98, 0xe7, 0xda, 0xe6, 0x43, 0x9f, 0x78, 0x87, 0x98, 0xb6, 0x89, - 0xdd, 0xe9, 0x60, 0x82, 0xe5, 0x98, 0xf3, 0x7a, 0x36, 0x03, 0xaf, 0x35, 0x86, 0x89, 0x8f, 0x6d, - 0xca, 0x13, 0x9e, 0x3c, 0x9e, 0x64, 0x50, 0xd1, 0x03, 0xb8, 0xdc, 0xa7, 0xf0, 0x61, 0x31, 0xc2, - 0xeb, 0x32, 0xdc, 0xb1, 0x29, 0xc3, 0x84, 0x0a, 0xb7, 0xe4, 0xf5, 0xd3, 0x58, 0xd0, 0x01, 0xd4, - 0x4e, 0x21, 0x37, 0x88, 0xe7, 0xfb, 0xd8, 0xd2, 0x0a, 0x42, 0xd1, 0x19, 0x38, 0x51, 0x1d, 0xae, - 0xf4, 0xb9, 0x1a, 0x2e, 0x0d, 0x4b, 0xcd, 0xa6, 0x8c, 0x43, 0x2c, 0xef, 0xd5, 0xf2, 0xfa, 0xa9, - 0x3c, 0x7c, 0xf3, 0x4b, 0x58, 0xa2, 0x61, 0xf2, 0x97, 0x9f, 0x25, 0x95, 0xc6, 0x6b, 0x4d, 0xd1, - 0x2c, 0xaa, 0xfb, 0x47, 0x8f, 0x0d, 0x79, 0x4d, 0x37, 0x29, 0xd8, 0x87, 0x61, 0xf4, 0x29, 0x2c, - 0xf7, 0x35, 0x3c, 0xb3, 0xfc, 0x16, 0x76, 0xad, 0xd8, 0xf8, 0x4a, 0x42, 0xe8, 0x14, 0x0e, 0x9e, - 0x02, 0x46, 0xa8, 0xe1, 0xc7, 0x2a, 0x0b, 0xe1, 0x2c, 0x32, 0xfa, 0x08, 0x34, 0x33, 0x72, 0x5c, - 0xcb, 0xe8, 0xfa, 0x8e, 0xed, 0x76, 0x9a, 0x98, 0x98, 0xbc, 0x98, 0x07, 0x21, 0x9a, 0x49, 0xe7, - 0xf3, 0x8b, 0x72, 0x70, 0xf4, 0x51, 0x2a, 0x72, 0x7e, 0x43, 0x70, 0xed, 0xb7, 0x05, 0x78, 0xe3, - 0xd4, 0x1b, 0x2d, 0x9e, 0x66, 0x4f, 0xd2, 0x43, 0x74, 0x04, 0x17, 0x77, 0x4b, 0x29, 0x01, 0x99, - 0x04, 0x79, 0x5d, 0x67, 0x66, 0x85, 0x5f, 0x0a, 0x85, 0xaf, 0x16, 0x73, 0x4c, 0xb0, 0x65, 0x33, - 0xf0, 0x13, 0x8e, 0x95, 0x19, 0x5a, 0x69, 0x24, 0x5e, 0x63, 0x9b, 0x23, 0x81, 0x14, 0x87, 0xce, - 0x11, 0x3f, 0xb7, 0x61, 0x2e, 0xc8, 0x08, 0x9b, 0x51, 0x02, 0x2f, 0x7d, 0x82, 0xb4, 0x20, 0x19, - 0x42, 0x7f, 0xa4, 0xd8, 0xf8, 0x6b, 0x0e, 0x2e, 0x9f, 0xd2, 0x4b, 0xe1, 0xdf, 0x85, 0x8c, 0x90, - 0xb7, 0x5d, 0xe3, 0xd0, 0x09, 0x43, 0xa4, 0xa4, 0x67, 0x33, 0xa0, 0x13, 0xd0, 0x46, 0x89, 0x61, - 0xa7, 0x4d, 0x76, 0x47, 0xee, 0x9c, 0xb9, 0xbf, 0x13, 0xf6, 0x4a, 0x32, 0x15, 0xf2, 0x65, 0x3c, - 0x4a, 0x6b, 0x44, 0x2d, 0x4b, 0x19, 0x7a, 0xa7, 0x70, 0x9c, 0xd6, 0x15, 0x2c, 0xbc, 0xd6, 0xae, - 0x60, 0xed, 0x0f, 0x0a, 0xa0, 0xcd, 0xd4, 0x6b, 0x2c, 0xd7, 0xef, 0x26, 0x9d, 0x1b, 0x43, 0x38, - 0x3d, 0xa0, 0x7d, 0x7a, 0x4e, 0xd2, 0x07, 0x08, 0xa7, 0x5b, 0x03, 0x7a, 0x5e, 0xd2, 0xad, 0x04, - 0xdd, 0x34, 0xfb, 0xf4, 0x82, 0xa4, 0x0f, 0x10, 0x41, 0x1f, 0xc8, 0x17, 0x43, 0x7a, 0x1f, 0xa9, - 0x7d, 0x0a, 0x45, 0xd1, 0xa4, 0x46, 0xf7, 0x60, 0x82, 0x06, 0x87, 0x2e, 0x66, 0x62, 0x90, 0x95, - 0x8d, 0x37, 0x32, 0x1c, 0xd3, 0x12, 0x4c, 0x7a, 0xc8, 0x5c, 0x5b, 0x81, 0x09, 0x89, 0xf0, 0x4a, - 0xc1, 0x70, 0x6c, 0x83, 0x86, 0xb9, 0x5b, 0xbe, 0xd4, 0x7a, 0x30, 0x9d, 0xb8, 0x41, 0x4c, 0x67, - 0x4b, 0xe4, 0xed, 0xdc, 0x98, 0xbc, 0x9d, 0x1f, 0xcd, 0xdb, 0x69, 0xb5, 0x40, 0xed, 0x97, 0x0a, - 0x4c, 0x27, 0x7a, 0x08, 0xe8, 0x0a, 0x94, 0x09, 0xf6, 0x9d, 0x16, 0x31, 0xf7, 0x9a, 0xa1, 0xfd, - 0x01, 0x10, 0x51, 0x1b, 0x94, 0xed, 0x35, 0xc3, 0xcb, 0xaa, 0x01, 0xc0, 0x37, 0x97, 0x90, 0xb5, - 0xe9, 0x11, 0x26, 0x06, 0x51, 0xd4, 0xe3, 0x50, 0xc4, 0xd1, 0xa0, 0x4c, 0x70, 0x14, 0x06, 0x1c, - 0x21, 0x54, 0xfb, 0x1a, 0x0a, 0x9b, 0x96, 0x45, 0x44, 0x8d, 0xe3, 0x87, 0x26, 0x72, 0xb6, 0xcf, - 0x47, 0xef, 0x0f, 0x94, 0x8a, 0xe7, 0x70, 0x33, 0x93, 0x17, 0x6c, 0xe1, 0x3f, 0x55, 0xca, 0x7a, - 0x1c, 0x4a, 0xfc, 0x8d, 0x66, 0x32, 0xf9, 0x37, 0x9a, 0xa1, 0xfb, 0x9b, 0x09, 0x75, 0xb2, 0x76, - 0x00, 0xd3, 0x89, 0xbe, 0x0e, 0xfa, 0x04, 0x8a, 0x94, 0x3f, 0x88, 0x8b, 0x9a, 0x99, 0x8d, 0xeb, - 0x63, 0x9a, 0x41, 0xbc, 0x8e, 0x14, 0x07, 0x30, 0x29, 0x55, 0xab, 0x42, 0x29, 0xea, 0x10, 0x8b, - 0xc6, 0x90, 0xd1, 0xc5, 0xf2, 0xce, 0xa7, 0xac, 0xcb, 0x97, 0xda, 0x1f, 0x73, 0x82, 0x45, 0x6c, - 0x4d, 0xc3, 0xfd, 0x0f, 0xe5, 0xec, 0xfd, 0x8f, 0xdc, 0x0f, 0xe8, 0x7f, 0xe4, 0x4f, 0xe9, 0x7f, - 0xfc, 0xef, 0x68, 0xff, 0xa3, 0x20, 0xce, 0x4e, 0x77, 0xc7, 0x14, 0xd4, 0x67, 0xeb, 0x7e, 0xbc, - 0x8e, 0x93, 0x50, 0xed, 0x6f, 0x0a, 0xcc, 0xa7, 0xd4, 0xf1, 0x28, 0x10, 0x39, 0x71, 0x18, 0x0e, - 0xaf, 0xda, 0xb6, 0xce, 0x7e, 0x20, 0x88, 0x75, 0x04, 0x86, 0x7a, 0x00, 0x69, 0xfa, 0x97, 0x3b, - 0xa0, 0x65, 0x09, 0xbc, 0xd6, 0xb3, 0xd9, 0xda, 0xaf, 0x73, 0xa0, 0x65, 0x65, 0x09, 0xa4, 0xc2, - 0xd4, 0x81, 0xc7, 0x36, 0x19, 0xc3, 0x5d, 0x9f, 0x61, 0x4b, 0xbd, 0x80, 0x96, 0x00, 0xc5, 0xd8, - 0xc2, 0xf0, 0x50, 0x15, 0xb4, 0x00, 0xea, 0xc3, 0xf8, 0xbf, 0x62, 0xb6, 0x09, 0x51, 0x73, 0x68, - 0x11, 0xe6, 0x9e, 0x63, 0x62, 0x1f, 0xd9, 0xa6, 0xcc, 0x67, 0x84, 0x78, 0x44, 0xcd, 0x73, 0xb5, - 0x4f, 0x02, 0xe6, 0x07, 0xac, 0x61, 0x13, 0xce, 0x58, 0x40, 0x73, 0x30, 0x2d, 0x91, 0x1d, 0xdb, - 0xc1, 0x1c, 0x2a, 0x22, 0x04, 0x33, 0x07, 0xf8, 0xa5, 0x34, 0x86, 0x05, 0xdb, 0x04, 0xc7, 0xe2, - 0xe9, 0x91, 0x10, 0x75, 0x92, 0x8b, 0x86, 0x89, 0x02, 0x1b, 0x16, 0x87, 0x4a, 0x9c, 0x2d, 0x96, - 0x2d, 0x38, 0x56, 0x46, 0x17, 0x61, 0x3e, 0xd4, 0x65, 0x85, 0x96, 0xbc, 0xc0, 0xb5, 0x54, 0xe0, - 0xcc, 0x7b, 0xae, 0x1f, 0xb0, 0x5d, 0x83, 0x1e, 0xcb, 0x01, 0x56, 0xd6, 0x7e, 0x9f, 0x83, 0x8b, - 0x19, 0xe9, 0x88, 0xcf, 0x49, 0xbc, 0xa6, 0x38, 0x26, 0xa0, 0xcc, 0xeb, 0x4a, 0x09, 0x2a, 0xd5, - 0x2b, 0xdc, 0x6e, 0x03, 0x1f, 0x19, 0x81, 0xc3, 0x12, 0x04, 0xe1, 0x9b, 0x56, 0x8f, 0x1e, 0xd1, - 0x04, 0x9c, 0x47, 0xcb, 0xb0, 0xd4, 0xf0, 0x5e, 0xba, 0x8e, 0x67, 0x58, 0xd8, 0x4a, 0xd0, 0x0a, - 0x68, 0x1e, 0x66, 0x23, 0x5a, 0xe4, 0x79, 0xe1, 0xa7, 0x5d, 0x8f, 0xb2, 0x98, 0xdf, 0x27, 0xe2, - 0x8c, 0xe1, 0x6a, 0x54, 0x27, 0xc5, 0xc7, 0x30, 0x1c, 0xdb, 0x32, 0xe4, 0x3d, 0x83, 0x84, 0x4b, - 0xe8, 0x12, 0x2c, 0xea, 0xd8, 0xf7, 0x68, 0xc3, 0x26, 0x9b, 0x42, 0x67, 0x44, 0x2a, 0xa3, 0xeb, - 0x70, 0x35, 0x1c, 0xc1, 0x81, 0x27, 0xfd, 0x15, 0x69, 0x6d, 0xd8, 0x54, 0x24, 0x33, 0x15, 0xd6, - 0x7e, 0xa7, 0x00, 0x0c, 0x2e, 0x61, 0x78, 0x20, 0x84, 0x63, 0x93, 0xee, 0xa8, 0xb7, 0x77, 0xa4, - 0x77, 0x42, 0x74, 0xbb, 0x7b, 0x88, 0x2d, 0x0b, 0x5b, 0x1c, 0x57, 0x84, 0x13, 0x24, 0x1e, 0x3a, - 0x89, 0xc3, 0x39, 0x34, 0x0b, 0x95, 0x3a, 0x3b, 0x8a, 0x8c, 0xaa, 0x79, 0x3e, 0x49, 0x71, 0x59, - 0x14, 0x7e, 0x63, 0x2f, 0x8c, 0x19, 0x19, 0x5c, 0x22, 0x3a, 0x3c, 0x1e, 0x33, 0xb3, 0x50, 0x79, - 0xc4, 0x1d, 0x17, 0x02, 0x13, 0x6b, 0x35, 0x50, 0x87, 0xef, 0x56, 0xd0, 0x04, 0xe4, 0x5e, 0xdc, - 0x55, 0x2f, 0x88, 0xdf, 0xfb, 0xaa, 0xb2, 0xf6, 0x39, 0x8f, 0x8c, 0x91, 0x3b, 0x02, 0xae, 0x2b, - 0x70, 0xa9, 0x8f, 0x4d, 0x91, 0xee, 0xd4, 0x0b, 0x68, 0x0a, 0x4a, 0xb6, 0x6b, 0x7a, 0x5d, 0xdb, - 0xed, 0xa8, 0x0a, 0x7f, 0xf3, 0x02, 0xd6, 0xf1, 0xf8, 0x5b, 0x0e, 0x95, 0xa1, 0xe8, 0x78, 0xa6, - 0xe1, 0xa8, 0x79, 0x54, 0x82, 0x82, 0xeb, 0xb9, 0x58, 0x2d, 0xac, 0x3d, 0x03, 0x34, 0x7a, 0x9d, - 0x82, 0x34, 0x58, 0xc0, 0x11, 0xfa, 0x2c, 0x61, 0x60, 0x0e, 0xa6, 0xfb, 0x94, 0x36, 0x09, 0xb0, - 0xaa, 0xf0, 0x79, 0xf7, 0xa1, 0x1d, 0xc3, 0xa1, 0x58, 0xcd, 0xad, 0xfd, 0x5d, 0x81, 0xa9, 0x78, - 0x8a, 0xe0, 0x1a, 0xa3, 0x0b, 0x83, 0x67, 0xae, 0xe9, 0x18, 0x94, 0x46, 0x1a, 0xe7, 0x61, 0x76, - 0x40, 0x39, 0x71, 0xbd, 0x97, 0xae, 0xaa, 0xf0, 0xd5, 0x17, 0x81, 0xbb, 0xed, 0x76, 0x53, 0xcd, - 0x71, 0xc3, 0x71, 0x64, 0x43, 0xcd, 0xf3, 0xd9, 0x47, 0x50, 0xfb, 0x51, 0x4b, 0x7a, 0x3b, 0x02, - 0x1e, 0x1a, 0x47, 0x27, 0x86, 0x5a, 0x8c, 0x43, 0x8f, 0x3d, 0xb7, 0xe3, 0xa9, 0x13, 0xfc, 0xeb, - 0x47, 0x50, 0xd3, 0xa3, 0xac, 0x43, 0x30, 0x55, 0x27, 0xe3, 0x16, 0x37, 0x1f, 0x3f, 0x6d, 0xaa, - 0xa5, 0xb8, 0xa8, 0x8e, 0x2d, 0x9b, 0xaa, 0xe5, 0x84, 0xb6, 0x5e, 0xeb, 0xe9, 0x23, 0x15, 0xe2, - 0x72, 0x9f, 0xe9, 0xcd, 0x2d, 0xb5, 0x52, 0xdf, 0xfe, 0xd3, 0xf7, 0x2b, 0xca, 0x77, 0xdf, 0xaf, - 0x28, 0x7f, 0xf9, 0x7e, 0x45, 0xf9, 0xd5, 0xab, 0x95, 0x0b, 0xdf, 0xbd, 0x5a, 0xb9, 0xf0, 0xe7, - 0x57, 0x2b, 0x17, 0xbe, 0x78, 0xbb, 0x63, 0xb3, 0xe3, 0xe0, 0x70, 0xdd, 0xf4, 0xba, 0x77, 0x1a, - 0x06, 0x33, 0x1a, 0x5e, 0x47, 0xfe, 0x35, 0xf6, 0x1d, 0xdf, 0xe8, 0xf1, 0x90, 0xbd, 0xf3, 0xe2, - 0x5e, 0xf4, 0x9f, 0xd9, 0xc3, 0x09, 0xa1, 0xf6, 0xfd, 0x7f, 0x04, 0x00, 0x00, 0xff, 0xff, 0xb4, - 0x5a, 0xe1, 0x24, 0x83, 0x2b, 0x00, 0x00, -} - -func (m *CollectorConnections) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *CollectorConnections) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *CollectorConnections) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.EcsTask) > 0 { - i -= len(m.EcsTask) - copy(dAtA[i:], m.EcsTask) - i = encodeVarintConnections(dAtA, i, uint64(len(m.EcsTask))) - i-- - dAtA[i] = 0x2 - i-- - dAtA[i] = 0xea - } - if len(m.PrebuiltEBPFAssets) > 0 { - for iNdEx := len(m.PrebuiltEBPFAssets) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.PrebuiltEBPFAssets[iNdEx]) - copy(dAtA[i:], m.PrebuiltEBPFAssets[iNdEx]) - i = encodeVarintConnections(dAtA, i, uint64(len(m.PrebuiltEBPFAssets[iNdEx]))) - i-- - dAtA[i] = 0x2 - i-- - dAtA[i] = 0xe2 - } - } - if len(m.CORETelemetryByAsset) > 0 { - for k := range m.CORETelemetryByAsset { - v := m.CORETelemetryByAsset[k] - baseI := i - i = encodeVarintConnections(dAtA, i, uint64(v)) - i-- - dAtA[i] = 0x10 - i -= len(k) - copy(dAtA[i:], k) - i = encodeVarintConnections(dAtA, i, uint64(len(k))) - i-- - dAtA[i] = 0xa - i = encodeVarintConnections(dAtA, i, uint64(baseI-i)) - i-- - dAtA[i] = 0x2 - i-- - dAtA[i] = 0xd2 - } - } - if m.KernelHeaderFetchResult != 0 { - i = encodeVarintConnections(dAtA, i, uint64(m.KernelHeaderFetchResult)) - i-- - dAtA[i] = 0x2 - i-- - dAtA[i] = 0xc8 - } - if len(m.ResolvedHostsByName) > 0 { - for k := range m.ResolvedHostsByName { - v := m.ResolvedHostsByName[k] - baseI := i - if v != nil { - { - size, err := v.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintConnections(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - i -= len(k) - copy(dAtA[i:], k) - i = encodeVarintConnections(dAtA, i, uint64(len(k))) - i-- - dAtA[i] = 0xa - i = encodeVarintConnections(dAtA, i, uint64(baseI-i)) - i-- - dAtA[i] = 0x2 - i-- - dAtA[i] = 0xc2 - } - } - if len(m.ConnTelemetryMap) > 0 { - for k := range m.ConnTelemetryMap { - v := m.ConnTelemetryMap[k] - baseI := i - i = encodeVarintConnections(dAtA, i, uint64(v)) - i-- - dAtA[i] = 0x10 - i -= len(k) - copy(dAtA[i:], k) - i = encodeVarintConnections(dAtA, i, uint64(len(k))) - i-- - dAtA[i] = 0xa - i = encodeVarintConnections(dAtA, i, uint64(baseI-i)) - i-- - dAtA[i] = 0x2 - i-- - dAtA[i] = 0xba - } - } - if len(m.EncodedConnectionsTags) > 0 { - i -= len(m.EncodedConnectionsTags) - copy(dAtA[i:], m.EncodedConnectionsTags) - i = encodeVarintConnections(dAtA, i, uint64(len(m.EncodedConnectionsTags))) - i-- - dAtA[i] = 0x2 - i-- - dAtA[i] = 0xb2 - } - if len(m.EncodedDnsLookups) > 0 { - i -= len(m.EncodedDnsLookups) - copy(dAtA[i:], m.EncodedDnsLookups) - i = encodeVarintConnections(dAtA, i, uint64(len(m.EncodedDnsLookups))) - i-- - dAtA[i] = 0x2 - i-- - dAtA[i] = 0xaa - } - if len(m.EncodedDomainDatabase) > 0 { - i -= len(m.EncodedDomainDatabase) - copy(dAtA[i:], m.EncodedDomainDatabase) - i = encodeVarintConnections(dAtA, i, uint64(len(m.EncodedDomainDatabase))) - i-- - dAtA[i] = 0x2 - i-- - dAtA[i] = 0xa2 - } - if m.AgentConfiguration != nil { - { - size, err := m.AgentConfiguration.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintConnections(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x2 - i-- - dAtA[i] = 0x9a - } - if len(m.RouteMetadata) > 0 { - for iNdEx := len(m.RouteMetadata) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.RouteMetadata[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintConnections(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x2 - i-- - dAtA[i] = 0x92 - } - } - if len(m.Routes) > 0 { - for iNdEx := len(m.Routes) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Routes[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintConnections(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0xfa - } - } - if len(m.Domains) > 0 { - for iNdEx := len(m.Domains) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.Domains[iNdEx]) - copy(dAtA[i:], m.Domains[iNdEx]) - i = encodeVarintConnections(dAtA, i, uint64(len(m.Domains[iNdEx]))) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0xf2 - } - } - if len(m.CompilationTelemetryByAsset) > 0 { - for k := range m.CompilationTelemetryByAsset { - v := m.CompilationTelemetryByAsset[k] - baseI := i - if v != nil { - { - size, err := v.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintConnections(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - i -= len(k) - copy(dAtA[i:], k) - i = encodeVarintConnections(dAtA, i, uint64(len(k))) - i-- - dAtA[i] = 0xa - i = encodeVarintConnections(dAtA, i, uint64(baseI-i)) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0xaa - } - } - if len(m.PlatformVersion) > 0 { - i -= len(m.PlatformVersion) - copy(dAtA[i:], m.PlatformVersion) - i = encodeVarintConnections(dAtA, i, uint64(len(m.PlatformVersion))) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0xa2 - } - if len(m.Platform) > 0 { - i -= len(m.Platform) - copy(dAtA[i:], m.Platform) - i = encodeVarintConnections(dAtA, i, uint64(len(m.Platform))) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0x9a - } - if len(m.KernelVersion) > 0 { - i -= len(m.KernelVersion) - copy(dAtA[i:], m.KernelVersion) - i = encodeVarintConnections(dAtA, i, uint64(len(m.KernelVersion))) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0x92 - } - if len(m.Architecture) > 0 { - i -= len(m.Architecture) - copy(dAtA[i:], m.Architecture) - i = encodeVarintConnections(dAtA, i, uint64(len(m.Architecture))) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0x8a - } - if m.ConnTelemetry != nil { - { - size, err := m.ConnTelemetry.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintConnections(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0x82 - } - if m.ContainerHostType != 0 { - i = encodeVarintConnections(dAtA, i, uint64(m.ContainerHostType)) - i-- - dAtA[i] = 0x78 - } - if len(m.EncodedDNS) > 0 { - i -= len(m.EncodedDNS) - copy(dAtA[i:], m.EncodedDNS) - i = encodeVarintConnections(dAtA, i, uint64(len(m.EncodedDNS))) - i-- - dAtA[i] = 0x72 - } - if len(m.NetworkId) > 0 { - i -= len(m.NetworkId) - copy(dAtA[i:], m.NetworkId) - i = encodeVarintConnections(dAtA, i, uint64(len(m.NetworkId))) - i-- - dAtA[i] = 0x62 - } - if len(m.EncodedTags) > 0 { - i -= len(m.EncodedTags) - copy(dAtA[i:], m.EncodedTags) - i = encodeVarintConnections(dAtA, i, uint64(len(m.EncodedTags))) - i-- - dAtA[i] = 0x5a - } - if len(m.ContainerForPid) > 0 { - for k := range m.ContainerForPid { - v := m.ContainerForPid[k] - baseI := i - i -= len(v) - copy(dAtA[i:], v) - i = encodeVarintConnections(dAtA, i, uint64(len(v))) - i-- - dAtA[i] = 0x12 - i = encodeVarintConnections(dAtA, i, uint64(k)) - i-- - dAtA[i] = 0x8 - i = encodeVarintConnections(dAtA, i, uint64(baseI-i)) - i-- - dAtA[i] = 0x52 - } - } - if len(m.ResolvedResources) > 0 { - for k := range m.ResolvedResources { - v := m.ResolvedResources[k] - baseI := i - if v != nil { - { - size, err := v.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintConnections(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - i -= len(k) - copy(dAtA[i:], k) - i = encodeVarintConnections(dAtA, i, uint64(len(k))) - i-- - dAtA[i] = 0xa - i = encodeVarintConnections(dAtA, i, uint64(baseI-i)) - i-- - dAtA[i] = 0x42 - } - } - if m.GroupSize != 0 { - i = encodeVarintConnections(dAtA, i, uint64(m.GroupSize)) - i-- - dAtA[i] = 0x30 - } - if m.GroupId != 0 { - i = encodeVarintConnections(dAtA, i, uint64(m.GroupId)) - i-- - dAtA[i] = 0x28 - } - if len(m.Connections) > 0 { - for iNdEx := len(m.Connections) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Connections[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintConnections(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - } - if len(m.HostName) > 0 { - i -= len(m.HostName) - copy(dAtA[i:], m.HostName) - i = encodeVarintConnections(dAtA, i, uint64(len(m.HostName))) - i-- - dAtA[i] = 0x12 - } - return len(dAtA) - i, nil -} - -func (m *Connections) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *Connections) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Connections) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.PrebuiltEBPFAssets) > 0 { - for iNdEx := len(m.PrebuiltEBPFAssets) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.PrebuiltEBPFAssets[iNdEx]) - copy(dAtA[i:], m.PrebuiltEBPFAssets[iNdEx]) - i = encodeVarintConnections(dAtA, i, uint64(len(m.PrebuiltEBPFAssets[iNdEx]))) - i-- - dAtA[i] = 0x62 - } - } - if len(m.CORETelemetryByAsset) > 0 { - for k := range m.CORETelemetryByAsset { - v := m.CORETelemetryByAsset[k] - baseI := i - i = encodeVarintConnections(dAtA, i, uint64(v)) - i-- - dAtA[i] = 0x10 - i -= len(k) - copy(dAtA[i:], k) - i = encodeVarintConnections(dAtA, i, uint64(len(k))) - i-- - dAtA[i] = 0xa - i = encodeVarintConnections(dAtA, i, uint64(baseI-i)) - i-- - dAtA[i] = 0x5a - } - } - if m.KernelHeaderFetchResult != 0 { - i = encodeVarintConnections(dAtA, i, uint64(m.KernelHeaderFetchResult)) - i-- - dAtA[i] = 0x50 - } - if len(m.ConnTelemetryMap) > 0 { - for k := range m.ConnTelemetryMap { - v := m.ConnTelemetryMap[k] - baseI := i - i = encodeVarintConnections(dAtA, i, uint64(v)) - i-- - dAtA[i] = 0x10 - i -= len(k) - copy(dAtA[i:], k) - i = encodeVarintConnections(dAtA, i, uint64(len(k))) - i-- - dAtA[i] = 0xa - i = encodeVarintConnections(dAtA, i, uint64(baseI-i)) - i-- - dAtA[i] = 0x4a - } - } - 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 = encodeVarintConnections(dAtA, i, uint64(len(m.Tags[iNdEx]))) - i-- - dAtA[i] = 0x42 - } - } - if m.AgentConfiguration != nil { - { - size, err := m.AgentConfiguration.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintConnections(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x3a - } - if len(m.CompilationTelemetryByAsset) > 0 { - for k := range m.CompilationTelemetryByAsset { - v := m.CompilationTelemetryByAsset[k] - baseI := i - if v != nil { - { - size, err := v.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintConnections(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - i -= len(k) - copy(dAtA[i:], k) - i = encodeVarintConnections(dAtA, i, uint64(len(k))) - i-- - dAtA[i] = 0xa - i = encodeVarintConnections(dAtA, i, uint64(baseI-i)) - i-- - dAtA[i] = 0x32 - } - } - if len(m.Routes) > 0 { - for iNdEx := len(m.Routes) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Routes[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintConnections(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x2a - } - } - if len(m.Domains) > 0 { - for iNdEx := len(m.Domains) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.Domains[iNdEx]) - copy(dAtA[i:], m.Domains[iNdEx]) - i = encodeVarintConnections(dAtA, i, uint64(len(m.Domains[iNdEx]))) - i-- - dAtA[i] = 0x22 - } - } - if m.ConnTelemetry != nil { - { - size, err := m.ConnTelemetry.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintConnections(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - if len(m.Dns) > 0 { - for k := range m.Dns { - v := m.Dns[k] - baseI := i - if v != nil { - { - size, err := v.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintConnections(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - i -= len(k) - copy(dAtA[i:], k) - i = encodeVarintConnections(dAtA, i, uint64(len(k))) - i-- - dAtA[i] = 0xa - i = encodeVarintConnections(dAtA, i, uint64(baseI-i)) - i-- - dAtA[i] = 0x12 - } - } - if len(m.Conns) > 0 { - for iNdEx := len(m.Conns) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Conns[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintConnections(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *Connection) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *Connection) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Connection) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.RemoteEcsTask) > 0 { - i -= len(m.RemoteEcsTask) - copy(dAtA[i:], m.RemoteEcsTask) - i = encodeVarintConnections(dAtA, i, uint64(len(m.RemoteEcsTask))) - i-- - dAtA[i] = 0x3 - i-- - dAtA[i] = 0xaa - } - if len(m.TcpFailuresByErrCode) > 0 { - for k := range m.TcpFailuresByErrCode { - v := m.TcpFailuresByErrCode[k] - baseI := i - i = encodeVarintConnections(dAtA, i, uint64(v)) - i-- - dAtA[i] = 0x10 - i = encodeVarintConnections(dAtA, i, uint64(k)) - i-- - dAtA[i] = 0x8 - i = encodeVarintConnections(dAtA, i, uint64(baseI-i)) - i-- - dAtA[i] = 0x3 - i-- - dAtA[i] = 0xa2 - } - } - if len(m.DatabaseAggregations) > 0 { - i -= len(m.DatabaseAggregations) - copy(dAtA[i:], m.DatabaseAggregations) - i = encodeVarintConnections(dAtA, i, uint64(len(m.DatabaseAggregations))) - i-- - dAtA[i] = 0x3 - i-- - dAtA[i] = 0x9a - } - if len(m.Http2Aggregations) > 0 { - i -= len(m.Http2Aggregations) - copy(dAtA[i:], m.Http2Aggregations) - i = encodeVarintConnections(dAtA, i, uint64(len(m.Http2Aggregations))) - i-- - dAtA[i] = 0x3 - i-- - dAtA[i] = 0x92 - } - if len(m.DataStreamsAggregations) > 0 { - i -= len(m.DataStreamsAggregations) - copy(dAtA[i:], m.DataStreamsAggregations) - i = encodeVarintConnections(dAtA, i, uint64(len(m.DataStreamsAggregations))) - i-- - dAtA[i] = 0x3 - i-- - dAtA[i] = 0x8a - } - if m.Protocol != nil { - { - size, err := m.Protocol.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintConnections(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x3 - i-- - dAtA[i] = 0x82 - } - if m.TagsChecksum != 0 { - i = encodeVarintConnections(dAtA, i, uint64(m.TagsChecksum)) - i-- - dAtA[i] = 0x2 - i-- - dAtA[i] = 0xf8 - } - if m.StateIndex != 0 { - i = encodeVarintConnections(dAtA, i, uint64(m.StateIndex)) - i-- - dAtA[i] = 0x2 - i-- - dAtA[i] = 0xf0 - } - if m.TagsIdx != 0 { - i = encodeVarintConnections(dAtA, i, uint64(m.TagsIdx)) - i-- - dAtA[i] = 0x2 - i-- - dAtA[i] = 0xe8 - } - if len(m.Tags) > 0 { - for iNdEx := len(m.Tags) - 1; iNdEx >= 0; iNdEx-- { - i = encodeVarintConnections(dAtA, i, uint64(m.Tags[iNdEx])) - i-- - dAtA[i] = 0x2 - i-- - dAtA[i] = 0xe0 - } - } - if len(m.DnsStatsByDomainOffsetByQueryType) > 0 { - for k := range m.DnsStatsByDomainOffsetByQueryType { - v := m.DnsStatsByDomainOffsetByQueryType[k] - baseI := i - if v != nil { - { - size, err := v.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintConnections(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - i = encodeVarintConnections(dAtA, i, uint64(k)) - i-- - dAtA[i] = 0x8 - i = encodeVarintConnections(dAtA, i, uint64(baseI-i)) - i-- - dAtA[i] = 0x2 - i-- - dAtA[i] = 0xda - } - } - if len(m.DnsStatsByDomainByQueryType) > 0 { - for k := range m.DnsStatsByDomainByQueryType { - v := m.DnsStatsByDomainByQueryType[k] - baseI := i - if v != nil { - { - size, err := v.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintConnections(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - i = encodeVarintConnections(dAtA, i, uint64(k)) - i-- - dAtA[i] = 0x8 - i = encodeVarintConnections(dAtA, i, uint64(baseI-i)) - i-- - dAtA[i] = 0x2 - i-- - dAtA[i] = 0xd2 - } - } - if m.IsLocalPortEphemeral != 0 { - i = encodeVarintConnections(dAtA, i, uint64(m.IsLocalPortEphemeral)) - i-- - dAtA[i] = 0x2 - i-- - dAtA[i] = 0xc8 - } - if m.RouteTargetIdx != 0 { - i = encodeVarintConnections(dAtA, i, uint64(m.RouteTargetIdx)) - i-- - dAtA[i] = 0x2 - i-- - dAtA[i] = 0xc0 - } - if m.LastPacketsReceived != 0 { - i = encodeVarintConnections(dAtA, i, uint64(m.LastPacketsReceived)) - i-- - dAtA[i] = 0x2 - i-- - dAtA[i] = 0xb8 - } - if m.LastPacketsSent != 0 { - i = encodeVarintConnections(dAtA, i, uint64(m.LastPacketsSent)) - i-- - dAtA[i] = 0x2 - i-- - dAtA[i] = 0xb0 - } - if len(m.HttpAggregations) > 0 { - i -= len(m.HttpAggregations) - copy(dAtA[i:], m.HttpAggregations) - i = encodeVarintConnections(dAtA, i, uint64(len(m.HttpAggregations))) - i-- - dAtA[i] = 0x2 - i-- - dAtA[i] = 0xaa - } - if m.RouteIdx != 0 { - i = encodeVarintConnections(dAtA, i, uint64(m.RouteIdx)) - i-- - dAtA[i] = 0x2 - i-- - dAtA[i] = 0xa0 - } - if len(m.DnsStatsByDomain) > 0 { - for k := range m.DnsStatsByDomain { - v := m.DnsStatsByDomain[k] - baseI := i - if v != nil { - { - size, err := v.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintConnections(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - i = encodeVarintConnections(dAtA, i, uint64(k)) - i-- - dAtA[i] = 0x8 - i = encodeVarintConnections(dAtA, i, uint64(baseI-i)) - i-- - dAtA[i] = 0x2 - i-- - dAtA[i] = 0x92 - } - } - if len(m.DnsCountByRcode) > 0 { - for k := range m.DnsCountByRcode { - v := m.DnsCountByRcode[k] - baseI := i - i = encodeVarintConnections(dAtA, i, uint64(v)) - i-- - dAtA[i] = 0x10 - i = encodeVarintConnections(dAtA, i, uint64(k)) - i-- - dAtA[i] = 0x8 - i = encodeVarintConnections(dAtA, i, uint64(baseI-i)) - i-- - dAtA[i] = 0x2 - i-- - dAtA[i] = 0x8a - } - } - if len(m.RemoteNetworkId) > 0 { - i -= len(m.RemoteNetworkId) - copy(dAtA[i:], m.RemoteNetworkId) - i = encodeVarintConnections(dAtA, i, uint64(len(m.RemoteNetworkId))) - i-- - dAtA[i] = 0x2 - i-- - dAtA[i] = 0x82 - } - if m.LastTcpClosed != 0 { - i = encodeVarintConnections(dAtA, i, uint64(m.LastTcpClosed)) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0xf8 - } - if m.LastTcpEstablished != 0 { - i = encodeVarintConnections(dAtA, i, uint64(m.LastTcpEstablished)) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0xf0 - } - if m.DnsFailureLatencySum != 0 { - i = encodeVarintConnections(dAtA, i, uint64(m.DnsFailureLatencySum)) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0xe8 - } - if m.DnsSuccessLatencySum != 0 { - i = encodeVarintConnections(dAtA, i, uint64(m.DnsSuccessLatencySum)) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0xe0 - } - if m.DnsTimeouts != 0 { - i = encodeVarintConnections(dAtA, i, uint64(m.DnsTimeouts)) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0xd8 - } - if m.DnsFailedResponses != 0 { - i = encodeVarintConnections(dAtA, i, uint64(m.DnsFailedResponses)) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0xd0 - } - if m.DnsSuccessfulResponses != 0 { - i = encodeVarintConnections(dAtA, i, uint64(m.DnsSuccessfulResponses)) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0xc8 - } - if m.IntraHost { - i-- - if m.IntraHost { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0xc0 - } - if m.RttVar != 0 { - i = encodeVarintConnections(dAtA, i, uint64(m.RttVar)) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0xb8 - } - if m.Rtt != 0 { - i = encodeVarintConnections(dAtA, i, uint64(m.Rtt)) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0xb0 - } - if m.IpTranslation != nil { - { - size, err := m.IpTranslation.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintConnections(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0xaa - } - if m.NetNS != 0 { - i = encodeVarintConnections(dAtA, i, uint64(m.NetNS)) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0xa0 - } - if m.Direction != 0 { - i = encodeVarintConnections(dAtA, i, uint64(m.Direction)) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0x98 - } - if m.LastRetransmits != 0 { - i = encodeVarintConnections(dAtA, i, uint64(m.LastRetransmits)) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0x90 - } - if m.LastBytesReceived != 0 { - i = encodeVarintConnections(dAtA, i, uint64(m.LastBytesReceived)) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0x88 - } - if m.LastBytesSent != 0 { - i = encodeVarintConnections(dAtA, i, uint64(m.LastBytesSent)) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0x80 - } - if m.Type != 0 { - i = encodeVarintConnections(dAtA, i, uint64(m.Type)) - i-- - dAtA[i] = 0x58 - } - if m.Family != 0 { - i = encodeVarintConnections(dAtA, i, uint64(m.Family)) - i-- - dAtA[i] = 0x50 - } - if m.Raddr != nil { - { - size, err := m.Raddr.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintConnections(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x32 - } - if m.Laddr != nil { - { - size, err := m.Laddr.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintConnections(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x2a - } - if m.Pid != 0 { - i = encodeVarintConnections(dAtA, i, uint64(m.Pid)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *ResourceMetadata) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ResourceMetadata) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ResourceMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.TagsModified != 0 { - i = encodeVarintConnections(dAtA, i, uint64(m.TagsModified)) - i-- - dAtA[i] = 0x30 - } - if m.TagIndex != 0 { - i = encodeVarintConnections(dAtA, i, uint64(m.TagIndex)) - i-- - dAtA[i] = 0x28 - } - 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 = encodeVarintConnections(dAtA, i, uint64(len(m.Tags[iNdEx]))) - i-- - dAtA[i] = 0x22 - } - } - if len(m.ByteKey) > 0 { - i -= len(m.ByteKey) - copy(dAtA[i:], m.ByteKey) - i = encodeVarintConnections(dAtA, i, uint64(len(m.ByteKey))) - i-- - dAtA[i] = 0x1a - } - if len(m.Id) > 0 { - i -= len(m.Id) - copy(dAtA[i:], m.Id) - i = encodeVarintConnections(dAtA, i, uint64(len(m.Id))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *ConnectionsTelemetry) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ConnectionsTelemetry) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ConnectionsTelemetry) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.DnsStatsDropped != 0 { - i = encodeVarintConnections(dAtA, i, uint64(m.DnsStatsDropped)) - i-- - dAtA[i] = 0x58 - } - if m.ConntrackSamplingPercent != 0 { - i = encodeVarintConnections(dAtA, i, uint64(m.ConntrackSamplingPercent)) - i-- - dAtA[i] = 0x50 - } - if m.MonotonicUdpSendsMissed != 0 { - i = encodeVarintConnections(dAtA, i, uint64(m.MonotonicUdpSendsMissed)) - i-- - dAtA[i] = 0x48 - } - if m.MonotonicUdpSendsProcessed != 0 { - i = encodeVarintConnections(dAtA, i, uint64(m.MonotonicUdpSendsProcessed)) - i-- - dAtA[i] = 0x40 - } - if m.ConnsBpfMapSize != 0 { - i = encodeVarintConnections(dAtA, i, uint64(m.ConnsBpfMapSize)) - i-- - dAtA[i] = 0x38 - } - if m.MonotonicConnsClosed != 0 { - i = encodeVarintConnections(dAtA, i, uint64(m.MonotonicConnsClosed)) - i-- - dAtA[i] = 0x30 - } - if m.MonotonicDnsPacketsProcessed != 0 { - i = encodeVarintConnections(dAtA, i, uint64(m.MonotonicDnsPacketsProcessed)) - i-- - dAtA[i] = 0x28 - } - if m.MonotonicConntrackRegistersDropped != 0 { - i = encodeVarintConnections(dAtA, i, uint64(m.MonotonicConntrackRegistersDropped)) - i-- - dAtA[i] = 0x20 - } - if m.MonotonicConntrackRegisters != 0 { - i = encodeVarintConnections(dAtA, i, uint64(m.MonotonicConntrackRegisters)) - i-- - dAtA[i] = 0x18 - } - if m.MonotonicKprobesMissed != 0 { - i = encodeVarintConnections(dAtA, i, uint64(m.MonotonicKprobesMissed)) - i-- - dAtA[i] = 0x10 - } - if m.MonotonicKprobesTriggered != 0 { - i = encodeVarintConnections(dAtA, i, uint64(m.MonotonicKprobesTriggered)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *CollectorConnectionsTelemetry) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *CollectorConnectionsTelemetry) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *CollectorConnectionsTelemetry) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.DnsStatsDropped != 0 { - i = encodeVarintConnections(dAtA, i, uint64(m.DnsStatsDropped)) - i-- - dAtA[i] = 0x58 - } - if m.ConntrackSamplingPercent != 0 { - i = encodeVarintConnections(dAtA, i, uint64(m.ConntrackSamplingPercent)) - i-- - dAtA[i] = 0x50 - } - if m.UdpSendsMissed != 0 { - i = encodeVarintConnections(dAtA, i, uint64(m.UdpSendsMissed)) - i-- - dAtA[i] = 0x48 - } - if m.UdpSendsProcessed != 0 { - i = encodeVarintConnections(dAtA, i, uint64(m.UdpSendsProcessed)) - i-- - dAtA[i] = 0x40 - } - if m.ConnsBpfMapSize != 0 { - i = encodeVarintConnections(dAtA, i, uint64(m.ConnsBpfMapSize)) - i-- - dAtA[i] = 0x38 - } - if m.ConnsClosed != 0 { - i = encodeVarintConnections(dAtA, i, uint64(m.ConnsClosed)) - i-- - dAtA[i] = 0x30 - } - if m.DnsPacketsProcessed != 0 { - i = encodeVarintConnections(dAtA, i, uint64(m.DnsPacketsProcessed)) - i-- - dAtA[i] = 0x28 - } - if m.ConntrackRegistersDropped != 0 { - i = encodeVarintConnections(dAtA, i, uint64(m.ConntrackRegistersDropped)) - i-- - dAtA[i] = 0x20 - } - if m.ConntrackRegisters != 0 { - i = encodeVarintConnections(dAtA, i, uint64(m.ConntrackRegisters)) - i-- - dAtA[i] = 0x18 - } - if m.KprobesMissed != 0 { - i = encodeVarintConnections(dAtA, i, uint64(m.KprobesMissed)) - i-- - dAtA[i] = 0x10 - } - if m.KprobesTriggered != 0 { - i = encodeVarintConnections(dAtA, i, uint64(m.KprobesTriggered)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *RuntimeCompilationTelemetry) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *RuntimeCompilationTelemetry) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *RuntimeCompilationTelemetry) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.KernelHeaderFetchResult != 0 { - i = encodeVarintConnections(dAtA, i, uint64(m.KernelHeaderFetchResult)) - i-- - dAtA[i] = 0x20 - } - if m.RuntimeCompilationDuration != 0 { - i = encodeVarintConnections(dAtA, i, uint64(m.RuntimeCompilationDuration)) - i-- - dAtA[i] = 0x18 - } - if m.RuntimeCompilationResult != 0 { - i = encodeVarintConnections(dAtA, i, uint64(m.RuntimeCompilationResult)) - i-- - dAtA[i] = 0x10 - } - if m.RuntimeCompilationEnabled { - i-- - if m.RuntimeCompilationEnabled { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *AgentConfiguration) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *AgentConfiguration) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *AgentConfiguration) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.CsmEnabled { - i-- - if m.CsmEnabled { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x28 - } - if m.CcmEnabled { - i-- - if m.CcmEnabled { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x20 - } - if m.DsmEnabled { - i-- - if m.DsmEnabled { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x18 - } - if m.UsmEnabled { - i-- - if m.UsmEnabled { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x10 - } - if m.NpmEnabled { - i-- - if m.NpmEnabled { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *Route) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *Route) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Route) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Subnet != nil { - { - size, err := m.Subnet.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintConnections(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *Subnet) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *Subnet) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Subnet) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Alias) > 0 { - i -= len(m.Alias) - copy(dAtA[i:], m.Alias) - i = encodeVarintConnections(dAtA, i, uint64(len(m.Alias))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *RouteMetadata) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *RouteMetadata) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *RouteMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - 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 = encodeVarintConnections(dAtA, i, uint64(len(m.Tags[iNdEx]))) - i-- - dAtA[i] = 0x22 - } - } - if m.TagsModified != 0 { - i = encodeVarintConnections(dAtA, i, uint64(m.TagsModified)) - i-- - dAtA[i] = 0x18 - } - if m.TagIndex != 0 { - i = encodeVarintConnections(dAtA, i, uint64(m.TagIndex)) - i-- - dAtA[i] = 0x10 - } - if len(m.Alias) > 0 { - i -= len(m.Alias) - copy(dAtA[i:], m.Alias) - i = encodeVarintConnections(dAtA, i, uint64(len(m.Alias))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *IPTranslation) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *IPTranslation) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *IPTranslation) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.ReplDstPort != 0 { - i = encodeVarintConnections(dAtA, i, uint64(m.ReplDstPort)) - i-- - dAtA[i] = 0x20 - } - if m.ReplSrcPort != 0 { - i = encodeVarintConnections(dAtA, i, uint64(m.ReplSrcPort)) - i-- - dAtA[i] = 0x18 - } - if len(m.ReplDstIP) > 0 { - i -= len(m.ReplDstIP) - copy(dAtA[i:], m.ReplDstIP) - i = encodeVarintConnections(dAtA, i, uint64(len(m.ReplDstIP))) - i-- - dAtA[i] = 0x12 - } - if len(m.ReplSrcIP) > 0 { - i -= len(m.ReplSrcIP) - copy(dAtA[i:], m.ReplSrcIP) - i = encodeVarintConnections(dAtA, i, uint64(len(m.ReplSrcIP))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *Addr) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *Addr) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Addr) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.HostName) > 0 { - i -= len(m.HostName) - copy(dAtA[i:], m.HostName) - i = encodeVarintConnections(dAtA, i, uint64(len(m.HostName))) - i-- - dAtA[i] = 0x3a - } - if len(m.ContainerId) > 0 { - i -= len(m.ContainerId) - copy(dAtA[i:], m.ContainerId) - i = encodeVarintConnections(dAtA, i, uint64(len(m.ContainerId))) - i-- - dAtA[i] = 0x2a - } - if m.Port != 0 { - i = encodeVarintConnections(dAtA, i, uint64(m.Port)) - i-- - dAtA[i] = 0x18 - } - if len(m.Ip) > 0 { - i -= len(m.Ip) - copy(dAtA[i:], m.Ip) - i = encodeVarintConnections(dAtA, i, uint64(len(m.Ip))) - i-- - dAtA[i] = 0x12 - } - return len(dAtA) - i, nil -} - -func (m *ProtocolStack) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ProtocolStack) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ProtocolStack) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Stack) > 0 { - for iNdEx := len(m.Stack) - 1; iNdEx >= 0; iNdEx-- { - i = encodeVarintConnections(dAtA, i, uint64(m.Stack[iNdEx])) - i-- - dAtA[i] = 0x8 - } - } - return len(dAtA) - i, nil -} - -func (m *DNSEntry) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *DNSEntry) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *DNSEntry) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Names) > 0 { - for iNdEx := len(m.Names) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.Names[iNdEx]) - copy(dAtA[i:], m.Names[iNdEx]) - i = encodeVarintConnections(dAtA, i, uint64(len(m.Names[iNdEx]))) - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *DNSStats) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *DNSStats) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *DNSStats) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.DnsCountByRcode) > 0 { - for k := range m.DnsCountByRcode { - v := m.DnsCountByRcode[k] - baseI := i - i = encodeVarintConnections(dAtA, i, uint64(v)) - i-- - dAtA[i] = 0x10 - i = encodeVarintConnections(dAtA, i, uint64(k)) - i-- - dAtA[i] = 0x8 - i = encodeVarintConnections(dAtA, i, uint64(baseI-i)) - i-- - dAtA[i] = 0x22 - } - } - if m.DnsFailureLatencySum != 0 { - i = encodeVarintConnections(dAtA, i, uint64(m.DnsFailureLatencySum)) - i-- - dAtA[i] = 0x18 - } - if m.DnsSuccessLatencySum != 0 { - i = encodeVarintConnections(dAtA, i, uint64(m.DnsSuccessLatencySum)) - i-- - dAtA[i] = 0x10 - } - if m.DnsTimeouts != 0 { - i = encodeVarintConnections(dAtA, i, uint64(m.DnsTimeouts)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *DNSStatsByQueryType) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *DNSStatsByQueryType) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *DNSStatsByQueryType) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.DnsStatsByQueryType) > 0 { - for k := range m.DnsStatsByQueryType { - v := m.DnsStatsByQueryType[k] - baseI := i - if v != nil { - { - size, err := v.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintConnections(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - i = encodeVarintConnections(dAtA, i, uint64(k)) - i-- - dAtA[i] = 0x8 - i = encodeVarintConnections(dAtA, i, uint64(baseI-i)) - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func encodeVarintConnections(dAtA []byte, offset int, v uint64) int { - offset -= sovConnections(v) - base := offset - for v >= 1<<7 { - dAtA[offset] = uint8(v&0x7f | 0x80) - v >>= 7 - offset++ - } - dAtA[offset] = uint8(v) - return base -} -func (m *CollectorConnections) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.HostName) - if l > 0 { - n += 1 + l + sovConnections(uint64(l)) - } - if len(m.Connections) > 0 { - for _, e := range m.Connections { - l = e.Size() - n += 1 + l + sovConnections(uint64(l)) - } - } - if m.GroupId != 0 { - n += 1 + sovConnections(uint64(m.GroupId)) - } - if m.GroupSize != 0 { - n += 1 + sovConnections(uint64(m.GroupSize)) - } - if len(m.ResolvedResources) > 0 { - for k, v := range m.ResolvedResources { - _ = k - _ = v - l = 0 - if v != nil { - l = v.Size() - l += 1 + sovConnections(uint64(l)) - } - mapEntrySize := 1 + len(k) + sovConnections(uint64(len(k))) + l - n += mapEntrySize + 1 + sovConnections(uint64(mapEntrySize)) - } - } - if len(m.ContainerForPid) > 0 { - for k, v := range m.ContainerForPid { - _ = k - _ = v - mapEntrySize := 1 + sovConnections(uint64(k)) + 1 + len(v) + sovConnections(uint64(len(v))) - n += mapEntrySize + 1 + sovConnections(uint64(mapEntrySize)) - } - } - l = len(m.EncodedTags) - if l > 0 { - n += 1 + l + sovConnections(uint64(l)) - } - l = len(m.NetworkId) - if l > 0 { - n += 1 + l + sovConnections(uint64(l)) - } - l = len(m.EncodedDNS) - if l > 0 { - n += 1 + l + sovConnections(uint64(l)) - } - if m.ContainerHostType != 0 { - n += 1 + sovConnections(uint64(m.ContainerHostType)) - } - if m.ConnTelemetry != nil { - l = m.ConnTelemetry.Size() - n += 2 + l + sovConnections(uint64(l)) - } - l = len(m.Architecture) - if l > 0 { - n += 2 + l + sovConnections(uint64(l)) - } - l = len(m.KernelVersion) - if l > 0 { - n += 2 + l + sovConnections(uint64(l)) - } - l = len(m.Platform) - if l > 0 { - n += 2 + l + sovConnections(uint64(l)) - } - l = len(m.PlatformVersion) - if l > 0 { - n += 2 + l + sovConnections(uint64(l)) - } - if len(m.CompilationTelemetryByAsset) > 0 { - for k, v := range m.CompilationTelemetryByAsset { - _ = k - _ = v - l = 0 - if v != nil { - l = v.Size() - l += 1 + sovConnections(uint64(l)) - } - mapEntrySize := 1 + len(k) + sovConnections(uint64(len(k))) + l - n += mapEntrySize + 2 + sovConnections(uint64(mapEntrySize)) - } - } - if len(m.Domains) > 0 { - for _, s := range m.Domains { - l = len(s) - n += 2 + l + sovConnections(uint64(l)) - } - } - if len(m.Routes) > 0 { - for _, e := range m.Routes { - l = e.Size() - n += 2 + l + sovConnections(uint64(l)) - } - } - if len(m.RouteMetadata) > 0 { - for _, e := range m.RouteMetadata { - l = e.Size() - n += 2 + l + sovConnections(uint64(l)) - } - } - if m.AgentConfiguration != nil { - l = m.AgentConfiguration.Size() - n += 2 + l + sovConnections(uint64(l)) - } - l = len(m.EncodedDomainDatabase) - if l > 0 { - n += 2 + l + sovConnections(uint64(l)) - } - l = len(m.EncodedDnsLookups) - if l > 0 { - n += 2 + l + sovConnections(uint64(l)) - } - l = len(m.EncodedConnectionsTags) - if l > 0 { - n += 2 + l + sovConnections(uint64(l)) - } - if len(m.ConnTelemetryMap) > 0 { - for k, v := range m.ConnTelemetryMap { - _ = k - _ = v - mapEntrySize := 1 + len(k) + sovConnections(uint64(len(k))) + 1 + sovConnections(uint64(v)) - n += mapEntrySize + 2 + sovConnections(uint64(mapEntrySize)) - } - } - if len(m.ResolvedHostsByName) > 0 { - for k, v := range m.ResolvedHostsByName { - _ = k - _ = v - l = 0 - if v != nil { - l = v.Size() - l += 1 + sovConnections(uint64(l)) - } - mapEntrySize := 1 + len(k) + sovConnections(uint64(len(k))) + l - n += mapEntrySize + 2 + sovConnections(uint64(mapEntrySize)) - } - } - if m.KernelHeaderFetchResult != 0 { - n += 2 + sovConnections(uint64(m.KernelHeaderFetchResult)) - } - if len(m.CORETelemetryByAsset) > 0 { - for k, v := range m.CORETelemetryByAsset { - _ = k - _ = v - mapEntrySize := 1 + len(k) + sovConnections(uint64(len(k))) + 1 + sovConnections(uint64(v)) - n += mapEntrySize + 2 + sovConnections(uint64(mapEntrySize)) - } - } - if len(m.PrebuiltEBPFAssets) > 0 { - for _, s := range m.PrebuiltEBPFAssets { - l = len(s) - n += 2 + l + sovConnections(uint64(l)) - } - } - l = len(m.EcsTask) - if l > 0 { - n += 2 + l + sovConnections(uint64(l)) - } - return n -} - -func (m *Connections) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.Conns) > 0 { - for _, e := range m.Conns { - l = e.Size() - n += 1 + l + sovConnections(uint64(l)) - } - } - if len(m.Dns) > 0 { - for k, v := range m.Dns { - _ = k - _ = v - l = 0 - if v != nil { - l = v.Size() - l += 1 + sovConnections(uint64(l)) - } - mapEntrySize := 1 + len(k) + sovConnections(uint64(len(k))) + l - n += mapEntrySize + 1 + sovConnections(uint64(mapEntrySize)) - } - } - if m.ConnTelemetry != nil { - l = m.ConnTelemetry.Size() - n += 1 + l + sovConnections(uint64(l)) - } - if len(m.Domains) > 0 { - for _, s := range m.Domains { - l = len(s) - n += 1 + l + sovConnections(uint64(l)) - } - } - if len(m.Routes) > 0 { - for _, e := range m.Routes { - l = e.Size() - n += 1 + l + sovConnections(uint64(l)) - } - } - if len(m.CompilationTelemetryByAsset) > 0 { - for k, v := range m.CompilationTelemetryByAsset { - _ = k - _ = v - l = 0 - if v != nil { - l = v.Size() - l += 1 + sovConnections(uint64(l)) - } - mapEntrySize := 1 + len(k) + sovConnections(uint64(len(k))) + l - n += mapEntrySize + 1 + sovConnections(uint64(mapEntrySize)) - } - } - if m.AgentConfiguration != nil { - l = m.AgentConfiguration.Size() - n += 1 + l + sovConnections(uint64(l)) - } - if len(m.Tags) > 0 { - for _, s := range m.Tags { - l = len(s) - n += 1 + l + sovConnections(uint64(l)) - } - } - if len(m.ConnTelemetryMap) > 0 { - for k, v := range m.ConnTelemetryMap { - _ = k - _ = v - mapEntrySize := 1 + len(k) + sovConnections(uint64(len(k))) + 1 + sovConnections(uint64(v)) - n += mapEntrySize + 1 + sovConnections(uint64(mapEntrySize)) - } - } - if m.KernelHeaderFetchResult != 0 { - n += 1 + sovConnections(uint64(m.KernelHeaderFetchResult)) - } - if len(m.CORETelemetryByAsset) > 0 { - for k, v := range m.CORETelemetryByAsset { - _ = k - _ = v - mapEntrySize := 1 + len(k) + sovConnections(uint64(len(k))) + 1 + sovConnections(uint64(v)) - n += mapEntrySize + 1 + sovConnections(uint64(mapEntrySize)) - } - } - if len(m.PrebuiltEBPFAssets) > 0 { - for _, s := range m.PrebuiltEBPFAssets { - l = len(s) - n += 1 + l + sovConnections(uint64(l)) - } - } - return n -} - -func (m *Connection) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Pid != 0 { - n += 1 + sovConnections(uint64(m.Pid)) - } - if m.Laddr != nil { - l = m.Laddr.Size() - n += 1 + l + sovConnections(uint64(l)) - } - if m.Raddr != nil { - l = m.Raddr.Size() - n += 1 + l + sovConnections(uint64(l)) - } - if m.Family != 0 { - n += 1 + sovConnections(uint64(m.Family)) - } - if m.Type != 0 { - n += 1 + sovConnections(uint64(m.Type)) - } - if m.LastBytesSent != 0 { - n += 2 + sovConnections(uint64(m.LastBytesSent)) - } - if m.LastBytesReceived != 0 { - n += 2 + sovConnections(uint64(m.LastBytesReceived)) - } - if m.LastRetransmits != 0 { - n += 2 + sovConnections(uint64(m.LastRetransmits)) - } - if m.Direction != 0 { - n += 2 + sovConnections(uint64(m.Direction)) - } - if m.NetNS != 0 { - n += 2 + sovConnections(uint64(m.NetNS)) - } - if m.IpTranslation != nil { - l = m.IpTranslation.Size() - n += 2 + l + sovConnections(uint64(l)) - } - if m.Rtt != 0 { - n += 2 + sovConnections(uint64(m.Rtt)) - } - if m.RttVar != 0 { - n += 2 + sovConnections(uint64(m.RttVar)) - } - if m.IntraHost { - n += 3 - } - if m.DnsSuccessfulResponses != 0 { - n += 2 + sovConnections(uint64(m.DnsSuccessfulResponses)) - } - if m.DnsFailedResponses != 0 { - n += 2 + sovConnections(uint64(m.DnsFailedResponses)) - } - if m.DnsTimeouts != 0 { - n += 2 + sovConnections(uint64(m.DnsTimeouts)) - } - if m.DnsSuccessLatencySum != 0 { - n += 2 + sovConnections(uint64(m.DnsSuccessLatencySum)) - } - if m.DnsFailureLatencySum != 0 { - n += 2 + sovConnections(uint64(m.DnsFailureLatencySum)) - } - if m.LastTcpEstablished != 0 { - n += 2 + sovConnections(uint64(m.LastTcpEstablished)) - } - if m.LastTcpClosed != 0 { - n += 2 + sovConnections(uint64(m.LastTcpClosed)) - } - l = len(m.RemoteNetworkId) - if l > 0 { - n += 2 + l + sovConnections(uint64(l)) - } - if len(m.DnsCountByRcode) > 0 { - for k, v := range m.DnsCountByRcode { - _ = k - _ = v - mapEntrySize := 1 + sovConnections(uint64(k)) + 1 + sovConnections(uint64(v)) - n += mapEntrySize + 2 + sovConnections(uint64(mapEntrySize)) - } - } - if len(m.DnsStatsByDomain) > 0 { - for k, v := range m.DnsStatsByDomain { - _ = k - _ = v - l = 0 - if v != nil { - l = v.Size() - l += 1 + sovConnections(uint64(l)) - } - mapEntrySize := 1 + sovConnections(uint64(k)) + l - n += mapEntrySize + 2 + sovConnections(uint64(mapEntrySize)) - } - } - if m.RouteIdx != 0 { - n += 2 + sovConnections(uint64(m.RouteIdx)) - } - l = len(m.HttpAggregations) - if l > 0 { - n += 2 + l + sovConnections(uint64(l)) - } - if m.LastPacketsSent != 0 { - n += 2 + sovConnections(uint64(m.LastPacketsSent)) - } - if m.LastPacketsReceived != 0 { - n += 2 + sovConnections(uint64(m.LastPacketsReceived)) - } - if m.RouteTargetIdx != 0 { - n += 2 + sovConnections(uint64(m.RouteTargetIdx)) - } - if m.IsLocalPortEphemeral != 0 { - n += 2 + sovConnections(uint64(m.IsLocalPortEphemeral)) - } - if len(m.DnsStatsByDomainByQueryType) > 0 { - for k, v := range m.DnsStatsByDomainByQueryType { - _ = k - _ = v - l = 0 - if v != nil { - l = v.Size() - l += 1 + sovConnections(uint64(l)) - } - mapEntrySize := 1 + sovConnections(uint64(k)) + l - n += mapEntrySize + 2 + sovConnections(uint64(mapEntrySize)) - } - } - if len(m.DnsStatsByDomainOffsetByQueryType) > 0 { - for k, v := range m.DnsStatsByDomainOffsetByQueryType { - _ = k - _ = v - l = 0 - if v != nil { - l = v.Size() - l += 1 + sovConnections(uint64(l)) - } - mapEntrySize := 1 + sovConnections(uint64(k)) + l - n += mapEntrySize + 2 + sovConnections(uint64(mapEntrySize)) - } - } - if len(m.Tags) > 0 { - for _, e := range m.Tags { - n += 2 + sovConnections(uint64(e)) - } - } - if m.TagsIdx != 0 { - n += 2 + sovConnections(uint64(m.TagsIdx)) - } - if m.StateIndex != 0 { - n += 2 + sovConnections(uint64(m.StateIndex)) - } - if m.TagsChecksum != 0 { - n += 2 + sovConnections(uint64(m.TagsChecksum)) - } - if m.Protocol != nil { - l = m.Protocol.Size() - n += 2 + l + sovConnections(uint64(l)) - } - l = len(m.DataStreamsAggregations) - if l > 0 { - n += 2 + l + sovConnections(uint64(l)) - } - l = len(m.Http2Aggregations) - if l > 0 { - n += 2 + l + sovConnections(uint64(l)) - } - l = len(m.DatabaseAggregations) - if l > 0 { - n += 2 + l + sovConnections(uint64(l)) - } - if len(m.TcpFailuresByErrCode) > 0 { - for k, v := range m.TcpFailuresByErrCode { - _ = k - _ = v - mapEntrySize := 1 + sovConnections(uint64(k)) + 1 + sovConnections(uint64(v)) - n += mapEntrySize + 2 + sovConnections(uint64(mapEntrySize)) - } - } - l = len(m.RemoteEcsTask) - if l > 0 { - n += 2 + l + sovConnections(uint64(l)) - } - return n -} - -func (m *ResourceMetadata) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Id) - if l > 0 { - n += 1 + l + sovConnections(uint64(l)) - } - l = len(m.ByteKey) - if l > 0 { - n += 1 + l + sovConnections(uint64(l)) - } - if len(m.Tags) > 0 { - for _, s := range m.Tags { - l = len(s) - n += 1 + l + sovConnections(uint64(l)) - } - } - if m.TagIndex != 0 { - n += 1 + sovConnections(uint64(m.TagIndex)) - } - if m.TagsModified != 0 { - n += 1 + sovConnections(uint64(m.TagsModified)) - } - return n -} - -func (m *ConnectionsTelemetry) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.MonotonicKprobesTriggered != 0 { - n += 1 + sovConnections(uint64(m.MonotonicKprobesTriggered)) - } - if m.MonotonicKprobesMissed != 0 { - n += 1 + sovConnections(uint64(m.MonotonicKprobesMissed)) - } - if m.MonotonicConntrackRegisters != 0 { - n += 1 + sovConnections(uint64(m.MonotonicConntrackRegisters)) - } - if m.MonotonicConntrackRegistersDropped != 0 { - n += 1 + sovConnections(uint64(m.MonotonicConntrackRegistersDropped)) - } - if m.MonotonicDnsPacketsProcessed != 0 { - n += 1 + sovConnections(uint64(m.MonotonicDnsPacketsProcessed)) - } - if m.MonotonicConnsClosed != 0 { - n += 1 + sovConnections(uint64(m.MonotonicConnsClosed)) - } - if m.ConnsBpfMapSize != 0 { - n += 1 + sovConnections(uint64(m.ConnsBpfMapSize)) - } - if m.MonotonicUdpSendsProcessed != 0 { - n += 1 + sovConnections(uint64(m.MonotonicUdpSendsProcessed)) - } - if m.MonotonicUdpSendsMissed != 0 { - n += 1 + sovConnections(uint64(m.MonotonicUdpSendsMissed)) - } - if m.ConntrackSamplingPercent != 0 { - n += 1 + sovConnections(uint64(m.ConntrackSamplingPercent)) - } - if m.DnsStatsDropped != 0 { - n += 1 + sovConnections(uint64(m.DnsStatsDropped)) - } - return n -} - -func (m *CollectorConnectionsTelemetry) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.KprobesTriggered != 0 { - n += 1 + sovConnections(uint64(m.KprobesTriggered)) - } - if m.KprobesMissed != 0 { - n += 1 + sovConnections(uint64(m.KprobesMissed)) - } - if m.ConntrackRegisters != 0 { - n += 1 + sovConnections(uint64(m.ConntrackRegisters)) - } - if m.ConntrackRegistersDropped != 0 { - n += 1 + sovConnections(uint64(m.ConntrackRegistersDropped)) - } - if m.DnsPacketsProcessed != 0 { - n += 1 + sovConnections(uint64(m.DnsPacketsProcessed)) - } - if m.ConnsClosed != 0 { - n += 1 + sovConnections(uint64(m.ConnsClosed)) - } - if m.ConnsBpfMapSize != 0 { - n += 1 + sovConnections(uint64(m.ConnsBpfMapSize)) - } - if m.UdpSendsProcessed != 0 { - n += 1 + sovConnections(uint64(m.UdpSendsProcessed)) - } - if m.UdpSendsMissed != 0 { - n += 1 + sovConnections(uint64(m.UdpSendsMissed)) - } - if m.ConntrackSamplingPercent != 0 { - n += 1 + sovConnections(uint64(m.ConntrackSamplingPercent)) - } - if m.DnsStatsDropped != 0 { - n += 1 + sovConnections(uint64(m.DnsStatsDropped)) - } - return n -} - -func (m *RuntimeCompilationTelemetry) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.RuntimeCompilationEnabled { - n += 2 - } - if m.RuntimeCompilationResult != 0 { - n += 1 + sovConnections(uint64(m.RuntimeCompilationResult)) - } - if m.RuntimeCompilationDuration != 0 { - n += 1 + sovConnections(uint64(m.RuntimeCompilationDuration)) - } - if m.KernelHeaderFetchResult != 0 { - n += 1 + sovConnections(uint64(m.KernelHeaderFetchResult)) - } - return n -} - -func (m *AgentConfiguration) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.NpmEnabled { - n += 2 - } - if m.UsmEnabled { - n += 2 - } - if m.DsmEnabled { - n += 2 - } - if m.CcmEnabled { - n += 2 - } - if m.CsmEnabled { - n += 2 - } - return n -} - -func (m *Route) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Subnet != nil { - l = m.Subnet.Size() - n += 1 + l + sovConnections(uint64(l)) - } - return n -} - -func (m *Subnet) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Alias) - if l > 0 { - n += 1 + l + sovConnections(uint64(l)) - } - return n -} - -func (m *RouteMetadata) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Alias) - if l > 0 { - n += 1 + l + sovConnections(uint64(l)) - } - if m.TagIndex != 0 { - n += 1 + sovConnections(uint64(m.TagIndex)) - } - if m.TagsModified != 0 { - n += 1 + sovConnections(uint64(m.TagsModified)) - } - if len(m.Tags) > 0 { - for _, s := range m.Tags { - l = len(s) - n += 1 + l + sovConnections(uint64(l)) - } - } - return n -} - -func (m *IPTranslation) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.ReplSrcIP) - if l > 0 { - n += 1 + l + sovConnections(uint64(l)) - } - l = len(m.ReplDstIP) - if l > 0 { - n += 1 + l + sovConnections(uint64(l)) - } - if m.ReplSrcPort != 0 { - n += 1 + sovConnections(uint64(m.ReplSrcPort)) - } - if m.ReplDstPort != 0 { - n += 1 + sovConnections(uint64(m.ReplDstPort)) - } - return n -} - -func (m *Addr) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Ip) - if l > 0 { - n += 1 + l + sovConnections(uint64(l)) - } - if m.Port != 0 { - n += 1 + sovConnections(uint64(m.Port)) - } - l = len(m.ContainerId) - if l > 0 { - n += 1 + l + sovConnections(uint64(l)) - } - l = len(m.HostName) - if l > 0 { - n += 1 + l + sovConnections(uint64(l)) - } - return n -} - -func (m *ProtocolStack) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.Stack) > 0 { - for _, e := range m.Stack { - n += 1 + sovConnections(uint64(e)) - } - } - return n -} - -func (m *DNSEntry) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.Names) > 0 { - for _, s := range m.Names { - l = len(s) - n += 1 + l + sovConnections(uint64(l)) - } - } - return n -} - -func (m *DNSStats) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.DnsTimeouts != 0 { - n += 1 + sovConnections(uint64(m.DnsTimeouts)) - } - if m.DnsSuccessLatencySum != 0 { - n += 1 + sovConnections(uint64(m.DnsSuccessLatencySum)) - } - if m.DnsFailureLatencySum != 0 { - n += 1 + sovConnections(uint64(m.DnsFailureLatencySum)) - } - if len(m.DnsCountByRcode) > 0 { - for k, v := range m.DnsCountByRcode { - _ = k - _ = v - mapEntrySize := 1 + sovConnections(uint64(k)) + 1 + sovConnections(uint64(v)) - n += mapEntrySize + 1 + sovConnections(uint64(mapEntrySize)) - } - } - return n -} - -func (m *DNSStatsByQueryType) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.DnsStatsByQueryType) > 0 { - for k, v := range m.DnsStatsByQueryType { - _ = k - _ = v - l = 0 - if v != nil { - l = v.Size() - l += 1 + sovConnections(uint64(l)) - } - mapEntrySize := 1 + sovConnections(uint64(k)) + l - n += mapEntrySize + 1 + sovConnections(uint64(mapEntrySize)) - } - } - return n -} - -func sovConnections(x uint64) (n int) { - return (math_bits.Len64(x|1) + 6) / 7 -} -func sozConnections(x uint64) (n int) { - return sovConnections(uint64((x << 1) ^ uint64((int64(x) >> 63)))) -} -func (m *CollectorConnections) Unmarshal(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 ErrIntOverflowConnections - } - 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: CollectorConnections: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: CollectorConnections: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field HostName", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - 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 ErrInvalidLengthConnections - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthConnections - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.HostName = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Connections", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthConnections - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthConnections - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Connections = append(m.Connections, &Connection{}) - if err := m.Connections[len(m.Connections)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 5: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field GroupId", wireType) - } - m.GroupId = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.GroupId |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 6: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field GroupSize", wireType) - } - m.GroupSize = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.GroupSize |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 8: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ResolvedResources", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthConnections - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthConnections - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.ResolvedResources == nil { - m.ResolvedResources = make(map[string]*ResourceMetadata) - } - var mapkey string - var mapvalue *ResourceMetadata - for iNdEx < postIndex { - entryPreIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - 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 ErrIntOverflowConnections - } - 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 ErrInvalidLengthConnections - } - postStringIndexmapkey := iNdEx + intStringLenmapkey - if postStringIndexmapkey < 0 { - return ErrInvalidLengthConnections - } - 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 ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - mapmsglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if mapmsglen < 0 { - return ErrInvalidLengthConnections - } - postmsgIndex := iNdEx + mapmsglen - if postmsgIndex < 0 { - return ErrInvalidLengthConnections - } - if postmsgIndex > l { - return io.ErrUnexpectedEOF - } - mapvalue = &ResourceMetadata{} - if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { - return err - } - iNdEx = postmsgIndex - } else { - iNdEx = entryPreIndex - skippy, err := skipConnections(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthConnections - } - if (iNdEx + skippy) > postIndex { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - m.ResolvedResources[mapkey] = mapvalue - iNdEx = postIndex - case 10: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ContainerForPid", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthConnections - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthConnections - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.ContainerForPid == nil { - m.ContainerForPid = make(map[int32]string) - } - var mapkey int32 - var mapvalue string - for iNdEx < postIndex { - entryPreIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - 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 { - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - mapkey |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - } else if fieldNum == 2 { - var stringLenmapvalue uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLenmapvalue |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLenmapvalue := int(stringLenmapvalue) - if intStringLenmapvalue < 0 { - return ErrInvalidLengthConnections - } - postStringIndexmapvalue := iNdEx + intStringLenmapvalue - if postStringIndexmapvalue < 0 { - return ErrInvalidLengthConnections - } - if postStringIndexmapvalue > l { - return io.ErrUnexpectedEOF - } - mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue]) - iNdEx = postStringIndexmapvalue - } else { - iNdEx = entryPreIndex - skippy, err := skipConnections(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthConnections - } - if (iNdEx + skippy) > postIndex { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - m.ContainerForPid[mapkey] = mapvalue - iNdEx = postIndex - case 11: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field EncodedTags", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthConnections - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthConnections - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.EncodedTags = append(m.EncodedTags[:0], dAtA[iNdEx:postIndex]...) - if m.EncodedTags == nil { - m.EncodedTags = []byte{} - } - iNdEx = postIndex - case 12: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field NetworkId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - 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 ErrInvalidLengthConnections - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthConnections - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.NetworkId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 14: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field EncodedDNS", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthConnections - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthConnections - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.EncodedDNS = append(m.EncodedDNS[:0], dAtA[iNdEx:postIndex]...) - if m.EncodedDNS == nil { - m.EncodedDNS = []byte{} - } - iNdEx = postIndex - case 15: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ContainerHostType", wireType) - } - m.ContainerHostType = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.ContainerHostType |= ContainerHostType(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 16: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ConnTelemetry", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthConnections - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthConnections - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.ConnTelemetry == nil { - m.ConnTelemetry = &CollectorConnectionsTelemetry{} - } - if err := m.ConnTelemetry.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 17: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Architecture", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - 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 ErrInvalidLengthConnections - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthConnections - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Architecture = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 18: - 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 ErrIntOverflowConnections - } - 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 ErrInvalidLengthConnections - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthConnections - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.KernelVersion = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 19: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Platform", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - 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 ErrInvalidLengthConnections - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthConnections - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Platform = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 20: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PlatformVersion", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - 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 ErrInvalidLengthConnections - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthConnections - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.PlatformVersion = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 21: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field CompilationTelemetryByAsset", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthConnections - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthConnections - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.CompilationTelemetryByAsset == nil { - m.CompilationTelemetryByAsset = make(map[string]*RuntimeCompilationTelemetry) - } - var mapkey string - var mapvalue *RuntimeCompilationTelemetry - for iNdEx < postIndex { - entryPreIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - 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 ErrIntOverflowConnections - } - 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 ErrInvalidLengthConnections - } - postStringIndexmapkey := iNdEx + intStringLenmapkey - if postStringIndexmapkey < 0 { - return ErrInvalidLengthConnections - } - 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 ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - mapmsglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if mapmsglen < 0 { - return ErrInvalidLengthConnections - } - postmsgIndex := iNdEx + mapmsglen - if postmsgIndex < 0 { - return ErrInvalidLengthConnections - } - if postmsgIndex > l { - return io.ErrUnexpectedEOF - } - mapvalue = &RuntimeCompilationTelemetry{} - if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { - return err - } - iNdEx = postmsgIndex - } else { - iNdEx = entryPreIndex - skippy, err := skipConnections(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthConnections - } - if (iNdEx + skippy) > postIndex { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - m.CompilationTelemetryByAsset[mapkey] = mapvalue - iNdEx = postIndex - case 30: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Domains", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - 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 ErrInvalidLengthConnections - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthConnections - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Domains = append(m.Domains, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - case 31: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Routes", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthConnections - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthConnections - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Routes = append(m.Routes, &Route{}) - if err := m.Routes[len(m.Routes)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 34: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RouteMetadata", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthConnections - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthConnections - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.RouteMetadata = append(m.RouteMetadata, &RouteMetadata{}) - if err := m.RouteMetadata[len(m.RouteMetadata)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 35: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AgentConfiguration", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthConnections - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthConnections - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.AgentConfiguration == nil { - m.AgentConfiguration = &AgentConfiguration{} - } - if err := m.AgentConfiguration.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 36: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field EncodedDomainDatabase", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthConnections - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthConnections - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.EncodedDomainDatabase = append(m.EncodedDomainDatabase[:0], dAtA[iNdEx:postIndex]...) - if m.EncodedDomainDatabase == nil { - m.EncodedDomainDatabase = []byte{} - } - iNdEx = postIndex - case 37: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field EncodedDnsLookups", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthConnections - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthConnections - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.EncodedDnsLookups = append(m.EncodedDnsLookups[:0], dAtA[iNdEx:postIndex]...) - if m.EncodedDnsLookups == nil { - m.EncodedDnsLookups = []byte{} - } - iNdEx = postIndex - case 38: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field EncodedConnectionsTags", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthConnections - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthConnections - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.EncodedConnectionsTags = append(m.EncodedConnectionsTags[:0], dAtA[iNdEx:postIndex]...) - if m.EncodedConnectionsTags == nil { - m.EncodedConnectionsTags = []byte{} - } - iNdEx = postIndex - case 39: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ConnTelemetryMap", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthConnections - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthConnections - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.ConnTelemetryMap == nil { - m.ConnTelemetryMap = make(map[string]int64) - } - var mapkey string - var mapvalue int64 - for iNdEx < postIndex { - entryPreIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - 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 ErrIntOverflowConnections - } - 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 ErrInvalidLengthConnections - } - postStringIndexmapkey := iNdEx + intStringLenmapkey - if postStringIndexmapkey < 0 { - return ErrInvalidLengthConnections - } - if postStringIndexmapkey > l { - return io.ErrUnexpectedEOF - } - mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) - iNdEx = postStringIndexmapkey - } else if fieldNum == 2 { - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - mapvalue |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - } else { - iNdEx = entryPreIndex - skippy, err := skipConnections(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthConnections - } - if (iNdEx + skippy) > postIndex { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - m.ConnTelemetryMap[mapkey] = mapvalue - iNdEx = postIndex - case 40: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ResolvedHostsByName", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthConnections - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthConnections - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.ResolvedHostsByName == nil { - m.ResolvedHostsByName = make(map[string]*Host) - } - var mapkey string - var mapvalue *Host - for iNdEx < postIndex { - entryPreIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - 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 ErrIntOverflowConnections - } - 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 ErrInvalidLengthConnections - } - postStringIndexmapkey := iNdEx + intStringLenmapkey - if postStringIndexmapkey < 0 { - return ErrInvalidLengthConnections - } - 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 ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - mapmsglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if mapmsglen < 0 { - return ErrInvalidLengthConnections - } - postmsgIndex := iNdEx + mapmsglen - if postmsgIndex < 0 { - return ErrInvalidLengthConnections - } - if postmsgIndex > l { - return io.ErrUnexpectedEOF - } - mapvalue = &Host{} - if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { - return err - } - iNdEx = postmsgIndex - } else { - iNdEx = entryPreIndex - skippy, err := skipConnections(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthConnections - } - if (iNdEx + skippy) > postIndex { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - m.ResolvedHostsByName[mapkey] = mapvalue - iNdEx = postIndex - case 41: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field KernelHeaderFetchResult", wireType) - } - m.KernelHeaderFetchResult = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.KernelHeaderFetchResult |= KernelHeaderFetchResult(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 42: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field CORETelemetryByAsset", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthConnections - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthConnections - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.CORETelemetryByAsset == nil { - m.CORETelemetryByAsset = make(map[string]COREResult) - } - var mapkey string - var mapvalue COREResult - for iNdEx < postIndex { - entryPreIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - 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 ErrIntOverflowConnections - } - 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 ErrInvalidLengthConnections - } - postStringIndexmapkey := iNdEx + intStringLenmapkey - if postStringIndexmapkey < 0 { - return ErrInvalidLengthConnections - } - if postStringIndexmapkey > l { - return io.ErrUnexpectedEOF - } - mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) - iNdEx = postStringIndexmapkey - } else if fieldNum == 2 { - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - mapvalue |= COREResult(b&0x7F) << shift - if b < 0x80 { - break - } - } - } else { - iNdEx = entryPreIndex - skippy, err := skipConnections(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthConnections - } - if (iNdEx + skippy) > postIndex { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - m.CORETelemetryByAsset[mapkey] = mapvalue - iNdEx = postIndex - case 44: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PrebuiltEBPFAssets", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - 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 ErrInvalidLengthConnections - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthConnections - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.PrebuiltEBPFAssets = append(m.PrebuiltEBPFAssets, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - case 45: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field EcsTask", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - 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 ErrInvalidLengthConnections - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthConnections - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.EcsTask = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipConnections(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthConnections - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *Connections) Unmarshal(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 ErrIntOverflowConnections - } - 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: Connections: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Connections: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Conns", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthConnections - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthConnections - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Conns = append(m.Conns, &Connection{}) - if err := m.Conns[len(m.Conns)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Dns", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthConnections - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthConnections - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Dns == nil { - m.Dns = make(map[string]*DNSEntry) - } - var mapkey string - var mapvalue *DNSEntry - for iNdEx < postIndex { - entryPreIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - 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 ErrIntOverflowConnections - } - 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 ErrInvalidLengthConnections - } - postStringIndexmapkey := iNdEx + intStringLenmapkey - if postStringIndexmapkey < 0 { - return ErrInvalidLengthConnections - } - 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 ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - mapmsglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if mapmsglen < 0 { - return ErrInvalidLengthConnections - } - postmsgIndex := iNdEx + mapmsglen - if postmsgIndex < 0 { - return ErrInvalidLengthConnections - } - if postmsgIndex > l { - return io.ErrUnexpectedEOF - } - mapvalue = &DNSEntry{} - if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { - return err - } - iNdEx = postmsgIndex - } else { - iNdEx = entryPreIndex - skippy, err := skipConnections(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthConnections - } - if (iNdEx + skippy) > postIndex { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - m.Dns[mapkey] = mapvalue - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ConnTelemetry", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthConnections - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthConnections - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.ConnTelemetry == nil { - m.ConnTelemetry = &ConnectionsTelemetry{} - } - if err := m.ConnTelemetry.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Domains", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - 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 ErrInvalidLengthConnections - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthConnections - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Domains = append(m.Domains, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Routes", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthConnections - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthConnections - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Routes = append(m.Routes, &Route{}) - if err := m.Routes[len(m.Routes)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 6: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field CompilationTelemetryByAsset", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthConnections - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthConnections - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.CompilationTelemetryByAsset == nil { - m.CompilationTelemetryByAsset = make(map[string]*RuntimeCompilationTelemetry) - } - var mapkey string - var mapvalue *RuntimeCompilationTelemetry - for iNdEx < postIndex { - entryPreIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - 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 ErrIntOverflowConnections - } - 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 ErrInvalidLengthConnections - } - postStringIndexmapkey := iNdEx + intStringLenmapkey - if postStringIndexmapkey < 0 { - return ErrInvalidLengthConnections - } - 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 ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - mapmsglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if mapmsglen < 0 { - return ErrInvalidLengthConnections - } - postmsgIndex := iNdEx + mapmsglen - if postmsgIndex < 0 { - return ErrInvalidLengthConnections - } - if postmsgIndex > l { - return io.ErrUnexpectedEOF - } - mapvalue = &RuntimeCompilationTelemetry{} - if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { - return err - } - iNdEx = postmsgIndex - } else { - iNdEx = entryPreIndex - skippy, err := skipConnections(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthConnections - } - if (iNdEx + skippy) > postIndex { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - m.CompilationTelemetryByAsset[mapkey] = mapvalue - iNdEx = postIndex - case 7: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AgentConfiguration", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthConnections - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthConnections - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.AgentConfiguration == nil { - m.AgentConfiguration = &AgentConfiguration{} - } - if err := m.AgentConfiguration.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 8: - 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 ErrIntOverflowConnections - } - 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 ErrInvalidLengthConnections - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthConnections - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Tags = append(m.Tags, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - case 9: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ConnTelemetryMap", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthConnections - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthConnections - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.ConnTelemetryMap == nil { - m.ConnTelemetryMap = make(map[string]int64) - } - var mapkey string - var mapvalue int64 - for iNdEx < postIndex { - entryPreIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - 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 ErrIntOverflowConnections - } - 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 ErrInvalidLengthConnections - } - postStringIndexmapkey := iNdEx + intStringLenmapkey - if postStringIndexmapkey < 0 { - return ErrInvalidLengthConnections - } - if postStringIndexmapkey > l { - return io.ErrUnexpectedEOF - } - mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) - iNdEx = postStringIndexmapkey - } else if fieldNum == 2 { - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - mapvalue |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - } else { - iNdEx = entryPreIndex - skippy, err := skipConnections(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthConnections - } - if (iNdEx + skippy) > postIndex { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - m.ConnTelemetryMap[mapkey] = mapvalue - iNdEx = postIndex - case 10: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field KernelHeaderFetchResult", wireType) - } - m.KernelHeaderFetchResult = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.KernelHeaderFetchResult |= KernelHeaderFetchResult(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 11: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field CORETelemetryByAsset", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthConnections - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthConnections - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.CORETelemetryByAsset == nil { - m.CORETelemetryByAsset = make(map[string]COREResult) - } - var mapkey string - var mapvalue COREResult - for iNdEx < postIndex { - entryPreIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - 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 ErrIntOverflowConnections - } - 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 ErrInvalidLengthConnections - } - postStringIndexmapkey := iNdEx + intStringLenmapkey - if postStringIndexmapkey < 0 { - return ErrInvalidLengthConnections - } - if postStringIndexmapkey > l { - return io.ErrUnexpectedEOF - } - mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) - iNdEx = postStringIndexmapkey - } else if fieldNum == 2 { - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - mapvalue |= COREResult(b&0x7F) << shift - if b < 0x80 { - break - } - } - } else { - iNdEx = entryPreIndex - skippy, err := skipConnections(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthConnections - } - if (iNdEx + skippy) > postIndex { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - m.CORETelemetryByAsset[mapkey] = mapvalue - iNdEx = postIndex - case 12: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PrebuiltEBPFAssets", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - 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 ErrInvalidLengthConnections - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthConnections - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.PrebuiltEBPFAssets = append(m.PrebuiltEBPFAssets, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipConnections(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthConnections - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *Connection) Unmarshal(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 ErrIntOverflowConnections - } - 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: Connection: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Connection: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Pid", wireType) - } - m.Pid = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Pid |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Laddr", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthConnections - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthConnections - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Laddr == nil { - m.Laddr = &Addr{} - } - if err := m.Laddr.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 6: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Raddr", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthConnections - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthConnections - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Raddr == nil { - m.Raddr = &Addr{} - } - if err := m.Raddr.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 10: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Family", wireType) - } - m.Family = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Family |= ConnectionFamily(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 11: - 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 ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Type |= ConnectionType(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 16: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field LastBytesSent", wireType) - } - m.LastBytesSent = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.LastBytesSent |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 17: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field LastBytesReceived", wireType) - } - m.LastBytesReceived = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.LastBytesReceived |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 18: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field LastRetransmits", wireType) - } - m.LastRetransmits = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.LastRetransmits |= uint32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 19: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Direction", wireType) - } - m.Direction = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Direction |= ConnectionDirection(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 20: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field NetNS", wireType) - } - m.NetNS = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.NetNS |= uint32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 21: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field IpTranslation", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthConnections - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthConnections - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.IpTranslation == nil { - m.IpTranslation = &IPTranslation{} - } - if err := m.IpTranslation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 22: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Rtt", wireType) - } - m.Rtt = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Rtt |= uint32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 23: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field RttVar", wireType) - } - m.RttVar = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.RttVar |= uint32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 24: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field IntraHost", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.IntraHost = bool(v != 0) - case 25: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field DnsSuccessfulResponses", wireType) - } - m.DnsSuccessfulResponses = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.DnsSuccessfulResponses |= uint32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 26: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field DnsFailedResponses", wireType) - } - m.DnsFailedResponses = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.DnsFailedResponses |= uint32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 27: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field DnsTimeouts", wireType) - } - m.DnsTimeouts = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.DnsTimeouts |= uint32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 28: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field DnsSuccessLatencySum", wireType) - } - m.DnsSuccessLatencySum = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.DnsSuccessLatencySum |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 29: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field DnsFailureLatencySum", wireType) - } - m.DnsFailureLatencySum = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.DnsFailureLatencySum |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 30: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field LastTcpEstablished", wireType) - } - m.LastTcpEstablished = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.LastTcpEstablished |= uint32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 31: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field LastTcpClosed", wireType) - } - m.LastTcpClosed = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.LastTcpClosed |= uint32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 32: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RemoteNetworkId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - 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 ErrInvalidLengthConnections - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthConnections - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.RemoteNetworkId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 33: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field DnsCountByRcode", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthConnections - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthConnections - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.DnsCountByRcode == nil { - m.DnsCountByRcode = make(map[uint32]uint32) - } - var mapkey uint32 - var mapvalue uint32 - for iNdEx < postIndex { - entryPreIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - 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 { - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - mapkey |= uint32(b&0x7F) << shift - if b < 0x80 { - break - } - } - } else if fieldNum == 2 { - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - mapvalue |= uint32(b&0x7F) << shift - if b < 0x80 { - break - } - } - } else { - iNdEx = entryPreIndex - skippy, err := skipConnections(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthConnections - } - if (iNdEx + skippy) > postIndex { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - m.DnsCountByRcode[mapkey] = mapvalue - iNdEx = postIndex - case 34: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field DnsStatsByDomain", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthConnections - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthConnections - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.DnsStatsByDomain == nil { - m.DnsStatsByDomain = make(map[int32]*DNSStats) - } - var mapkey int32 - var mapvalue *DNSStats - for iNdEx < postIndex { - entryPreIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - 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 { - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - mapkey |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - } else if fieldNum == 2 { - var mapmsglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - mapmsglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if mapmsglen < 0 { - return ErrInvalidLengthConnections - } - postmsgIndex := iNdEx + mapmsglen - if postmsgIndex < 0 { - return ErrInvalidLengthConnections - } - if postmsgIndex > l { - return io.ErrUnexpectedEOF - } - mapvalue = &DNSStats{} - if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { - return err - } - iNdEx = postmsgIndex - } else { - iNdEx = entryPreIndex - skippy, err := skipConnections(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthConnections - } - if (iNdEx + skippy) > postIndex { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - m.DnsStatsByDomain[mapkey] = mapvalue - iNdEx = postIndex - case 36: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field RouteIdx", wireType) - } - m.RouteIdx = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.RouteIdx |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 37: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field HttpAggregations", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthConnections - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthConnections - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.HttpAggregations = append(m.HttpAggregations[:0], dAtA[iNdEx:postIndex]...) - if m.HttpAggregations == nil { - m.HttpAggregations = []byte{} - } - iNdEx = postIndex - case 38: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field LastPacketsSent", wireType) - } - m.LastPacketsSent = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.LastPacketsSent |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 39: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field LastPacketsReceived", wireType) - } - m.LastPacketsReceived = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.LastPacketsReceived |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 40: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field RouteTargetIdx", wireType) - } - m.RouteTargetIdx = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.RouteTargetIdx |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 41: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field IsLocalPortEphemeral", wireType) - } - m.IsLocalPortEphemeral = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.IsLocalPortEphemeral |= EphemeralPortState(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 42: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field DnsStatsByDomainByQueryType", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthConnections - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthConnections - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.DnsStatsByDomainByQueryType == nil { - m.DnsStatsByDomainByQueryType = make(map[int32]*DNSStatsByQueryType) - } - var mapkey int32 - var mapvalue *DNSStatsByQueryType - for iNdEx < postIndex { - entryPreIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - 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 { - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - mapkey |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - } else if fieldNum == 2 { - var mapmsglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - mapmsglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if mapmsglen < 0 { - return ErrInvalidLengthConnections - } - postmsgIndex := iNdEx + mapmsglen - if postmsgIndex < 0 { - return ErrInvalidLengthConnections - } - if postmsgIndex > l { - return io.ErrUnexpectedEOF - } - mapvalue = &DNSStatsByQueryType{} - if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { - return err - } - iNdEx = postmsgIndex - } else { - iNdEx = entryPreIndex - skippy, err := skipConnections(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthConnections - } - if (iNdEx + skippy) > postIndex { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - m.DnsStatsByDomainByQueryType[mapkey] = mapvalue - iNdEx = postIndex - case 43: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field DnsStatsByDomainOffsetByQueryType", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthConnections - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthConnections - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.DnsStatsByDomainOffsetByQueryType == nil { - m.DnsStatsByDomainOffsetByQueryType = make(map[int32]*DNSStatsByQueryType) - } - var mapkey int32 - var mapvalue *DNSStatsByQueryType - for iNdEx < postIndex { - entryPreIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - 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 { - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - mapkey |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - } else if fieldNum == 2 { - var mapmsglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - mapmsglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if mapmsglen < 0 { - return ErrInvalidLengthConnections - } - postmsgIndex := iNdEx + mapmsglen - if postmsgIndex < 0 { - return ErrInvalidLengthConnections - } - if postmsgIndex > l { - return io.ErrUnexpectedEOF - } - mapvalue = &DNSStatsByQueryType{} - if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { - return err - } - iNdEx = postmsgIndex - } else { - iNdEx = entryPreIndex - skippy, err := skipConnections(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthConnections - } - if (iNdEx + skippy) > postIndex { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - m.DnsStatsByDomainOffsetByQueryType[mapkey] = mapvalue - iNdEx = postIndex - case 44: - if wireType == 0 { - var v uint32 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= uint32(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.Tags = append(m.Tags, v) - } else if wireType == 2 { - var packedLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - packedLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if packedLen < 0 { - return ErrInvalidLengthConnections - } - postIndex := iNdEx + packedLen - if postIndex < 0 { - return ErrInvalidLengthConnections - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - var elementCount int - var count int - for _, integer := range dAtA[iNdEx:postIndex] { - if integer < 128 { - count++ - } - } - elementCount = count - if elementCount != 0 && len(m.Tags) == 0 { - m.Tags = make([]uint32, 0, elementCount) - } - for iNdEx < postIndex { - var v uint32 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= uint32(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.Tags = append(m.Tags, v) - } - } else { - return fmt.Errorf("proto: wrong wireType = %d for field Tags", wireType) - } - case 45: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field TagsIdx", wireType) - } - m.TagsIdx = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.TagsIdx |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 46: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field StateIndex", wireType) - } - m.StateIndex = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.StateIndex |= uint32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 47: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field TagsChecksum", wireType) - } - m.TagsChecksum = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.TagsChecksum |= uint32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 48: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Protocol", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthConnections - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthConnections - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Protocol == nil { - m.Protocol = &ProtocolStack{} - } - if err := m.Protocol.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 49: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field DataStreamsAggregations", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthConnections - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthConnections - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.DataStreamsAggregations = append(m.DataStreamsAggregations[:0], dAtA[iNdEx:postIndex]...) - if m.DataStreamsAggregations == nil { - m.DataStreamsAggregations = []byte{} - } - iNdEx = postIndex - case 50: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Http2Aggregations", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthConnections - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthConnections - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Http2Aggregations = append(m.Http2Aggregations[:0], dAtA[iNdEx:postIndex]...) - if m.Http2Aggregations == nil { - m.Http2Aggregations = []byte{} - } - iNdEx = postIndex - case 51: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field DatabaseAggregations", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthConnections - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthConnections - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.DatabaseAggregations = append(m.DatabaseAggregations[:0], dAtA[iNdEx:postIndex]...) - if m.DatabaseAggregations == nil { - m.DatabaseAggregations = []byte{} - } - iNdEx = postIndex - case 52: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field TcpFailuresByErrCode", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthConnections - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthConnections - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.TcpFailuresByErrCode == nil { - m.TcpFailuresByErrCode = make(map[uint32]uint32) - } - var mapkey uint32 - var mapvalue uint32 - for iNdEx < postIndex { - entryPreIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - 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 { - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - mapkey |= uint32(b&0x7F) << shift - if b < 0x80 { - break - } - } - } else if fieldNum == 2 { - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - mapvalue |= uint32(b&0x7F) << shift - if b < 0x80 { - break - } - } - } else { - iNdEx = entryPreIndex - skippy, err := skipConnections(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthConnections - } - if (iNdEx + skippy) > postIndex { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - m.TcpFailuresByErrCode[mapkey] = mapvalue - iNdEx = postIndex - case 53: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RemoteEcsTask", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - 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 ErrInvalidLengthConnections - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthConnections - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.RemoteEcsTask = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipConnections(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthConnections - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ResourceMetadata) Unmarshal(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 ErrIntOverflowConnections - } - 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: ResourceMetadata: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ResourceMetadata: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - 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 ErrInvalidLengthConnections - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthConnections - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Id = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ByteKey", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthConnections - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthConnections - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ByteKey = append(m.ByteKey[:0], dAtA[iNdEx:postIndex]...) - if m.ByteKey == nil { - m.ByteKey = []byte{} - } - iNdEx = postIndex - case 4: - 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 ErrIntOverflowConnections - } - 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 ErrInvalidLengthConnections - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthConnections - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Tags = append(m.Tags, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - case 5: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field TagIndex", wireType) - } - m.TagIndex = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.TagIndex |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 6: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field TagsModified", wireType) - } - m.TagsModified = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.TagsModified |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipConnections(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthConnections - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ConnectionsTelemetry) Unmarshal(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 ErrIntOverflowConnections - } - 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: ConnectionsTelemetry: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ConnectionsTelemetry: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field MonotonicKprobesTriggered", wireType) - } - m.MonotonicKprobesTriggered = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.MonotonicKprobesTriggered |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field MonotonicKprobesMissed", wireType) - } - m.MonotonicKprobesMissed = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.MonotonicKprobesMissed |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field MonotonicConntrackRegisters", wireType) - } - m.MonotonicConntrackRegisters = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.MonotonicConntrackRegisters |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field MonotonicConntrackRegistersDropped", wireType) - } - m.MonotonicConntrackRegistersDropped = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.MonotonicConntrackRegistersDropped |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 5: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field MonotonicDnsPacketsProcessed", wireType) - } - m.MonotonicDnsPacketsProcessed = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.MonotonicDnsPacketsProcessed |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 6: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field MonotonicConnsClosed", wireType) - } - m.MonotonicConnsClosed = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.MonotonicConnsClosed |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 7: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ConnsBpfMapSize", wireType) - } - m.ConnsBpfMapSize = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.ConnsBpfMapSize |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 8: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field MonotonicUdpSendsProcessed", wireType) - } - m.MonotonicUdpSendsProcessed = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.MonotonicUdpSendsProcessed |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 9: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field MonotonicUdpSendsMissed", wireType) - } - m.MonotonicUdpSendsMissed = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.MonotonicUdpSendsMissed |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 10: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ConntrackSamplingPercent", wireType) - } - m.ConntrackSamplingPercent = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.ConntrackSamplingPercent |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 11: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field DnsStatsDropped", wireType) - } - m.DnsStatsDropped = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.DnsStatsDropped |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipConnections(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthConnections - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *CollectorConnectionsTelemetry) Unmarshal(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 ErrIntOverflowConnections - } - 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: CollectorConnectionsTelemetry: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: CollectorConnectionsTelemetry: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field KprobesTriggered", wireType) - } - m.KprobesTriggered = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.KprobesTriggered |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field KprobesMissed", wireType) - } - m.KprobesMissed = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.KprobesMissed |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ConntrackRegisters", wireType) - } - m.ConntrackRegisters = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.ConntrackRegisters |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ConntrackRegistersDropped", wireType) - } - m.ConntrackRegistersDropped = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.ConntrackRegistersDropped |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 5: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field DnsPacketsProcessed", wireType) - } - m.DnsPacketsProcessed = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.DnsPacketsProcessed |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 6: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ConnsClosed", wireType) - } - m.ConnsClosed = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.ConnsClosed |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 7: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ConnsBpfMapSize", wireType) - } - m.ConnsBpfMapSize = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.ConnsBpfMapSize |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 8: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field UdpSendsProcessed", wireType) - } - m.UdpSendsProcessed = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.UdpSendsProcessed |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 9: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field UdpSendsMissed", wireType) - } - m.UdpSendsMissed = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.UdpSendsMissed |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 10: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ConntrackSamplingPercent", wireType) - } - m.ConntrackSamplingPercent = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.ConntrackSamplingPercent |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 11: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field DnsStatsDropped", wireType) - } - m.DnsStatsDropped = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.DnsStatsDropped |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipConnections(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthConnections - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *RuntimeCompilationTelemetry) Unmarshal(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 ErrIntOverflowConnections - } - 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: RuntimeCompilationTelemetry: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: RuntimeCompilationTelemetry: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field RuntimeCompilationEnabled", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.RuntimeCompilationEnabled = bool(v != 0) - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field RuntimeCompilationResult", wireType) - } - m.RuntimeCompilationResult = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.RuntimeCompilationResult |= RuntimeCompilationResult(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field RuntimeCompilationDuration", wireType) - } - m.RuntimeCompilationDuration = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.RuntimeCompilationDuration |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field KernelHeaderFetchResult", wireType) - } - m.KernelHeaderFetchResult = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.KernelHeaderFetchResult |= KernelHeaderFetchResult(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipConnections(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthConnections - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *AgentConfiguration) Unmarshal(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 ErrIntOverflowConnections - } - 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: AgentConfiguration: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: AgentConfiguration: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field NpmEnabled", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.NpmEnabled = bool(v != 0) - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field UsmEnabled", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.UsmEnabled = bool(v != 0) - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field DsmEnabled", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.DsmEnabled = bool(v != 0) - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field CcmEnabled", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.CcmEnabled = bool(v != 0) - case 5: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field CsmEnabled", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.CsmEnabled = bool(v != 0) - default: - iNdEx = preIndex - skippy, err := skipConnections(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthConnections - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *Route) Unmarshal(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 ErrIntOverflowConnections - } - 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: Route: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Route: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Subnet", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthConnections - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthConnections - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Subnet == nil { - m.Subnet = &Subnet{} - } - if err := m.Subnet.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipConnections(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthConnections - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *Subnet) Unmarshal(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 ErrIntOverflowConnections - } - 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: Subnet: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Subnet: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Alias", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - 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 ErrInvalidLengthConnections - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthConnections - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Alias = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipConnections(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthConnections - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *RouteMetadata) Unmarshal(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 ErrIntOverflowConnections - } - 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: RouteMetadata: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: RouteMetadata: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Alias", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - 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 ErrInvalidLengthConnections - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthConnections - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Alias = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field TagIndex", wireType) - } - m.TagIndex = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.TagIndex |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field TagsModified", wireType) - } - m.TagsModified = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.TagsModified |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 4: - 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 ErrIntOverflowConnections - } - 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 ErrInvalidLengthConnections - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthConnections - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Tags = append(m.Tags, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipConnections(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthConnections - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *IPTranslation) Unmarshal(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 ErrIntOverflowConnections - } - 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: IPTranslation: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: IPTranslation: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ReplSrcIP", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - 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 ErrInvalidLengthConnections - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthConnections - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ReplSrcIP = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ReplDstIP", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - 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 ErrInvalidLengthConnections - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthConnections - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ReplDstIP = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ReplSrcPort", wireType) - } - m.ReplSrcPort = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.ReplSrcPort |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ReplDstPort", wireType) - } - m.ReplDstPort = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.ReplDstPort |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipConnections(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthConnections - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *Addr) Unmarshal(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 ErrIntOverflowConnections - } - 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: Addr: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Addr: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Ip", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - 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 ErrInvalidLengthConnections - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthConnections - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Ip = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Port", wireType) - } - m.Port = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Port |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 5: - 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 ErrIntOverflowConnections - } - 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 ErrInvalidLengthConnections - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthConnections - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ContainerId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 7: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field HostName", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - 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 ErrInvalidLengthConnections - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthConnections - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.HostName = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipConnections(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthConnections - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ProtocolStack) Unmarshal(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 ErrIntOverflowConnections - } - 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: ProtocolStack: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ProtocolStack: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType == 0 { - var v ProtocolType - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= ProtocolType(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.Stack = append(m.Stack, v) - } else if wireType == 2 { - var packedLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - packedLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if packedLen < 0 { - return ErrInvalidLengthConnections - } - postIndex := iNdEx + packedLen - if postIndex < 0 { - return ErrInvalidLengthConnections - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - var elementCount int - if elementCount != 0 && len(m.Stack) == 0 { - m.Stack = make([]ProtocolType, 0, elementCount) - } - for iNdEx < postIndex { - var v ProtocolType - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= ProtocolType(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.Stack = append(m.Stack, v) - } - } else { - return fmt.Errorf("proto: wrong wireType = %d for field Stack", wireType) - } - default: - iNdEx = preIndex - skippy, err := skipConnections(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthConnections - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *DNSEntry) Unmarshal(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 ErrIntOverflowConnections - } - 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: DNSEntry: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: DNSEntry: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Names", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - 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 ErrInvalidLengthConnections - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthConnections - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Names = append(m.Names, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipConnections(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthConnections - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } +func (*DNSStatsByQueryType) ProtoMessage() {} - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *DNSStats) Unmarshal(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 ErrIntOverflowConnections - } - 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: DNSStats: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: DNSStats: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field DnsTimeouts", wireType) - } - m.DnsTimeouts = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.DnsTimeouts |= uint32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field DnsSuccessLatencySum", wireType) - } - m.DnsSuccessLatencySum = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.DnsSuccessLatencySum |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field DnsFailureLatencySum", wireType) - } - m.DnsFailureLatencySum = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.DnsFailureLatencySum |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field DnsCountByRcode", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthConnections - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthConnections - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.DnsCountByRcode == nil { - m.DnsCountByRcode = make(map[uint32]uint32) - } - var mapkey uint32 - var mapvalue uint32 - for iNdEx < postIndex { - entryPreIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - 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 { - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - mapkey |= uint32(b&0x7F) << shift - if b < 0x80 { - break - } - } - } else if fieldNum == 2 { - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - mapvalue |= uint32(b&0x7F) << shift - if b < 0x80 { - break - } - } - } else { - iNdEx = entryPreIndex - skippy, err := skipConnections(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthConnections - } - if (iNdEx + skippy) > postIndex { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - m.DnsCountByRcode[mapkey] = mapvalue - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipConnections(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthConnections - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy +func (x *DNSStatsByQueryType) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_connections_proto_msgTypes[16] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } + return ms } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil + return mi.MessageOf(x) } -func (m *DNSStatsByQueryType) Unmarshal(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 ErrIntOverflowConnections - } - 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: DNSStatsByQueryType: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: DNSStatsByQueryType: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field DnsStatsByQueryType", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthConnections - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthConnections - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.DnsStatsByQueryType == nil { - m.DnsStatsByQueryType = make(map[int32]*DNSStats) - } - var mapkey int32 - var mapvalue *DNSStats - for iNdEx < postIndex { - entryPreIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - 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 { - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - mapkey |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - } else if fieldNum == 2 { - var mapmsglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConnections - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - mapmsglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if mapmsglen < 0 { - return ErrInvalidLengthConnections - } - postmsgIndex := iNdEx + mapmsglen - if postmsgIndex < 0 { - return ErrInvalidLengthConnections - } - if postmsgIndex > l { - return io.ErrUnexpectedEOF - } - mapvalue = &DNSStats{} - if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { - return err - } - iNdEx = postmsgIndex - } else { - iNdEx = entryPreIndex - skippy, err := skipConnections(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthConnections - } - if (iNdEx + skippy) > postIndex { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - m.DnsStatsByQueryType[mapkey] = mapvalue - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipConnections(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthConnections - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func skipConnections(dAtA []byte) (n int, err error) { - l := len(dAtA) - iNdEx := 0 - depth := 0 - for iNdEx < l { - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowConnections - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= (uint64(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - wireType := int(wire & 0x7) - switch wireType { - case 0: - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowConnections - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - iNdEx++ - if dAtA[iNdEx-1] < 0x80 { - break - } - } - case 1: - iNdEx += 8 - case 2: - var length int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowConnections - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - length |= (int(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - if length < 0 { - return 0, ErrInvalidLengthConnections - } - iNdEx += length - case 3: - depth++ - case 4: - if depth == 0 { - return 0, ErrUnexpectedEndOfGroupConnections - } - depth-- - case 5: - iNdEx += 4 - default: - return 0, fmt.Errorf("proto: illegal wireType %d", wireType) - } - if iNdEx < 0 { - return 0, ErrInvalidLengthConnections - } - if depth == 0 { - return iNdEx, nil - } - } - return 0, io.ErrUnexpectedEOF +// Deprecated: Use DNSStatsByQueryType.ProtoReflect.Descriptor instead. +func (*DNSStatsByQueryType) Descriptor() ([]byte, []int) { + return file_proto_process_connections_proto_rawDescGZIP(), []int{16} +} + +func (x *DNSStatsByQueryType) GetDnsStatsByQueryType() map[int32]*DNSStats { + if x != nil { + return x.DnsStatsByQueryType + } + return nil +} + +var File_proto_process_connections_proto protoreflect.FileDescriptor + +var file_proto_process_connections_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x2f, + 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x12, 0x15, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, + 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x1a, 0x19, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, + 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x2f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0xe3, 0x13, 0x0a, 0x14, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x6f, + 0x72, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x1a, 0x0a, 0x08, + 0x68, 0x6f, 0x73, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, + 0x68, 0x6f, 0x73, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x65, 0x74, 0x77, + 0x6f, 0x72, 0x6b, 0x49, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x65, 0x74, + 0x77, 0x6f, 0x72, 0x6b, 0x49, 0x64, 0x12, 0x43, 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x64, 0x61, + 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, + 0x65, 0x6e, 0x74, 0x2e, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, + 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x67, + 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x67, 0x72, + 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x53, 0x69, + 0x7a, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x53, + 0x69, 0x7a, 0x65, 0x12, 0x70, 0x0a, 0x11, 0x72, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x64, 0x52, + 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x42, + 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, + 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, + 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x52, 0x65, 0x73, 0x6f, + 0x6c, 0x76, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x45, 0x6e, 0x74, + 0x72, 0x79, 0x52, 0x11, 0x72, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x73, 0x12, 0x6a, 0x0a, 0x0f, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, + 0x65, 0x72, 0x46, 0x6f, 0x72, 0x50, 0x69, 0x64, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x40, + 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, + 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, + 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x43, 0x6f, 0x6e, 0x74, + 0x61, 0x69, 0x6e, 0x65, 0x72, 0x46, 0x6f, 0x72, 0x50, 0x69, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, + 0x52, 0x0f, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x46, 0x6f, 0x72, 0x50, 0x69, + 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x65, 0x64, 0x54, 0x61, 0x67, 0x73, + 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x65, 0x64, 0x54, + 0x61, 0x67, 0x73, 0x12, 0x36, 0x0a, 0x16, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x65, 0x64, 0x43, 0x6f, + 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x54, 0x61, 0x67, 0x73, 0x18, 0x26, 0x20, + 0x01, 0x28, 0x0c, 0x52, 0x16, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x65, 0x64, 0x43, 0x6f, 0x6e, 0x6e, + 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x54, 0x61, 0x67, 0x73, 0x12, 0x56, 0x0a, 0x11, 0x63, + 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x48, 0x6f, 0x73, 0x74, 0x54, 0x79, 0x70, 0x65, + 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x28, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, + 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x43, + 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x48, 0x6f, 0x73, 0x74, 0x54, 0x79, 0x70, 0x65, + 0x52, 0x11, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x48, 0x6f, 0x73, 0x74, 0x54, + 0x79, 0x70, 0x65, 0x12, 0x5a, 0x0a, 0x0d, 0x63, 0x6f, 0x6e, 0x6e, 0x54, 0x65, 0x6c, 0x65, 0x6d, + 0x65, 0x74, 0x72, 0x79, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x64, 0x61, 0x74, + 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, + 0x6e, 0x74, 0x2e, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x43, 0x6f, 0x6e, 0x6e, + 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x54, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, + 0x52, 0x0d, 0x63, 0x6f, 0x6e, 0x6e, 0x54, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x12, + 0x6d, 0x0a, 0x10, 0x63, 0x6f, 0x6e, 0x6e, 0x54, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, + 0x4d, 0x61, 0x70, 0x18, 0x27, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x41, 0x2e, 0x64, 0x61, 0x74, 0x61, + 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, + 0x74, 0x2e, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x43, 0x6f, 0x6e, 0x6e, 0x65, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x43, 0x6f, 0x6e, 0x6e, 0x54, 0x65, 0x6c, 0x65, 0x6d, + 0x65, 0x74, 0x72, 0x79, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x10, 0x63, 0x6f, + 0x6e, 0x6e, 0x54, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x4d, 0x61, 0x70, 0x12, 0x22, + 0x0a, 0x0c, 0x61, 0x72, 0x63, 0x68, 0x69, 0x74, 0x65, 0x63, 0x74, 0x75, 0x72, 0x65, 0x18, 0x11, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x61, 0x72, 0x63, 0x68, 0x69, 0x74, 0x65, 0x63, 0x74, 0x75, + 0x72, 0x65, 0x12, 0x24, 0x0a, 0x0d, 0x6b, 0x65, 0x72, 0x6e, 0x65, 0x6c, 0x56, 0x65, 0x72, 0x73, + 0x69, 0x6f, 0x6e, 0x18, 0x12, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6b, 0x65, 0x72, 0x6e, 0x65, + 0x6c, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x74, + 0x66, 0x6f, 0x72, 0x6d, 0x18, 0x13, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x74, + 0x66, 0x6f, 0x72, 0x6d, 0x12, 0x28, 0x0a, 0x0f, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, + 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x14, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x70, + 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x8e, + 0x01, 0x0a, 0x1b, 0x63, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x65, + 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x42, 0x79, 0x41, 0x73, 0x73, 0x65, 0x74, 0x18, 0x15, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x4c, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, + 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x43, 0x6f, 0x6c, + 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x65, 0x6c, + 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x42, 0x79, 0x41, 0x73, 0x73, 0x65, 0x74, 0x45, 0x6e, 0x74, + 0x72, 0x79, 0x52, 0x1b, 0x63, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, + 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x42, 0x79, 0x41, 0x73, 0x73, 0x65, 0x74, 0x12, + 0x68, 0x0a, 0x17, 0x6b, 0x65, 0x72, 0x6e, 0x65, 0x6c, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x46, + 0x65, 0x74, 0x63, 0x68, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x29, 0x20, 0x01, 0x28, 0x0e, + 0x32, 0x2e, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, + 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x4b, 0x65, 0x72, 0x6e, 0x65, 0x6c, 0x48, + 0x65, 0x61, 0x64, 0x65, 0x72, 0x46, 0x65, 0x74, 0x63, 0x68, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, + 0x52, 0x17, 0x6b, 0x65, 0x72, 0x6e, 0x65, 0x6c, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x46, 0x65, + 0x74, 0x63, 0x68, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x79, 0x0a, 0x14, 0x43, 0x4f, 0x52, + 0x45, 0x54, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x42, 0x79, 0x41, 0x73, 0x73, 0x65, + 0x74, 0x18, 0x2a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x45, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, + 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, + 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x43, 0x4f, 0x52, 0x45, 0x54, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, + 0x72, 0x79, 0x42, 0x79, 0x41, 0x73, 0x73, 0x65, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x14, + 0x43, 0x4f, 0x52, 0x45, 0x54, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x42, 0x79, 0x41, + 0x73, 0x73, 0x65, 0x74, 0x12, 0x2e, 0x0a, 0x12, 0x50, 0x72, 0x65, 0x62, 0x75, 0x69, 0x6c, 0x74, + 0x45, 0x42, 0x50, 0x46, 0x41, 0x73, 0x73, 0x65, 0x74, 0x73, 0x18, 0x2c, 0x20, 0x03, 0x28, 0x09, + 0x52, 0x12, 0x50, 0x72, 0x65, 0x62, 0x75, 0x69, 0x6c, 0x74, 0x45, 0x42, 0x50, 0x46, 0x41, 0x73, + 0x73, 0x65, 0x74, 0x73, 0x12, 0x34, 0x0a, 0x06, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x18, 0x1f, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, + 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x52, 0x6f, 0x75, + 0x74, 0x65, 0x52, 0x06, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x12, 0x4a, 0x0a, 0x0d, 0x72, 0x6f, + 0x75, 0x74, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x22, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x24, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, + 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x4d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x0d, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x4d, 0x65, + 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x59, 0x0a, 0x12, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x43, + 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x23, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, + 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x41, 0x67, 0x65, 0x6e, 0x74, + 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x12, 0x61, + 0x67, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x12, 0x1e, 0x0a, 0x0a, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x65, 0x64, 0x44, 0x4e, 0x53, 0x18, + 0x0e, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x65, 0x64, 0x44, 0x4e, + 0x53, 0x12, 0x18, 0x0a, 0x07, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x73, 0x18, 0x1e, 0x20, 0x03, + 0x28, 0x09, 0x52, 0x07, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x73, 0x12, 0x34, 0x0a, 0x15, 0x65, + 0x6e, 0x63, 0x6f, 0x64, 0x65, 0x64, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x44, 0x61, 0x74, 0x61, + 0x62, 0x61, 0x73, 0x65, 0x18, 0x24, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x15, 0x65, 0x6e, 0x63, 0x6f, + 0x64, 0x65, 0x64, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, + 0x65, 0x12, 0x2c, 0x0a, 0x11, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x65, 0x64, 0x44, 0x6e, 0x73, 0x4c, + 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x73, 0x18, 0x25, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x11, 0x65, 0x6e, + 0x63, 0x6f, 0x64, 0x65, 0x64, 0x44, 0x6e, 0x73, 0x4c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x73, 0x12, + 0x76, 0x0a, 0x13, 0x72, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x64, 0x48, 0x6f, 0x73, 0x74, 0x73, + 0x42, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x28, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x44, 0x2e, 0x64, + 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, + 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x43, 0x6f, + 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76, + 0x65, 0x64, 0x48, 0x6f, 0x73, 0x74, 0x73, 0x42, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x45, 0x6e, 0x74, + 0x72, 0x79, 0x52, 0x13, 0x72, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x64, 0x48, 0x6f, 0x73, 0x74, + 0x73, 0x42, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x63, 0x73, 0x54, 0x61, + 0x73, 0x6b, 0x18, 0x2d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x65, 0x63, 0x73, 0x54, 0x61, 0x73, + 0x6b, 0x1a, 0x6d, 0x0a, 0x16, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x64, 0x52, 0x65, 0x73, + 0x6f, 0x75, 0x72, 0x63, 0x65, 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, 0x3d, 0x0a, + 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x64, + 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, + 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4d, 0x65, 0x74, + 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, + 0x1a, 0x42, 0x0a, 0x14, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x46, 0x6f, 0x72, + 0x50, 0x69, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x05, 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, 0x1a, 0x43, 0x0a, 0x15, 0x43, 0x6f, 0x6e, 0x6e, 0x54, 0x65, 0x6c, 0x65, + 0x6d, 0x65, 0x74, 0x72, 0x79, 0x4d, 0x61, 0x70, 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, 0x03, 0x52, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x82, 0x01, 0x0a, 0x20, 0x43, 0x6f, + 0x6d, 0x70, 0x69, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, + 0x72, 0x79, 0x42, 0x79, 0x41, 0x73, 0x73, 0x65, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, + 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, + 0x12, 0x48, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x32, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, + 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x52, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x43, + 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x65, 0x6c, 0x65, 0x6d, 0x65, + 0x74, 0x72, 0x79, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x6a, + 0x0a, 0x19, 0x43, 0x4f, 0x52, 0x45, 0x54, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x42, + 0x79, 0x41, 0x73, 0x73, 0x65, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, + 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x37, 0x0a, + 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x64, + 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, + 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x43, 0x4f, 0x52, 0x45, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, + 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x63, 0x0a, 0x18, 0x52, 0x65, + 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x64, 0x48, 0x6f, 0x73, 0x74, 0x73, 0x42, 0x79, 0x4e, 0x61, 0x6d, + 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x31, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, + 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, + 0x48, 0x6f, 0x73, 0x74, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x4a, + 0x04, 0x08, 0x01, 0x10, 0x02, 0x4a, 0x04, 0x08, 0x04, 0x10, 0x05, 0x4a, 0x04, 0x08, 0x07, 0x10, + 0x08, 0x4a, 0x04, 0x08, 0x09, 0x10, 0x0a, 0x4a, 0x04, 0x08, 0x0d, 0x10, 0x0e, 0x4a, 0x04, 0x08, + 0x20, 0x10, 0x21, 0x4a, 0x04, 0x08, 0x21, 0x10, 0x22, 0x22, 0xa0, 0x0a, 0x0a, 0x0b, 0x43, 0x6f, + 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x37, 0x0a, 0x05, 0x63, 0x6f, 0x6e, + 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, + 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, + 0x2e, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x05, 0x63, 0x6f, 0x6e, + 0x6e, 0x73, 0x12, 0x3d, 0x0a, 0x03, 0x64, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x2b, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, + 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x2e, 0x44, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x03, 0x64, 0x6e, + 0x73, 0x12, 0x51, 0x0a, 0x0d, 0x63, 0x6f, 0x6e, 0x6e, 0x54, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, + 0x72, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, + 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, + 0x2e, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x54, 0x65, 0x6c, 0x65, + 0x6d, 0x65, 0x74, 0x72, 0x79, 0x52, 0x0d, 0x63, 0x6f, 0x6e, 0x6e, 0x54, 0x65, 0x6c, 0x65, 0x6d, + 0x65, 0x74, 0x72, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x73, 0x18, + 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x73, 0x12, 0x34, + 0x0a, 0x06, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, + 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, + 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x52, 0x06, 0x72, 0x6f, + 0x75, 0x74, 0x65, 0x73, 0x12, 0x85, 0x01, 0x0a, 0x1b, 0x63, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x42, 0x79, 0x41, + 0x73, 0x73, 0x65, 0x74, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x43, 0x2e, 0x64, 0x61, 0x74, + 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, + 0x6e, 0x74, 0x2e, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x43, + 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x65, 0x6c, 0x65, 0x6d, 0x65, + 0x74, 0x72, 0x79, 0x42, 0x79, 0x41, 0x73, 0x73, 0x65, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, + 0x1b, 0x63, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x65, 0x6c, 0x65, + 0x6d, 0x65, 0x74, 0x72, 0x79, 0x42, 0x79, 0x41, 0x73, 0x73, 0x65, 0x74, 0x12, 0x59, 0x0a, 0x12, + 0x61, 0x67, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, + 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, + 0x2e, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x52, 0x12, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, + 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x61, 0x67, 0x73, 0x18, + 0x08, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x12, 0x64, 0x0a, 0x10, 0x63, + 0x6f, 0x6e, 0x6e, 0x54, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x4d, 0x61, 0x70, 0x18, + 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x38, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, + 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x43, 0x6f, + 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x43, 0x6f, 0x6e, 0x6e, 0x54, 0x65, + 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, + 0x10, 0x63, 0x6f, 0x6e, 0x6e, 0x54, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x4d, 0x61, + 0x70, 0x12, 0x68, 0x0a, 0x17, 0x6b, 0x65, 0x72, 0x6e, 0x65, 0x6c, 0x48, 0x65, 0x61, 0x64, 0x65, + 0x72, 0x46, 0x65, 0x74, 0x63, 0x68, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x0a, 0x20, 0x01, + 0x28, 0x0e, 0x32, 0x2e, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, + 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x4b, 0x65, 0x72, 0x6e, 0x65, + 0x6c, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x46, 0x65, 0x74, 0x63, 0x68, 0x52, 0x65, 0x73, 0x75, + 0x6c, 0x74, 0x52, 0x17, 0x6b, 0x65, 0x72, 0x6e, 0x65, 0x6c, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, + 0x46, 0x65, 0x74, 0x63, 0x68, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x70, 0x0a, 0x14, 0x43, + 0x4f, 0x52, 0x45, 0x54, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x42, 0x79, 0x41, 0x73, + 0x73, 0x65, 0x74, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3c, 0x2e, 0x64, 0x61, 0x74, 0x61, + 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, + 0x74, 0x2e, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x43, 0x4f, + 0x52, 0x45, 0x54, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x42, 0x79, 0x41, 0x73, 0x73, + 0x65, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x14, 0x43, 0x4f, 0x52, 0x45, 0x54, 0x65, 0x6c, + 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x42, 0x79, 0x41, 0x73, 0x73, 0x65, 0x74, 0x12, 0x2e, 0x0a, + 0x12, 0x50, 0x72, 0x65, 0x62, 0x75, 0x69, 0x6c, 0x74, 0x45, 0x42, 0x50, 0x46, 0x41, 0x73, 0x73, + 0x65, 0x74, 0x73, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x09, 0x52, 0x12, 0x50, 0x72, 0x65, 0x62, 0x75, + 0x69, 0x6c, 0x74, 0x45, 0x42, 0x50, 0x46, 0x41, 0x73, 0x73, 0x65, 0x74, 0x73, 0x1a, 0x57, 0x0a, + 0x08, 0x44, 0x6e, 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, 0x35, 0x0a, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x64, 0x61, 0x74, + 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, + 0x6e, 0x74, 0x2e, 0x44, 0x4e, 0x53, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x82, 0x01, 0x0a, 0x20, 0x43, 0x6f, 0x6d, 0x70, 0x69, + 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x42, + 0x79, 0x41, 0x73, 0x73, 0x65, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, + 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x48, 0x0a, + 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x64, + 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, + 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x52, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x43, 0x6f, 0x6d, 0x70, + 0x69, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, + 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x43, 0x0a, 0x15, 0x43, + 0x6f, 0x6e, 0x6e, 0x54, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x4d, 0x61, 0x70, 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, 0x03, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, + 0x1a, 0x6a, 0x0a, 0x19, 0x43, 0x4f, 0x52, 0x45, 0x54, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, + 0x79, 0x42, 0x79, 0x41, 0x73, 0x73, 0x65, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, + 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, + 0x37, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, + 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, + 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x43, 0x4f, 0x52, 0x45, 0x52, 0x65, 0x73, 0x75, 0x6c, + 0x74, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x95, 0x16, 0x0a, + 0x0a, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x70, + 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x70, 0x69, 0x64, 0x12, 0x31, 0x0a, + 0x05, 0x6c, 0x61, 0x64, 0x64, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x64, + 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, + 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x52, 0x05, 0x6c, 0x61, 0x64, 0x64, 0x72, + 0x12, 0x31, 0x0a, 0x05, 0x72, 0x61, 0x64, 0x64, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1b, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, + 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x52, 0x05, 0x72, 0x61, + 0x64, 0x64, 0x72, 0x12, 0x3f, 0x0a, 0x06, 0x66, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x18, 0x0a, 0x20, + 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, + 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x43, 0x6f, 0x6e, 0x6e, + 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x52, 0x06, 0x66, 0x61, + 0x6d, 0x69, 0x6c, 0x79, 0x12, 0x39, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x0b, 0x20, 0x01, + 0x28, 0x0e, 0x32, 0x25, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, + 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x43, 0x6f, 0x6e, 0x6e, 0x65, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, + 0x5d, 0x0a, 0x14, 0x69, 0x73, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x50, 0x6f, 0x72, 0x74, 0x45, 0x70, + 0x68, 0x65, 0x6d, 0x65, 0x72, 0x61, 0x6c, 0x18, 0x29, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x29, 0x2e, + 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, + 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x45, 0x70, 0x68, 0x65, 0x6d, 0x65, 0x72, 0x61, 0x6c, 0x50, + 0x6f, 0x72, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x14, 0x69, 0x73, 0x4c, 0x6f, 0x63, 0x61, + 0x6c, 0x50, 0x6f, 0x72, 0x74, 0x45, 0x70, 0x68, 0x65, 0x6d, 0x65, 0x72, 0x61, 0x6c, 0x12, 0x24, + 0x0a, 0x0d, 0x6c, 0x61, 0x73, 0x74, 0x42, 0x79, 0x74, 0x65, 0x73, 0x53, 0x65, 0x6e, 0x74, 0x18, + 0x10, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0d, 0x6c, 0x61, 0x73, 0x74, 0x42, 0x79, 0x74, 0x65, 0x73, + 0x53, 0x65, 0x6e, 0x74, 0x12, 0x2c, 0x0a, 0x11, 0x6c, 0x61, 0x73, 0x74, 0x42, 0x79, 0x74, 0x65, + 0x73, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x18, 0x11, 0x20, 0x01, 0x28, 0x04, 0x52, + 0x11, 0x6c, 0x61, 0x73, 0x74, 0x42, 0x79, 0x74, 0x65, 0x73, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, + 0x65, 0x64, 0x12, 0x28, 0x0a, 0x0f, 0x6c, 0x61, 0x73, 0x74, 0x52, 0x65, 0x74, 0x72, 0x61, 0x6e, + 0x73, 0x6d, 0x69, 0x74, 0x73, 0x18, 0x12, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x6c, 0x61, 0x73, + 0x74, 0x52, 0x65, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x6d, 0x69, 0x74, 0x73, 0x12, 0x48, 0x0a, 0x09, + 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x13, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x2a, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, + 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x64, 0x69, 0x72, + 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x28, 0x0a, 0x0f, 0x6c, 0x61, 0x73, 0x74, 0x50, 0x61, + 0x63, 0x6b, 0x65, 0x74, 0x73, 0x53, 0x65, 0x6e, 0x74, 0x18, 0x26, 0x20, 0x01, 0x28, 0x04, 0x52, + 0x0f, 0x6c, 0x61, 0x73, 0x74, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x73, 0x53, 0x65, 0x6e, 0x74, + 0x12, 0x30, 0x0a, 0x13, 0x6c, 0x61, 0x73, 0x74, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x73, 0x52, + 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x18, 0x27, 0x20, 0x01, 0x28, 0x04, 0x52, 0x13, 0x6c, + 0x61, 0x73, 0x74, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x73, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, + 0x65, 0x64, 0x12, 0x40, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x18, 0x30, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, + 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x50, 0x72, 0x6f, + 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x53, 0x74, 0x61, 0x63, 0x6b, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x6e, 0x65, 0x74, 0x4e, 0x53, 0x18, 0x14, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6e, 0x65, 0x74, 0x4e, 0x53, 0x12, 0x28, 0x0a, 0x0f, 0x72, 0x65, + 0x6d, 0x6f, 0x74, 0x65, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x49, 0x64, 0x18, 0x20, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0f, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x4e, 0x65, 0x74, 0x77, 0x6f, + 0x72, 0x6b, 0x49, 0x64, 0x12, 0x4a, 0x0a, 0x0d, 0x69, 0x70, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x6c, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x15, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x64, 0x61, + 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, + 0x65, 0x6e, 0x74, 0x2e, 0x49, 0x50, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x6c, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x52, 0x0d, 0x69, 0x70, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x12, 0x10, 0x0a, 0x03, 0x72, 0x74, 0x74, 0x18, 0x16, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x72, + 0x74, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x74, 0x74, 0x56, 0x61, 0x72, 0x18, 0x17, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x06, 0x72, 0x74, 0x74, 0x56, 0x61, 0x72, 0x12, 0x1c, 0x0a, 0x09, 0x69, 0x6e, + 0x74, 0x72, 0x61, 0x48, 0x6f, 0x73, 0x74, 0x18, 0x18, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x69, + 0x6e, 0x74, 0x72, 0x61, 0x48, 0x6f, 0x73, 0x74, 0x12, 0x36, 0x0a, 0x16, 0x64, 0x6e, 0x73, 0x53, + 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x66, 0x75, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x73, 0x18, 0x19, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x16, 0x64, 0x6e, 0x73, 0x53, 0x75, 0x63, + 0x63, 0x65, 0x73, 0x73, 0x66, 0x75, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x73, + 0x12, 0x2e, 0x0a, 0x12, 0x64, 0x6e, 0x73, 0x46, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x73, 0x18, 0x1a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x64, 0x6e, + 0x73, 0x46, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x73, + 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x6e, 0x73, 0x54, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x73, 0x18, + 0x1b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x64, 0x6e, 0x73, 0x54, 0x69, 0x6d, 0x65, 0x6f, 0x75, + 0x74, 0x73, 0x12, 0x32, 0x0a, 0x14, 0x64, 0x6e, 0x73, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, + 0x4c, 0x61, 0x74, 0x65, 0x6e, 0x63, 0x79, 0x53, 0x75, 0x6d, 0x18, 0x1c, 0x20, 0x01, 0x28, 0x04, + 0x52, 0x14, 0x64, 0x6e, 0x73, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x4c, 0x61, 0x74, 0x65, + 0x6e, 0x63, 0x79, 0x53, 0x75, 0x6d, 0x12, 0x32, 0x0a, 0x14, 0x64, 0x6e, 0x73, 0x46, 0x61, 0x69, + 0x6c, 0x75, 0x72, 0x65, 0x4c, 0x61, 0x74, 0x65, 0x6e, 0x63, 0x79, 0x53, 0x75, 0x6d, 0x18, 0x1d, + 0x20, 0x01, 0x28, 0x04, 0x52, 0x14, 0x64, 0x6e, 0x73, 0x46, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, + 0x4c, 0x61, 0x74, 0x65, 0x6e, 0x63, 0x79, 0x53, 0x75, 0x6d, 0x12, 0x60, 0x0a, 0x0f, 0x64, 0x6e, + 0x73, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x79, 0x52, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x21, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, + 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x43, 0x6f, 0x6e, 0x6e, + 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x44, 0x6e, 0x73, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x42, + 0x79, 0x52, 0x63, 0x6f, 0x64, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0f, 0x64, 0x6e, 0x73, + 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x79, 0x52, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x2e, 0x0a, 0x12, + 0x6c, 0x61, 0x73, 0x74, 0x54, 0x63, 0x70, 0x45, 0x73, 0x74, 0x61, 0x62, 0x6c, 0x69, 0x73, 0x68, + 0x65, 0x64, 0x18, 0x1e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x6c, 0x61, 0x73, 0x74, 0x54, 0x63, + 0x70, 0x45, 0x73, 0x74, 0x61, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x65, 0x64, 0x12, 0x24, 0x0a, 0x0d, + 0x6c, 0x61, 0x73, 0x74, 0x54, 0x63, 0x70, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x64, 0x18, 0x1f, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x6c, 0x61, 0x73, 0x74, 0x54, 0x63, 0x70, 0x43, 0x6c, 0x6f, 0x73, + 0x65, 0x64, 0x12, 0x63, 0x0a, 0x10, 0x64, 0x6e, 0x73, 0x53, 0x74, 0x61, 0x74, 0x73, 0x42, 0x79, + 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x18, 0x22, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x64, + 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, + 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, + 0x44, 0x6e, 0x73, 0x53, 0x74, 0x61, 0x74, 0x73, 0x42, 0x79, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, + 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x10, 0x64, 0x6e, 0x73, 0x53, 0x74, 0x61, 0x74, 0x73, 0x42, + 0x79, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x12, 0x84, 0x01, 0x0a, 0x1b, 0x64, 0x6e, 0x73, 0x53, + 0x74, 0x61, 0x74, 0x73, 0x42, 0x79, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x42, 0x79, 0x51, 0x75, + 0x65, 0x72, 0x79, 0x54, 0x79, 0x70, 0x65, 0x18, 0x2a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x42, 0x2e, + 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, + 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x2e, 0x44, 0x6e, 0x73, 0x53, 0x74, 0x61, 0x74, 0x73, 0x42, 0x79, 0x44, 0x6f, 0x6d, 0x61, 0x69, + 0x6e, 0x42, 0x79, 0x51, 0x75, 0x65, 0x72, 0x79, 0x54, 0x79, 0x70, 0x65, 0x45, 0x6e, 0x74, 0x72, + 0x79, 0x52, 0x1b, 0x64, 0x6e, 0x73, 0x53, 0x74, 0x61, 0x74, 0x73, 0x42, 0x79, 0x44, 0x6f, 0x6d, + 0x61, 0x69, 0x6e, 0x42, 0x79, 0x51, 0x75, 0x65, 0x72, 0x79, 0x54, 0x79, 0x70, 0x65, 0x12, 0x96, + 0x01, 0x0a, 0x21, 0x64, 0x6e, 0x73, 0x53, 0x74, 0x61, 0x74, 0x73, 0x42, 0x79, 0x44, 0x6f, 0x6d, + 0x61, 0x69, 0x6e, 0x4f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x42, 0x79, 0x51, 0x75, 0x65, 0x72, 0x79, + 0x54, 0x79, 0x70, 0x65, 0x18, 0x2b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x48, 0x2e, 0x64, 0x61, 0x74, + 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, + 0x6e, 0x74, 0x2e, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x44, 0x6e, + 0x73, 0x53, 0x74, 0x61, 0x74, 0x73, 0x42, 0x79, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x4f, 0x66, + 0x66, 0x73, 0x65, 0x74, 0x42, 0x79, 0x51, 0x75, 0x65, 0x72, 0x79, 0x54, 0x79, 0x70, 0x65, 0x45, + 0x6e, 0x74, 0x72, 0x79, 0x52, 0x21, 0x64, 0x6e, 0x73, 0x53, 0x74, 0x61, 0x74, 0x73, 0x42, 0x79, + 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x4f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x42, 0x79, 0x51, 0x75, + 0x65, 0x72, 0x79, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x6f, 0x75, 0x74, 0x65, + 0x49, 0x64, 0x78, 0x18, 0x24, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x72, 0x6f, 0x75, 0x74, 0x65, + 0x49, 0x64, 0x78, 0x12, 0x26, 0x0a, 0x0e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x54, 0x61, 0x72, 0x67, + 0x65, 0x74, 0x49, 0x64, 0x78, 0x18, 0x28, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0e, 0x72, 0x6f, 0x75, + 0x74, 0x65, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x49, 0x64, 0x78, 0x12, 0x2a, 0x0a, 0x10, 0x68, + 0x74, 0x74, 0x70, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, + 0x25, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x10, 0x68, 0x74, 0x74, 0x70, 0x41, 0x67, 0x67, 0x72, 0x65, + 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x16, 0x0a, 0x04, 0x74, 0x61, 0x67, 0x73, 0x18, + 0x2c, 0x20, 0x03, 0x28, 0x0d, 0x42, 0x02, 0x10, 0x00, 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x12, + 0x18, 0x0a, 0x07, 0x74, 0x61, 0x67, 0x73, 0x49, 0x64, 0x78, 0x18, 0x2d, 0x20, 0x01, 0x28, 0x05, + 0x52, 0x07, 0x74, 0x61, 0x67, 0x73, 0x49, 0x64, 0x78, 0x12, 0x22, 0x0a, 0x0c, 0x74, 0x61, 0x67, + 0x73, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x18, 0x2f, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x0c, 0x74, 0x61, 0x67, 0x73, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x12, 0x1e, 0x0a, + 0x0a, 0x73, 0x74, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x2e, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x0a, 0x73, 0x74, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x38, 0x0a, + 0x17, 0x64, 0x61, 0x74, 0x61, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x73, 0x41, 0x67, 0x67, 0x72, + 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x31, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x17, + 0x64, 0x61, 0x74, 0x61, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x73, 0x41, 0x67, 0x67, 0x72, 0x65, + 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x2c, 0x0a, 0x11, 0x68, 0x74, 0x74, 0x70, 0x32, + 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x32, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x11, 0x68, 0x74, 0x74, 0x70, 0x32, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x32, 0x0a, 0x14, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, + 0x65, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x33, 0x20, + 0x01, 0x28, 0x0c, 0x52, 0x14, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x41, 0x67, 0x67, + 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x6f, 0x0a, 0x14, 0x74, 0x63, 0x70, + 0x46, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x73, 0x42, 0x79, 0x45, 0x72, 0x72, 0x43, 0x6f, 0x64, + 0x65, 0x18, 0x34, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3b, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, + 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, + 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x54, 0x63, 0x70, 0x46, 0x61, + 0x69, 0x6c, 0x75, 0x72, 0x65, 0x73, 0x42, 0x79, 0x45, 0x72, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x45, + 0x6e, 0x74, 0x72, 0x79, 0x52, 0x14, 0x74, 0x63, 0x70, 0x46, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, + 0x73, 0x42, 0x79, 0x45, 0x72, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x24, 0x0a, 0x0d, 0x72, 0x65, + 0x6d, 0x6f, 0x74, 0x65, 0x45, 0x63, 0x73, 0x54, 0x61, 0x73, 0x6b, 0x18, 0x35, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0d, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x45, 0x63, 0x73, 0x54, 0x61, 0x73, 0x6b, + 0x1a, 0x42, 0x0a, 0x14, 0x44, 0x6e, 0x73, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x79, 0x52, 0x63, + 0x6f, 0x64, 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, 0x14, 0x0a, 0x05, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x64, 0x0a, 0x15, 0x44, 0x6e, 0x73, 0x53, 0x74, 0x61, 0x74, 0x73, + 0x42, 0x79, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, + 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, + 0x35, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, + 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, + 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x44, 0x4e, 0x53, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, + 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x7a, 0x0a, 0x20, 0x44, 0x6e, + 0x73, 0x53, 0x74, 0x61, 0x74, 0x73, 0x42, 0x79, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x42, 0x79, + 0x51, 0x75, 0x65, 0x72, 0x79, 0x54, 0x79, 0x70, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, + 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6b, 0x65, 0x79, + 0x12, 0x40, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x2a, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, + 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x44, 0x4e, 0x53, 0x53, 0x74, 0x61, 0x74, 0x73, + 0x42, 0x79, 0x51, 0x75, 0x65, 0x72, 0x79, 0x54, 0x79, 0x70, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x80, 0x01, 0x0a, 0x26, 0x44, 0x6e, 0x73, 0x53, 0x74, + 0x61, 0x74, 0x73, 0x42, 0x79, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x4f, 0x66, 0x66, 0x73, 0x65, + 0x74, 0x42, 0x79, 0x51, 0x75, 0x65, 0x72, 0x79, 0x54, 0x79, 0x70, 0x65, 0x45, 0x6e, 0x74, 0x72, + 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, + 0x6b, 0x65, 0x79, 0x12, 0x40, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, + 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x44, 0x4e, 0x53, 0x53, 0x74, + 0x61, 0x74, 0x73, 0x42, 0x79, 0x51, 0x75, 0x65, 0x72, 0x79, 0x54, 0x79, 0x70, 0x65, 0x52, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x47, 0x0a, 0x19, 0x54, 0x63, 0x70, + 0x46, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x73, 0x42, 0x79, 0x45, 0x72, 0x72, 0x43, 0x6f, 0x64, + 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, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, + 0x38, 0x01, 0x4a, 0x04, 0x08, 0x02, 0x10, 0x03, 0x4a, 0x04, 0x08, 0x03, 0x10, 0x04, 0x4a, 0x04, + 0x08, 0x04, 0x10, 0x05, 0x4a, 0x04, 0x08, 0x07, 0x10, 0x08, 0x4a, 0x04, 0x08, 0x08, 0x10, 0x09, + 0x4a, 0x04, 0x08, 0x09, 0x10, 0x0a, 0x4a, 0x04, 0x08, 0x0c, 0x10, 0x0d, 0x4a, 0x04, 0x08, 0x0d, + 0x10, 0x0e, 0x4a, 0x04, 0x08, 0x0e, 0x10, 0x0f, 0x4a, 0x04, 0x08, 0x0f, 0x10, 0x10, 0x4a, 0x04, + 0x08, 0x23, 0x10, 0x24, 0x22, 0x96, 0x01, 0x0a, 0x10, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x62, 0x79, 0x74, + 0x65, 0x4b, 0x65, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x62, 0x79, 0x74, 0x65, + 0x4b, 0x65, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x61, 0x67, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, + 0x09, 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x74, 0x61, 0x67, 0x49, 0x6e, + 0x64, 0x65, 0x78, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x74, 0x61, 0x67, 0x49, 0x6e, + 0x64, 0x65, 0x78, 0x12, 0x22, 0x0a, 0x0c, 0x74, 0x61, 0x67, 0x73, 0x4d, 0x6f, 0x64, 0x69, 0x66, + 0x69, 0x65, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x74, 0x61, 0x67, 0x73, 0x4d, + 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x64, 0x4a, 0x04, 0x08, 0x02, 0x10, 0x03, 0x22, 0xa0, 0x05, + 0x0a, 0x14, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x54, 0x65, 0x6c, + 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x12, 0x3c, 0x0a, 0x19, 0x6d, 0x6f, 0x6e, 0x6f, 0x74, 0x6f, + 0x6e, 0x69, 0x63, 0x4b, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x73, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, + 0x72, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x19, 0x6d, 0x6f, 0x6e, 0x6f, 0x74, + 0x6f, 0x6e, 0x69, 0x63, 0x4b, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x73, 0x54, 0x72, 0x69, 0x67, 0x67, + 0x65, 0x72, 0x65, 0x64, 0x12, 0x36, 0x0a, 0x16, 0x6d, 0x6f, 0x6e, 0x6f, 0x74, 0x6f, 0x6e, 0x69, + 0x63, 0x4b, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x73, 0x4d, 0x69, 0x73, 0x73, 0x65, 0x64, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x03, 0x52, 0x16, 0x6d, 0x6f, 0x6e, 0x6f, 0x74, 0x6f, 0x6e, 0x69, 0x63, 0x4b, + 0x70, 0x72, 0x6f, 0x62, 0x65, 0x73, 0x4d, 0x69, 0x73, 0x73, 0x65, 0x64, 0x12, 0x40, 0x0a, 0x1b, + 0x6d, 0x6f, 0x6e, 0x6f, 0x74, 0x6f, 0x6e, 0x69, 0x63, 0x43, 0x6f, 0x6e, 0x6e, 0x74, 0x72, 0x61, + 0x63, 0x6b, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x1b, 0x6d, 0x6f, 0x6e, 0x6f, 0x74, 0x6f, 0x6e, 0x69, 0x63, 0x43, 0x6f, 0x6e, 0x6e, + 0x74, 0x72, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x73, 0x12, 0x4e, + 0x0a, 0x22, 0x6d, 0x6f, 0x6e, 0x6f, 0x74, 0x6f, 0x6e, 0x69, 0x63, 0x43, 0x6f, 0x6e, 0x6e, 0x74, + 0x72, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x73, 0x44, 0x72, 0x6f, + 0x70, 0x70, 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x22, 0x6d, 0x6f, 0x6e, 0x6f, + 0x74, 0x6f, 0x6e, 0x69, 0x63, 0x43, 0x6f, 0x6e, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x6b, 0x52, 0x65, + 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x73, 0x44, 0x72, 0x6f, 0x70, 0x70, 0x65, 0x64, 0x12, 0x42, + 0x0a, 0x1c, 0x6d, 0x6f, 0x6e, 0x6f, 0x74, 0x6f, 0x6e, 0x69, 0x63, 0x44, 0x6e, 0x73, 0x50, 0x61, + 0x63, 0x6b, 0x65, 0x74, 0x73, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x65, 0x64, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x03, 0x52, 0x1c, 0x6d, 0x6f, 0x6e, 0x6f, 0x74, 0x6f, 0x6e, 0x69, 0x63, 0x44, + 0x6e, 0x73, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x73, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, + 0x65, 0x64, 0x12, 0x32, 0x0a, 0x14, 0x6d, 0x6f, 0x6e, 0x6f, 0x74, 0x6f, 0x6e, 0x69, 0x63, 0x43, + 0x6f, 0x6e, 0x6e, 0x73, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x14, 0x6d, 0x6f, 0x6e, 0x6f, 0x74, 0x6f, 0x6e, 0x69, 0x63, 0x43, 0x6f, 0x6e, 0x6e, 0x73, + 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x64, 0x12, 0x28, 0x0a, 0x0f, 0x63, 0x6f, 0x6e, 0x6e, 0x73, 0x42, + 0x70, 0x66, 0x4d, 0x61, 0x70, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x0f, 0x63, 0x6f, 0x6e, 0x6e, 0x73, 0x42, 0x70, 0x66, 0x4d, 0x61, 0x70, 0x53, 0x69, 0x7a, 0x65, + 0x12, 0x3e, 0x0a, 0x1a, 0x6d, 0x6f, 0x6e, 0x6f, 0x74, 0x6f, 0x6e, 0x69, 0x63, 0x55, 0x64, 0x70, + 0x53, 0x65, 0x6e, 0x64, 0x73, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x65, 0x64, 0x18, 0x08, + 0x20, 0x01, 0x28, 0x03, 0x52, 0x1a, 0x6d, 0x6f, 0x6e, 0x6f, 0x74, 0x6f, 0x6e, 0x69, 0x63, 0x55, + 0x64, 0x70, 0x53, 0x65, 0x6e, 0x64, 0x73, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x65, 0x64, + 0x12, 0x38, 0x0a, 0x17, 0x6d, 0x6f, 0x6e, 0x6f, 0x74, 0x6f, 0x6e, 0x69, 0x63, 0x55, 0x64, 0x70, + 0x53, 0x65, 0x6e, 0x64, 0x73, 0x4d, 0x69, 0x73, 0x73, 0x65, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x17, 0x6d, 0x6f, 0x6e, 0x6f, 0x74, 0x6f, 0x6e, 0x69, 0x63, 0x55, 0x64, 0x70, 0x53, + 0x65, 0x6e, 0x64, 0x73, 0x4d, 0x69, 0x73, 0x73, 0x65, 0x64, 0x12, 0x3a, 0x0a, 0x18, 0x63, 0x6f, + 0x6e, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x6b, 0x53, 0x61, 0x6d, 0x70, 0x6c, 0x69, 0x6e, 0x67, 0x50, + 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x03, 0x52, 0x18, 0x63, 0x6f, + 0x6e, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x6b, 0x53, 0x61, 0x6d, 0x70, 0x6c, 0x69, 0x6e, 0x67, 0x50, + 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x12, 0x28, 0x0a, 0x0f, 0x64, 0x6e, 0x73, 0x53, 0x74, 0x61, + 0x74, 0x73, 0x44, 0x72, 0x6f, 0x70, 0x70, 0x65, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x0f, 0x64, 0x6e, 0x73, 0x53, 0x74, 0x61, 0x74, 0x73, 0x44, 0x72, 0x6f, 0x70, 0x70, 0x65, 0x64, + 0x22, 0x99, 0x04, 0x0a, 0x1d, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x43, 0x6f, + 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x54, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, + 0x72, 0x79, 0x12, 0x2a, 0x0a, 0x10, 0x6b, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x73, 0x54, 0x72, 0x69, + 0x67, 0x67, 0x65, 0x72, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x10, 0x6b, 0x70, + 0x72, 0x6f, 0x62, 0x65, 0x73, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x65, 0x64, 0x12, 0x24, + 0x0a, 0x0d, 0x6b, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x73, 0x4d, 0x69, 0x73, 0x73, 0x65, 0x64, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x6b, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x73, 0x4d, 0x69, + 0x73, 0x73, 0x65, 0x64, 0x12, 0x2e, 0x0a, 0x12, 0x63, 0x6f, 0x6e, 0x6e, 0x74, 0x72, 0x61, 0x63, + 0x6b, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x12, 0x63, 0x6f, 0x6e, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x67, 0x69, 0x73, + 0x74, 0x65, 0x72, 0x73, 0x12, 0x3c, 0x0a, 0x19, 0x63, 0x6f, 0x6e, 0x6e, 0x74, 0x72, 0x61, 0x63, + 0x6b, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x73, 0x44, 0x72, 0x6f, 0x70, 0x70, 0x65, + 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x19, 0x63, 0x6f, 0x6e, 0x6e, 0x74, 0x72, 0x61, + 0x63, 0x6b, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x73, 0x44, 0x72, 0x6f, 0x70, 0x70, + 0x65, 0x64, 0x12, 0x30, 0x0a, 0x13, 0x64, 0x6e, 0x73, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x73, + 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x13, 0x64, 0x6e, 0x73, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x73, 0x50, 0x72, 0x6f, 0x63, 0x65, + 0x73, 0x73, 0x65, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x6e, 0x73, 0x43, 0x6c, 0x6f, + 0x73, 0x65, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x6e, 0x73, + 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x64, 0x12, 0x28, 0x0a, 0x0f, 0x63, 0x6f, 0x6e, 0x6e, 0x73, 0x42, + 0x70, 0x66, 0x4d, 0x61, 0x70, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x0f, 0x63, 0x6f, 0x6e, 0x6e, 0x73, 0x42, 0x70, 0x66, 0x4d, 0x61, 0x70, 0x53, 0x69, 0x7a, 0x65, + 0x12, 0x2c, 0x0a, 0x11, 0x75, 0x64, 0x70, 0x53, 0x65, 0x6e, 0x64, 0x73, 0x50, 0x72, 0x6f, 0x63, + 0x65, 0x73, 0x73, 0x65, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x11, 0x75, 0x64, 0x70, + 0x53, 0x65, 0x6e, 0x64, 0x73, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x65, 0x64, 0x12, 0x26, + 0x0a, 0x0e, 0x75, 0x64, 0x70, 0x53, 0x65, 0x6e, 0x64, 0x73, 0x4d, 0x69, 0x73, 0x73, 0x65, 0x64, + 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x75, 0x64, 0x70, 0x53, 0x65, 0x6e, 0x64, 0x73, + 0x4d, 0x69, 0x73, 0x73, 0x65, 0x64, 0x12, 0x3a, 0x0a, 0x18, 0x63, 0x6f, 0x6e, 0x6e, 0x74, 0x72, + 0x61, 0x63, 0x6b, 0x53, 0x61, 0x6d, 0x70, 0x6c, 0x69, 0x6e, 0x67, 0x50, 0x65, 0x72, 0x63, 0x65, + 0x6e, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x03, 0x52, 0x18, 0x63, 0x6f, 0x6e, 0x6e, 0x74, 0x72, + 0x61, 0x63, 0x6b, 0x53, 0x61, 0x6d, 0x70, 0x6c, 0x69, 0x6e, 0x67, 0x50, 0x65, 0x72, 0x63, 0x65, + 0x6e, 0x74, 0x12, 0x28, 0x0a, 0x0f, 0x64, 0x6e, 0x73, 0x53, 0x74, 0x61, 0x74, 0x73, 0x44, 0x72, + 0x6f, 0x70, 0x70, 0x65, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0f, 0x64, 0x6e, 0x73, + 0x53, 0x74, 0x61, 0x74, 0x73, 0x44, 0x72, 0x6f, 0x70, 0x70, 0x65, 0x64, 0x22, 0xf2, 0x02, 0x0a, + 0x1b, 0x52, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x43, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x54, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x12, 0x3c, 0x0a, 0x19, + 0x72, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x43, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x19, 0x72, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x43, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x6b, 0x0a, 0x18, 0x72, 0x75, + 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x43, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2f, 0x2e, 0x64, + 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, + 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x52, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x43, 0x6f, 0x6d, 0x70, + 0x69, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x18, 0x72, + 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x43, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x3e, 0x0a, 0x1a, 0x72, 0x75, 0x6e, 0x74, 0x69, + 0x6d, 0x65, 0x43, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x75, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x1a, 0x72, 0x75, 0x6e, + 0x74, 0x69, 0x6d, 0x65, 0x43, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, + 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x68, 0x0a, 0x17, 0x6b, 0x65, 0x72, 0x6e, 0x65, + 0x6c, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x46, 0x65, 0x74, 0x63, 0x68, 0x52, 0x65, 0x73, 0x75, + 0x6c, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2e, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, + 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, + 0x2e, 0x4b, 0x65, 0x72, 0x6e, 0x65, 0x6c, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x46, 0x65, 0x74, + 0x63, 0x68, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x17, 0x6b, 0x65, 0x72, 0x6e, 0x65, 0x6c, + 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x46, 0x65, 0x74, 0x63, 0x68, 0x52, 0x65, 0x73, 0x75, 0x6c, + 0x74, 0x22, 0xb4, 0x01, 0x0a, 0x12, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, + 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1e, 0x0a, 0x0a, 0x6e, 0x70, 0x6d, 0x45, + 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x6e, 0x70, + 0x6d, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x75, 0x73, 0x6d, 0x45, + 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x75, 0x73, + 0x6d, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x64, 0x73, 0x6d, 0x45, + 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x64, 0x73, + 0x6d, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x63, 0x6d, 0x45, + 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x63, 0x63, + 0x6d, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x73, 0x6d, 0x45, + 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x63, 0x73, + 0x6d, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x22, 0x3e, 0x0a, 0x05, 0x52, 0x6f, 0x75, 0x74, + 0x65, 0x12, 0x35, 0x0a, 0x06, 0x73, 0x75, 0x62, 0x6e, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1d, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, + 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x53, 0x75, 0x62, 0x6e, 0x65, 0x74, + 0x52, 0x06, 0x73, 0x75, 0x62, 0x6e, 0x65, 0x74, 0x22, 0x1e, 0x0a, 0x06, 0x53, 0x75, 0x62, 0x6e, + 0x65, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x05, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x22, 0x79, 0x0a, 0x0d, 0x52, 0x6f, 0x75, 0x74, + 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x6c, 0x69, + 0x61, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x12, + 0x1a, 0x0a, 0x08, 0x74, 0x61, 0x67, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x08, 0x74, 0x61, 0x67, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x22, 0x0a, 0x0c, 0x74, + 0x61, 0x67, 0x73, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x0c, 0x74, 0x61, 0x67, 0x73, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x64, 0x12, + 0x12, 0x0a, 0x04, 0x74, 0x61, 0x67, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x74, + 0x61, 0x67, 0x73, 0x22, 0x8f, 0x01, 0x0a, 0x0d, 0x49, 0x50, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x6c, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1c, 0x0a, 0x09, 0x72, 0x65, 0x70, 0x6c, 0x53, 0x72, 0x63, + 0x49, 0x50, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x70, 0x6c, 0x53, 0x72, + 0x63, 0x49, 0x50, 0x12, 0x1c, 0x0a, 0x09, 0x72, 0x65, 0x70, 0x6c, 0x44, 0x73, 0x74, 0x49, 0x50, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x70, 0x6c, 0x44, 0x73, 0x74, 0x49, + 0x50, 0x12, 0x20, 0x0a, 0x0b, 0x72, 0x65, 0x70, 0x6c, 0x53, 0x72, 0x63, 0x50, 0x6f, 0x72, 0x74, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x72, 0x65, 0x70, 0x6c, 0x53, 0x72, 0x63, 0x50, + 0x6f, 0x72, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x72, 0x65, 0x70, 0x6c, 0x44, 0x73, 0x74, 0x50, 0x6f, + 0x72, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x72, 0x65, 0x70, 0x6c, 0x44, 0x73, + 0x74, 0x50, 0x6f, 0x72, 0x74, 0x22, 0x7a, 0x0a, 0x04, 0x41, 0x64, 0x64, 0x72, 0x12, 0x0e, 0x0a, + 0x02, 0x69, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x70, 0x12, 0x12, 0x0a, + 0x04, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x70, 0x6f, 0x72, + 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x49, 0x64, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, + 0x72, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x18, + 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x4a, + 0x04, 0x08, 0x01, 0x10, 0x02, 0x4a, 0x04, 0x08, 0x04, 0x10, 0x05, 0x4a, 0x04, 0x08, 0x06, 0x10, + 0x07, 0x22, 0x4e, 0x0a, 0x0d, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x53, 0x74, 0x61, + 0x63, 0x6b, 0x12, 0x3d, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x03, 0x28, + 0x0e, 0x32, 0x23, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, + 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x42, 0x02, 0x10, 0x00, 0x52, 0x05, 0x73, 0x74, 0x61, 0x63, + 0x6b, 0x22, 0x20, 0x0a, 0x08, 0x44, 0x4e, 0x53, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x14, 0x0a, + 0x05, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x6e, 0x61, + 0x6d, 0x65, 0x73, 0x22, 0xb8, 0x02, 0x0a, 0x08, 0x44, 0x4e, 0x53, 0x53, 0x74, 0x61, 0x74, 0x73, + 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x6e, 0x73, 0x54, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x73, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x64, 0x6e, 0x73, 0x54, 0x69, 0x6d, 0x65, 0x6f, 0x75, + 0x74, 0x73, 0x12, 0x32, 0x0a, 0x14, 0x64, 0x6e, 0x73, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, + 0x4c, 0x61, 0x74, 0x65, 0x6e, 0x63, 0x79, 0x53, 0x75, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, + 0x52, 0x14, 0x64, 0x6e, 0x73, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x4c, 0x61, 0x74, 0x65, + 0x6e, 0x63, 0x79, 0x53, 0x75, 0x6d, 0x12, 0x32, 0x0a, 0x14, 0x64, 0x6e, 0x73, 0x46, 0x61, 0x69, + 0x6c, 0x75, 0x72, 0x65, 0x4c, 0x61, 0x74, 0x65, 0x6e, 0x63, 0x79, 0x53, 0x75, 0x6d, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x04, 0x52, 0x14, 0x64, 0x6e, 0x73, 0x46, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, + 0x4c, 0x61, 0x74, 0x65, 0x6e, 0x63, 0x79, 0x53, 0x75, 0x6d, 0x12, 0x5e, 0x0a, 0x0f, 0x64, 0x6e, + 0x73, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x79, 0x52, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x04, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, + 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x44, 0x4e, 0x53, 0x53, + 0x74, 0x61, 0x74, 0x73, 0x2e, 0x44, 0x6e, 0x73, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x79, 0x52, + 0x63, 0x6f, 0x64, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0f, 0x64, 0x6e, 0x73, 0x43, 0x6f, + 0x75, 0x6e, 0x74, 0x42, 0x79, 0x52, 0x63, 0x6f, 0x64, 0x65, 0x1a, 0x42, 0x0a, 0x14, 0x44, 0x6e, + 0x73, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x79, 0x52, 0x63, 0x6f, 0x64, 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, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xf5, + 0x01, 0x0a, 0x13, 0x44, 0x4e, 0x53, 0x53, 0x74, 0x61, 0x74, 0x73, 0x42, 0x79, 0x51, 0x75, 0x65, + 0x72, 0x79, 0x54, 0x79, 0x70, 0x65, 0x12, 0x75, 0x0a, 0x13, 0x64, 0x6e, 0x73, 0x53, 0x74, 0x61, + 0x74, 0x73, 0x42, 0x79, 0x51, 0x75, 0x65, 0x72, 0x79, 0x54, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x43, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, + 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x44, 0x4e, 0x53, 0x53, + 0x74, 0x61, 0x74, 0x73, 0x42, 0x79, 0x51, 0x75, 0x65, 0x72, 0x79, 0x54, 0x79, 0x70, 0x65, 0x2e, + 0x44, 0x6e, 0x73, 0x53, 0x74, 0x61, 0x74, 0x73, 0x42, 0x79, 0x51, 0x75, 0x65, 0x72, 0x79, 0x54, + 0x79, 0x70, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x13, 0x64, 0x6e, 0x73, 0x53, 0x74, 0x61, + 0x74, 0x73, 0x42, 0x79, 0x51, 0x75, 0x65, 0x72, 0x79, 0x54, 0x79, 0x70, 0x65, 0x1a, 0x67, 0x0a, + 0x18, 0x44, 0x6e, 0x73, 0x53, 0x74, 0x61, 0x74, 0x73, 0x42, 0x79, 0x51, 0x75, 0x65, 0x72, 0x79, + 0x54, 0x79, 0x70, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x35, 0x0a, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x64, 0x61, 0x74, + 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, + 0x6e, 0x74, 0x2e, 0x44, 0x4e, 0x53, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x2a, 0x92, 0x02, 0x0a, 0x18, 0x52, 0x75, 0x6e, 0x74, 0x69, + 0x6d, 0x65, 0x43, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, + 0x75, 0x6c, 0x74, 0x12, 0x10, 0x0a, 0x0c, 0x4e, 0x6f, 0x74, 0x41, 0x74, 0x74, 0x65, 0x6d, 0x70, + 0x74, 0x65, 0x64, 0x10, 0x00, 0x12, 0x16, 0x0a, 0x12, 0x43, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x10, 0x01, 0x12, 0x14, 0x0a, + 0x10, 0x4b, 0x65, 0x72, 0x6e, 0x65, 0x6c, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x45, 0x72, + 0x72, 0x10, 0x02, 0x12, 0x15, 0x0a, 0x11, 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x10, 0x03, 0x12, 0x10, 0x0a, 0x0c, 0x4f, 0x75, + 0x74, 0x70, 0x75, 0x74, 0x44, 0x69, 0x72, 0x45, 0x72, 0x72, 0x10, 0x04, 0x12, 0x11, 0x0a, 0x0d, + 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x45, 0x72, 0x72, 0x10, 0x05, 0x12, + 0x12, 0x0a, 0x0e, 0x4e, 0x65, 0x77, 0x43, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x65, 0x72, 0x45, 0x72, + 0x72, 0x10, 0x06, 0x12, 0x12, 0x0a, 0x0e, 0x43, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x45, 0x72, 0x72, 0x10, 0x07, 0x12, 0x11, 0x0a, 0x0d, 0x52, 0x65, 0x73, 0x75, 0x6c, + 0x74, 0x52, 0x65, 0x61, 0x64, 0x45, 0x72, 0x72, 0x10, 0x08, 0x12, 0x12, 0x0a, 0x0e, 0x48, 0x65, + 0x61, 0x64, 0x65, 0x72, 0x46, 0x65, 0x74, 0x63, 0x68, 0x45, 0x72, 0x72, 0x10, 0x09, 0x12, 0x17, + 0x0a, 0x13, 0x43, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x65, 0x64, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, + 0x46, 0x6f, 0x75, 0x6e, 0x64, 0x10, 0x0a, 0x12, 0x12, 0x0a, 0x0e, 0x49, 0x6e, 0x70, 0x75, 0x74, + 0x48, 0x61, 0x73, 0x68, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x10, 0x0b, 0x2a, 0xa9, 0x02, 0x0a, 0x17, + 0x4b, 0x65, 0x72, 0x6e, 0x65, 0x6c, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x46, 0x65, 0x74, 0x63, + 0x68, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x15, 0x0a, 0x11, 0x46, 0x65, 0x74, 0x63, 0x68, + 0x4e, 0x6f, 0x74, 0x41, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x65, 0x64, 0x10, 0x00, 0x12, 0x16, + 0x0a, 0x12, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x46, + 0x6f, 0x75, 0x6e, 0x64, 0x10, 0x01, 0x12, 0x17, 0x0a, 0x13, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, + 0x74, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x46, 0x6f, 0x75, 0x6e, 0x64, 0x10, 0x02, 0x12, + 0x15, 0x0a, 0x11, 0x53, 0x79, 0x73, 0x66, 0x73, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x46, + 0x6f, 0x75, 0x6e, 0x64, 0x10, 0x03, 0x12, 0x1a, 0x0a, 0x16, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, + 0x61, 0x64, 0x65, 0x64, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x46, 0x6f, 0x75, 0x6e, 0x64, + 0x10, 0x04, 0x12, 0x13, 0x0a, 0x0f, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x53, 0x75, + 0x63, 0x63, 0x65, 0x73, 0x73, 0x10, 0x05, 0x12, 0x12, 0x0a, 0x0e, 0x48, 0x6f, 0x73, 0x74, 0x56, + 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x45, 0x72, 0x72, 0x10, 0x06, 0x12, 0x13, 0x0a, 0x0f, 0x44, + 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x46, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x10, 0x07, + 0x12, 0x15, 0x0a, 0x11, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x61, + 0x69, 0x6c, 0x75, 0x72, 0x65, 0x10, 0x08, 0x12, 0x19, 0x0a, 0x15, 0x52, 0x65, 0x70, 0x6f, 0x73, + 0x44, 0x69, 0x72, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x46, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, + 0x10, 0x09, 0x12, 0x23, 0x0a, 0x1f, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x4e, 0x6f, 0x74, + 0x46, 0x6f, 0x75, 0x6e, 0x64, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x44, 0x69, 0x73, + 0x61, 0x62, 0x6c, 0x65, 0x64, 0x10, 0x0a, 0x2a, 0x9a, 0x01, 0x0a, 0x0a, 0x43, 0x4f, 0x52, 0x45, + 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x14, 0x0a, 0x10, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, + 0x73, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x42, 0x54, 0x46, 0x10, 0x00, 0x12, 0x16, 0x0a, 0x12, + 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x45, 0x6d, 0x62, 0x65, 0x64, 0x64, 0x65, 0x64, 0x42, + 0x54, 0x46, 0x10, 0x01, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x44, + 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x42, 0x54, 0x46, 0x10, 0x02, 0x12, 0x0f, 0x0a, 0x0b, 0x42, + 0x74, 0x66, 0x4e, 0x6f, 0x74, 0x46, 0x6f, 0x75, 0x6e, 0x64, 0x10, 0x03, 0x12, 0x12, 0x0a, 0x0e, + 0x41, 0x73, 0x73, 0x65, 0x74, 0x52, 0x65, 0x61, 0x64, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x10, 0x04, + 0x12, 0x11, 0x0a, 0x0d, 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, 0x65, 0x72, 0x45, 0x72, 0x72, 0x6f, + 0x72, 0x10, 0x05, 0x12, 0x0f, 0x0a, 0x0b, 0x4c, 0x6f, 0x61, 0x64, 0x65, 0x72, 0x45, 0x72, 0x72, + 0x6f, 0x72, 0x10, 0x06, 0x2a, 0x22, 0x0a, 0x10, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x46, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x12, 0x06, 0x0a, 0x02, 0x76, 0x34, 0x10, 0x00, + 0x12, 0x06, 0x0a, 0x02, 0x76, 0x36, 0x10, 0x01, 0x2a, 0x57, 0x0a, 0x13, 0x43, 0x6f, 0x6e, 0x6e, + 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, + 0x0f, 0x0a, 0x0b, 0x75, 0x6e, 0x73, 0x70, 0x65, 0x63, 0x69, 0x66, 0x69, 0x65, 0x64, 0x10, 0x00, + 0x12, 0x0c, 0x0a, 0x08, 0x69, 0x6e, 0x63, 0x6f, 0x6d, 0x69, 0x6e, 0x67, 0x10, 0x01, 0x12, 0x0c, + 0x0a, 0x08, 0x6f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x10, 0x02, 0x12, 0x09, 0x0a, 0x05, + 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x10, 0x03, 0x12, 0x08, 0x0a, 0x04, 0x6e, 0x6f, 0x6e, 0x65, 0x10, + 0x04, 0x2a, 0x55, 0x0a, 0x12, 0x45, 0x70, 0x68, 0x65, 0x6d, 0x65, 0x72, 0x61, 0x6c, 0x50, 0x6f, + 0x72, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x18, 0x0a, 0x14, 0x65, 0x70, 0x68, 0x65, 0x6d, + 0x65, 0x72, 0x61, 0x6c, 0x55, 0x6e, 0x73, 0x70, 0x65, 0x63, 0x69, 0x66, 0x69, 0x65, 0x64, 0x10, + 0x00, 0x12, 0x11, 0x0a, 0x0d, 0x65, 0x70, 0x68, 0x65, 0x6d, 0x65, 0x72, 0x61, 0x6c, 0x54, 0x72, + 0x75, 0x65, 0x10, 0x01, 0x12, 0x12, 0x0a, 0x0e, 0x65, 0x70, 0x68, 0x65, 0x6d, 0x65, 0x72, 0x61, + 0x6c, 0x46, 0x61, 0x6c, 0x73, 0x65, 0x10, 0x02, 0x2a, 0xf9, 0x01, 0x0a, 0x0c, 0x50, 0x72, 0x6f, + 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x14, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x55, 0x6e, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x65, + 0x64, 0x10, 0x00, 0x12, 0x13, 0x0a, 0x0f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x55, + 0x6e, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x10, 0x01, 0x12, 0x10, 0x0a, 0x0c, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x48, 0x54, 0x54, 0x50, 0x10, 0x02, 0x12, 0x11, 0x0a, 0x0d, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x48, 0x54, 0x54, 0x50, 0x32, 0x10, 0x03, 0x12, 0x0f, 0x0a, + 0x0b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x54, 0x4c, 0x53, 0x10, 0x04, 0x12, 0x11, + 0x0a, 0x0d, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x4b, 0x61, 0x66, 0x6b, 0x61, 0x10, + 0x05, 0x12, 0x11, 0x0a, 0x0d, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x4d, 0x6f, 0x6e, + 0x67, 0x6f, 0x10, 0x06, 0x12, 0x14, 0x0a, 0x10, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x50, 0x6f, 0x73, 0x74, 0x67, 0x72, 0x65, 0x73, 0x10, 0x07, 0x12, 0x10, 0x0a, 0x0c, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x41, 0x4d, 0x51, 0x50, 0x10, 0x08, 0x12, 0x11, 0x0a, 0x0d, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x52, 0x65, 0x64, 0x69, 0x73, 0x10, 0x09, 0x12, + 0x11, 0x0a, 0x0d, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x4d, 0x79, 0x53, 0x51, 0x4c, + 0x10, 0x0a, 0x12, 0x10, 0x0a, 0x0c, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x47, 0x52, + 0x50, 0x43, 0x10, 0x0b, 0x42, 0x2d, 0x5a, 0x2b, 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, 0x70, 0x72, 0x6f, 0x63, + 0x65, 0x73, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( - ErrInvalidLengthConnections = fmt.Errorf("proto: negative length found during unmarshaling") - ErrIntOverflowConnections = fmt.Errorf("proto: integer overflow") - ErrUnexpectedEndOfGroupConnections = fmt.Errorf("proto: unexpected end of group") + file_proto_process_connections_proto_rawDescOnce sync.Once + file_proto_process_connections_proto_rawDescData = file_proto_process_connections_proto_rawDesc ) + +func file_proto_process_connections_proto_rawDescGZIP() []byte { + file_proto_process_connections_proto_rawDescOnce.Do(func() { + file_proto_process_connections_proto_rawDescData = protoimpl.X.CompressGZIP(file_proto_process_connections_proto_rawDescData) + }) + return file_proto_process_connections_proto_rawDescData +} + +var file_proto_process_connections_proto_enumTypes = make([]protoimpl.EnumInfo, 7) +var file_proto_process_connections_proto_msgTypes = make([]protoimpl.MessageInfo, 34) +var file_proto_process_connections_proto_goTypes = []interface{}{ + (RuntimeCompilationResult)(0), // 0: datadog.process_agent.RuntimeCompilationResult + (KernelHeaderFetchResult)(0), // 1: datadog.process_agent.KernelHeaderFetchResult + (COREResult)(0), // 2: datadog.process_agent.COREResult + (ConnectionFamily)(0), // 3: datadog.process_agent.ConnectionFamily + (ConnectionDirection)(0), // 4: datadog.process_agent.ConnectionDirection + (EphemeralPortState)(0), // 5: datadog.process_agent.EphemeralPortState + (ProtocolType)(0), // 6: datadog.process_agent.ProtocolType + (*CollectorConnections)(nil), // 7: datadog.process_agent.CollectorConnections + (*Connections)(nil), // 8: datadog.process_agent.Connections + (*Connection)(nil), // 9: datadog.process_agent.Connection + (*ResourceMetadata)(nil), // 10: datadog.process_agent.ResourceMetadata + (*ConnectionsTelemetry)(nil), // 11: datadog.process_agent.ConnectionsTelemetry + (*CollectorConnectionsTelemetry)(nil), // 12: datadog.process_agent.CollectorConnectionsTelemetry + (*RuntimeCompilationTelemetry)(nil), // 13: datadog.process_agent.RuntimeCompilationTelemetry + (*AgentConfiguration)(nil), // 14: datadog.process_agent.AgentConfiguration + (*Route)(nil), // 15: datadog.process_agent.Route + (*Subnet)(nil), // 16: datadog.process_agent.Subnet + (*RouteMetadata)(nil), // 17: datadog.process_agent.RouteMetadata + (*IPTranslation)(nil), // 18: datadog.process_agent.IPTranslation + (*Addr)(nil), // 19: datadog.process_agent.Addr + (*ProtocolStack)(nil), // 20: datadog.process_agent.ProtocolStack + (*DNSEntry)(nil), // 21: datadog.process_agent.DNSEntry + (*DNSStats)(nil), // 22: datadog.process_agent.DNSStats + (*DNSStatsByQueryType)(nil), // 23: datadog.process_agent.DNSStatsByQueryType + nil, // 24: datadog.process_agent.CollectorConnections.ResolvedResourcesEntry + nil, // 25: datadog.process_agent.CollectorConnections.ContainerForPidEntry + nil, // 26: datadog.process_agent.CollectorConnections.ConnTelemetryMapEntry + nil, // 27: datadog.process_agent.CollectorConnections.CompilationTelemetryByAssetEntry + nil, // 28: datadog.process_agent.CollectorConnections.CORETelemetryByAssetEntry + nil, // 29: datadog.process_agent.CollectorConnections.ResolvedHostsByNameEntry + nil, // 30: datadog.process_agent.Connections.DnsEntry + nil, // 31: datadog.process_agent.Connections.CompilationTelemetryByAssetEntry + nil, // 32: datadog.process_agent.Connections.ConnTelemetryMapEntry + nil, // 33: datadog.process_agent.Connections.CORETelemetryByAssetEntry + nil, // 34: datadog.process_agent.Connection.DnsCountByRcodeEntry + nil, // 35: datadog.process_agent.Connection.DnsStatsByDomainEntry + nil, // 36: datadog.process_agent.Connection.DnsStatsByDomainByQueryTypeEntry + nil, // 37: datadog.process_agent.Connection.DnsStatsByDomainOffsetByQueryTypeEntry + nil, // 38: datadog.process_agent.Connection.TcpFailuresByErrCodeEntry + nil, // 39: datadog.process_agent.DNSStats.DnsCountByRcodeEntry + nil, // 40: datadog.process_agent.DNSStatsByQueryType.DnsStatsByQueryTypeEntry + (ContainerHostType)(0), // 41: datadog.process_agent.ContainerHostType + (ConnectionType)(0), // 42: datadog.process_agent.ConnectionType + (*Host)(nil), // 43: datadog.process_agent.Host +} +var file_proto_process_connections_proto_depIdxs = []int32{ + 9, // 0: datadog.process_agent.CollectorConnections.connections:type_name -> datadog.process_agent.Connection + 24, // 1: datadog.process_agent.CollectorConnections.resolvedResources:type_name -> datadog.process_agent.CollectorConnections.ResolvedResourcesEntry + 25, // 2: datadog.process_agent.CollectorConnections.containerForPid:type_name -> datadog.process_agent.CollectorConnections.ContainerForPidEntry + 41, // 3: datadog.process_agent.CollectorConnections.containerHostType:type_name -> datadog.process_agent.ContainerHostType + 12, // 4: datadog.process_agent.CollectorConnections.connTelemetry:type_name -> datadog.process_agent.CollectorConnectionsTelemetry + 26, // 5: datadog.process_agent.CollectorConnections.connTelemetryMap:type_name -> datadog.process_agent.CollectorConnections.ConnTelemetryMapEntry + 27, // 6: datadog.process_agent.CollectorConnections.compilationTelemetryByAsset:type_name -> datadog.process_agent.CollectorConnections.CompilationTelemetryByAssetEntry + 1, // 7: datadog.process_agent.CollectorConnections.kernelHeaderFetchResult:type_name -> datadog.process_agent.KernelHeaderFetchResult + 28, // 8: datadog.process_agent.CollectorConnections.CORETelemetryByAsset:type_name -> datadog.process_agent.CollectorConnections.CORETelemetryByAssetEntry + 15, // 9: datadog.process_agent.CollectorConnections.routes:type_name -> datadog.process_agent.Route + 17, // 10: datadog.process_agent.CollectorConnections.routeMetadata:type_name -> datadog.process_agent.RouteMetadata + 14, // 11: datadog.process_agent.CollectorConnections.agentConfiguration:type_name -> datadog.process_agent.AgentConfiguration + 29, // 12: datadog.process_agent.CollectorConnections.resolvedHostsByName:type_name -> datadog.process_agent.CollectorConnections.ResolvedHostsByNameEntry + 9, // 13: datadog.process_agent.Connections.conns:type_name -> datadog.process_agent.Connection + 30, // 14: datadog.process_agent.Connections.dns:type_name -> datadog.process_agent.Connections.DnsEntry + 11, // 15: datadog.process_agent.Connections.connTelemetry:type_name -> datadog.process_agent.ConnectionsTelemetry + 15, // 16: datadog.process_agent.Connections.routes:type_name -> datadog.process_agent.Route + 31, // 17: datadog.process_agent.Connections.compilationTelemetryByAsset:type_name -> datadog.process_agent.Connections.CompilationTelemetryByAssetEntry + 14, // 18: datadog.process_agent.Connections.agentConfiguration:type_name -> datadog.process_agent.AgentConfiguration + 32, // 19: datadog.process_agent.Connections.connTelemetryMap:type_name -> datadog.process_agent.Connections.ConnTelemetryMapEntry + 1, // 20: datadog.process_agent.Connections.kernelHeaderFetchResult:type_name -> datadog.process_agent.KernelHeaderFetchResult + 33, // 21: datadog.process_agent.Connections.CORETelemetryByAsset:type_name -> datadog.process_agent.Connections.CORETelemetryByAssetEntry + 19, // 22: datadog.process_agent.Connection.laddr:type_name -> datadog.process_agent.Addr + 19, // 23: datadog.process_agent.Connection.raddr:type_name -> datadog.process_agent.Addr + 3, // 24: datadog.process_agent.Connection.family:type_name -> datadog.process_agent.ConnectionFamily + 42, // 25: datadog.process_agent.Connection.type:type_name -> datadog.process_agent.ConnectionType + 5, // 26: datadog.process_agent.Connection.isLocalPortEphemeral:type_name -> datadog.process_agent.EphemeralPortState + 4, // 27: datadog.process_agent.Connection.direction:type_name -> datadog.process_agent.ConnectionDirection + 20, // 28: datadog.process_agent.Connection.protocol:type_name -> datadog.process_agent.ProtocolStack + 18, // 29: datadog.process_agent.Connection.ipTranslation:type_name -> datadog.process_agent.IPTranslation + 34, // 30: datadog.process_agent.Connection.dnsCountByRcode:type_name -> datadog.process_agent.Connection.DnsCountByRcodeEntry + 35, // 31: datadog.process_agent.Connection.dnsStatsByDomain:type_name -> datadog.process_agent.Connection.DnsStatsByDomainEntry + 36, // 32: datadog.process_agent.Connection.dnsStatsByDomainByQueryType:type_name -> datadog.process_agent.Connection.DnsStatsByDomainByQueryTypeEntry + 37, // 33: datadog.process_agent.Connection.dnsStatsByDomainOffsetByQueryType:type_name -> datadog.process_agent.Connection.DnsStatsByDomainOffsetByQueryTypeEntry + 38, // 34: datadog.process_agent.Connection.tcpFailuresByErrCode:type_name -> datadog.process_agent.Connection.TcpFailuresByErrCodeEntry + 0, // 35: datadog.process_agent.RuntimeCompilationTelemetry.runtimeCompilationResult:type_name -> datadog.process_agent.RuntimeCompilationResult + 1, // 36: datadog.process_agent.RuntimeCompilationTelemetry.kernelHeaderFetchResult:type_name -> datadog.process_agent.KernelHeaderFetchResult + 16, // 37: datadog.process_agent.Route.subnet:type_name -> datadog.process_agent.Subnet + 6, // 38: datadog.process_agent.ProtocolStack.stack:type_name -> datadog.process_agent.ProtocolType + 39, // 39: datadog.process_agent.DNSStats.dnsCountByRcode:type_name -> datadog.process_agent.DNSStats.DnsCountByRcodeEntry + 40, // 40: datadog.process_agent.DNSStatsByQueryType.dnsStatsByQueryType:type_name -> datadog.process_agent.DNSStatsByQueryType.DnsStatsByQueryTypeEntry + 10, // 41: datadog.process_agent.CollectorConnections.ResolvedResourcesEntry.value:type_name -> datadog.process_agent.ResourceMetadata + 13, // 42: datadog.process_agent.CollectorConnections.CompilationTelemetryByAssetEntry.value:type_name -> datadog.process_agent.RuntimeCompilationTelemetry + 2, // 43: datadog.process_agent.CollectorConnections.CORETelemetryByAssetEntry.value:type_name -> datadog.process_agent.COREResult + 43, // 44: datadog.process_agent.CollectorConnections.ResolvedHostsByNameEntry.value:type_name -> datadog.process_agent.Host + 21, // 45: datadog.process_agent.Connections.DnsEntry.value:type_name -> datadog.process_agent.DNSEntry + 13, // 46: datadog.process_agent.Connections.CompilationTelemetryByAssetEntry.value:type_name -> datadog.process_agent.RuntimeCompilationTelemetry + 2, // 47: datadog.process_agent.Connections.CORETelemetryByAssetEntry.value:type_name -> datadog.process_agent.COREResult + 22, // 48: datadog.process_agent.Connection.DnsStatsByDomainEntry.value:type_name -> datadog.process_agent.DNSStats + 23, // 49: datadog.process_agent.Connection.DnsStatsByDomainByQueryTypeEntry.value:type_name -> datadog.process_agent.DNSStatsByQueryType + 23, // 50: datadog.process_agent.Connection.DnsStatsByDomainOffsetByQueryTypeEntry.value:type_name -> datadog.process_agent.DNSStatsByQueryType + 22, // 51: datadog.process_agent.DNSStatsByQueryType.DnsStatsByQueryTypeEntry.value:type_name -> datadog.process_agent.DNSStats + 52, // [52:52] is the sub-list for method output_type + 52, // [52:52] is the sub-list for method input_type + 52, // [52:52] is the sub-list for extension type_name + 52, // [52:52] is the sub-list for extension extendee + 0, // [0:52] is the sub-list for field type_name +} + +func init() { file_proto_process_connections_proto_init() } +func file_proto_process_connections_proto_init() { + if File_proto_process_connections_proto != nil { + return + } + file_proto_process_agent_proto_init() + if !protoimpl.UnsafeEnabled { + file_proto_process_connections_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CollectorConnections); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_connections_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Connections); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_connections_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Connection); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_connections_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ResourceMetadata); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_connections_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ConnectionsTelemetry); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_connections_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CollectorConnectionsTelemetry); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_connections_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RuntimeCompilationTelemetry); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_connections_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AgentConfiguration); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_connections_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Route); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_connections_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Subnet); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_connections_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RouteMetadata); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_connections_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IPTranslation); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_connections_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Addr); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_connections_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProtocolStack); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_connections_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DNSEntry); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_connections_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DNSStats); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_connections_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DNSStatsByQueryType); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_proto_process_connections_proto_rawDesc, + NumEnums: 7, + NumMessages: 34, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_proto_process_connections_proto_goTypes, + DependencyIndexes: file_proto_process_connections_proto_depIdxs, + EnumInfos: file_proto_process_connections_proto_enumTypes, + MessageInfos: file_proto_process_connections_proto_msgTypes, + }.Build() + File_proto_process_connections_proto = out.File + file_proto_process_connections_proto_rawDesc = nil + file_proto_process_connections_proto_goTypes = nil + file_proto_process_connections_proto_depIdxs = nil +} diff --git a/process/events.pb.go b/process/events.pb.go index 18a2878a..82cc2127 100644 --- a/process/events.pb.go +++ b/process/events.pb.go @@ -1,26 +1,24 @@ -// Code generated by protoc-gen-gogo. DO NOT EDIT. +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.34.1 +// protoc v3.21.12 // source: proto/process/events.proto package process import ( - fmt "fmt" - proto "github.com/gogo/protobuf/proto" - io "io" - math "math" - math_bits "math/bits" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) // ProcEventType is a type of process lifecycle event collected by the process-agent type ProcEventType int32 @@ -30,26 +28,51 @@ const ( ProcEventType_exit ProcEventType = 1 ) -var ProcEventType_name = map[int32]string{ - 0: "exec", - 1: "exit", -} +// Enum value maps for ProcEventType. +var ( + ProcEventType_name = map[int32]string{ + 0: "exec", + 1: "exit", + } + ProcEventType_value = map[string]int32{ + "exec": 0, + "exit": 1, + } +) -var ProcEventType_value = map[string]int32{ - "exec": 0, - "exit": 1, +func (x ProcEventType) Enum() *ProcEventType { + p := new(ProcEventType) + *p = x + return p } func (x ProcEventType) String() string { - return proto.EnumName(ProcEventType_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ProcEventType) Descriptor() protoreflect.EnumDescriptor { + return file_proto_process_events_proto_enumTypes[0].Descriptor() +} + +func (ProcEventType) Type() protoreflect.EnumType { + return &file_proto_process_events_proto_enumTypes[0] } +func (x ProcEventType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ProcEventType.Descriptor instead. func (ProcEventType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_640c5601f215fdd9, []int{0} + return file_proto_process_events_proto_rawDescGZIP(), []int{0} } // CollectorProcEvent is a payload used to send a batch of process lifecycle events type CollectorProcEvent struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Hostname string `protobuf:"bytes,1,opt,name=hostname,proto3" json:"hostname,omitempty"` Host *Host `protobuf:"bytes,2,opt,name=host,proto3" json:"host,omitempty"` Info *SystemInfo `protobuf:"bytes,3,opt,name=info,proto3" json:"info,omitempty"` @@ -58,1628 +81,529 @@ type CollectorProcEvent struct { GroupSize int32 `protobuf:"varint,6,opt,name=groupSize,proto3" json:"groupSize,omitempty"` } -func (m *CollectorProcEvent) Reset() { *m = CollectorProcEvent{} } -func (m *CollectorProcEvent) String() string { return proto.CompactTextString(m) } -func (*CollectorProcEvent) ProtoMessage() {} -func (*CollectorProcEvent) Descriptor() ([]byte, []int) { - return fileDescriptor_640c5601f215fdd9, []int{0} +func (x *CollectorProcEvent) Reset() { + *x = CollectorProcEvent{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_events_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CollectorProcEvent) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *CollectorProcEvent) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CollectorProcEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_CollectorProcEvent.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*CollectorProcEvent) ProtoMessage() {} + +func (x *CollectorProcEvent) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_events_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *CollectorProcEvent) XXX_Merge(src proto.Message) { - xxx_messageInfo_CollectorProcEvent.Merge(m, src) -} -func (m *CollectorProcEvent) XXX_Size() int { - return m.Size() -} -func (m *CollectorProcEvent) XXX_DiscardUnknown() { - xxx_messageInfo_CollectorProcEvent.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_CollectorProcEvent proto.InternalMessageInfo +// Deprecated: Use CollectorProcEvent.ProtoReflect.Descriptor instead. +func (*CollectorProcEvent) Descriptor() ([]byte, []int) { + return file_proto_process_events_proto_rawDescGZIP(), []int{0} +} -func (m *CollectorProcEvent) GetHostname() string { - if m != nil { - return m.Hostname +func (x *CollectorProcEvent) GetHostname() string { + if x != nil { + return x.Hostname } return "" } -func (m *CollectorProcEvent) GetHost() *Host { - if m != nil { - return m.Host +func (x *CollectorProcEvent) GetHost() *Host { + if x != nil { + return x.Host } return nil } -func (m *CollectorProcEvent) GetInfo() *SystemInfo { - if m != nil { - return m.Info +func (x *CollectorProcEvent) GetInfo() *SystemInfo { + if x != nil { + return x.Info } return nil } -func (m *CollectorProcEvent) GetEvents() []*ProcessEvent { - if m != nil { - return m.Events +func (x *CollectorProcEvent) GetEvents() []*ProcessEvent { + if x != nil { + return x.Events } return nil } -func (m *CollectorProcEvent) GetGroupId() int32 { - if m != nil { - return m.GroupId +func (x *CollectorProcEvent) GetGroupId() int32 { + if x != nil { + return x.GroupId } return 0 } -func (m *CollectorProcEvent) GetGroupSize() int32 { - if m != nil { - return m.GroupSize +func (x *CollectorProcEvent) GetGroupSize() int32 { + if x != nil { + return x.GroupSize } return 0 } // ProcessEvent holds information about a process lifeycle event type ProcessEvent struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Type ProcEventType `protobuf:"varint,1,opt,name=type,proto3,enum=datadog.process_agent.ProcEventType" json:"type,omitempty"` CollectionTime int64 `protobuf:"varint,2,opt,name=collectionTime,proto3" json:"collectionTime,omitempty"` Pid uint32 `protobuf:"varint,3,opt,name=pid,proto3" json:"pid,omitempty"` Command *Command `protobuf:"bytes,4,opt,name=command,proto3" json:"command,omitempty"` User *ProcessUser `protobuf:"bytes,5,opt,name=user,proto3" json:"user,omitempty"` - Host *Host `protobuf:"bytes,6,opt,name=host,proto3" json:"host,omitempty"` + Host *Host `protobuf:"bytes,6,opt,name=host,proto3" json:"host,omitempty"` // post-resolution ContainerId string `protobuf:"bytes,7,opt,name=containerId,proto3" json:"containerId,omitempty"` - // Types that are valid to be assigned to TypedEvent: + // Types that are assignable to TypedEvent: + // // *ProcessEvent_Exec // *ProcessEvent_Exit TypedEvent isProcessEvent_TypedEvent `protobuf_oneof:"typedEvent"` } -func (m *ProcessEvent) Reset() { *m = ProcessEvent{} } -func (m *ProcessEvent) String() string { return proto.CompactTextString(m) } -func (*ProcessEvent) ProtoMessage() {} -func (*ProcessEvent) Descriptor() ([]byte, []int) { - return fileDescriptor_640c5601f215fdd9, []int{1} -} -func (m *ProcessEvent) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ProcessEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ProcessEvent.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ProcessEvent) Reset() { + *x = ProcessEvent{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_events_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ProcessEvent) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProcessEvent.Merge(m, src) -} -func (m *ProcessEvent) XXX_Size() int { - return m.Size() -} -func (m *ProcessEvent) XXX_DiscardUnknown() { - xxx_messageInfo_ProcessEvent.DiscardUnknown(m) -} -var xxx_messageInfo_ProcessEvent proto.InternalMessageInfo - -type isProcessEvent_TypedEvent interface { - isProcessEvent_TypedEvent() - MarshalTo([]byte) (int, error) - Size() int +func (x *ProcessEvent) String() string { + return protoimpl.X.MessageStringOf(x) } -type ProcessEvent_Exec struct { - Exec *ProcessExec `protobuf:"bytes,8,opt,name=exec,proto3,oneof" json:"exec,omitempty"` -} -type ProcessEvent_Exit struct { - Exit *ProcessExit `protobuf:"bytes,9,opt,name=exit,proto3,oneof" json:"exit,omitempty"` -} +func (*ProcessEvent) ProtoMessage() {} -func (*ProcessEvent_Exec) isProcessEvent_TypedEvent() {} -func (*ProcessEvent_Exit) isProcessEvent_TypedEvent() {} - -func (m *ProcessEvent) GetTypedEvent() isProcessEvent_TypedEvent { - if m != nil { - return m.TypedEvent +func (x *ProcessEvent) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_events_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return nil + return mi.MessageOf(x) } -func (m *ProcessEvent) GetType() ProcEventType { - if m != nil { - return m.Type +// Deprecated: Use ProcessEvent.ProtoReflect.Descriptor instead. +func (*ProcessEvent) Descriptor() ([]byte, []int) { + return file_proto_process_events_proto_rawDescGZIP(), []int{1} +} + +func (x *ProcessEvent) GetType() ProcEventType { + if x != nil { + return x.Type } return ProcEventType_exec } -func (m *ProcessEvent) GetCollectionTime() int64 { - if m != nil { - return m.CollectionTime +func (x *ProcessEvent) GetCollectionTime() int64 { + if x != nil { + return x.CollectionTime } return 0 } -func (m *ProcessEvent) GetPid() uint32 { - if m != nil { - return m.Pid +func (x *ProcessEvent) GetPid() uint32 { + if x != nil { + return x.Pid } return 0 } -func (m *ProcessEvent) GetCommand() *Command { - if m != nil { - return m.Command +func (x *ProcessEvent) GetCommand() *Command { + if x != nil { + return x.Command } return nil } -func (m *ProcessEvent) GetUser() *ProcessUser { - if m != nil { - return m.User +func (x *ProcessEvent) GetUser() *ProcessUser { + if x != nil { + return x.User } return nil } -func (m *ProcessEvent) GetHost() *Host { - if m != nil { - return m.Host +func (x *ProcessEvent) GetHost() *Host { + if x != nil { + return x.Host } return nil } -func (m *ProcessEvent) GetContainerId() string { - if m != nil { - return m.ContainerId +func (x *ProcessEvent) GetContainerId() string { + if x != nil { + return x.ContainerId } return "" } -func (m *ProcessEvent) GetExec() *ProcessExec { - if x, ok := m.GetTypedEvent().(*ProcessEvent_Exec); ok { - return x.Exec +func (m *ProcessEvent) GetTypedEvent() isProcessEvent_TypedEvent { + if m != nil { + return m.TypedEvent } return nil } -func (m *ProcessEvent) GetExit() *ProcessExit { - if x, ok := m.GetTypedEvent().(*ProcessEvent_Exit); ok { - return x.Exit +func (x *ProcessEvent) GetExec() *ProcessExec { + if x, ok := x.GetTypedEvent().(*ProcessEvent_Exec); ok { + return x.Exec } return nil } -// XXX_OneofWrappers is for the internal use of the proto package. -func (*ProcessEvent) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*ProcessEvent_Exec)(nil), - (*ProcessEvent_Exit)(nil), - } -} - -// ProcessExec holds information specific to exec events -type ProcessExec struct { - ForkTime int64 `protobuf:"varint,1,opt,name=forkTime,proto3" json:"forkTime,omitempty"` - ExecTime int64 `protobuf:"varint,2,opt,name=execTime,proto3" json:"execTime,omitempty"` -} - -func (m *ProcessExec) Reset() { *m = ProcessExec{} } -func (m *ProcessExec) String() string { return proto.CompactTextString(m) } -func (*ProcessExec) ProtoMessage() {} -func (*ProcessExec) Descriptor() ([]byte, []int) { - return fileDescriptor_640c5601f215fdd9, []int{2} -} -func (m *ProcessExec) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ProcessExec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ProcessExec.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *ProcessExec) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProcessExec.Merge(m, src) -} -func (m *ProcessExec) XXX_Size() int { - return m.Size() -} -func (m *ProcessExec) XXX_DiscardUnknown() { - xxx_messageInfo_ProcessExec.DiscardUnknown(m) -} - -var xxx_messageInfo_ProcessExec proto.InternalMessageInfo - -func (m *ProcessExec) GetForkTime() int64 { - if m != nil { - return m.ForkTime - } - return 0 -} - -func (m *ProcessExec) GetExecTime() int64 { - if m != nil { - return m.ExecTime +func (x *ProcessEvent) GetExit() *ProcessExit { + if x, ok := x.GetTypedEvent().(*ProcessEvent_Exit); ok { + return x.Exit } - return 0 + return nil } -// ProcessExit holds information specific to exit events -type ProcessExit struct { - ExecTime int64 `protobuf:"varint,1,opt,name=execTime,proto3" json:"execTime,omitempty"` - ExitTime int64 `protobuf:"varint,2,opt,name=exitTime,proto3" json:"exitTime,omitempty"` - ExitCode int32 `protobuf:"varint,3,opt,name=exitCode,proto3" json:"exitCode,omitempty"` +type isProcessEvent_TypedEvent interface { + isProcessEvent_TypedEvent() } -func (m *ProcessExit) Reset() { *m = ProcessExit{} } -func (m *ProcessExit) String() string { return proto.CompactTextString(m) } -func (*ProcessExit) ProtoMessage() {} -func (*ProcessExit) Descriptor() ([]byte, []int) { - return fileDescriptor_640c5601f215fdd9, []int{3} -} -func (m *ProcessExit) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ProcessExit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ProcessExit.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *ProcessExit) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProcessExit.Merge(m, src) -} -func (m *ProcessExit) XXX_Size() int { - return m.Size() -} -func (m *ProcessExit) XXX_DiscardUnknown() { - xxx_messageInfo_ProcessExit.DiscardUnknown(m) +type ProcessEvent_Exec struct { + Exec *ProcessExec `protobuf:"bytes,8,opt,name=exec,proto3,oneof"` } -var xxx_messageInfo_ProcessExit proto.InternalMessageInfo - -func (m *ProcessExit) GetExecTime() int64 { - if m != nil { - return m.ExecTime - } - return 0 +type ProcessEvent_Exit struct { + Exit *ProcessExit `protobuf:"bytes,9,opt,name=exit,proto3,oneof"` } -func (m *ProcessExit) GetExitTime() int64 { - if m != nil { - return m.ExitTime - } - return 0 -} +func (*ProcessEvent_Exec) isProcessEvent_TypedEvent() {} -func (m *ProcessExit) GetExitCode() int32 { - if m != nil { - return m.ExitCode - } - return 0 -} +func (*ProcessEvent_Exit) isProcessEvent_TypedEvent() {} -func init() { - proto.RegisterEnum("datadog.process_agent.ProcEventType", ProcEventType_name, ProcEventType_value) - proto.RegisterType((*CollectorProcEvent)(nil), "datadog.process_agent.CollectorProcEvent") - proto.RegisterType((*ProcessEvent)(nil), "datadog.process_agent.ProcessEvent") - proto.RegisterType((*ProcessExec)(nil), "datadog.process_agent.ProcessExec") - proto.RegisterType((*ProcessExit)(nil), "datadog.process_agent.ProcessExit") -} +// ProcessExec holds information specific to exec events +type ProcessExec struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func init() { proto.RegisterFile("proto/process/events.proto", fileDescriptor_640c5601f215fdd9) } - -var fileDescriptor_640c5601f215fdd9 = []byte{ - // 523 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x53, 0x5d, 0x6b, 0xdb, 0x30, - 0x14, 0x8d, 0x1a, 0xe7, 0x4b, 0x69, 0x4b, 0x10, 0x0c, 0xb4, 0x6c, 0x98, 0x2c, 0x1d, 0x23, 0x6c, - 0x2c, 0x81, 0x8c, 0x8e, 0xc2, 0xde, 0x9a, 0x06, 0x9a, 0xb7, 0xa2, 0x76, 0x2f, 0x7b, 0x19, 0xaa, - 0xad, 0xa4, 0x62, 0xb1, 0xaf, 0xb1, 0x95, 0xd2, 0xec, 0x3f, 0x0c, 0xf6, 0xb3, 0xb6, 0xb7, 0x3e, - 0xee, 0x71, 0x24, 0x7f, 0x64, 0xf8, 0xaa, 0xf1, 0xec, 0xb1, 0x94, 0xbc, 0xe9, 0xdc, 0x7b, 0xce, - 0x95, 0x74, 0x8e, 0x44, 0xdb, 0x51, 0x0c, 0x06, 0x06, 0x51, 0x0c, 0x9e, 0x4a, 0x92, 0x81, 0xba, - 0x55, 0xa1, 0x49, 0xfa, 0x58, 0x64, 0x4f, 0x7c, 0x69, 0xa4, 0x0f, 0xb3, 0xfe, 0x43, 0xf7, 0xb3, - 0x9c, 0xa9, 0xd0, 0xb4, 0x9f, 0x16, 0x25, 0x58, 0xb4, 0x8a, 0xee, 0xb7, 0x3d, 0xca, 0x46, 0x30, - 0x9f, 0x2b, 0xcf, 0x40, 0x7c, 0x11, 0x83, 0x37, 0x4e, 0xe7, 0xb1, 0x36, 0xad, 0xdf, 0x40, 0x62, - 0x42, 0x19, 0x28, 0x4e, 0x3a, 0xa4, 0xd7, 0x10, 0x19, 0x66, 0x03, 0xea, 0xa4, 0x6b, 0xbe, 0xd7, - 0x21, 0xbd, 0xe6, 0xf0, 0x59, 0xff, 0xbf, 0x7b, 0xf6, 0xcf, 0x21, 0x31, 0x02, 0x89, 0xec, 0x98, - 0x3a, 0x3a, 0x9c, 0x02, 0x2f, 0xa3, 0xe0, 0xc5, 0x16, 0xc1, 0xe5, 0x32, 0x31, 0x2a, 0x98, 0x84, - 0x53, 0x10, 0x48, 0x67, 0x1f, 0x68, 0xd5, 0x5e, 0x8e, 0x3b, 0x9d, 0x72, 0xaf, 0x39, 0x3c, 0xda, - 0x22, 0xbc, 0xb0, 0x08, 0x0f, 0x2e, 0x1e, 0x24, 0x8c, 0xd3, 0xda, 0x2c, 0x86, 0x45, 0x34, 0xf1, - 0x79, 0xa5, 0x43, 0x7a, 0x15, 0xb1, 0x81, 0xec, 0x39, 0x6d, 0xe0, 0xf2, 0x52, 0x7f, 0x55, 0xbc, - 0x8a, 0xbd, 0xbf, 0x85, 0xee, 0xcf, 0x32, 0xdd, 0xcf, 0x0f, 0x64, 0x27, 0xd4, 0x31, 0xcb, 0xc8, - 0xba, 0x70, 0x38, 0x7c, 0xf9, 0xc8, 0x19, 0x90, 0x7f, 0xb5, 0x8c, 0x94, 0x40, 0x05, 0x7b, 0x45, - 0x0f, 0x3d, 0xeb, 0xac, 0x86, 0xf0, 0x4a, 0x07, 0x0a, 0x1d, 0x2b, 0x8b, 0x7f, 0xaa, 0xac, 0x45, - 0xcb, 0x91, 0xf6, 0xd1, 0x9d, 0x03, 0x91, 0x2e, 0xd9, 0x09, 0xad, 0x79, 0x10, 0x04, 0x32, 0xf4, - 0xb9, 0x83, 0x9e, 0xb9, 0x5b, 0xb6, 0x1d, 0x59, 0x96, 0xd8, 0xd0, 0xd9, 0x7b, 0xea, 0x2c, 0x12, - 0x15, 0xe3, 0x9d, 0x9b, 0xc3, 0xee, 0xe3, 0x8e, 0x7d, 0x4c, 0x54, 0x2c, 0x90, 0x9f, 0x65, 0x5a, - 0xdd, 0x35, 0xd3, 0x0e, 0x6d, 0x7a, 0x10, 0x1a, 0xa9, 0x43, 0x15, 0x4f, 0x7c, 0x5e, 0xc3, 0x37, - 0x92, 0x2f, 0xa5, 0xc6, 0xa9, 0x3b, 0xe5, 0xf1, 0xfa, 0x2e, 0x47, 0x19, 0xdf, 0x29, 0xef, 0xbc, - 0x24, 0x50, 0x61, 0x95, 0xda, 0xf0, 0xc6, 0x6e, 0x4a, 0x6d, 0xac, 0x52, 0x9b, 0xd3, 0x7d, 0x4a, - 0x53, 0xeb, 0x7d, 0x8c, 0xa2, 0x3b, 0xa6, 0xcd, 0xdc, 0xf8, 0xf4, 0x4d, 0x4f, 0x21, 0xfe, 0x82, - 0x49, 0x10, 0x4c, 0x22, 0xc3, 0x69, 0x2f, 0xdd, 0x3a, 0x97, 0x52, 0x86, 0xbb, 0x32, 0x37, 0x46, - 0x9b, 0x02, 0x95, 0x14, 0xa9, 0xb6, 0xa7, 0x4d, 0x71, 0x8c, 0xc5, 0x9b, 0xde, 0x08, 0x7c, 0x85, - 0x59, 0x57, 0x44, 0x86, 0x5f, 0x1f, 0xd1, 0x83, 0xc2, 0x0b, 0x62, 0x75, 0x6b, 0x5e, 0xab, 0x64, - 0x57, 0xda, 0xb4, 0xc8, 0xe9, 0xf8, 0xc7, 0xca, 0x25, 0xf7, 0x2b, 0x97, 0xfc, 0x5e, 0xb9, 0xe4, - 0xfb, 0xda, 0x2d, 0xdd, 0xaf, 0xdd, 0xd2, 0xaf, 0xb5, 0x5b, 0xfa, 0xf4, 0x66, 0xa6, 0xcd, 0xcd, - 0xe2, 0xba, 0xef, 0x41, 0x30, 0x38, 0x93, 0x46, 0x9e, 0xc1, 0xcc, 0x7e, 0xf2, 0xb7, 0x91, 0x5c, - 0xce, 0x41, 0xfa, 0x83, 0xdb, 0xe3, 0xcd, 0xef, 0xbf, 0xae, 0xe2, 0xc7, 0x7f, 0xf7, 0x27, 0x00, - 0x00, 0xff, 0xff, 0x7b, 0x46, 0x58, 0xbc, 0x48, 0x04, 0x00, 0x00, + ForkTime int64 `protobuf:"varint,1,opt,name=forkTime,proto3" json:"forkTime,omitempty"` + ExecTime int64 `protobuf:"varint,2,opt,name=execTime,proto3" json:"execTime,omitempty"` } -func (m *CollectorProcEvent) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err +func (x *ProcessExec) Reset() { + *x = ProcessExec{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_events_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return dAtA[:n], nil } -func (m *CollectorProcEvent) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func (x *ProcessExec) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CollectorProcEvent) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.GroupSize != 0 { - i = encodeVarintEvents(dAtA, i, uint64(m.GroupSize)) - i-- - dAtA[i] = 0x30 - } - if m.GroupId != 0 { - i = encodeVarintEvents(dAtA, i, uint64(m.GroupId)) - i-- - dAtA[i] = 0x28 - } - if len(m.Events) > 0 { - for iNdEx := len(m.Events) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Events[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintEvents(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x22 - } - } - if m.Info != nil { - { - size, err := m.Info.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintEvents(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - if m.Host != nil { - { - size, err := m.Host.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintEvents(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - if len(m.Hostname) > 0 { - i -= len(m.Hostname) - copy(dAtA[i:], m.Hostname) - i = encodeVarintEvents(dAtA, i, uint64(len(m.Hostname))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *ProcessEvent) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ProcessEvent) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} +func (*ProcessExec) ProtoMessage() {} -func (m *ProcessEvent) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.TypedEvent != nil { - { - size := m.TypedEvent.Size() - i -= size - if _, err := m.TypedEvent.MarshalTo(dAtA[i:]); err != nil { - return 0, err - } - } - } - if len(m.ContainerId) > 0 { - i -= len(m.ContainerId) - copy(dAtA[i:], m.ContainerId) - i = encodeVarintEvents(dAtA, i, uint64(len(m.ContainerId))) - i-- - dAtA[i] = 0x3a - } - if m.Host != nil { - { - size, err := m.Host.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintEvents(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x32 - } - if m.User != nil { - { - size, err := m.User.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintEvents(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x2a - } - if m.Command != nil { - { - size, err := m.Command.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintEvents(dAtA, i, uint64(size)) +func (x *ProcessExec) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_events_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - i-- - dAtA[i] = 0x22 - } - if m.Pid != 0 { - i = encodeVarintEvents(dAtA, i, uint64(m.Pid)) - i-- - dAtA[i] = 0x18 + return ms } - if m.CollectionTime != 0 { - i = encodeVarintEvents(dAtA, i, uint64(m.CollectionTime)) - i-- - dAtA[i] = 0x10 - } - if m.Type != 0 { - i = encodeVarintEvents(dAtA, i, uint64(m.Type)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil + return mi.MessageOf(x) } -func (m *ProcessEvent_Exec) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +// Deprecated: Use ProcessExec.ProtoReflect.Descriptor instead. +func (*ProcessExec) Descriptor() ([]byte, []int) { + return file_proto_process_events_proto_rawDescGZIP(), []int{2} } -func (m *ProcessEvent_Exec) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - if m.Exec != nil { - { - size, err := m.Exec.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintEvents(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x42 +func (x *ProcessExec) GetForkTime() int64 { + if x != nil { + return x.ForkTime } - return len(dAtA) - i, nil -} -func (m *ProcessEvent_Exit) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) + return 0 } -func (m *ProcessEvent_Exit) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - if m.Exit != nil { - { - size, err := m.Exit.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintEvents(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x4a +func (x *ProcessExec) GetExecTime() int64 { + if x != nil { + return x.ExecTime } - return len(dAtA) - i, nil -} -func (m *ProcessExec) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil + return 0 } -func (m *ProcessExec) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} +// ProcessExit holds information specific to exit events +type ProcessExit struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *ProcessExec) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.ExecTime != 0 { - i = encodeVarintEvents(dAtA, i, uint64(m.ExecTime)) - i-- - dAtA[i] = 0x10 - } - if m.ForkTime != 0 { - i = encodeVarintEvents(dAtA, i, uint64(m.ForkTime)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil + ExecTime int64 `protobuf:"varint,1,opt,name=execTime,proto3" json:"execTime,omitempty"` + ExitTime int64 `protobuf:"varint,2,opt,name=exitTime,proto3" json:"exitTime,omitempty"` + ExitCode int32 `protobuf:"varint,3,opt,name=exitCode,proto3" json:"exitCode,omitempty"` } -func (m *ProcessExit) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err +func (x *ProcessExit) Reset() { + *x = ProcessExit{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_process_events_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return dAtA[:n], nil } -func (m *ProcessExit) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func (x *ProcessExit) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ProcessExit) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.ExitCode != 0 { - i = encodeVarintEvents(dAtA, i, uint64(m.ExitCode)) - i-- - dAtA[i] = 0x18 - } - if m.ExitTime != 0 { - i = encodeVarintEvents(dAtA, i, uint64(m.ExitTime)) - i-- - dAtA[i] = 0x10 - } - if m.ExecTime != 0 { - i = encodeVarintEvents(dAtA, i, uint64(m.ExecTime)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} +func (*ProcessExit) ProtoMessage() {} -func encodeVarintEvents(dAtA []byte, offset int, v uint64) int { - offset -= sovEvents(v) - base := offset - for v >= 1<<7 { - dAtA[offset] = uint8(v&0x7f | 0x80) - v >>= 7 - offset++ - } - dAtA[offset] = uint8(v) - return base -} -func (m *CollectorProcEvent) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Hostname) - if l > 0 { - n += 1 + l + sovEvents(uint64(l)) - } - if m.Host != nil { - l = m.Host.Size() - n += 1 + l + sovEvents(uint64(l)) - } - if m.Info != nil { - l = m.Info.Size() - n += 1 + l + sovEvents(uint64(l)) - } - if len(m.Events) > 0 { - for _, e := range m.Events { - l = e.Size() - n += 1 + l + sovEvents(uint64(l)) +func (x *ProcessExit) ProtoReflect() protoreflect.Message { + mi := &file_proto_process_events_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } + return ms } - if m.GroupId != 0 { - n += 1 + sovEvents(uint64(m.GroupId)) - } - if m.GroupSize != 0 { - n += 1 + sovEvents(uint64(m.GroupSize)) - } - return n + return mi.MessageOf(x) } -func (m *ProcessEvent) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Type != 0 { - n += 1 + sovEvents(uint64(m.Type)) - } - if m.CollectionTime != 0 { - n += 1 + sovEvents(uint64(m.CollectionTime)) - } - if m.Pid != 0 { - n += 1 + sovEvents(uint64(m.Pid)) - } - if m.Command != nil { - l = m.Command.Size() - n += 1 + l + sovEvents(uint64(l)) - } - if m.User != nil { - l = m.User.Size() - n += 1 + l + sovEvents(uint64(l)) - } - if m.Host != nil { - l = m.Host.Size() - n += 1 + l + sovEvents(uint64(l)) - } - l = len(m.ContainerId) - if l > 0 { - n += 1 + l + sovEvents(uint64(l)) - } - if m.TypedEvent != nil { - n += m.TypedEvent.Size() - } - return n +// Deprecated: Use ProcessExit.ProtoReflect.Descriptor instead. +func (*ProcessExit) Descriptor() ([]byte, []int) { + return file_proto_process_events_proto_rawDescGZIP(), []int{3} } -func (m *ProcessEvent_Exec) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Exec != nil { - l = m.Exec.Size() - n += 1 + l + sovEvents(uint64(l)) - } - return n -} -func (m *ProcessEvent_Exit) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Exit != nil { - l = m.Exit.Size() - n += 1 + l + sovEvents(uint64(l)) - } - return n -} -func (m *ProcessExec) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.ForkTime != 0 { - n += 1 + sovEvents(uint64(m.ForkTime)) - } - if m.ExecTime != 0 { - n += 1 + sovEvents(uint64(m.ExecTime)) +func (x *ProcessExit) GetExecTime() int64 { + if x != nil { + return x.ExecTime } - return n + return 0 } -func (m *ProcessExit) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.ExecTime != 0 { - n += 1 + sovEvents(uint64(m.ExecTime)) - } - if m.ExitTime != 0 { - n += 1 + sovEvents(uint64(m.ExitTime)) +func (x *ProcessExit) GetExitTime() int64 { + if x != nil { + return x.ExitTime } - if m.ExitCode != 0 { - n += 1 + sovEvents(uint64(m.ExitCode)) - } - return n + return 0 } -func sovEvents(x uint64) (n int) { - return (math_bits.Len64(x|1) + 6) / 7 -} -func sozEvents(x uint64) (n int) { - return sovEvents(uint64((x << 1) ^ uint64((int64(x) >> 63)))) -} -func (m *CollectorProcEvent) Unmarshal(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 ErrIntOverflowEvents - } - 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: CollectorProcEvent: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: CollectorProcEvent: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Hostname", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowEvents - } - 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 ErrInvalidLengthEvents - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthEvents - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Hostname = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Host", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowEvents - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthEvents - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthEvents - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Host == nil { - m.Host = &Host{} - } - if err := m.Host.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Info", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowEvents - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthEvents - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthEvents - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Info == nil { - m.Info = &SystemInfo{} - } - if err := m.Info.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Events", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowEvents - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthEvents - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthEvents - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Events = append(m.Events, &ProcessEvent{}) - if err := m.Events[len(m.Events)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 5: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field GroupId", wireType) - } - m.GroupId = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowEvents - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.GroupId |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 6: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field GroupSize", wireType) - } - m.GroupSize = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowEvents - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.GroupSize |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipEvents(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthEvents - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF +func (x *ProcessExit) GetExitCode() int32 { + if x != nil { + return x.ExitCode } - return nil + return 0 } -func (m *ProcessEvent) Unmarshal(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 ErrIntOverflowEvents - } - 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: ProcessEvent: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ProcessEvent: 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 ErrIntOverflowEvents - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Type |= ProcEventType(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field CollectionTime", wireType) - } - m.CollectionTime = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowEvents - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.CollectionTime |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Pid", wireType) - } - m.Pid = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowEvents - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Pid |= uint32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Command", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowEvents - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthEvents - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthEvents - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Command == nil { - m.Command = &Command{} - } - if err := m.Command.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field User", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowEvents - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthEvents - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthEvents - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.User == nil { - m.User = &ProcessUser{} - } - if err := m.User.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 6: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Host", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowEvents - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthEvents - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthEvents - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Host == nil { - m.Host = &Host{} - } - if err := m.Host.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 7: - 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 ErrIntOverflowEvents - } - 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 ErrInvalidLengthEvents - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthEvents - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ContainerId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 8: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Exec", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowEvents - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthEvents - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthEvents - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - v := &ProcessExec{} - if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - m.TypedEvent = &ProcessEvent_Exec{v} - iNdEx = postIndex - case 9: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Exit", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowEvents - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthEvents - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthEvents - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - v := &ProcessExit{} - if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - m.TypedEvent = &ProcessEvent_Exit{v} - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipEvents(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthEvents - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil +var File_proto_process_events_proto protoreflect.FileDescriptor + +var file_proto_process_events_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x2f, + 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x15, 0x64, 0x61, + 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, + 0x65, 0x6e, 0x74, 0x1a, 0x19, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x70, 0x72, 0x6f, 0x63, 0x65, + 0x73, 0x73, 0x2f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8d, + 0x02, 0x0a, 0x12, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x63, + 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x6e, 0x61, 0x6d, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x6e, 0x61, 0x6d, + 0x65, 0x12, 0x2f, 0x0a, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1b, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, + 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x48, 0x6f, 0x73, 0x74, 0x52, 0x04, 0x68, 0x6f, + 0x73, 0x74, 0x12, 0x35, 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x21, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, + 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x49, + 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x12, 0x3b, 0x0a, 0x06, 0x65, 0x76, 0x65, + 0x6e, 0x74, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x64, 0x61, 0x74, 0x61, + 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, + 0x74, 0x2e, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x06, + 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, + 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, + 0x12, 0x1c, 0x0a, 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x06, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x53, 0x69, 0x7a, 0x65, 0x22, 0xc9, + 0x03, 0x0a, 0x0c, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, + 0x38, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x24, 0x2e, + 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, + 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x50, 0x72, 0x6f, 0x63, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x54, + 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x26, 0x0a, 0x0e, 0x63, 0x6f, 0x6c, + 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x0e, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, + 0x65, 0x12, 0x10, 0x0a, 0x03, 0x70, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, + 0x70, 0x69, 0x64, 0x12, 0x38, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, + 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x43, 0x6f, 0x6d, + 0x6d, 0x61, 0x6e, 0x64, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x36, 0x0a, + 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x64, 0x61, + 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, + 0x65, 0x6e, 0x74, 0x2e, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x55, 0x73, 0x65, 0x72, 0x52, + 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x2f, 0x0a, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x06, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, + 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x48, 0x6f, 0x73, 0x74, + 0x52, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, + 0x6e, 0x65, 0x72, 0x49, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6f, 0x6e, + 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x49, 0x64, 0x12, 0x38, 0x0a, 0x04, 0x65, 0x78, 0x65, 0x63, + 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, + 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x50, + 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x45, 0x78, 0x65, 0x63, 0x48, 0x00, 0x52, 0x04, 0x65, 0x78, + 0x65, 0x63, 0x12, 0x38, 0x0a, 0x04, 0x65, 0x78, 0x69, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x22, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, + 0x73, 0x73, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, + 0x45, 0x78, 0x69, 0x74, 0x48, 0x00, 0x52, 0x04, 0x65, 0x78, 0x69, 0x74, 0x42, 0x0c, 0x0a, 0x0a, + 0x74, 0x79, 0x70, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x22, 0x45, 0x0a, 0x0b, 0x50, 0x72, + 0x6f, 0x63, 0x65, 0x73, 0x73, 0x45, 0x78, 0x65, 0x63, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x6f, 0x72, + 0x6b, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x66, 0x6f, 0x72, + 0x6b, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x65, 0x78, 0x65, 0x63, 0x54, 0x69, 0x6d, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x65, 0x78, 0x65, 0x63, 0x54, 0x69, 0x6d, + 0x65, 0x22, 0x61, 0x0a, 0x0b, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x45, 0x78, 0x69, 0x74, + 0x12, 0x1a, 0x0a, 0x08, 0x65, 0x78, 0x65, 0x63, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x03, 0x52, 0x08, 0x65, 0x78, 0x65, 0x63, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, + 0x65, 0x78, 0x69, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, + 0x65, 0x78, 0x69, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x65, 0x78, 0x69, 0x74, + 0x43, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x65, 0x78, 0x69, 0x74, + 0x43, 0x6f, 0x64, 0x65, 0x2a, 0x23, 0x0a, 0x0d, 0x50, 0x72, 0x6f, 0x63, 0x45, 0x76, 0x65, 0x6e, + 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x08, 0x0a, 0x04, 0x65, 0x78, 0x65, 0x63, 0x10, 0x00, 0x12, + 0x08, 0x0a, 0x04, 0x65, 0x78, 0x69, 0x74, 0x10, 0x01, 0x42, 0x2d, 0x5a, 0x2b, 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, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } -func (m *ProcessExec) Unmarshal(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 ErrIntOverflowEvents - } - 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: ProcessExec: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ProcessExec: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ForkTime", wireType) - } - m.ForkTime = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowEvents - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.ForkTime |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ExecTime", wireType) - } - m.ExecTime = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowEvents - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.ExecTime |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipEvents(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthEvents - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ProcessExit) Unmarshal(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 ErrIntOverflowEvents - } - 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: ProcessExit: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ProcessExit: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ExecTime", wireType) - } - m.ExecTime = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowEvents - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.ExecTime |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ExitTime", wireType) - } - m.ExitTime = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowEvents - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.ExitTime |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ExitCode", wireType) - } - m.ExitCode = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowEvents - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.ExitCode |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipEvents(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthEvents - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } +var ( + file_proto_process_events_proto_rawDescOnce sync.Once + file_proto_process_events_proto_rawDescData = file_proto_process_events_proto_rawDesc +) - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func skipEvents(dAtA []byte) (n int, err error) { - l := len(dAtA) - iNdEx := 0 - depth := 0 - for iNdEx < l { - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowEvents - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= (uint64(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - wireType := int(wire & 0x7) - switch wireType { - case 0: - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowEvents - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - iNdEx++ - if dAtA[iNdEx-1] < 0x80 { - break - } - } - case 1: - iNdEx += 8 - case 2: - var length int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowEvents - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - length |= (int(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - if length < 0 { - return 0, ErrInvalidLengthEvents - } - iNdEx += length - case 3: - depth++ - case 4: - if depth == 0 { - return 0, ErrUnexpectedEndOfGroupEvents - } - depth-- - case 5: - iNdEx += 4 - default: - return 0, fmt.Errorf("proto: illegal wireType %d", wireType) - } - if iNdEx < 0 { - return 0, ErrInvalidLengthEvents - } - if depth == 0 { - return iNdEx, nil - } +func file_proto_process_events_proto_rawDescGZIP() []byte { + file_proto_process_events_proto_rawDescOnce.Do(func() { + file_proto_process_events_proto_rawDescData = protoimpl.X.CompressGZIP(file_proto_process_events_proto_rawDescData) + }) + return file_proto_process_events_proto_rawDescData +} + +var file_proto_process_events_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_proto_process_events_proto_msgTypes = make([]protoimpl.MessageInfo, 4) +var file_proto_process_events_proto_goTypes = []interface{}{ + (ProcEventType)(0), // 0: datadog.process_agent.ProcEventType + (*CollectorProcEvent)(nil), // 1: datadog.process_agent.CollectorProcEvent + (*ProcessEvent)(nil), // 2: datadog.process_agent.ProcessEvent + (*ProcessExec)(nil), // 3: datadog.process_agent.ProcessExec + (*ProcessExit)(nil), // 4: datadog.process_agent.ProcessExit + (*Host)(nil), // 5: datadog.process_agent.Host + (*SystemInfo)(nil), // 6: datadog.process_agent.SystemInfo + (*Command)(nil), // 7: datadog.process_agent.Command + (*ProcessUser)(nil), // 8: datadog.process_agent.ProcessUser +} +var file_proto_process_events_proto_depIdxs = []int32{ + 5, // 0: datadog.process_agent.CollectorProcEvent.host:type_name -> datadog.process_agent.Host + 6, // 1: datadog.process_agent.CollectorProcEvent.info:type_name -> datadog.process_agent.SystemInfo + 2, // 2: datadog.process_agent.CollectorProcEvent.events:type_name -> datadog.process_agent.ProcessEvent + 0, // 3: datadog.process_agent.ProcessEvent.type:type_name -> datadog.process_agent.ProcEventType + 7, // 4: datadog.process_agent.ProcessEvent.command:type_name -> datadog.process_agent.Command + 8, // 5: datadog.process_agent.ProcessEvent.user:type_name -> datadog.process_agent.ProcessUser + 5, // 6: datadog.process_agent.ProcessEvent.host:type_name -> datadog.process_agent.Host + 3, // 7: datadog.process_agent.ProcessEvent.exec:type_name -> datadog.process_agent.ProcessExec + 4, // 8: datadog.process_agent.ProcessEvent.exit:type_name -> datadog.process_agent.ProcessExit + 9, // [9:9] is the sub-list for method output_type + 9, // [9:9] is the sub-list for method input_type + 9, // [9:9] is the sub-list for extension type_name + 9, // [9:9] is the sub-list for extension extendee + 0, // [0:9] is the sub-list for field type_name +} + +func init() { file_proto_process_events_proto_init() } +func file_proto_process_events_proto_init() { + if File_proto_process_events_proto != nil { + return + } + file_proto_process_agent_proto_init() + if !protoimpl.UnsafeEnabled { + file_proto_process_events_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CollectorProcEvent); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_events_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProcessEvent); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_events_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProcessExec); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_process_events_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProcessExit); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_proto_process_events_proto_msgTypes[1].OneofWrappers = []interface{}{ + (*ProcessEvent_Exec)(nil), + (*ProcessEvent_Exit)(nil), } - return 0, io.ErrUnexpectedEOF + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_proto_process_events_proto_rawDesc, + NumEnums: 1, + NumMessages: 4, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_proto_process_events_proto_goTypes, + DependencyIndexes: file_proto_process_events_proto_depIdxs, + EnumInfos: file_proto_process_events_proto_enumTypes, + MessageInfos: file_proto_process_events_proto_msgTypes, + }.Build() + File_proto_process_events_proto = out.File + file_proto_process_events_proto_rawDesc = nil + file_proto_process_events_proto_goTypes = nil + file_proto_process_events_proto_depIdxs = nil } - -var ( - ErrInvalidLengthEvents = fmt.Errorf("proto: negative length found during unmarshaling") - ErrIntOverflowEvents = fmt.Errorf("proto: integer overflow") - ErrUnexpectedEndOfGroupEvents = fmt.Errorf("proto: unexpected end of group") -)