diff --git a/integration/benchmark/proto/macro_benchmark.pb.go b/integration/benchmark/proto/macro_benchmark.pb.go index 15fdb7b4cf9..ce5b1ad4b92 100644 --- a/integration/benchmark/proto/macro_benchmark.pb.go +++ b/integration/benchmark/proto/macro_benchmark.pb.go @@ -1,435 +1,241 @@ // Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.28.1 -// protoc v3.21.9 // source: macro_benchmark.proto package proto import ( - reflect "reflect" - sync "sync" - - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - emptypb "google.golang.org/protobuf/types/known/emptypb" + fmt "fmt" + proto "github.com/golang/protobuf/proto" + _ "google.golang.org/protobuf/types/known/emptypb" + math "math" ) -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf -type StartMacroBenchmarkRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package -func (x *StartMacroBenchmarkRequest) Reset() { - *x = StartMacroBenchmarkRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_macro_benchmark_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +type StartMacroBenchmarkRequest struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *StartMacroBenchmarkRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *StartMacroBenchmarkRequest) Reset() { *m = StartMacroBenchmarkRequest{} } +func (m *StartMacroBenchmarkRequest) String() string { return proto.CompactTextString(m) } +func (*StartMacroBenchmarkRequest) ProtoMessage() {} +func (*StartMacroBenchmarkRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_ed2dd82fd2d82a07, []int{0} } -func (*StartMacroBenchmarkRequest) ProtoMessage() {} - -func (x *StartMacroBenchmarkRequest) ProtoReflect() protoreflect.Message { - mi := &file_macro_benchmark_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *StartMacroBenchmarkRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_StartMacroBenchmarkRequest.Unmarshal(m, b) } - -// Deprecated: Use StartMacroBenchmarkRequest.ProtoReflect.Descriptor instead. -func (*StartMacroBenchmarkRequest) Descriptor() ([]byte, []int) { - return file_macro_benchmark_proto_rawDescGZIP(), []int{0} +func (m *StartMacroBenchmarkRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_StartMacroBenchmarkRequest.Marshal(b, m, deterministic) } - -type StartMacroBenchmarkResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields +func (m *StartMacroBenchmarkRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_StartMacroBenchmarkRequest.Merge(m, src) } - -func (x *StartMacroBenchmarkResponse) Reset() { - *x = StartMacroBenchmarkResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_macro_benchmark_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *StartMacroBenchmarkRequest) XXX_Size() int { + return xxx_messageInfo_StartMacroBenchmarkRequest.Size(m) } - -func (x *StartMacroBenchmarkResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *StartMacroBenchmarkRequest) XXX_DiscardUnknown() { + xxx_messageInfo_StartMacroBenchmarkRequest.DiscardUnknown(m) } -func (*StartMacroBenchmarkResponse) ProtoMessage() {} +var xxx_messageInfo_StartMacroBenchmarkRequest proto.InternalMessageInfo -func (x *StartMacroBenchmarkResponse) ProtoReflect() protoreflect.Message { - mi := &file_macro_benchmark_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +type StartMacroBenchmarkResponse struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -// Deprecated: Use StartMacroBenchmarkResponse.ProtoReflect.Descriptor instead. +func (m *StartMacroBenchmarkResponse) Reset() { *m = StartMacroBenchmarkResponse{} } +func (m *StartMacroBenchmarkResponse) String() string { return proto.CompactTextString(m) } +func (*StartMacroBenchmarkResponse) ProtoMessage() {} func (*StartMacroBenchmarkResponse) Descriptor() ([]byte, []int) { - return file_macro_benchmark_proto_rawDescGZIP(), []int{1} + return fileDescriptor_ed2dd82fd2d82a07, []int{1} } -type GetMacroBenchmarkRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields +func (m *StartMacroBenchmarkResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_StartMacroBenchmarkResponse.Unmarshal(m, b) } - -func (x *GetMacroBenchmarkRequest) Reset() { - *x = GetMacroBenchmarkRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_macro_benchmark_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *StartMacroBenchmarkResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_StartMacroBenchmarkResponse.Marshal(b, m, deterministic) } - -func (x *GetMacroBenchmarkRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *StartMacroBenchmarkResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_StartMacroBenchmarkResponse.Merge(m, src) +} +func (m *StartMacroBenchmarkResponse) XXX_Size() int { + return xxx_messageInfo_StartMacroBenchmarkResponse.Size(m) +} +func (m *StartMacroBenchmarkResponse) XXX_DiscardUnknown() { + xxx_messageInfo_StartMacroBenchmarkResponse.DiscardUnknown(m) } -func (*GetMacroBenchmarkRequest) ProtoMessage() {} +var xxx_messageInfo_StartMacroBenchmarkResponse proto.InternalMessageInfo -func (x *GetMacroBenchmarkRequest) ProtoReflect() protoreflect.Message { - mi := &file_macro_benchmark_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +type GetMacroBenchmarkRequest struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -// Deprecated: Use GetMacroBenchmarkRequest.ProtoReflect.Descriptor instead. +func (m *GetMacroBenchmarkRequest) Reset() { *m = GetMacroBenchmarkRequest{} } +func (m *GetMacroBenchmarkRequest) String() string { return proto.CompactTextString(m) } +func (*GetMacroBenchmarkRequest) ProtoMessage() {} func (*GetMacroBenchmarkRequest) Descriptor() ([]byte, []int) { - return file_macro_benchmark_proto_rawDescGZIP(), []int{2} + return fileDescriptor_ed2dd82fd2d82a07, []int{2} } -type GetMacroBenchmarkResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields +func (m *GetMacroBenchmarkRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetMacroBenchmarkRequest.Unmarshal(m, b) } - -func (x *GetMacroBenchmarkResponse) Reset() { - *x = GetMacroBenchmarkResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_macro_benchmark_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *GetMacroBenchmarkRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetMacroBenchmarkRequest.Marshal(b, m, deterministic) } - -func (x *GetMacroBenchmarkResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *GetMacroBenchmarkRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetMacroBenchmarkRequest.Merge(m, src) +} +func (m *GetMacroBenchmarkRequest) XXX_Size() int { + return xxx_messageInfo_GetMacroBenchmarkRequest.Size(m) +} +func (m *GetMacroBenchmarkRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetMacroBenchmarkRequest.DiscardUnknown(m) } -func (*GetMacroBenchmarkResponse) ProtoMessage() {} +var xxx_messageInfo_GetMacroBenchmarkRequest proto.InternalMessageInfo -func (x *GetMacroBenchmarkResponse) ProtoReflect() protoreflect.Message { - mi := &file_macro_benchmark_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +type GetMacroBenchmarkResponse struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -// Deprecated: Use GetMacroBenchmarkResponse.ProtoReflect.Descriptor instead. +func (m *GetMacroBenchmarkResponse) Reset() { *m = GetMacroBenchmarkResponse{} } +func (m *GetMacroBenchmarkResponse) String() string { return proto.CompactTextString(m) } +func (*GetMacroBenchmarkResponse) ProtoMessage() {} func (*GetMacroBenchmarkResponse) Descriptor() ([]byte, []int) { - return file_macro_benchmark_proto_rawDescGZIP(), []int{3} + return fileDescriptor_ed2dd82fd2d82a07, []int{3} } -type ListMacroBenchmarksResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields +func (m *GetMacroBenchmarkResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetMacroBenchmarkResponse.Unmarshal(m, b) } - -func (x *ListMacroBenchmarksResponse) Reset() { - *x = ListMacroBenchmarksResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_macro_benchmark_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *GetMacroBenchmarkResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetMacroBenchmarkResponse.Marshal(b, m, deterministic) } - -func (x *ListMacroBenchmarksResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *GetMacroBenchmarkResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetMacroBenchmarkResponse.Merge(m, src) +} +func (m *GetMacroBenchmarkResponse) XXX_Size() int { + return xxx_messageInfo_GetMacroBenchmarkResponse.Size(m) +} +func (m *GetMacroBenchmarkResponse) XXX_DiscardUnknown() { + xxx_messageInfo_GetMacroBenchmarkResponse.DiscardUnknown(m) } -func (*ListMacroBenchmarksResponse) ProtoMessage() {} +var xxx_messageInfo_GetMacroBenchmarkResponse proto.InternalMessageInfo -func (x *ListMacroBenchmarksResponse) ProtoReflect() protoreflect.Message { - mi := &file_macro_benchmark_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +type ListMacroBenchmarksResponse struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -// Deprecated: Use ListMacroBenchmarksResponse.ProtoReflect.Descriptor instead. +func (m *ListMacroBenchmarksResponse) Reset() { *m = ListMacroBenchmarksResponse{} } +func (m *ListMacroBenchmarksResponse) String() string { return proto.CompactTextString(m) } +func (*ListMacroBenchmarksResponse) ProtoMessage() {} func (*ListMacroBenchmarksResponse) Descriptor() ([]byte, []int) { - return file_macro_benchmark_proto_rawDescGZIP(), []int{4} + return fileDescriptor_ed2dd82fd2d82a07, []int{4} } -type StatusResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields +func (m *ListMacroBenchmarksResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListMacroBenchmarksResponse.Unmarshal(m, b) } - -func (x *StatusResponse) Reset() { - *x = StatusResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_macro_benchmark_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *ListMacroBenchmarksResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListMacroBenchmarksResponse.Marshal(b, m, deterministic) } - -func (x *StatusResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *ListMacroBenchmarksResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListMacroBenchmarksResponse.Merge(m, src) } - -func (*StatusResponse) ProtoMessage() {} - -func (x *StatusResponse) ProtoReflect() protoreflect.Message { - mi := &file_macro_benchmark_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *ListMacroBenchmarksResponse) XXX_Size() int { + return xxx_messageInfo_ListMacroBenchmarksResponse.Size(m) } - -// Deprecated: Use StatusResponse.ProtoReflect.Descriptor instead. -func (*StatusResponse) Descriptor() ([]byte, []int) { - return file_macro_benchmark_proto_rawDescGZIP(), []int{5} +func (m *ListMacroBenchmarksResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListMacroBenchmarksResponse.DiscardUnknown(m) } -var File_macro_benchmark_proto protoreflect.FileDescriptor +var xxx_messageInfo_ListMacroBenchmarksResponse proto.InternalMessageInfo -var file_macro_benchmark_proto_rawDesc = []byte{ - 0x0a, 0x15, 0x6d, 0x61, 0x63, 0x72, 0x6f, 0x5f, 0x62, 0x65, 0x6e, 0x63, 0x68, 0x6d, 0x61, 0x72, - 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x09, 0x62, 0x65, 0x6e, 0x63, 0x68, 0x6d, 0x61, - 0x72, 0x6b, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, - 0x1c, 0x0a, 0x1a, 0x53, 0x74, 0x61, 0x72, 0x74, 0x4d, 0x61, 0x63, 0x72, 0x6f, 0x42, 0x65, 0x6e, - 0x63, 0x68, 0x6d, 0x61, 0x72, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x1d, 0x0a, - 0x1b, 0x53, 0x74, 0x61, 0x72, 0x74, 0x4d, 0x61, 0x63, 0x72, 0x6f, 0x42, 0x65, 0x6e, 0x63, 0x68, - 0x6d, 0x61, 0x72, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1a, 0x0a, 0x18, - 0x47, 0x65, 0x74, 0x4d, 0x61, 0x63, 0x72, 0x6f, 0x42, 0x65, 0x6e, 0x63, 0x68, 0x6d, 0x61, 0x72, - 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x1b, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x4d, - 0x61, 0x63, 0x72, 0x6f, 0x42, 0x65, 0x6e, 0x63, 0x68, 0x6d, 0x61, 0x72, 0x6b, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1d, 0x0a, 0x1b, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x61, 0x63, - 0x72, 0x6f, 0x42, 0x65, 0x6e, 0x63, 0x68, 0x6d, 0x61, 0x72, 0x6b, 0x73, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x10, 0x0a, 0x0e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0xef, 0x02, 0x0a, 0x09, 0x42, 0x65, 0x6e, 0x63, 0x68, - 0x6d, 0x61, 0x72, 0x6b, 0x12, 0x68, 0x0a, 0x13, 0x53, 0x74, 0x61, 0x72, 0x74, 0x4d, 0x61, 0x63, - 0x72, 0x6f, 0x42, 0x65, 0x6e, 0x63, 0x68, 0x6d, 0x61, 0x72, 0x6b, 0x12, 0x25, 0x2e, 0x62, 0x65, - 0x6e, 0x63, 0x68, 0x6d, 0x61, 0x72, 0x6b, 0x2e, 0x53, 0x74, 0x61, 0x72, 0x74, 0x4d, 0x61, 0x63, - 0x72, 0x6f, 0x42, 0x65, 0x6e, 0x63, 0x68, 0x6d, 0x61, 0x72, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x62, 0x65, 0x6e, 0x63, 0x68, 0x6d, 0x61, 0x72, 0x6b, 0x2e, 0x53, - 0x74, 0x61, 0x72, 0x74, 0x4d, 0x61, 0x63, 0x72, 0x6f, 0x42, 0x65, 0x6e, 0x63, 0x68, 0x6d, 0x61, - 0x72, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, 0x60, - 0x0a, 0x11, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x63, 0x72, 0x6f, 0x42, 0x65, 0x6e, 0x63, 0x68, 0x6d, - 0x61, 0x72, 0x6b, 0x12, 0x23, 0x2e, 0x62, 0x65, 0x6e, 0x63, 0x68, 0x6d, 0x61, 0x72, 0x6b, 0x2e, - 0x47, 0x65, 0x74, 0x4d, 0x61, 0x63, 0x72, 0x6f, 0x42, 0x65, 0x6e, 0x63, 0x68, 0x6d, 0x61, 0x72, - 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x62, 0x65, 0x6e, 0x63, 0x68, - 0x6d, 0x61, 0x72, 0x6b, 0x2e, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x63, 0x72, 0x6f, 0x42, 0x65, 0x6e, - 0x63, 0x68, 0x6d, 0x61, 0x72, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, - 0x12, 0x57, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x61, 0x63, 0x72, 0x6f, 0x42, 0x65, 0x6e, - 0x63, 0x68, 0x6d, 0x61, 0x72, 0x6b, 0x73, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, - 0x26, 0x2e, 0x62, 0x65, 0x6e, 0x63, 0x68, 0x6d, 0x61, 0x72, 0x6b, 0x2e, 0x4c, 0x69, 0x73, 0x74, - 0x4d, 0x61, 0x63, 0x72, 0x6f, 0x42, 0x65, 0x6e, 0x63, 0x68, 0x6d, 0x61, 0x72, 0x6b, 0x73, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x3d, 0x0a, 0x06, 0x53, 0x74, 0x61, - 0x74, 0x75, 0x73, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x19, 0x2e, 0x62, 0x65, - 0x6e, 0x63, 0x68, 0x6d, 0x61, 0x72, 0x6b, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x37, 0x5a, 0x35, 0x67, 0x69, 0x74, 0x68, - 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6f, 0x6e, 0x66, 0x6c, 0x6f, 0x77, 0x2f, 0x66, 0x6c, - 0x6f, 0x77, 0x2d, 0x67, 0x6f, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x2f, 0x62, 0x65, 0x63, 0x6e, 0x68, 0x6d, 0x61, 0x72, 0x6b, 0x2f, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_macro_benchmark_proto_rawDescOnce sync.Once - file_macro_benchmark_proto_rawDescData = file_macro_benchmark_proto_rawDesc -) - -func file_macro_benchmark_proto_rawDescGZIP() []byte { - file_macro_benchmark_proto_rawDescOnce.Do(func() { - file_macro_benchmark_proto_rawDescData = protoimpl.X.CompressGZIP(file_macro_benchmark_proto_rawDescData) - }) - return file_macro_benchmark_proto_rawDescData -} - -var file_macro_benchmark_proto_msgTypes = make([]protoimpl.MessageInfo, 6) -var file_macro_benchmark_proto_goTypes = []interface{}{ - (*StartMacroBenchmarkRequest)(nil), // 0: benchmark.StartMacroBenchmarkRequest - (*StartMacroBenchmarkResponse)(nil), // 1: benchmark.StartMacroBenchmarkResponse - (*GetMacroBenchmarkRequest)(nil), // 2: benchmark.GetMacroBenchmarkRequest - (*GetMacroBenchmarkResponse)(nil), // 3: benchmark.GetMacroBenchmarkResponse - (*ListMacroBenchmarksResponse)(nil), // 4: benchmark.ListMacroBenchmarksResponse - (*StatusResponse)(nil), // 5: benchmark.StatusResponse - (*emptypb.Empty)(nil), // 6: google.protobuf.Empty -} -var file_macro_benchmark_proto_depIdxs = []int32{ - 0, // 0: benchmark.Benchmark.StartMacroBenchmark:input_type -> benchmark.StartMacroBenchmarkRequest - 2, // 1: benchmark.Benchmark.GetMacroBenchmark:input_type -> benchmark.GetMacroBenchmarkRequest - 6, // 2: benchmark.Benchmark.ListMacroBenchmarks:input_type -> google.protobuf.Empty - 6, // 3: benchmark.Benchmark.Status:input_type -> google.protobuf.Empty - 1, // 4: benchmark.Benchmark.StartMacroBenchmark:output_type -> benchmark.StartMacroBenchmarkResponse - 3, // 5: benchmark.Benchmark.GetMacroBenchmark:output_type -> benchmark.GetMacroBenchmarkResponse - 4, // 6: benchmark.Benchmark.ListMacroBenchmarks:output_type -> benchmark.ListMacroBenchmarksResponse - 5, // 7: benchmark.Benchmark.Status:output_type -> benchmark.StatusResponse - 4, // [4:8] is the sub-list for method output_type - 0, // [0:4] is the sub-list for method input_type - 0, // [0:0] is the sub-list for extension type_name - 0, // [0:0] is the sub-list for extension extendee - 0, // [0:0] is the sub-list for field type_name +type StatusResponse struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func init() { file_macro_benchmark_proto_init() } -func file_macro_benchmark_proto_init() { - if File_macro_benchmark_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_macro_benchmark_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StartMacroBenchmarkRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_macro_benchmark_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StartMacroBenchmarkResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_macro_benchmark_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetMacroBenchmarkRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_macro_benchmark_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetMacroBenchmarkResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_macro_benchmark_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListMacroBenchmarksResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_macro_benchmark_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StatusResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_macro_benchmark_proto_rawDesc, - NumEnums: 0, - NumMessages: 6, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_macro_benchmark_proto_goTypes, - DependencyIndexes: file_macro_benchmark_proto_depIdxs, - MessageInfos: file_macro_benchmark_proto_msgTypes, - }.Build() - File_macro_benchmark_proto = out.File - file_macro_benchmark_proto_rawDesc = nil - file_macro_benchmark_proto_goTypes = nil - file_macro_benchmark_proto_depIdxs = nil +func (m *StatusResponse) Reset() { *m = StatusResponse{} } +func (m *StatusResponse) String() string { return proto.CompactTextString(m) } +func (*StatusResponse) ProtoMessage() {} +func (*StatusResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_ed2dd82fd2d82a07, []int{5} +} + +func (m *StatusResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_StatusResponse.Unmarshal(m, b) +} +func (m *StatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_StatusResponse.Marshal(b, m, deterministic) +} +func (m *StatusResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_StatusResponse.Merge(m, src) +} +func (m *StatusResponse) XXX_Size() int { + return xxx_messageInfo_StatusResponse.Size(m) +} +func (m *StatusResponse) XXX_DiscardUnknown() { + xxx_messageInfo_StatusResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_StatusResponse proto.InternalMessageInfo + +func init() { + proto.RegisterType((*StartMacroBenchmarkRequest)(nil), "benchmark.StartMacroBenchmarkRequest") + proto.RegisterType((*StartMacroBenchmarkResponse)(nil), "benchmark.StartMacroBenchmarkResponse") + proto.RegisterType((*GetMacroBenchmarkRequest)(nil), "benchmark.GetMacroBenchmarkRequest") + proto.RegisterType((*GetMacroBenchmarkResponse)(nil), "benchmark.GetMacroBenchmarkResponse") + proto.RegisterType((*ListMacroBenchmarksResponse)(nil), "benchmark.ListMacroBenchmarksResponse") + proto.RegisterType((*StatusResponse)(nil), "benchmark.StatusResponse") +} + +func init() { proto.RegisterFile("macro_benchmark.proto", fileDescriptor_ed2dd82fd2d82a07) } + +var fileDescriptor_ed2dd82fd2d82a07 = []byte{ + // 287 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x52, 0x3d, 0x4f, 0xc3, 0x30, + 0x10, 0x0d, 0x0c, 0x95, 0x7a, 0x03, 0x02, 0x57, 0x20, 0x9a, 0xd0, 0x25, 0x7c, 0x6c, 0xd8, 0x08, + 0x84, 0x98, 0x58, 0x2a, 0x21, 0x16, 0x58, 0xe8, 0x80, 0xc4, 0x02, 0x49, 0xe4, 0x3a, 0x11, 0x8d, + 0x2f, 0xd8, 0x17, 0x21, 0x7e, 0x35, 0x7f, 0x01, 0xe5, 0x93, 0x16, 0x92, 0x76, 0xb1, 0xa5, 0x7b, + 0xef, 0x9e, 0xef, 0xde, 0x33, 0xec, 0xa7, 0x41, 0x64, 0xf0, 0x35, 0x94, 0x3a, 0x8a, 0xd3, 0xc0, + 0xbc, 0xf3, 0xcc, 0x20, 0x21, 0x1b, 0xb6, 0x05, 0xd7, 0x53, 0x88, 0x6a, 0x21, 0x45, 0x09, 0x84, + 0xf9, 0x5c, 0xc8, 0x34, 0xa3, 0xaf, 0x8a, 0xe7, 0x1f, 0x81, 0x3b, 0xa3, 0xc0, 0xd0, 0x63, 0xa1, + 0x32, 0x6d, 0x7a, 0x9e, 0xe4, 0x47, 0x2e, 0x2d, 0xf9, 0x13, 0xf0, 0x3a, 0x51, 0x9b, 0xa1, 0xb6, + 0xd2, 0x77, 0xe1, 0xf0, 0x5e, 0xf6, 0xb4, 0x7a, 0x30, 0xee, 0xc0, 0xea, 0xc6, 0x09, 0x78, 0x0f, + 0x89, 0xfd, 0x83, 0xda, 0x16, 0xde, 0x85, 0x9d, 0x19, 0x05, 0x94, 0xb7, 0x95, 0xcb, 0xef, 0x6d, + 0x18, 0xb6, 0x44, 0x16, 0xc3, 0xa8, 0x63, 0x2c, 0x76, 0xca, 0x7f, 0x5d, 0xe8, 0x5f, 0xca, 0x3d, + 0xdb, 0x44, 0xab, 0xa7, 0x70, 0x2e, 0xb6, 0xd8, 0x1b, 0xec, 0xfd, 0xdb, 0x82, 0x1d, 0x2f, 0x09, + 0xf4, 0xed, 0xef, 0x9e, 0xac, 0x27, 0x35, 0x6f, 0xb0, 0x67, 0x18, 0x75, 0x58, 0xc1, 0x0e, 0x78, + 0x95, 0x1a, 0x6f, 0x52, 0xe3, 0x77, 0x45, 0x6a, 0x2b, 0xc3, 0xaf, 0xb3, 0xd0, 0x61, 0xb7, 0x30, + 0xa8, 0x4c, 0xec, 0xd5, 0x1a, 0xaf, 0x1a, 0xb1, 0xe4, 0xb7, 0xef, 0x4c, 0x6f, 0x5e, 0xae, 0x55, + 0x42, 0x71, 0x1e, 0xf2, 0x08, 0x53, 0x81, 0x7a, 0xbe, 0xc0, 0x4f, 0x51, 0x1c, 0xe7, 0x0a, 0x45, + 0xa2, 0x49, 0x2a, 0x13, 0x50, 0x82, 0x5a, 0x84, 0x32, 0xd2, 0xa5, 0x46, 0xfd, 0xc1, 0x06, 0xe5, + 0x75, 0xf5, 0x13, 0x00, 0x00, 0xff, 0xff, 0xf8, 0x03, 0x00, 0x49, 0x99, 0x02, 0x00, 0x00, } diff --git a/integration/benchmark/proto/macro_benchmark_grpc.pb.go b/integration/benchmark/proto/macro_benchmark_grpc.pb.go index 065a26fcb39..6b06847b281 100644 --- a/integration/benchmark/proto/macro_benchmark_grpc.pb.go +++ b/integration/benchmark/proto/macro_benchmark_grpc.pb.go @@ -1,14 +1,13 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: -// - protoc-gen-go-grpc v1.2.0 -// - protoc v3.21.9 +// - protoc-gen-go-grpc v1.3.0 +// - protoc v4.25.3 // source: macro_benchmark.proto package proto import ( context "context" - grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" @@ -20,6 +19,13 @@ import ( // Requires gRPC-Go v1.32.0 or later. const _ = grpc.SupportPackageIsVersion7 +const ( + Benchmark_StartMacroBenchmark_FullMethodName = "/benchmark.Benchmark/StartMacroBenchmark" + Benchmark_GetMacroBenchmark_FullMethodName = "/benchmark.Benchmark/GetMacroBenchmark" + Benchmark_ListMacroBenchmarks_FullMethodName = "/benchmark.Benchmark/ListMacroBenchmarks" + Benchmark_Status_FullMethodName = "/benchmark.Benchmark/Status" +) + // BenchmarkClient is the client API for Benchmark service. // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. @@ -39,7 +45,7 @@ func NewBenchmarkClient(cc grpc.ClientConnInterface) BenchmarkClient { } func (c *benchmarkClient) StartMacroBenchmark(ctx context.Context, in *StartMacroBenchmarkRequest, opts ...grpc.CallOption) (Benchmark_StartMacroBenchmarkClient, error) { - stream, err := c.cc.NewStream(ctx, &Benchmark_ServiceDesc.Streams[0], "/benchmark.Benchmark/StartMacroBenchmark", opts...) + stream, err := c.cc.NewStream(ctx, &Benchmark_ServiceDesc.Streams[0], Benchmark_StartMacroBenchmark_FullMethodName, opts...) if err != nil { return nil, err } @@ -72,7 +78,7 @@ func (x *benchmarkStartMacroBenchmarkClient) Recv() (*StartMacroBenchmarkRespons func (c *benchmarkClient) GetMacroBenchmark(ctx context.Context, in *GetMacroBenchmarkRequest, opts ...grpc.CallOption) (*GetMacroBenchmarkResponse, error) { out := new(GetMacroBenchmarkResponse) - err := c.cc.Invoke(ctx, "/benchmark.Benchmark/GetMacroBenchmark", in, out, opts...) + err := c.cc.Invoke(ctx, Benchmark_GetMacroBenchmark_FullMethodName, in, out, opts...) if err != nil { return nil, err } @@ -81,7 +87,7 @@ func (c *benchmarkClient) GetMacroBenchmark(ctx context.Context, in *GetMacroBen func (c *benchmarkClient) ListMacroBenchmarks(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ListMacroBenchmarksResponse, error) { out := new(ListMacroBenchmarksResponse) - err := c.cc.Invoke(ctx, "/benchmark.Benchmark/ListMacroBenchmarks", in, out, opts...) + err := c.cc.Invoke(ctx, Benchmark_ListMacroBenchmarks_FullMethodName, in, out, opts...) if err != nil { return nil, err } @@ -90,7 +96,7 @@ func (c *benchmarkClient) ListMacroBenchmarks(ctx context.Context, in *emptypb.E func (c *benchmarkClient) Status(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*StatusResponse, error) { out := new(StatusResponse) - err := c.cc.Invoke(ctx, "/benchmark.Benchmark/Status", in, out, opts...) + err := c.cc.Invoke(ctx, Benchmark_Status_FullMethodName, in, out, opts...) if err != nil { return nil, err } @@ -168,7 +174,7 @@ func _Benchmark_GetMacroBenchmark_Handler(srv interface{}, ctx context.Context, } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/benchmark.Benchmark/GetMacroBenchmark", + FullMethod: Benchmark_GetMacroBenchmark_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(BenchmarkServer).GetMacroBenchmark(ctx, req.(*GetMacroBenchmarkRequest)) @@ -186,7 +192,7 @@ func _Benchmark_ListMacroBenchmarks_Handler(srv interface{}, ctx context.Context } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/benchmark.Benchmark/ListMacroBenchmarks", + FullMethod: Benchmark_ListMacroBenchmarks_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(BenchmarkServer).ListMacroBenchmarks(ctx, req.(*emptypb.Empty)) @@ -204,7 +210,7 @@ func _Benchmark_Status_Handler(srv interface{}, ctx context.Context, dec func(in } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/benchmark.Benchmark/Status", + FullMethod: Benchmark_Status_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(BenchmarkServer).Status(ctx, req.(*emptypb.Empty))