database

package
v0.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 13, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	AdminListUpdateType_name = map[int32]string{
		0: "ADMIN_LIST_UPDATE_TYPE_UNSPECIFIED",
		1: "ADMIN_LIST_UPDATE_TYPE_ADD_ADMIN",
		2: "ADMIN_LIST_UPDATE_TYPE_REMOVE_ADMIN",
		3: "ADMIN_LIST_UPDATE_TYPE_ADD_SUPER_ADMIN",
		4: "ADMIN_LIST_UPDATE_TYPE_REMOVE_SUPER_ADMIN",
	}
	AdminListUpdateType_value = map[string]int32{
		"ADMIN_LIST_UPDATE_TYPE_UNSPECIFIED":        0,
		"ADMIN_LIST_UPDATE_TYPE_ADD_ADMIN":          1,
		"ADMIN_LIST_UPDATE_TYPE_REMOVE_ADMIN":       2,
		"ADMIN_LIST_UPDATE_TYPE_ADD_SUPER_ADMIN":    3,
		"ADMIN_LIST_UPDATE_TYPE_REMOVE_SUPER_ADMIN": 4,
	}
)

Enum value maps for AdminListUpdateType.

View Source
var (
	PermissionUpdateType_name = map[int32]string{
		0: "PERMISSION_UPDATE_TYPE_UNSPECIFIED",
		1: "PERMISSION_UPDATE_TYPE_ADD_MEMBER",
		2: "PERMISSION_UPDATE_TYPE_REMOVE_MEMBER",
		3: "PERMISSION_UPDATE_TYPE_ADD_ADMIN",
		4: "PERMISSION_UPDATE_TYPE_REMOVE_ADMIN",
		5: "PERMISSION_UPDATE_TYPE_UPDATE_METADATA",
	}
	PermissionUpdateType_value = map[string]int32{
		"PERMISSION_UPDATE_TYPE_UNSPECIFIED":     0,
		"PERMISSION_UPDATE_TYPE_ADD_MEMBER":      1,
		"PERMISSION_UPDATE_TYPE_REMOVE_MEMBER":   2,
		"PERMISSION_UPDATE_TYPE_ADD_ADMIN":       3,
		"PERMISSION_UPDATE_TYPE_REMOVE_ADMIN":    4,
		"PERMISSION_UPDATE_TYPE_UPDATE_METADATA": 5,
	}
)

Enum value maps for PermissionUpdateType.

View Source
var (
	PermissionPolicyOption_name = map[int32]string{
		0: "PERMISSION_POLICY_OPTION_UNSPECIFIED",
		1: "PERMISSION_POLICY_OPTION_ALLOW",
		2: "PERMISSION_POLICY_OPTION_DENY",
		3: "PERMISSION_POLICY_OPTION_ADMIN_ONLY",
		4: "PERMISSION_POLICY_OPTION_SUPER_ADMIN_ONLY",
	}
	PermissionPolicyOption_value = map[string]int32{
		"PERMISSION_POLICY_OPTION_UNSPECIFIED":      0,
		"PERMISSION_POLICY_OPTION_ALLOW":            1,
		"PERMISSION_POLICY_OPTION_DENY":             2,
		"PERMISSION_POLICY_OPTION_ADMIN_ONLY":       3,
		"PERMISSION_POLICY_OPTION_SUPER_ADMIN_ONLY": 4,
	}
)

Enum value maps for PermissionPolicyOption.

View Source
var File_mls_database_intents_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AccountAddresses

type AccountAddresses struct {
	AccountAddresses []string `protobuf:"bytes,1,rep,name=account_addresses,json=accountAddresses,proto3" json:"account_addresses,omitempty"`
	// contains filtered or unexported fields
}

Wrapper around a list af repeated EVM Account Addresses

func (*AccountAddresses) Descriptor deprecated

func (*AccountAddresses) Descriptor() ([]byte, []int)

Deprecated: Use AccountAddresses.ProtoReflect.Descriptor instead.

func (*AccountAddresses) GetAccountAddresses

func (x *AccountAddresses) GetAccountAddresses() []string

func (*AccountAddresses) ProtoMessage

func (*AccountAddresses) ProtoMessage()

func (*AccountAddresses) ProtoReflect

func (x *AccountAddresses) ProtoReflect() protoreflect.Message

func (*AccountAddresses) Reset

func (x *AccountAddresses) Reset()

func (*AccountAddresses) String

func (x *AccountAddresses) String() string

type AddMembersData

type AddMembersData struct {

	// Types that are assignable to Version:
	//
	//	*AddMembersData_V1_
	Version isAddMembersData_Version `protobuf_oneof:"version"`
	// contains filtered or unexported fields
}

The data required to add members to a group

func (*AddMembersData) Descriptor deprecated

func (*AddMembersData) Descriptor() ([]byte, []int)

Deprecated: Use AddMembersData.ProtoReflect.Descriptor instead.

func (*AddMembersData) GetV1

func (x *AddMembersData) GetV1() *AddMembersData_V1

func (*AddMembersData) GetVersion

func (m *AddMembersData) GetVersion() isAddMembersData_Version

func (*AddMembersData) ProtoMessage

func (*AddMembersData) ProtoMessage()

func (*AddMembersData) ProtoReflect

func (x *AddMembersData) ProtoReflect() protoreflect.Message

func (*AddMembersData) Reset

func (x *AddMembersData) Reset()

func (*AddMembersData) String

func (x *AddMembersData) String() string

type AddMembersData_V1

type AddMembersData_V1 struct {
	AddressesOrInstallationIds *AddressesOrInstallationIds `` /* 143-byte string literal not displayed */
	// contains filtered or unexported fields
}

V1 of AddMembersPublishData

func (*AddMembersData_V1) Descriptor deprecated

func (*AddMembersData_V1) Descriptor() ([]byte, []int)

Deprecated: Use AddMembersData_V1.ProtoReflect.Descriptor instead.

func (*AddMembersData_V1) GetAddressesOrInstallationIds

func (x *AddMembersData_V1) GetAddressesOrInstallationIds() *AddressesOrInstallationIds

func (*AddMembersData_V1) ProtoMessage

func (*AddMembersData_V1) ProtoMessage()

func (*AddMembersData_V1) ProtoReflect

func (x *AddMembersData_V1) ProtoReflect() protoreflect.Message

func (*AddMembersData_V1) Reset

func (x *AddMembersData_V1) Reset()

func (*AddMembersData_V1) String

func (x *AddMembersData_V1) String() string

type AddMembersData_V1_

type AddMembersData_V1_ struct {
	V1 *AddMembersData_V1 `protobuf:"bytes,1,opt,name=v1,proto3,oneof"`
}

type AddressesOrInstallationIds

type AddressesOrInstallationIds struct {

	// Types that are assignable to AddressesOrInstallationIds:
	//
	//	*AddressesOrInstallationIds_AccountAddresses
	//	*AddressesOrInstallationIds_InstallationIds
	AddressesOrInstallationIds isAddressesOrInstallationIds_AddressesOrInstallationIds `protobuf_oneof:"addresses_or_installation_ids"`
	// contains filtered or unexported fields
}

One of an EVM account address or Installation ID

func (*AddressesOrInstallationIds) Descriptor deprecated

func (*AddressesOrInstallationIds) Descriptor() ([]byte, []int)

Deprecated: Use AddressesOrInstallationIds.ProtoReflect.Descriptor instead.

func (*AddressesOrInstallationIds) GetAccountAddresses

func (x *AddressesOrInstallationIds) GetAccountAddresses() *AccountAddresses

func (*AddressesOrInstallationIds) GetAddressesOrInstallationIds

func (m *AddressesOrInstallationIds) GetAddressesOrInstallationIds() isAddressesOrInstallationIds_AddressesOrInstallationIds

func (*AddressesOrInstallationIds) GetInstallationIds

func (x *AddressesOrInstallationIds) GetInstallationIds() *InstallationIds

func (*AddressesOrInstallationIds) ProtoMessage

func (*AddressesOrInstallationIds) ProtoMessage()

func (*AddressesOrInstallationIds) ProtoReflect

func (*AddressesOrInstallationIds) Reset

func (x *AddressesOrInstallationIds) Reset()

func (*AddressesOrInstallationIds) String

func (x *AddressesOrInstallationIds) String() string

type AddressesOrInstallationIds_AccountAddresses

type AddressesOrInstallationIds_AccountAddresses struct {
	AccountAddresses *AccountAddresses `protobuf:"bytes,1,opt,name=account_addresses,json=accountAddresses,proto3,oneof"`
}

type AddressesOrInstallationIds_InstallationIds

type AddressesOrInstallationIds_InstallationIds struct {
	InstallationIds *InstallationIds `protobuf:"bytes,2,opt,name=installation_ids,json=installationIds,proto3,oneof"`
}

type AdminListUpdateType

type AdminListUpdateType int32

Type of update to admin lists

const (
	AdminListUpdateType_ADMIN_LIST_UPDATE_TYPE_UNSPECIFIED        AdminListUpdateType = 0
	AdminListUpdateType_ADMIN_LIST_UPDATE_TYPE_ADD_ADMIN          AdminListUpdateType = 1
	AdminListUpdateType_ADMIN_LIST_UPDATE_TYPE_REMOVE_ADMIN       AdminListUpdateType = 2
	AdminListUpdateType_ADMIN_LIST_UPDATE_TYPE_ADD_SUPER_ADMIN    AdminListUpdateType = 3
	AdminListUpdateType_ADMIN_LIST_UPDATE_TYPE_REMOVE_SUPER_ADMIN AdminListUpdateType = 4
)

func (AdminListUpdateType) Descriptor

func (AdminListUpdateType) Enum

func (AdminListUpdateType) EnumDescriptor deprecated

func (AdminListUpdateType) EnumDescriptor() ([]byte, []int)

Deprecated: Use AdminListUpdateType.Descriptor instead.

func (AdminListUpdateType) Number

func (AdminListUpdateType) String

func (x AdminListUpdateType) String() string

func (AdminListUpdateType) Type

type InstallationIds

type InstallationIds struct {
	InstallationIds [][]byte `protobuf:"bytes,1,rep,name=installation_ids,json=installationIds,proto3" json:"installation_ids,omitempty"`
	// contains filtered or unexported fields
}

Wrapper around a list of repeated Installation IDs

func (*InstallationIds) Descriptor deprecated

func (*InstallationIds) Descriptor() ([]byte, []int)

Deprecated: Use InstallationIds.ProtoReflect.Descriptor instead.

func (*InstallationIds) GetInstallationIds

func (x *InstallationIds) GetInstallationIds() [][]byte

func (*InstallationIds) ProtoMessage

func (*InstallationIds) ProtoMessage()

func (*InstallationIds) ProtoReflect

func (x *InstallationIds) ProtoReflect() protoreflect.Message

func (*InstallationIds) Reset

func (x *InstallationIds) Reset()

func (*InstallationIds) String

func (x *InstallationIds) String() string

type PermissionPolicyOption

type PermissionPolicyOption int32

Permission Policy

const (
	PermissionPolicyOption_PERMISSION_POLICY_OPTION_UNSPECIFIED      PermissionPolicyOption = 0
	PermissionPolicyOption_PERMISSION_POLICY_OPTION_ALLOW            PermissionPolicyOption = 1
	PermissionPolicyOption_PERMISSION_POLICY_OPTION_DENY             PermissionPolicyOption = 2
	PermissionPolicyOption_PERMISSION_POLICY_OPTION_ADMIN_ONLY       PermissionPolicyOption = 3
	PermissionPolicyOption_PERMISSION_POLICY_OPTION_SUPER_ADMIN_ONLY PermissionPolicyOption = 4
)

func (PermissionPolicyOption) Descriptor

func (PermissionPolicyOption) Enum

func (PermissionPolicyOption) EnumDescriptor deprecated

func (PermissionPolicyOption) EnumDescriptor() ([]byte, []int)

Deprecated: Use PermissionPolicyOption.Descriptor instead.

func (PermissionPolicyOption) Number

func (PermissionPolicyOption) String

func (x PermissionPolicyOption) String() string

func (PermissionPolicyOption) Type

type PermissionUpdateType

type PermissionUpdateType int32

Type of Permission to Update

const (
	PermissionUpdateType_PERMISSION_UPDATE_TYPE_UNSPECIFIED     PermissionUpdateType = 0
	PermissionUpdateType_PERMISSION_UPDATE_TYPE_ADD_MEMBER      PermissionUpdateType = 1
	PermissionUpdateType_PERMISSION_UPDATE_TYPE_REMOVE_MEMBER   PermissionUpdateType = 2
	PermissionUpdateType_PERMISSION_UPDATE_TYPE_ADD_ADMIN       PermissionUpdateType = 3
	PermissionUpdateType_PERMISSION_UPDATE_TYPE_REMOVE_ADMIN    PermissionUpdateType = 4
	PermissionUpdateType_PERMISSION_UPDATE_TYPE_UPDATE_METADATA PermissionUpdateType = 5
)

func (PermissionUpdateType) Descriptor

func (PermissionUpdateType) Enum

func (PermissionUpdateType) EnumDescriptor deprecated

func (PermissionUpdateType) EnumDescriptor() ([]byte, []int)

Deprecated: Use PermissionUpdateType.Descriptor instead.

func (PermissionUpdateType) Number

func (PermissionUpdateType) String

func (x PermissionUpdateType) String() string

func (PermissionUpdateType) Type

type PostCommitAction

type PostCommitAction struct {

	// Types that are assignable to Kind:
	//
	//	*PostCommitAction_SendWelcomes_
	Kind isPostCommitAction_Kind `protobuf_oneof:"kind"`
	// contains filtered or unexported fields
}

Generic data-type for all post-commit actions

func (*PostCommitAction) Descriptor deprecated

func (*PostCommitAction) Descriptor() ([]byte, []int)

Deprecated: Use PostCommitAction.ProtoReflect.Descriptor instead.

func (*PostCommitAction) GetKind

func (m *PostCommitAction) GetKind() isPostCommitAction_Kind

func (*PostCommitAction) GetSendWelcomes

func (x *PostCommitAction) GetSendWelcomes() *PostCommitAction_SendWelcomes

func (*PostCommitAction) ProtoMessage

func (*PostCommitAction) ProtoMessage()

func (*PostCommitAction) ProtoReflect

func (x *PostCommitAction) ProtoReflect() protoreflect.Message

func (*PostCommitAction) Reset

func (x *PostCommitAction) Reset()

func (*PostCommitAction) String

func (x *PostCommitAction) String() string

type PostCommitAction_Installation

type PostCommitAction_Installation struct {
	InstallationKey []byte `protobuf:"bytes,1,opt,name=installation_key,json=installationKey,proto3" json:"installation_key,omitempty"`
	HpkePublicKey   []byte `protobuf:"bytes,2,opt,name=hpke_public_key,json=hpkePublicKey,proto3" json:"hpke_public_key,omitempty"`
	// contains filtered or unexported fields
}

An installation

func (*PostCommitAction_Installation) Descriptor deprecated

func (*PostCommitAction_Installation) Descriptor() ([]byte, []int)

Deprecated: Use PostCommitAction_Installation.ProtoReflect.Descriptor instead.

func (*PostCommitAction_Installation) GetHpkePublicKey

func (x *PostCommitAction_Installation) GetHpkePublicKey() []byte

func (*PostCommitAction_Installation) GetInstallationKey

func (x *PostCommitAction_Installation) GetInstallationKey() []byte

func (*PostCommitAction_Installation) ProtoMessage

func (*PostCommitAction_Installation) ProtoMessage()

func (*PostCommitAction_Installation) ProtoReflect

func (*PostCommitAction_Installation) Reset

func (x *PostCommitAction_Installation) Reset()

func (*PostCommitAction_Installation) String

type PostCommitAction_SendWelcomes

type PostCommitAction_SendWelcomes struct {
	Installations  []*PostCommitAction_Installation `protobuf:"bytes,1,rep,name=installations,proto3" json:"installations,omitempty"`
	WelcomeMessage []byte                           `protobuf:"bytes,2,opt,name=welcome_message,json=welcomeMessage,proto3" json:"welcome_message,omitempty"`
	// contains filtered or unexported fields
}

SendWelcome message

func (*PostCommitAction_SendWelcomes) Descriptor deprecated

func (*PostCommitAction_SendWelcomes) Descriptor() ([]byte, []int)

Deprecated: Use PostCommitAction_SendWelcomes.ProtoReflect.Descriptor instead.

func (*PostCommitAction_SendWelcomes) GetInstallations

func (*PostCommitAction_SendWelcomes) GetWelcomeMessage

func (x *PostCommitAction_SendWelcomes) GetWelcomeMessage() []byte

func (*PostCommitAction_SendWelcomes) ProtoMessage

func (*PostCommitAction_SendWelcomes) ProtoMessage()

func (*PostCommitAction_SendWelcomes) ProtoReflect

func (*PostCommitAction_SendWelcomes) Reset

func (x *PostCommitAction_SendWelcomes) Reset()

func (*PostCommitAction_SendWelcomes) String

type PostCommitAction_SendWelcomes_

type PostCommitAction_SendWelcomes_ struct {
	SendWelcomes *PostCommitAction_SendWelcomes `protobuf:"bytes,1,opt,name=send_welcomes,json=sendWelcomes,proto3,oneof"`
}

type RemoveMembersData

type RemoveMembersData struct {

	// Types that are assignable to Version:
	//
	//	*RemoveMembersData_V1_
	Version isRemoveMembersData_Version `protobuf_oneof:"version"`
	// contains filtered or unexported fields
}

The data required to remove members from a group

func (*RemoveMembersData) Descriptor deprecated

func (*RemoveMembersData) Descriptor() ([]byte, []int)

Deprecated: Use RemoveMembersData.ProtoReflect.Descriptor instead.

func (*RemoveMembersData) GetV1

func (*RemoveMembersData) GetVersion

func (m *RemoveMembersData) GetVersion() isRemoveMembersData_Version

func (*RemoveMembersData) ProtoMessage

func (*RemoveMembersData) ProtoMessage()

func (*RemoveMembersData) ProtoReflect

func (x *RemoveMembersData) ProtoReflect() protoreflect.Message

func (*RemoveMembersData) Reset

func (x *RemoveMembersData) Reset()

func (*RemoveMembersData) String

func (x *RemoveMembersData) String() string

type RemoveMembersData_V1

type RemoveMembersData_V1 struct {
	AddressesOrInstallationIds *AddressesOrInstallationIds `` /* 143-byte string literal not displayed */
	// contains filtered or unexported fields
}

V1 of RemoveMembersPublishData

func (*RemoveMembersData_V1) Descriptor deprecated

func (*RemoveMembersData_V1) Descriptor() ([]byte, []int)

Deprecated: Use RemoveMembersData_V1.ProtoReflect.Descriptor instead.

func (*RemoveMembersData_V1) GetAddressesOrInstallationIds

func (x *RemoveMembersData_V1) GetAddressesOrInstallationIds() *AddressesOrInstallationIds

func (*RemoveMembersData_V1) ProtoMessage

func (*RemoveMembersData_V1) ProtoMessage()

func (*RemoveMembersData_V1) ProtoReflect

func (x *RemoveMembersData_V1) ProtoReflect() protoreflect.Message

func (*RemoveMembersData_V1) Reset

func (x *RemoveMembersData_V1) Reset()

func (*RemoveMembersData_V1) String

func (x *RemoveMembersData_V1) String() string

type RemoveMembersData_V1_

type RemoveMembersData_V1_ struct {
	V1 *RemoveMembersData_V1 `protobuf:"bytes,1,opt,name=v1,proto3,oneof"`
}

type SendMessageData

type SendMessageData struct {

	// Types that are assignable to Version:
	//
	//	*SendMessageData_V1_
	Version isSendMessageData_Version `protobuf_oneof:"version"`
	// contains filtered or unexported fields
}

The data required to publish a message

func (*SendMessageData) Descriptor deprecated

func (*SendMessageData) Descriptor() ([]byte, []int)

Deprecated: Use SendMessageData.ProtoReflect.Descriptor instead.

func (*SendMessageData) GetV1

func (x *SendMessageData) GetV1() *SendMessageData_V1

func (*SendMessageData) GetVersion

func (m *SendMessageData) GetVersion() isSendMessageData_Version

func (*SendMessageData) ProtoMessage

func (*SendMessageData) ProtoMessage()

func (*SendMessageData) ProtoReflect

func (x *SendMessageData) ProtoReflect() protoreflect.Message

func (*SendMessageData) Reset

func (x *SendMessageData) Reset()

func (*SendMessageData) String

func (x *SendMessageData) String() string

type SendMessageData_V1

type SendMessageData_V1 struct {
	PayloadBytes []byte `protobuf:"bytes,1,opt,name=payload_bytes,json=payloadBytes,proto3" json:"payload_bytes,omitempty"`
	// contains filtered or unexported fields
}

V1 of SendMessagePublishData

func (*SendMessageData_V1) Descriptor deprecated

func (*SendMessageData_V1) Descriptor() ([]byte, []int)

Deprecated: Use SendMessageData_V1.ProtoReflect.Descriptor instead.

func (*SendMessageData_V1) GetPayloadBytes

func (x *SendMessageData_V1) GetPayloadBytes() []byte

func (*SendMessageData_V1) ProtoMessage

func (*SendMessageData_V1) ProtoMessage()

func (*SendMessageData_V1) ProtoReflect

func (x *SendMessageData_V1) ProtoReflect() protoreflect.Message

func (*SendMessageData_V1) Reset

func (x *SendMessageData_V1) Reset()

func (*SendMessageData_V1) String

func (x *SendMessageData_V1) String() string

type SendMessageData_V1_

type SendMessageData_V1_ struct {
	V1 *SendMessageData_V1 `protobuf:"bytes,1,opt,name=v1,proto3,oneof"`
}

type UpdateAdminListsData

type UpdateAdminListsData struct {

	// Types that are assignable to Version:
	//
	//	*UpdateAdminListsData_V1_
	Version isUpdateAdminListsData_Version `protobuf_oneof:"version"`
	// contains filtered or unexported fields
}

The data required to update group admin/super admin lists

func (*UpdateAdminListsData) Descriptor deprecated

func (*UpdateAdminListsData) Descriptor() ([]byte, []int)

Deprecated: Use UpdateAdminListsData.ProtoReflect.Descriptor instead.

func (*UpdateAdminListsData) GetV1

func (*UpdateAdminListsData) GetVersion

func (m *UpdateAdminListsData) GetVersion() isUpdateAdminListsData_Version

func (*UpdateAdminListsData) ProtoMessage

func (*UpdateAdminListsData) ProtoMessage()

func (*UpdateAdminListsData) ProtoReflect

func (x *UpdateAdminListsData) ProtoReflect() protoreflect.Message

func (*UpdateAdminListsData) Reset

func (x *UpdateAdminListsData) Reset()

func (*UpdateAdminListsData) String

func (x *UpdateAdminListsData) String() string

type UpdateAdminListsData_V1

type UpdateAdminListsData_V1 struct {
	AdminListUpdateType AdminListUpdateType `` /* 166-byte string literal not displayed */
	InboxId             string              `protobuf:"bytes,2,opt,name=inbox_id,json=inboxId,proto3" json:"inbox_id,omitempty"`
	// contains filtered or unexported fields
}

V1 of UpdateAdminListsPublishData

func (*UpdateAdminListsData_V1) Descriptor deprecated

func (*UpdateAdminListsData_V1) Descriptor() ([]byte, []int)

Deprecated: Use UpdateAdminListsData_V1.ProtoReflect.Descriptor instead.

func (*UpdateAdminListsData_V1) GetAdminListUpdateType

func (x *UpdateAdminListsData_V1) GetAdminListUpdateType() AdminListUpdateType

func (*UpdateAdminListsData_V1) GetInboxId

func (x *UpdateAdminListsData_V1) GetInboxId() string

func (*UpdateAdminListsData_V1) ProtoMessage

func (*UpdateAdminListsData_V1) ProtoMessage()

func (*UpdateAdminListsData_V1) ProtoReflect

func (x *UpdateAdminListsData_V1) ProtoReflect() protoreflect.Message

func (*UpdateAdminListsData_V1) Reset

func (x *UpdateAdminListsData_V1) Reset()

func (*UpdateAdminListsData_V1) String

func (x *UpdateAdminListsData_V1) String() string

type UpdateAdminListsData_V1_

type UpdateAdminListsData_V1_ struct {
	V1 *UpdateAdminListsData_V1 `protobuf:"bytes,1,opt,name=v1,proto3,oneof"`
}

type UpdateGroupMembershipData

type UpdateGroupMembershipData struct {

	// Types that are assignable to Version:
	//
	//	*UpdateGroupMembershipData_V1_
	Version isUpdateGroupMembershipData_Version `protobuf_oneof:"version"`
	// contains filtered or unexported fields
}

The data required to make a commit that updates group membership Handles both Add and Remove actions

func (*UpdateGroupMembershipData) Descriptor deprecated

func (*UpdateGroupMembershipData) Descriptor() ([]byte, []int)

Deprecated: Use UpdateGroupMembershipData.ProtoReflect.Descriptor instead.

func (*UpdateGroupMembershipData) GetV1

func (*UpdateGroupMembershipData) GetVersion

func (m *UpdateGroupMembershipData) GetVersion() isUpdateGroupMembershipData_Version

func (*UpdateGroupMembershipData) ProtoMessage

func (*UpdateGroupMembershipData) ProtoMessage()

func (*UpdateGroupMembershipData) ProtoReflect

func (*UpdateGroupMembershipData) Reset

func (x *UpdateGroupMembershipData) Reset()

func (*UpdateGroupMembershipData) String

func (x *UpdateGroupMembershipData) String() string

type UpdateGroupMembershipData_V1

type UpdateGroupMembershipData_V1 struct {

	// Contains delta of membership updates that need to be applied
	MembershipUpdates map[string]uint64 `` /* 201-byte string literal not displayed */
	// Contains the list of members that will be removed
	RemovedMembers []string `protobuf:"bytes,2,rep,name=removed_members,json=removedMembers,proto3" json:"removed_members,omitempty"`
	// contains filtered or unexported fields
}

V1 of UpdateGroupMembershipPublishData

func (*UpdateGroupMembershipData_V1) Descriptor deprecated

func (*UpdateGroupMembershipData_V1) Descriptor() ([]byte, []int)

Deprecated: Use UpdateGroupMembershipData_V1.ProtoReflect.Descriptor instead.

func (*UpdateGroupMembershipData_V1) GetMembershipUpdates

func (x *UpdateGroupMembershipData_V1) GetMembershipUpdates() map[string]uint64

func (*UpdateGroupMembershipData_V1) GetRemovedMembers

func (x *UpdateGroupMembershipData_V1) GetRemovedMembers() []string

func (*UpdateGroupMembershipData_V1) ProtoMessage

func (*UpdateGroupMembershipData_V1) ProtoMessage()

func (*UpdateGroupMembershipData_V1) ProtoReflect

func (*UpdateGroupMembershipData_V1) Reset

func (x *UpdateGroupMembershipData_V1) Reset()

func (*UpdateGroupMembershipData_V1) String

type UpdateGroupMembershipData_V1_

type UpdateGroupMembershipData_V1_ struct {
	V1 *UpdateGroupMembershipData_V1 `protobuf:"bytes,1,opt,name=v1,proto3,oneof"`
}

type UpdateMetadataData

type UpdateMetadataData struct {

	// Types that are assignable to Version:
	//
	//	*UpdateMetadataData_V1_
	Version isUpdateMetadataData_Version `protobuf_oneof:"version"`
	// contains filtered or unexported fields
}

The data required to update group metadata

func (*UpdateMetadataData) Descriptor deprecated

func (*UpdateMetadataData) Descriptor() ([]byte, []int)

Deprecated: Use UpdateMetadataData.ProtoReflect.Descriptor instead.

func (*UpdateMetadataData) GetV1

func (*UpdateMetadataData) GetVersion

func (m *UpdateMetadataData) GetVersion() isUpdateMetadataData_Version

func (*UpdateMetadataData) ProtoMessage

func (*UpdateMetadataData) ProtoMessage()

func (*UpdateMetadataData) ProtoReflect

func (x *UpdateMetadataData) ProtoReflect() protoreflect.Message

func (*UpdateMetadataData) Reset

func (x *UpdateMetadataData) Reset()

func (*UpdateMetadataData) String

func (x *UpdateMetadataData) String() string

type UpdateMetadataData_V1

type UpdateMetadataData_V1 struct {
	FieldName  string `protobuf:"bytes,1,opt,name=field_name,json=fieldName,proto3" json:"field_name,omitempty"`
	FieldValue string `protobuf:"bytes,2,opt,name=field_value,json=fieldValue,proto3" json:"field_value,omitempty"`
	// contains filtered or unexported fields
}

V1 of UpdateMetadataPublishData

func (*UpdateMetadataData_V1) Descriptor deprecated

func (*UpdateMetadataData_V1) Descriptor() ([]byte, []int)

Deprecated: Use UpdateMetadataData_V1.ProtoReflect.Descriptor instead.

func (*UpdateMetadataData_V1) GetFieldName

func (x *UpdateMetadataData_V1) GetFieldName() string

func (*UpdateMetadataData_V1) GetFieldValue

func (x *UpdateMetadataData_V1) GetFieldValue() string

func (*UpdateMetadataData_V1) ProtoMessage

func (*UpdateMetadataData_V1) ProtoMessage()

func (*UpdateMetadataData_V1) ProtoReflect

func (x *UpdateMetadataData_V1) ProtoReflect() protoreflect.Message

func (*UpdateMetadataData_V1) Reset

func (x *UpdateMetadataData_V1) Reset()

func (*UpdateMetadataData_V1) String

func (x *UpdateMetadataData_V1) String() string

type UpdateMetadataData_V1_

type UpdateMetadataData_V1_ struct {
	V1 *UpdateMetadataData_V1 `protobuf:"bytes,1,opt,name=v1,proto3,oneof"`
}

type UpdatePermissionData

type UpdatePermissionData struct {

	// Types that are assignable to Version:
	//
	//	*UpdatePermissionData_V1_
	Version isUpdatePermissionData_Version `protobuf_oneof:"version"`
	// contains filtered or unexported fields
}

The data required to update permissions

func (*UpdatePermissionData) Descriptor deprecated

func (*UpdatePermissionData) Descriptor() ([]byte, []int)

Deprecated: Use UpdatePermissionData.ProtoReflect.Descriptor instead.

func (*UpdatePermissionData) GetV1

func (*UpdatePermissionData) GetVersion

func (m *UpdatePermissionData) GetVersion() isUpdatePermissionData_Version

func (*UpdatePermissionData) ProtoMessage

func (*UpdatePermissionData) ProtoMessage()

func (*UpdatePermissionData) ProtoReflect

func (x *UpdatePermissionData) ProtoReflect() protoreflect.Message

func (*UpdatePermissionData) Reset

func (x *UpdatePermissionData) Reset()

func (*UpdatePermissionData) String

func (x *UpdatePermissionData) String() string

type UpdatePermissionData_V1

type UpdatePermissionData_V1 struct {
	PermissionUpdateType   PermissionUpdateType   `` /* 168-byte string literal not displayed */
	PermissionPolicyOption PermissionPolicyOption `` /* 176-byte string literal not displayed */
	// Metadata permissions update specify which field permission they are updating
	MetadataFieldName *string `protobuf:"bytes,3,opt,name=metadata_field_name,json=metadataFieldName,proto3,oneof" json:"metadata_field_name,omitempty"`
	// contains filtered or unexported fields
}

V1 of UpdatePermissionData

func (*UpdatePermissionData_V1) Descriptor deprecated

func (*UpdatePermissionData_V1) Descriptor() ([]byte, []int)

Deprecated: Use UpdatePermissionData_V1.ProtoReflect.Descriptor instead.

func (*UpdatePermissionData_V1) GetMetadataFieldName

func (x *UpdatePermissionData_V1) GetMetadataFieldName() string

func (*UpdatePermissionData_V1) GetPermissionPolicyOption

func (x *UpdatePermissionData_V1) GetPermissionPolicyOption() PermissionPolicyOption

func (*UpdatePermissionData_V1) GetPermissionUpdateType

func (x *UpdatePermissionData_V1) GetPermissionUpdateType() PermissionUpdateType

func (*UpdatePermissionData_V1) ProtoMessage

func (*UpdatePermissionData_V1) ProtoMessage()

func (*UpdatePermissionData_V1) ProtoReflect

func (x *UpdatePermissionData_V1) ProtoReflect() protoreflect.Message

func (*UpdatePermissionData_V1) Reset

func (x *UpdatePermissionData_V1) Reset()

func (*UpdatePermissionData_V1) String

func (x *UpdatePermissionData_V1) String() string

type UpdatePermissionData_V1_

type UpdatePermissionData_V1_ struct {
	V1 *UpdatePermissionData_V1 `protobuf:"bytes,1,opt,name=v1,proto3,oneof"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL