Documentation
¶
Index ¶
- Constants
- Variables
- type CreateOrganizationsRequest
- func (x *CreateOrganizationsRequest) GetValues() []*CreateOrganizationsRequest_Value
- func (*CreateOrganizationsRequest) ProtoMessage()
- func (x *CreateOrganizationsRequest) ProtoReflect() protoreflect.Message
- func (x *CreateOrganizationsRequest) Reset()
- func (x *CreateOrganizationsRequest) SetValues(v []*CreateOrganizationsRequest_Value)
- func (x *CreateOrganizationsRequest) String() string
- type CreateOrganizationsRequest_Value
- func (x *CreateOrganizationsRequest_Value) GetDescription() string
- func (x *CreateOrganizationsRequest_Value) GetName() string
- func (x *CreateOrganizationsRequest_Value) GetUrl() string
- func (x *CreateOrganizationsRequest_Value) GetVerificationStatus() OrganizationVerificationStatus
- func (*CreateOrganizationsRequest_Value) ProtoMessage()
- func (x *CreateOrganizationsRequest_Value) ProtoReflect() protoreflect.Message
- func (x *CreateOrganizationsRequest_Value) Reset()
- func (x *CreateOrganizationsRequest_Value) SetDescription(v string)
- func (x *CreateOrganizationsRequest_Value) SetName(v string)
- func (x *CreateOrganizationsRequest_Value) SetUrl(v string)
- func (x *CreateOrganizationsRequest_Value) SetVerificationStatus(v OrganizationVerificationStatus)
- func (x *CreateOrganizationsRequest_Value) String() string
- type CreateOrganizationsRequest_Value_builder
- type CreateOrganizationsRequest_builder
- type CreateOrganizationsResponse
- func (x *CreateOrganizationsResponse) GetOrganizations() []*Organization
- func (*CreateOrganizationsResponse) ProtoMessage()
- func (x *CreateOrganizationsResponse) ProtoReflect() protoreflect.Message
- func (x *CreateOrganizationsResponse) Reset()
- func (x *CreateOrganizationsResponse) SetOrganizations(v []*Organization)
- func (x *CreateOrganizationsResponse) String() string
- type CreateOrganizationsResponse_builder
- type CreateUsersRequest
- func (x *CreateUsersRequest) GetValues() []*CreateUsersRequest_Value
- func (*CreateUsersRequest) ProtoMessage()
- func (x *CreateUsersRequest) ProtoReflect() protoreflect.Message
- func (x *CreateUsersRequest) Reset()
- func (x *CreateUsersRequest) SetValues(v []*CreateUsersRequest_Value)
- func (x *CreateUsersRequest) String() string
- type CreateUsersRequest_Value
- func (x *CreateUsersRequest_Value) GetDescription() string
- func (x *CreateUsersRequest_Value) GetName() string
- func (x *CreateUsersRequest_Value) GetType() UserType
- func (x *CreateUsersRequest_Value) GetUrl() string
- func (x *CreateUsersRequest_Value) GetVerificationStatus() UserVerificationStatus
- func (*CreateUsersRequest_Value) ProtoMessage()
- func (x *CreateUsersRequest_Value) ProtoReflect() protoreflect.Message
- func (x *CreateUsersRequest_Value) Reset()
- func (x *CreateUsersRequest_Value) SetDescription(v string)
- func (x *CreateUsersRequest_Value) SetName(v string)
- func (x *CreateUsersRequest_Value) SetType(v UserType)
- func (x *CreateUsersRequest_Value) SetUrl(v string)
- func (x *CreateUsersRequest_Value) SetVerificationStatus(v UserVerificationStatus)
- func (x *CreateUsersRequest_Value) String() string
- type CreateUsersRequest_Value_builder
- type CreateUsersRequest_builder
- type CreateUsersResponse
- type CreateUsersResponse_builder
- type DeleteOrganizationsRequest
- func (x *DeleteOrganizationsRequest) GetOrganizationRefs() []*OrganizationRef
- func (*DeleteOrganizationsRequest) ProtoMessage()
- func (x *DeleteOrganizationsRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteOrganizationsRequest) Reset()
- func (x *DeleteOrganizationsRequest) SetOrganizationRefs(v []*OrganizationRef)
- func (x *DeleteOrganizationsRequest) String() string
- type DeleteOrganizationsRequest_builder
- type DeleteOrganizationsResponse
- type DeleteOrganizationsResponse_builder
- type DeleteUsersRequest
- type DeleteUsersRequest_builder
- type DeleteUsersResponse
- type DeleteUsersResponse_builder
- type GetCurrentUserRequest
- type GetCurrentUserRequest_builder
- type GetCurrentUserResponse
- func (x *GetCurrentUserResponse) ClearUser()
- func (x *GetCurrentUserResponse) GetUser() *User
- func (x *GetCurrentUserResponse) HasUser() bool
- func (*GetCurrentUserResponse) ProtoMessage()
- func (x *GetCurrentUserResponse) ProtoReflect() protoreflect.Message
- func (x *GetCurrentUserResponse) Reset()
- func (x *GetCurrentUserResponse) SetUser(v *User)
- func (x *GetCurrentUserResponse) String() string
- type GetCurrentUserResponse_builder
- type GetOrganizationsRequest
- func (x *GetOrganizationsRequest) GetOrganizationRefs() []*OrganizationRef
- func (*GetOrganizationsRequest) ProtoMessage()
- func (x *GetOrganizationsRequest) ProtoReflect() protoreflect.Message
- func (x *GetOrganizationsRequest) Reset()
- func (x *GetOrganizationsRequest) SetOrganizationRefs(v []*OrganizationRef)
- func (x *GetOrganizationsRequest) String() string
- type GetOrganizationsRequest_builder
- type GetOrganizationsResponse
- func (x *GetOrganizationsResponse) GetOrganizations() []*Organization
- func (*GetOrganizationsResponse) ProtoMessage()
- func (x *GetOrganizationsResponse) ProtoReflect() protoreflect.Message
- func (x *GetOrganizationsResponse) Reset()
- func (x *GetOrganizationsResponse) SetOrganizations(v []*Organization)
- func (x *GetOrganizationsResponse) String() string
- type GetOrganizationsResponse_builder
- type GetOwnersRequest
- type GetOwnersRequest_builder
- type GetOwnersResponse
- type GetOwnersResponse_builder
- type GetUsersRequest
- type GetUsersRequest_builder
- type GetUsersResponse
- type GetUsersResponse_builder
- type ListOrganizationsRequest
- func (x *ListOrganizationsRequest) GetOrder() ListOrganizationsRequest_Order
- func (x *ListOrganizationsRequest) GetPageSize() uint32
- func (x *ListOrganizationsRequest) GetPageToken() string
- func (x *ListOrganizationsRequest) GetUserRefs() []*UserRef
- func (*ListOrganizationsRequest) ProtoMessage()
- func (x *ListOrganizationsRequest) ProtoReflect() protoreflect.Message
- func (x *ListOrganizationsRequest) Reset()
- func (x *ListOrganizationsRequest) SetOrder(v ListOrganizationsRequest_Order)
- func (x *ListOrganizationsRequest) SetPageSize(v uint32)
- func (x *ListOrganizationsRequest) SetPageToken(v string)
- func (x *ListOrganizationsRequest) SetUserRefs(v []*UserRef)
- func (x *ListOrganizationsRequest) String() string
- type ListOrganizationsRequest_Order
- func (ListOrganizationsRequest_Order) Descriptor() protoreflect.EnumDescriptor
- func (x ListOrganizationsRequest_Order) Enum() *ListOrganizationsRequest_Order
- func (x ListOrganizationsRequest_Order) Number() protoreflect.EnumNumber
- func (x ListOrganizationsRequest_Order) String() string
- func (ListOrganizationsRequest_Order) Type() protoreflect.EnumType
- type ListOrganizationsRequest_builder
- type ListOrganizationsResponse
- func (x *ListOrganizationsResponse) GetNextPageToken() string
- func (x *ListOrganizationsResponse) GetOrganizations() []*Organization
- func (*ListOrganizationsResponse) ProtoMessage()
- func (x *ListOrganizationsResponse) ProtoReflect() protoreflect.Message
- func (x *ListOrganizationsResponse) Reset()
- func (x *ListOrganizationsResponse) SetNextPageToken(v string)
- func (x *ListOrganizationsResponse) SetOrganizations(v []*Organization)
- func (x *ListOrganizationsResponse) String() string
- type ListOrganizationsResponse_builder
- type ListUsersRequest
- func (x *ListUsersRequest) GetHasStates() []UserState
- func (x *ListUsersRequest) GetHasTypes() []UserType
- func (x *ListUsersRequest) GetOrder() ListUsersRequest_Order
- func (x *ListUsersRequest) GetOrganizationRefs() []*OrganizationRef
- func (x *ListUsersRequest) GetPageSize() uint32
- func (x *ListUsersRequest) GetPageToken() string
- func (*ListUsersRequest) ProtoMessage()
- func (x *ListUsersRequest) ProtoReflect() protoreflect.Message
- func (x *ListUsersRequest) Reset()
- func (x *ListUsersRequest) SetHasStates(v []UserState)
- func (x *ListUsersRequest) SetHasTypes(v []UserType)
- func (x *ListUsersRequest) SetOrder(v ListUsersRequest_Order)
- func (x *ListUsersRequest) SetOrganizationRefs(v []*OrganizationRef)
- func (x *ListUsersRequest) SetPageSize(v uint32)
- func (x *ListUsersRequest) SetPageToken(v string)
- func (x *ListUsersRequest) String() string
- type ListUsersRequest_Order
- func (ListUsersRequest_Order) Descriptor() protoreflect.EnumDescriptor
- func (x ListUsersRequest_Order) Enum() *ListUsersRequest_Order
- func (x ListUsersRequest_Order) Number() protoreflect.EnumNumber
- func (x ListUsersRequest_Order) String() string
- func (ListUsersRequest_Order) Type() protoreflect.EnumType
- type ListUsersRequest_builder
- type ListUsersResponse
- func (x *ListUsersResponse) GetNextPageToken() string
- func (x *ListUsersResponse) GetUsers() []*User
- func (*ListUsersResponse) ProtoMessage()
- func (x *ListUsersResponse) ProtoReflect() protoreflect.Message
- func (x *ListUsersResponse) Reset()
- func (x *ListUsersResponse) SetNextPageToken(v string)
- func (x *ListUsersResponse) SetUsers(v []*User)
- func (x *ListUsersResponse) String() string
- type ListUsersResponse_builder
- type Organization
- func (x *Organization) ClearCreateTime()
- func (x *Organization) ClearUpdateTime()
- func (x *Organization) GetCreateTime() *timestamppb.Timestamp
- func (x *Organization) GetDescription() string
- func (x *Organization) GetId() string
- func (x *Organization) GetName() string
- func (x *Organization) GetUpdateTime() *timestamppb.Timestamp
- func (x *Organization) GetUrl() string
- func (x *Organization) GetVerificationStatus() OrganizationVerificationStatus
- func (x *Organization) HasCreateTime() bool
- func (x *Organization) HasUpdateTime() bool
- func (*Organization) ProtoMessage()
- func (x *Organization) ProtoReflect() protoreflect.Message
- func (x *Organization) Reset()
- func (x *Organization) SetCreateTime(v *timestamppb.Timestamp)
- func (x *Organization) SetDescription(v string)
- func (x *Organization) SetId(v string)
- func (x *Organization) SetName(v string)
- func (x *Organization) SetUpdateTime(v *timestamppb.Timestamp)
- func (x *Organization) SetUrl(v string)
- func (x *Organization) SetVerificationStatus(v OrganizationVerificationStatus)
- func (x *Organization) String() string
- type OrganizationRef
- func (x *OrganizationRef) ClearId()
- func (x *OrganizationRef) ClearName()
- func (x *OrganizationRef) ClearValue()
- func (x *OrganizationRef) GetId() string
- func (x *OrganizationRef) GetName() string
- func (x *OrganizationRef) GetValue() isOrganizationRef_Value
- func (x *OrganizationRef) HasId() bool
- func (x *OrganizationRef) HasName() bool
- func (x *OrganizationRef) HasValue() bool
- func (*OrganizationRef) ProtoMessage()
- func (x *OrganizationRef) ProtoReflect() protoreflect.Message
- func (x *OrganizationRef) Reset()
- func (x *OrganizationRef) SetId(v string)
- func (x *OrganizationRef) SetName(v string)
- func (x *OrganizationRef) String() string
- func (x *OrganizationRef) WhichValue() case_OrganizationRef_Value
- type OrganizationRef_Id
- type OrganizationRef_Name
- type OrganizationRef_builder
- type OrganizationVerificationStatus
- func (OrganizationVerificationStatus) Descriptor() protoreflect.EnumDescriptor
- func (x OrganizationVerificationStatus) Enum() *OrganizationVerificationStatus
- func (x OrganizationVerificationStatus) Number() protoreflect.EnumNumber
- func (x OrganizationVerificationStatus) String() string
- func (OrganizationVerificationStatus) Type() protoreflect.EnumType
- type Organization_builder
- type Owner
- func (x *Owner) ClearOrganization()
- func (x *Owner) ClearUser()
- func (x *Owner) ClearValue()
- func (x *Owner) GetOrganization() *Organization
- func (x *Owner) GetUser() *User
- func (x *Owner) GetValue() isOwner_Value
- func (x *Owner) HasOrganization() bool
- func (x *Owner) HasUser() bool
- func (x *Owner) HasValue() bool
- func (*Owner) ProtoMessage()
- func (x *Owner) ProtoReflect() protoreflect.Message
- func (x *Owner) Reset()
- func (x *Owner) SetOrganization(v *Organization)
- func (x *Owner) SetUser(v *User)
- func (x *Owner) String() string
- func (x *Owner) WhichValue() case_Owner_Value
- type OwnerRef
- func (x *OwnerRef) ClearId()
- func (x *OwnerRef) ClearName()
- func (x *OwnerRef) ClearValue()
- func (x *OwnerRef) GetId() string
- func (x *OwnerRef) GetName() string
- func (x *OwnerRef) GetValue() isOwnerRef_Value
- func (x *OwnerRef) HasId() bool
- func (x *OwnerRef) HasName() bool
- func (x *OwnerRef) HasValue() bool
- func (*OwnerRef) ProtoMessage()
- func (x *OwnerRef) ProtoReflect() protoreflect.Message
- func (x *OwnerRef) Reset()
- func (x *OwnerRef) SetId(v string)
- func (x *OwnerRef) SetName(v string)
- func (x *OwnerRef) String() string
- func (x *OwnerRef) WhichValue() case_OwnerRef_Value
- type OwnerRef_Id
- type OwnerRef_Name
- type OwnerRef_builder
- type Owner_Organization
- type Owner_User
- type Owner_builder
- type UpdateOrganizationsRequest
- func (x *UpdateOrganizationsRequest) GetValues() []*UpdateOrganizationsRequest_Value
- func (*UpdateOrganizationsRequest) ProtoMessage()
- func (x *UpdateOrganizationsRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateOrganizationsRequest) Reset()
- func (x *UpdateOrganizationsRequest) SetValues(v []*UpdateOrganizationsRequest_Value)
- func (x *UpdateOrganizationsRequest) String() string
- type UpdateOrganizationsRequest_Value
- func (x *UpdateOrganizationsRequest_Value) ClearDescription()
- func (x *UpdateOrganizationsRequest_Value) ClearOrganizationRef()
- func (x *UpdateOrganizationsRequest_Value) ClearUrl()
- func (x *UpdateOrganizationsRequest_Value) ClearVerificationStatus()
- func (x *UpdateOrganizationsRequest_Value) GetDescription() string
- func (x *UpdateOrganizationsRequest_Value) GetOrganizationRef() *OrganizationRef
- func (x *UpdateOrganizationsRequest_Value) GetUrl() string
- func (x *UpdateOrganizationsRequest_Value) GetVerificationStatus() OrganizationVerificationStatus
- func (x *UpdateOrganizationsRequest_Value) HasDescription() bool
- func (x *UpdateOrganizationsRequest_Value) HasOrganizationRef() bool
- func (x *UpdateOrganizationsRequest_Value) HasUrl() bool
- func (x *UpdateOrganizationsRequest_Value) HasVerificationStatus() bool
- func (*UpdateOrganizationsRequest_Value) ProtoMessage()
- func (x *UpdateOrganizationsRequest_Value) ProtoReflect() protoreflect.Message
- func (x *UpdateOrganizationsRequest_Value) Reset()
- func (x *UpdateOrganizationsRequest_Value) SetDescription(v string)
- func (x *UpdateOrganizationsRequest_Value) SetOrganizationRef(v *OrganizationRef)
- func (x *UpdateOrganizationsRequest_Value) SetUrl(v string)
- func (x *UpdateOrganizationsRequest_Value) SetVerificationStatus(v OrganizationVerificationStatus)
- func (x *UpdateOrganizationsRequest_Value) String() string
- type UpdateOrganizationsRequest_Value_builder
- type UpdateOrganizationsRequest_builder
- type UpdateOrganizationsResponse
- func (x *UpdateOrganizationsResponse) GetOrganizations() []*Organization
- func (*UpdateOrganizationsResponse) ProtoMessage()
- func (x *UpdateOrganizationsResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateOrganizationsResponse) Reset()
- func (x *UpdateOrganizationsResponse) SetOrganizations(v []*Organization)
- func (x *UpdateOrganizationsResponse) String() string
- type UpdateOrganizationsResponse_builder
- type UpdateUsersRequest
- func (x *UpdateUsersRequest) GetValues() []*UpdateUsersRequest_Value
- func (*UpdateUsersRequest) ProtoMessage()
- func (x *UpdateUsersRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateUsersRequest) Reset()
- func (x *UpdateUsersRequest) SetValues(v []*UpdateUsersRequest_Value)
- func (x *UpdateUsersRequest) String() string
- type UpdateUsersRequest_Value
- func (x *UpdateUsersRequest_Value) ClearDescription()
- func (x *UpdateUsersRequest_Value) ClearState()
- func (x *UpdateUsersRequest_Value) ClearUrl()
- func (x *UpdateUsersRequest_Value) ClearUserRef()
- func (x *UpdateUsersRequest_Value) ClearVerificationStatus()
- func (x *UpdateUsersRequest_Value) GetDescription() string
- func (x *UpdateUsersRequest_Value) GetState() UserState
- func (x *UpdateUsersRequest_Value) GetUrl() string
- func (x *UpdateUsersRequest_Value) GetUserRef() *UserRef
- func (x *UpdateUsersRequest_Value) GetVerificationStatus() UserVerificationStatus
- func (x *UpdateUsersRequest_Value) HasDescription() bool
- func (x *UpdateUsersRequest_Value) HasState() bool
- func (x *UpdateUsersRequest_Value) HasUrl() bool
- func (x *UpdateUsersRequest_Value) HasUserRef() bool
- func (x *UpdateUsersRequest_Value) HasVerificationStatus() bool
- func (*UpdateUsersRequest_Value) ProtoMessage()
- func (x *UpdateUsersRequest_Value) ProtoReflect() protoreflect.Message
- func (x *UpdateUsersRequest_Value) Reset()
- func (x *UpdateUsersRequest_Value) SetDescription(v string)
- func (x *UpdateUsersRequest_Value) SetState(v UserState)
- func (x *UpdateUsersRequest_Value) SetUrl(v string)
- func (x *UpdateUsersRequest_Value) SetUserRef(v *UserRef)
- func (x *UpdateUsersRequest_Value) SetVerificationStatus(v UserVerificationStatus)
- func (x *UpdateUsersRequest_Value) String() string
- type UpdateUsersRequest_Value_builder
- type UpdateUsersRequest_builder
- type UpdateUsersResponse
- type UpdateUsersResponse_builder
- type User
- func (x *User) ClearCreateTime()
- func (x *User) ClearUpdateTime()
- func (x *User) GetCreateTime() *timestamppb.Timestamp
- func (x *User) GetDescription() string
- func (x *User) GetId() string
- func (x *User) GetName() string
- func (x *User) GetState() UserState
- func (x *User) GetType() UserType
- func (x *User) GetUpdateTime() *timestamppb.Timestamp
- func (x *User) GetUrl() string
- func (x *User) GetVerificationStatus() UserVerificationStatus
- func (x *User) HasCreateTime() bool
- func (x *User) HasUpdateTime() bool
- func (*User) ProtoMessage()
- func (x *User) ProtoReflect() protoreflect.Message
- func (x *User) Reset()
- func (x *User) SetCreateTime(v *timestamppb.Timestamp)
- func (x *User) SetDescription(v string)
- func (x *User) SetId(v string)
- func (x *User) SetName(v string)
- func (x *User) SetState(v UserState)
- func (x *User) SetType(v UserType)
- func (x *User) SetUpdateTime(v *timestamppb.Timestamp)
- func (x *User) SetUrl(v string)
- func (x *User) SetVerificationStatus(v UserVerificationStatus)
- func (x *User) String() string
- type UserRef
- func (x *UserRef) ClearId()
- func (x *UserRef) ClearName()
- func (x *UserRef) ClearValue()
- func (x *UserRef) GetId() string
- func (x *UserRef) GetName() string
- func (x *UserRef) GetValue() isUserRef_Value
- func (x *UserRef) HasId() bool
- func (x *UserRef) HasName() bool
- func (x *UserRef) HasValue() bool
- func (*UserRef) ProtoMessage()
- func (x *UserRef) ProtoReflect() protoreflect.Message
- func (x *UserRef) Reset()
- func (x *UserRef) SetId(v string)
- func (x *UserRef) SetName(v string)
- func (x *UserRef) String() string
- func (x *UserRef) WhichValue() case_UserRef_Value
- type UserRef_Id
- type UserRef_Name
- type UserRef_builder
- type UserState
- type UserType
- type UserVerificationStatus
- func (UserVerificationStatus) Descriptor() protoreflect.EnumDescriptor
- func (x UserVerificationStatus) Enum() *UserVerificationStatus
- func (x UserVerificationStatus) Number() protoreflect.EnumNumber
- func (x UserVerificationStatus) String() string
- func (UserVerificationStatus) Type() protoreflect.EnumType
- type User_builder
Constants ¶
const OrganizationRef_Id_case case_OrganizationRef_Value = 1
const OrganizationRef_Name_case case_OrganizationRef_Value = 2
const OrganizationRef_Value_not_set_case case_OrganizationRef_Value = 0
const OwnerRef_Id_case case_OwnerRef_Value = 1
const OwnerRef_Name_case case_OwnerRef_Value = 2
const OwnerRef_Value_not_set_case case_OwnerRef_Value = 0
const Owner_Organization_case case_Owner_Value = 2
const Owner_User_case case_Owner_Value = 1
const Owner_Value_not_set_case case_Owner_Value = 0
const UserRef_Id_case case_UserRef_Value = 1
const UserRef_Name_case case_UserRef_Value = 2
const UserRef_Value_not_set_case case_UserRef_Value = 0
Variables ¶
var ( OrganizationVerificationStatus_name = map[int32]string{ 0: "ORGANIZATION_VERIFICATION_STATUS_UNSPECIFIED", 1: "ORGANIZATION_VERIFICATION_STATUS_UNVERIFIED", 2: "ORGANIZATION_VERIFICATION_STATUS_VERIFIED", 3: "ORGANIZATION_VERIFICATION_STATUS_OFFICIAL", } OrganizationVerificationStatus_value = map[string]int32{ "ORGANIZATION_VERIFICATION_STATUS_UNSPECIFIED": 0, "ORGANIZATION_VERIFICATION_STATUS_UNVERIFIED": 1, "ORGANIZATION_VERIFICATION_STATUS_VERIFIED": 2, "ORGANIZATION_VERIFICATION_STATUS_OFFICIAL": 3, } )
Enum value maps for OrganizationVerificationStatus.
var ( ListOrganizationsRequest_Order_name = map[int32]string{ 0: "ORDER_UNSPECIFIED", 1: "ORDER_CREATE_TIME_DESC", 2: "ORDER_CREATE_TIME_ASC", } ListOrganizationsRequest_Order_value = map[string]int32{ "ORDER_UNSPECIFIED": 0, "ORDER_CREATE_TIME_DESC": 1, "ORDER_CREATE_TIME_ASC": 2, } )
Enum value maps for ListOrganizationsRequest_Order.
var ( UserState_name = map[int32]string{ 0: "USER_STATE_UNSPECIFIED", 1: "USER_STATE_ACTIVE", 2: "USER_STATE_INACTIVE", } UserState_value = map[string]int32{ "USER_STATE_UNSPECIFIED": 0, "USER_STATE_ACTIVE": 1, "USER_STATE_INACTIVE": 2, } )
Enum value maps for UserState.
var ( UserType_name = map[int32]string{ 0: "USER_TYPE_UNSPECIFIED", 1: "USER_TYPE_STANDARD", 2: "USER_TYPE_BOT", 3: "USER_TYPE_SYSTEM", } UserType_value = map[string]int32{ "USER_TYPE_UNSPECIFIED": 0, "USER_TYPE_STANDARD": 1, "USER_TYPE_BOT": 2, "USER_TYPE_SYSTEM": 3, } )
Enum value maps for UserType.
var ( UserVerificationStatus_name = map[int32]string{ 0: "USER_VERIFICATION_STATUS_UNSPECIFIED", 1: "USER_VERIFICATION_STATUS_UNVERIFIED", 2: "USER_VERIFICATION_STATUS_VERIFIED", 3: "USER_VERIFICATION_STATUS_OFFICIAL", } UserVerificationStatus_value = map[string]int32{ "USER_VERIFICATION_STATUS_UNSPECIFIED": 0, "USER_VERIFICATION_STATUS_UNVERIFIED": 1, "USER_VERIFICATION_STATUS_VERIFIED": 2, "USER_VERIFICATION_STATUS_OFFICIAL": 3, } )
Enum value maps for UserVerificationStatus.
var ( ListUsersRequest_Order_name = map[int32]string{ 0: "ORDER_UNSPECIFIED", 1: "ORDER_CREATE_TIME_DESC", 2: "ORDER_CREATE_TIME_ASC", } ListUsersRequest_Order_value = map[string]int32{ "ORDER_UNSPECIFIED": 0, "ORDER_CREATE_TIME_DESC": 1, "ORDER_CREATE_TIME_ASC": 2, } )
Enum value maps for ListUsersRequest_Order.
var File_buf_registry_owner_v1_organization_proto protoreflect.FileDescriptor
var File_buf_registry_owner_v1_organization_service_proto protoreflect.FileDescriptor
var File_buf_registry_owner_v1_owner_proto protoreflect.FileDescriptor
var File_buf_registry_owner_v1_owner_service_proto protoreflect.FileDescriptor
var File_buf_registry_owner_v1_user_proto protoreflect.FileDescriptor
var File_buf_registry_owner_v1_user_service_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type CreateOrganizationsRequest ¶
type CreateOrganizationsRequest struct {
// The Organizations to create.
Values []*CreateOrganizationsRequest_Value `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
// contains filtered or unexported fields
}
func (*CreateOrganizationsRequest) GetValues ¶
func (x *CreateOrganizationsRequest) GetValues() []*CreateOrganizationsRequest_Value
func (*CreateOrganizationsRequest) ProtoMessage ¶
func (*CreateOrganizationsRequest) ProtoMessage()
func (*CreateOrganizationsRequest) ProtoReflect ¶
func (x *CreateOrganizationsRequest) ProtoReflect() protoreflect.Message
func (*CreateOrganizationsRequest) Reset ¶
func (x *CreateOrganizationsRequest) Reset()
func (*CreateOrganizationsRequest) SetValues ¶
func (x *CreateOrganizationsRequest) SetValues(v []*CreateOrganizationsRequest_Value)
func (*CreateOrganizationsRequest) String ¶
func (x *CreateOrganizationsRequest) String() string
type CreateOrganizationsRequest_Value ¶
type CreateOrganizationsRequest_Value struct {
// The name of the Organization.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// The configurable description of the Organization.
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
// The configurable URL that represents the homepage for an Organization.
Url string `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty"`
// The verification status of the Organization.
//
// If not set, the Organization will default to VERIFICATION_STATUS_UNVERIFIED.
VerificationStatus OrganizationVerificationStatus `` /* 174-byte string literal not displayed */
// contains filtered or unexported fields
}
An individual request to create an Organization.
func (*CreateOrganizationsRequest_Value) GetDescription ¶
func (x *CreateOrganizationsRequest_Value) GetDescription() string
func (*CreateOrganizationsRequest_Value) GetName ¶
func (x *CreateOrganizationsRequest_Value) GetName() string
func (*CreateOrganizationsRequest_Value) GetUrl ¶
func (x *CreateOrganizationsRequest_Value) GetUrl() string
func (*CreateOrganizationsRequest_Value) GetVerificationStatus ¶
func (x *CreateOrganizationsRequest_Value) GetVerificationStatus() OrganizationVerificationStatus
func (*CreateOrganizationsRequest_Value) ProtoMessage ¶
func (*CreateOrganizationsRequest_Value) ProtoMessage()
func (*CreateOrganizationsRequest_Value) ProtoReflect ¶
func (x *CreateOrganizationsRequest_Value) ProtoReflect() protoreflect.Message
func (*CreateOrganizationsRequest_Value) Reset ¶
func (x *CreateOrganizationsRequest_Value) Reset()
func (*CreateOrganizationsRequest_Value) SetDescription ¶
func (x *CreateOrganizationsRequest_Value) SetDescription(v string)
func (*CreateOrganizationsRequest_Value) SetName ¶
func (x *CreateOrganizationsRequest_Value) SetName(v string)
func (*CreateOrganizationsRequest_Value) SetUrl ¶
func (x *CreateOrganizationsRequest_Value) SetUrl(v string)
func (*CreateOrganizationsRequest_Value) SetVerificationStatus ¶
func (x *CreateOrganizationsRequest_Value) SetVerificationStatus(v OrganizationVerificationStatus)
func (*CreateOrganizationsRequest_Value) String ¶
func (x *CreateOrganizationsRequest_Value) String() string
type CreateOrganizationsRequest_Value_builder ¶
type CreateOrganizationsRequest_Value_builder struct {
// The name of the Organization.
Name string
// The configurable description of the Organization.
Description string
// The configurable URL that represents the homepage for an Organization.
Url string
// The verification status of the Organization.
//
// If not set, the Organization will default to VERIFICATION_STATUS_UNVERIFIED.
VerificationStatus OrganizationVerificationStatus
// contains filtered or unexported fields
}
func (CreateOrganizationsRequest_Value_builder) Build ¶
func (b0 CreateOrganizationsRequest_Value_builder) Build() *CreateOrganizationsRequest_Value
type CreateOrganizationsRequest_builder ¶
type CreateOrganizationsRequest_builder struct {
// The Organizations to create.
Values []*CreateOrganizationsRequest_Value
// contains filtered or unexported fields
}
func (CreateOrganizationsRequest_builder) Build ¶
func (b0 CreateOrganizationsRequest_builder) Build() *CreateOrganizationsRequest
type CreateOrganizationsResponse ¶
type CreateOrganizationsResponse struct {
// The created Organizations in the same order as given on the request.
Organizations []*Organization `protobuf:"bytes,1,rep,name=organizations,proto3" json:"organizations,omitempty"`
// contains filtered or unexported fields
}
func (*CreateOrganizationsResponse) GetOrganizations ¶
func (x *CreateOrganizationsResponse) GetOrganizations() []*Organization
func (*CreateOrganizationsResponse) ProtoMessage ¶
func (*CreateOrganizationsResponse) ProtoMessage()
func (*CreateOrganizationsResponse) ProtoReflect ¶
func (x *CreateOrganizationsResponse) ProtoReflect() protoreflect.Message
func (*CreateOrganizationsResponse) Reset ¶
func (x *CreateOrganizationsResponse) Reset()
func (*CreateOrganizationsResponse) SetOrganizations ¶
func (x *CreateOrganizationsResponse) SetOrganizations(v []*Organization)
func (*CreateOrganizationsResponse) String ¶
func (x *CreateOrganizationsResponse) String() string
type CreateOrganizationsResponse_builder ¶
type CreateOrganizationsResponse_builder struct {
// The created Organizations in the same order as given on the request.
Organizations []*Organization
// contains filtered or unexported fields
}
func (CreateOrganizationsResponse_builder) Build ¶
func (b0 CreateOrganizationsResponse_builder) Build() *CreateOrganizationsResponse
type CreateUsersRequest ¶
type CreateUsersRequest struct {
// The Users to create.
Values []*CreateUsersRequest_Value `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
// contains filtered or unexported fields
}
func (*CreateUsersRequest) GetValues ¶
func (x *CreateUsersRequest) GetValues() []*CreateUsersRequest_Value
func (*CreateUsersRequest) ProtoMessage ¶
func (*CreateUsersRequest) ProtoMessage()
func (*CreateUsersRequest) ProtoReflect ¶
func (x *CreateUsersRequest) ProtoReflect() protoreflect.Message
func (*CreateUsersRequest) Reset ¶
func (x *CreateUsersRequest) Reset()
func (*CreateUsersRequest) SetValues ¶
func (x *CreateUsersRequest) SetValues(v []*CreateUsersRequest_Value)
func (*CreateUsersRequest) String ¶
func (x *CreateUsersRequest) String() string
type CreateUsersRequest_Value ¶
type CreateUsersRequest_Value struct {
// The name of the User.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// The type of the User.
//
// If not set, the default USER_TYPE_STANDARD is used.
Type UserType `protobuf:"varint,2,opt,name=type,proto3,enum=buf.registry.owner.v1.UserType" json:"type,omitempty"`
// The configurable description of the User.
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
// The configurable URL that represents the homepage for a User.
Url string `protobuf:"bytes,4,opt,name=url,proto3" json:"url,omitempty"`
// The verification status of the User.
//
// If not set, the User will default to VERIFICATION_STATUS_UNVERIFIED.
VerificationStatus UserVerificationStatus `` /* 166-byte string literal not displayed */
// contains filtered or unexported fields
}
An individual request to create a User.
func (*CreateUsersRequest_Value) GetDescription ¶
func (x *CreateUsersRequest_Value) GetDescription() string
func (*CreateUsersRequest_Value) GetName ¶
func (x *CreateUsersRequest_Value) GetName() string
func (*CreateUsersRequest_Value) GetType ¶
func (x *CreateUsersRequest_Value) GetType() UserType
func (*CreateUsersRequest_Value) GetUrl ¶
func (x *CreateUsersRequest_Value) GetUrl() string
func (*CreateUsersRequest_Value) GetVerificationStatus ¶
func (x *CreateUsersRequest_Value) GetVerificationStatus() UserVerificationStatus
func (*CreateUsersRequest_Value) ProtoMessage ¶
func (*CreateUsersRequest_Value) ProtoMessage()
func (*CreateUsersRequest_Value) ProtoReflect ¶
func (x *CreateUsersRequest_Value) ProtoReflect() protoreflect.Message
func (*CreateUsersRequest_Value) Reset ¶
func (x *CreateUsersRequest_Value) Reset()
func (*CreateUsersRequest_Value) SetDescription ¶
func (x *CreateUsersRequest_Value) SetDescription(v string)
func (*CreateUsersRequest_Value) SetName ¶
func (x *CreateUsersRequest_Value) SetName(v string)
func (*CreateUsersRequest_Value) SetType ¶
func (x *CreateUsersRequest_Value) SetType(v UserType)
func (*CreateUsersRequest_Value) SetUrl ¶
func (x *CreateUsersRequest_Value) SetUrl(v string)
func (*CreateUsersRequest_Value) SetVerificationStatus ¶
func (x *CreateUsersRequest_Value) SetVerificationStatus(v UserVerificationStatus)
func (*CreateUsersRequest_Value) String ¶
func (x *CreateUsersRequest_Value) String() string
type CreateUsersRequest_Value_builder ¶
type CreateUsersRequest_Value_builder struct {
// The name of the User.
Name string
// The type of the User.
//
// If not set, the default USER_TYPE_STANDARD is used.
Type UserType
// The configurable description of the User.
Description string
// The configurable URL that represents the homepage for a User.
Url string
// The verification status of the User.
//
// If not set, the User will default to VERIFICATION_STATUS_UNVERIFIED.
VerificationStatus UserVerificationStatus
// contains filtered or unexported fields
}
func (CreateUsersRequest_Value_builder) Build ¶
func (b0 CreateUsersRequest_Value_builder) Build() *CreateUsersRequest_Value
type CreateUsersRequest_builder ¶
type CreateUsersRequest_builder struct {
// The Users to create.
Values []*CreateUsersRequest_Value
// contains filtered or unexported fields
}
func (CreateUsersRequest_builder) Build ¶
func (b0 CreateUsersRequest_builder) Build() *CreateUsersRequest
type CreateUsersResponse ¶
type CreateUsersResponse struct {
// The created Users in the same order as given on the request.
Users []*User `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"`
// contains filtered or unexported fields
}
func (*CreateUsersResponse) GetUsers ¶
func (x *CreateUsersResponse) GetUsers() []*User
func (*CreateUsersResponse) ProtoMessage ¶
func (*CreateUsersResponse) ProtoMessage()
func (*CreateUsersResponse) ProtoReflect ¶
func (x *CreateUsersResponse) ProtoReflect() protoreflect.Message
func (*CreateUsersResponse) Reset ¶
func (x *CreateUsersResponse) Reset()
func (*CreateUsersResponse) SetUsers ¶
func (x *CreateUsersResponse) SetUsers(v []*User)
func (*CreateUsersResponse) String ¶
func (x *CreateUsersResponse) String() string
type CreateUsersResponse_builder ¶
type CreateUsersResponse_builder struct {
// The created Users in the same order as given on the request.
Users []*User
// contains filtered or unexported fields
}
func (CreateUsersResponse_builder) Build ¶
func (b0 CreateUsersResponse_builder) Build() *CreateUsersResponse
type DeleteOrganizationsRequest ¶
type DeleteOrganizationsRequest struct {
// The Organizations to delete.
OrganizationRefs []*OrganizationRef `protobuf:"bytes,1,rep,name=organization_refs,json=organizationRefs,proto3" json:"organization_refs,omitempty"`
// contains filtered or unexported fields
}
func (*DeleteOrganizationsRequest) GetOrganizationRefs ¶
func (x *DeleteOrganizationsRequest) GetOrganizationRefs() []*OrganizationRef
func (*DeleteOrganizationsRequest) ProtoMessage ¶
func (*DeleteOrganizationsRequest) ProtoMessage()
func (*DeleteOrganizationsRequest) ProtoReflect ¶
func (x *DeleteOrganizationsRequest) ProtoReflect() protoreflect.Message
func (*DeleteOrganizationsRequest) Reset ¶
func (x *DeleteOrganizationsRequest) Reset()
func (*DeleteOrganizationsRequest) SetOrganizationRefs ¶
func (x *DeleteOrganizationsRequest) SetOrganizationRefs(v []*OrganizationRef)
func (*DeleteOrganizationsRequest) String ¶
func (x *DeleteOrganizationsRequest) String() string
type DeleteOrganizationsRequest_builder ¶
type DeleteOrganizationsRequest_builder struct {
// The Organizations to delete.
OrganizationRefs []*OrganizationRef
// contains filtered or unexported fields
}
func (DeleteOrganizationsRequest_builder) Build ¶
func (b0 DeleteOrganizationsRequest_builder) Build() *DeleteOrganizationsRequest
type DeleteOrganizationsResponse ¶
type DeleteOrganizationsResponse struct {
// contains filtered or unexported fields
}
func (*DeleteOrganizationsResponse) ProtoMessage ¶
func (*DeleteOrganizationsResponse) ProtoMessage()
func (*DeleteOrganizationsResponse) ProtoReflect ¶
func (x *DeleteOrganizationsResponse) ProtoReflect() protoreflect.Message
func (*DeleteOrganizationsResponse) Reset ¶
func (x *DeleteOrganizationsResponse) Reset()
func (*DeleteOrganizationsResponse) String ¶
func (x *DeleteOrganizationsResponse) String() string
type DeleteOrganizationsResponse_builder ¶
type DeleteOrganizationsResponse_builder struct {
// contains filtered or unexported fields
}
func (DeleteOrganizationsResponse_builder) Build ¶
func (b0 DeleteOrganizationsResponse_builder) Build() *DeleteOrganizationsResponse
type DeleteUsersRequest ¶
type DeleteUsersRequest struct {
// The Users to delete.
UserRefs []*UserRef `protobuf:"bytes,1,rep,name=user_refs,json=userRefs,proto3" json:"user_refs,omitempty"`
// contains filtered or unexported fields
}
func (*DeleteUsersRequest) GetUserRefs ¶
func (x *DeleteUsersRequest) GetUserRefs() []*UserRef
func (*DeleteUsersRequest) ProtoMessage ¶
func (*DeleteUsersRequest) ProtoMessage()
func (*DeleteUsersRequest) ProtoReflect ¶
func (x *DeleteUsersRequest) ProtoReflect() protoreflect.Message
func (*DeleteUsersRequest) Reset ¶
func (x *DeleteUsersRequest) Reset()
func (*DeleteUsersRequest) SetUserRefs ¶
func (x *DeleteUsersRequest) SetUserRefs(v []*UserRef)
func (*DeleteUsersRequest) String ¶
func (x *DeleteUsersRequest) String() string
type DeleteUsersRequest_builder ¶
type DeleteUsersRequest_builder struct {
// The Users to delete.
UserRefs []*UserRef
// contains filtered or unexported fields
}
func (DeleteUsersRequest_builder) Build ¶
func (b0 DeleteUsersRequest_builder) Build() *DeleteUsersRequest
type DeleteUsersResponse ¶
type DeleteUsersResponse struct {
// contains filtered or unexported fields
}
func (*DeleteUsersResponse) ProtoMessage ¶
func (*DeleteUsersResponse) ProtoMessage()
func (*DeleteUsersResponse) ProtoReflect ¶
func (x *DeleteUsersResponse) ProtoReflect() protoreflect.Message
func (*DeleteUsersResponse) Reset ¶
func (x *DeleteUsersResponse) Reset()
func (*DeleteUsersResponse) String ¶
func (x *DeleteUsersResponse) String() string
type DeleteUsersResponse_builder ¶
type DeleteUsersResponse_builder struct {
// contains filtered or unexported fields
}
func (DeleteUsersResponse_builder) Build ¶
func (b0 DeleteUsersResponse_builder) Build() *DeleteUsersResponse
type GetCurrentUserRequest ¶
type GetCurrentUserRequest struct {
// contains filtered or unexported fields
}
func (*GetCurrentUserRequest) ProtoMessage ¶
func (*GetCurrentUserRequest) ProtoMessage()
func (*GetCurrentUserRequest) ProtoReflect ¶
func (x *GetCurrentUserRequest) ProtoReflect() protoreflect.Message
func (*GetCurrentUserRequest) Reset ¶
func (x *GetCurrentUserRequest) Reset()
func (*GetCurrentUserRequest) String ¶
func (x *GetCurrentUserRequest) String() string
type GetCurrentUserRequest_builder ¶
type GetCurrentUserRequest_builder struct {
// contains filtered or unexported fields
}
func (GetCurrentUserRequest_builder) Build ¶
func (b0 GetCurrentUserRequest_builder) Build() *GetCurrentUserRequest
type GetCurrentUserResponse ¶
type GetCurrentUserResponse struct {
// The currently authenticated User.
User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
// contains filtered or unexported fields
}
func (*GetCurrentUserResponse) ClearUser ¶
func (x *GetCurrentUserResponse) ClearUser()
func (*GetCurrentUserResponse) GetUser ¶
func (x *GetCurrentUserResponse) GetUser() *User
func (*GetCurrentUserResponse) HasUser ¶
func (x *GetCurrentUserResponse) HasUser() bool
func (*GetCurrentUserResponse) ProtoMessage ¶
func (*GetCurrentUserResponse) ProtoMessage()
func (*GetCurrentUserResponse) ProtoReflect ¶
func (x *GetCurrentUserResponse) ProtoReflect() protoreflect.Message
func (*GetCurrentUserResponse) Reset ¶
func (x *GetCurrentUserResponse) Reset()
func (*GetCurrentUserResponse) SetUser ¶
func (x *GetCurrentUserResponse) SetUser(v *User)
func (*GetCurrentUserResponse) String ¶
func (x *GetCurrentUserResponse) String() string
type GetCurrentUserResponse_builder ¶
type GetCurrentUserResponse_builder struct {
// The currently authenticated User.
User *User
// contains filtered or unexported fields
}
func (GetCurrentUserResponse_builder) Build ¶
func (b0 GetCurrentUserResponse_builder) Build() *GetCurrentUserResponse
type GetOrganizationsRequest ¶
type GetOrganizationsRequest struct {
// The Organizations to request.
OrganizationRefs []*OrganizationRef `protobuf:"bytes,1,rep,name=organization_refs,json=organizationRefs,proto3" json:"organization_refs,omitempty"`
// contains filtered or unexported fields
}
func (*GetOrganizationsRequest) GetOrganizationRefs ¶
func (x *GetOrganizationsRequest) GetOrganizationRefs() []*OrganizationRef
func (*GetOrganizationsRequest) ProtoMessage ¶
func (*GetOrganizationsRequest) ProtoMessage()
func (*GetOrganizationsRequest) ProtoReflect ¶
func (x *GetOrganizationsRequest) ProtoReflect() protoreflect.Message
func (*GetOrganizationsRequest) Reset ¶
func (x *GetOrganizationsRequest) Reset()
func (*GetOrganizationsRequest) SetOrganizationRefs ¶
func (x *GetOrganizationsRequest) SetOrganizationRefs(v []*OrganizationRef)
func (*GetOrganizationsRequest) String ¶
func (x *GetOrganizationsRequest) String() string
type GetOrganizationsRequest_builder ¶
type GetOrganizationsRequest_builder struct {
// The Organizations to request.
OrganizationRefs []*OrganizationRef
// contains filtered or unexported fields
}
func (GetOrganizationsRequest_builder) Build ¶
func (b0 GetOrganizationsRequest_builder) Build() *GetOrganizationsRequest
type GetOrganizationsResponse ¶
type GetOrganizationsResponse struct {
// The retrieved Organizations in the same order as requested.
Organizations []*Organization `protobuf:"bytes,1,rep,name=organizations,proto3" json:"organizations,omitempty"`
// contains filtered or unexported fields
}
func (*GetOrganizationsResponse) GetOrganizations ¶
func (x *GetOrganizationsResponse) GetOrganizations() []*Organization
func (*GetOrganizationsResponse) ProtoMessage ¶
func (*GetOrganizationsResponse) ProtoMessage()
func (*GetOrganizationsResponse) ProtoReflect ¶
func (x *GetOrganizationsResponse) ProtoReflect() protoreflect.Message
func (*GetOrganizationsResponse) Reset ¶
func (x *GetOrganizationsResponse) Reset()
func (*GetOrganizationsResponse) SetOrganizations ¶
func (x *GetOrganizationsResponse) SetOrganizations(v []*Organization)
func (*GetOrganizationsResponse) String ¶
func (x *GetOrganizationsResponse) String() string
type GetOrganizationsResponse_builder ¶
type GetOrganizationsResponse_builder struct {
// The retrieved Organizations in the same order as requested.
Organizations []*Organization
// contains filtered or unexported fields
}
func (GetOrganizationsResponse_builder) Build ¶
func (b0 GetOrganizationsResponse_builder) Build() *GetOrganizationsResponse
type GetOwnersRequest ¶
type GetOwnersRequest struct {
// The Users or Organizations to request.
OwnerRefs []*OwnerRef `protobuf:"bytes,1,rep,name=owner_refs,json=ownerRefs,proto3" json:"owner_refs,omitempty"`
// contains filtered or unexported fields
}
func (*GetOwnersRequest) GetOwnerRefs ¶
func (x *GetOwnersRequest) GetOwnerRefs() []*OwnerRef
func (*GetOwnersRequest) ProtoMessage ¶
func (*GetOwnersRequest) ProtoMessage()
func (*GetOwnersRequest) ProtoReflect ¶
func (x *GetOwnersRequest) ProtoReflect() protoreflect.Message
func (*GetOwnersRequest) Reset ¶
func (x *GetOwnersRequest) Reset()
func (*GetOwnersRequest) SetOwnerRefs ¶
func (x *GetOwnersRequest) SetOwnerRefs(v []*OwnerRef)
func (*GetOwnersRequest) String ¶
func (x *GetOwnersRequest) String() string
type GetOwnersRequest_builder ¶
type GetOwnersRequest_builder struct {
// The Users or Organizations to request.
OwnerRefs []*OwnerRef
// contains filtered or unexported fields
}
func (GetOwnersRequest_builder) Build ¶
func (b0 GetOwnersRequest_builder) Build() *GetOwnersRequest
type GetOwnersResponse ¶
type GetOwnersResponse struct {
// The retrieved Users or Organizations in the same order as requested.
Owners []*Owner `protobuf:"bytes,1,rep,name=owners,proto3" json:"owners,omitempty"`
// contains filtered or unexported fields
}
func (*GetOwnersResponse) GetOwners ¶
func (x *GetOwnersResponse) GetOwners() []*Owner
func (*GetOwnersResponse) ProtoMessage ¶
func (*GetOwnersResponse) ProtoMessage()
func (*GetOwnersResponse) ProtoReflect ¶
func (x *GetOwnersResponse) ProtoReflect() protoreflect.Message
func (*GetOwnersResponse) Reset ¶
func (x *GetOwnersResponse) Reset()
func (*GetOwnersResponse) SetOwners ¶
func (x *GetOwnersResponse) SetOwners(v []*Owner)
func (*GetOwnersResponse) String ¶
func (x *GetOwnersResponse) String() string
type GetOwnersResponse_builder ¶
type GetOwnersResponse_builder struct {
// The retrieved Users or Organizations in the same order as requested.
Owners []*Owner
// contains filtered or unexported fields
}
func (GetOwnersResponse_builder) Build ¶
func (b0 GetOwnersResponse_builder) Build() *GetOwnersResponse
type GetUsersRequest ¶
type GetUsersRequest struct {
// The Users to request.
UserRefs []*UserRef `protobuf:"bytes,1,rep,name=user_refs,json=userRefs,proto3" json:"user_refs,omitempty"`
// contains filtered or unexported fields
}
func (*GetUsersRequest) GetUserRefs ¶
func (x *GetUsersRequest) GetUserRefs() []*UserRef
func (*GetUsersRequest) ProtoMessage ¶
func (*GetUsersRequest) ProtoMessage()
func (*GetUsersRequest) ProtoReflect ¶
func (x *GetUsersRequest) ProtoReflect() protoreflect.Message
func (*GetUsersRequest) Reset ¶
func (x *GetUsersRequest) Reset()
func (*GetUsersRequest) SetUserRefs ¶
func (x *GetUsersRequest) SetUserRefs(v []*UserRef)
func (*GetUsersRequest) String ¶
func (x *GetUsersRequest) String() string
type GetUsersRequest_builder ¶
type GetUsersRequest_builder struct {
// The Users to request.
UserRefs []*UserRef
// contains filtered or unexported fields
}
func (GetUsersRequest_builder) Build ¶
func (b0 GetUsersRequest_builder) Build() *GetUsersRequest
type GetUsersResponse ¶
type GetUsersResponse struct {
// The retrieved Users in the same order as requested.
Users []*User `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"`
// contains filtered or unexported fields
}
func (*GetUsersResponse) GetUsers ¶
func (x *GetUsersResponse) GetUsers() []*User
func (*GetUsersResponse) ProtoMessage ¶
func (*GetUsersResponse) ProtoMessage()
func (*GetUsersResponse) ProtoReflect ¶
func (x *GetUsersResponse) ProtoReflect() protoreflect.Message
func (*GetUsersResponse) Reset ¶
func (x *GetUsersResponse) Reset()
func (*GetUsersResponse) SetUsers ¶
func (x *GetUsersResponse) SetUsers(v []*User)
func (*GetUsersResponse) String ¶
func (x *GetUsersResponse) String() string
type GetUsersResponse_builder ¶
type GetUsersResponse_builder struct {
// The retrieved Users in the same order as requested.
Users []*User
// contains filtered or unexported fields
}
func (GetUsersResponse_builder) Build ¶
func (b0 GetUsersResponse_builder) Build() *GetUsersResponse
type ListOrganizationsRequest ¶
type ListOrganizationsRequest struct {
// The maximum number of items to return.
//
// The default value is 10.
PageSize uint32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// The page to start from.
//
// If empty, the first page is returned.
PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// The ids of the specific Users to list Organizations for.
//
// If this is empty, all Organizations are listed, but this functionality
// is limited to Users with the necessary permissions.
UserRefs []*UserRef `protobuf:"bytes,3,rep,name=user_refs,json=userRefs,proto3" json:"user_refs,omitempty"`
// The order to return the Organizations.
//
// If not specified, defaults to ORDER_CREATE_TIME_DESC.
Order ListOrganizationsRequest_Order `protobuf:"varint,4,opt,name=order,proto3,enum=buf.registry.owner.v1.ListOrganizationsRequest_Order" json:"order,omitempty"`
// contains filtered or unexported fields
}
func (*ListOrganizationsRequest) GetOrder ¶
func (x *ListOrganizationsRequest) GetOrder() ListOrganizationsRequest_Order
func (*ListOrganizationsRequest) GetPageSize ¶
func (x *ListOrganizationsRequest) GetPageSize() uint32
func (*ListOrganizationsRequest) GetPageToken ¶
func (x *ListOrganizationsRequest) GetPageToken() string
func (*ListOrganizationsRequest) GetUserRefs ¶
func (x *ListOrganizationsRequest) GetUserRefs() []*UserRef
func (*ListOrganizationsRequest) ProtoMessage ¶
func (*ListOrganizationsRequest) ProtoMessage()
func (*ListOrganizationsRequest) ProtoReflect ¶
func (x *ListOrganizationsRequest) ProtoReflect() protoreflect.Message
func (*ListOrganizationsRequest) Reset ¶
func (x *ListOrganizationsRequest) Reset()
func (*ListOrganizationsRequest) SetOrder ¶
func (x *ListOrganizationsRequest) SetOrder(v ListOrganizationsRequest_Order)
func (*ListOrganizationsRequest) SetPageSize ¶
func (x *ListOrganizationsRequest) SetPageSize(v uint32)
func (*ListOrganizationsRequest) SetPageToken ¶
func (x *ListOrganizationsRequest) SetPageToken(v string)
func (*ListOrganizationsRequest) SetUserRefs ¶
func (x *ListOrganizationsRequest) SetUserRefs(v []*UserRef)
func (*ListOrganizationsRequest) String ¶
func (x *ListOrganizationsRequest) String() string
type ListOrganizationsRequest_Order ¶
type ListOrganizationsRequest_Order int32
The list order.
const ( ListOrganizationsRequest_ORDER_UNSPECIFIED ListOrganizationsRequest_Order = 0 // Order by create_time newest to oldest. ListOrganizationsRequest_ORDER_CREATE_TIME_DESC ListOrganizationsRequest_Order = 1 // Order by create_time oldest to newest. ListOrganizationsRequest_ORDER_CREATE_TIME_ASC ListOrganizationsRequest_Order = 2 )
func (ListOrganizationsRequest_Order) Descriptor ¶
func (ListOrganizationsRequest_Order) Descriptor() protoreflect.EnumDescriptor
func (ListOrganizationsRequest_Order) Enum ¶
func (x ListOrganizationsRequest_Order) Enum() *ListOrganizationsRequest_Order
func (ListOrganizationsRequest_Order) Number ¶
func (x ListOrganizationsRequest_Order) Number() protoreflect.EnumNumber
func (ListOrganizationsRequest_Order) String ¶
func (x ListOrganizationsRequest_Order) String() string
func (ListOrganizationsRequest_Order) Type ¶
func (ListOrganizationsRequest_Order) Type() protoreflect.EnumType
type ListOrganizationsRequest_builder ¶
type ListOrganizationsRequest_builder struct {
// The maximum number of items to return.
//
// The default value is 10.
PageSize uint32
// The page to start from.
//
// If empty, the first page is returned.
PageToken string
// The ids of the specific Users to list Organizations for.
//
// If this is empty, all Organizations are listed, but this functionality
// is limited to Users with the necessary permissions.
UserRefs []*UserRef
// The order to return the Organizations.
//
// If not specified, defaults to ORDER_CREATE_TIME_DESC.
Order ListOrganizationsRequest_Order
// contains filtered or unexported fields
}
func (ListOrganizationsRequest_builder) Build ¶
func (b0 ListOrganizationsRequest_builder) Build() *ListOrganizationsRequest
type ListOrganizationsResponse ¶
type ListOrganizationsResponse struct {
// The next page token.
//
// If empty, there are no more pages.
NextPageToken string `protobuf:"bytes,1,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// The listed Organizations.
Organizations []*Organization `protobuf:"bytes,2,rep,name=organizations,proto3" json:"organizations,omitempty"`
// contains filtered or unexported fields
}
func (*ListOrganizationsResponse) GetNextPageToken ¶
func (x *ListOrganizationsResponse) GetNextPageToken() string
func (*ListOrganizationsResponse) GetOrganizations ¶
func (x *ListOrganizationsResponse) GetOrganizations() []*Organization
func (*ListOrganizationsResponse) ProtoMessage ¶
func (*ListOrganizationsResponse) ProtoMessage()
func (*ListOrganizationsResponse) ProtoReflect ¶
func (x *ListOrganizationsResponse) ProtoReflect() protoreflect.Message
func (*ListOrganizationsResponse) Reset ¶
func (x *ListOrganizationsResponse) Reset()
func (*ListOrganizationsResponse) SetNextPageToken ¶
func (x *ListOrganizationsResponse) SetNextPageToken(v string)
func (*ListOrganizationsResponse) SetOrganizations ¶
func (x *ListOrganizationsResponse) SetOrganizations(v []*Organization)
func (*ListOrganizationsResponse) String ¶
func (x *ListOrganizationsResponse) String() string
type ListOrganizationsResponse_builder ¶
type ListOrganizationsResponse_builder struct {
// The next page token.
//
// If empty, there are no more pages.
NextPageToken string
// The listed Organizations.
Organizations []*Organization
// contains filtered or unexported fields
}
func (ListOrganizationsResponse_builder) Build ¶
func (b0 ListOrganizationsResponse_builder) Build() *ListOrganizationsResponse
type ListUsersRequest ¶
type ListUsersRequest struct {
// The maximum number of items to return.
//
// The default value is 10.
PageSize uint32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// The page to start from.
//
// If empty, the first page is returned.
PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// The specific Organizations to list Users for.
//
// If this is empty, all Users for all Organizations are listed, but this functionality
// is limited to Users with the necessary permissions.
OrganizationRefs []*OrganizationRef `protobuf:"bytes,3,rep,name=organization_refs,json=organizationRefs,proto3" json:"organization_refs,omitempty"`
// The order to return the Users.
//
// If not specified, defaults to ORDER_CREATE_TIME_DESC.
Order ListUsersRequest_Order `protobuf:"varint,4,opt,name=order,proto3,enum=buf.registry.owner.v1.ListUsersRequest_Order" json:"order,omitempty"`
// Only return Users of these types.
HasTypes []UserType `` /* 129-byte string literal not displayed */
// Only return Users of these states.
HasStates []UserState `` /* 133-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*ListUsersRequest) GetHasStates ¶
func (x *ListUsersRequest) GetHasStates() []UserState
func (*ListUsersRequest) GetHasTypes ¶
func (x *ListUsersRequest) GetHasTypes() []UserType
func (*ListUsersRequest) GetOrder ¶
func (x *ListUsersRequest) GetOrder() ListUsersRequest_Order
func (*ListUsersRequest) GetOrganizationRefs ¶
func (x *ListUsersRequest) GetOrganizationRefs() []*OrganizationRef
func (*ListUsersRequest) GetPageSize ¶
func (x *ListUsersRequest) GetPageSize() uint32
func (*ListUsersRequest) GetPageToken ¶
func (x *ListUsersRequest) GetPageToken() string
func (*ListUsersRequest) ProtoMessage ¶
func (*ListUsersRequest) ProtoMessage()
func (*ListUsersRequest) ProtoReflect ¶
func (x *ListUsersRequest) ProtoReflect() protoreflect.Message
func (*ListUsersRequest) Reset ¶
func (x *ListUsersRequest) Reset()
func (*ListUsersRequest) SetHasStates ¶
func (x *ListUsersRequest) SetHasStates(v []UserState)
func (*ListUsersRequest) SetHasTypes ¶
func (x *ListUsersRequest) SetHasTypes(v []UserType)
func (*ListUsersRequest) SetOrder ¶
func (x *ListUsersRequest) SetOrder(v ListUsersRequest_Order)
func (*ListUsersRequest) SetOrganizationRefs ¶
func (x *ListUsersRequest) SetOrganizationRefs(v []*OrganizationRef)
func (*ListUsersRequest) SetPageSize ¶
func (x *ListUsersRequest) SetPageSize(v uint32)
func (*ListUsersRequest) SetPageToken ¶
func (x *ListUsersRequest) SetPageToken(v string)
func (*ListUsersRequest) String ¶
func (x *ListUsersRequest) String() string
type ListUsersRequest_Order ¶
type ListUsersRequest_Order int32
The list order.
const ( ListUsersRequest_ORDER_UNSPECIFIED ListUsersRequest_Order = 0 // Order by create_time newest to oldest. ListUsersRequest_ORDER_CREATE_TIME_DESC ListUsersRequest_Order = 1 // Order by create_time oldest to newest. ListUsersRequest_ORDER_CREATE_TIME_ASC ListUsersRequest_Order = 2 )
func (ListUsersRequest_Order) Descriptor ¶
func (ListUsersRequest_Order) Descriptor() protoreflect.EnumDescriptor
func (ListUsersRequest_Order) Enum ¶
func (x ListUsersRequest_Order) Enum() *ListUsersRequest_Order
func (ListUsersRequest_Order) Number ¶
func (x ListUsersRequest_Order) Number() protoreflect.EnumNumber
func (ListUsersRequest_Order) String ¶
func (x ListUsersRequest_Order) String() string
func (ListUsersRequest_Order) Type ¶
func (ListUsersRequest_Order) Type() protoreflect.EnumType
type ListUsersRequest_builder ¶
type ListUsersRequest_builder struct {
// The maximum number of items to return.
//
// The default value is 10.
PageSize uint32
// The page to start from.
//
// If empty, the first page is returned.
PageToken string
// The specific Organizations to list Users for.
//
// If this is empty, all Users for all Organizations are listed, but this functionality
// is limited to Users with the necessary permissions.
OrganizationRefs []*OrganizationRef
// The order to return the Users.
//
// If not specified, defaults to ORDER_CREATE_TIME_DESC.
Order ListUsersRequest_Order
// Only return Users of these types.
HasTypes []UserType
// Only return Users of these states.
HasStates []UserState
// contains filtered or unexported fields
}
func (ListUsersRequest_builder) Build ¶
func (b0 ListUsersRequest_builder) Build() *ListUsersRequest
type ListUsersResponse ¶
type ListUsersResponse struct {
// The next page token.
//
// If empty, there are no more pages.
NextPageToken string `protobuf:"bytes,1,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// The list of Users.
Users []*User `protobuf:"bytes,2,rep,name=users,proto3" json:"users,omitempty"`
// contains filtered or unexported fields
}
func (*ListUsersResponse) GetNextPageToken ¶
func (x *ListUsersResponse) GetNextPageToken() string
func (*ListUsersResponse) GetUsers ¶
func (x *ListUsersResponse) GetUsers() []*User
func (*ListUsersResponse) ProtoMessage ¶
func (*ListUsersResponse) ProtoMessage()
func (*ListUsersResponse) ProtoReflect ¶
func (x *ListUsersResponse) ProtoReflect() protoreflect.Message
func (*ListUsersResponse) Reset ¶
func (x *ListUsersResponse) Reset()
func (*ListUsersResponse) SetNextPageToken ¶
func (x *ListUsersResponse) SetNextPageToken(v string)
func (*ListUsersResponse) SetUsers ¶
func (x *ListUsersResponse) SetUsers(v []*User)
func (*ListUsersResponse) String ¶
func (x *ListUsersResponse) String() string
type ListUsersResponse_builder ¶
type ListUsersResponse_builder struct {
// The next page token.
//
// If empty, there are no more pages.
NextPageToken string
// The list of Users.
Users []*User
// contains filtered or unexported fields
}
func (ListUsersResponse_builder) Build ¶
func (b0 ListUsersResponse_builder) Build() *ListUsersResponse
type Organization ¶
type Organization struct {
// The id for the Organization.
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// The time the Organization was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// The last time the Organization was updated.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// The name of the Organization.
//
// A name uniquely identifies an Organization, however name is mutable.
Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
// The configurable description of the Organization.
Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
// The configurable URL that represents the homepage for an Organization.
Url string `protobuf:"bytes,6,opt,name=url,proto3" json:"url,omitempty"`
// The verification status of the Organization.
VerificationStatus OrganizationVerificationStatus `` /* 174-byte string literal not displayed */
// contains filtered or unexported fields
}
Organization is an organization on the BSR.
A name uniquely identifies an Organization, however name is mutable.
func (*Organization) ClearCreateTime ¶
func (x *Organization) ClearCreateTime()
func (*Organization) ClearUpdateTime ¶
func (x *Organization) ClearUpdateTime()
func (*Organization) GetCreateTime ¶
func (x *Organization) GetCreateTime() *timestamppb.Timestamp
func (*Organization) GetDescription ¶
func (x *Organization) GetDescription() string
func (*Organization) GetId ¶
func (x *Organization) GetId() string
func (*Organization) GetName ¶
func (x *Organization) GetName() string
func (*Organization) GetUpdateTime ¶
func (x *Organization) GetUpdateTime() *timestamppb.Timestamp
func (*Organization) GetUrl ¶
func (x *Organization) GetUrl() string
func (*Organization) GetVerificationStatus ¶
func (x *Organization) GetVerificationStatus() OrganizationVerificationStatus
func (*Organization) HasCreateTime ¶
func (x *Organization) HasCreateTime() bool
func (*Organization) HasUpdateTime ¶
func (x *Organization) HasUpdateTime() bool
func (*Organization) ProtoMessage ¶
func (*Organization) ProtoMessage()
func (*Organization) ProtoReflect ¶
func (x *Organization) ProtoReflect() protoreflect.Message
func (*Organization) Reset ¶
func (x *Organization) Reset()
func (*Organization) SetCreateTime ¶
func (x *Organization) SetCreateTime(v *timestamppb.Timestamp)
func (*Organization) SetDescription ¶
func (x *Organization) SetDescription(v string)
func (*Organization) SetId ¶
func (x *Organization) SetId(v string)
func (*Organization) SetName ¶
func (x *Organization) SetName(v string)
func (*Organization) SetUpdateTime ¶
func (x *Organization) SetUpdateTime(v *timestamppb.Timestamp)
func (*Organization) SetUrl ¶
func (x *Organization) SetUrl(v string)
func (*Organization) SetVerificationStatus ¶
func (x *Organization) SetVerificationStatus(v OrganizationVerificationStatus)
func (*Organization) String ¶
func (x *Organization) String() string
type OrganizationRef ¶
type OrganizationRef struct {
// Types that are valid to be assigned to Value:
//
// *OrganizationRef_Id
// *OrganizationRef_Name
Value isOrganizationRef_Value `protobuf_oneof:"value"`
// contains filtered or unexported fields
}
OrganizationRef is a reference to an Organization, either an id or a name.
This is used in requests.
func (*OrganizationRef) ClearId ¶
func (x *OrganizationRef) ClearId()
func (*OrganizationRef) ClearName ¶
func (x *OrganizationRef) ClearName()
func (*OrganizationRef) ClearValue ¶
func (x *OrganizationRef) ClearValue()
func (*OrganizationRef) GetId ¶
func (x *OrganizationRef) GetId() string
func (*OrganizationRef) GetName ¶
func (x *OrganizationRef) GetName() string
func (*OrganizationRef) GetValue ¶
func (x *OrganizationRef) GetValue() isOrganizationRef_Value
func (*OrganizationRef) HasId ¶
func (x *OrganizationRef) HasId() bool
func (*OrganizationRef) HasName ¶
func (x *OrganizationRef) HasName() bool
func (*OrganizationRef) HasValue ¶
func (x *OrganizationRef) HasValue() bool
func (*OrganizationRef) ProtoMessage ¶
func (*OrganizationRef) ProtoMessage()
func (*OrganizationRef) ProtoReflect ¶
func (x *OrganizationRef) ProtoReflect() protoreflect.Message
func (*OrganizationRef) Reset ¶
func (x *OrganizationRef) Reset()
func (*OrganizationRef) SetId ¶
func (x *OrganizationRef) SetId(v string)
func (*OrganizationRef) SetName ¶
func (x *OrganizationRef) SetName(v string)
func (*OrganizationRef) String ¶
func (x *OrganizationRef) String() string
func (*OrganizationRef) WhichValue ¶
func (x *OrganizationRef) WhichValue() case_OrganizationRef_Value
type OrganizationRef_Id ¶
type OrganizationRef_Id struct {
// The id of the Organization.
Id string `protobuf:"bytes,1,opt,name=id,proto3,oneof"`
}
type OrganizationRef_Name ¶
type OrganizationRef_Name struct {
// The name of the Organization.
Name string `protobuf:"bytes,2,opt,name=name,proto3,oneof"`
}
type OrganizationRef_builder ¶
type OrganizationRef_builder struct {
// Fields of oneof Value:
// The id of the Organization.
Id *string
// The name of the Organization.
Name *string
// contains filtered or unexported fields
}
func (OrganizationRef_builder) Build ¶
func (b0 OrganizationRef_builder) Build() *OrganizationRef
type OrganizationVerificationStatus ¶
type OrganizationVerificationStatus int32
The verification status of an Organization.
const ( OrganizationVerificationStatus_ORGANIZATION_VERIFICATION_STATUS_UNSPECIFIED OrganizationVerificationStatus = 0 // The Organization is unverified. OrganizationVerificationStatus_ORGANIZATION_VERIFICATION_STATUS_UNVERIFIED OrganizationVerificationStatus = 1 // The Organization is verified. OrganizationVerificationStatus_ORGANIZATION_VERIFICATION_STATUS_VERIFIED OrganizationVerificationStatus = 2 // The Organization is an official organization of the BSR owner. OrganizationVerificationStatus_ORGANIZATION_VERIFICATION_STATUS_OFFICIAL OrganizationVerificationStatus = 3 )
func (OrganizationVerificationStatus) Descriptor ¶
func (OrganizationVerificationStatus) Descriptor() protoreflect.EnumDescriptor
func (OrganizationVerificationStatus) Enum ¶
func (x OrganizationVerificationStatus) Enum() *OrganizationVerificationStatus
func (OrganizationVerificationStatus) Number ¶
func (x OrganizationVerificationStatus) Number() protoreflect.EnumNumber
func (OrganizationVerificationStatus) String ¶
func (x OrganizationVerificationStatus) String() string
func (OrganizationVerificationStatus) Type ¶
func (OrganizationVerificationStatus) Type() protoreflect.EnumType
type Organization_builder ¶
type Organization_builder struct {
// The id for the Organization.
Id string
// The time the Organization was created.
CreateTime *timestamppb.Timestamp
// The last time the Organization was updated.
UpdateTime *timestamppb.Timestamp
// The name of the Organization.
//
// A name uniquely identifies an Organization, however name is mutable.
Name string
// The configurable description of the Organization.
Description string
// The configurable URL that represents the homepage for an Organization.
Url string
// The verification status of the Organization.
VerificationStatus OrganizationVerificationStatus
// contains filtered or unexported fields
}
func (Organization_builder) Build ¶
func (b0 Organization_builder) Build() *Organization
type Owner ¶
type Owner struct {
// Types that are valid to be assigned to Value:
//
// *Owner_User
// *Owner_Organization
Value isOwner_Value `protobuf_oneof:"value"`
// contains filtered or unexported fields
}
A User or Organization.
func (*Owner) GetOrganization ¶
func (x *Owner) GetOrganization() *Organization
func (*Owner) ProtoReflect ¶
func (x *Owner) ProtoReflect() protoreflect.Message
func (*Owner) SetOrganization ¶
func (x *Owner) SetOrganization(v *Organization)
type OwnerRef ¶
type OwnerRef struct {
// Types that are valid to be assigned to Value:
//
// *OwnerRef_Id
// *OwnerRef_Name
Value isOwnerRef_Value `protobuf_oneof:"value"`
// contains filtered or unexported fields
}
OwnerRef is a reference to a User or Organization, either an id or a name.
This is used in requests.
func (*OwnerRef) ProtoReflect ¶
func (x *OwnerRef) ProtoReflect() protoreflect.Message
type OwnerRef_Id ¶
type OwnerRef_Id struct {
// The id of the User or Organization.
Id string `protobuf:"bytes,1,opt,name=id,proto3,oneof"`
}
type OwnerRef_Name ¶
type OwnerRef_Name struct {
// The name of the User or Organization.
Name string `protobuf:"bytes,2,opt,name=name,proto3,oneof"`
}
type OwnerRef_builder ¶
type OwnerRef_builder struct {
// Fields of oneof Value:
// The id of the User or Organization.
Id *string
// The name of the User or Organization.
Name *string
// contains filtered or unexported fields
}
func (OwnerRef_builder) Build ¶
func (b0 OwnerRef_builder) Build() *OwnerRef
type Owner_Organization ¶
type Owner_Organization struct {
// The Organization.
Organization *Organization `protobuf:"bytes,2,opt,name=organization,proto3,oneof"`
}
type Owner_User ¶
type Owner_User struct {
// The User.
User *User `protobuf:"bytes,1,opt,name=user,proto3,oneof"`
}
type Owner_builder ¶
type Owner_builder struct {
// Fields of oneof Value:
// The User.
User *User
// The Organization.
Organization *Organization
// contains filtered or unexported fields
}
func (Owner_builder) Build ¶
func (b0 Owner_builder) Build() *Owner
type UpdateOrganizationsRequest ¶
type UpdateOrganizationsRequest struct {
// The Organizations to update.
Values []*UpdateOrganizationsRequest_Value `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
// contains filtered or unexported fields
}
func (*UpdateOrganizationsRequest) GetValues ¶
func (x *UpdateOrganizationsRequest) GetValues() []*UpdateOrganizationsRequest_Value
func (*UpdateOrganizationsRequest) ProtoMessage ¶
func (*UpdateOrganizationsRequest) ProtoMessage()
func (*UpdateOrganizationsRequest) ProtoReflect ¶
func (x *UpdateOrganizationsRequest) ProtoReflect() protoreflect.Message
func (*UpdateOrganizationsRequest) Reset ¶
func (x *UpdateOrganizationsRequest) Reset()
func (*UpdateOrganizationsRequest) SetValues ¶
func (x *UpdateOrganizationsRequest) SetValues(v []*UpdateOrganizationsRequest_Value)
func (*UpdateOrganizationsRequest) String ¶
func (x *UpdateOrganizationsRequest) String() string
type UpdateOrganizationsRequest_Value ¶
type UpdateOrganizationsRequest_Value struct {
// The organization to update.
OrganizationRef *OrganizationRef `protobuf:"bytes,1,opt,name=organization_ref,json=organizationRef,proto3" json:"organization_ref,omitempty"`
// The configurable description of the Organization.
Description *string `protobuf:"bytes,2,opt,name=description,proto3,oneof" json:"description,omitempty"`
// The configurable URL that represents the homepage for an Organization.
Url *string `protobuf:"bytes,3,opt,name=url,proto3,oneof" json:"url,omitempty"`
// The verification status of the Organization.
VerificationStatus *OrganizationVerificationStatus `` /* 180-byte string literal not displayed */
// contains filtered or unexported fields
}
An individual request to update an Organization.
func (*UpdateOrganizationsRequest_Value) ClearDescription ¶
func (x *UpdateOrganizationsRequest_Value) ClearDescription()
func (*UpdateOrganizationsRequest_Value) ClearOrganizationRef ¶
func (x *UpdateOrganizationsRequest_Value) ClearOrganizationRef()
func (*UpdateOrganizationsRequest_Value) ClearUrl ¶
func (x *UpdateOrganizationsRequest_Value) ClearUrl()
func (*UpdateOrganizationsRequest_Value) ClearVerificationStatus ¶
func (x *UpdateOrganizationsRequest_Value) ClearVerificationStatus()
func (*UpdateOrganizationsRequest_Value) GetDescription ¶
func (x *UpdateOrganizationsRequest_Value) GetDescription() string
func (*UpdateOrganizationsRequest_Value) GetOrganizationRef ¶
func (x *UpdateOrganizationsRequest_Value) GetOrganizationRef() *OrganizationRef
func (*UpdateOrganizationsRequest_Value) GetUrl ¶
func (x *UpdateOrganizationsRequest_Value) GetUrl() string
func (*UpdateOrganizationsRequest_Value) GetVerificationStatus ¶
func (x *UpdateOrganizationsRequest_Value) GetVerificationStatus() OrganizationVerificationStatus
func (*UpdateOrganizationsRequest_Value) HasDescription ¶
func (x *UpdateOrganizationsRequest_Value) HasDescription() bool
func (*UpdateOrganizationsRequest_Value) HasOrganizationRef ¶
func (x *UpdateOrganizationsRequest_Value) HasOrganizationRef() bool
func (*UpdateOrganizationsRequest_Value) HasUrl ¶
func (x *UpdateOrganizationsRequest_Value) HasUrl() bool
func (*UpdateOrganizationsRequest_Value) HasVerificationStatus ¶
func (x *UpdateOrganizationsRequest_Value) HasVerificationStatus() bool
func (*UpdateOrganizationsRequest_Value) ProtoMessage ¶
func (*UpdateOrganizationsRequest_Value) ProtoMessage()
func (*UpdateOrganizationsRequest_Value) ProtoReflect ¶
func (x *UpdateOrganizationsRequest_Value) ProtoReflect() protoreflect.Message
func (*UpdateOrganizationsRequest_Value) Reset ¶
func (x *UpdateOrganizationsRequest_Value) Reset()
func (*UpdateOrganizationsRequest_Value) SetDescription ¶
func (x *UpdateOrganizationsRequest_Value) SetDescription(v string)
func (*UpdateOrganizationsRequest_Value) SetOrganizationRef ¶
func (x *UpdateOrganizationsRequest_Value) SetOrganizationRef(v *OrganizationRef)
func (*UpdateOrganizationsRequest_Value) SetUrl ¶
func (x *UpdateOrganizationsRequest_Value) SetUrl(v string)
func (*UpdateOrganizationsRequest_Value) SetVerificationStatus ¶
func (x *UpdateOrganizationsRequest_Value) SetVerificationStatus(v OrganizationVerificationStatus)
func (*UpdateOrganizationsRequest_Value) String ¶
func (x *UpdateOrganizationsRequest_Value) String() string
type UpdateOrganizationsRequest_Value_builder ¶
type UpdateOrganizationsRequest_Value_builder struct {
// The organization to update.
OrganizationRef *OrganizationRef
// The configurable description of the Organization.
Description *string
// The configurable URL that represents the homepage for an Organization.
Url *string
// The verification status of the Organization.
VerificationStatus *OrganizationVerificationStatus
// contains filtered or unexported fields
}
func (UpdateOrganizationsRequest_Value_builder) Build ¶
func (b0 UpdateOrganizationsRequest_Value_builder) Build() *UpdateOrganizationsRequest_Value
type UpdateOrganizationsRequest_builder ¶
type UpdateOrganizationsRequest_builder struct {
// The Organizations to update.
Values []*UpdateOrganizationsRequest_Value
// contains filtered or unexported fields
}
func (UpdateOrganizationsRequest_builder) Build ¶
func (b0 UpdateOrganizationsRequest_builder) Build() *UpdateOrganizationsRequest
type UpdateOrganizationsResponse ¶
type UpdateOrganizationsResponse struct {
// The updated Organizations in the same order as given on the request.
Organizations []*Organization `protobuf:"bytes,1,rep,name=organizations,proto3" json:"organizations,omitempty"`
// contains filtered or unexported fields
}
func (*UpdateOrganizationsResponse) GetOrganizations ¶
func (x *UpdateOrganizationsResponse) GetOrganizations() []*Organization
func (*UpdateOrganizationsResponse) ProtoMessage ¶
func (*UpdateOrganizationsResponse) ProtoMessage()
func (*UpdateOrganizationsResponse) ProtoReflect ¶
func (x *UpdateOrganizationsResponse) ProtoReflect() protoreflect.Message
func (*UpdateOrganizationsResponse) Reset ¶
func (x *UpdateOrganizationsResponse) Reset()
func (*UpdateOrganizationsResponse) SetOrganizations ¶
func (x *UpdateOrganizationsResponse) SetOrganizations(v []*Organization)
func (*UpdateOrganizationsResponse) String ¶
func (x *UpdateOrganizationsResponse) String() string
type UpdateOrganizationsResponse_builder ¶
type UpdateOrganizationsResponse_builder struct {
// The updated Organizations in the same order as given on the request.
Organizations []*Organization
// contains filtered or unexported fields
}
func (UpdateOrganizationsResponse_builder) Build ¶
func (b0 UpdateOrganizationsResponse_builder) Build() *UpdateOrganizationsResponse
type UpdateUsersRequest ¶
type UpdateUsersRequest struct {
// The Users to update.
Values []*UpdateUsersRequest_Value `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
// contains filtered or unexported fields
}
func (*UpdateUsersRequest) GetValues ¶
func (x *UpdateUsersRequest) GetValues() []*UpdateUsersRequest_Value
func (*UpdateUsersRequest) ProtoMessage ¶
func (*UpdateUsersRequest) ProtoMessage()
func (*UpdateUsersRequest) ProtoReflect ¶
func (x *UpdateUsersRequest) ProtoReflect() protoreflect.Message
func (*UpdateUsersRequest) Reset ¶
func (x *UpdateUsersRequest) Reset()
func (*UpdateUsersRequest) SetValues ¶
func (x *UpdateUsersRequest) SetValues(v []*UpdateUsersRequest_Value)
func (*UpdateUsersRequest) String ¶
func (x *UpdateUsersRequest) String() string
type UpdateUsersRequest_Value ¶
type UpdateUsersRequest_Value struct {
// The User to update.
UserRef *UserRef `protobuf:"bytes,1,opt,name=user_ref,json=userRef,proto3" json:"user_ref,omitempty"`
// The state of the User.
State *UserState `protobuf:"varint,2,opt,name=state,proto3,enum=buf.registry.owner.v1.UserState,oneof" json:"state,omitempty"`
// The configurable description of the User.
Description *string `protobuf:"bytes,3,opt,name=description,proto3,oneof" json:"description,omitempty"`
// The configurable URL that represents the homepage for a User.
Url *string `protobuf:"bytes,4,opt,name=url,proto3,oneof" json:"url,omitempty"`
// The verification status of the User.
VerificationStatus *UserVerificationStatus `` /* 172-byte string literal not displayed */
// contains filtered or unexported fields
}
An individual request to update a User.
func (*UpdateUsersRequest_Value) ClearDescription ¶
func (x *UpdateUsersRequest_Value) ClearDescription()
func (*UpdateUsersRequest_Value) ClearState ¶
func (x *UpdateUsersRequest_Value) ClearState()
func (*UpdateUsersRequest_Value) ClearUrl ¶
func (x *UpdateUsersRequest_Value) ClearUrl()
func (*UpdateUsersRequest_Value) ClearUserRef ¶
func (x *UpdateUsersRequest_Value) ClearUserRef()
func (*UpdateUsersRequest_Value) ClearVerificationStatus ¶
func (x *UpdateUsersRequest_Value) ClearVerificationStatus()
func (*UpdateUsersRequest_Value) GetDescription ¶
func (x *UpdateUsersRequest_Value) GetDescription() string
func (*UpdateUsersRequest_Value) GetState ¶
func (x *UpdateUsersRequest_Value) GetState() UserState
func (*UpdateUsersRequest_Value) GetUrl ¶
func (x *UpdateUsersRequest_Value) GetUrl() string
func (*UpdateUsersRequest_Value) GetUserRef ¶
func (x *UpdateUsersRequest_Value) GetUserRef() *UserRef
func (*UpdateUsersRequest_Value) GetVerificationStatus ¶
func (x *UpdateUsersRequest_Value) GetVerificationStatus() UserVerificationStatus
func (*UpdateUsersRequest_Value) HasDescription ¶
func (x *UpdateUsersRequest_Value) HasDescription() bool
func (*UpdateUsersRequest_Value) HasState ¶
func (x *UpdateUsersRequest_Value) HasState() bool
func (*UpdateUsersRequest_Value) HasUrl ¶
func (x *UpdateUsersRequest_Value) HasUrl() bool
func (*UpdateUsersRequest_Value) HasUserRef ¶
func (x *UpdateUsersRequest_Value) HasUserRef() bool
func (*UpdateUsersRequest_Value) HasVerificationStatus ¶
func (x *UpdateUsersRequest_Value) HasVerificationStatus() bool
func (*UpdateUsersRequest_Value) ProtoMessage ¶
func (*UpdateUsersRequest_Value) ProtoMessage()
func (*UpdateUsersRequest_Value) ProtoReflect ¶
func (x *UpdateUsersRequest_Value) ProtoReflect() protoreflect.Message
func (*UpdateUsersRequest_Value) Reset ¶
func (x *UpdateUsersRequest_Value) Reset()
func (*UpdateUsersRequest_Value) SetDescription ¶
func (x *UpdateUsersRequest_Value) SetDescription(v string)
func (*UpdateUsersRequest_Value) SetState ¶
func (x *UpdateUsersRequest_Value) SetState(v UserState)
func (*UpdateUsersRequest_Value) SetUrl ¶
func (x *UpdateUsersRequest_Value) SetUrl(v string)
func (*UpdateUsersRequest_Value) SetUserRef ¶
func (x *UpdateUsersRequest_Value) SetUserRef(v *UserRef)
func (*UpdateUsersRequest_Value) SetVerificationStatus ¶
func (x *UpdateUsersRequest_Value) SetVerificationStatus(v UserVerificationStatus)
func (*UpdateUsersRequest_Value) String ¶
func (x *UpdateUsersRequest_Value) String() string
type UpdateUsersRequest_Value_builder ¶
type UpdateUsersRequest_Value_builder struct {
// The User to update.
UserRef *UserRef
// The state of the User.
State *UserState
// The configurable description of the User.
Description *string
// The configurable URL that represents the homepage for a User.
Url *string
// The verification status of the User.
VerificationStatus *UserVerificationStatus
// contains filtered or unexported fields
}
func (UpdateUsersRequest_Value_builder) Build ¶
func (b0 UpdateUsersRequest_Value_builder) Build() *UpdateUsersRequest_Value
type UpdateUsersRequest_builder ¶
type UpdateUsersRequest_builder struct {
// The Users to update.
Values []*UpdateUsersRequest_Value
// contains filtered or unexported fields
}
func (UpdateUsersRequest_builder) Build ¶
func (b0 UpdateUsersRequest_builder) Build() *UpdateUsersRequest
type UpdateUsersResponse ¶
type UpdateUsersResponse struct {
// The updated Users in the same order as given on the request.
Users []*User `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"`
// contains filtered or unexported fields
}
func (*UpdateUsersResponse) GetUsers ¶
func (x *UpdateUsersResponse) GetUsers() []*User
func (*UpdateUsersResponse) ProtoMessage ¶
func (*UpdateUsersResponse) ProtoMessage()
func (*UpdateUsersResponse) ProtoReflect ¶
func (x *UpdateUsersResponse) ProtoReflect() protoreflect.Message
func (*UpdateUsersResponse) Reset ¶
func (x *UpdateUsersResponse) Reset()
func (*UpdateUsersResponse) SetUsers ¶
func (x *UpdateUsersResponse) SetUsers(v []*User)
func (*UpdateUsersResponse) String ¶
func (x *UpdateUsersResponse) String() string
type UpdateUsersResponse_builder ¶
type UpdateUsersResponse_builder struct {
// The updated Users in the same order as given on the request.
Users []*User
// contains filtered or unexported fields
}
func (UpdateUsersResponse_builder) Build ¶
func (b0 UpdateUsersResponse_builder) Build() *UpdateUsersResponse
type User ¶
type User struct {
// The id for the User.
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// The time the User was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// The last time the User was updated.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// The name of the User.
//
// A name uniquely identifies a User, however name is mutable.
Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
// The type of the User.
Type UserType `protobuf:"varint,5,opt,name=type,proto3,enum=buf.registry.owner.v1.UserType" json:"type,omitempty"`
// The state of the User.
State UserState `protobuf:"varint,6,opt,name=state,proto3,enum=buf.registry.owner.v1.UserState" json:"state,omitempty"`
// The configurable description of the User.
Description string `protobuf:"bytes,7,opt,name=description,proto3" json:"description,omitempty"`
// The configurable URL that represents the homepage for a User.
Url string `protobuf:"bytes,8,opt,name=url,proto3" json:"url,omitempty"`
// The verification status of the User.
VerificationStatus UserVerificationStatus `` /* 166-byte string literal not displayed */
// contains filtered or unexported fields
}
A user on the BSR.
A name uniquely identifies a User, however name is mutable.
func (*User) GetCreateTime ¶
func (x *User) GetCreateTime() *timestamppb.Timestamp
func (*User) GetUpdateTime ¶
func (x *User) GetUpdateTime() *timestamppb.Timestamp
func (*User) GetVerificationStatus ¶
func (x *User) GetVerificationStatus() UserVerificationStatus
func (*User) ProtoReflect ¶
func (x *User) ProtoReflect() protoreflect.Message
func (*User) SetCreateTime ¶
func (x *User) SetCreateTime(v *timestamppb.Timestamp)
func (*User) SetUpdateTime ¶
func (x *User) SetUpdateTime(v *timestamppb.Timestamp)
func (*User) SetVerificationStatus ¶
func (x *User) SetVerificationStatus(v UserVerificationStatus)
type UserRef ¶
type UserRef struct {
// Types that are valid to be assigned to Value:
//
// *UserRef_Id
// *UserRef_Name
Value isUserRef_Value `protobuf_oneof:"value"`
// contains filtered or unexported fields
}
UserRef is a reference to a User, either an id or a name.
This is used in requests.
func (*UserRef) ProtoReflect ¶
func (x *UserRef) ProtoReflect() protoreflect.Message
type UserRef_Id ¶
type UserRef_Id struct {
// The id of the User.
Id string `protobuf:"bytes,1,opt,name=id,proto3,oneof"`
}
type UserRef_Name ¶
type UserRef_Name struct {
// The name of the User.
Name string `protobuf:"bytes,2,opt,name=name,proto3,oneof"`
}
type UserRef_builder ¶
type UserRef_builder struct {
// Fields of oneof Value:
// The id of the User.
Id *string
// The name of the User.
Name *string
// contains filtered or unexported fields
}
func (UserRef_builder) Build ¶
func (b0 UserRef_builder) Build() *UserRef
type UserState ¶
type UserState int32
The state of a User.
func (UserState) Descriptor ¶
func (UserState) Descriptor() protoreflect.EnumDescriptor
func (UserState) Number ¶
func (x UserState) Number() protoreflect.EnumNumber
func (UserState) Type ¶
func (UserState) Type() protoreflect.EnumType
type UserType ¶
type UserType int32
The type of a User.
func (UserType) Descriptor ¶
func (UserType) Descriptor() protoreflect.EnumDescriptor
func (UserType) Number ¶
func (x UserType) Number() protoreflect.EnumNumber
func (UserType) Type ¶
func (UserType) Type() protoreflect.EnumType
type UserVerificationStatus ¶
type UserVerificationStatus int32
The verification status of an User.
const ( UserVerificationStatus_USER_VERIFICATION_STATUS_UNSPECIFIED UserVerificationStatus = 0 // The User is unverified. UserVerificationStatus_USER_VERIFICATION_STATUS_UNVERIFIED UserVerificationStatus = 1 // The User is verified. UserVerificationStatus_USER_VERIFICATION_STATUS_VERIFIED UserVerificationStatus = 2 // The User is an official user of the BSR owner. UserVerificationStatus_USER_VERIFICATION_STATUS_OFFICIAL UserVerificationStatus = 3 )
func (UserVerificationStatus) Descriptor ¶
func (UserVerificationStatus) Descriptor() protoreflect.EnumDescriptor
func (UserVerificationStatus) Enum ¶
func (x UserVerificationStatus) Enum() *UserVerificationStatus
func (UserVerificationStatus) Number ¶
func (x UserVerificationStatus) Number() protoreflect.EnumNumber
func (UserVerificationStatus) String ¶
func (x UserVerificationStatus) String() string
func (UserVerificationStatus) Type ¶
func (UserVerificationStatus) Type() protoreflect.EnumType
type User_builder ¶
type User_builder struct {
// The id for the User.
Id string
// The time the User was created.
CreateTime *timestamppb.Timestamp
// The last time the User was updated.
UpdateTime *timestamppb.Timestamp
// The name of the User.
//
// A name uniquely identifies a User, however name is mutable.
Name string
// The type of the User.
Type UserType
// The state of the User.
State UserState
// The configurable description of the User.
Description string
// The configurable URL that represents the homepage for a User.
Url string
// The verification status of the User.
VerificationStatus UserVerificationStatus
// contains filtered or unexported fields
}
func (User_builder) Build ¶
func (b0 User_builder) Build() *User
Source Files
¶
- organization.pb.go
- organization_service.pb.go
- owner.pb.go
- owner_service.pb.go
- user.pb.go
- user_service.pb.go