organization

package
v0.3.46 Latest Latest
Warning

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

Go to latest
Published: May 3, 2024 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Overview

Package organization is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	UsersSettingsManager_GetUser_FullMethodName                     = "/prodvana.settings.organization.UsersSettingsManager/GetUser"
	UsersSettingsManager_ListUsers_FullMethodName                   = "/prodvana.settings.organization.UsersSettingsManager/ListUsers"
	UsersSettingsManager_ListRoles_FullMethodName                   = "/prodvana.settings.organization.UsersSettingsManager/ListRoles"
	UsersSettingsManager_SetRoles_FullMethodName                    = "/prodvana.settings.organization.UsersSettingsManager/SetRoles"
	UsersSettingsManager_InviteUsers_FullMethodName                 = "/prodvana.settings.organization.UsersSettingsManager/InviteUsers"
	UsersSettingsManager_OrganizationSupportsInvites_FullMethodName = "/prodvana.settings.organization.UsersSettingsManager/OrganizationSupportsInvites"
	UsersSettingsManager_RemoveUser_FullMethodName                  = "/prodvana.settings.organization.UsersSettingsManager/RemoveUser"
)

Variables

View Source
var (
	Role_name = map[int32]string{
		0: "UNSPECIFIED",
		1: "ORG_ADMIN",
		2: "CLOUD_ADMIN",
		3: "SERVICE_OWNER",
		4: "VIEWER",
		5: "RELEASE_MANAGER",
	}
	Role_value = map[string]int32{
		"UNSPECIFIED":     0,
		"ORG_ADMIN":       1,
		"CLOUD_ADMIN":     2,
		"SERVICE_OWNER":   3,
		"VIEWER":          4,
		"RELEASE_MANAGER": 5,
	}
)

Enum value maps for Role.

View Source
var File_prodvana_settings_organization_roles_proto protoreflect.FileDescriptor
View Source
var File_prodvana_settings_organization_users_proto protoreflect.FileDescriptor
View Source
var UsersSettingsManager_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "prodvana.settings.organization.UsersSettingsManager",
	HandlerType: (*UsersSettingsManagerServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetUser",
			Handler:    _UsersSettingsManager_GetUser_Handler,
		},
		{
			MethodName: "ListUsers",
			Handler:    _UsersSettingsManager_ListUsers_Handler,
		},
		{
			MethodName: "ListRoles",
			Handler:    _UsersSettingsManager_ListRoles_Handler,
		},
		{
			MethodName: "SetRoles",
			Handler:    _UsersSettingsManager_SetRoles_Handler,
		},
		{
			MethodName: "InviteUsers",
			Handler:    _UsersSettingsManager_InviteUsers_Handler,
		},
		{
			MethodName: "OrganizationSupportsInvites",
			Handler:    _UsersSettingsManager_OrganizationSupportsInvites_Handler,
		},
		{
			MethodName: "RemoveUser",
			Handler:    _UsersSettingsManager_RemoveUser_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "prodvana/settings/organization/users.proto",
}

UsersSettingsManager_ServiceDesc is the grpc.ServiceDesc for UsersSettingsManager service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterUsersSettingsManagerHandler

func RegisterUsersSettingsManagerHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterUsersSettingsManagerHandler registers the http handlers for service UsersSettingsManager to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterUsersSettingsManagerHandlerClient

func RegisterUsersSettingsManagerHandlerClient(ctx context.Context, mux *runtime.ServeMux, client UsersSettingsManagerClient) error

RegisterUsersSettingsManagerHandlerClient registers the http handlers for service UsersSettingsManager to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "UsersSettingsManagerClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "UsersSettingsManagerClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "UsersSettingsManagerClient" to call the correct interceptors.

func RegisterUsersSettingsManagerHandlerFromEndpoint

func RegisterUsersSettingsManagerHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterUsersSettingsManagerHandlerFromEndpoint is same as RegisterUsersSettingsManagerHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterUsersSettingsManagerHandlerServer

func RegisterUsersSettingsManagerHandlerServer(ctx context.Context, mux *runtime.ServeMux, server UsersSettingsManagerServer) error

RegisterUsersSettingsManagerHandlerServer registers the http handlers for service UsersSettingsManager to "mux". UnaryRPC :call UsersSettingsManagerServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterUsersSettingsManagerHandlerFromEndpoint instead.

func RegisterUsersSettingsManagerServer

func RegisterUsersSettingsManagerServer(s grpc.ServiceRegistrar, srv UsersSettingsManagerServer)

Types

type GetUserReq

type GetUserReq struct {
	UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUserReq) CloneMessageVT added in v0.3.34

func (m *GetUserReq) CloneMessageVT() proto.Message

func (*GetUserReq) CloneVT added in v0.3.34

func (m *GetUserReq) CloneVT() *GetUserReq

func (*GetUserReq) Descriptor deprecated

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

Deprecated: Use GetUserReq.ProtoReflect.Descriptor instead.

func (*GetUserReq) EqualMessageVT added in v0.3.34

func (this *GetUserReq) EqualMessageVT(thatMsg proto.Message) bool

func (*GetUserReq) EqualVT added in v0.3.34

func (this *GetUserReq) EqualVT(that *GetUserReq) bool

func (*GetUserReq) GetUserId

func (x *GetUserReq) GetUserId() string

func (*GetUserReq) ProtoMessage

func (*GetUserReq) ProtoMessage()

func (*GetUserReq) ProtoReflect

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

func (*GetUserReq) Reset

func (x *GetUserReq) Reset()

func (*GetUserReq) StableEqualMessageVT added in v0.3.34

func (this *GetUserReq) StableEqualMessageVT(thatMsg proto.Message) bool

func (*GetUserReq) StableEqualVT added in v0.3.34

func (this *GetUserReq) StableEqualVT(that *GetUserReq) bool

func (*GetUserReq) String

func (x *GetUserReq) String() string

func (*GetUserReq) Validate

func (m *GetUserReq) Validate() error

Validate checks the field values on GetUserReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetUserReq) ValidateAll

func (m *GetUserReq) ValidateAll() error

ValidateAll checks the field values on GetUserReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetUserReqMultiError, or nil if none found.

type GetUserReqMultiError

type GetUserReqMultiError []error

GetUserReqMultiError is an error wrapping multiple validation errors returned by GetUserReq.ValidateAll() if the designated constraints aren't met.

func (GetUserReqMultiError) AllErrors

func (m GetUserReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetUserReqMultiError) Error

func (m GetUserReqMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type GetUserReqValidationError

type GetUserReqValidationError struct {
	// contains filtered or unexported fields
}

GetUserReqValidationError is the validation error returned by GetUserReq.Validate if the designated constraints aren't met.

func (GetUserReqValidationError) Cause

func (e GetUserReqValidationError) Cause() error

Cause function returns cause value.

func (GetUserReqValidationError) Error

Error satisfies the builtin error interface

func (GetUserReqValidationError) ErrorName

func (e GetUserReqValidationError) ErrorName() string

ErrorName returns error name.

func (GetUserReqValidationError) Field

Field function returns field value.

func (GetUserReqValidationError) Key

Key function returns key value.

func (GetUserReqValidationError) Reason

func (e GetUserReqValidationError) Reason() string

Reason function returns reason value.

type GetUserResp

type GetUserResp struct {
	User *SettingsUser `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUserResp) CloneMessageVT added in v0.3.34

func (m *GetUserResp) CloneMessageVT() proto.Message

func (*GetUserResp) CloneVT added in v0.3.34

func (m *GetUserResp) CloneVT() *GetUserResp

func (*GetUserResp) Descriptor deprecated

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

Deprecated: Use GetUserResp.ProtoReflect.Descriptor instead.

func (*GetUserResp) EqualMessageVT added in v0.3.34

func (this *GetUserResp) EqualMessageVT(thatMsg proto.Message) bool

func (*GetUserResp) EqualVT added in v0.3.34

func (this *GetUserResp) EqualVT(that *GetUserResp) bool

func (*GetUserResp) GetUser

func (x *GetUserResp) GetUser() *SettingsUser

func (*GetUserResp) ProtoMessage

func (*GetUserResp) ProtoMessage()

func (*GetUserResp) ProtoReflect

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

func (*GetUserResp) Reset

func (x *GetUserResp) Reset()

func (*GetUserResp) StableEqualMessageVT added in v0.3.34

func (this *GetUserResp) StableEqualMessageVT(thatMsg proto.Message) bool

func (*GetUserResp) StableEqualVT added in v0.3.34

func (this *GetUserResp) StableEqualVT(that *GetUserResp) bool

func (*GetUserResp) String

func (x *GetUserResp) String() string

func (*GetUserResp) Validate

func (m *GetUserResp) Validate() error

Validate checks the field values on GetUserResp with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetUserResp) ValidateAll

func (m *GetUserResp) ValidateAll() error

ValidateAll checks the field values on GetUserResp with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetUserRespMultiError, or nil if none found.

type GetUserRespMultiError

type GetUserRespMultiError []error

GetUserRespMultiError is an error wrapping multiple validation errors returned by GetUserResp.ValidateAll() if the designated constraints aren't met.

func (GetUserRespMultiError) AllErrors

func (m GetUserRespMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetUserRespMultiError) Error

func (m GetUserRespMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type GetUserRespValidationError

type GetUserRespValidationError struct {
	// contains filtered or unexported fields
}

GetUserRespValidationError is the validation error returned by GetUserResp.Validate if the designated constraints aren't met.

func (GetUserRespValidationError) Cause

Cause function returns cause value.

func (GetUserRespValidationError) Error

Error satisfies the builtin error interface

func (GetUserRespValidationError) ErrorName

func (e GetUserRespValidationError) ErrorName() string

ErrorName returns error name.

func (GetUserRespValidationError) Field

Field function returns field value.

func (GetUserRespValidationError) Key

Key function returns key value.

func (GetUserRespValidationError) Reason

Reason function returns reason value.

type InviteUsersReq added in v0.2.23

type InviteUsersReq struct {
	Users []*UserInvite `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"`
	// contains filtered or unexported fields
}

func (*InviteUsersReq) CloneMessageVT added in v0.3.34

func (m *InviteUsersReq) CloneMessageVT() proto.Message

func (*InviteUsersReq) CloneVT added in v0.3.34

func (m *InviteUsersReq) CloneVT() *InviteUsersReq

func (*InviteUsersReq) Descriptor deprecated added in v0.2.23

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

Deprecated: Use InviteUsersReq.ProtoReflect.Descriptor instead.

func (*InviteUsersReq) EqualMessageVT added in v0.3.34

func (this *InviteUsersReq) EqualMessageVT(thatMsg proto.Message) bool

func (*InviteUsersReq) EqualVT added in v0.3.34

func (this *InviteUsersReq) EqualVT(that *InviteUsersReq) bool

func (*InviteUsersReq) GetUsers added in v0.2.23

func (x *InviteUsersReq) GetUsers() []*UserInvite

func (*InviteUsersReq) ProtoMessage added in v0.2.23

func (*InviteUsersReq) ProtoMessage()

func (*InviteUsersReq) ProtoReflect added in v0.2.23

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

func (*InviteUsersReq) Reset added in v0.2.23

func (x *InviteUsersReq) Reset()

func (*InviteUsersReq) StableEqualMessageVT added in v0.3.34

func (this *InviteUsersReq) StableEqualMessageVT(thatMsg proto.Message) bool

func (*InviteUsersReq) StableEqualVT added in v0.3.34

func (this *InviteUsersReq) StableEqualVT(that *InviteUsersReq) bool

func (*InviteUsersReq) String added in v0.2.23

func (x *InviteUsersReq) String() string

func (*InviteUsersReq) Validate added in v0.2.23

func (m *InviteUsersReq) Validate() error

Validate checks the field values on InviteUsersReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*InviteUsersReq) ValidateAll added in v0.2.23

func (m *InviteUsersReq) ValidateAll() error

ValidateAll checks the field values on InviteUsersReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in InviteUsersReqMultiError, or nil if none found.

type InviteUsersReqMultiError added in v0.2.23

type InviteUsersReqMultiError []error

InviteUsersReqMultiError is an error wrapping multiple validation errors returned by InviteUsersReq.ValidateAll() if the designated constraints aren't met.

func (InviteUsersReqMultiError) AllErrors added in v0.2.23

func (m InviteUsersReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (InviteUsersReqMultiError) Error added in v0.2.23

func (m InviteUsersReqMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type InviteUsersReqValidationError added in v0.2.23

type InviteUsersReqValidationError struct {
	// contains filtered or unexported fields
}

InviteUsersReqValidationError is the validation error returned by InviteUsersReq.Validate if the designated constraints aren't met.

func (InviteUsersReqValidationError) Cause added in v0.2.23

Cause function returns cause value.

func (InviteUsersReqValidationError) Error added in v0.2.23

Error satisfies the builtin error interface

func (InviteUsersReqValidationError) ErrorName added in v0.2.23

func (e InviteUsersReqValidationError) ErrorName() string

ErrorName returns error name.

func (InviteUsersReqValidationError) Field added in v0.2.23

Field function returns field value.

func (InviteUsersReqValidationError) Key added in v0.2.23

Key function returns key value.

func (InviteUsersReqValidationError) Reason added in v0.2.23

Reason function returns reason value.

type InviteUsersResp added in v0.2.23

type InviteUsersResp struct {
	// contains filtered or unexported fields
}

func (*InviteUsersResp) CloneMessageVT added in v0.3.34

func (m *InviteUsersResp) CloneMessageVT() proto.Message

func (*InviteUsersResp) CloneVT added in v0.3.34

func (m *InviteUsersResp) CloneVT() *InviteUsersResp

func (*InviteUsersResp) Descriptor deprecated added in v0.2.23

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

Deprecated: Use InviteUsersResp.ProtoReflect.Descriptor instead.

func (*InviteUsersResp) EqualMessageVT added in v0.3.34

func (this *InviteUsersResp) EqualMessageVT(thatMsg proto.Message) bool

func (*InviteUsersResp) EqualVT added in v0.3.34

func (this *InviteUsersResp) EqualVT(that *InviteUsersResp) bool

func (*InviteUsersResp) ProtoMessage added in v0.2.23

func (*InviteUsersResp) ProtoMessage()

func (*InviteUsersResp) ProtoReflect added in v0.2.23

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

func (*InviteUsersResp) Reset added in v0.2.23

func (x *InviteUsersResp) Reset()

func (*InviteUsersResp) StableEqualMessageVT added in v0.3.34

func (this *InviteUsersResp) StableEqualMessageVT(thatMsg proto.Message) bool

func (*InviteUsersResp) StableEqualVT added in v0.3.34

func (this *InviteUsersResp) StableEqualVT(that *InviteUsersResp) bool

func (*InviteUsersResp) String added in v0.2.23

func (x *InviteUsersResp) String() string

func (*InviteUsersResp) Validate added in v0.2.23

func (m *InviteUsersResp) Validate() error

Validate checks the field values on InviteUsersResp with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*InviteUsersResp) ValidateAll added in v0.2.23

func (m *InviteUsersResp) ValidateAll() error

ValidateAll checks the field values on InviteUsersResp with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in InviteUsersRespMultiError, or nil if none found.

type InviteUsersRespMultiError added in v0.2.23

type InviteUsersRespMultiError []error

InviteUsersRespMultiError is an error wrapping multiple validation errors returned by InviteUsersResp.ValidateAll() if the designated constraints aren't met.

func (InviteUsersRespMultiError) AllErrors added in v0.2.23

func (m InviteUsersRespMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (InviteUsersRespMultiError) Error added in v0.2.23

Error returns a concatenation of all the error messages it wraps.

type InviteUsersRespValidationError added in v0.2.23

type InviteUsersRespValidationError struct {
	// contains filtered or unexported fields
}

InviteUsersRespValidationError is the validation error returned by InviteUsersResp.Validate if the designated constraints aren't met.

func (InviteUsersRespValidationError) Cause added in v0.2.23

Cause function returns cause value.

func (InviteUsersRespValidationError) Error added in v0.2.23

Error satisfies the builtin error interface

func (InviteUsersRespValidationError) ErrorName added in v0.2.23

func (e InviteUsersRespValidationError) ErrorName() string

ErrorName returns error name.

func (InviteUsersRespValidationError) Field added in v0.2.23

Field function returns field value.

func (InviteUsersRespValidationError) Key added in v0.2.23

Key function returns key value.

func (InviteUsersRespValidationError) Reason added in v0.2.23

Reason function returns reason value.

type ListRolesReq

type ListRolesReq struct {
	// contains filtered or unexported fields
}

func (*ListRolesReq) CloneMessageVT added in v0.3.34

func (m *ListRolesReq) CloneMessageVT() proto.Message

func (*ListRolesReq) CloneVT added in v0.3.34

func (m *ListRolesReq) CloneVT() *ListRolesReq

func (*ListRolesReq) Descriptor deprecated

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

Deprecated: Use ListRolesReq.ProtoReflect.Descriptor instead.

func (*ListRolesReq) EqualMessageVT added in v0.3.34

func (this *ListRolesReq) EqualMessageVT(thatMsg proto.Message) bool

func (*ListRolesReq) EqualVT added in v0.3.34

func (this *ListRolesReq) EqualVT(that *ListRolesReq) bool

func (*ListRolesReq) ProtoMessage

func (*ListRolesReq) ProtoMessage()

func (*ListRolesReq) ProtoReflect

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

func (*ListRolesReq) Reset

func (x *ListRolesReq) Reset()

func (*ListRolesReq) StableEqualMessageVT added in v0.3.34

func (this *ListRolesReq) StableEqualMessageVT(thatMsg proto.Message) bool

func (*ListRolesReq) StableEqualVT added in v0.3.34

func (this *ListRolesReq) StableEqualVT(that *ListRolesReq) bool

func (*ListRolesReq) String

func (x *ListRolesReq) String() string

func (*ListRolesReq) Validate

func (m *ListRolesReq) Validate() error

Validate checks the field values on ListRolesReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListRolesReq) ValidateAll

func (m *ListRolesReq) ValidateAll() error

ValidateAll checks the field values on ListRolesReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListRolesReqMultiError, or nil if none found.

type ListRolesReqMultiError

type ListRolesReqMultiError []error

ListRolesReqMultiError is an error wrapping multiple validation errors returned by ListRolesReq.ValidateAll() if the designated constraints aren't met.

func (ListRolesReqMultiError) AllErrors

func (m ListRolesReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListRolesReqMultiError) Error

func (m ListRolesReqMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type ListRolesReqValidationError

type ListRolesReqValidationError struct {
	// contains filtered or unexported fields
}

ListRolesReqValidationError is the validation error returned by ListRolesReq.Validate if the designated constraints aren't met.

func (ListRolesReqValidationError) Cause

Cause function returns cause value.

func (ListRolesReqValidationError) Error

Error satisfies the builtin error interface

func (ListRolesReqValidationError) ErrorName

func (e ListRolesReqValidationError) ErrorName() string

ErrorName returns error name.

func (ListRolesReqValidationError) Field

Field function returns field value.

func (ListRolesReqValidationError) Key

Key function returns key value.

func (ListRolesReqValidationError) Reason

Reason function returns reason value.

type ListRolesResp

type ListRolesResp struct {
	Roles []*RoleDefinition `protobuf:"bytes,1,rep,name=roles,proto3" json:"roles,omitempty"`
	// contains filtered or unexported fields
}

func (*ListRolesResp) CloneMessageVT added in v0.3.34

func (m *ListRolesResp) CloneMessageVT() proto.Message

func (*ListRolesResp) CloneVT added in v0.3.34

func (m *ListRolesResp) CloneVT() *ListRolesResp

func (*ListRolesResp) Descriptor deprecated

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

Deprecated: Use ListRolesResp.ProtoReflect.Descriptor instead.

func (*ListRolesResp) EqualMessageVT added in v0.3.34

func (this *ListRolesResp) EqualMessageVT(thatMsg proto.Message) bool

func (*ListRolesResp) EqualVT added in v0.3.34

func (this *ListRolesResp) EqualVT(that *ListRolesResp) bool

func (*ListRolesResp) GetRoles

func (x *ListRolesResp) GetRoles() []*RoleDefinition

func (*ListRolesResp) ProtoMessage

func (*ListRolesResp) ProtoMessage()

func (*ListRolesResp) ProtoReflect

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

func (*ListRolesResp) Reset

func (x *ListRolesResp) Reset()

func (*ListRolesResp) StableEqualMessageVT added in v0.3.34

func (this *ListRolesResp) StableEqualMessageVT(thatMsg proto.Message) bool

func (*ListRolesResp) StableEqualVT added in v0.3.34

func (this *ListRolesResp) StableEqualVT(that *ListRolesResp) bool

func (*ListRolesResp) String

func (x *ListRolesResp) String() string

func (*ListRolesResp) Validate

func (m *ListRolesResp) Validate() error

Validate checks the field values on ListRolesResp with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListRolesResp) ValidateAll

func (m *ListRolesResp) ValidateAll() error

ValidateAll checks the field values on ListRolesResp with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListRolesRespMultiError, or nil if none found.

type ListRolesRespMultiError

type ListRolesRespMultiError []error

ListRolesRespMultiError is an error wrapping multiple validation errors returned by ListRolesResp.ValidateAll() if the designated constraints aren't met.

func (ListRolesRespMultiError) AllErrors

func (m ListRolesRespMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListRolesRespMultiError) Error

func (m ListRolesRespMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type ListRolesRespValidationError

type ListRolesRespValidationError struct {
	// contains filtered or unexported fields
}

ListRolesRespValidationError is the validation error returned by ListRolesResp.Validate if the designated constraints aren't met.

func (ListRolesRespValidationError) Cause

Cause function returns cause value.

func (ListRolesRespValidationError) Error

Error satisfies the builtin error interface

func (ListRolesRespValidationError) ErrorName

func (e ListRolesRespValidationError) ErrorName() string

ErrorName returns error name.

func (ListRolesRespValidationError) Field

Field function returns field value.

func (ListRolesRespValidationError) Key

Key function returns key value.

func (ListRolesRespValidationError) Reason

Reason function returns reason value.

type ListUsersReq

type ListUsersReq struct {
	PageToken string `protobuf:"bytes,1,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	PageSize  int32  `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// contains filtered or unexported fields
}

func (*ListUsersReq) CloneMessageVT added in v0.3.34

func (m *ListUsersReq) CloneMessageVT() proto.Message

func (*ListUsersReq) CloneVT added in v0.3.34

func (m *ListUsersReq) CloneVT() *ListUsersReq

func (*ListUsersReq) Descriptor deprecated

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

Deprecated: Use ListUsersReq.ProtoReflect.Descriptor instead.

func (*ListUsersReq) EqualMessageVT added in v0.3.34

func (this *ListUsersReq) EqualMessageVT(thatMsg proto.Message) bool

func (*ListUsersReq) EqualVT added in v0.3.34

func (this *ListUsersReq) EqualVT(that *ListUsersReq) bool

func (*ListUsersReq) GetPageSize

func (x *ListUsersReq) GetPageSize() int32

func (*ListUsersReq) GetPageToken

func (x *ListUsersReq) GetPageToken() string

func (*ListUsersReq) ProtoMessage

func (*ListUsersReq) ProtoMessage()

func (*ListUsersReq) ProtoReflect

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

func (*ListUsersReq) Reset

func (x *ListUsersReq) Reset()

func (*ListUsersReq) StableEqualMessageVT added in v0.3.34

func (this *ListUsersReq) StableEqualMessageVT(thatMsg proto.Message) bool

func (*ListUsersReq) StableEqualVT added in v0.3.34

func (this *ListUsersReq) StableEqualVT(that *ListUsersReq) bool

func (*ListUsersReq) String

func (x *ListUsersReq) String() string

func (*ListUsersReq) Validate

func (m *ListUsersReq) Validate() error

Validate checks the field values on ListUsersReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListUsersReq) ValidateAll

func (m *ListUsersReq) ValidateAll() error

ValidateAll checks the field values on ListUsersReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListUsersReqMultiError, or nil if none found.

type ListUsersReqMultiError

type ListUsersReqMultiError []error

ListUsersReqMultiError is an error wrapping multiple validation errors returned by ListUsersReq.ValidateAll() if the designated constraints aren't met.

func (ListUsersReqMultiError) AllErrors

func (m ListUsersReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListUsersReqMultiError) Error

func (m ListUsersReqMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type ListUsersReqValidationError

type ListUsersReqValidationError struct {
	// contains filtered or unexported fields
}

ListUsersReqValidationError is the validation error returned by ListUsersReq.Validate if the designated constraints aren't met.

func (ListUsersReqValidationError) Cause

Cause function returns cause value.

func (ListUsersReqValidationError) Error

Error satisfies the builtin error interface

func (ListUsersReqValidationError) ErrorName

func (e ListUsersReqValidationError) ErrorName() string

ErrorName returns error name.

func (ListUsersReqValidationError) Field

Field function returns field value.

func (ListUsersReqValidationError) Key

Key function returns key value.

func (ListUsersReqValidationError) Reason

Reason function returns reason value.

type ListUsersResp

type ListUsersResp struct {
	Users         []*SettingsUser `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"`
	NextPageToken string          `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListUsersResp) CloneMessageVT added in v0.3.34

func (m *ListUsersResp) CloneMessageVT() proto.Message

func (*ListUsersResp) CloneVT added in v0.3.34

func (m *ListUsersResp) CloneVT() *ListUsersResp

func (*ListUsersResp) Descriptor deprecated

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

Deprecated: Use ListUsersResp.ProtoReflect.Descriptor instead.

func (*ListUsersResp) EqualMessageVT added in v0.3.34

func (this *ListUsersResp) EqualMessageVT(thatMsg proto.Message) bool

func (*ListUsersResp) EqualVT added in v0.3.34

func (this *ListUsersResp) EqualVT(that *ListUsersResp) bool

func (*ListUsersResp) GetNextPageToken

func (x *ListUsersResp) GetNextPageToken() string

func (*ListUsersResp) GetUsers

func (x *ListUsersResp) GetUsers() []*SettingsUser

func (*ListUsersResp) ProtoMessage

func (*ListUsersResp) ProtoMessage()

func (*ListUsersResp) ProtoReflect

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

func (*ListUsersResp) Reset

func (x *ListUsersResp) Reset()

func (*ListUsersResp) StableEqualMessageVT added in v0.3.34

func (this *ListUsersResp) StableEqualMessageVT(thatMsg proto.Message) bool

func (*ListUsersResp) StableEqualVT added in v0.3.34

func (this *ListUsersResp) StableEqualVT(that *ListUsersResp) bool

func (*ListUsersResp) String

func (x *ListUsersResp) String() string

func (*ListUsersResp) Validate

func (m *ListUsersResp) Validate() error

Validate checks the field values on ListUsersResp with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListUsersResp) ValidateAll

func (m *ListUsersResp) ValidateAll() error

ValidateAll checks the field values on ListUsersResp with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListUsersRespMultiError, or nil if none found.

type ListUsersRespMultiError

type ListUsersRespMultiError []error

ListUsersRespMultiError is an error wrapping multiple validation errors returned by ListUsersResp.ValidateAll() if the designated constraints aren't met.

func (ListUsersRespMultiError) AllErrors

func (m ListUsersRespMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListUsersRespMultiError) Error

func (m ListUsersRespMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type ListUsersRespValidationError

type ListUsersRespValidationError struct {
	// contains filtered or unexported fields
}

ListUsersRespValidationError is the validation error returned by ListUsersResp.Validate if the designated constraints aren't met.

func (ListUsersRespValidationError) Cause

Cause function returns cause value.

func (ListUsersRespValidationError) Error

Error satisfies the builtin error interface

func (ListUsersRespValidationError) ErrorName

func (e ListUsersRespValidationError) ErrorName() string

ErrorName returns error name.

func (ListUsersRespValidationError) Field

Field function returns field value.

func (ListUsersRespValidationError) Key

Key function returns key value.

func (ListUsersRespValidationError) Reason

Reason function returns reason value.

type OrganizationSupportsInvitesReq added in v0.2.23

type OrganizationSupportsInvitesReq struct {
	// contains filtered or unexported fields
}

func (*OrganizationSupportsInvitesReq) CloneMessageVT added in v0.3.34

func (m *OrganizationSupportsInvitesReq) CloneMessageVT() proto.Message

func (*OrganizationSupportsInvitesReq) CloneVT added in v0.3.34

func (*OrganizationSupportsInvitesReq) Descriptor deprecated added in v0.2.23

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

Deprecated: Use OrganizationSupportsInvitesReq.ProtoReflect.Descriptor instead.

func (*OrganizationSupportsInvitesReq) EqualMessageVT added in v0.3.34

func (this *OrganizationSupportsInvitesReq) EqualMessageVT(thatMsg proto.Message) bool

func (*OrganizationSupportsInvitesReq) EqualVT added in v0.3.34

func (*OrganizationSupportsInvitesReq) ProtoMessage added in v0.2.23

func (*OrganizationSupportsInvitesReq) ProtoMessage()

func (*OrganizationSupportsInvitesReq) ProtoReflect added in v0.2.23

func (*OrganizationSupportsInvitesReq) Reset added in v0.2.23

func (x *OrganizationSupportsInvitesReq) Reset()

func (*OrganizationSupportsInvitesReq) StableEqualMessageVT added in v0.3.34

func (this *OrganizationSupportsInvitesReq) StableEqualMessageVT(thatMsg proto.Message) bool

func (*OrganizationSupportsInvitesReq) StableEqualVT added in v0.3.34

func (*OrganizationSupportsInvitesReq) String added in v0.2.23

func (*OrganizationSupportsInvitesReq) Validate added in v0.2.23

func (m *OrganizationSupportsInvitesReq) Validate() error

Validate checks the field values on OrganizationSupportsInvitesReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*OrganizationSupportsInvitesReq) ValidateAll added in v0.2.23

func (m *OrganizationSupportsInvitesReq) ValidateAll() error

ValidateAll checks the field values on OrganizationSupportsInvitesReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in OrganizationSupportsInvitesReqMultiError, or nil if none found.

type OrganizationSupportsInvitesReqMultiError added in v0.2.23

type OrganizationSupportsInvitesReqMultiError []error

OrganizationSupportsInvitesReqMultiError is an error wrapping multiple validation errors returned by OrganizationSupportsInvitesReq.ValidateAll() if the designated constraints aren't met.

func (OrganizationSupportsInvitesReqMultiError) AllErrors added in v0.2.23

AllErrors returns a list of validation violation errors.

func (OrganizationSupportsInvitesReqMultiError) Error added in v0.2.23

Error returns a concatenation of all the error messages it wraps.

type OrganizationSupportsInvitesReqValidationError added in v0.2.23

type OrganizationSupportsInvitesReqValidationError struct {
	// contains filtered or unexported fields
}

OrganizationSupportsInvitesReqValidationError is the validation error returned by OrganizationSupportsInvitesReq.Validate if the designated constraints aren't met.

func (OrganizationSupportsInvitesReqValidationError) Cause added in v0.2.23

Cause function returns cause value.

func (OrganizationSupportsInvitesReqValidationError) Error added in v0.2.23

Error satisfies the builtin error interface

func (OrganizationSupportsInvitesReqValidationError) ErrorName added in v0.2.23

ErrorName returns error name.

func (OrganizationSupportsInvitesReqValidationError) Field added in v0.2.23

Field function returns field value.

func (OrganizationSupportsInvitesReqValidationError) Key added in v0.2.23

Key function returns key value.

func (OrganizationSupportsInvitesReqValidationError) Reason added in v0.2.23

Reason function returns reason value.

type OrganizationSupportsInvitesResp added in v0.2.23

type OrganizationSupportsInvitesResp struct {
	SupportsInvites bool `protobuf:"varint,1,opt,name=supports_invites,json=supportsInvites,proto3" json:"supports_invites,omitempty"`
	// contains filtered or unexported fields
}

func (*OrganizationSupportsInvitesResp) CloneMessageVT added in v0.3.34

func (m *OrganizationSupportsInvitesResp) CloneMessageVT() proto.Message

func (*OrganizationSupportsInvitesResp) CloneVT added in v0.3.34

func (*OrganizationSupportsInvitesResp) Descriptor deprecated added in v0.2.23

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

Deprecated: Use OrganizationSupportsInvitesResp.ProtoReflect.Descriptor instead.

func (*OrganizationSupportsInvitesResp) EqualMessageVT added in v0.3.34

func (this *OrganizationSupportsInvitesResp) EqualMessageVT(thatMsg proto.Message) bool

func (*OrganizationSupportsInvitesResp) EqualVT added in v0.3.34

func (*OrganizationSupportsInvitesResp) GetSupportsInvites added in v0.2.23

func (x *OrganizationSupportsInvitesResp) GetSupportsInvites() bool

func (*OrganizationSupportsInvitesResp) ProtoMessage added in v0.2.23

func (*OrganizationSupportsInvitesResp) ProtoMessage()

func (*OrganizationSupportsInvitesResp) ProtoReflect added in v0.2.23

func (*OrganizationSupportsInvitesResp) Reset added in v0.2.23

func (*OrganizationSupportsInvitesResp) StableEqualMessageVT added in v0.3.34

func (this *OrganizationSupportsInvitesResp) StableEqualMessageVT(thatMsg proto.Message) bool

func (*OrganizationSupportsInvitesResp) StableEqualVT added in v0.3.34

func (*OrganizationSupportsInvitesResp) String added in v0.2.23

func (*OrganizationSupportsInvitesResp) Validate added in v0.2.23

func (m *OrganizationSupportsInvitesResp) Validate() error

Validate checks the field values on OrganizationSupportsInvitesResp with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*OrganizationSupportsInvitesResp) ValidateAll added in v0.2.23

func (m *OrganizationSupportsInvitesResp) ValidateAll() error

ValidateAll checks the field values on OrganizationSupportsInvitesResp with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in OrganizationSupportsInvitesRespMultiError, or nil if none found.

type OrganizationSupportsInvitesRespMultiError added in v0.2.23

type OrganizationSupportsInvitesRespMultiError []error

OrganizationSupportsInvitesRespMultiError is an error wrapping multiple validation errors returned by OrganizationSupportsInvitesResp.ValidateAll() if the designated constraints aren't met.

func (OrganizationSupportsInvitesRespMultiError) AllErrors added in v0.2.23

AllErrors returns a list of validation violation errors.

func (OrganizationSupportsInvitesRespMultiError) Error added in v0.2.23

Error returns a concatenation of all the error messages it wraps.

type OrganizationSupportsInvitesRespValidationError added in v0.2.23

type OrganizationSupportsInvitesRespValidationError struct {
	// contains filtered or unexported fields
}

OrganizationSupportsInvitesRespValidationError is the validation error returned by OrganizationSupportsInvitesResp.Validate if the designated constraints aren't met.

func (OrganizationSupportsInvitesRespValidationError) Cause added in v0.2.23

Cause function returns cause value.

func (OrganizationSupportsInvitesRespValidationError) Error added in v0.2.23

Error satisfies the builtin error interface

func (OrganizationSupportsInvitesRespValidationError) ErrorName added in v0.2.23

ErrorName returns error name.

func (OrganizationSupportsInvitesRespValidationError) Field added in v0.2.23

Field function returns field value.

func (OrganizationSupportsInvitesRespValidationError) Key added in v0.2.23

Key function returns key value.

func (OrganizationSupportsInvitesRespValidationError) Reason added in v0.2.23

Reason function returns reason value.

type RemoveUserReq added in v0.3.0

type RemoveUserReq struct {
	UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveUserReq) CloneMessageVT added in v0.3.34

func (m *RemoveUserReq) CloneMessageVT() proto.Message

func (*RemoveUserReq) CloneVT added in v0.3.34

func (m *RemoveUserReq) CloneVT() *RemoveUserReq

func (*RemoveUserReq) Descriptor deprecated added in v0.3.0

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

Deprecated: Use RemoveUserReq.ProtoReflect.Descriptor instead.

func (*RemoveUserReq) EqualMessageVT added in v0.3.34

func (this *RemoveUserReq) EqualMessageVT(thatMsg proto.Message) bool

func (*RemoveUserReq) EqualVT added in v0.3.34

func (this *RemoveUserReq) EqualVT(that *RemoveUserReq) bool

func (*RemoveUserReq) GetUserId added in v0.3.0

func (x *RemoveUserReq) GetUserId() string

func (*RemoveUserReq) ProtoMessage added in v0.3.0

func (*RemoveUserReq) ProtoMessage()

func (*RemoveUserReq) ProtoReflect added in v0.3.0

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

func (*RemoveUserReq) Reset added in v0.3.0

func (x *RemoveUserReq) Reset()

func (*RemoveUserReq) StableEqualMessageVT added in v0.3.34

func (this *RemoveUserReq) StableEqualMessageVT(thatMsg proto.Message) bool

func (*RemoveUserReq) StableEqualVT added in v0.3.34

func (this *RemoveUserReq) StableEqualVT(that *RemoveUserReq) bool

func (*RemoveUserReq) String added in v0.3.0

func (x *RemoveUserReq) String() string

func (*RemoveUserReq) Validate added in v0.3.0

func (m *RemoveUserReq) Validate() error

Validate checks the field values on RemoveUserReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*RemoveUserReq) ValidateAll added in v0.3.0

func (m *RemoveUserReq) ValidateAll() error

ValidateAll checks the field values on RemoveUserReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RemoveUserReqMultiError, or nil if none found.

type RemoveUserReqMultiError added in v0.3.0

type RemoveUserReqMultiError []error

RemoveUserReqMultiError is an error wrapping multiple validation errors returned by RemoveUserReq.ValidateAll() if the designated constraints aren't met.

func (RemoveUserReqMultiError) AllErrors added in v0.3.0

func (m RemoveUserReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RemoveUserReqMultiError) Error added in v0.3.0

func (m RemoveUserReqMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type RemoveUserReqValidationError added in v0.3.0

type RemoveUserReqValidationError struct {
	// contains filtered or unexported fields
}

RemoveUserReqValidationError is the validation error returned by RemoveUserReq.Validate if the designated constraints aren't met.

func (RemoveUserReqValidationError) Cause added in v0.3.0

Cause function returns cause value.

func (RemoveUserReqValidationError) Error added in v0.3.0

Error satisfies the builtin error interface

func (RemoveUserReqValidationError) ErrorName added in v0.3.0

func (e RemoveUserReqValidationError) ErrorName() string

ErrorName returns error name.

func (RemoveUserReqValidationError) Field added in v0.3.0

Field function returns field value.

func (RemoveUserReqValidationError) Key added in v0.3.0

Key function returns key value.

func (RemoveUserReqValidationError) Reason added in v0.3.0

Reason function returns reason value.

type RemoveUserResp added in v0.3.0

type RemoveUserResp struct {
	// contains filtered or unexported fields
}

func (*RemoveUserResp) CloneMessageVT added in v0.3.34

func (m *RemoveUserResp) CloneMessageVT() proto.Message

func (*RemoveUserResp) CloneVT added in v0.3.34

func (m *RemoveUserResp) CloneVT() *RemoveUserResp

func (*RemoveUserResp) Descriptor deprecated added in v0.3.0

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

Deprecated: Use RemoveUserResp.ProtoReflect.Descriptor instead.

func (*RemoveUserResp) EqualMessageVT added in v0.3.34

func (this *RemoveUserResp) EqualMessageVT(thatMsg proto.Message) bool

func (*RemoveUserResp) EqualVT added in v0.3.34

func (this *RemoveUserResp) EqualVT(that *RemoveUserResp) bool

func (*RemoveUserResp) ProtoMessage added in v0.3.0

func (*RemoveUserResp) ProtoMessage()

func (*RemoveUserResp) ProtoReflect added in v0.3.0

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

func (*RemoveUserResp) Reset added in v0.3.0

func (x *RemoveUserResp) Reset()

func (*RemoveUserResp) StableEqualMessageVT added in v0.3.34

func (this *RemoveUserResp) StableEqualMessageVT(thatMsg proto.Message) bool

func (*RemoveUserResp) StableEqualVT added in v0.3.34

func (this *RemoveUserResp) StableEqualVT(that *RemoveUserResp) bool

func (*RemoveUserResp) String added in v0.3.0

func (x *RemoveUserResp) String() string

func (*RemoveUserResp) Validate added in v0.3.0

func (m *RemoveUserResp) Validate() error

Validate checks the field values on RemoveUserResp with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*RemoveUserResp) ValidateAll added in v0.3.0

func (m *RemoveUserResp) ValidateAll() error

ValidateAll checks the field values on RemoveUserResp with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RemoveUserRespMultiError, or nil if none found.

type RemoveUserRespMultiError added in v0.3.0

type RemoveUserRespMultiError []error

RemoveUserRespMultiError is an error wrapping multiple validation errors returned by RemoveUserResp.ValidateAll() if the designated constraints aren't met.

func (RemoveUserRespMultiError) AllErrors added in v0.3.0

func (m RemoveUserRespMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RemoveUserRespMultiError) Error added in v0.3.0

func (m RemoveUserRespMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type RemoveUserRespValidationError added in v0.3.0

type RemoveUserRespValidationError struct {
	// contains filtered or unexported fields
}

RemoveUserRespValidationError is the validation error returned by RemoveUserResp.Validate if the designated constraints aren't met.

func (RemoveUserRespValidationError) Cause added in v0.3.0

Cause function returns cause value.

func (RemoveUserRespValidationError) Error added in v0.3.0

Error satisfies the builtin error interface

func (RemoveUserRespValidationError) ErrorName added in v0.3.0

func (e RemoveUserRespValidationError) ErrorName() string

ErrorName returns error name.

func (RemoveUserRespValidationError) Field added in v0.3.0

Field function returns field value.

func (RemoveUserRespValidationError) Key added in v0.3.0

Key function returns key value.

func (RemoveUserRespValidationError) Reason added in v0.3.0

Reason function returns reason value.

type Role added in v0.3.11

type Role int32
const (
	Role_UNSPECIFIED     Role = 0
	Role_ORG_ADMIN       Role = 1
	Role_CLOUD_ADMIN     Role = 2
	Role_SERVICE_OWNER   Role = 3
	Role_VIEWER          Role = 4
	Role_RELEASE_MANAGER Role = 5
)

func (Role) Descriptor added in v0.3.11

func (Role) Descriptor() protoreflect.EnumDescriptor

func (Role) Enum added in v0.3.11

func (x Role) Enum() *Role

func (Role) EnumDescriptor deprecated added in v0.3.11

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

Deprecated: Use Role.Descriptor instead.

func (Role) Number added in v0.3.11

func (x Role) Number() protoreflect.EnumNumber

func (Role) String added in v0.3.11

func (x Role) String() string

func (Role) Type added in v0.3.11

func (Role) Type() protoreflect.EnumType

type RoleDefinition

type RoleDefinition struct {
	Name        string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

func (*RoleDefinition) CloneMessageVT added in v0.3.34

func (m *RoleDefinition) CloneMessageVT() proto.Message

func (*RoleDefinition) CloneVT added in v0.3.34

func (m *RoleDefinition) CloneVT() *RoleDefinition

func (*RoleDefinition) Descriptor deprecated

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

Deprecated: Use RoleDefinition.ProtoReflect.Descriptor instead.

func (*RoleDefinition) EqualMessageVT added in v0.3.34

func (this *RoleDefinition) EqualMessageVT(thatMsg proto.Message) bool

func (*RoleDefinition) EqualVT added in v0.3.34

func (this *RoleDefinition) EqualVT(that *RoleDefinition) bool

func (*RoleDefinition) GetDescription

func (x *RoleDefinition) GetDescription() string

func (*RoleDefinition) GetName

func (x *RoleDefinition) GetName() string

func (*RoleDefinition) ProtoMessage

func (*RoleDefinition) ProtoMessage()

func (*RoleDefinition) ProtoReflect

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

func (*RoleDefinition) Reset

func (x *RoleDefinition) Reset()

func (*RoleDefinition) StableEqualMessageVT added in v0.3.34

func (this *RoleDefinition) StableEqualMessageVT(thatMsg proto.Message) bool

func (*RoleDefinition) StableEqualVT added in v0.3.34

func (this *RoleDefinition) StableEqualVT(that *RoleDefinition) bool

func (*RoleDefinition) String

func (x *RoleDefinition) String() string

func (*RoleDefinition) Validate

func (m *RoleDefinition) Validate() error

Validate checks the field values on RoleDefinition with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*RoleDefinition) ValidateAll

func (m *RoleDefinition) ValidateAll() error

ValidateAll checks the field values on RoleDefinition with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RoleDefinitionMultiError, or nil if none found.

type RoleDefinitionMultiError

type RoleDefinitionMultiError []error

RoleDefinitionMultiError is an error wrapping multiple validation errors returned by RoleDefinition.ValidateAll() if the designated constraints aren't met.

func (RoleDefinitionMultiError) AllErrors

func (m RoleDefinitionMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RoleDefinitionMultiError) Error

func (m RoleDefinitionMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type RoleDefinitionValidationError

type RoleDefinitionValidationError struct {
	// contains filtered or unexported fields
}

RoleDefinitionValidationError is the validation error returned by RoleDefinition.Validate if the designated constraints aren't met.

func (RoleDefinitionValidationError) Cause

Cause function returns cause value.

func (RoleDefinitionValidationError) Error

Error satisfies the builtin error interface

func (RoleDefinitionValidationError) ErrorName

func (e RoleDefinitionValidationError) ErrorName() string

ErrorName returns error name.

func (RoleDefinitionValidationError) Field

Field function returns field value.

func (RoleDefinitionValidationError) Key

Key function returns key value.

func (RoleDefinitionValidationError) Reason

Reason function returns reason value.

type SetRolesReq

type SetRolesReq struct {
	UserId string   `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	Roles  []string `protobuf:"bytes,2,rep,name=roles,proto3" json:"roles,omitempty"`
	// contains filtered or unexported fields
}

func (*SetRolesReq) CloneMessageVT added in v0.3.34

func (m *SetRolesReq) CloneMessageVT() proto.Message

func (*SetRolesReq) CloneVT added in v0.3.34

func (m *SetRolesReq) CloneVT() *SetRolesReq

func (*SetRolesReq) Descriptor deprecated

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

Deprecated: Use SetRolesReq.ProtoReflect.Descriptor instead.

func (*SetRolesReq) EqualMessageVT added in v0.3.34

func (this *SetRolesReq) EqualMessageVT(thatMsg proto.Message) bool

func (*SetRolesReq) EqualVT added in v0.3.34

func (this *SetRolesReq) EqualVT(that *SetRolesReq) bool

func (*SetRolesReq) GetRoles

func (x *SetRolesReq) GetRoles() []string

func (*SetRolesReq) GetUserId

func (x *SetRolesReq) GetUserId() string

func (*SetRolesReq) ProtoMessage

func (*SetRolesReq) ProtoMessage()

func (*SetRolesReq) ProtoReflect

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

func (*SetRolesReq) Reset

func (x *SetRolesReq) Reset()

func (*SetRolesReq) StableEqualMessageVT added in v0.3.34

func (this *SetRolesReq) StableEqualMessageVT(thatMsg proto.Message) bool

func (*SetRolesReq) StableEqualVT added in v0.3.34

func (this *SetRolesReq) StableEqualVT(that *SetRolesReq) bool

func (*SetRolesReq) String

func (x *SetRolesReq) String() string

func (*SetRolesReq) Validate

func (m *SetRolesReq) Validate() error

Validate checks the field values on SetRolesReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*SetRolesReq) ValidateAll

func (m *SetRolesReq) ValidateAll() error

ValidateAll checks the field values on SetRolesReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SetRolesReqMultiError, or nil if none found.

type SetRolesReqMultiError

type SetRolesReqMultiError []error

SetRolesReqMultiError is an error wrapping multiple validation errors returned by SetRolesReq.ValidateAll() if the designated constraints aren't met.

func (SetRolesReqMultiError) AllErrors

func (m SetRolesReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SetRolesReqMultiError) Error

func (m SetRolesReqMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type SetRolesReqValidationError

type SetRolesReqValidationError struct {
	// contains filtered or unexported fields
}

SetRolesReqValidationError is the validation error returned by SetRolesReq.Validate if the designated constraints aren't met.

func (SetRolesReqValidationError) Cause

Cause function returns cause value.

func (SetRolesReqValidationError) Error

Error satisfies the builtin error interface

func (SetRolesReqValidationError) ErrorName

func (e SetRolesReqValidationError) ErrorName() string

ErrorName returns error name.

func (SetRolesReqValidationError) Field

Field function returns field value.

func (SetRolesReqValidationError) Key

Key function returns key value.

func (SetRolesReqValidationError) Reason

Reason function returns reason value.

type SetRolesResp

type SetRolesResp struct {
	// contains filtered or unexported fields
}

func (*SetRolesResp) CloneMessageVT added in v0.3.34

func (m *SetRolesResp) CloneMessageVT() proto.Message

func (*SetRolesResp) CloneVT added in v0.3.34

func (m *SetRolesResp) CloneVT() *SetRolesResp

func (*SetRolesResp) Descriptor deprecated

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

Deprecated: Use SetRolesResp.ProtoReflect.Descriptor instead.

func (*SetRolesResp) EqualMessageVT added in v0.3.34

func (this *SetRolesResp) EqualMessageVT(thatMsg proto.Message) bool

func (*SetRolesResp) EqualVT added in v0.3.34

func (this *SetRolesResp) EqualVT(that *SetRolesResp) bool

func (*SetRolesResp) ProtoMessage

func (*SetRolesResp) ProtoMessage()

func (*SetRolesResp) ProtoReflect

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

func (*SetRolesResp) Reset

func (x *SetRolesResp) Reset()

func (*SetRolesResp) StableEqualMessageVT added in v0.3.34

func (this *SetRolesResp) StableEqualMessageVT(thatMsg proto.Message) bool

func (*SetRolesResp) StableEqualVT added in v0.3.34

func (this *SetRolesResp) StableEqualVT(that *SetRolesResp) bool

func (*SetRolesResp) String

func (x *SetRolesResp) String() string

func (*SetRolesResp) Validate

func (m *SetRolesResp) Validate() error

Validate checks the field values on SetRolesResp with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*SetRolesResp) ValidateAll

func (m *SetRolesResp) ValidateAll() error

ValidateAll checks the field values on SetRolesResp with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SetRolesRespMultiError, or nil if none found.

type SetRolesRespMultiError

type SetRolesRespMultiError []error

SetRolesRespMultiError is an error wrapping multiple validation errors returned by SetRolesResp.ValidateAll() if the designated constraints aren't met.

func (SetRolesRespMultiError) AllErrors

func (m SetRolesRespMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SetRolesRespMultiError) Error

func (m SetRolesRespMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type SetRolesRespValidationError

type SetRolesRespValidationError struct {
	// contains filtered or unexported fields
}

SetRolesRespValidationError is the validation error returned by SetRolesResp.Validate if the designated constraints aren't met.

func (SetRolesRespValidationError) Cause

Cause function returns cause value.

func (SetRolesRespValidationError) Error

Error satisfies the builtin error interface

func (SetRolesRespValidationError) ErrorName

func (e SetRolesRespValidationError) ErrorName() string

ErrorName returns error name.

func (SetRolesRespValidationError) Field

Field function returns field value.

func (SetRolesRespValidationError) Key

Key function returns key value.

func (SetRolesRespValidationError) Reason

Reason function returns reason value.

type SettingsUser

type SettingsUser struct {
	User  *users.User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	Roles []string    `protobuf:"bytes,2,rep,name=roles,proto3" json:"roles,omitempty"`
	// contains filtered or unexported fields
}

func (*SettingsUser) CloneMessageVT added in v0.3.34

func (m *SettingsUser) CloneMessageVT() proto.Message

func (*SettingsUser) CloneVT added in v0.3.34

func (m *SettingsUser) CloneVT() *SettingsUser

func (*SettingsUser) Descriptor deprecated

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

Deprecated: Use SettingsUser.ProtoReflect.Descriptor instead.

func (*SettingsUser) EqualMessageVT added in v0.3.34

func (this *SettingsUser) EqualMessageVT(thatMsg proto.Message) bool

func (*SettingsUser) EqualVT added in v0.3.34

func (this *SettingsUser) EqualVT(that *SettingsUser) bool

func (*SettingsUser) GetRoles

func (x *SettingsUser) GetRoles() []string

func (*SettingsUser) GetUser

func (x *SettingsUser) GetUser() *users.User

func (*SettingsUser) ProtoMessage

func (*SettingsUser) ProtoMessage()

func (*SettingsUser) ProtoReflect

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

func (*SettingsUser) Reset

func (x *SettingsUser) Reset()

func (*SettingsUser) StableEqualMessageVT added in v0.3.34

func (this *SettingsUser) StableEqualMessageVT(thatMsg proto.Message) bool

func (*SettingsUser) StableEqualVT added in v0.3.34

func (this *SettingsUser) StableEqualVT(that *SettingsUser) bool

func (*SettingsUser) String

func (x *SettingsUser) String() string

func (*SettingsUser) Validate

func (m *SettingsUser) Validate() error

Validate checks the field values on SettingsUser with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*SettingsUser) ValidateAll

func (m *SettingsUser) ValidateAll() error

ValidateAll checks the field values on SettingsUser with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SettingsUserMultiError, or nil if none found.

type SettingsUserMultiError

type SettingsUserMultiError []error

SettingsUserMultiError is an error wrapping multiple validation errors returned by SettingsUser.ValidateAll() if the designated constraints aren't met.

func (SettingsUserMultiError) AllErrors

func (m SettingsUserMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SettingsUserMultiError) Error

func (m SettingsUserMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type SettingsUserValidationError

type SettingsUserValidationError struct {
	// contains filtered or unexported fields
}

SettingsUserValidationError is the validation error returned by SettingsUser.Validate if the designated constraints aren't met.

func (SettingsUserValidationError) Cause

Cause function returns cause value.

func (SettingsUserValidationError) Error

Error satisfies the builtin error interface

func (SettingsUserValidationError) ErrorName

func (e SettingsUserValidationError) ErrorName() string

ErrorName returns error name.

func (SettingsUserValidationError) Field

Field function returns field value.

func (SettingsUserValidationError) Key

Key function returns key value.

func (SettingsUserValidationError) Reason

Reason function returns reason value.

type UnimplementedUsersSettingsManagerServer

type UnimplementedUsersSettingsManagerServer struct {
}

UnimplementedUsersSettingsManagerServer must be embedded to have forward compatible implementations.

func (UnimplementedUsersSettingsManagerServer) GetUser

func (UnimplementedUsersSettingsManagerServer) InviteUsers added in v0.2.23

func (UnimplementedUsersSettingsManagerServer) ListRoles

func (UnimplementedUsersSettingsManagerServer) ListUsers

func (UnimplementedUsersSettingsManagerServer) OrganizationSupportsInvites added in v0.2.23

func (UnimplementedUsersSettingsManagerServer) RemoveUser added in v0.3.0

func (UnimplementedUsersSettingsManagerServer) SetRoles

type UnsafeUsersSettingsManagerServer

type UnsafeUsersSettingsManagerServer interface {
	// contains filtered or unexported methods
}

UnsafeUsersSettingsManagerServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to UsersSettingsManagerServer will result in compilation errors.

type UserInvite added in v0.2.23

type UserInvite struct {
	Email string   `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
	Roles []string `protobuf:"bytes,2,rep,name=roles,proto3" json:"roles,omitempty"`
	// contains filtered or unexported fields
}

func (*UserInvite) CloneMessageVT added in v0.3.34

func (m *UserInvite) CloneMessageVT() proto.Message

func (*UserInvite) CloneVT added in v0.3.34

func (m *UserInvite) CloneVT() *UserInvite

func (*UserInvite) Descriptor deprecated added in v0.2.23

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

Deprecated: Use UserInvite.ProtoReflect.Descriptor instead.

func (*UserInvite) EqualMessageVT added in v0.3.34

func (this *UserInvite) EqualMessageVT(thatMsg proto.Message) bool

func (*UserInvite) EqualVT added in v0.3.34

func (this *UserInvite) EqualVT(that *UserInvite) bool

func (*UserInvite) GetEmail added in v0.2.23

func (x *UserInvite) GetEmail() string

func (*UserInvite) GetRoles added in v0.2.23

func (x *UserInvite) GetRoles() []string

func (*UserInvite) ProtoMessage added in v0.2.23

func (*UserInvite) ProtoMessage()

func (*UserInvite) ProtoReflect added in v0.2.23

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

func (*UserInvite) Reset added in v0.2.23

func (x *UserInvite) Reset()

func (*UserInvite) StableEqualMessageVT added in v0.3.34

func (this *UserInvite) StableEqualMessageVT(thatMsg proto.Message) bool

func (*UserInvite) StableEqualVT added in v0.3.34

func (this *UserInvite) StableEqualVT(that *UserInvite) bool

func (*UserInvite) String added in v0.2.23

func (x *UserInvite) String() string

func (*UserInvite) Validate added in v0.2.23

func (m *UserInvite) Validate() error

Validate checks the field values on UserInvite with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UserInvite) ValidateAll added in v0.2.23

func (m *UserInvite) ValidateAll() error

ValidateAll checks the field values on UserInvite with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UserInviteMultiError, or nil if none found.

type UserInviteMultiError added in v0.2.23

type UserInviteMultiError []error

UserInviteMultiError is an error wrapping multiple validation errors returned by UserInvite.ValidateAll() if the designated constraints aren't met.

func (UserInviteMultiError) AllErrors added in v0.2.23

func (m UserInviteMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UserInviteMultiError) Error added in v0.2.23

func (m UserInviteMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type UserInviteValidationError added in v0.2.23

type UserInviteValidationError struct {
	// contains filtered or unexported fields
}

UserInviteValidationError is the validation error returned by UserInvite.Validate if the designated constraints aren't met.

func (UserInviteValidationError) Cause added in v0.2.23

func (e UserInviteValidationError) Cause() error

Cause function returns cause value.

func (UserInviteValidationError) Error added in v0.2.23

Error satisfies the builtin error interface

func (UserInviteValidationError) ErrorName added in v0.2.23

func (e UserInviteValidationError) ErrorName() string

ErrorName returns error name.

func (UserInviteValidationError) Field added in v0.2.23

Field function returns field value.

func (UserInviteValidationError) Key added in v0.2.23

Key function returns key value.

func (UserInviteValidationError) Reason added in v0.2.23

func (e UserInviteValidationError) Reason() string

Reason function returns reason value.

type UsersSettingsManagerClient

type UsersSettingsManagerClient interface {
	GetUser(ctx context.Context, in *GetUserReq, opts ...grpc.CallOption) (*GetUserResp, error)
	ListUsers(ctx context.Context, in *ListUsersReq, opts ...grpc.CallOption) (*ListUsersResp, error)
	ListRoles(ctx context.Context, in *ListRolesReq, opts ...grpc.CallOption) (*ListRolesResp, error)
	SetRoles(ctx context.Context, in *SetRolesReq, opts ...grpc.CallOption) (*SetRolesResp, error)
	InviteUsers(ctx context.Context, in *InviteUsersReq, opts ...grpc.CallOption) (*InviteUsersResp, error)
	OrganizationSupportsInvites(ctx context.Context, in *OrganizationSupportsInvitesReq, opts ...grpc.CallOption) (*OrganizationSupportsInvitesResp, error)
	RemoveUser(ctx context.Context, in *RemoveUserReq, opts ...grpc.CallOption) (*RemoveUserResp, error)
}

UsersSettingsManagerClient is the client API for UsersSettingsManager service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.golang.ir/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type UsersSettingsManagerServer

type UsersSettingsManagerServer interface {
	GetUser(context.Context, *GetUserReq) (*GetUserResp, error)
	ListUsers(context.Context, *ListUsersReq) (*ListUsersResp, error)
	ListRoles(context.Context, *ListRolesReq) (*ListRolesResp, error)
	SetRoles(context.Context, *SetRolesReq) (*SetRolesResp, error)
	InviteUsers(context.Context, *InviteUsersReq) (*InviteUsersResp, error)
	OrganizationSupportsInvites(context.Context, *OrganizationSupportsInvitesReq) (*OrganizationSupportsInvitesResp, error)
	RemoveUser(context.Context, *RemoveUserReq) (*RemoveUserResp, error)
	// contains filtered or unexported methods
}

UsersSettingsManagerServer is the server API for UsersSettingsManager service. All implementations must embed UnimplementedUsersSettingsManagerServer for forward compatibility

Jump to

Keyboard shortcuts

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