diff --git a/Rakefile b/Rakefile index 0ad53329..ca6901ca 100644 --- a/Rakefile +++ b/Rakefile @@ -124,7 +124,8 @@ BASH PATH=#{toolchain_bin_dir} #{protoc_binary} --proto_path=#{toolchain_include_dir}:. --go_out=$GOPATH/src proto/contlcycle/contlcycle.proto echo "Generating kubernetes autoscaling proto" - PATH=#{toolchain_bin_dir} #{protoc_binary} --proto_path=#{toolchain_include_dir}:proto/deps:$GOPATH/src --go_out=$GOPATH/src --jsonschema_out=type_names_with_no_package:jsonschema $GOPATH/src/github.com/DataDog/agent-payload/v5/proto/autoscaling/kubernetes/*.proto + curl https://raw.githubusercontent.com/chrusty/protoc-gen-jsonschema/02c3b14c5835c08076f6a1c953c87ef717beda95/options.proto -L -o ./proto/autoscaling/kubernetes/options.proto + PATH=#{toolchain_bin_dir} #{protoc_binary} --proto_path=#{toolchain_include_dir}:proto/deps:. --go_out=$GOPATH/src --jsonschema_out=type_names_with_no_package:jsonschema proto/autoscaling/kubernetes/*.proto echo "Generating contimage proto" PATH=#{toolchain_bin_dir} #{protoc_binary} --proto_path=#{toolchain_include_dir}:. --go_out=$GOPATH/src proto/contimage/contimage.proto diff --git a/autoscaling/kubernetes/autoscaling.pb.go b/autoscaling/kubernetes/autoscaling.pb.go index 4c5cca68..c4597bac 100644 --- a/autoscaling/kubernetes/autoscaling.pb.go +++ b/autoscaling/kubernetes/autoscaling.pb.go @@ -2,7 +2,7 @@ // versions: // protoc-gen-go v1.34.1 // protoc v3.21.12 -// source: github.com/DataDog/agent-payload/v5/proto/autoscaling/kubernetes/autoscaling.proto +// source: proto/autoscaling/kubernetes/autoscaling.proto package kubernetes @@ -34,7 +34,7 @@ type WorkloadValuesList struct { func (x *WorkloadValuesList) Reset() { *x = WorkloadValuesList{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_autoscaling_proto_msgTypes[0] + mi := &file_proto_autoscaling_kubernetes_autoscaling_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -47,7 +47,7 @@ func (x *WorkloadValuesList) String() string { func (*WorkloadValuesList) ProtoMessage() {} func (x *WorkloadValuesList) ProtoReflect() protoreflect.Message { - mi := &file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_autoscaling_proto_msgTypes[0] + mi := &file_proto_autoscaling_kubernetes_autoscaling_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -60,7 +60,7 @@ func (x *WorkloadValuesList) ProtoReflect() protoreflect.Message { // Deprecated: Use WorkloadValuesList.ProtoReflect.Descriptor instead. func (*WorkloadValuesList) Descriptor() ([]byte, []int) { - return file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_autoscaling_proto_rawDescGZIP(), []int{0} + return file_proto_autoscaling_kubernetes_autoscaling_proto_rawDescGZIP(), []int{0} } func (x *WorkloadValuesList) GetValues() []*WorkloadValues { @@ -86,7 +86,7 @@ type WorkloadValues struct { func (x *WorkloadValues) Reset() { *x = WorkloadValues{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_autoscaling_proto_msgTypes[1] + mi := &file_proto_autoscaling_kubernetes_autoscaling_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -99,7 +99,7 @@ func (x *WorkloadValues) String() string { func (*WorkloadValues) ProtoMessage() {} func (x *WorkloadValues) ProtoReflect() protoreflect.Message { - mi := &file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_autoscaling_proto_msgTypes[1] + mi := &file_proto_autoscaling_kubernetes_autoscaling_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -112,7 +112,7 @@ func (x *WorkloadValues) ProtoReflect() protoreflect.Message { // Deprecated: Use WorkloadValues.ProtoReflect.Descriptor instead. func (*WorkloadValues) Descriptor() ([]byte, []int) { - return file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_autoscaling_proto_rawDescGZIP(), []int{1} + return file_proto_autoscaling_kubernetes_autoscaling_proto_rawDescGZIP(), []int{1} } func (x *WorkloadValues) GetNamespace() string { @@ -163,7 +163,7 @@ type WorkloadHorizontalValues struct { func (x *WorkloadHorizontalValues) Reset() { *x = WorkloadHorizontalValues{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_autoscaling_proto_msgTypes[2] + mi := &file_proto_autoscaling_kubernetes_autoscaling_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -176,7 +176,7 @@ func (x *WorkloadHorizontalValues) String() string { func (*WorkloadHorizontalValues) ProtoMessage() {} func (x *WorkloadHorizontalValues) ProtoReflect() protoreflect.Message { - mi := &file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_autoscaling_proto_msgTypes[2] + mi := &file_proto_autoscaling_kubernetes_autoscaling_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -189,7 +189,7 @@ func (x *WorkloadHorizontalValues) ProtoReflect() protoreflect.Message { // Deprecated: Use WorkloadHorizontalValues.ProtoReflect.Descriptor instead. func (*WorkloadHorizontalValues) Descriptor() ([]byte, []int) { - return file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_autoscaling_proto_rawDescGZIP(), []int{2} + return file_proto_autoscaling_kubernetes_autoscaling_proto_rawDescGZIP(), []int{2} } func (x *WorkloadHorizontalValues) GetError() *Error { @@ -225,7 +225,7 @@ type WorkloadHorizontalData struct { func (x *WorkloadHorizontalData) Reset() { *x = WorkloadHorizontalData{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_autoscaling_proto_msgTypes[3] + mi := &file_proto_autoscaling_kubernetes_autoscaling_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -238,7 +238,7 @@ func (x *WorkloadHorizontalData) String() string { func (*WorkloadHorizontalData) ProtoMessage() {} func (x *WorkloadHorizontalData) ProtoReflect() protoreflect.Message { - mi := &file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_autoscaling_proto_msgTypes[3] + mi := &file_proto_autoscaling_kubernetes_autoscaling_proto_msgTypes[3] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -251,7 +251,7 @@ func (x *WorkloadHorizontalData) ProtoReflect() protoreflect.Message { // Deprecated: Use WorkloadHorizontalData.ProtoReflect.Descriptor instead. func (*WorkloadHorizontalData) Descriptor() ([]byte, []int) { - return file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_autoscaling_proto_rawDescGZIP(), []int{3} + return file_proto_autoscaling_kubernetes_autoscaling_proto_rawDescGZIP(), []int{3} } func (x *WorkloadHorizontalData) GetTimestamp() *timestamppb.Timestamp { @@ -281,7 +281,7 @@ type WorkloadVerticalValues struct { func (x *WorkloadVerticalValues) Reset() { *x = WorkloadVerticalValues{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_autoscaling_proto_msgTypes[4] + mi := &file_proto_autoscaling_kubernetes_autoscaling_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -294,7 +294,7 @@ func (x *WorkloadVerticalValues) String() string { func (*WorkloadVerticalValues) ProtoMessage() {} func (x *WorkloadVerticalValues) ProtoReflect() protoreflect.Message { - mi := &file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_autoscaling_proto_msgTypes[4] + mi := &file_proto_autoscaling_kubernetes_autoscaling_proto_msgTypes[4] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -307,7 +307,7 @@ func (x *WorkloadVerticalValues) ProtoReflect() protoreflect.Message { // Deprecated: Use WorkloadVerticalValues.ProtoReflect.Descriptor instead. func (*WorkloadVerticalValues) Descriptor() ([]byte, []int) { - return file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_autoscaling_proto_rawDescGZIP(), []int{4} + return file_proto_autoscaling_kubernetes_autoscaling_proto_rawDescGZIP(), []int{4} } func (x *WorkloadVerticalValues) GetError() *Error { @@ -343,7 +343,7 @@ type WorkloadVerticalData struct { func (x *WorkloadVerticalData) Reset() { *x = WorkloadVerticalData{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_autoscaling_proto_msgTypes[5] + mi := &file_proto_autoscaling_kubernetes_autoscaling_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -356,7 +356,7 @@ func (x *WorkloadVerticalData) String() string { func (*WorkloadVerticalData) ProtoMessage() {} func (x *WorkloadVerticalData) ProtoReflect() protoreflect.Message { - mi := &file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_autoscaling_proto_msgTypes[5] + mi := &file_proto_autoscaling_kubernetes_autoscaling_proto_msgTypes[5] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -369,7 +369,7 @@ func (x *WorkloadVerticalData) ProtoReflect() protoreflect.Message { // Deprecated: Use WorkloadVerticalData.ProtoReflect.Descriptor instead. func (*WorkloadVerticalData) Descriptor() ([]byte, []int) { - return file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_autoscaling_proto_rawDescGZIP(), []int{5} + return file_proto_autoscaling_kubernetes_autoscaling_proto_rawDescGZIP(), []int{5} } func (x *WorkloadVerticalData) GetTimestamp() *timestamppb.Timestamp { @@ -399,7 +399,7 @@ type ContainerResources struct { func (x *ContainerResources) Reset() { *x = ContainerResources{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_autoscaling_proto_msgTypes[6] + mi := &file_proto_autoscaling_kubernetes_autoscaling_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -412,7 +412,7 @@ func (x *ContainerResources) String() string { func (*ContainerResources) ProtoMessage() {} func (x *ContainerResources) ProtoReflect() protoreflect.Message { - mi := &file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_autoscaling_proto_msgTypes[6] + mi := &file_proto_autoscaling_kubernetes_autoscaling_proto_msgTypes[6] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -425,7 +425,7 @@ func (x *ContainerResources) ProtoReflect() protoreflect.Message { // Deprecated: Use ContainerResources.ProtoReflect.Descriptor instead. func (*ContainerResources) Descriptor() ([]byte, []int) { - return file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_autoscaling_proto_rawDescGZIP(), []int{6} + return file_proto_autoscaling_kubernetes_autoscaling_proto_rawDescGZIP(), []int{6} } func (x *ContainerResources) GetContainerName() string { @@ -461,7 +461,7 @@ type ContainerResources_ResourceList struct { func (x *ContainerResources_ResourceList) Reset() { *x = ContainerResources_ResourceList{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_autoscaling_proto_msgTypes[7] + mi := &file_proto_autoscaling_kubernetes_autoscaling_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -474,7 +474,7 @@ func (x *ContainerResources_ResourceList) String() string { func (*ContainerResources_ResourceList) ProtoMessage() {} func (x *ContainerResources_ResourceList) ProtoReflect() protoreflect.Message { - mi := &file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_autoscaling_proto_msgTypes[7] + mi := &file_proto_autoscaling_kubernetes_autoscaling_proto_msgTypes[7] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -487,7 +487,7 @@ func (x *ContainerResources_ResourceList) ProtoReflect() protoreflect.Message { // Deprecated: Use ContainerResources_ResourceList.ProtoReflect.Descriptor instead. func (*ContainerResources_ResourceList) Descriptor() ([]byte, []int) { - return file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_autoscaling_proto_rawDescGZIP(), []int{6, 0} + return file_proto_autoscaling_kubernetes_autoscaling_proto_rawDescGZIP(), []int{6, 0} } func (x *ContainerResources_ResourceList) GetName() string { @@ -504,148 +504,143 @@ func (x *ContainerResources_ResourceList) GetValue() string { return "" } -var File_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_autoscaling_proto protoreflect.FileDescriptor - -var file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_autoscaling_proto_rawDesc = []byte{ - 0x0a, 0x52, 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, 0x74, 0x6f, 0x2f, 0x61, 0x75, 0x74, 0x6f, - 0x73, 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, - 0x65, 0x73, 0x2f, 0x61, 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x61, 0x75, - 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x2e, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, - 0x65, 0x74, 0x65, 0x73, 0x1a, 0x4d, 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, 0x74, 0x6f, 0x2f, - 0x61, 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x2f, 0x6b, 0x75, 0x62, 0x65, - 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x36, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, - 0x2f, 0x63, 0x68, 0x72, 0x75, 0x73, 0x74, 0x79, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2d, - 0x67, 0x65, 0x6e, 0x2d, 0x6a, 0x73, 0x6f, 0x6e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2f, 0x6f, - 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x63, 0x0a, 0x12, - 0x57, 0x6f, 0x72, 0x6b, 0x6c, 0x6f, 0x61, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x4c, 0x69, - 0x73, 0x74, 0x12, 0x46, 0x0a, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x61, 0x75, 0x74, - 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x2e, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, - 0x74, 0x65, 0x73, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x6c, 0x6f, 0x61, 0x64, 0x56, 0x61, 0x6c, 0x75, - 0x65, 0x73, 0x52, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x3a, 0x05, 0xba, 0x46, 0x02, 0x20, - 0x01, 0x22, 0xc4, 0x02, 0x0a, 0x0e, 0x57, 0x6f, 0x72, 0x6b, 0x6c, 0x6f, 0x61, 0x64, 0x56, 0x61, - 0x6c, 0x75, 0x65, 0x73, 0x12, 0x23, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, - 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x05, 0xaa, 0x46, 0x02, 0x10, 0x01, 0x52, 0x09, - 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x19, 0x0a, 0x04, 0x6e, 0x61, 0x6d, - 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x05, 0xaa, 0x46, 0x02, 0x10, 0x01, 0x52, 0x04, - 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3b, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x61, 0x75, - 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x2e, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, - 0x65, 0x74, 0x65, 0x73, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, - 0x72, 0x12, 0x58, 0x0a, 0x0a, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x6f, 0x6e, 0x74, 0x61, 0x6c, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x38, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, - 0x61, 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x2e, 0x6b, 0x75, 0x62, 0x65, - 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x6c, 0x6f, 0x61, 0x64, 0x48, - 0x6f, 0x72, 0x69, 0x7a, 0x6f, 0x6e, 0x74, 0x61, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x52, - 0x0a, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x6f, 0x6e, 0x74, 0x61, 0x6c, 0x12, 0x52, 0x0a, 0x08, 0x76, - 0x65, 0x72, 0x74, 0x69, 0x63, 0x61, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x36, 0x2e, - 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, - 0x69, 0x6e, 0x67, 0x2e, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2e, 0x57, - 0x6f, 0x72, 0x6b, 0x6c, 0x6f, 0x61, 0x64, 0x56, 0x65, 0x72, 0x74, 0x69, 0x63, 0x61, 0x6c, 0x56, - 0x61, 0x6c, 0x75, 0x65, 0x73, 0x52, 0x08, 0x76, 0x65, 0x72, 0x74, 0x69, 0x63, 0x61, 0x6c, 0x3a, - 0x07, 0xba, 0x46, 0x04, 0x08, 0x01, 0x20, 0x01, 0x22, 0xfc, 0x01, 0x0a, 0x18, 0x57, 0x6f, 0x72, - 0x6b, 0x6c, 0x6f, 0x61, 0x64, 0x48, 0x6f, 0x72, 0x69, 0x7a, 0x6f, 0x6e, 0x74, 0x61, 0x6c, 0x56, - 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x3b, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x61, - 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x2e, 0x6b, 0x75, 0x62, 0x65, 0x72, - 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x05, 0x65, 0x72, 0x72, - 0x6f, 0x72, 0x12, 0x4e, 0x0a, 0x06, 0x6d, 0x61, 0x6e, 0x75, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x61, 0x75, 0x74, - 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x2e, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, - 0x74, 0x65, 0x73, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x6c, 0x6f, 0x61, 0x64, 0x48, 0x6f, 0x72, 0x69, - 0x7a, 0x6f, 0x6e, 0x74, 0x61, 0x6c, 0x44, 0x61, 0x74, 0x61, 0x52, 0x06, 0x6d, 0x61, 0x6e, 0x75, - 0x61, 0x6c, 0x12, 0x4a, 0x0a, 0x04, 0x61, 0x75, 0x74, 0x6f, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x36, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x73, - 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x2e, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, - 0x73, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x6c, 0x6f, 0x61, 0x64, 0x48, 0x6f, 0x72, 0x69, 0x7a, 0x6f, - 0x6e, 0x74, 0x61, 0x6c, 0x44, 0x61, 0x74, 0x61, 0x52, 0x04, 0x61, 0x75, 0x74, 0x6f, 0x3a, 0x07, - 0xba, 0x46, 0x04, 0x08, 0x01, 0x20, 0x01, 0x22, 0x97, 0x01, 0x0a, 0x16, 0x57, 0x6f, 0x72, 0x6b, - 0x6c, 0x6f, 0x61, 0x64, 0x48, 0x6f, 0x72, 0x69, 0x7a, 0x6f, 0x6e, 0x74, 0x61, 0x6c, 0x44, 0x61, - 0x74, 0x61, 0x12, 0x3f, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, - 0x70, 0x42, 0x05, 0xaa, 0x46, 0x02, 0x10, 0x01, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, - 0x61, 0x6d, 0x70, 0x12, 0x26, 0x0a, 0x08, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x05, 0x42, 0x05, 0xaa, 0x46, 0x02, 0x10, 0x01, 0x48, 0x00, 0x52, 0x08, - 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x88, 0x01, 0x01, 0x3a, 0x07, 0xba, 0x46, 0x04, - 0x08, 0x01, 0x20, 0x01, 0x42, 0x0b, 0x0a, 0x09, 0x5f, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, - 0x73, 0x22, 0xf6, 0x01, 0x0a, 0x16, 0x57, 0x6f, 0x72, 0x6b, 0x6c, 0x6f, 0x61, 0x64, 0x56, 0x65, - 0x72, 0x74, 0x69, 0x63, 0x61, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x3b, 0x0a, 0x05, - 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x64, 0x61, - 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x69, 0x6e, - 0x67, 0x2e, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2e, 0x45, 0x72, 0x72, - 0x6f, 0x72, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x4c, 0x0a, 0x06, 0x6d, 0x61, 0x6e, - 0x75, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x64, 0x61, 0x74, 0x61, +var File_proto_autoscaling_kubernetes_autoscaling_proto protoreflect.FileDescriptor + +var file_proto_autoscaling_kubernetes_autoscaling_proto_rawDesc = []byte{ + 0x0a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x61, 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, + 0x69, 0x6e, 0x67, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2f, 0x61, + 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x12, 0x1e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x73, 0x63, + 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x2e, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, + 0x1a, 0x29, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x61, 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, + 0x69, 0x6e, 0x67, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2f, 0x63, + 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2a, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x2f, 0x61, 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x2f, 0x6b, + 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, + 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x63, 0x0a, 0x12, 0x57, 0x6f, 0x72, 0x6b, + 0x6c, 0x6f, 0x61, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x46, + 0x0a, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e, + 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, + 0x6c, 0x69, 0x6e, 0x67, 0x2e, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2e, + 0x57, 0x6f, 0x72, 0x6b, 0x6c, 0x6f, 0x61, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x52, 0x06, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x3a, 0x05, 0xba, 0x46, 0x02, 0x20, 0x01, 0x22, 0xc4, 0x02, + 0x0a, 0x0e, 0x57, 0x6f, 0x72, 0x6b, 0x6c, 0x6f, 0x61, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, + 0x12, 0x23, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x42, 0x05, 0xaa, 0x46, 0x02, 0x10, 0x01, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x19, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x42, 0x05, 0xaa, 0x46, 0x02, 0x10, 0x01, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, + 0x12, 0x3b, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x25, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x73, 0x63, + 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x2e, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, + 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x58, 0x0a, + 0x0a, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x6f, 0x6e, 0x74, 0x61, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x38, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x61, 0x75, 0x74, 0x6f, + 0x73, 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x2e, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, + 0x65, 0x73, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x6c, 0x6f, 0x61, 0x64, 0x48, 0x6f, 0x72, 0x69, 0x7a, + 0x6f, 0x6e, 0x74, 0x61, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x52, 0x0a, 0x68, 0x6f, 0x72, + 0x69, 0x7a, 0x6f, 0x6e, 0x74, 0x61, 0x6c, 0x12, 0x52, 0x0a, 0x08, 0x76, 0x65, 0x72, 0x74, 0x69, + 0x63, 0x61, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x2e, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x6c, - 0x6f, 0x61, 0x64, 0x56, 0x65, 0x72, 0x74, 0x69, 0x63, 0x61, 0x6c, 0x44, 0x61, 0x74, 0x61, 0x52, - 0x06, 0x6d, 0x61, 0x6e, 0x75, 0x61, 0x6c, 0x12, 0x48, 0x0a, 0x04, 0x61, 0x75, 0x74, 0x6f, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, - 0x61, 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x2e, 0x6b, 0x75, 0x62, 0x65, - 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x6c, 0x6f, 0x61, 0x64, 0x56, - 0x65, 0x72, 0x74, 0x69, 0x63, 0x61, 0x6c, 0x44, 0x61, 0x74, 0x61, 0x52, 0x04, 0x61, 0x75, 0x74, - 0x6f, 0x3a, 0x07, 0xba, 0x46, 0x04, 0x08, 0x01, 0x20, 0x01, 0x22, 0xb9, 0x01, 0x0a, 0x14, 0x57, - 0x6f, 0x72, 0x6b, 0x6c, 0x6f, 0x61, 0x64, 0x56, 0x65, 0x72, 0x74, 0x69, 0x63, 0x61, 0x6c, 0x44, - 0x61, 0x74, 0x61, 0x12, 0x3f, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, - 0x6d, 0x70, 0x42, 0x05, 0xaa, 0x46, 0x02, 0x10, 0x01, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, - 0x74, 0x61, 0x6d, 0x70, 0x12, 0x57, 0x0a, 0x09, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, - 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, - 0x67, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x2e, 0x6b, 0x75, - 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, - 0x65, 0x72, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x42, 0x05, 0xaa, 0x46, 0x02, - 0x10, 0x01, 0x52, 0x09, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x3a, 0x07, 0xba, - 0x46, 0x04, 0x08, 0x01, 0x20, 0x01, 0x22, 0xcf, 0x02, 0x0a, 0x12, 0x43, 0x6f, 0x6e, 0x74, 0x61, - 0x69, 0x6e, 0x65, 0x72, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x12, 0x2b, 0x0a, - 0x0d, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x42, 0x05, 0xaa, 0x46, 0x02, 0x10, 0x01, 0x52, 0x0d, 0x63, 0x6f, 0x6e, - 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x5b, 0x0a, 0x08, 0x72, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3f, 0x2e, 0x64, + 0x6f, 0x61, 0x64, 0x56, 0x65, 0x72, 0x74, 0x69, 0x63, 0x61, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, + 0x73, 0x52, 0x08, 0x76, 0x65, 0x72, 0x74, 0x69, 0x63, 0x61, 0x6c, 0x3a, 0x07, 0xba, 0x46, 0x04, + 0x08, 0x01, 0x20, 0x01, 0x22, 0xfc, 0x01, 0x0a, 0x18, 0x57, 0x6f, 0x72, 0x6b, 0x6c, 0x6f, 0x61, + 0x64, 0x48, 0x6f, 0x72, 0x69, 0x7a, 0x6f, 0x6e, 0x74, 0x61, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, + 0x73, 0x12, 0x3b, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x25, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x73, + 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x2e, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, + 0x73, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x4e, + 0x0a, 0x06, 0x6d, 0x61, 0x6e, 0x75, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x36, + 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, + 0x6c, 0x69, 0x6e, 0x67, 0x2e, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2e, + 0x57, 0x6f, 0x72, 0x6b, 0x6c, 0x6f, 0x61, 0x64, 0x48, 0x6f, 0x72, 0x69, 0x7a, 0x6f, 0x6e, 0x74, + 0x61, 0x6c, 0x44, 0x61, 0x74, 0x61, 0x52, 0x06, 0x6d, 0x61, 0x6e, 0x75, 0x61, 0x6c, 0x12, 0x4a, + 0x0a, 0x04, 0x61, 0x75, 0x74, 0x6f, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x69, - 0x6e, 0x67, 0x2e, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2e, 0x43, 0x6f, - 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, - 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x08, 0x72, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x12, 0x57, 0x0a, 0x06, 0x6c, 0x69, 0x6d, 0x69, 0x74, - 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3f, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, + 0x6e, 0x67, 0x2e, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2e, 0x57, 0x6f, + 0x72, 0x6b, 0x6c, 0x6f, 0x61, 0x64, 0x48, 0x6f, 0x72, 0x69, 0x7a, 0x6f, 0x6e, 0x74, 0x61, 0x6c, + 0x44, 0x61, 0x74, 0x61, 0x52, 0x04, 0x61, 0x75, 0x74, 0x6f, 0x3a, 0x07, 0xba, 0x46, 0x04, 0x08, + 0x01, 0x20, 0x01, 0x22, 0x97, 0x01, 0x0a, 0x16, 0x57, 0x6f, 0x72, 0x6b, 0x6c, 0x6f, 0x61, 0x64, + 0x48, 0x6f, 0x72, 0x69, 0x7a, 0x6f, 0x6e, 0x74, 0x61, 0x6c, 0x44, 0x61, 0x74, 0x61, 0x12, 0x3f, + 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x05, 0xaa, + 0x46, 0x02, 0x10, 0x01, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, + 0x26, 0x0a, 0x08, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x05, 0x42, 0x05, 0xaa, 0x46, 0x02, 0x10, 0x01, 0x48, 0x00, 0x52, 0x08, 0x72, 0x65, 0x70, 0x6c, + 0x69, 0x63, 0x61, 0x73, 0x88, 0x01, 0x01, 0x3a, 0x07, 0xba, 0x46, 0x04, 0x08, 0x01, 0x20, 0x01, + 0x42, 0x0b, 0x0a, 0x09, 0x5f, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x22, 0xf6, 0x01, + 0x0a, 0x16, 0x57, 0x6f, 0x72, 0x6b, 0x6c, 0x6f, 0x61, 0x64, 0x56, 0x65, 0x72, 0x74, 0x69, 0x63, + 0x61, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x3b, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, + 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x2e, 0x6b, 0x75, - 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, - 0x65, 0x72, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2e, 0x52, 0x65, 0x73, 0x6f, - 0x75, 0x72, 0x63, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x06, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, - 0x1a, 0x4d, 0x0a, 0x0c, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4c, 0x69, 0x73, 0x74, - 0x12, 0x19, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x05, - 0xaa, 0x46, 0x02, 0x10, 0x01, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x05, 0x76, - 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x05, 0xaa, 0x46, 0x02, 0x10, - 0x01, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x05, 0xba, 0x46, 0x02, 0x20, 0x01, 0x3a, - 0x07, 0xba, 0x46, 0x04, 0x08, 0x01, 0x20, 0x01, 0x42, 0x3c, 0x5a, 0x3a, 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, - 0x61, 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x2f, 0x6b, 0x75, 0x62, 0x65, - 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x05, + 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x4c, 0x0a, 0x06, 0x6d, 0x61, 0x6e, 0x75, 0x61, 0x6c, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, + 0x61, 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x2e, 0x6b, 0x75, 0x62, 0x65, + 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x6c, 0x6f, 0x61, 0x64, 0x56, + 0x65, 0x72, 0x74, 0x69, 0x63, 0x61, 0x6c, 0x44, 0x61, 0x74, 0x61, 0x52, 0x06, 0x6d, 0x61, 0x6e, + 0x75, 0x61, 0x6c, 0x12, 0x48, 0x0a, 0x04, 0x61, 0x75, 0x74, 0x6f, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x34, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x61, 0x75, 0x74, 0x6f, + 0x73, 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x2e, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, + 0x65, 0x73, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x6c, 0x6f, 0x61, 0x64, 0x56, 0x65, 0x72, 0x74, 0x69, + 0x63, 0x61, 0x6c, 0x44, 0x61, 0x74, 0x61, 0x52, 0x04, 0x61, 0x75, 0x74, 0x6f, 0x3a, 0x07, 0xba, + 0x46, 0x04, 0x08, 0x01, 0x20, 0x01, 0x22, 0xb9, 0x01, 0x0a, 0x14, 0x57, 0x6f, 0x72, 0x6b, 0x6c, + 0x6f, 0x61, 0x64, 0x56, 0x65, 0x72, 0x74, 0x69, 0x63, 0x61, 0x6c, 0x44, 0x61, 0x74, 0x61, 0x12, + 0x3f, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x05, + 0xaa, 0x46, 0x02, 0x10, 0x01, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, + 0x12, 0x57, 0x0a, 0x09, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x18, 0x02, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x61, 0x75, + 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x2e, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, + 0x65, 0x74, 0x65, 0x73, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x52, 0x65, + 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x42, 0x05, 0xaa, 0x46, 0x02, 0x10, 0x01, 0x52, 0x09, + 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x3a, 0x07, 0xba, 0x46, 0x04, 0x08, 0x01, + 0x20, 0x01, 0x22, 0xcf, 0x02, 0x0a, 0x12, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, + 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x12, 0x2b, 0x0a, 0x0d, 0x63, 0x6f, 0x6e, + 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x42, 0x05, 0xaa, 0x46, 0x02, 0x10, 0x01, 0x52, 0x0d, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, + 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x5b, 0x0a, 0x08, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3f, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, + 0x6f, 0x67, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x2e, 0x6b, + 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, + 0x6e, 0x65, 0x72, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2e, 0x52, 0x65, 0x73, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x08, 0x72, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x73, 0x12, 0x57, 0x0a, 0x06, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x18, 0x03, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x3f, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x61, 0x75, + 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x2e, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, + 0x65, 0x74, 0x65, 0x73, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x52, 0x65, + 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, + 0x4c, 0x69, 0x73, 0x74, 0x52, 0x06, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x1a, 0x4d, 0x0a, 0x0c, + 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x04, + 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x05, 0xaa, 0x46, 0x02, 0x10, + 0x01, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x05, 0xaa, 0x46, 0x02, 0x10, 0x01, 0x52, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x05, 0xba, 0x46, 0x02, 0x20, 0x01, 0x3a, 0x07, 0xba, 0x46, 0x04, + 0x08, 0x01, 0x20, 0x01, 0x42, 0x3c, 0x5a, 0x3a, 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, 0x61, 0x75, 0x74, 0x6f, + 0x73, 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, + 0x65, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( - file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_autoscaling_proto_rawDescOnce sync.Once - file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_autoscaling_proto_rawDescData = file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_autoscaling_proto_rawDesc + file_proto_autoscaling_kubernetes_autoscaling_proto_rawDescOnce sync.Once + file_proto_autoscaling_kubernetes_autoscaling_proto_rawDescData = file_proto_autoscaling_kubernetes_autoscaling_proto_rawDesc ) -func file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_autoscaling_proto_rawDescGZIP() []byte { - file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_autoscaling_proto_rawDescOnce.Do(func() { - file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_autoscaling_proto_rawDescData = protoimpl.X.CompressGZIP(file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_autoscaling_proto_rawDescData) +func file_proto_autoscaling_kubernetes_autoscaling_proto_rawDescGZIP() []byte { + file_proto_autoscaling_kubernetes_autoscaling_proto_rawDescOnce.Do(func() { + file_proto_autoscaling_kubernetes_autoscaling_proto_rawDescData = protoimpl.X.CompressGZIP(file_proto_autoscaling_kubernetes_autoscaling_proto_rawDescData) }) - return file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_autoscaling_proto_rawDescData + return file_proto_autoscaling_kubernetes_autoscaling_proto_rawDescData } -var file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_autoscaling_proto_msgTypes = make([]protoimpl.MessageInfo, 8) -var file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_autoscaling_proto_goTypes = []interface{}{ +var file_proto_autoscaling_kubernetes_autoscaling_proto_msgTypes = make([]protoimpl.MessageInfo, 8) +var file_proto_autoscaling_kubernetes_autoscaling_proto_goTypes = []interface{}{ (*WorkloadValuesList)(nil), // 0: datadog.autoscaling.kubernetes.WorkloadValuesList (*WorkloadValues)(nil), // 1: datadog.autoscaling.kubernetes.WorkloadValues (*WorkloadHorizontalValues)(nil), // 2: datadog.autoscaling.kubernetes.WorkloadHorizontalValues @@ -657,7 +652,7 @@ var file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_autosc (*Error)(nil), // 8: datadog.autoscaling.kubernetes.Error (*timestamppb.Timestamp)(nil), // 9: google.protobuf.Timestamp } -var file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_autoscaling_proto_depIdxs = []int32{ +var file_proto_autoscaling_kubernetes_autoscaling_proto_depIdxs = []int32{ 1, // 0: datadog.autoscaling.kubernetes.WorkloadValuesList.values:type_name -> datadog.autoscaling.kubernetes.WorkloadValues 8, // 1: datadog.autoscaling.kubernetes.WorkloadValues.error:type_name -> datadog.autoscaling.kubernetes.Error 2, // 2: datadog.autoscaling.kubernetes.WorkloadValues.horizontal:type_name -> datadog.autoscaling.kubernetes.WorkloadHorizontalValues @@ -680,16 +675,14 @@ var file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_autosc 0, // [0:15] is the sub-list for field type_name } -func init() { - file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_autoscaling_proto_init() -} -func file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_autoscaling_proto_init() { - if File_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_autoscaling_proto != nil { +func init() { file_proto_autoscaling_kubernetes_autoscaling_proto_init() } +func file_proto_autoscaling_kubernetes_autoscaling_proto_init() { + if File_proto_autoscaling_kubernetes_autoscaling_proto != nil { return } - file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_common_proto_init() + file_proto_autoscaling_kubernetes_common_proto_init() if !protoimpl.UnsafeEnabled { - file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_autoscaling_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_proto_autoscaling_kubernetes_autoscaling_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*WorkloadValuesList); i { case 0: return &v.state @@ -701,7 +694,7 @@ func file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_autos return nil } } - file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_autoscaling_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_proto_autoscaling_kubernetes_autoscaling_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*WorkloadValues); i { case 0: return &v.state @@ -713,7 +706,7 @@ func file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_autos return nil } } - file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_autoscaling_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_proto_autoscaling_kubernetes_autoscaling_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*WorkloadHorizontalValues); i { case 0: return &v.state @@ -725,7 +718,7 @@ func file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_autos return nil } } - file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_autoscaling_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_proto_autoscaling_kubernetes_autoscaling_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*WorkloadHorizontalData); i { case 0: return &v.state @@ -737,7 +730,7 @@ func file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_autos return nil } } - file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_autoscaling_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_proto_autoscaling_kubernetes_autoscaling_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*WorkloadVerticalValues); i { case 0: return &v.state @@ -749,7 +742,7 @@ func file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_autos return nil } } - file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_autoscaling_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_proto_autoscaling_kubernetes_autoscaling_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*WorkloadVerticalData); i { case 0: return &v.state @@ -761,7 +754,7 @@ func file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_autos return nil } } - file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_autoscaling_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_proto_autoscaling_kubernetes_autoscaling_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ContainerResources); i { case 0: return &v.state @@ -773,7 +766,7 @@ func file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_autos return nil } } - file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_autoscaling_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + file_proto_autoscaling_kubernetes_autoscaling_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ContainerResources_ResourceList); i { case 0: return &v.state @@ -786,23 +779,23 @@ func file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_autos } } } - file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_autoscaling_proto_msgTypes[3].OneofWrappers = []interface{}{} + file_proto_autoscaling_kubernetes_autoscaling_proto_msgTypes[3].OneofWrappers = []interface{}{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_autoscaling_proto_rawDesc, + RawDescriptor: file_proto_autoscaling_kubernetes_autoscaling_proto_rawDesc, NumEnums: 0, NumMessages: 8, NumExtensions: 0, NumServices: 0, }, - GoTypes: file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_autoscaling_proto_goTypes, - DependencyIndexes: file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_autoscaling_proto_depIdxs, - MessageInfos: file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_autoscaling_proto_msgTypes, + GoTypes: file_proto_autoscaling_kubernetes_autoscaling_proto_goTypes, + DependencyIndexes: file_proto_autoscaling_kubernetes_autoscaling_proto_depIdxs, + MessageInfos: file_proto_autoscaling_kubernetes_autoscaling_proto_msgTypes, }.Build() - File_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_autoscaling_proto = out.File - file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_autoscaling_proto_rawDesc = nil - file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_autoscaling_proto_goTypes = nil - file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_autoscaling_proto_depIdxs = nil + File_proto_autoscaling_kubernetes_autoscaling_proto = out.File + file_proto_autoscaling_kubernetes_autoscaling_proto_rawDesc = nil + file_proto_autoscaling_kubernetes_autoscaling_proto_goTypes = nil + file_proto_autoscaling_kubernetes_autoscaling_proto_depIdxs = nil } diff --git a/autoscaling/kubernetes/common.pb.go b/autoscaling/kubernetes/common.pb.go index 832e6175..eed2acff 100644 --- a/autoscaling/kubernetes/common.pb.go +++ b/autoscaling/kubernetes/common.pb.go @@ -2,7 +2,7 @@ // versions: // protoc-gen-go v1.34.1 // protoc v3.21.12 -// source: github.com/DataDog/agent-payload/v5/proto/autoscaling/kubernetes/common.proto +// source: proto/autoscaling/kubernetes/common.proto package kubernetes @@ -34,7 +34,7 @@ type Error struct { func (x *Error) Reset() { *x = Error{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_common_proto_msgTypes[0] + mi := &file_proto_autoscaling_kubernetes_common_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -47,7 +47,7 @@ func (x *Error) String() string { func (*Error) ProtoMessage() {} func (x *Error) ProtoReflect() protoreflect.Message { - mi := &file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_common_proto_msgTypes[0] + mi := &file_proto_autoscaling_kubernetes_common_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -60,7 +60,7 @@ func (x *Error) ProtoReflect() protoreflect.Message { // Deprecated: Use Error.ProtoReflect.Descriptor instead. func (*Error) Descriptor() ([]byte, []int) { - return file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_common_proto_rawDescGZIP(), []int{0} + return file_proto_autoscaling_kubernetes_common_proto_rawDescGZIP(), []int{0} } func (x *Error) GetCode() int32 { @@ -93,7 +93,7 @@ type WorkloadTargetRef struct { func (x *WorkloadTargetRef) Reset() { *x = WorkloadTargetRef{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_common_proto_msgTypes[1] + mi := &file_proto_autoscaling_kubernetes_common_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -106,7 +106,7 @@ func (x *WorkloadTargetRef) String() string { func (*WorkloadTargetRef) ProtoMessage() {} func (x *WorkloadTargetRef) ProtoReflect() protoreflect.Message { - mi := &file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_common_proto_msgTypes[1] + mi := &file_proto_autoscaling_kubernetes_common_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -119,7 +119,7 @@ func (x *WorkloadTargetRef) ProtoReflect() protoreflect.Message { // Deprecated: Use WorkloadTargetRef.ProtoReflect.Descriptor instead. func (*WorkloadTargetRef) Descriptor() ([]byte, []int) { - return file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_common_proto_rawDescGZIP(), []int{1} + return file_proto_autoscaling_kubernetes_common_proto_rawDescGZIP(), []int{1} } func (x *WorkloadTargetRef) GetCluster() string { @@ -171,7 +171,7 @@ type WorkloadState struct { func (x *WorkloadState) Reset() { *x = WorkloadState{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_common_proto_msgTypes[2] + mi := &file_proto_autoscaling_kubernetes_common_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -184,7 +184,7 @@ func (x *WorkloadState) String() string { func (*WorkloadState) ProtoMessage() {} func (x *WorkloadState) ProtoReflect() protoreflect.Message { - mi := &file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_common_proto_msgTypes[2] + mi := &file_proto_autoscaling_kubernetes_common_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -197,7 +197,7 @@ func (x *WorkloadState) ProtoReflect() protoreflect.Message { // Deprecated: Use WorkloadState.ProtoReflect.Descriptor instead. func (*WorkloadState) Descriptor() ([]byte, []int) { - return file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_common_proto_rawDescGZIP(), []int{2} + return file_proto_autoscaling_kubernetes_common_proto_rawDescGZIP(), []int{2} } func (x *WorkloadState) GetDesiredReplicas() int32 { @@ -221,19 +221,16 @@ func (x *WorkloadState) GetReadyReplicas() int32 { return 0 } -var File_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_common_proto protoreflect.FileDescriptor - -var file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_common_proto_rawDesc = []byte{ - 0x0a, 0x4d, 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, 0x74, 0x6f, 0x2f, 0x61, 0x75, 0x74, 0x6f, - 0x73, 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, - 0x65, 0x73, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, - 0x1e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, - 0x6c, 0x69, 0x6e, 0x67, 0x2e, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x1a, - 0x36, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x68, 0x72, 0x75, - 0x73, 0x74, 0x79, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2d, 0x67, 0x65, 0x6e, 0x2d, 0x6a, - 0x73, 0x6f, 0x6e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, +var File_proto_autoscaling_kubernetes_common_proto protoreflect.FileDescriptor + +var file_proto_autoscaling_kubernetes_common_proto_rawDesc = []byte{ + 0x0a, 0x29, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x61, 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, + 0x69, 0x6e, 0x67, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2f, 0x63, + 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1e, 0x64, 0x61, 0x74, + 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, + 0x2e, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x1a, 0x2a, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x2f, 0x61, 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x2f, 0x6b, + 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4c, 0x0a, 0x05, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x17, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x48, 0x00, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x88, 0x01, 0x01, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, @@ -272,24 +269,24 @@ var file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_common } var ( - file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_common_proto_rawDescOnce sync.Once - file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_common_proto_rawDescData = file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_common_proto_rawDesc + file_proto_autoscaling_kubernetes_common_proto_rawDescOnce sync.Once + file_proto_autoscaling_kubernetes_common_proto_rawDescData = file_proto_autoscaling_kubernetes_common_proto_rawDesc ) -func file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_common_proto_rawDescGZIP() []byte { - file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_common_proto_rawDescOnce.Do(func() { - file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_common_proto_rawDescData = protoimpl.X.CompressGZIP(file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_common_proto_rawDescData) +func file_proto_autoscaling_kubernetes_common_proto_rawDescGZIP() []byte { + file_proto_autoscaling_kubernetes_common_proto_rawDescOnce.Do(func() { + file_proto_autoscaling_kubernetes_common_proto_rawDescData = protoimpl.X.CompressGZIP(file_proto_autoscaling_kubernetes_common_proto_rawDescData) }) - return file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_common_proto_rawDescData + return file_proto_autoscaling_kubernetes_common_proto_rawDescData } -var file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_common_proto_msgTypes = make([]protoimpl.MessageInfo, 3) -var file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_common_proto_goTypes = []interface{}{ +var file_proto_autoscaling_kubernetes_common_proto_msgTypes = make([]protoimpl.MessageInfo, 3) +var file_proto_autoscaling_kubernetes_common_proto_goTypes = []interface{}{ (*Error)(nil), // 0: datadog.autoscaling.kubernetes.Error (*WorkloadTargetRef)(nil), // 1: datadog.autoscaling.kubernetes.WorkloadTargetRef (*WorkloadState)(nil), // 2: datadog.autoscaling.kubernetes.WorkloadState } -var file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_common_proto_depIdxs = []int32{ +var file_proto_autoscaling_kubernetes_common_proto_depIdxs = []int32{ 0, // [0:0] is the sub-list for method output_type 0, // [0:0] is the sub-list for method input_type 0, // [0:0] is the sub-list for extension type_name @@ -297,15 +294,13 @@ var file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_common 0, // [0:0] is the sub-list for field type_name } -func init() { - file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_common_proto_init() -} -func file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_common_proto_init() { - if File_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_common_proto != nil { +func init() { file_proto_autoscaling_kubernetes_common_proto_init() } +func file_proto_autoscaling_kubernetes_common_proto_init() { + if File_proto_autoscaling_kubernetes_common_proto != nil { return } if !protoimpl.UnsafeEnabled { - file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_common_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_proto_autoscaling_kubernetes_common_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Error); i { case 0: return &v.state @@ -317,7 +312,7 @@ func file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_commo return nil } } - file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_common_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_proto_autoscaling_kubernetes_common_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*WorkloadTargetRef); i { case 0: return &v.state @@ -329,7 +324,7 @@ func file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_commo return nil } } - file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_common_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_proto_autoscaling_kubernetes_common_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*WorkloadState); i { case 0: return &v.state @@ -342,24 +337,24 @@ func file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_commo } } } - file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_common_proto_msgTypes[0].OneofWrappers = []interface{}{} - file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_common_proto_msgTypes[2].OneofWrappers = []interface{}{} + file_proto_autoscaling_kubernetes_common_proto_msgTypes[0].OneofWrappers = []interface{}{} + file_proto_autoscaling_kubernetes_common_proto_msgTypes[2].OneofWrappers = []interface{}{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_common_proto_rawDesc, + RawDescriptor: file_proto_autoscaling_kubernetes_common_proto_rawDesc, NumEnums: 0, NumMessages: 3, NumExtensions: 0, NumServices: 0, }, - GoTypes: file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_common_proto_goTypes, - DependencyIndexes: file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_common_proto_depIdxs, - MessageInfos: file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_common_proto_msgTypes, + GoTypes: file_proto_autoscaling_kubernetes_common_proto_goTypes, + DependencyIndexes: file_proto_autoscaling_kubernetes_common_proto_depIdxs, + MessageInfos: file_proto_autoscaling_kubernetes_common_proto_msgTypes, }.Build() - File_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_common_proto = out.File - file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_common_proto_rawDesc = nil - file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_common_proto_goTypes = nil - file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_common_proto_depIdxs = nil + File_proto_autoscaling_kubernetes_common_proto = out.File + file_proto_autoscaling_kubernetes_common_proto_rawDesc = nil + file_proto_autoscaling_kubernetes_common_proto_goTypes = nil + file_proto_autoscaling_kubernetes_common_proto_depIdxs = nil } diff --git a/autoscaling/kubernetes/recommender.pb.go b/autoscaling/kubernetes/recommender.pb.go index 05d682cb..f1e16a6e 100644 --- a/autoscaling/kubernetes/recommender.pb.go +++ b/autoscaling/kubernetes/recommender.pb.go @@ -2,7 +2,7 @@ // versions: // protoc-gen-go v1.34.1 // protoc v3.21.12 -// source: github.com/DataDog/agent-payload/v5/proto/autoscaling/kubernetes/recommender.proto +// source: proto/autoscaling/kubernetes/recommender.proto package kubernetes @@ -35,7 +35,7 @@ type WorkloadRecommendationsRequest struct { func (x *WorkloadRecommendationsRequest) Reset() { *x = WorkloadRecommendationsRequest{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_recommender_proto_msgTypes[0] + mi := &file_proto_autoscaling_kubernetes_recommender_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -48,7 +48,7 @@ func (x *WorkloadRecommendationsRequest) String() string { func (*WorkloadRecommendationsRequest) ProtoMessage() {} func (x *WorkloadRecommendationsRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_recommender_proto_msgTypes[0] + mi := &file_proto_autoscaling_kubernetes_recommender_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -61,7 +61,7 @@ func (x *WorkloadRecommendationsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use WorkloadRecommendationsRequest.ProtoReflect.Descriptor instead. func (*WorkloadRecommendationsRequest) Descriptor() ([]byte, []int) { - return file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_recommender_proto_rawDescGZIP(), []int{0} + return file_proto_autoscaling_kubernetes_recommender_proto_rawDescGZIP(), []int{0} } func (x *WorkloadRecommendationsRequest) GetRequests() []*WorkloadRecommendationRequest { @@ -87,7 +87,7 @@ type WorkloadRecommendationRequest struct { func (x *WorkloadRecommendationRequest) Reset() { *x = WorkloadRecommendationRequest{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_recommender_proto_msgTypes[1] + mi := &file_proto_autoscaling_kubernetes_recommender_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -100,7 +100,7 @@ func (x *WorkloadRecommendationRequest) String() string { func (*WorkloadRecommendationRequest) ProtoMessage() {} func (x *WorkloadRecommendationRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_recommender_proto_msgTypes[1] + mi := &file_proto_autoscaling_kubernetes_recommender_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -113,7 +113,7 @@ func (x *WorkloadRecommendationRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use WorkloadRecommendationRequest.ProtoReflect.Descriptor instead. func (*WorkloadRecommendationRequest) Descriptor() ([]byte, []int) { - return file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_recommender_proto_rawDescGZIP(), []int{1} + return file_proto_autoscaling_kubernetes_recommender_proto_rawDescGZIP(), []int{1} } func (x *WorkloadRecommendationRequest) GetTargetRef() *WorkloadTargetRef { @@ -164,7 +164,7 @@ type WorkloadRecommendationConstraints struct { func (x *WorkloadRecommendationConstraints) Reset() { *x = WorkloadRecommendationConstraints{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_recommender_proto_msgTypes[2] + mi := &file_proto_autoscaling_kubernetes_recommender_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -177,7 +177,7 @@ func (x *WorkloadRecommendationConstraints) String() string { func (*WorkloadRecommendationConstraints) ProtoMessage() {} func (x *WorkloadRecommendationConstraints) ProtoReflect() protoreflect.Message { - mi := &file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_recommender_proto_msgTypes[2] + mi := &file_proto_autoscaling_kubernetes_recommender_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -190,7 +190,7 @@ func (x *WorkloadRecommendationConstraints) ProtoReflect() protoreflect.Message // Deprecated: Use WorkloadRecommendationConstraints.ProtoReflect.Descriptor instead. func (*WorkloadRecommendationConstraints) Descriptor() ([]byte, []int) { - return file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_recommender_proto_rawDescGZIP(), []int{2} + return file_proto_autoscaling_kubernetes_recommender_proto_rawDescGZIP(), []int{2} } func (x *WorkloadRecommendationConstraints) GetMinReplicas() int32 { @@ -222,7 +222,7 @@ type WorkloadRecommendationTarget struct { func (x *WorkloadRecommendationTarget) Reset() { *x = WorkloadRecommendationTarget{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_recommender_proto_msgTypes[3] + mi := &file_proto_autoscaling_kubernetes_recommender_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -235,7 +235,7 @@ func (x *WorkloadRecommendationTarget) String() string { func (*WorkloadRecommendationTarget) ProtoMessage() {} func (x *WorkloadRecommendationTarget) ProtoReflect() protoreflect.Message { - mi := &file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_recommender_proto_msgTypes[3] + mi := &file_proto_autoscaling_kubernetes_recommender_proto_msgTypes[3] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -248,7 +248,7 @@ func (x *WorkloadRecommendationTarget) ProtoReflect() protoreflect.Message { // Deprecated: Use WorkloadRecommendationTarget.ProtoReflect.Descriptor instead. func (*WorkloadRecommendationTarget) Descriptor() ([]byte, []int) { - return file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_recommender_proto_rawDescGZIP(), []int{3} + return file_proto_autoscaling_kubernetes_recommender_proto_rawDescGZIP(), []int{3} } func (x *WorkloadRecommendationTarget) GetType() string { @@ -292,7 +292,7 @@ type WorkloadRecommendationsReply struct { func (x *WorkloadRecommendationsReply) Reset() { *x = WorkloadRecommendationsReply{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_recommender_proto_msgTypes[4] + mi := &file_proto_autoscaling_kubernetes_recommender_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -305,7 +305,7 @@ func (x *WorkloadRecommendationsReply) String() string { func (*WorkloadRecommendationsReply) ProtoMessage() {} func (x *WorkloadRecommendationsReply) ProtoReflect() protoreflect.Message { - mi := &file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_recommender_proto_msgTypes[4] + mi := &file_proto_autoscaling_kubernetes_recommender_proto_msgTypes[4] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -318,7 +318,7 @@ func (x *WorkloadRecommendationsReply) ProtoReflect() protoreflect.Message { // Deprecated: Use WorkloadRecommendationsReply.ProtoReflect.Descriptor instead. func (*WorkloadRecommendationsReply) Descriptor() ([]byte, []int) { - return file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_recommender_proto_rawDescGZIP(), []int{4} + return file_proto_autoscaling_kubernetes_recommender_proto_rawDescGZIP(), []int{4} } func (x *WorkloadRecommendationsReply) GetError() *Error { @@ -353,7 +353,7 @@ type WorkloadRecommendationReply struct { func (x *WorkloadRecommendationReply) Reset() { *x = WorkloadRecommendationReply{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_recommender_proto_msgTypes[5] + mi := &file_proto_autoscaling_kubernetes_recommender_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -366,7 +366,7 @@ func (x *WorkloadRecommendationReply) String() string { func (*WorkloadRecommendationReply) ProtoMessage() {} func (x *WorkloadRecommendationReply) ProtoReflect() protoreflect.Message { - mi := &file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_recommender_proto_msgTypes[5] + mi := &file_proto_autoscaling_kubernetes_recommender_proto_msgTypes[5] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -379,7 +379,7 @@ func (x *WorkloadRecommendationReply) ProtoReflect() protoreflect.Message { // Deprecated: Use WorkloadRecommendationReply.ProtoReflect.Descriptor instead. func (*WorkloadRecommendationReply) Descriptor() ([]byte, []int) { - return file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_recommender_proto_rawDescGZIP(), []int{5} + return file_proto_autoscaling_kubernetes_recommender_proto_rawDescGZIP(), []int{5} } func (x *WorkloadRecommendationReply) GetError() *Error { @@ -431,156 +431,151 @@ func (x *WorkloadRecommendationReply) GetReason() string { return "" } -var File_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_recommender_proto protoreflect.FileDescriptor +var File_proto_autoscaling_kubernetes_recommender_proto protoreflect.FileDescriptor -var file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_recommender_proto_rawDesc = []byte{ - 0x0a, 0x52, 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, 0x74, 0x6f, 0x2f, 0x61, 0x75, 0x74, 0x6f, - 0x73, 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, - 0x65, 0x73, 0x2f, 0x72, 0x65, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x61, 0x75, - 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x2e, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, - 0x65, 0x74, 0x65, 0x73, 0x1a, 0x4d, 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, 0x74, 0x6f, 0x2f, - 0x61, 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x2f, 0x6b, 0x75, 0x62, 0x65, - 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x1a, 0x36, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, - 0x68, 0x72, 0x75, 0x73, 0x74, 0x79, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2d, 0x67, 0x65, - 0x6e, 0x2d, 0x6a, 0x73, 0x6f, 0x6e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2f, 0x6f, 0x70, 0x74, - 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x82, 0x01, 0x0a, 0x1e, 0x57, - 0x6f, 0x72, 0x6b, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x64, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x59, 0x0a, - 0x08, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x3d, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x73, 0x63, +var file_proto_autoscaling_kubernetes_recommender_proto_rawDesc = []byte{ + 0x0a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x61, 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, + 0x69, 0x6e, 0x67, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2f, 0x72, + 0x65, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x12, 0x1e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x2e, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, - 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x63, 0x6f, 0x6d, 0x6d, 0x65, - 0x6e, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x08, - 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x3a, 0x05, 0xba, 0x46, 0x02, 0x20, 0x01, 0x22, - 0xc7, 0x04, 0x0a, 0x1d, 0x57, 0x6f, 0x72, 0x6b, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x63, 0x6f, - 0x6d, 0x6d, 0x65, 0x6e, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x56, 0x0a, 0x09, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x66, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x61, - 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x2e, 0x6b, 0x75, 0x62, 0x65, 0x72, - 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x6c, 0x6f, 0x61, 0x64, 0x54, 0x61, - 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x66, 0x42, 0x05, 0xaa, 0x46, 0x02, 0x10, 0x01, 0x52, 0x09, - 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x66, 0x12, 0x6a, 0x0a, 0x0b, 0x63, 0x6f, 0x6e, - 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x41, - 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, - 0x6c, 0x69, 0x6e, 0x67, 0x2e, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2e, - 0x57, 0x6f, 0x72, 0x6b, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, - 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, - 0x73, 0x42, 0x05, 0xaa, 0x46, 0x02, 0x10, 0x01, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x72, - 0x61, 0x69, 0x6e, 0x74, 0x73, 0x12, 0x43, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x61, - 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x2e, 0x6b, 0x75, 0x62, 0x65, 0x72, - 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x6c, 0x6f, 0x61, 0x64, 0x53, 0x74, - 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x56, 0x0a, 0x07, 0x74, 0x61, - 0x72, 0x67, 0x65, 0x74, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3c, 0x2e, 0x64, 0x61, + 0x1a, 0x29, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x61, 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, + 0x69, 0x6e, 0x67, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2f, 0x63, + 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2a, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x2f, 0x61, 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x2f, 0x6b, + 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x82, 0x01, 0x0a, 0x1e, 0x57, 0x6f, 0x72, 0x6b, 0x6c, + 0x6f, 0x61, 0x64, 0x52, 0x65, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x64, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x59, 0x0a, 0x08, 0x72, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3d, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x2e, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x64, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x07, 0x74, 0x61, 0x72, 0x67, 0x65, - 0x74, 0x73, 0x12, 0x67, 0x0a, 0x08, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x05, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x4b, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x61, - 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x2e, 0x6b, 0x75, 0x62, 0x65, 0x72, - 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, - 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x2e, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x45, 0x6e, 0x74, 0x72, - 0x79, 0x52, 0x08, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x1a, 0x53, 0x0a, 0x0d, 0x53, - 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, - 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2c, - 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, - 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, - 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, - 0x3a, 0x07, 0xba, 0x46, 0x04, 0x08, 0x01, 0x20, 0x01, 0x22, 0x7e, 0x0a, 0x21, 0x57, 0x6f, 0x72, - 0x6b, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x64, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x73, 0x12, 0x27, - 0x0a, 0x0b, 0x6d, 0x69, 0x6e, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x05, 0x42, 0x05, 0xaa, 0x46, 0x02, 0x10, 0x01, 0x52, 0x0b, 0x6d, 0x69, 0x6e, 0x52, - 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x12, 0x27, 0x0a, 0x0b, 0x6d, 0x61, 0x78, 0x52, 0x65, - 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x42, 0x05, 0xaa, 0x46, - 0x02, 0x10, 0x01, 0x52, 0x0b, 0x6d, 0x61, 0x78, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, - 0x3a, 0x07, 0xba, 0x46, 0x04, 0x08, 0x01, 0x20, 0x01, 0x22, 0xa4, 0x01, 0x0a, 0x1c, 0x57, 0x6f, - 0x72, 0x6b, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x64, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x19, 0x0a, 0x04, 0x74, 0x79, - 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x05, 0xaa, 0x46, 0x02, 0x10, 0x01, 0x52, - 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x56, - 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0b, 0x74, 0x61, 0x72, 0x67, - 0x65, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x6c, 0x6f, 0x77, 0x65, 0x72, - 0x42, 0x6f, 0x75, 0x6e, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0a, 0x6c, 0x6f, 0x77, - 0x65, 0x72, 0x42, 0x6f, 0x75, 0x6e, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x75, 0x70, 0x70, 0x65, 0x72, - 0x42, 0x6f, 0x75, 0x6e, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0a, 0x75, 0x70, 0x70, - 0x65, 0x72, 0x42, 0x6f, 0x75, 0x6e, 0x64, 0x3a, 0x07, 0xba, 0x46, 0x04, 0x08, 0x01, 0x20, 0x01, - 0x22, 0xc9, 0x01, 0x0a, 0x1c, 0x57, 0x6f, 0x72, 0x6b, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x63, - 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x70, 0x6c, - 0x79, 0x12, 0x3b, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x25, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x73, + 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x08, 0x72, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x73, 0x3a, 0x05, 0xba, 0x46, 0x02, 0x20, 0x01, 0x22, 0xc7, 0x04, 0x0a, 0x1d, + 0x57, 0x6f, 0x72, 0x6b, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, + 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x56, 0x0a, + 0x09, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x66, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x31, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x2e, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, - 0x73, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x65, - 0x0a, 0x0f, 0x72, 0x65, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3b, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, + 0x73, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x6c, 0x6f, 0x61, 0x64, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, + 0x52, 0x65, 0x66, 0x42, 0x05, 0xaa, 0x46, 0x02, 0x10, 0x01, 0x52, 0x09, 0x74, 0x61, 0x72, 0x67, + 0x65, 0x74, 0x52, 0x65, 0x66, 0x12, 0x6a, 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, + 0x69, 0x6e, 0x74, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x41, 0x2e, 0x64, 0x61, 0x74, + 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, + 0x2e, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2e, 0x57, 0x6f, 0x72, 0x6b, + 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x64, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x73, 0x42, 0x05, 0xaa, + 0x46, 0x02, 0x10, 0x01, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, + 0x73, 0x12, 0x43, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x2d, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x73, + 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x2e, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, + 0x73, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x6c, 0x6f, 0x61, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, + 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x56, 0x0a, 0x07, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, + 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3c, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x2e, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x6c, 0x6f, 0x61, - 0x64, 0x52, 0x65, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, - 0x65, 0x70, 0x6c, 0x79, 0x52, 0x0f, 0x72, 0x65, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x64, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x3a, 0x05, 0xba, 0x46, 0x02, 0x20, 0x01, 0x22, 0xeb, 0x03, 0x0a, - 0x1b, 0x57, 0x6f, 0x72, 0x6b, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x63, 0x6f, 0x6d, 0x6d, 0x65, - 0x6e, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x3b, 0x0a, 0x05, - 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x64, 0x61, - 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x69, 0x6e, - 0x67, 0x2e, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2e, 0x45, 0x72, 0x72, - 0x6f, 0x72, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x3f, 0x0a, 0x09, 0x74, 0x69, 0x6d, - 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, - 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, - 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x05, 0xaa, 0x46, 0x02, 0x10, 0x01, 0x52, - 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x2d, 0x0a, 0x0e, 0x74, 0x61, - 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x05, 0x42, 0x05, 0xaa, 0x46, 0x02, 0x10, 0x01, 0x52, 0x0e, 0x74, 0x61, 0x72, 0x67, 0x65, - 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x12, 0x33, 0x0a, 0x12, 0x6c, 0x6f, 0x77, - 0x65, 0x72, 0x42, 0x6f, 0x75, 0x6e, 0x64, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x05, 0x48, 0x00, 0x52, 0x12, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x42, 0x6f, - 0x75, 0x6e, 0x64, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x88, 0x01, 0x01, 0x12, 0x33, - 0x0a, 0x12, 0x75, 0x70, 0x70, 0x65, 0x72, 0x42, 0x6f, 0x75, 0x6e, 0x64, 0x52, 0x65, 0x70, 0x6c, - 0x69, 0x63, 0x61, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x48, 0x01, 0x52, 0x12, 0x75, 0x70, - 0x70, 0x65, 0x72, 0x42, 0x6f, 0x75, 0x6e, 0x64, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, - 0x88, 0x01, 0x01, 0x12, 0x66, 0x0a, 0x0f, 0x6f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x54, - 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3c, 0x2e, 0x64, + 0x64, 0x52, 0x65, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, + 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x07, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x12, 0x67, + 0x0a, 0x08, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x4b, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x73, + 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x2e, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, + 0x73, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x63, 0x6f, 0x6d, 0x6d, + 0x65, 0x6e, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, + 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x73, + 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x1a, 0x53, 0x0a, 0x0d, 0x53, 0x65, 0x74, 0x74, 0x69, + 0x6e, 0x67, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2c, 0x0a, 0x05, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x56, 0x61, 0x6c, 0x75, + 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x3a, 0x07, 0xba, 0x46, + 0x04, 0x08, 0x01, 0x20, 0x01, 0x22, 0x7e, 0x0a, 0x21, 0x57, 0x6f, 0x72, 0x6b, 0x6c, 0x6f, 0x61, + 0x64, 0x52, 0x65, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, + 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x73, 0x12, 0x27, 0x0a, 0x0b, 0x6d, 0x69, + 0x6e, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x42, + 0x05, 0xaa, 0x46, 0x02, 0x10, 0x01, 0x52, 0x0b, 0x6d, 0x69, 0x6e, 0x52, 0x65, 0x70, 0x6c, 0x69, + 0x63, 0x61, 0x73, 0x12, 0x27, 0x0a, 0x0b, 0x6d, 0x61, 0x78, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, + 0x61, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x42, 0x05, 0xaa, 0x46, 0x02, 0x10, 0x01, 0x52, + 0x0b, 0x6d, 0x61, 0x78, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x3a, 0x07, 0xba, 0x46, + 0x04, 0x08, 0x01, 0x20, 0x01, 0x22, 0xa4, 0x01, 0x0a, 0x1c, 0x57, 0x6f, 0x72, 0x6b, 0x6c, 0x6f, + 0x61, 0x64, 0x52, 0x65, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x19, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x42, 0x05, 0xaa, 0x46, 0x02, 0x10, 0x01, 0x52, 0x04, 0x74, 0x79, 0x70, + 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0b, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x56, 0x61, + 0x6c, 0x75, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x42, 0x6f, 0x75, 0x6e, + 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0a, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x42, 0x6f, + 0x75, 0x6e, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x75, 0x70, 0x70, 0x65, 0x72, 0x42, 0x6f, 0x75, 0x6e, + 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0a, 0x75, 0x70, 0x70, 0x65, 0x72, 0x42, 0x6f, + 0x75, 0x6e, 0x64, 0x3a, 0x07, 0xba, 0x46, 0x04, 0x08, 0x01, 0x20, 0x01, 0x22, 0xc9, 0x01, 0x0a, + 0x1c, 0x57, 0x6f, 0x72, 0x6b, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x63, 0x6f, 0x6d, 0x6d, 0x65, + 0x6e, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x3b, 0x0a, + 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x69, - 0x6e, 0x67, 0x2e, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2e, 0x57, 0x6f, - 0x72, 0x6b, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x64, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x0f, 0x6f, 0x62, 0x73, 0x65, - 0x72, 0x76, 0x65, 0x64, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x72, - 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x61, - 0x73, 0x6f, 0x6e, 0x3a, 0x07, 0xba, 0x46, 0x04, 0x08, 0x01, 0x20, 0x01, 0x42, 0x15, 0x0a, 0x13, - 0x5f, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x42, 0x6f, 0x75, 0x6e, 0x64, 0x52, 0x65, 0x70, 0x6c, 0x69, - 0x63, 0x61, 0x73, 0x42, 0x15, 0x0a, 0x13, 0x5f, 0x75, 0x70, 0x70, 0x65, 0x72, 0x42, 0x6f, 0x75, - 0x6e, 0x64, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x42, 0x3c, 0x5a, 0x3a, 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, 0x61, 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x2f, 0x6b, 0x75, - 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x6e, 0x67, 0x2e, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2e, 0x45, 0x72, + 0x72, 0x6f, 0x72, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x65, 0x0a, 0x0f, 0x72, 0x65, + 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x3b, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x61, 0x75, + 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x2e, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, + 0x65, 0x74, 0x65, 0x73, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x63, + 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x70, 0x6c, 0x79, + 0x52, 0x0f, 0x72, 0x65, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x3a, 0x05, 0xba, 0x46, 0x02, 0x20, 0x01, 0x22, 0xeb, 0x03, 0x0a, 0x1b, 0x57, 0x6f, 0x72, + 0x6b, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x64, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x3b, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, + 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, + 0x67, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x2e, 0x6b, 0x75, + 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x05, + 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x3f, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, + 0x6d, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, + 0x74, 0x61, 0x6d, 0x70, 0x42, 0x05, 0xaa, 0x46, 0x02, 0x10, 0x01, 0x52, 0x09, 0x74, 0x69, 0x6d, + 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x2d, 0x0a, 0x0e, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, + 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x42, 0x05, + 0xaa, 0x46, 0x02, 0x10, 0x01, 0x52, 0x0e, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x70, + 0x6c, 0x69, 0x63, 0x61, 0x73, 0x12, 0x33, 0x0a, 0x12, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x42, 0x6f, + 0x75, 0x6e, 0x64, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x05, 0x48, 0x00, 0x52, 0x12, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x42, 0x6f, 0x75, 0x6e, 0x64, 0x52, + 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x88, 0x01, 0x01, 0x12, 0x33, 0x0a, 0x12, 0x75, 0x70, + 0x70, 0x65, 0x72, 0x42, 0x6f, 0x75, 0x6e, 0x64, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x48, 0x01, 0x52, 0x12, 0x75, 0x70, 0x70, 0x65, 0x72, 0x42, + 0x6f, 0x75, 0x6e, 0x64, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x88, 0x01, 0x01, 0x12, + 0x66, 0x0a, 0x0f, 0x6f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x54, 0x61, 0x72, 0x67, 0x65, + 0x74, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3c, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, + 0x6f, 0x67, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x2e, 0x6b, + 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x6c, 0x6f, + 0x61, 0x64, 0x52, 0x65, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x0f, 0x6f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, + 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, + 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x3a, + 0x07, 0xba, 0x46, 0x04, 0x08, 0x01, 0x20, 0x01, 0x42, 0x15, 0x0a, 0x13, 0x5f, 0x6c, 0x6f, 0x77, + 0x65, 0x72, 0x42, 0x6f, 0x75, 0x6e, 0x64, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x42, + 0x15, 0x0a, 0x13, 0x5f, 0x75, 0x70, 0x70, 0x65, 0x72, 0x42, 0x6f, 0x75, 0x6e, 0x64, 0x52, 0x65, + 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x42, 0x3c, 0x5a, 0x3a, 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, 0x61, 0x75, + 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, + 0x65, 0x74, 0x65, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( - file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_recommender_proto_rawDescOnce sync.Once - file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_recommender_proto_rawDescData = file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_recommender_proto_rawDesc + file_proto_autoscaling_kubernetes_recommender_proto_rawDescOnce sync.Once + file_proto_autoscaling_kubernetes_recommender_proto_rawDescData = file_proto_autoscaling_kubernetes_recommender_proto_rawDesc ) -func file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_recommender_proto_rawDescGZIP() []byte { - file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_recommender_proto_rawDescOnce.Do(func() { - file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_recommender_proto_rawDescData = protoimpl.X.CompressGZIP(file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_recommender_proto_rawDescData) +func file_proto_autoscaling_kubernetes_recommender_proto_rawDescGZIP() []byte { + file_proto_autoscaling_kubernetes_recommender_proto_rawDescOnce.Do(func() { + file_proto_autoscaling_kubernetes_recommender_proto_rawDescData = protoimpl.X.CompressGZIP(file_proto_autoscaling_kubernetes_recommender_proto_rawDescData) }) - return file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_recommender_proto_rawDescData + return file_proto_autoscaling_kubernetes_recommender_proto_rawDescData } -var file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_recommender_proto_msgTypes = make([]protoimpl.MessageInfo, 7) -var file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_recommender_proto_goTypes = []interface{}{ +var file_proto_autoscaling_kubernetes_recommender_proto_msgTypes = make([]protoimpl.MessageInfo, 7) +var file_proto_autoscaling_kubernetes_recommender_proto_goTypes = []interface{}{ (*WorkloadRecommendationsRequest)(nil), // 0: datadog.autoscaling.kubernetes.WorkloadRecommendationsRequest (*WorkloadRecommendationRequest)(nil), // 1: datadog.autoscaling.kubernetes.WorkloadRecommendationRequest (*WorkloadRecommendationConstraints)(nil), // 2: datadog.autoscaling.kubernetes.WorkloadRecommendationConstraints @@ -594,7 +589,7 @@ var file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_recomm (*timestamppb.Timestamp)(nil), // 10: google.protobuf.Timestamp (*structpb.Value)(nil), // 11: google.protobuf.Value } -var file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_recommender_proto_depIdxs = []int32{ +var file_proto_autoscaling_kubernetes_recommender_proto_depIdxs = []int32{ 1, // 0: datadog.autoscaling.kubernetes.WorkloadRecommendationsRequest.requests:type_name -> datadog.autoscaling.kubernetes.WorkloadRecommendationRequest 7, // 1: datadog.autoscaling.kubernetes.WorkloadRecommendationRequest.targetRef:type_name -> datadog.autoscaling.kubernetes.WorkloadTargetRef 2, // 2: datadog.autoscaling.kubernetes.WorkloadRecommendationRequest.constraints:type_name -> datadog.autoscaling.kubernetes.WorkloadRecommendationConstraints @@ -614,16 +609,14 @@ var file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_recomm 0, // [0:12] is the sub-list for field type_name } -func init() { - file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_recommender_proto_init() -} -func file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_recommender_proto_init() { - if File_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_recommender_proto != nil { +func init() { file_proto_autoscaling_kubernetes_recommender_proto_init() } +func file_proto_autoscaling_kubernetes_recommender_proto_init() { + if File_proto_autoscaling_kubernetes_recommender_proto != nil { return } - file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_common_proto_init() + file_proto_autoscaling_kubernetes_common_proto_init() if !protoimpl.UnsafeEnabled { - file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_recommender_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_proto_autoscaling_kubernetes_recommender_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*WorkloadRecommendationsRequest); i { case 0: return &v.state @@ -635,7 +628,7 @@ func file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_recom return nil } } - file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_recommender_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_proto_autoscaling_kubernetes_recommender_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*WorkloadRecommendationRequest); i { case 0: return &v.state @@ -647,7 +640,7 @@ func file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_recom return nil } } - file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_recommender_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_proto_autoscaling_kubernetes_recommender_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*WorkloadRecommendationConstraints); i { case 0: return &v.state @@ -659,7 +652,7 @@ func file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_recom return nil } } - file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_recommender_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_proto_autoscaling_kubernetes_recommender_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*WorkloadRecommendationTarget); i { case 0: return &v.state @@ -671,7 +664,7 @@ func file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_recom return nil } } - file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_recommender_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_proto_autoscaling_kubernetes_recommender_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*WorkloadRecommendationsReply); i { case 0: return &v.state @@ -683,7 +676,7 @@ func file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_recom return nil } } - file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_recommender_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_proto_autoscaling_kubernetes_recommender_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*WorkloadRecommendationReply); i { case 0: return &v.state @@ -696,23 +689,23 @@ func file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_recom } } } - file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_recommender_proto_msgTypes[5].OneofWrappers = []interface{}{} + file_proto_autoscaling_kubernetes_recommender_proto_msgTypes[5].OneofWrappers = []interface{}{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_recommender_proto_rawDesc, + RawDescriptor: file_proto_autoscaling_kubernetes_recommender_proto_rawDesc, NumEnums: 0, NumMessages: 7, NumExtensions: 0, NumServices: 0, }, - GoTypes: file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_recommender_proto_goTypes, - DependencyIndexes: file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_recommender_proto_depIdxs, - MessageInfos: file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_recommender_proto_msgTypes, + GoTypes: file_proto_autoscaling_kubernetes_recommender_proto_goTypes, + DependencyIndexes: file_proto_autoscaling_kubernetes_recommender_proto_depIdxs, + MessageInfos: file_proto_autoscaling_kubernetes_recommender_proto_msgTypes, }.Build() - File_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_recommender_proto = out.File - file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_recommender_proto_rawDesc = nil - file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_recommender_proto_goTypes = nil - file_github_com_DataDog_agent_payload_v5_proto_autoscaling_kubernetes_recommender_proto_depIdxs = nil + File_proto_autoscaling_kubernetes_recommender_proto = out.File + file_proto_autoscaling_kubernetes_recommender_proto_rawDesc = nil + file_proto_autoscaling_kubernetes_recommender_proto_goTypes = nil + file_proto_autoscaling_kubernetes_recommender_proto_depIdxs = nil } diff --git a/jsonschema/EnumOptions.json b/jsonschema/EnumOptions.json new file mode 100644 index 00000000..848ced02 --- /dev/null +++ b/jsonschema/EnumOptions.json @@ -0,0 +1,30 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/EnumOptions", + "definitions": { + "EnumOptions": { + "properties": { + "enums_as_constants": { + "type": "boolean", + "description": "Enums tagged with this will have be encoded to use constants instead of simple types (supports value annotations):" + }, + "enums_as_strings_only": { + "type": "boolean", + "description": "Enums tagged with this will only provide string values as options (not their numerical equivalents):" + }, + "enums_trim_prefix": { + "type": "boolean", + "description": "Enums tagged with this will have enum name prefix removed from values:" + }, + "ignore": { + "type": "boolean", + "description": "Enums tagged with this will not be processed" + } + }, + "additionalProperties": true, + "type": "object", + "title": "Enum Options", + "description": "Custom EnumOptions" + } + } +} \ No newline at end of file diff --git a/jsonschema/FieldOptions.json b/jsonschema/FieldOptions.json new file mode 100644 index 00000000..d7721f89 --- /dev/null +++ b/jsonschema/FieldOptions.json @@ -0,0 +1,34 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/FieldOptions", + "definitions": { + "FieldOptions": { + "properties": { + "ignore": { + "type": "boolean", + "description": "Fields tagged with this will be omitted from generated schemas" + }, + "required": { + "type": "boolean", + "description": "Fields tagged with this will be marked as \"required\" in generated schemas" + }, + "min_length": { + "type": "integer", + "description": "Fields tagged with this will constrain strings using the \"minLength\" keyword in generated schemas" + }, + "max_length": { + "type": "integer", + "description": "Fields tagged with this will constrain strings using the \"maxLength\" keyword in generated schemas" + }, + "pattern": { + "type": "string", + "description": "Fields tagged with this will constrain strings using the \"pattern\" keyword in generated schemas" + } + }, + "additionalProperties": true, + "type": "object", + "title": "Field Options", + "description": "Custom FieldOptions" + } + } +} \ No newline at end of file diff --git a/jsonschema/FileOptions.json b/jsonschema/FileOptions.json new file mode 100644 index 00000000..e2837e7a --- /dev/null +++ b/jsonschema/FileOptions.json @@ -0,0 +1,22 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/FileOptions", + "definitions": { + "FileOptions": { + "properties": { + "ignore": { + "type": "boolean", + "description": "Files tagged with this will not be processed" + }, + "extension": { + "type": "string", + "description": "Override the default file extension for schemas generated from this file" + } + }, + "additionalProperties": true, + "type": "object", + "title": "File Options", + "description": "Custom FileOptions" + } + } +} \ No newline at end of file diff --git a/jsonschema/MessageOptions.json b/jsonschema/MessageOptions.json new file mode 100644 index 00000000..f36a426e --- /dev/null +++ b/jsonschema/MessageOptions.json @@ -0,0 +1,34 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/MessageOptions", + "definitions": { + "MessageOptions": { + "properties": { + "ignore": { + "type": "boolean", + "description": "Messages tagged with this will not be processed" + }, + "all_fields_required": { + "type": "boolean", + "description": "Messages tagged with this will have all fields marked as \"required\":" + }, + "allow_null_values": { + "type": "boolean", + "description": "Messages tagged with this will additionally accept null values for all properties:" + }, + "disallow_additional_properties": { + "type": "boolean", + "description": "Messages tagged with this will have all fields marked as not allowing additional properties:" + }, + "enums_as_constants": { + "type": "boolean", + "description": "Messages tagged with this will have all nested enums encoded to use constants instead of simple types (supports value annotations):" + } + }, + "additionalProperties": true, + "type": "object", + "title": "Message Options", + "description": "Custom MessageOptions" + } + } +} \ No newline at end of file diff --git a/proto/autoscaling/kubernetes/BUILD.bazel b/proto/autoscaling/kubernetes/BUILD.bazel index b23637b8..acea4c28 100644 --- a/proto/autoscaling/kubernetes/BUILD.bazel +++ b/proto/autoscaling/kubernetes/BUILD.bazel @@ -5,7 +5,13 @@ proto_library( srcs = [ "autoscaling.proto", "common.proto", + "options.proto", "recommender.proto", ], visibility = ["//visibility:public"], + deps = [ + "@com_google_protobuf//:descriptor_proto", + "@com_google_protobuf//:struct_proto", + "@com_google_protobuf//:timestamp_proto", + ] ) diff --git a/proto/autoscaling/kubernetes/autoscaling.proto b/proto/autoscaling/kubernetes/autoscaling.proto index b8bd5f71..d4fadea1 100644 --- a/proto/autoscaling/kubernetes/autoscaling.proto +++ b/proto/autoscaling/kubernetes/autoscaling.proto @@ -4,10 +4,9 @@ option go_package = "github.com/DataDog/agent-payload/v5/autoscaling/kubernetes" package datadog.autoscaling.kubernetes; -import "github.com/DataDog/agent-payload/v5/proto/autoscaling/kubernetes/common.proto"; - +import "proto/autoscaling/kubernetes/common.proto"; +import "proto/autoscaling/kubernetes/options.proto"; import "google/protobuf/timestamp.proto"; -import "github.com/chrusty/protoc-gen-jsonschema/options.proto"; // WorkloadValuesList represents a list of workload values message WorkloadValuesList { @@ -35,7 +34,7 @@ message WorkloadHorizontalValues { option (protoc.gen.jsonschema.message_options).ignore = true; Error error = 1; // Error is the error message if new values cannot be calculated - + WorkloadHorizontalData manual = 2; // Manual is the manual override values for the workload WorkloadHorizontalData auto = 3; // Auto is the periodic recommendation values for the workload } diff --git a/proto/autoscaling/kubernetes/common.proto b/proto/autoscaling/kubernetes/common.proto index faf42711..b39abafc 100644 --- a/proto/autoscaling/kubernetes/common.proto +++ b/proto/autoscaling/kubernetes/common.proto @@ -4,7 +4,7 @@ option go_package = "github.com/DataDog/agent-payload/v5/autoscaling/kubernetes" package datadog.autoscaling.kubernetes; -import "github.com/chrusty/protoc-gen-jsonschema/options.proto"; +import "proto/autoscaling/kubernetes/options.proto"; // Error represents an error message message Error { diff --git a/proto/autoscaling/kubernetes/options.proto b/proto/autoscaling/kubernetes/options.proto new file mode 100644 index 00000000..85c1d517 --- /dev/null +++ b/proto/autoscaling/kubernetes/options.proto @@ -0,0 +1,93 @@ +// Custom options for protoc-gen-jsonschema +// Allocated range is 1125-1129 +// See https://github.com/protocolbuffers/protobuf/blob/master/docs/options.md + +syntax = "proto3"; +package protoc.gen.jsonschema; +import "google/protobuf/descriptor.proto"; +option go_package = "github.com/chrusty/protoc-gen-jsonschema"; + + +// Custom FieldOptions +message FieldOptions { + + // Fields tagged with this will be omitted from generated schemas + bool ignore = 1; + + // Fields tagged with this will be marked as "required" in generated schemas + bool required = 2; + + // Fields tagged with this will constrain strings using the "minLength" keyword in generated schemas + int32 min_length = 3; + + // Fields tagged with this will constrain strings using the "maxLength" keyword in generated schemas + int32 max_length = 4; + + // Fields tagged with this will constrain strings using the "pattern" keyword in generated schemas + string pattern = 5; +} + + +// Custom FileOptions +message FileOptions { + + // Files tagged with this will not be processed + bool ignore = 1; + + // Override the default file extension for schemas generated from this file + string extension = 2; +} + + +// Custom MessageOptions +message MessageOptions { + + // Messages tagged with this will not be processed + bool ignore = 1; + + // Messages tagged with this will have all fields marked as "required": + bool all_fields_required = 2; + + // Messages tagged with this will additionally accept null values for all properties: + bool allow_null_values = 3; + + // Messages tagged with this will have all fields marked as not allowing additional properties: + bool disallow_additional_properties = 4; + + // Messages tagged with this will have all nested enums encoded to use constants instead of simple types (supports value annotations): + bool enums_as_constants = 5; +} + + +// Custom EnumOptions +message EnumOptions { + + // Enums tagged with this will have be encoded to use constants instead of simple types (supports value annotations): + bool enums_as_constants = 1; + + // Enums tagged with this will only provide string values as options (not their numerical equivalents): + bool enums_as_strings_only = 2; + + // Enums tagged with this will have enum name prefix removed from values: + bool enums_trim_prefix = 3; + + // Enums tagged with this will not be processed + bool ignore = 4; +} + + +extend google.protobuf.FieldOptions { + FieldOptions field_options = 1125; +} + +extend google.protobuf.FileOptions { + FileOptions file_options = 1126; +} + +extend google.protobuf.MessageOptions { + MessageOptions message_options = 1127; +} + +extend google.protobuf.EnumOptions { + EnumOptions enum_options = 1128; +} diff --git a/proto/autoscaling/kubernetes/recommender.proto b/proto/autoscaling/kubernetes/recommender.proto index 2c15df2c..d44e75a1 100644 --- a/proto/autoscaling/kubernetes/recommender.proto +++ b/proto/autoscaling/kubernetes/recommender.proto @@ -4,11 +4,10 @@ option go_package = "github.com/DataDog/agent-payload/v5/autoscaling/kubernetes" package datadog.autoscaling.kubernetes; -import "github.com/DataDog/agent-payload/v5/proto/autoscaling/kubernetes/common.proto"; - -import "google/protobuf/timestamp.proto"; +import "proto/autoscaling/kubernetes/common.proto"; +import "proto/autoscaling/kubernetes/options.proto"; import "google/protobuf/struct.proto"; -import "github.com/chrusty/protoc-gen-jsonschema/options.proto"; +import "google/protobuf/timestamp.proto"; // WorkloadValuesList represents a list of workload recommendation requests message WorkloadRecommendationsRequest { @@ -72,4 +71,4 @@ message WorkloadRecommendationReply { optional int32 upperBoundReplicas = 5; // UpperBoundReplicas is the number of replicas based on upperBound input repeated WorkloadRecommendationTarget observedTargets = 6; // ObservedTargets is the list of observed targets (only the targetValue will be set) string reason = 7; // Reason explains recommender decision -} \ No newline at end of file +}