// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.28.1
// 	protoc        v3.12.4
// source: dice.proto

package dice

import (
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	reflect "reflect"
	sync "sync"
)

const (
	// Verify that this generated code is sufficiently up-to-date.
	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
	// Verify that runtime/protoimpl is sufficiently up-to-date.
	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)

type Face int32

const (
	Face_FACE_HEADS Face = 0
	Face_FACE_TAILS Face = 1
)

// Enum value maps for Face.
var (
	Face_name = map[int32]string{
		0: "FACE_HEADS",
		1: "FACE_TAILS",
	}
	Face_value = map[string]int32{
		"FACE_HEADS": 0,
		"FACE_TAILS": 1,
	}
)

func (x Face) Enum() *Face {
	p := new(Face)
	*p = x
	return p
}

func (x Face) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (Face) Descriptor() protoreflect.EnumDescriptor {
	return file_dice_proto_enumTypes[0].Descriptor()
}

func (Face) Type() protoreflect.EnumType {
	return &file_dice_proto_enumTypes[0]
}

func (x Face) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use Face.Descriptor instead.
func (Face) EnumDescriptor() ([]byte, []int) {
	return file_dice_proto_rawDescGZIP(), []int{0}
}

type DiceRoll struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	Id   int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Face Face  `protobuf:"varint,2,opt,name=face,proto3,enum=Face" json:"face,omitempty"`
}

func (x *DiceRoll) Reset() {
	*x = DiceRoll{}
	if protoimpl.UnsafeEnabled {
		mi := &file_dice_proto_msgTypes[0]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *DiceRoll) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*DiceRoll) ProtoMessage() {}

func (x *DiceRoll) ProtoReflect() protoreflect.Message {
	mi := &file_dice_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)
}

// Deprecated: Use DiceRoll.ProtoReflect.Descriptor instead.
func (*DiceRoll) Descriptor() ([]byte, []int) {
	return file_dice_proto_rawDescGZIP(), []int{0}
}

func (x *DiceRoll) GetId() int32 {
	if x != nil {
		return x.Id
	}
	return 0
}

func (x *DiceRoll) GetFace() Face {
	if x != nil {
		return x.Face
	}
	return Face_FACE_HEADS
}

type RollTable struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	RollerHandle string      `protobuf:"bytes,1,opt,name=roller_handle,json=rollerHandle,proto3" json:"roller_handle,omitempty"`
	Rolls        []*DiceRoll `protobuf:"bytes,2,rep,name=rolls,proto3" json:"rolls,omitempty"`
}

func (x *RollTable) Reset() {
	*x = RollTable{}
	if protoimpl.UnsafeEnabled {
		mi := &file_dice_proto_msgTypes[1]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *RollTable) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*RollTable) ProtoMessage() {}

func (x *RollTable) ProtoReflect() protoreflect.Message {
	mi := &file_dice_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)
}

// Deprecated: Use RollTable.ProtoReflect.Descriptor instead.
func (*RollTable) Descriptor() ([]byte, []int) {
	return file_dice_proto_rawDescGZIP(), []int{1}
}

func (x *RollTable) GetRollerHandle() string {
	if x != nil {
		return x.RollerHandle
	}
	return ""
}

func (x *RollTable) GetRolls() []*DiceRoll {
	if x != nil {
		return x.Rolls
	}
	return nil
}

type RollRequest struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	RollerHandle string `protobuf:"bytes,1,opt,name=roller_handle,json=rollerHandle,proto3" json:"roller_handle,omitempty"`
}

func (x *RollRequest) Reset() {
	*x = RollRequest{}
	if protoimpl.UnsafeEnabled {
		mi := &file_dice_proto_msgTypes[2]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *RollRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*RollRequest) ProtoMessage() {}

func (x *RollRequest) ProtoReflect() protoreflect.Message {
	mi := &file_dice_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)
}

// Deprecated: Use RollRequest.ProtoReflect.Descriptor instead.
func (*RollRequest) Descriptor() ([]byte, []int) {
	return file_dice_proto_rawDescGZIP(), []int{2}
}

func (x *RollRequest) GetRollerHandle() string {
	if x != nil {
		return x.RollerHandle
	}
	return ""
}

type RollResponse struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields
}

func (x *RollResponse) Reset() {
	*x = RollResponse{}
	if protoimpl.UnsafeEnabled {
		mi := &file_dice_proto_msgTypes[3]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *RollResponse) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*RollResponse) ProtoMessage() {}

func (x *RollResponse) ProtoReflect() protoreflect.Message {
	mi := &file_dice_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)
}

// Deprecated: Use RollResponse.ProtoReflect.Descriptor instead.
func (*RollResponse) Descriptor() ([]byte, []int) {
	return file_dice_proto_rawDescGZIP(), []int{3}
}

type GetRollsRequest struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields
}

func (x *GetRollsRequest) Reset() {
	*x = GetRollsRequest{}
	if protoimpl.UnsafeEnabled {
		mi := &file_dice_proto_msgTypes[4]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *GetRollsRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*GetRollsRequest) ProtoMessage() {}

func (x *GetRollsRequest) ProtoReflect() protoreflect.Message {
	mi := &file_dice_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)
}

// Deprecated: Use GetRollsRequest.ProtoReflect.Descriptor instead.
func (*GetRollsRequest) Descriptor() ([]byte, []int) {
	return file_dice_proto_rawDescGZIP(), []int{4}
}

var File_dice_proto protoreflect.FileDescriptor

var file_dice_proto_rawDesc = []byte{
	0x0a, 0x0a, 0x64, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x35, 0x0a, 0x08,
	0x44, 0x69, 0x63, 0x65, 0x52, 0x6f, 0x6c, 0x6c, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01,
	0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x69, 0x64, 0x12, 0x19, 0x0a, 0x04, 0x66, 0x61, 0x63, 0x65,
	0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x05, 0x2e, 0x46, 0x61, 0x63, 0x65, 0x52, 0x04, 0x66,
	0x61, 0x63, 0x65, 0x22, 0x51, 0x0a, 0x09, 0x52, 0x6f, 0x6c, 0x6c, 0x54, 0x61, 0x62, 0x6c, 0x65,
	0x12, 0x23, 0x0a, 0x0d, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x68, 0x61, 0x6e, 0x64, 0x6c,
	0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x48,
	0x61, 0x6e, 0x64, 0x6c, 0x65, 0x12, 0x1f, 0x0a, 0x05, 0x72, 0x6f, 0x6c, 0x6c, 0x73, 0x18, 0x02,
	0x20, 0x03, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x44, 0x69, 0x63, 0x65, 0x52, 0x6f, 0x6c, 0x6c, 0x52,
	0x05, 0x72, 0x6f, 0x6c, 0x6c, 0x73, 0x22, 0x32, 0x0a, 0x0b, 0x52, 0x6f, 0x6c, 0x6c, 0x52, 0x65,
	0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x5f,
	0x68, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x6f,
	0x6c, 0x6c, 0x65, 0x72, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x22, 0x0e, 0x0a, 0x0c, 0x52, 0x6f,
	0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x11, 0x0a, 0x0f, 0x47, 0x65,
	0x74, 0x52, 0x6f, 0x6c, 0x6c, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2a, 0x26, 0x0a,
	0x04, 0x46, 0x61, 0x63, 0x65, 0x12, 0x0e, 0x0a, 0x0a, 0x46, 0x41, 0x43, 0x45, 0x5f, 0x48, 0x45,
	0x41, 0x44, 0x53, 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x46, 0x41, 0x43, 0x45, 0x5f, 0x54, 0x41,
	0x49, 0x4c, 0x53, 0x10, 0x01, 0x32, 0x5e, 0x0a, 0x0b, 0x52, 0x6f, 0x6c, 0x6c, 0x53, 0x65, 0x72,
	0x76, 0x69, 0x63, 0x65, 0x12, 0x23, 0x0a, 0x04, 0x52, 0x6f, 0x6c, 0x6c, 0x12, 0x0c, 0x2e, 0x52,
	0x6f, 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0d, 0x2e, 0x52, 0x6f, 0x6c,
	0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2a, 0x0a, 0x08, 0x47, 0x65, 0x74,
	0x52, 0x6f, 0x6c, 0x6c, 0x73, 0x12, 0x10, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x6c, 0x6c, 0x73,
	0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0a, 0x2e, 0x52, 0x6f, 0x6c, 0x6c, 0x54, 0x61,
	0x62, 0x6c, 0x65, 0x30, 0x01, 0x42, 0x20, 0x5a, 0x1e, 0x30, 0x78, 0x66, 0x65, 0x2f, 0x65, 0x78,
	0x70, 0x65, 0x72, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x2f, 0x6d, 0x69, 0x6e, 0x69, 0x6b, 0x75,
	0x62, 0x65, 0x2f, 0x64, 0x69, 0x63, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}

var (
	file_dice_proto_rawDescOnce sync.Once
	file_dice_proto_rawDescData = file_dice_proto_rawDesc
)

func file_dice_proto_rawDescGZIP() []byte {
	file_dice_proto_rawDescOnce.Do(func() {
		file_dice_proto_rawDescData = protoimpl.X.CompressGZIP(file_dice_proto_rawDescData)
	})
	return file_dice_proto_rawDescData
}

var file_dice_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
var file_dice_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
var file_dice_proto_goTypes = []interface{}{
	(Face)(0),               // 0: Face
	(*DiceRoll)(nil),        // 1: DiceRoll
	(*RollTable)(nil),       // 2: RollTable
	(*RollRequest)(nil),     // 3: RollRequest
	(*RollResponse)(nil),    // 4: RollResponse
	(*GetRollsRequest)(nil), // 5: GetRollsRequest
}
var file_dice_proto_depIdxs = []int32{
	0, // 0: DiceRoll.face:type_name -> Face
	1, // 1: RollTable.rolls:type_name -> DiceRoll
	3, // 2: RollService.Roll:input_type -> RollRequest
	5, // 3: RollService.GetRolls:input_type -> GetRollsRequest
	4, // 4: RollService.Roll:output_type -> RollResponse
	2, // 5: RollService.GetRolls:output_type -> RollTable
	4, // [4:6] is the sub-list for method output_type
	2, // [2:4] is the sub-list for method input_type
	2, // [2:2] is the sub-list for extension type_name
	2, // [2:2] is the sub-list for extension extendee
	0, // [0:2] is the sub-list for field type_name
}

func init() { file_dice_proto_init() }
func file_dice_proto_init() {
	if File_dice_proto != nil {
		return
	}
	if !protoimpl.UnsafeEnabled {
		file_dice_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*DiceRoll); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_dice_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*RollTable); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_dice_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*RollRequest); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_dice_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*RollResponse); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_dice_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*GetRollsRequest); 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_dice_proto_rawDesc,
			NumEnums:      1,
			NumMessages:   5,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_dice_proto_goTypes,
		DependencyIndexes: file_dice_proto_depIdxs,
		EnumInfos:         file_dice_proto_enumTypes,
		MessageInfos:      file_dice_proto_msgTypes,
	}.Build()
	File_dice_proto = out.File
	file_dice_proto_rawDesc = nil
	file_dice_proto_goTypes = nil
	file_dice_proto_depIdxs = nil
}
