Documentation ¶
Index ¶
- Variables
- type CreateOrganizationsRequest
- func (*CreateOrganizationsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateOrganizationsRequest) GetValues() []*CreateOrganizationsRequest_Value
- func (*CreateOrganizationsRequest) ProtoMessage()
- func (x *CreateOrganizationsRequest) ProtoReflect() protoreflect.Message
- func (x *CreateOrganizationsRequest) Reset()
- func (x *CreateOrganizationsRequest) String() string
- type CreateOrganizationsRequest_Value
- func (*CreateOrganizationsRequest_Value) Descriptor() ([]byte, []int)deprecated
- 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) String() string
- type CreateOrganizationsResponse
- func (*CreateOrganizationsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateOrganizationsResponse) GetOrganizations() []*Organization
- func (*CreateOrganizationsResponse) ProtoMessage()
- func (x *CreateOrganizationsResponse) ProtoReflect() protoreflect.Message
- func (x *CreateOrganizationsResponse) Reset()
- func (x *CreateOrganizationsResponse) String() string
- type CreateUsersRequest
- func (*CreateUsersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateUsersRequest) GetValues() []*CreateUsersRequest_Value
- func (*CreateUsersRequest) ProtoMessage()
- func (x *CreateUsersRequest) ProtoReflect() protoreflect.Message
- func (x *CreateUsersRequest) Reset()
- func (x *CreateUsersRequest) String() string
- type CreateUsersRequest_Value
- func (*CreateUsersRequest_Value) Descriptor() ([]byte, []int)deprecated
- 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) String() string
- type CreateUsersResponse
- func (*CreateUsersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateUsersResponse) GetUsers() []*User
- func (*CreateUsersResponse) ProtoMessage()
- func (x *CreateUsersResponse) ProtoReflect() protoreflect.Message
- func (x *CreateUsersResponse) Reset()
- func (x *CreateUsersResponse) String() string
- type DeleteOrganizationsRequest
- func (*DeleteOrganizationsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteOrganizationsRequest) GetOrganizationRefs() []*OrganizationRef
- func (*DeleteOrganizationsRequest) ProtoMessage()
- func (x *DeleteOrganizationsRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteOrganizationsRequest) Reset()
- func (x *DeleteOrganizationsRequest) String() string
- type DeleteOrganizationsResponse
- type DeleteUsersRequest
- func (*DeleteUsersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteUsersRequest) GetUserRefs() []*UserRef
- func (*DeleteUsersRequest) ProtoMessage()
- func (x *DeleteUsersRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteUsersRequest) Reset()
- func (x *DeleteUsersRequest) String() string
- type DeleteUsersResponse
- type GetOrganizationsRequest
- func (*GetOrganizationsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetOrganizationsRequest) GetOrganizationRefs() []*OrganizationRef
- func (*GetOrganizationsRequest) ProtoMessage()
- func (x *GetOrganizationsRequest) ProtoReflect() protoreflect.Message
- func (x *GetOrganizationsRequest) Reset()
- func (x *GetOrganizationsRequest) String() string
- type GetOrganizationsResponse
- func (*GetOrganizationsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetOrganizationsResponse) GetOrganizations() []*Organization
- func (*GetOrganizationsResponse) ProtoMessage()
- func (x *GetOrganizationsResponse) ProtoReflect() protoreflect.Message
- func (x *GetOrganizationsResponse) Reset()
- func (x *GetOrganizationsResponse) String() string
- type GetOwnersRequest
- type GetOwnersResponse
- type GetUsersRequest
- type GetUsersResponse
- type ListOrganizationsRequest
- func (*ListOrganizationsRequest) Descriptor() ([]byte, []int)deprecated
- 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) String() string
- type ListOrganizationsRequest_Order
- func (ListOrganizationsRequest_Order) Descriptor() protoreflect.EnumDescriptor
- func (x ListOrganizationsRequest_Order) Enum() *ListOrganizationsRequest_Order
- func (ListOrganizationsRequest_Order) EnumDescriptor() ([]byte, []int)deprecated
- func (x ListOrganizationsRequest_Order) Number() protoreflect.EnumNumber
- func (x ListOrganizationsRequest_Order) String() string
- func (ListOrganizationsRequest_Order) Type() protoreflect.EnumType
- type ListOrganizationsResponse
- func (*ListOrganizationsResponse) Descriptor() ([]byte, []int)deprecated
- 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) String() string
- type ListUsersRequest
- func (*ListUsersRequest) Descriptor() ([]byte, []int)deprecated
- 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) String() string
- type ListUsersRequest_Order
- func (ListUsersRequest_Order) Descriptor() protoreflect.EnumDescriptor
- func (x ListUsersRequest_Order) Enum() *ListUsersRequest_Order
- func (ListUsersRequest_Order) EnumDescriptor() ([]byte, []int)deprecated
- func (x ListUsersRequest_Order) Number() protoreflect.EnumNumber
- func (x ListUsersRequest_Order) String() string
- func (ListUsersRequest_Order) Type() protoreflect.EnumType
- type ListUsersResponse
- func (*ListUsersResponse) Descriptor() ([]byte, []int)deprecated
- 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) String() string
- type Organization
- func (*Organization) Descriptor() ([]byte, []int)deprecated
- 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 (*Organization) ProtoMessage()
- func (x *Organization) ProtoReflect() protoreflect.Message
- func (x *Organization) Reset()
- func (x *Organization) String() string
- type OrganizationRef
- func (*OrganizationRef) Descriptor() ([]byte, []int)deprecated
- func (x *OrganizationRef) GetId() string
- func (x *OrganizationRef) GetName() string
- func (m *OrganizationRef) GetValue() isOrganizationRef_Value
- func (*OrganizationRef) ProtoMessage()
- func (x *OrganizationRef) ProtoReflect() protoreflect.Message
- func (x *OrganizationRef) Reset()
- func (x *OrganizationRef) String() string
- type OrganizationRef_Id
- type OrganizationRef_Name
- type OrganizationVerificationStatus
- func (OrganizationVerificationStatus) Descriptor() protoreflect.EnumDescriptor
- func (x OrganizationVerificationStatus) Enum() *OrganizationVerificationStatus
- func (OrganizationVerificationStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x OrganizationVerificationStatus) Number() protoreflect.EnumNumber
- func (x OrganizationVerificationStatus) String() string
- func (OrganizationVerificationStatus) Type() protoreflect.EnumType
- type Owner
- func (*Owner) Descriptor() ([]byte, []int)deprecated
- func (x *Owner) GetOrganization() *Organization
- func (x *Owner) GetUser() *User
- func (m *Owner) GetValue() isOwner_Value
- func (*Owner) ProtoMessage()
- func (x *Owner) ProtoReflect() protoreflect.Message
- func (x *Owner) Reset()
- func (x *Owner) String() string
- type OwnerRef
- func (*OwnerRef) Descriptor() ([]byte, []int)deprecated
- func (x *OwnerRef) GetId() string
- func (x *OwnerRef) GetName() string
- func (m *OwnerRef) GetValue() isOwnerRef_Value
- func (*OwnerRef) ProtoMessage()
- func (x *OwnerRef) ProtoReflect() protoreflect.Message
- func (x *OwnerRef) Reset()
- func (x *OwnerRef) String() string
- type OwnerRef_Id
- type OwnerRef_Name
- type Owner_Organization
- type Owner_User
- type UpdateOrganizationsRequest
- func (*UpdateOrganizationsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateOrganizationsRequest) GetValues() []*UpdateOrganizationsRequest_Value
- func (*UpdateOrganizationsRequest) ProtoMessage()
- func (x *UpdateOrganizationsRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateOrganizationsRequest) Reset()
- func (x *UpdateOrganizationsRequest) String() string
- type UpdateOrganizationsRequest_Value
- func (*UpdateOrganizationsRequest_Value) Descriptor() ([]byte, []int)deprecated
- 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 (*UpdateOrganizationsRequest_Value) ProtoMessage()
- func (x *UpdateOrganizationsRequest_Value) ProtoReflect() protoreflect.Message
- func (x *UpdateOrganizationsRequest_Value) Reset()
- func (x *UpdateOrganizationsRequest_Value) String() string
- type UpdateOrganizationsResponse
- func (*UpdateOrganizationsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateOrganizationsResponse) GetOrganizations() []*Organization
- func (*UpdateOrganizationsResponse) ProtoMessage()
- func (x *UpdateOrganizationsResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateOrganizationsResponse) Reset()
- func (x *UpdateOrganizationsResponse) String() string
- type UpdateUsersRequest
- func (*UpdateUsersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateUsersRequest) GetValues() []*UpdateUsersRequest_Value
- func (*UpdateUsersRequest) ProtoMessage()
- func (x *UpdateUsersRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateUsersRequest) Reset()
- func (x *UpdateUsersRequest) String() string
- type UpdateUsersRequest_Value
- func (*UpdateUsersRequest_Value) Descriptor() ([]byte, []int)deprecated
- 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 (*UpdateUsersRequest_Value) ProtoMessage()
- func (x *UpdateUsersRequest_Value) ProtoReflect() protoreflect.Message
- func (x *UpdateUsersRequest_Value) Reset()
- func (x *UpdateUsersRequest_Value) String() string
- type UpdateUsersResponse
- func (*UpdateUsersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateUsersResponse) GetUsers() []*User
- func (*UpdateUsersResponse) ProtoMessage()
- func (x *UpdateUsersResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateUsersResponse) Reset()
- func (x *UpdateUsersResponse) String() string
- type User
- func (*User) Descriptor() ([]byte, []int)deprecated
- 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 (*User) ProtoMessage()
- func (x *User) ProtoReflect() protoreflect.Message
- func (x *User) Reset()
- func (x *User) String() string
- type UserRef
- func (*UserRef) Descriptor() ([]byte, []int)deprecated
- func (x *UserRef) GetId() string
- func (x *UserRef) GetName() string
- func (m *UserRef) GetValue() isUserRef_Value
- func (*UserRef) ProtoMessage()
- func (x *UserRef) ProtoReflect() protoreflect.Message
- func (x *UserRef) Reset()
- func (x *UserRef) String() string
- type UserRef_Id
- type UserRef_Name
- type UserState
- type UserType
- type UserVerificationStatus
- func (UserVerificationStatus) Descriptor() protoreflect.EnumDescriptor
- func (x UserVerificationStatus) Enum() *UserVerificationStatus
- func (UserVerificationStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x UserVerificationStatus) Number() protoreflect.EnumNumber
- func (x UserVerificationStatus) String() string
- func (UserVerificationStatus) Type() protoreflect.EnumType
Constants ¶
This section is empty.
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_ASC", 2: "ORDER_CREATE_TIME_DESC", } ListOrganizationsRequest_Order_value = map[string]int32{ "ORDER_UNSPECIFIED": 0, "ORDER_CREATE_TIME_ASC": 1, "ORDER_CREATE_TIME_DESC": 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_ASC", 2: "ORDER_CREATE_TIME_DESC", } ListUsersRequest_Order_value = map[string]int32{ "ORDER_UNSPECIFIED": 0, "ORDER_CREATE_TIME_ASC": 1, "ORDER_CREATE_TIME_DESC": 2, } )
Enum value maps for ListUsersRequest_Order.
var File_buf_registry_owner_v1beta1_organization_proto protoreflect.FileDescriptor
var File_buf_registry_owner_v1beta1_organization_service_proto protoreflect.FileDescriptor
var File_buf_registry_owner_v1beta1_owner_proto protoreflect.FileDescriptor
var File_buf_registry_owner_v1beta1_owner_service_proto protoreflect.FileDescriptor
var File_buf_registry_owner_v1beta1_user_proto protoreflect.FileDescriptor
var File_buf_registry_owner_v1beta1_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) Descriptor
deprecated
func (*CreateOrganizationsRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateOrganizationsRequest.ProtoReflect.Descriptor instead.
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) 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 `` /* 179-byte string literal not displayed */ // contains filtered or unexported fields }
An individual request to create an Organization.
func (*CreateOrganizationsRequest_Value) Descriptor
deprecated
func (*CreateOrganizationsRequest_Value) Descriptor() ([]byte, []int)
Deprecated: Use CreateOrganizationsRequest_Value.ProtoReflect.Descriptor instead.
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) String ¶
func (x *CreateOrganizationsRequest_Value) String() string
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) Descriptor
deprecated
func (*CreateOrganizationsResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateOrganizationsResponse.ProtoReflect.Descriptor instead.
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) String ¶
func (x *CreateOrganizationsResponse) String() string
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) Descriptor
deprecated
func (*CreateUsersRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateUsersRequest.ProtoReflect.Descriptor instead.
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) 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.v1beta1.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 `` /* 171-byte string literal not displayed */ // contains filtered or unexported fields }
An individual request to create a User.
func (*CreateUsersRequest_Value) Descriptor
deprecated
func (*CreateUsersRequest_Value) Descriptor() ([]byte, []int)
Deprecated: Use CreateUsersRequest_Value.ProtoReflect.Descriptor instead.
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) String ¶
func (x *CreateUsersRequest_Value) String() string
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) Descriptor
deprecated
func (*CreateUsersResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateUsersResponse.ProtoReflect.Descriptor instead.
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) String ¶
func (x *CreateUsersResponse) String() string
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) Descriptor
deprecated
func (*DeleteOrganizationsRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteOrganizationsRequest.ProtoReflect.Descriptor instead.
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) String ¶
func (x *DeleteOrganizationsRequest) String() string
type DeleteOrganizationsResponse ¶
type DeleteOrganizationsResponse struct {
// contains filtered or unexported fields
}
func (*DeleteOrganizationsResponse) Descriptor
deprecated
func (*DeleteOrganizationsResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteOrganizationsResponse.ProtoReflect.Descriptor instead.
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 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) Descriptor
deprecated
func (*DeleteUsersRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteUsersRequest.ProtoReflect.Descriptor instead.
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) String ¶
func (x *DeleteUsersRequest) String() string
type DeleteUsersResponse ¶
type DeleteUsersResponse struct {
// contains filtered or unexported fields
}
func (*DeleteUsersResponse) Descriptor
deprecated
func (*DeleteUsersResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteUsersResponse.ProtoReflect.Descriptor instead.
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 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) Descriptor
deprecated
func (*GetOrganizationsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetOrganizationsRequest.ProtoReflect.Descriptor instead.
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) String ¶
func (x *GetOrganizationsRequest) String() string
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) Descriptor
deprecated
func (*GetOrganizationsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetOrganizationsResponse.ProtoReflect.Descriptor instead.
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) String ¶
func (x *GetOrganizationsResponse) String() string
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) Descriptor
deprecated
func (*GetOwnersRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetOwnersRequest.ProtoReflect.Descriptor instead.
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) String ¶
func (x *GetOwnersRequest) String() string
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) Descriptor
deprecated
func (*GetOwnersResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetOwnersResponse.ProtoReflect.Descriptor instead.
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) String ¶
func (x *GetOwnersResponse) String() string
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) Descriptor
deprecated
func (*GetUsersRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetUsersRequest.ProtoReflect.Descriptor instead.
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) String ¶
func (x *GetUsersRequest) String() string
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) Descriptor
deprecated
func (*GetUsersResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetUsersResponse.ProtoReflect.Descriptor instead.
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) String ¶
func (x *GetUsersResponse) String() string
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_ASC. // // TODO: Do we want ORDER_CREATE_TIME_ASC to be the default? // TODO: We are purposefully not making the default the zero enum value, however // we may want to consider this. Order ListOrganizationsRequest_Order `` /* 127-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ListOrganizationsRequest) Descriptor
deprecated
func (*ListOrganizationsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListOrganizationsRequest.ProtoReflect.Descriptor instead.
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) 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 oldest to newest. ListOrganizationsRequest_ORDER_CREATE_TIME_ASC ListOrganizationsRequest_Order = 1 // Order by create_time newest to oldest. ListOrganizationsRequest_ORDER_CREATE_TIME_DESC 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) EnumDescriptor
deprecated
func (ListOrganizationsRequest_Order) EnumDescriptor() ([]byte, []int)
Deprecated: Use ListOrganizationsRequest_Order.Descriptor instead.
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 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) Descriptor
deprecated
func (*ListOrganizationsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListOrganizationsResponse.ProtoReflect.Descriptor instead.
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) String ¶
func (x *ListOrganizationsResponse) String() string
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_ASC. // // TODO: Do we want ORDER_CREATE_TIME_ASC to be the default? // TODO: We are purposefully not making the default the zero enum value, however // we may want to consider this. Order ListUsersRequest_Order `protobuf:"varint,4,opt,name=order,proto3,enum=buf.registry.owner.v1beta1.ListUsersRequest_Order" json:"order,omitempty"` // Only return Users of these types. HasTypes []UserType `` /* 134-byte string literal not displayed */ // Only return Users of these states. HasStates []UserState `` /* 138-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ListUsersRequest) Descriptor
deprecated
func (*ListUsersRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListUsersRequest.ProtoReflect.Descriptor instead.
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) 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 oldest to newest. ListUsersRequest_ORDER_CREATE_TIME_ASC ListUsersRequest_Order = 1 // Order by create_time newest to oldest. ListUsersRequest_ORDER_CREATE_TIME_DESC 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) EnumDescriptor
deprecated
func (ListUsersRequest_Order) EnumDescriptor() ([]byte, []int)
Deprecated: Use ListUsersRequest_Order.Descriptor instead.
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 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) Descriptor
deprecated
func (*ListUsersResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListUsersResponse.ProtoReflect.Descriptor instead.
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) String ¶
func (x *ListUsersResponse) String() string
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 `` /* 179-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) Descriptor
deprecated
func (*Organization) Descriptor() ([]byte, []int)
Deprecated: Use Organization.ProtoReflect.Descriptor instead.
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) ProtoMessage ¶
func (*Organization) ProtoMessage()
func (*Organization) ProtoReflect ¶
func (x *Organization) ProtoReflect() protoreflect.Message
func (*Organization) Reset ¶
func (x *Organization) Reset()
func (*Organization) String ¶
func (x *Organization) String() string
type OrganizationRef ¶
type OrganizationRef struct { // Types that are assignable 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) Descriptor
deprecated
func (*OrganizationRef) Descriptor() ([]byte, []int)
Deprecated: Use OrganizationRef.ProtoReflect.Descriptor instead.
func (*OrganizationRef) GetId ¶
func (x *OrganizationRef) GetId() string
func (*OrganizationRef) GetName ¶
func (x *OrganizationRef) GetName() string
func (*OrganizationRef) GetValue ¶
func (m *OrganizationRef) GetValue() isOrganizationRef_Value
func (*OrganizationRef) ProtoMessage ¶
func (*OrganizationRef) ProtoMessage()
func (*OrganizationRef) ProtoReflect ¶
func (x *OrganizationRef) ProtoReflect() protoreflect.Message
func (*OrganizationRef) Reset ¶
func (x *OrganizationRef) Reset()
func (*OrganizationRef) String ¶
func (x *OrganizationRef) String() string
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 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) EnumDescriptor
deprecated
func (OrganizationVerificationStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use OrganizationVerificationStatus.Descriptor instead.
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 Owner ¶
type Owner struct { // Types that are assignable 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
type OwnerRef ¶
type OwnerRef struct { // Types that are assignable 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 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 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) Descriptor
deprecated
func (*UpdateOrganizationsRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateOrganizationsRequest.ProtoReflect.Descriptor instead.
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) 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 `` /* 185-byte string literal not displayed */ // contains filtered or unexported fields }
An individual request to update an Organization.
func (*UpdateOrganizationsRequest_Value) Descriptor
deprecated
func (*UpdateOrganizationsRequest_Value) Descriptor() ([]byte, []int)
Deprecated: Use UpdateOrganizationsRequest_Value.ProtoReflect.Descriptor instead.
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) 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) String ¶
func (x *UpdateOrganizationsRequest_Value) String() string
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) Descriptor
deprecated
func (*UpdateOrganizationsResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateOrganizationsResponse.ProtoReflect.Descriptor instead.
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) String ¶
func (x *UpdateOrganizationsResponse) String() string
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) Descriptor
deprecated
func (*UpdateUsersRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUsersRequest.ProtoReflect.Descriptor instead.
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) 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.v1beta1.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 `` /* 177-byte string literal not displayed */ // contains filtered or unexported fields }
An individual request to update a User.
func (*UpdateUsersRequest_Value) Descriptor
deprecated
func (*UpdateUsersRequest_Value) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUsersRequest_Value.ProtoReflect.Descriptor instead.
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) 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) String ¶
func (x *UpdateUsersRequest_Value) String() string
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) Descriptor
deprecated
func (*UpdateUsersResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUsersResponse.ProtoReflect.Descriptor instead.
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) String ¶
func (x *UpdateUsersResponse) String() string
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.v1beta1.UserType" json:"type,omitempty"` // The state of the User. State UserState `protobuf:"varint,6,opt,name=state,proto3,enum=buf.registry.owner.v1beta1.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 `` /* 171-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
type UserRef ¶
type UserRef struct { // Types that are assignable 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 UserState ¶
type UserState int32
The state of the a User, either active or inactive.
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. // TODO: should this exist? 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) EnumDescriptor
deprecated
func (UserVerificationStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use UserVerificationStatus.Descriptor instead.
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