// Code generated by protoc-gen-go. DO NOT EDIT.
// source: cs3/identity/group/v1beta1/resources.proto

package groupv1beta1

import (
	fmt "fmt"
	v1beta1 "github.com/cs3org/go-cs3apis/cs3/identity/user/v1beta1"
	v1beta11 "github.com/cs3org/go-cs3apis/cs3/types/v1beta1"
	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

// A GroupId represents a group.
type GroupId struct {
	// REQUIRED.
	// The identity provider for the group.
	Idp string `protobuf:"bytes,1,opt,name=idp,proto3" json:"idp,omitempty"`
	// REQUIRED.
	// the unique identifier for the group in the scope of
	// the identity provider.
	OpaqueId             string   `protobuf:"bytes,2,opt,name=opaque_id,json=opaqueId,proto3" json:"opaque_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *GroupId) Reset()         { *m = GroupId{} }
func (m *GroupId) String() string { return proto.CompactTextString(m) }
func (*GroupId) ProtoMessage()    {}
func (*GroupId) Descriptor() ([]byte, []int) {
	return fileDescriptor_855c824f484248c0, []int{0}
}

func (m *GroupId) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_GroupId.Unmarshal(m, b)
}
func (m *GroupId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_GroupId.Marshal(b, m, deterministic)
}
func (m *GroupId) XXX_Merge(src proto.Message) {
	xxx_messageInfo_GroupId.Merge(m, src)
}
func (m *GroupId) XXX_Size() int {
	return xxx_messageInfo_GroupId.Size(m)
}
func (m *GroupId) XXX_DiscardUnknown() {
	xxx_messageInfo_GroupId.DiscardUnknown(m)
}

var xxx_messageInfo_GroupId proto.InternalMessageInfo

func (m *GroupId) GetIdp() string {
	if m != nil {
		return m.Idp
	}
	return ""
}

func (m *GroupId) GetOpaqueId() string {
	if m != nil {
		return m.OpaqueId
	}
	return ""
}

// Represents a group of the system.
type Group struct {
	Id                   *GroupId          `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	GroupName            string            `protobuf:"bytes,2,opt,name=group_name,json=groupName,proto3" json:"group_name,omitempty"`
	GidNumber            int64             `protobuf:"varint,3,opt,name=gid_number,json=gidNumber,proto3" json:"gid_number,omitempty"`
	Mail                 string            `protobuf:"bytes,4,opt,name=mail,proto3" json:"mail,omitempty"`
	MailVerified         bool              `protobuf:"varint,5,opt,name=mail_verified,json=mailVerified,proto3" json:"mail_verified,omitempty"`
	DisplayName          string            `protobuf:"bytes,6,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	Members              []*v1beta1.UserId `protobuf:"bytes,7,rep,name=members,proto3" json:"members,omitempty"`
	Opaque               *v1beta11.Opaque  `protobuf:"bytes,8,opt,name=opaque,proto3" json:"opaque,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (m *Group) Reset()         { *m = Group{} }
func (m *Group) String() string { return proto.CompactTextString(m) }
func (*Group) ProtoMessage()    {}
func (*Group) Descriptor() ([]byte, []int) {
	return fileDescriptor_855c824f484248c0, []int{1}
}

func (m *Group) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_Group.Unmarshal(m, b)
}
func (m *Group) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_Group.Marshal(b, m, deterministic)
}
func (m *Group) XXX_Merge(src proto.Message) {
	xxx_messageInfo_Group.Merge(m, src)
}
func (m *Group) XXX_Size() int {
	return xxx_messageInfo_Group.Size(m)
}
func (m *Group) XXX_DiscardUnknown() {
	xxx_messageInfo_Group.DiscardUnknown(m)
}

var xxx_messageInfo_Group proto.InternalMessageInfo

func (m *Group) GetId() *GroupId {
	if m != nil {
		return m.Id
	}
	return nil
}

func (m *Group) GetGroupName() string {
	if m != nil {
		return m.GroupName
	}
	return ""
}

func (m *Group) GetGidNumber() int64 {
	if m != nil {
		return m.GidNumber
	}
	return 0
}

func (m *Group) GetMail() string {
	if m != nil {
		return m.Mail
	}
	return ""
}

func (m *Group) GetMailVerified() bool {
	if m != nil {
		return m.MailVerified
	}
	return false
}

func (m *Group) GetDisplayName() string {
	if m != nil {
		return m.DisplayName
	}
	return ""
}

func (m *Group) GetMembers() []*v1beta1.UserId {
	if m != nil {
		return m.Members
	}
	return nil
}

func (m *Group) GetOpaque() *v1beta11.Opaque {
	if m != nil {
		return m.Opaque
	}
	return nil
}

func init() {
	proto.RegisterType((*GroupId)(nil), "cs3.identity.group.v1beta1.GroupId")
	proto.RegisterType((*Group)(nil), "cs3.identity.group.v1beta1.Group")
}

func init() {
	proto.RegisterFile("cs3/identity/group/v1beta1/resources.proto", fileDescriptor_855c824f484248c0)
}

var fileDescriptor_855c824f484248c0 = []byte{
	// 390 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x52, 0x3d, 0xef, 0x9a, 0x40,
	0x18, 0x0f, 0xe0, 0x1b, 0xa7, 0x6d, 0x9a, 0x9b, 0x28, 0x8d, 0x0d, 0xea, 0x42, 0x3b, 0x1c, 0x41,
	0x96, 0x26, 0xdd, 0x74, 0x30, 0x2c, 0xd6, 0x90, 0xd4, 0xa1, 0x31, 0x21, 0xc8, 0x5d, 0xcd, 0x25,
	0x22, 0xf4, 0x0e, 0x4c, 0xdc, 0xfa, 0x59, 0x3a, 0xf6, 0x83, 0x74, 0xe8, 0xa7, 0xfa, 0xe7, 0x1e,
	0x0e, 0x13, 0x07, 0xff, 0x13, 0xc7, 0xef, 0xed, 0xe1, 0x7e, 0x0f, 0xe8, 0x73, 0x2e, 0xa3, 0x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