mirror of https://github.com/grpc/grpc-go.git
				
				
				
			stress: Move package under interop (#6769)
This commit is contained in:
		
							parent
							
								
									b8d1c76ba7
								
							
						
					
					
						commit
						cf9ae52e1c
					
				|  | @ -41,7 +41,7 @@ import ( | ||||||
| 	"google.golang.org/grpc/testdata" | 	"google.golang.org/grpc/testdata" | ||||||
| 
 | 
 | ||||||
| 	testgrpc "google.golang.org/grpc/interop/grpc_testing" | 	testgrpc "google.golang.org/grpc/interop/grpc_testing" | ||||||
| 	metricspb "google.golang.org/grpc/stress/grpc_testing" | 	metricspb "google.golang.org/grpc/interop/stress/grpc_testing" | ||||||
| ) | ) | ||||||
| 
 | 
 | ||||||
| var ( | var ( | ||||||
|  | @ -23,7 +23,7 @@ | ||||||
| // versions:
 | // versions:
 | ||||||
| // 	protoc-gen-go v1.31.0
 | // 	protoc-gen-go v1.31.0
 | ||||||
| // 	protoc        v4.22.0
 | // 	protoc        v4.22.0
 | ||||||
| // source: stress/grpc_testing/metrics.proto
 | // source: interop/stress/grpc_testing/metrics.proto
 | ||||||
| 
 | 
 | ||||||
| package grpc_testing | package grpc_testing | ||||||
| 
 | 
 | ||||||
|  | @ -59,7 +59,7 @@ type GaugeResponse struct { | ||||||
| func (x *GaugeResponse) Reset() { | func (x *GaugeResponse) Reset() { | ||||||
| 	*x = GaugeResponse{} | 	*x = GaugeResponse{} | ||||||
| 	if protoimpl.UnsafeEnabled { | 	if protoimpl.UnsafeEnabled { | ||||||
| 		mi := &file_stress_grpc_testing_metrics_proto_msgTypes[0] | 		mi := &file_interop_stress_grpc_testing_metrics_proto_msgTypes[0] | ||||||
| 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) | 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) | ||||||
| 		ms.StoreMessageInfo(mi) | 		ms.StoreMessageInfo(mi) | ||||||
| 	} | 	} | ||||||
|  | @ -72,7 +72,7 @@ func (x *GaugeResponse) String() string { | ||||||
| func (*GaugeResponse) ProtoMessage() {} | func (*GaugeResponse) ProtoMessage() {} | ||||||
| 
 | 
 | ||||||
| func (x *GaugeResponse) ProtoReflect() protoreflect.Message { | func (x *GaugeResponse) ProtoReflect() protoreflect.Message { | ||||||
| 	mi := &file_stress_grpc_testing_metrics_proto_msgTypes[0] | 	mi := &file_interop_stress_grpc_testing_metrics_proto_msgTypes[0] | ||||||
| 	if protoimpl.UnsafeEnabled && x != nil { | 	if protoimpl.UnsafeEnabled && x != nil { | ||||||
| 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) | 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) | ||||||
| 		if ms.LoadMessageInfo() == nil { | 		if ms.LoadMessageInfo() == nil { | ||||||
|  | @ -85,7 +85,7 @@ func (x *GaugeResponse) ProtoReflect() protoreflect.Message { | ||||||
| 
 | 
 | ||||||
| // Deprecated: Use GaugeResponse.ProtoReflect.Descriptor instead.
 | // Deprecated: Use GaugeResponse.ProtoReflect.Descriptor instead.
 | ||||||
| func (*GaugeResponse) Descriptor() ([]byte, []int) { | func (*GaugeResponse) Descriptor() ([]byte, []int) { | ||||||
| 	return file_stress_grpc_testing_metrics_proto_rawDescGZIP(), []int{0} | 	return file_interop_stress_grpc_testing_metrics_proto_rawDescGZIP(), []int{0} | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| func (x *GaugeResponse) GetName() string { | func (x *GaugeResponse) GetName() string { | ||||||
|  | @ -157,7 +157,7 @@ type GaugeRequest struct { | ||||||
| func (x *GaugeRequest) Reset() { | func (x *GaugeRequest) Reset() { | ||||||
| 	*x = GaugeRequest{} | 	*x = GaugeRequest{} | ||||||
| 	if protoimpl.UnsafeEnabled { | 	if protoimpl.UnsafeEnabled { | ||||||
| 		mi := &file_stress_grpc_testing_metrics_proto_msgTypes[1] | 		mi := &file_interop_stress_grpc_testing_metrics_proto_msgTypes[1] | ||||||
| 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) | 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) | ||||||
| 		ms.StoreMessageInfo(mi) | 		ms.StoreMessageInfo(mi) | ||||||
| 	} | 	} | ||||||
|  | @ -170,7 +170,7 @@ func (x *GaugeRequest) String() string { | ||||||
| func (*GaugeRequest) ProtoMessage() {} | func (*GaugeRequest) ProtoMessage() {} | ||||||
| 
 | 
 | ||||||
| func (x *GaugeRequest) ProtoReflect() protoreflect.Message { | func (x *GaugeRequest) ProtoReflect() protoreflect.Message { | ||||||
| 	mi := &file_stress_grpc_testing_metrics_proto_msgTypes[1] | 	mi := &file_interop_stress_grpc_testing_metrics_proto_msgTypes[1] | ||||||
| 	if protoimpl.UnsafeEnabled && x != nil { | 	if protoimpl.UnsafeEnabled && x != nil { | ||||||
| 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) | 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) | ||||||
| 		if ms.LoadMessageInfo() == nil { | 		if ms.LoadMessageInfo() == nil { | ||||||
|  | @ -183,7 +183,7 @@ func (x *GaugeRequest) ProtoReflect() protoreflect.Message { | ||||||
| 
 | 
 | ||||||
| // Deprecated: Use GaugeRequest.ProtoReflect.Descriptor instead.
 | // Deprecated: Use GaugeRequest.ProtoReflect.Descriptor instead.
 | ||||||
| func (*GaugeRequest) Descriptor() ([]byte, []int) { | func (*GaugeRequest) Descriptor() ([]byte, []int) { | ||||||
| 	return file_stress_grpc_testing_metrics_proto_rawDescGZIP(), []int{1} | 	return file_interop_stress_grpc_testing_metrics_proto_rawDescGZIP(), []int{1} | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| func (x *GaugeRequest) GetName() string { | func (x *GaugeRequest) GetName() string { | ||||||
|  | @ -202,7 +202,7 @@ type EmptyMessage struct { | ||||||
| func (x *EmptyMessage) Reset() { | func (x *EmptyMessage) Reset() { | ||||||
| 	*x = EmptyMessage{} | 	*x = EmptyMessage{} | ||||||
| 	if protoimpl.UnsafeEnabled { | 	if protoimpl.UnsafeEnabled { | ||||||
| 		mi := &file_stress_grpc_testing_metrics_proto_msgTypes[2] | 		mi := &file_interop_stress_grpc_testing_metrics_proto_msgTypes[2] | ||||||
| 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) | 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) | ||||||
| 		ms.StoreMessageInfo(mi) | 		ms.StoreMessageInfo(mi) | ||||||
| 	} | 	} | ||||||
|  | @ -215,7 +215,7 @@ func (x *EmptyMessage) String() string { | ||||||
| func (*EmptyMessage) ProtoMessage() {} | func (*EmptyMessage) ProtoMessage() {} | ||||||
| 
 | 
 | ||||||
| func (x *EmptyMessage) ProtoReflect() protoreflect.Message { | func (x *EmptyMessage) ProtoReflect() protoreflect.Message { | ||||||
| 	mi := &file_stress_grpc_testing_metrics_proto_msgTypes[2] | 	mi := &file_interop_stress_grpc_testing_metrics_proto_msgTypes[2] | ||||||
| 	if protoimpl.UnsafeEnabled && x != nil { | 	if protoimpl.UnsafeEnabled && x != nil { | ||||||
| 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) | 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) | ||||||
| 		if ms.LoadMessageInfo() == nil { | 		if ms.LoadMessageInfo() == nil { | ||||||
|  | @ -228,63 +228,64 @@ func (x *EmptyMessage) ProtoReflect() protoreflect.Message { | ||||||
| 
 | 
 | ||||||
| // Deprecated: Use EmptyMessage.ProtoReflect.Descriptor instead.
 | // Deprecated: Use EmptyMessage.ProtoReflect.Descriptor instead.
 | ||||||
| func (*EmptyMessage) Descriptor() ([]byte, []int) { | func (*EmptyMessage) Descriptor() ([]byte, []int) { | ||||||
| 	return file_stress_grpc_testing_metrics_proto_rawDescGZIP(), []int{2} | 	return file_interop_stress_grpc_testing_metrics_proto_rawDescGZIP(), []int{2} | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| var File_stress_grpc_testing_metrics_proto protoreflect.FileDescriptor | var File_interop_stress_grpc_testing_metrics_proto protoreflect.FileDescriptor | ||||||
| 
 | 
 | ||||||
| var file_stress_grpc_testing_metrics_proto_rawDesc = []byte{ | var file_interop_stress_grpc_testing_metrics_proto_rawDesc = []byte{ | ||||||
| 	0x0a, 0x21, 0x73, 0x74, 0x72, 0x65, 0x73, 0x73, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x5f, 0x74, 0x65, | 	0x0a, 0x29, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6f, 0x70, 0x2f, 0x73, 0x74, 0x72, 0x65, 0x73, 0x73, | ||||||
| 	0x73, 0x74, 0x69, 0x6e, 0x67, 0x2f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x70, 0x72, | 	0x2f, 0x67, 0x72, 0x70, 0x63, 0x5f, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2f, 0x6d, 0x65, | ||||||
| 	0x6f, 0x74, 0x6f, 0x12, 0x0c, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, | 	0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0c, 0x67, 0x72, 0x70, | ||||||
| 	0x67, 0x22, 0x97, 0x01, 0x0a, 0x0d, 0x47, 0x61, 0x75, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, | 	0x63, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x22, 0x97, 0x01, 0x0a, 0x0d, 0x47, 0x61, | ||||||
| 	0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, | 	0x75, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, | ||||||
| 	0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0a, 0x6c, 0x6f, 0x6e, 0x67, 0x5f, | 	0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, | ||||||
| 	0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x48, 0x00, 0x52, 0x09, 0x6c, | 	0x1f, 0x0a, 0x0a, 0x6c, 0x6f, 0x6e, 0x67, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, | ||||||
| 	0x6f, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x23, 0x0a, 0x0c, 0x64, 0x6f, 0x75, 0x62, | 	0x01, 0x28, 0x03, 0x48, 0x00, 0x52, 0x09, 0x6c, 0x6f, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, | ||||||
| 	0x6c, 0x65, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x01, 0x48, 0x00, | 	0x12, 0x23, 0x0a, 0x0c, 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, | ||||||
| 	0x52, 0x0b, 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x23, 0x0a, | 	0x18, 0x03, 0x20, 0x01, 0x28, 0x01, 0x48, 0x00, 0x52, 0x0b, 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65, | ||||||
| 	0x0c, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x04, 0x20, | 	0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x23, 0x0a, 0x0c, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x5f, | ||||||
| 	0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0b, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, | 	0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0b, 0x73, | ||||||
| 	0x75, 0x65, 0x42, 0x07, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x22, 0x0a, 0x0c, 0x47, | 	0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x07, 0x0a, 0x05, 0x76, 0x61, | ||||||
| 	0x61, 0x75, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, | 	0x6c, 0x75, 0x65, 0x22, 0x22, 0x0a, 0x0c, 0x47, 0x61, 0x75, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, | ||||||
| 	0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, | 	0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, | ||||||
| 	0x0e, 0x0a, 0x0c, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x32, | 	0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x0e, 0x0a, 0x0c, 0x45, 0x6d, 0x70, 0x74, 0x79, | ||||||
| 	0xa0, 0x01, 0x0a, 0x0e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, | 	0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x32, 0xa0, 0x01, 0x0a, 0x0e, 0x4d, 0x65, 0x74, 0x72, | ||||||
| 	0x63, 0x65, 0x12, 0x49, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x47, 0x61, 0x75, 0x67, | 	0x69, 0x63, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x49, 0x0a, 0x0c, 0x47, 0x65, | ||||||
| 	0x65, 0x73, 0x12, 0x1a, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, | 	0x74, 0x41, 0x6c, 0x6c, 0x47, 0x61, 0x75, 0x67, 0x65, 0x73, 0x12, 0x1a, 0x2e, 0x67, 0x72, 0x70, | ||||||
| 	0x67, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1b, | 	0x63, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, | ||||||
| 	0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x47, 0x61, | 	0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1b, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x74, 0x65, | ||||||
| 	0x75, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x12, 0x43, 0x0a, | 	0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x47, 0x61, 0x75, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, | ||||||
| 	0x08, 0x47, 0x65, 0x74, 0x47, 0x61, 0x75, 0x67, 0x65, 0x12, 0x1a, 0x2e, 0x67, 0x72, 0x70, 0x63, | 	0x6e, 0x73, 0x65, 0x30, 0x01, 0x12, 0x43, 0x0a, 0x08, 0x47, 0x65, 0x74, 0x47, 0x61, 0x75, 0x67, | ||||||
| 	0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x47, 0x61, 0x75, 0x67, 0x65, 0x52, 0x65, | 	0x65, 0x12, 0x1a, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, | ||||||
| 	0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x74, 0x65, 0x73, | 	0x2e, 0x47, 0x61, 0x75, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, | ||||||
| 	0x74, 0x69, 0x6e, 0x67, 0x2e, 0x47, 0x61, 0x75, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, | 	0x67, 0x72, 0x70, 0x63, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x47, 0x61, 0x75, | ||||||
| 	0x73, 0x65, 0x42, 0x2c, 0x5a, 0x2a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, | 	0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x34, 0x5a, 0x32, 0x67, 0x6f, | ||||||
| 	0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2f, 0x73, 0x74, 0x72, | 	0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, | ||||||
|  | 	0x67, 0x72, 0x70, 0x63, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6f, 0x70, 0x2f, 0x73, 0x74, 0x72, | ||||||
| 	0x65, 0x73, 0x73, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x5f, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, | 	0x65, 0x73, 0x73, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x5f, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, | ||||||
| 	0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, | 	0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| var ( | var ( | ||||||
| 	file_stress_grpc_testing_metrics_proto_rawDescOnce sync.Once | 	file_interop_stress_grpc_testing_metrics_proto_rawDescOnce sync.Once | ||||||
| 	file_stress_grpc_testing_metrics_proto_rawDescData = file_stress_grpc_testing_metrics_proto_rawDesc | 	file_interop_stress_grpc_testing_metrics_proto_rawDescData = file_interop_stress_grpc_testing_metrics_proto_rawDesc | ||||||
| ) | ) | ||||||
| 
 | 
 | ||||||
| func file_stress_grpc_testing_metrics_proto_rawDescGZIP() []byte { | func file_interop_stress_grpc_testing_metrics_proto_rawDescGZIP() []byte { | ||||||
| 	file_stress_grpc_testing_metrics_proto_rawDescOnce.Do(func() { | 	file_interop_stress_grpc_testing_metrics_proto_rawDescOnce.Do(func() { | ||||||
| 		file_stress_grpc_testing_metrics_proto_rawDescData = protoimpl.X.CompressGZIP(file_stress_grpc_testing_metrics_proto_rawDescData) | 		file_interop_stress_grpc_testing_metrics_proto_rawDescData = protoimpl.X.CompressGZIP(file_interop_stress_grpc_testing_metrics_proto_rawDescData) | ||||||
| 	}) | 	}) | ||||||
| 	return file_stress_grpc_testing_metrics_proto_rawDescData | 	return file_interop_stress_grpc_testing_metrics_proto_rawDescData | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| var file_stress_grpc_testing_metrics_proto_msgTypes = make([]protoimpl.MessageInfo, 3) | var file_interop_stress_grpc_testing_metrics_proto_msgTypes = make([]protoimpl.MessageInfo, 3) | ||||||
| var file_stress_grpc_testing_metrics_proto_goTypes = []interface{}{ | var file_interop_stress_grpc_testing_metrics_proto_goTypes = []interface{}{ | ||||||
| 	(*GaugeResponse)(nil), // 0: grpc.testing.GaugeResponse
 | 	(*GaugeResponse)(nil), // 0: grpc.testing.GaugeResponse
 | ||||||
| 	(*GaugeRequest)(nil),  // 1: grpc.testing.GaugeRequest
 | 	(*GaugeRequest)(nil),  // 1: grpc.testing.GaugeRequest
 | ||||||
| 	(*EmptyMessage)(nil),  // 2: grpc.testing.EmptyMessage
 | 	(*EmptyMessage)(nil),  // 2: grpc.testing.EmptyMessage
 | ||||||
| } | } | ||||||
| var file_stress_grpc_testing_metrics_proto_depIdxs = []int32{ | var file_interop_stress_grpc_testing_metrics_proto_depIdxs = []int32{ | ||||||
| 	2, // 0: grpc.testing.MetricsService.GetAllGauges:input_type -> grpc.testing.EmptyMessage
 | 	2, // 0: grpc.testing.MetricsService.GetAllGauges:input_type -> grpc.testing.EmptyMessage
 | ||||||
| 	1, // 1: grpc.testing.MetricsService.GetGauge:input_type -> grpc.testing.GaugeRequest
 | 	1, // 1: grpc.testing.MetricsService.GetGauge:input_type -> grpc.testing.GaugeRequest
 | ||||||
| 	0, // 2: grpc.testing.MetricsService.GetAllGauges:output_type -> grpc.testing.GaugeResponse
 | 	0, // 2: grpc.testing.MetricsService.GetAllGauges:output_type -> grpc.testing.GaugeResponse
 | ||||||
|  | @ -296,13 +297,13 @@ var file_stress_grpc_testing_metrics_proto_depIdxs = []int32{ | ||||||
| 	0, // [0:0] is the sub-list for field type_name
 | 	0, // [0:0] is the sub-list for field type_name
 | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| func init() { file_stress_grpc_testing_metrics_proto_init() } | func init() { file_interop_stress_grpc_testing_metrics_proto_init() } | ||||||
| func file_stress_grpc_testing_metrics_proto_init() { | func file_interop_stress_grpc_testing_metrics_proto_init() { | ||||||
| 	if File_stress_grpc_testing_metrics_proto != nil { | 	if File_interop_stress_grpc_testing_metrics_proto != nil { | ||||||
| 		return | 		return | ||||||
| 	} | 	} | ||||||
| 	if !protoimpl.UnsafeEnabled { | 	if !protoimpl.UnsafeEnabled { | ||||||
| 		file_stress_grpc_testing_metrics_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { | 		file_interop_stress_grpc_testing_metrics_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { | ||||||
| 			switch v := v.(*GaugeResponse); i { | 			switch v := v.(*GaugeResponse); i { | ||||||
| 			case 0: | 			case 0: | ||||||
| 				return &v.state | 				return &v.state | ||||||
|  | @ -314,7 +315,7 @@ func file_stress_grpc_testing_metrics_proto_init() { | ||||||
| 				return nil | 				return nil | ||||||
| 			} | 			} | ||||||
| 		} | 		} | ||||||
| 		file_stress_grpc_testing_metrics_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { | 		file_interop_stress_grpc_testing_metrics_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { | ||||||
| 			switch v := v.(*GaugeRequest); i { | 			switch v := v.(*GaugeRequest); i { | ||||||
| 			case 0: | 			case 0: | ||||||
| 				return &v.state | 				return &v.state | ||||||
|  | @ -326,7 +327,7 @@ func file_stress_grpc_testing_metrics_proto_init() { | ||||||
| 				return nil | 				return nil | ||||||
| 			} | 			} | ||||||
| 		} | 		} | ||||||
| 		file_stress_grpc_testing_metrics_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { | 		file_interop_stress_grpc_testing_metrics_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { | ||||||
| 			switch v := v.(*EmptyMessage); i { | 			switch v := v.(*EmptyMessage); i { | ||||||
| 			case 0: | 			case 0: | ||||||
| 				return &v.state | 				return &v.state | ||||||
|  | @ -339,7 +340,7 @@ func file_stress_grpc_testing_metrics_proto_init() { | ||||||
| 			} | 			} | ||||||
| 		} | 		} | ||||||
| 	} | 	} | ||||||
| 	file_stress_grpc_testing_metrics_proto_msgTypes[0].OneofWrappers = []interface{}{ | 	file_interop_stress_grpc_testing_metrics_proto_msgTypes[0].OneofWrappers = []interface{}{ | ||||||
| 		(*GaugeResponse_LongValue)(nil), | 		(*GaugeResponse_LongValue)(nil), | ||||||
| 		(*GaugeResponse_DoubleValue)(nil), | 		(*GaugeResponse_DoubleValue)(nil), | ||||||
| 		(*GaugeResponse_StringValue)(nil), | 		(*GaugeResponse_StringValue)(nil), | ||||||
|  | @ -348,18 +349,18 @@ func file_stress_grpc_testing_metrics_proto_init() { | ||||||
| 	out := protoimpl.TypeBuilder{ | 	out := protoimpl.TypeBuilder{ | ||||||
| 		File: protoimpl.DescBuilder{ | 		File: protoimpl.DescBuilder{ | ||||||
| 			GoPackagePath: reflect.TypeOf(x{}).PkgPath(), | 			GoPackagePath: reflect.TypeOf(x{}).PkgPath(), | ||||||
| 			RawDescriptor: file_stress_grpc_testing_metrics_proto_rawDesc, | 			RawDescriptor: file_interop_stress_grpc_testing_metrics_proto_rawDesc, | ||||||
| 			NumEnums:      0, | 			NumEnums:      0, | ||||||
| 			NumMessages:   3, | 			NumMessages:   3, | ||||||
| 			NumExtensions: 0, | 			NumExtensions: 0, | ||||||
| 			NumServices:   1, | 			NumServices:   1, | ||||||
| 		}, | 		}, | ||||||
| 		GoTypes:           file_stress_grpc_testing_metrics_proto_goTypes, | 		GoTypes:           file_interop_stress_grpc_testing_metrics_proto_goTypes, | ||||||
| 		DependencyIndexes: file_stress_grpc_testing_metrics_proto_depIdxs, | 		DependencyIndexes: file_interop_stress_grpc_testing_metrics_proto_depIdxs, | ||||||
| 		MessageInfos:      file_stress_grpc_testing_metrics_proto_msgTypes, | 		MessageInfos:      file_interop_stress_grpc_testing_metrics_proto_msgTypes, | ||||||
| 	}.Build() | 	}.Build() | ||||||
| 	File_stress_grpc_testing_metrics_proto = out.File | 	File_interop_stress_grpc_testing_metrics_proto = out.File | ||||||
| 	file_stress_grpc_testing_metrics_proto_rawDesc = nil | 	file_interop_stress_grpc_testing_metrics_proto_rawDesc = nil | ||||||
| 	file_stress_grpc_testing_metrics_proto_goTypes = nil | 	file_interop_stress_grpc_testing_metrics_proto_goTypes = nil | ||||||
| 	file_stress_grpc_testing_metrics_proto_depIdxs = nil | 	file_interop_stress_grpc_testing_metrics_proto_depIdxs = nil | ||||||
| } | } | ||||||
|  | @ -20,7 +20,7 @@ | ||||||
| // service. | // service. | ||||||
| syntax = "proto3"; | syntax = "proto3"; | ||||||
| 
 | 
 | ||||||
| option go_package = "google.golang.org/grpc/stress/grpc_testing"; | option go_package = "google.golang.org/grpc/interop/stress/grpc_testing"; | ||||||
| 
 | 
 | ||||||
| package grpc.testing; | package grpc.testing; | ||||||
| 
 | 
 | ||||||
|  | @ -23,7 +23,7 @@ | ||||||
| // versions:
 | // versions:
 | ||||||
| // - protoc-gen-go-grpc v1.3.0
 | // - protoc-gen-go-grpc v1.3.0
 | ||||||
| // - protoc             v4.22.0
 | // - protoc             v4.22.0
 | ||||||
| // source: stress/grpc_testing/metrics.proto
 | // source: interop/stress/grpc_testing/metrics.proto
 | ||||||
| 
 | 
 | ||||||
| package grpc_testing | package grpc_testing | ||||||
| 
 | 
 | ||||||
|  | @ -197,5 +197,5 @@ var MetricsService_ServiceDesc = grpc.ServiceDesc{ | ||||||
| 			ServerStreams: true, | 			ServerStreams: true, | ||||||
| 		}, | 		}, | ||||||
| 	}, | 	}, | ||||||
| 	Metadata: "stress/grpc_testing/metrics.proto", | 	Metadata: "interop/stress/grpc_testing/metrics.proto", | ||||||
| } | } | ||||||
|  | @ -28,7 +28,7 @@ import ( | ||||||
| 	"google.golang.org/grpc" | 	"google.golang.org/grpc" | ||||||
| 	"google.golang.org/grpc/credentials/insecure" | 	"google.golang.org/grpc/credentials/insecure" | ||||||
| 	"google.golang.org/grpc/grpclog" | 	"google.golang.org/grpc/grpclog" | ||||||
| 	metricspb "google.golang.org/grpc/stress/grpc_testing" | 	metricspb "google.golang.org/grpc/interop/stress/grpc_testing" | ||||||
| ) | ) | ||||||
| 
 | 
 | ||||||
| var ( | var ( | ||||||
							
								
								
									
										2
									
								
								vet.sh
								
								
								
								
							
							
						
						
									
										2
									
								
								vet.sh
								
								
								
								
							|  | @ -82,7 +82,7 @@ not git grep -l 'x/net/context' -- "*.go" | ||||||
| 
 | 
 | ||||||
| # - Do not import math/rand for real library code.  Use internal/grpcrand for | # - Do not import math/rand for real library code.  Use internal/grpcrand for | ||||||
| #   thread safety. | #   thread safety. | ||||||
| git grep -l '"math/rand"' -- "*.go" 2>&1 | not grep -v '^examples\|^stress\|grpcrand\|^benchmark\|wrr_test' | git grep -l '"math/rand"' -- "*.go" 2>&1 | not grep -v '^examples\|^interop/stress\|grpcrand\|^benchmark\|wrr_test' | ||||||
| 
 | 
 | ||||||
| # - Do not use "interface{}"; use "any" instead. | # - Do not use "interface{}"; use "any" instead. | ||||||
| git grep -l 'interface{}' -- "*.go" 2>&1 | not grep -v '\.pb\.go\|protoc-gen-go-grpc' | git grep -l 'interface{}' -- "*.go" 2>&1 | not grep -v '\.pb\.go\|protoc-gen-go-grpc' | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue