// Code generated by protoc-gen-go. DO NOT EDIT. // source: stress/grpc_testing/metrics.proto package grpc_testing import ( fmt "fmt" proto "github.com/golang/protobuf/proto" math "math" ) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal var _ = fmt.Errorf var _ = math.Inf // This is a compile-time assertion to ensure that this generated file // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package // Response message containing the gauge name and value type GaugeResponse struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Types that are valid to be assigned to Value: // *GaugeResponse_LongValue // *GaugeResponse_DoubleValue // *GaugeResponse_StringValue Value isGaugeResponse_Value `protobuf_oneof:"value"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *GaugeResponse) Reset() { *m = GaugeResponse{} } func (m *GaugeResponse) String() string { return proto.CompactTextString(m) } func (*GaugeResponse) ProtoMessage() {} func (*GaugeResponse) Descriptor() ([]byte, []int) { return fileDescriptor_028251bc41da09ab, []int{0} } func (m *GaugeResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GaugeResponse.Unmarshal(m, b) } func (m *GaugeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GaugeResponse.Marshal(b, m, deterministic) } func (m *GaugeResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_GaugeResponse.Merge(m, src) } func (m *GaugeResponse) XXX_Size() int { return xxx_messageInfo_GaugeResponse.Size(m) } func (m *GaugeResponse) XXX_DiscardUnknown() { xxx_messageInfo_GaugeResponse.DiscardUnknown(m) } var xxx_messageInfo_GaugeResponse proto.InternalMessageInfo func (m *GaugeResponse) GetName() string { if m != nil { return m.Name } return "" } type isGaugeResponse_Value interface { isGaugeResponse_Value() } type GaugeResponse_LongValue struct { LongValue int64 `protobuf:"varint,2,opt,name=long_value,json=longValue,proto3,oneof"` } type GaugeResponse_DoubleValue struct { DoubleValue float64 `protobuf:"fixed64,3,opt,name=double_value,json=doubleValue,proto3,oneof"` } type GaugeResponse_StringValue struct { StringValue string `protobuf:"bytes,4,opt,name=string_value,json=stringValue,proto3,oneof"` } func (*GaugeResponse_LongValue) isGaugeResponse_Value() {} func (*GaugeResponse_DoubleValue) isGaugeResponse_Value() {} func (*GaugeResponse_StringValue) isGaugeResponse_Value() {} func (m *GaugeResponse) GetValue() isGaugeResponse_Value { if m != nil { return m.Value } return nil } func (m *GaugeResponse) GetLongValue() int64 { if x, ok := m.GetValue().(*GaugeResponse_LongValue); ok { return x.LongValue } return 0 } func (m *GaugeResponse) GetDoubleValue() float64 { if x, ok := m.GetValue().(*GaugeResponse_DoubleValue); ok { return x.DoubleValue } return 0 } func (m *GaugeResponse) GetStringValue() string { if x, ok := m.GetValue().(*GaugeResponse_StringValue); ok { return x.StringValue } return "" } // XXX_OneofWrappers is for the internal use of the proto package. func (*GaugeResponse) XXX_OneofWrappers() []interface{} { return []interface{}{ (*GaugeResponse_LongValue)(nil), (*GaugeResponse_DoubleValue)(nil), (*GaugeResponse_StringValue)(nil), } } // Request message containing the gauge name type GaugeRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *GaugeRequest) Reset() { *m = GaugeRequest{} } func (m *GaugeRequest) String() string { return proto.CompactTextString(m) } func (*GaugeRequest) ProtoMessage() {} func (*GaugeRequest) Descriptor() ([]byte, []int) { return fileDescriptor_028251bc41da09ab, []int{1} } func (m *GaugeRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GaugeRequest.Unmarshal(m, b) } func (m *GaugeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GaugeRequest.Marshal(b, m, deterministic) } func (m *GaugeRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_GaugeRequest.Merge(m, src) } func (m *GaugeRequest) XXX_Size() int { return xxx_messageInfo_GaugeRequest.Size(m) } func (m *GaugeRequest) XXX_DiscardUnknown() { xxx_messageInfo_GaugeRequest.DiscardUnknown(m) } var xxx_messageInfo_GaugeRequest proto.InternalMessageInfo func (m *GaugeRequest) GetName() string { if m != nil { return m.Name } return "" } type EmptyMessage struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *EmptyMessage) Reset() { *m = EmptyMessage{} } func (m *EmptyMessage) String() string { return proto.CompactTextString(m) } func (*EmptyMessage) ProtoMessage() {} func (*EmptyMessage) Descriptor() ([]byte, []int) { return fileDescriptor_028251bc41da09ab, []int{2} } func (m *EmptyMessage) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_EmptyMessage.Unmarshal(m, b) } func (m *EmptyMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_EmptyMessage.Marshal(b, m, deterministic) } func (m *EmptyMessage) XXX_Merge(src proto.Message) { xxx_messageInfo_EmptyMessage.Merge(m, src) } func (m *EmptyMessage) XXX_Size() int { return xxx_messageInfo_EmptyMessage.Size(m) } func (m *EmptyMessage) XXX_DiscardUnknown() { xxx_messageInfo_EmptyMessage.DiscardUnknown(m) } var xxx_messageInfo_EmptyMessage proto.InternalMessageInfo func init() { proto.RegisterType((*GaugeResponse)(nil), "grpc.testing.GaugeResponse") proto.RegisterType((*GaugeRequest)(nil), "grpc.testing.GaugeRequest") proto.RegisterType((*EmptyMessage)(nil), "grpc.testing.EmptyMessage") } func init() { proto.RegisterFile("stress/grpc_testing/metrics.proto", fileDescriptor_028251bc41da09ab) } var fileDescriptor_028251bc41da09ab = []byte{ // 288 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0x3f, 0x4f, 0xc3, 0x30, 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