All checks were successful
Build and Push Docker Image / build_and_push (push) Successful in 1m57s
1406 lines
43 KiB
Go
1406 lines
43 KiB
Go
//COOPGO Groups Management gRPC service definition
|
|
|
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.36.7
|
|
// protoc v6.31.1
|
|
// source: groupsmanagement.proto
|
|
|
|
package grpcapi
|
|
|
|
import (
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
reflect "reflect"
|
|
sync "sync"
|
|
unsafe "unsafe"
|
|
)
|
|
|
|
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 AddGroupRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Group *Group `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *AddGroupRequest) Reset() {
|
|
*x = AddGroupRequest{}
|
|
mi := &file_groupsmanagement_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AddGroupRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AddGroupRequest) ProtoMessage() {}
|
|
|
|
func (x *AddGroupRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_groupsmanagement_proto_msgTypes[0]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use AddGroupRequest.ProtoReflect.Descriptor instead.
|
|
func (*AddGroupRequest) Descriptor() ([]byte, []int) {
|
|
return file_groupsmanagement_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *AddGroupRequest) GetGroup() *Group {
|
|
if x != nil {
|
|
return x.Group
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type AddGroupResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Group *Group `protobuf:"bytes,2,opt,name=group,proto3" json:"group,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *AddGroupResponse) Reset() {
|
|
*x = AddGroupResponse{}
|
|
mi := &file_groupsmanagement_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AddGroupResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AddGroupResponse) ProtoMessage() {}
|
|
|
|
func (x *AddGroupResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_groupsmanagement_proto_msgTypes[1]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use AddGroupResponse.ProtoReflect.Descriptor instead.
|
|
func (*AddGroupResponse) Descriptor() ([]byte, []int) {
|
|
return file_groupsmanagement_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *AddGroupResponse) GetGroup() *Group {
|
|
if x != nil {
|
|
return x.Group
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetGroupRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"`
|
|
Namespace string `protobuf:"bytes,4,opt,name=namespace,proto3" json:"namespace,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetGroupRequest) Reset() {
|
|
*x = GetGroupRequest{}
|
|
mi := &file_groupsmanagement_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetGroupRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetGroupRequest) ProtoMessage() {}
|
|
|
|
func (x *GetGroupRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_groupsmanagement_proto_msgTypes[2]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetGroupRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetGroupRequest) Descriptor() ([]byte, []int) {
|
|
return file_groupsmanagement_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *GetGroupRequest) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetGroupRequest) GetNamespace() string {
|
|
if x != nil {
|
|
return x.Namespace
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetGroupResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Group *Group `protobuf:"bytes,5,opt,name=group,proto3" json:"group,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetGroupResponse) Reset() {
|
|
*x = GetGroupResponse{}
|
|
mi := &file_groupsmanagement_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetGroupResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetGroupResponse) ProtoMessage() {}
|
|
|
|
func (x *GetGroupResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_groupsmanagement_proto_msgTypes[3]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetGroupResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetGroupResponse) Descriptor() ([]byte, []int) {
|
|
return file_groupsmanagement_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *GetGroupResponse) GetGroup() *Group {
|
|
if x != nil {
|
|
return x.Group
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetGroupsRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Namespaces []string `protobuf:"bytes,6,rep,name=namespaces,proto3" json:"namespaces,omitempty"`
|
|
Member string `protobuf:"bytes,7,opt,name=member,proto3" json:"member,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetGroupsRequest) Reset() {
|
|
*x = GetGroupsRequest{}
|
|
mi := &file_groupsmanagement_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetGroupsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetGroupsRequest) ProtoMessage() {}
|
|
|
|
func (x *GetGroupsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_groupsmanagement_proto_msgTypes[4]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetGroupsRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetGroupsRequest) Descriptor() ([]byte, []int) {
|
|
return file_groupsmanagement_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *GetGroupsRequest) GetNamespaces() []string {
|
|
if x != nil {
|
|
return x.Namespaces
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetGroupsRequest) GetMember() string {
|
|
if x != nil {
|
|
return x.Member
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetGroupsResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Groups []*Group `protobuf:"bytes,8,rep,name=groups,proto3" json:"groups,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetGroupsResponse) Reset() {
|
|
*x = GetGroupsResponse{}
|
|
mi := &file_groupsmanagement_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetGroupsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetGroupsResponse) ProtoMessage() {}
|
|
|
|
func (x *GetGroupsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_groupsmanagement_proto_msgTypes[5]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetGroupsResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetGroupsResponse) Descriptor() ([]byte, []int) {
|
|
return file_groupsmanagement_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *GetGroupsResponse) GetGroups() []*Group {
|
|
if x != nil {
|
|
return x.Groups
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetGroupsBatchRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Groupids []string `protobuf:"bytes,10,rep,name=groupids,proto3" json:"groupids,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetGroupsBatchRequest) Reset() {
|
|
*x = GetGroupsBatchRequest{}
|
|
mi := &file_groupsmanagement_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetGroupsBatchRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetGroupsBatchRequest) ProtoMessage() {}
|
|
|
|
func (x *GetGroupsBatchRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_groupsmanagement_proto_msgTypes[6]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetGroupsBatchRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetGroupsBatchRequest) Descriptor() ([]byte, []int) {
|
|
return file_groupsmanagement_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *GetGroupsBatchRequest) GetGroupids() []string {
|
|
if x != nil {
|
|
return x.Groupids
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetGroupsBatchResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Groups []*Group `protobuf:"bytes,11,rep,name=groups,proto3" json:"groups,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetGroupsBatchResponse) Reset() {
|
|
*x = GetGroupsBatchResponse{}
|
|
mi := &file_groupsmanagement_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetGroupsBatchResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetGroupsBatchResponse) ProtoMessage() {}
|
|
|
|
func (x *GetGroupsBatchResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_groupsmanagement_proto_msgTypes[7]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetGroupsBatchResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetGroupsBatchResponse) Descriptor() ([]byte, []int) {
|
|
return file_groupsmanagement_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
func (x *GetGroupsBatchResponse) GetGroups() []*Group {
|
|
if x != nil {
|
|
return x.Groups
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SubscribeRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Groupid string `protobuf:"bytes,20,opt,name=groupid,proto3" json:"groupid,omitempty"`
|
|
Memberid string `protobuf:"bytes,21,opt,name=memberid,proto3" json:"memberid,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SubscribeRequest) Reset() {
|
|
*x = SubscribeRequest{}
|
|
mi := &file_groupsmanagement_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SubscribeRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SubscribeRequest) ProtoMessage() {}
|
|
|
|
func (x *SubscribeRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_groupsmanagement_proto_msgTypes[8]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SubscribeRequest.ProtoReflect.Descriptor instead.
|
|
func (*SubscribeRequest) Descriptor() ([]byte, []int) {
|
|
return file_groupsmanagement_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
func (x *SubscribeRequest) GetGroupid() string {
|
|
if x != nil {
|
|
return x.Groupid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SubscribeRequest) GetMemberid() string {
|
|
if x != nil {
|
|
return x.Memberid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type SubscribeResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Ok bool `protobuf:"varint,22,opt,name=ok,proto3" json:"ok,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SubscribeResponse) Reset() {
|
|
*x = SubscribeResponse{}
|
|
mi := &file_groupsmanagement_proto_msgTypes[9]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SubscribeResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SubscribeResponse) ProtoMessage() {}
|
|
|
|
func (x *SubscribeResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_groupsmanagement_proto_msgTypes[9]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SubscribeResponse.ProtoReflect.Descriptor instead.
|
|
func (*SubscribeResponse) Descriptor() ([]byte, []int) {
|
|
return file_groupsmanagement_proto_rawDescGZIP(), []int{9}
|
|
}
|
|
|
|
func (x *SubscribeResponse) GetOk() bool {
|
|
if x != nil {
|
|
return x.Ok
|
|
}
|
|
return false
|
|
}
|
|
|
|
type UnsubscribeRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Groupid string `protobuf:"bytes,30,opt,name=groupid,proto3" json:"groupid,omitempty"`
|
|
Memberid string `protobuf:"bytes,31,opt,name=memberid,proto3" json:"memberid,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UnsubscribeRequest) Reset() {
|
|
*x = UnsubscribeRequest{}
|
|
mi := &file_groupsmanagement_proto_msgTypes[10]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UnsubscribeRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UnsubscribeRequest) ProtoMessage() {}
|
|
|
|
func (x *UnsubscribeRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_groupsmanagement_proto_msgTypes[10]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UnsubscribeRequest.ProtoReflect.Descriptor instead.
|
|
func (*UnsubscribeRequest) Descriptor() ([]byte, []int) {
|
|
return file_groupsmanagement_proto_rawDescGZIP(), []int{10}
|
|
}
|
|
|
|
func (x *UnsubscribeRequest) GetGroupid() string {
|
|
if x != nil {
|
|
return x.Groupid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UnsubscribeRequest) GetMemberid() string {
|
|
if x != nil {
|
|
return x.Memberid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type UnsubscribeResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Ok bool `protobuf:"varint,32,opt,name=ok,proto3" json:"ok,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UnsubscribeResponse) Reset() {
|
|
*x = UnsubscribeResponse{}
|
|
mi := &file_groupsmanagement_proto_msgTypes[11]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UnsubscribeResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UnsubscribeResponse) ProtoMessage() {}
|
|
|
|
func (x *UnsubscribeResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_groupsmanagement_proto_msgTypes[11]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UnsubscribeResponse.ProtoReflect.Descriptor instead.
|
|
func (*UnsubscribeResponse) Descriptor() ([]byte, []int) {
|
|
return file_groupsmanagement_proto_rawDescGZIP(), []int{11}
|
|
}
|
|
|
|
func (x *UnsubscribeResponse) GetOk() bool {
|
|
if x != nil {
|
|
return x.Ok
|
|
}
|
|
return false
|
|
}
|
|
|
|
type DeleteGroupRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id string `protobuf:"bytes,50,opt,name=id,proto3" json:"id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DeleteGroupRequest) Reset() {
|
|
*x = DeleteGroupRequest{}
|
|
mi := &file_groupsmanagement_proto_msgTypes[12]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DeleteGroupRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeleteGroupRequest) ProtoMessage() {}
|
|
|
|
func (x *DeleteGroupRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_groupsmanagement_proto_msgTypes[12]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DeleteGroupRequest.ProtoReflect.Descriptor instead.
|
|
func (*DeleteGroupRequest) Descriptor() ([]byte, []int) {
|
|
return file_groupsmanagement_proto_rawDescGZIP(), []int{12}
|
|
}
|
|
|
|
func (x *DeleteGroupRequest) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type DeleteGroupResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Ok bool `protobuf:"varint,51,opt,name=ok,proto3" json:"ok,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DeleteGroupResponse) Reset() {
|
|
*x = DeleteGroupResponse{}
|
|
mi := &file_groupsmanagement_proto_msgTypes[13]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DeleteGroupResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeleteGroupResponse) ProtoMessage() {}
|
|
|
|
func (x *DeleteGroupResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_groupsmanagement_proto_msgTypes[13]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DeleteGroupResponse.ProtoReflect.Descriptor instead.
|
|
func (*DeleteGroupResponse) Descriptor() ([]byte, []int) {
|
|
return file_groupsmanagement_proto_rawDescGZIP(), []int{13}
|
|
}
|
|
|
|
func (x *DeleteGroupResponse) GetOk() bool {
|
|
if x != nil {
|
|
return x.Ok
|
|
}
|
|
return false
|
|
}
|
|
|
|
type AddGroupMemberRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Group *GroupMember `protobuf:"bytes,33,opt,name=group,proto3" json:"group,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *AddGroupMemberRequest) Reset() {
|
|
*x = AddGroupMemberRequest{}
|
|
mi := &file_groupsmanagement_proto_msgTypes[14]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AddGroupMemberRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AddGroupMemberRequest) ProtoMessage() {}
|
|
|
|
func (x *AddGroupMemberRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_groupsmanagement_proto_msgTypes[14]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use AddGroupMemberRequest.ProtoReflect.Descriptor instead.
|
|
func (*AddGroupMemberRequest) Descriptor() ([]byte, []int) {
|
|
return file_groupsmanagement_proto_rawDescGZIP(), []int{14}
|
|
}
|
|
|
|
func (x *AddGroupMemberRequest) GetGroup() *GroupMember {
|
|
if x != nil {
|
|
return x.Group
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type AddGroupMemberResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Group *GroupMember `protobuf:"bytes,34,opt,name=group,proto3" json:"group,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *AddGroupMemberResponse) Reset() {
|
|
*x = AddGroupMemberResponse{}
|
|
mi := &file_groupsmanagement_proto_msgTypes[15]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AddGroupMemberResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AddGroupMemberResponse) ProtoMessage() {}
|
|
|
|
func (x *AddGroupMemberResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_groupsmanagement_proto_msgTypes[15]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use AddGroupMemberResponse.ProtoReflect.Descriptor instead.
|
|
func (*AddGroupMemberResponse) Descriptor() ([]byte, []int) {
|
|
return file_groupsmanagement_proto_rawDescGZIP(), []int{15}
|
|
}
|
|
|
|
func (x *AddGroupMemberResponse) GetGroup() *GroupMember {
|
|
if x != nil {
|
|
return x.Group
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetGroupMemberRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id string `protobuf:"bytes,35,opt,name=id,proto3" json:"id,omitempty"`
|
|
Groupid string `protobuf:"bytes,36,opt,name=groupid,proto3" json:"groupid,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetGroupMemberRequest) Reset() {
|
|
*x = GetGroupMemberRequest{}
|
|
mi := &file_groupsmanagement_proto_msgTypes[16]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetGroupMemberRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetGroupMemberRequest) ProtoMessage() {}
|
|
|
|
func (x *GetGroupMemberRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_groupsmanagement_proto_msgTypes[16]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetGroupMemberRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetGroupMemberRequest) Descriptor() ([]byte, []int) {
|
|
return file_groupsmanagement_proto_rawDescGZIP(), []int{16}
|
|
}
|
|
|
|
func (x *GetGroupMemberRequest) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetGroupMemberRequest) GetGroupid() string {
|
|
if x != nil {
|
|
return x.Groupid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetGroupMemberResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Group *GroupMember `protobuf:"bytes,37,opt,name=group,proto3" json:"group,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetGroupMemberResponse) Reset() {
|
|
*x = GetGroupMemberResponse{}
|
|
mi := &file_groupsmanagement_proto_msgTypes[17]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetGroupMemberResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetGroupMemberResponse) ProtoMessage() {}
|
|
|
|
func (x *GetGroupMemberResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_groupsmanagement_proto_msgTypes[17]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetGroupMemberResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetGroupMemberResponse) Descriptor() ([]byte, []int) {
|
|
return file_groupsmanagement_proto_rawDescGZIP(), []int{17}
|
|
}
|
|
|
|
func (x *GetGroupMemberResponse) GetGroup() *GroupMember {
|
|
if x != nil {
|
|
return x.Group
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetGroupsMemberRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Namespaces []string `protobuf:"bytes,38,rep,name=namespaces,proto3" json:"namespaces,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetGroupsMemberRequest) Reset() {
|
|
*x = GetGroupsMemberRequest{}
|
|
mi := &file_groupsmanagement_proto_msgTypes[18]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetGroupsMemberRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetGroupsMemberRequest) ProtoMessage() {}
|
|
|
|
func (x *GetGroupsMemberRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_groupsmanagement_proto_msgTypes[18]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetGroupsMemberRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetGroupsMemberRequest) Descriptor() ([]byte, []int) {
|
|
return file_groupsmanagement_proto_rawDescGZIP(), []int{18}
|
|
}
|
|
|
|
func (x *GetGroupsMemberRequest) GetNamespaces() []string {
|
|
if x != nil {
|
|
return x.Namespaces
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetGroupsMemberResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Groups []*GroupMember `protobuf:"bytes,39,rep,name=groups,proto3" json:"groups,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetGroupsMemberResponse) Reset() {
|
|
*x = GetGroupsMemberResponse{}
|
|
mi := &file_groupsmanagement_proto_msgTypes[19]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetGroupsMemberResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetGroupsMemberResponse) ProtoMessage() {}
|
|
|
|
func (x *GetGroupsMemberResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_groupsmanagement_proto_msgTypes[19]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetGroupsMemberResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetGroupsMemberResponse) Descriptor() ([]byte, []int) {
|
|
return file_groupsmanagement_proto_rawDescGZIP(), []int{19}
|
|
}
|
|
|
|
func (x *GetGroupsMemberResponse) GetGroups() []*GroupMember {
|
|
if x != nil {
|
|
return x.Groups
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetGroupsBatchMemberRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Groupids []string `protobuf:"bytes,40,rep,name=groupids,proto3" json:"groupids,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetGroupsBatchMemberRequest) Reset() {
|
|
*x = GetGroupsBatchMemberRequest{}
|
|
mi := &file_groupsmanagement_proto_msgTypes[20]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetGroupsBatchMemberRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetGroupsBatchMemberRequest) ProtoMessage() {}
|
|
|
|
func (x *GetGroupsBatchMemberRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_groupsmanagement_proto_msgTypes[20]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetGroupsBatchMemberRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetGroupsBatchMemberRequest) Descriptor() ([]byte, []int) {
|
|
return file_groupsmanagement_proto_rawDescGZIP(), []int{20}
|
|
}
|
|
|
|
func (x *GetGroupsBatchMemberRequest) GetGroupids() []string {
|
|
if x != nil {
|
|
return x.Groupids
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetGroupsBatchMemberResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Groups []*GroupMember `protobuf:"bytes,41,rep,name=groups,proto3" json:"groups,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetGroupsBatchMemberResponse) Reset() {
|
|
*x = GetGroupsBatchMemberResponse{}
|
|
mi := &file_groupsmanagement_proto_msgTypes[21]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetGroupsBatchMemberResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetGroupsBatchMemberResponse) ProtoMessage() {}
|
|
|
|
func (x *GetGroupsBatchMemberResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_groupsmanagement_proto_msgTypes[21]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetGroupsBatchMemberResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetGroupsBatchMemberResponse) Descriptor() ([]byte, []int) {
|
|
return file_groupsmanagement_proto_rawDescGZIP(), []int{21}
|
|
}
|
|
|
|
func (x *GetGroupsBatchMemberResponse) GetGroups() []*GroupMember {
|
|
if x != nil {
|
|
return x.Groups
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SubscribeMemberRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Group *GroupMember `protobuf:"bytes,42,opt,name=group,proto3" json:"group,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SubscribeMemberRequest) Reset() {
|
|
*x = SubscribeMemberRequest{}
|
|
mi := &file_groupsmanagement_proto_msgTypes[22]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SubscribeMemberRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SubscribeMemberRequest) ProtoMessage() {}
|
|
|
|
func (x *SubscribeMemberRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_groupsmanagement_proto_msgTypes[22]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SubscribeMemberRequest.ProtoReflect.Descriptor instead.
|
|
func (*SubscribeMemberRequest) Descriptor() ([]byte, []int) {
|
|
return file_groupsmanagement_proto_rawDescGZIP(), []int{22}
|
|
}
|
|
|
|
func (x *SubscribeMemberRequest) GetGroup() *GroupMember {
|
|
if x != nil {
|
|
return x.Group
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SubscribeMemberResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Group *GroupMember `protobuf:"bytes,43,opt,name=group,proto3" json:"group,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SubscribeMemberResponse) Reset() {
|
|
*x = SubscribeMemberResponse{}
|
|
mi := &file_groupsmanagement_proto_msgTypes[23]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SubscribeMemberResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SubscribeMemberResponse) ProtoMessage() {}
|
|
|
|
func (x *SubscribeMemberResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_groupsmanagement_proto_msgTypes[23]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SubscribeMemberResponse.ProtoReflect.Descriptor instead.
|
|
func (*SubscribeMemberResponse) Descriptor() ([]byte, []int) {
|
|
return file_groupsmanagement_proto_rawDescGZIP(), []int{23}
|
|
}
|
|
|
|
func (x *SubscribeMemberResponse) GetGroup() *GroupMember {
|
|
if x != nil {
|
|
return x.Group
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type UnsubscribeMemberRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id string `protobuf:"bytes,44,opt,name=id,proto3" json:"id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UnsubscribeMemberRequest) Reset() {
|
|
*x = UnsubscribeMemberRequest{}
|
|
mi := &file_groupsmanagement_proto_msgTypes[24]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UnsubscribeMemberRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UnsubscribeMemberRequest) ProtoMessage() {}
|
|
|
|
func (x *UnsubscribeMemberRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_groupsmanagement_proto_msgTypes[24]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UnsubscribeMemberRequest.ProtoReflect.Descriptor instead.
|
|
func (*UnsubscribeMemberRequest) Descriptor() ([]byte, []int) {
|
|
return file_groupsmanagement_proto_rawDescGZIP(), []int{24}
|
|
}
|
|
|
|
func (x *UnsubscribeMemberRequest) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type UnsubscribeMemberResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id string `protobuf:"bytes,45,opt,name=id,proto3" json:"id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UnsubscribeMemberResponse) Reset() {
|
|
*x = UnsubscribeMemberResponse{}
|
|
mi := &file_groupsmanagement_proto_msgTypes[25]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UnsubscribeMemberResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UnsubscribeMemberResponse) ProtoMessage() {}
|
|
|
|
func (x *UnsubscribeMemberResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_groupsmanagement_proto_msgTypes[25]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UnsubscribeMemberResponse.ProtoReflect.Descriptor instead.
|
|
func (*UnsubscribeMemberResponse) Descriptor() ([]byte, []int) {
|
|
return file_groupsmanagement_proto_rawDescGZIP(), []int{25}
|
|
}
|
|
|
|
func (x *UnsubscribeMemberResponse) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
var File_groupsmanagement_proto protoreflect.FileDescriptor
|
|
|
|
const file_groupsmanagement_proto_rawDesc = "" +
|
|
"\n" +
|
|
"\x16groupsmanagement.proto\x1a\fgroups.proto\x1a\x12groupsmember.proto\"/\n" +
|
|
"\x0fAddGroupRequest\x12\x1c\n" +
|
|
"\x05group\x18\x01 \x01(\v2\x06.GroupR\x05group\"0\n" +
|
|
"\x10AddGroupResponse\x12\x1c\n" +
|
|
"\x05group\x18\x02 \x01(\v2\x06.GroupR\x05group\"?\n" +
|
|
"\x0fGetGroupRequest\x12\x0e\n" +
|
|
"\x02id\x18\x03 \x01(\tR\x02id\x12\x1c\n" +
|
|
"\tnamespace\x18\x04 \x01(\tR\tnamespace\"0\n" +
|
|
"\x10GetGroupResponse\x12\x1c\n" +
|
|
"\x05group\x18\x05 \x01(\v2\x06.GroupR\x05group\"J\n" +
|
|
"\x10GetGroupsRequest\x12\x1e\n" +
|
|
"\n" +
|
|
"namespaces\x18\x06 \x03(\tR\n" +
|
|
"namespaces\x12\x16\n" +
|
|
"\x06member\x18\a \x01(\tR\x06member\"3\n" +
|
|
"\x11GetGroupsResponse\x12\x1e\n" +
|
|
"\x06groups\x18\b \x03(\v2\x06.GroupR\x06groups\"3\n" +
|
|
"\x15GetGroupsBatchRequest\x12\x1a\n" +
|
|
"\bgroupids\x18\n" +
|
|
" \x03(\tR\bgroupids\"8\n" +
|
|
"\x16GetGroupsBatchResponse\x12\x1e\n" +
|
|
"\x06groups\x18\v \x03(\v2\x06.GroupR\x06groups\"H\n" +
|
|
"\x10SubscribeRequest\x12\x18\n" +
|
|
"\agroupid\x18\x14 \x01(\tR\agroupid\x12\x1a\n" +
|
|
"\bmemberid\x18\x15 \x01(\tR\bmemberid\"#\n" +
|
|
"\x11SubscribeResponse\x12\x0e\n" +
|
|
"\x02ok\x18\x16 \x01(\bR\x02ok\"J\n" +
|
|
"\x12UnsubscribeRequest\x12\x18\n" +
|
|
"\agroupid\x18\x1e \x01(\tR\agroupid\x12\x1a\n" +
|
|
"\bmemberid\x18\x1f \x01(\tR\bmemberid\"%\n" +
|
|
"\x13UnsubscribeResponse\x12\x0e\n" +
|
|
"\x02ok\x18 \x01(\bR\x02ok\"$\n" +
|
|
"\x12DeleteGroupRequest\x12\x0e\n" +
|
|
"\x02id\x182 \x01(\tR\x02id\"%\n" +
|
|
"\x13DeleteGroupResponse\x12\x0e\n" +
|
|
"\x02ok\x183 \x01(\bR\x02ok\";\n" +
|
|
"\x15AddGroupMemberRequest\x12\"\n" +
|
|
"\x05group\x18! \x01(\v2\f.GroupMemberR\x05group\"<\n" +
|
|
"\x16AddGroupMemberResponse\x12\"\n" +
|
|
"\x05group\x18\" \x01(\v2\f.GroupMemberR\x05group\"A\n" +
|
|
"\x15GetGroupMemberRequest\x12\x0e\n" +
|
|
"\x02id\x18# \x01(\tR\x02id\x12\x18\n" +
|
|
"\agroupid\x18$ \x01(\tR\agroupid\"<\n" +
|
|
"\x16GetGroupMemberResponse\x12\"\n" +
|
|
"\x05group\x18% \x01(\v2\f.GroupMemberR\x05group\"8\n" +
|
|
"\x16GetGroupsMemberRequest\x12\x1e\n" +
|
|
"\n" +
|
|
"namespaces\x18& \x03(\tR\n" +
|
|
"namespaces\"?\n" +
|
|
"\x17GetGroupsMemberResponse\x12$\n" +
|
|
"\x06groups\x18' \x03(\v2\f.GroupMemberR\x06groups\"9\n" +
|
|
"\x1bGetGroupsBatchMemberRequest\x12\x1a\n" +
|
|
"\bgroupids\x18( \x03(\tR\bgroupids\"D\n" +
|
|
"\x1cGetGroupsBatchMemberResponse\x12$\n" +
|
|
"\x06groups\x18) \x03(\v2\f.GroupMemberR\x06groups\"<\n" +
|
|
"\x16SubscribeMemberRequest\x12\"\n" +
|
|
"\x05group\x18* \x01(\v2\f.GroupMemberR\x05group\"=\n" +
|
|
"\x17SubscribeMemberResponse\x12\"\n" +
|
|
"\x05group\x18+ \x01(\v2\f.GroupMemberR\x05group\"*\n" +
|
|
"\x18UnsubscribeMemberRequest\x12\x0e\n" +
|
|
"\x02id\x18, \x01(\tR\x02id\"+\n" +
|
|
"\x19UnsubscribeMemberResponse\x12\x0e\n" +
|
|
"\x02id\x18- \x01(\tR\x02id2\xe0\x06\n" +
|
|
"\x10GroupsManagement\x121\n" +
|
|
"\bAddGroup\x12\x10.AddGroupRequest\x1a\x11.AddGroupResponse\"\x00\x121\n" +
|
|
"\bGetGroup\x12\x10.GetGroupRequest\x1a\x11.GetGroupResponse\"\x00\x124\n" +
|
|
"\tGetGroups\x12\x11.GetGroupsRequest\x1a\x12.GetGroupsResponse\"\x00\x12C\n" +
|
|
"\x0eGetGroupsBatch\x12\x16.GetGroupsBatchRequest\x1a\x17.GetGroupsBatchResponse\"\x00\x124\n" +
|
|
"\tSubscribe\x12\x11.SubscribeRequest\x1a\x12.SubscribeResponse\"\x00\x12:\n" +
|
|
"\vUnsubscribe\x12\x13.UnsubscribeRequest\x1a\x14.UnsubscribeResponse\"\x00\x12:\n" +
|
|
"\vDeleteGroup\x12\x13.DeleteGroupRequest\x1a\x14.DeleteGroupResponse\"\x00\x12C\n" +
|
|
"\x0eAddGroupMember\x12\x16.AddGroupMemberRequest\x1a\x17.AddGroupMemberResponse\"\x00\x12C\n" +
|
|
"\x0eGetGroupMember\x12\x16.GetGroupMemberRequest\x1a\x17.GetGroupMemberResponse\"\x00\x12F\n" +
|
|
"\x0fGetGroupsMember\x12\x17.GetGroupsMemberRequest\x1a\x18.GetGroupsMemberResponse\"\x00\x12U\n" +
|
|
"\x14GetGroupsBatchMember\x12\x1c.GetGroupsBatchMemberRequest\x1a\x1d.GetGroupsBatchMemberResponse\"\x00\x12F\n" +
|
|
"\x0fSubscribeMember\x12\x17.SubscribeMemberRequest\x1a\x18.SubscribeMemberResponse\"\x00\x12L\n" +
|
|
"\x11UnsubscribeMember\x12\x19.UnsubscribeMemberRequest\x1a\x1a.UnsubscribeMemberResponse\"\x00B9Z7git.coopgo.io/coopgo-platform/groups-management/grpcapib\x06proto3"
|
|
|
|
var (
|
|
file_groupsmanagement_proto_rawDescOnce sync.Once
|
|
file_groupsmanagement_proto_rawDescData []byte
|
|
)
|
|
|
|
func file_groupsmanagement_proto_rawDescGZIP() []byte {
|
|
file_groupsmanagement_proto_rawDescOnce.Do(func() {
|
|
file_groupsmanagement_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_groupsmanagement_proto_rawDesc), len(file_groupsmanagement_proto_rawDesc)))
|
|
})
|
|
return file_groupsmanagement_proto_rawDescData
|
|
}
|
|
|
|
var file_groupsmanagement_proto_msgTypes = make([]protoimpl.MessageInfo, 26)
|
|
var file_groupsmanagement_proto_goTypes = []any{
|
|
(*AddGroupRequest)(nil), // 0: AddGroupRequest
|
|
(*AddGroupResponse)(nil), // 1: AddGroupResponse
|
|
(*GetGroupRequest)(nil), // 2: GetGroupRequest
|
|
(*GetGroupResponse)(nil), // 3: GetGroupResponse
|
|
(*GetGroupsRequest)(nil), // 4: GetGroupsRequest
|
|
(*GetGroupsResponse)(nil), // 5: GetGroupsResponse
|
|
(*GetGroupsBatchRequest)(nil), // 6: GetGroupsBatchRequest
|
|
(*GetGroupsBatchResponse)(nil), // 7: GetGroupsBatchResponse
|
|
(*SubscribeRequest)(nil), // 8: SubscribeRequest
|
|
(*SubscribeResponse)(nil), // 9: SubscribeResponse
|
|
(*UnsubscribeRequest)(nil), // 10: UnsubscribeRequest
|
|
(*UnsubscribeResponse)(nil), // 11: UnsubscribeResponse
|
|
(*DeleteGroupRequest)(nil), // 12: DeleteGroupRequest
|
|
(*DeleteGroupResponse)(nil), // 13: DeleteGroupResponse
|
|
(*AddGroupMemberRequest)(nil), // 14: AddGroupMemberRequest
|
|
(*AddGroupMemberResponse)(nil), // 15: AddGroupMemberResponse
|
|
(*GetGroupMemberRequest)(nil), // 16: GetGroupMemberRequest
|
|
(*GetGroupMemberResponse)(nil), // 17: GetGroupMemberResponse
|
|
(*GetGroupsMemberRequest)(nil), // 18: GetGroupsMemberRequest
|
|
(*GetGroupsMemberResponse)(nil), // 19: GetGroupsMemberResponse
|
|
(*GetGroupsBatchMemberRequest)(nil), // 20: GetGroupsBatchMemberRequest
|
|
(*GetGroupsBatchMemberResponse)(nil), // 21: GetGroupsBatchMemberResponse
|
|
(*SubscribeMemberRequest)(nil), // 22: SubscribeMemberRequest
|
|
(*SubscribeMemberResponse)(nil), // 23: SubscribeMemberResponse
|
|
(*UnsubscribeMemberRequest)(nil), // 24: UnsubscribeMemberRequest
|
|
(*UnsubscribeMemberResponse)(nil), // 25: UnsubscribeMemberResponse
|
|
(*Group)(nil), // 26: Group
|
|
(*GroupMember)(nil), // 27: GroupMember
|
|
}
|
|
var file_groupsmanagement_proto_depIdxs = []int32{
|
|
26, // 0: AddGroupRequest.group:type_name -> Group
|
|
26, // 1: AddGroupResponse.group:type_name -> Group
|
|
26, // 2: GetGroupResponse.group:type_name -> Group
|
|
26, // 3: GetGroupsResponse.groups:type_name -> Group
|
|
26, // 4: GetGroupsBatchResponse.groups:type_name -> Group
|
|
27, // 5: AddGroupMemberRequest.group:type_name -> GroupMember
|
|
27, // 6: AddGroupMemberResponse.group:type_name -> GroupMember
|
|
27, // 7: GetGroupMemberResponse.group:type_name -> GroupMember
|
|
27, // 8: GetGroupsMemberResponse.groups:type_name -> GroupMember
|
|
27, // 9: GetGroupsBatchMemberResponse.groups:type_name -> GroupMember
|
|
27, // 10: SubscribeMemberRequest.group:type_name -> GroupMember
|
|
27, // 11: SubscribeMemberResponse.group:type_name -> GroupMember
|
|
0, // 12: GroupsManagement.AddGroup:input_type -> AddGroupRequest
|
|
2, // 13: GroupsManagement.GetGroup:input_type -> GetGroupRequest
|
|
4, // 14: GroupsManagement.GetGroups:input_type -> GetGroupsRequest
|
|
6, // 15: GroupsManagement.GetGroupsBatch:input_type -> GetGroupsBatchRequest
|
|
8, // 16: GroupsManagement.Subscribe:input_type -> SubscribeRequest
|
|
10, // 17: GroupsManagement.Unsubscribe:input_type -> UnsubscribeRequest
|
|
12, // 18: GroupsManagement.DeleteGroup:input_type -> DeleteGroupRequest
|
|
14, // 19: GroupsManagement.AddGroupMember:input_type -> AddGroupMemberRequest
|
|
16, // 20: GroupsManagement.GetGroupMember:input_type -> GetGroupMemberRequest
|
|
18, // 21: GroupsManagement.GetGroupsMember:input_type -> GetGroupsMemberRequest
|
|
20, // 22: GroupsManagement.GetGroupsBatchMember:input_type -> GetGroupsBatchMemberRequest
|
|
22, // 23: GroupsManagement.SubscribeMember:input_type -> SubscribeMemberRequest
|
|
24, // 24: GroupsManagement.UnsubscribeMember:input_type -> UnsubscribeMemberRequest
|
|
1, // 25: GroupsManagement.AddGroup:output_type -> AddGroupResponse
|
|
3, // 26: GroupsManagement.GetGroup:output_type -> GetGroupResponse
|
|
5, // 27: GroupsManagement.GetGroups:output_type -> GetGroupsResponse
|
|
7, // 28: GroupsManagement.GetGroupsBatch:output_type -> GetGroupsBatchResponse
|
|
9, // 29: GroupsManagement.Subscribe:output_type -> SubscribeResponse
|
|
11, // 30: GroupsManagement.Unsubscribe:output_type -> UnsubscribeResponse
|
|
13, // 31: GroupsManagement.DeleteGroup:output_type -> DeleteGroupResponse
|
|
15, // 32: GroupsManagement.AddGroupMember:output_type -> AddGroupMemberResponse
|
|
17, // 33: GroupsManagement.GetGroupMember:output_type -> GetGroupMemberResponse
|
|
19, // 34: GroupsManagement.GetGroupsMember:output_type -> GetGroupsMemberResponse
|
|
21, // 35: GroupsManagement.GetGroupsBatchMember:output_type -> GetGroupsBatchMemberResponse
|
|
23, // 36: GroupsManagement.SubscribeMember:output_type -> SubscribeMemberResponse
|
|
25, // 37: GroupsManagement.UnsubscribeMember:output_type -> UnsubscribeMemberResponse
|
|
25, // [25:38] is the sub-list for method output_type
|
|
12, // [12:25] is the sub-list for method input_type
|
|
12, // [12:12] is the sub-list for extension type_name
|
|
12, // [12:12] is the sub-list for extension extendee
|
|
0, // [0:12] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_groupsmanagement_proto_init() }
|
|
func file_groupsmanagement_proto_init() {
|
|
if File_groupsmanagement_proto != nil {
|
|
return
|
|
}
|
|
file_groups_proto_init()
|
|
file_groupsmember_proto_init()
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: unsafe.Slice(unsafe.StringData(file_groupsmanagement_proto_rawDesc), len(file_groupsmanagement_proto_rawDesc)),
|
|
NumEnums: 0,
|
|
NumMessages: 26,
|
|
NumExtensions: 0,
|
|
NumServices: 1,
|
|
},
|
|
GoTypes: file_groupsmanagement_proto_goTypes,
|
|
DependencyIndexes: file_groupsmanagement_proto_depIdxs,
|
|
MessageInfos: file_groupsmanagement_proto_msgTypes,
|
|
}.Build()
|
|
File_groupsmanagement_proto = out.File
|
|
file_groupsmanagement_proto_goTypes = nil
|
|
file_groupsmanagement_proto_depIdxs = nil
|
|
}
|